1(self.webpackChunkCloudRek_Front=self.webpackChunkCloudRek_Front||[]).push([[5663],{55663:(fl,Se,x)=>{"use strict";x.r(Se),x.d(Se,{ClientModule:()=>I4,options:()=>E4});var y=x(60177),v=x(33391),j=x(10467),g=x(89417),D=x(7673),Jt=x(70152),Xt=x(23294),H=x(88141),qn=x(25558),k=x(99437),N=x(72510),Ie=x(35861),Ce=x(36937),S=x(45794),L=x(22881),e=x(54438),_e=x(49903),ie=x(19278),oe=x(49733),le=x(63353),ve=x(72193),E=x(91583),ye=x(85516),B=x(93664),ae=x(69452),ee=x(81249);const M=()=>({"min-height":"200px"}),Ye=()=>({}),Ln=(n,a)=>({"col-sm-6":n,"col-sm-4":a});function At(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Job Title is required. "),e.k0s())}function ht(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Job Title cannot contain only spaces. "),e.k0s())}function Bt(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,At,2,0,"div",42)(2,ht,2,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.createJobForm.controls.job_title.errors?null:t.createJobForm.controls.job_title.errors.required),e.R7$(),e.Y8G("ngIf",null==t.createJobForm.controls.job_title.errors?null:t.createJobForm.controls.job_title.errors.onlySpaces)}}function vt(n,a){1&n&&(e.j41(0,"div",43),e.nrm(1,"span",44),e.j41(2,"span",45),e.EFF(3,"Loading editor..."),e.k0s()())}function ot(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Description is required. "),e.k0s())}function xe(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Description cannot contain only spaces. "),e.k0s())}function Ve(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,ot,2,0,"div",42)(2,xe,2,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.createJobForm.controls.desc.errors?null:t.createJobForm.controls.desc.errors.required),e.R7$(),e.Y8G("ngIf",null==t.createJobForm.controls.desc.errors?null:t.createJobForm.controls.desc.errors.onlySpaces)}}function Oe(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Employment Type is required. "),e.k0s())}function Hn(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,Oe,2,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.employment_type.errors.required)}}function Je(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Min Rate is required. "),e.k0s())}function Qe(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,Je,2,0,"div",42),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.minRate.errors.required)}}function qt(n,a){1&n&&(e.j41(0,"div",41),e.EFF(1," Must be Less than Max Rate. "),e.k0s())}function lt(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",16)(2,"input",46,5),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))})("keyup",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.showRateFirst(i))}),e.k0s(),e.DNE(4,Qe,2,1,"div",18)(5,qt,2,0,"div",18),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",t.currencySymbol+" Minimum Annual salary"),e.R7$(2),e.Y8G("ngIf",t.createJobForm.controls.minRate.invalid&&(t.createJobForm.controls.minRate.dirty||t.createJobForm.controls.minRate.touched)),e.R7$(),e.Y8G("ngIf",t.rate)}}function kt(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Max Rate is required. "),e.k0s())}function Un(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,kt,2,0,"div",42),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.maxRate.errors.required)}}function jt(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",16)(2,"input",47,6),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))})("keyup",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.showRate(i))}),e.k0s(),e.DNE(4,Un,2,1,"div",18),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",t.currencySymbol+" Maximum Annual salary"),e.R7$(2),e.Y8G("ngIf",t.createJobForm.controls.maxRate.invali
1d&&(t.createJobForm.controls.maxRate.dirty||t.createJobForm.controls.maxRate.touched))}}function Ct(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Max Rate is required. "),e.k0s())}function at(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,Ct,2,0,"div",42),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.maxRate.errors.required)}}function zn(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",16)(2,"input",47,6),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))})("keyup",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.showRate(i))}),e.k0s(),e.DNE(4,at,2,1,"div",18),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",t.currencySymbol+" Max Rate Per Hour"),e.R7$(2),e.Y8G("ngIf",t.createJobForm.controls.maxRate.invalid&&(t.createJobForm.controls.maxRate.dirty||t.createJobForm.controls.maxRate.touched))}}function ge(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",16)(2,"input",48,5),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",t.currencySymbol+" Min Rate Per Hour")}}function De(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Max Rate is required. "),e.k0s())}function Qn(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,De,2,0,"div",42),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.maxRate.errors.required)}}function be(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",16)(2,"input",47,6),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))})("keyup",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.showRate(i))}),e.k0s(),e.DNE(4,Qn,2,1,"div",18),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",t.currencySymbol+" Max Rate Per Hour"),e.R7$(2),e.Y8G("ngIf",t.createJobForm.controls.maxRate.invali
1d&&(t.createJobForm.controls.maxRate.dirty||t.createJobForm.controls.maxRate.touched))}}function st(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",16)(2,"input",48,5),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("placeholder",t.currencySymbol+" Min Rate Per Hour")}}function Lt(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Total Positions is required. "),e.k0s())}function Ht(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,Lt,2,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.totalPositions.errors.required)}}function O(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",49)(1,"div",50)(2,"input",51),e.bIt("change",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.changeOffshoreCheckbox(i))}),e.k0s(),e.j41(3,"label",52),e.EFF(4," Offshore "),e.k0s()()()}}function ke(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Location is required. "),e.k0s())}function Te(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Location cannot contain only spaces. "),e.k0s())}function $e(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,ke,2,0,"div",42)(2,Te,2,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.createJobForm.controls.location.errors?null:t.createJobForm.controls.location.errors.required),e.R7$(),e.Y8G("ngIf",null==t.createJobForm.controls.location.errors?null:t.createJobForm.controls.location.errors.onlySpaces)}}function te(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Skills List is required. "),e.k0s())}function se(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,te,2,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.createJobForm.controls.skillsList.errors.required)}}let yt=(()=>{class n{fb;common;globals;errorHandler;cs;NotificationService;router;authService;toastr;countryLocalizeService;route;navigationService;currencyService;createJobForm;empType;skillListSelect;searching=!1;searchFailed=!1;rate=!1;remoteChecked=!1;country="";countryCode="";editorReady=!1;quillConfig={toolbar:{container:[["bold","italic","underline"],[{font:[]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{align:[]}],[{table:"insert"}],["link","image"]]}};employmentType=[{id:4,name:"Contract"},{id:1,name:"Full time"},{id:2,name:"Part time"}];AllSkillList=[];allSkillData=[];newSkills=[];placeOptions={};constructor(t,o,i,l,s,_,p,u,b,f,C,w,I){this.fb=t,this.common=o,this.globals=i,this.errorHandler=l,this.cs=s,this.NotificationService=_,this.router=p,this.authService=u,this.toastr=b,this.countryLocalizeService=f,this.route=C,this.navigationService=w,this.currencyService=I,this.country=this.countryLocalizeService.getCountryCode(),this.countryCode=this.country,this.placeOptions={types:["(regions)"],componentRestrictions:{country:this.countryCode}},this.createForm(),this.getSkills()}ngOnInit(){this.common.isDeletedUser().subscribe(t=>{1==t.ResponseCode&&(this.toastr.info(t.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))})}get currencySymbol(){return this.currencyService.getCurrencySymbol()}noOnlySpacesValidator(t){const o=t.value;if("string"!=typeof o)return null;const i=o.replace(/<[^>]*>/g,"").replace(/ /g," ");return 0===i.trim().length&&i.length>0?{onlySpaces:!0}:null}trimControl(t){const o=this.createJobForm.get(t),i=o?.value;if("string"!=typeof i)return;const l=i.trim();l!==i&&o?.setValue(l,{emitEvent:!1}),o?.updateValueAndValidity({emitEvent:!1})}trimQuillControl(t){const o=this.createJobForm.get(t);if(!o)return;const i=o.value||"",l=document.createElement("div");l.innerHTML=i,l.innerText.trim()?o.setValue(i.trim(),{emitEvent:!1}):o.setValue("",{emitEvent:!1}),o.updateValueAndValidity({emitEvent:!1})}editorCreated(t){this.editorReady=!0}createForm(){this.createJobForm=this.fb.group({job_title:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],employment_type:[null,g.k0.required],remoteJob:[""],minRate:["",g.k0.required],maxRate:["",g.k0.required],totalPositions:["",g.k0.required],is_c_offshore:[!1],location:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],skillsList:["",g.k0.required],role:[null],desc:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],lat:[""],lng:[""],functional_area:[""],jobpost_commission:[this.globals.cloudrek_commission,[g.k0.required,g.k0.min(1)]]})}selectJobpost(t){let o=t.item;console.log("ev",t),this.cs.get_search_jobpost_data({job_title:o}).subscribe(l=>{console.log("rs",l);let s=l.ResponseData.search_data;if(s&&(s=s.data[0],this.createJobForm.get("desc").setValue(s.job_desc),s.skills)){let _=[];
1s.skills.forEach(p=>{_.push(p.skill_name)}),this.createJobForm.get("skillsList").setValue(_)}},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}handleAddressChange(t){this.createJobForm.get("location").setValue(t.formatted_address),this.createJobForm.get("lat").setValue(t.geometry.location.lat()),this.createJobForm.get("lng").setValue(t.geometry.location.lng())}getSkills(){this.common.GetSkills().subscribe(t=>{this.AllSkillList=[],t.ResponseData.data.forEach(o=>{this.AllSkillList.push(o.skill_name)}),this.allSkillData=t.ResponseData.data})}changeCheckbox(t){this.remoteChecked=t.target.checked}changeOffshoreCheckbox(t){t.target.checked?(this.countryCode="in",this.createJobForm.get("location").disable()):(this.countryCode=this.country,this.createJobForm.get("location").enable()),this.placeOptions={types:["(regions)"],componentRestrictions:{country:this.countryCode}},this.createJobForm.get("location").setValue(""),this.createJobForm.get("lat").setValue(""),this.createJobForm.get("lng").setValue(""),t.target.checked&&(this.createJobForm.get("location").setValue("India"),this.createJobForm.get("lat").setValue("20.593684"),this.createJobForm.get("lng").setValue("78.96288"))}Getalljobtitle(){this.common.GetJobTitleObj().subscribe(t=>{},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}convert_into_camelcase(t){try{if(t.target.value){let o=t.target.value;this.createJobForm.get("job_title").setValue(o)}}catch{return!1}}search=t=>t.pipe((0,Jt.B)(100),(0,Xt.F)(),(0,H.M)(()=>this.searching=!0),(0,qn.n)(o=>this.cs.get_search_jobpost_title(o).pipe((0,H.M)(()=>this.searchFailed=!1),(0,k.W)(()=>(this.searchFailed=!0,(0,D.of)([]))))),(0,H.M)(()=>this.searching=!1));keyPressNumbers(t){var o=t.which?t.which:t.keyCode;return!(o<48||o>57)||(t.preventDefault(),!1)}showRate(t){let o=t.target.value,i=Number(this.createJobForm.controls.minRate.value);o<i?this.rate=!0:o>i&&(this.rate=!1)}showRateFirst(t){let o=t.target.value,i=Number(this.createJobForm.controls.maxRate.value);console.log(o),console.log(i),this.rate=o>i}createJobPost(){var t=this;return(0,j.A)(function*(){if((2==t.createJobForm.value.employment_type||4==t.createJobForm.value.employment_type)&&t.createJobForm.controls.minRate.setValue("1"),t.createJobForm.valid&&0==t.rate){if(0==Number(t.createJobForm.value.minRate)||0==Number(t.createJobForm.value.maxRate))return t.toastr.error("Salary must not be zero"),!1;if(0==Number(t.createJobForm.controls.totalPositions.value))return t.toastr.error("Positions must not be zero"),!1;t.globals.loading=!0;var o=t.createJobForm.controls.job_title.value;if("object"==typeof o)var i=o.title;else i=o;var l=localStorage.CR_Tornado,s=localStorage.C_role;t.newSkills=[],console.log(t.createJobForm.controls.skillsList.value),console.log(t.allSkillData),yield t.allSkillData.forEach(function(){var p=(0,j.A)(function*(u){yield t.createJobForm.controls.skillsList.value.forEach(b=>{u.skill_name==b&&t.newSkills.push(String(u.id))})});return function(u){return p.apply(this,arguments)}}()),yield t.createJobForm.value.skillsList.forEach(p=>{t.AllSkillList.includes(p)||(t.newSkills.push("ADD_"+p),console.log("newEl","ADD_"+p))}),console.log(t.newSkills);let _=new FormData;_.append("description",t.createJobForm.controls.desc.value),_.append("skills",t.newSkills),_.append("avail",t.createJobForm.controls.employment_type.value),_.append("loc",t.createJobForm.controls.location.value),_.append("lat",t.createJobForm.controls.lat.value),_.append("lng",t.createJobForm.controls.lng.value),_.append("vacancy",t.createJobForm.controls.totalPositions.value),_.append("minsalary",t.createJobForm.controls.minRate.value),_.append("maxsalary",t.createJobForm.controls.maxRate.value),_.append("functional_area",t.createJobForm.controls.functional_area.value),_.append("role",t.createJobForm.controls.role.value),_.append("new_jt",i),_.append("token",l),_.append("main",s),_.append("remote_job",t.remoteChecked),_.append("is_c_offshore",t.createJobForm.controls.is_c_offshore.value?"1":"0"),_.append("jobpost_commission",t.createJobForm.controls.jobpost_commission.value),_.forEach(p=>{console.log("fd",p)}),t.cs.addjobpost(_).subscribe(p=>
1{if(console.log("re"+p),t.globals.loading=!1,1==p.ResponseCode){t.toastr.success(p.ResponseText);let u={type:"create_jobpost",notification:{notification_type:"create_jobpost",company_name:p.ResponseData.company_name,company_url:p.ResponseData.company_url,job_title:p.ResponseData.job_title,job_id:p.ResponseData.job_id,slug:p.ResponseData.slug,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,sender_type:1==s?"C":"CP",cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,country:t.createJobForm.controls.is_c_offshore.value?"in":t.country}};console.log(u),t.NotificationService.sendNotification(u),t.navigationService.navigate("client/dashboard",t.route)}else t.globals.loading=!1,t.toastr.error(p.ResponseText)},p=>{t.globals.loading=!1,t.errorHandler.handleError(p)})}else for(let _ in t.createJobForm.controls)t.createJobForm.controls[_].markAsTouched()})()}alphaNumberOnly(t){var o=new RegExp("^[a-zA-Z0-9 - ]+$"),i=String.fromCharCode(t.charCode?t.charCode:t.which);return!!o.test(i)||(t.preventDefault(),!1)}static \u0275fac=function(o){return new(o||n)(e.rXU(g.ok),e.rXU(_e.h),e.rXU(ie.E),e.rXU(oe.c),e.rXU(le.X),e.rXU(ve.J),e.rXU(E.Ix),e.rXU(ye.u),e.rXU(S.tw),e.rXU(B.z),e.rXU(E.nX),e.rXU(ae.o),e.rXU(ee.P))};static \u0275cmp=e.VBU({type:n,selectors:[["app-create-job"]],standalone:!0,features:[e.aNF],decls:58,vars:34,consts:[["job_title",""],["employment_type",""],["totalPositions",""],["location",""],["skillsList",""],["minRate",""],["maxRate",""],[3,"loading"],[1,"main-content-wrap"],[1,"container-fluid"],[1,"bg-white","create-job-form"],[1,"row"],[1,"col-12","text-center"],[1,"fw-600","mb-5"],[1,"col-12"],["novalidate","",3,"formGroup"],[1,"cr-input-wrap","mb-4"],["type","text","name","job_title","placeholder","Job Title","formControlName","job_title",1,"cr-form-control","control-large",3,"keyup","selectItem","blur","maxlength","ngbTypeahead"],["class","control-error",4,"ngIf"],[1,"quill-wrapper","position-relative",3,"ngStyle"],["class","editor-skeleton",4,"ngIf"],["formControlName","desc","placeholder","Enter Job Description",1,"cr-rich-control",3,"onEditorBlur","onEditorCreated","modules"],[1,"row","align-items-center"],[1,"col-12","col-lg-6"],["bindLabel","name","bindValue","id","placeholder","Select Employment Type","formControlName","employment_type",1,"cr-select","control-large",3,"items","clearable","searchable"],[1,"col-12","col-lg-3","d-flex","mb-5","mb-lg-0"],[1,"custom-check","pt-2","mt-0","mb-4"],["id","remoteCheckbox","type","checkbox","name","remoteCheckbox","formControlName","remoteJob",3,"change"],["for","remoteCheckbox"],["class","col-12 col-lg-6",4,"ngIf"],["class","col-sm-6",4,"ngIf"],[3,"ngClass"],[1,"cr-input-wrap","mb-5"],["type","text","name","totalPositions","placeholder","Total Positions","formControlName","totalPositions",1,"cr-form-control","control-large",3,"keypress","maxLength"],["class","col-sm-2",4,"ngIf"],[1,"col-sm-6"],["type","text","name","location","placeholder","Location","formControlName","location","autocomplete","new-address","googlePlacesAutocomplete","",1,"cr-form-control","control-large",3,"onAddressChange","keypress","blur","options"],[1,"mb-5"],["bindLabel","skill_name","bindValue","id","placeholder","Select Skills","formControlName","skillsList",1,"cr-select","control-large",3,"items","addTag","multiple"],[1,"col-12","d-flex","justify-content-end"],[1,"cr-btn","cr-btn-blue",3,"click"],[1,"control-error"],[4,"ngIf"],[1,"editor-skeleton"],[1,"spinner-border","text-primary","spinner-border-sm"],[1,"text-muted","ml-2"],["type","text","name","minRate","formControlName","minRate",1,"cr-form-control","control-large",3,"keypress","keyup","placeholder"],["type","text","name","maxRate","formControlName","maxRate",1,"cr-form-control","control-large",3,"keypress","keyup","placeholder"],["type","hidden","name","minRate","value","1","formControlName","minRate",1,"cr-form-control","control-large",3,"keypress","placeholder"],[1,"col-sm-2"],[1,"custom-check","mt-4"],["id","is_c_offshoreCheckbox","type","checkbox","name","is_c_offshoreCheckbox","formControlName","is_c_offshore",3,"change"],["for","is_c_offshoreCheckbox"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",7),e.j41(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11)(5,"div",12)(6,"h1",13),e.EFF(7,"Create Job"),e.k0s()(),e.j41(8,"div",14)(9,"form",15)(10,"div",11)(11,"div",14)(12,"div",16)(13,"input",17,0
1),e.bIt("keyup",function(_){return e.eBV(l),e.Njj(i.convert_into_camelcase(_))})("selectItem",function(_){return e.eBV(l),e.Njj(i.selectJobpost(_))})("blur",function(){return e.eBV(l),e.Njj(i.trimControl("job_title"))}),e.k0s(),e.DNE(15,Bt,3,2,"div",18),e.k0s()(),e.j41(16,"div",14)(17,"div",16)(18,"div",19),e.DNE(19,vt,4,0,"div",20),e.j41(20,"quill-editor",21),e.bIt("onEditorBlur",function(){return e.eBV(l),e.Njj(i.trimQuillControl("desc"))})("onEditorCreated",function(_){return e.eBV(l),e.Njj(i.editorCreated(_))}),e.k0s()(),e.DNE(21,Ve,3,2,"div",18),e.k0s()(),e.j41(22,"div",22)(23,"div",23)(24,"div",16),e.nrm(25,"ng-select",24,1),e.DNE(27,Hn,2,1,"div",18),e.k0s()(),e.j41(28,"div",25)(29,"div",26)(30,"input",27),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.changeCheckbox(_))}),e.k0s(),e.j41(31,"label",28),e.EFF(32," Remote "),e.k0s()()()(),e.DNE(33,lt,6,3,"div",29)(34,jt,5,2,"div",29)(35,zn,5,2,"div",29)(36,ge,4,1,"div",29)(37,be,5,2,"div",29)(38,st,4,1,"div",30),e.j41(39,"div",31)(40,"div",32)(41,"input",33,2),e.bIt("keypress",function(_){return e.eBV(l),e.Njj(i.keyPressNumbers(_))}),e.k0s(),e.DNE(43,Ht,2,1,"div",18),e.k0s()(),e.DNE(44,O,5,0,"div",34),e.j41(45,"div",35)(46,"div",32)(47,"input",36,3),e.bIt("onAddressChange",function(_){return e.eBV(l),e.Njj(i.handleAddressChange(_))})("keypress",function(_){return e.eBV(l),e.Njj(i.alphaNumberOnly(_))})("blur",function(){return e.eBV(l),e.Njj(i.trimControl("location"))}),e.k0s(),e.DNE(49,$e,3,2,"div",18),e.k0s()(),e.j41(50,"div",14)(51,"div",37),e.nrm(52,"ng-select",38,4),e.DNE(54,se,2,1,"div",18),e.k0s()(),e.j41(55,"div",39)(56,"button",40),e.bIt("click",function(){return e.eBV(l),e.Njj(i.createJobPost())}),e.EFF(57," Create "),e.k0s()()()()()()()()()}2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(9),e.Y8G("formGroup",i.createJobForm),e.R7$(4),e.Y8G("maxlength",150)("ngbTypeahead",i.search),e.R7$(2),e.Y8G("ngIf",i.createJobForm.controls.job_title.invalid&&(i.createJobForm.controls.job_title.dirty||i.createJobForm.controls.job_title.touched)),e.R7$(3),e.Y8G("ngStyle",i.editorReady?e.lJ4(30,Ye):e.lJ4(29,M)),e.R7$(),e.Y8G("ngIf",!i.editorReady),e.R7$(),e.Y8G("modules",i.quillConfig),e.R7$(),e.Y8G("ngIf",i.createJobForm.controls.desc.invalid&&(i.createJobForm.controls.desc.dirty||i.createJobForm.controls.desc.touched)),e.R7$(4),e.Y8G("items",i.employmentType)("clearable",!1)("searchable",!1),e.R7$(2),e.Y8G("ngIf",i.createJobForm.controls.employment_type.invalid&&(i.createJobForm.controls.employment_type.dirty||i.createJobForm.controls.employment_type.touched)),e.R7$(6),e.Y8G("ngIf",1==i.createJobForm.controls.employment_type.value),e.R7$(),e.Y8G("ngIf",1==i.createJobForm.controls.employment_type.value),e.R7$(),e.Y8G("ngIf",2==i.createJobForm.controls.employment_type.value),e.R7$(),e.Y8G("ngIf",2==i.createJobForm.controls.employment_type.value),e.R7$(),e.Y8G("ngIf",4==i.createJobForm.controls.employment_type.value),e.R7$(),e.Y8G("ngIf",4==i.createJobForm.controls.employment_type.value),e.R7$(),e.Y8G("ngClass",e.l_i(31,Ln,"in"===i.country||"in"!==i.country&&!i.globals.is_offshore_client,"in"!==i.country&&i.globals.is_offshore_client)),e.R7$(2),e.Y8G("maxLength",7),e.R7$(2),e.Y8G("ngIf",i.createJobForm.controls.totalPositions.invalid&&(i.createJobForm.controls.totalPositions.dirty||i.createJobForm.controls.totalPositions.touched)),e.R7$(),e.Y8G("ngIf","in"!==i.country&&i.globals.is_offshore_client),e.R7$(3),e.Y8G("options",i.placeOptions),e.R7$(2),e.Y8G("ngIf",i.createJobForm.controls.location.invalid&&(i.createJobForm.controls.location.dirty||i.createJobForm.controls.location.touched)),e.R7$(3),e.Y8G("items",i.AllSkillList)("addTag",!0)("multiple",!0),e.R7$(2),e.Y8G("ngIf",i.createJobForm.controls.skillsList.invalid&&(i.createJobForm.controls.skillsList.dirty||i.createJobForm.controls.skillsList.touched)))},dependencies:[y.MD,y.YU,y.bT,y.B3,g.YN,g.qT,g.me,g.Zm,g.BC,g.cb,g.tU,g.X1,g.j4,g.JD,v.UN,v.$n,v.h_,N.MQ,N.vr,Ie.Qs,Ie.i9,Ce.N,L.j,L.P,S._B],styles:[".create-job-form[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;width:100%;padding:25px;border-radius:10px;border:1px solid var(--cr-gray-tint-6);box-sizing:border-box}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;margin-left:0;margin-right:0}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]{width:100%;max-width:100%;padding-left:0;padding-right:0}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{flex:0 0 100%;max-width:100%}.client-offshore[_ngcontent-%COMP%]{margin-top:22px}@media screen and (min-width: 992px){.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]{padding-left:12px;padding-right:12px}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > .col-12.col-lg-6[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > .col-12.col-lg-6[_ngcontent-%COMP%]{flex:0 0 50%;max-width:50%}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > .col-12.col-lg-9[_ngcontent-%COMP%]{flex:0 0 75%;max-width:75%}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > .col-12.col-lg-3[_ngcontent-%COMP%]{flex:0 0 25%;max-width:25%}}@media screen and (max-width: 991px){.create-job-form[_ngcontent-%COMP%]{max-width:100%;width:100%;padding:16px 14px}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{gap:0}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]{flex:0 0 100%;max-width:100%}.create-job-form[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{flex:0 0 100%;max-width:100%}.create-job-form[_ngcontent-%COMP%] .cr-input-wrap[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] .quill-wrapper[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] .cr-form-control[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] ng-select.cr-select[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] .ql-toolbar.ql-snow[_ngcontent-%COMP%], .create-job-form[_ngcontent-%COMP%] .ql-container.ql-snow[_ngcontent-%COMP%]{width:100%;min-width:0}} ngb-typeahead-window{width:100%!important} ngb-typeahead-window .dropdown-item{white-space:normal;word-break:break-word}@media screen and (max-width: 991px){ ngb-typeahead-window{max-width:200
1px;white-space:pre-wrap}}.suffix-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}.suffix-field[_ngcontent-%COMP%]{position:relative}.suffix-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-right:100px}.suffix-field[_ngcontent-%COMP%] .suffix[_ngcontent-%COMP%]{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#999;pointer-events:none;font-size:14px}.suffix-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:placeholder-shown + .suffix[_ngcontent-%COMP%]{display:none}.suffix-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:placeholder-shown{padding-right:0!important}@media (max-width: 768px){.create-job-form[_ngcontent-%COMP%]{padding:10px}}"]})}return n})();var ne=x(40668),We=x(97586),R=x.n(We),Ge=x(61622),de=x(76144);let Ze=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=e.$C({type:n});static \u0275inj=e.G2t({imports:[y.MD]})}return n})();var pe=x(62796),J=x(1247),Ke=x(63266),Xe=x(27468),Ee=x(96697),Ae=x(10120),Fe=x(49103),Pe=x(21626),fe=x(345);let et=(()=>{class n{sanitizer;constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}static \u0275fac=function(o){return new(o||n)(e.rXU(fe.up,16))};static \u0275pipe=e.EJ8({name:"safe",type:n,pure:!0})}return n})();const Wn=["videoElement"],Zn=["skillModal"],wt=["RecruiterDetailsModal"],Kn=["cofirmationModal"],ei=["resume_show"],ti=["visa_proof_show"],ni=["showDocsModal"],ii=["fullInterviewModal"],xt=["vidPreviewModal"],Ft=["ratingModal"],oi=["videoElementFullInterview"],Ut=(n,a)=>[n,a],tt=n=>["client",n,"5","candidates"],ce=(n,a)=>({rate:n,jobpost_commission:a}),U=(n,a)=>({from:n,to:a}),Y=(n,a,t)=>({itemsPerPage:n,currentPage:a,totalItems:t}),Rt=(n,a)=>["client",n,a,"candidate"],Dt=(n,a)=>({anonymous:n,application:a});function li(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",39)(2,"div",40)(3,"span"),e.EFF(4,"Jobseeker Rate:"),e.k0s(),e.j41(5,"strong"),e.EFF(6),e.k0s()(),e.j41(7,"div",41)(8,"span"),e.EFF(9),e.k0s(),e.j41(10,"span",42),e.EFF(11),e.k0s()(),e.nrm(12,"div",43),e.j41(13,"div",40)(14,"span"),e.EFF(15,"Total Rate:"),e.k0s(),e.j41(16,"strong"),e.EFF(17),e.k0s()()(),e.bVm()),2&n){const t=a.ngIf;e.R7$(6),e.JRh(t.jobseekerRate),e.R7$(3),e.SpI("Cloudrek Fee (",t.commission,"%):"),e.R7$(2),e.JRh(t.cloudrekFee),e.R7$(6),e.JRh(t.totalRate)}}function ai(n,a){if(1&n&&e.DNE(0,li,18,4,"ng-container",38),2&n){const t=a.rate,o=a.jobpost_commission,i=e.XpG();e.Y8G("ngIf",i.getRateTooltipDetails(t,o))}}function si(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - Remote"),e.k0s())}function ri(n,a){if(1&n&&(e.j41(0,"div",67)(1,"span",68),e.EFF(2),e.DNE(3,si,2,0,"span",38),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",null==t?null:t.job_availability," "),e.R7$(),e.Y8G("ngIf","true"==(null==t?null:t.is_remote))}}function Et(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",58),e.bIt("click",function(){const i=e.eBV(t),l=i.$implicit,s=i.index,_=e.XpG(3);return _.jobTableActive=!0,e.Njj(_.joblistChanged(l,l.job_id,_.activejobStatus,s,l.job_title,null))}),e.j41(1,"div",59)(2,"div",60)(3,"h5",61)(4,"a",62),e.EFF(5),e.k0s()(),e.j41(6,"div",63),e.EFF(7),e.k0s()(),e.j41(8,"div",64),e.DNE(9,ri,4,2,"div",65),e.k0s(),e.nrm(10,"div",66),e.k0s()()}if(2&n){const t=a.$implicit,o=a.index;e.Y8G("ngClass",e.l_i(6,Ut,"active-job-"+o,0==o?"active-job":"")),e.R7$(4),e.Y8G("countryRouterLink",e.eq3(9,tt,t.job_id)),e.R7$(),e.JRh(null==t?null:t.job_title),e.R7$(2),e.SpI(" ",null==t?null:t.status_count," "),e.R7$(2),e.Y8G("ngIf",null==t?null:t.job_availability),e.R7$(),e.Y8G("innerHtml",t.job_desc+"...",e.npT)}}function nt(n,a){1&n&&(e.j41(0,"div",69),e.EFF(1," No Jobs Created "),e.k0s())}function zt(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - Remote "),e.k0s())}function rt(n,a){if(1&n&&(e.j41(0,"div",67)(1,"span",68),e.EFF(2),e.DNE(3,zt,2,0,"span",38),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",null==t?null:t.job_availability," "),e.R7$(),e.Y8G("ngIf","true"==(null==t?null:t.is_remote))}}function z(n,a){if(1&n&&(e.j41(0,"div",59)(1,"div",60)(2,"h5",61)(3,"a",62),e.EFF(4),e.k0s()(),e.j41(5,"div",63),e.EFF(6),e.k0s()(),e.j41(7,"div",64),e.DNE(8,rt,4,2,"div",65),e.k0s(),e.nrm(9,"div",66),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(3),e.Y8G("countryRouterLink",e.eq3(5,tt,t.job_id)),e.R7$(),e.SpI(" ",null==t?null:t.job_title," "),e.R7$(2),e.SpI(" ",null==t?null:t.status_count," "),e.R7$(2),e.Y8G("ngIf",null==t?null:t.job_availability),e.R7$(),e.Y8G("innerHtml",t.job_desc+"...",e.npT)}}function ci(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",58),e.bIt("click",function(){const i=e.eBV(t),l=i.$implicit,s=i.index,_=e.XpG(4);return _.jobTableActive=!0,e.Njj(_.joblistChanged(l,null==l?null:l.job_id,_.activejobStatus,s,null==l?null:l.job_title,"isDeactive"))}),e.DNE(1,z,10,7,"div",82),e.k0s()}if(2&n){const t=a.$implicit,o=a.index;e.Y8G("ngClass",e.l_i(2,Ut,"deactive-job-"+o,0==o?"deactive-job":"")),e.R7$(),e.Y8G("ngIf",t)}}function _i(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",70)(1,"div",71),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.togalAccordion())}),e.j41(2,"div",72)(3,"h2",73)(4,"button",74)(5,"div",75)(6,"span",76),e.EFF(7,"keyboard_arrow_down"),e.k0s(),e.j41(8,"div",77)(9,"h6",78),e.EFF(10),e.k0s()()()()(),e.j41(11,"div",79)(12,"div",80)(13,"ul",81),e.DNE(14,ci,2,5,"div",55),e.k0s()()()()()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("closeOthers",!0),e.R7$(3),e.AVh("collapsed",!t.opened),e.R7$(6),e.SpI(" Deactivated Jobs (",t.deactiveJobs.length,") "),e.R7$(4),e.Y8G("ngForOf",t.deactiveJobs)}}function di(n,a){if(1&n&&(e.j41(0,"div",54)(1,"div"),e.DNE(2,Et,11,11,"div",55)(3,nt,2,0,"div",56),e.k0s(),e.DNE(4,_i,15,5,"div",57),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.activeJobs),e.R7$(),e.Y8G("ngIf",0==t.activeJobs.length),e.R7$(),e.Y8G("ngIf",0!=t.deactiveJobs.length)}}function Qt(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",101),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(57);return e.Njj(l.openReasonMessage(s,i))}),e.qSk(),e.j41(1,"svg",102),e.nrm(2,"path",103),e.k0s()()}}function Wt(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function pi(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function ui(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" F(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),") ")}}function Zt(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function mi(n,a){if(1&n&&(e.qex(0),e.DNE(1,ui,5,11,"span",106)(2,Zt,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Kt(n,a){if(1&n&&(e.j41(0,"span",107)(1,"span",109),e.qSk(),e.j41(2,"svg",110),e.nrm(3,"path",103),e.k0s()(),e.EFF(4),e.nI1(5,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(3),e.SpI(" P(",e.bMT(5,3,e.l_i(8,U,t.from,t.to)),") ")}}function gi(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function It(n,a){if(1&n&&(e.qex(0),e.DNE(1,Kt,6,11,"span",106)(2,gi,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function en(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function tn(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",111),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" C(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function nn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function on(n,a){if(1&n&&(e.qex(0),e.DNE(1,tn,5,11,"span",106)(2,nn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function bi(n,a){if(1&n&&(e.j41(0,"div",105),e.DNE(1,mi,3,2,"ng-container",38)(2,It,3,2,"ng-container",38)(3,en,2,0,"ng-container",38)(4,on,3,2,"ng-container",38),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function fi(n,a){if(1&n&&(e.qex(0),e.DNE(1,bi,5,4,"div",104),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function ct(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function _t(n,a){if(1&n&&(e.qex(0),e.DNE(1,fi,2,1,"ng-container",86)(2,ct,2,0,"span",38),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);
1e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function dt(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function ln(n,a){if(1&n&&(e.j41(0,"div",112),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function hi(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(1," View More... "),e.k0s()}}function vi(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",112),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function ki(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",115),e.EFF(2," Skills "),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",117)(5,"div",95),e.DNE(6,vi,3,1,"ng-container",86),e.k0s()()}if(2&n){const t=e.XpG(5);e.R7$(6),e.Y8G("ngForOf",t.jobseekerSkill)}}function ji(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function Ci(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function yi(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",75)(3,"a",87),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",88),e.nrm(5,"path",89),e.k0s()(),e.DNE(6,Qt,3,0,"a",90),e.joV(),e.j41(7,"span",91)(8,"a",92),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(9),e.nI1(10,"titlecase"),e.nI1(11,"titlecase"),e.k0s()()()(),e.j41(12,"td")(13,"a",93),e.EFF(14),e.k0s()(),e.j41(15,"td")(16,"a",94),e.EFF(17),e.k0s()(),e.j41(18,"td"),e.EFF(19),e.k0s(),e.j41(20,"td"),e.DNE(21,Wt,3,4,"span",38)(22,pi,2,0,"span",38),e.k0s(),e.j41(23,"td"),e.DNE(24,_t,3,2,"ng-container",38)(25,dt,2,0,"span",38),e.k0s(),e.j41(26,"td")(27,"div",95),e.DNE(28,ln,2,1,"div",96)(29,hi,2,0,"a",97),e.k0s()(),e.DNE(30,ki,7,1,"ng-template",null,13,e.C5r),e.j41(32,"td"),e.DNE(33,ji,3,5,"span",38)(34,Ci,2,0,"span",38),e.k0s(),e.j41(35,"td")(36,"a",98),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(37),e.nI1(38,"titlecase"),e.k0s()(),e.j41(39,"td")(40,"div",99)(41,"ng-select",100,18),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4),_=e.sdS(29),p=e.sdS(31);return e.Njj(s.changeStatus(i,l,l.APPLY_ID,l.jobseeker_id,l.job_id,_,p))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(6),e.Y8G("ngIf",(null==t?null:t.vendor_reason)&&(null==t?null:t.vendor_reason.trim())||(null==t?null:t.ex_recruiter_reason)&&(null==t?null:t.ex_recruiter_reason.trim())),e.R7$(3),e.Lme(" ",e.bMT(10,24,t.jobseeker_detail.first_name)," ",e.bMT(11,26,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2)),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(4),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(38,28,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name)),e.R7$(4),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.submittedData)}}function an(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,yi,43,30,"tr",86),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.submittedActiveJobs)}}function wi(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function sn(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",84)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"
1Email"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",85),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",85),e.k0s()()(),e.DNE(34,an,2,1,"tbody",38)(35,wi,4,0,"tbody",38),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsSubmitted),e.R7$(33),e.Y8G("ngIf",0!=t.submittedActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.submittedActiveJobs.length)}}function xi(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function Fi(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Be(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" F(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function rn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Ri(n,a){if(1&n&&(e.qex(0),e.DNE(1,Be,5,11,"span",106)(2,rn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Tt(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" P(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function cn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Di(n,a){if(1&n&&(e.qex(0),e.DNE(1,Tt,5,11,"span",106)(2,cn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Ei(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function Ii(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" C(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function Ti(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Gi(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ii,5,11,"span",106)(2,Ti,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Mi(n,a){if(1&n&&(e.j41(0,"div",105),e.DNE(1,Ri,3,2,"ng-container",38)(2,Di,3,2,"ng-container",38)(3,Ei,2,0,"ng-container",38)(4,Gi,3,2,"ng-container",38),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function qe(n,a){if(1&n&&(e.qex(0),e.DNE(1,Mi,5,4,"div",104),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function Si(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function _n(n,a){if(1&n&&(e.qex(0),e.DNE(1,qe,2,1,"ng-container",86)(2,Si,2,0,"span",38),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function dn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Oi(n,a){if(1&n&&(e.j41(0,"div",112),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function $i(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(1," View More... "),e.k0s()}}function Pi(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function Ni(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Yi(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",75)(3,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",88),e.nrm(5,"path",89),e.k0s()(),e.joV(),e.j41(6,"span",91)(
17,"a",92),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",93),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",94),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,xi,3,4,"span",38)(21,Fi,2,0,"span",38),e.k0s(),e.j41(22,"td"),e.DNE(23,_n,3,2,"ng-container",38)(24,dn,2,0,"span",38),e.k0s(),e.j41(25,"td")(26,"div",95),e.DNE(27,Oi,2,1,"div",96)(28,$i,2,0,"a",97),e.k0s()(),e.j41(29,"td"),e.DNE(30,Pi,3,5,"span",38)(31,Ni,2,0,"span",38),e.k0s(),e.j41(32,"td")(33,"a",98),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(34),e.nI1(35,"titlecase"),e.k0s()(),e.j41(36,"td")(37,"div",99)(38,"ng-select",121,18),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4),_=e.sdS(29),p=e.sdS(31);return e.Njj(s.changeStatus(i,l,l.APPLY_ID,l.jobseeker_id,l.job_id,_,p))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(8),e.Lme(" ",e.bMT(9,23,t.jobseeker_detail.first_name)," ",e.bMT(10,25,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2)),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(35,27,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name)),e.R7$(4),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.shortlistedData)}}function Vi(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Yi,40,29,"tr",86),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.shortlistedActiveJobs)}}function Ji(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function Le(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",84)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",85),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",85),e.k0s()()(),e.DNE(34,Vi,2,1,"tbody",38)(35,Ji,4,0,"tbody",38),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsShortlisted),e.R7$(33),e.Y8G("ngIf",0!=t.shortlistedActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.shortlistedActiveJobs.length)}}function Xi(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function Ai(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function pn(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" F(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function Bi(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Me(n,a){if(1&n&&(e.qex(0),e.DNE(1,pn,5,11,"span",106)(2,Bi,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function qi(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" P(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function un(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function it(n,a){if(1&n&&(e.qex(0),e.DNE(1,qi,5,11,"span",106)(2,un,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Li(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function Hi(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" C(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function Ui(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function mn(n,a){if(1&n&&(e.qex(0),e.DNE(1,Hi,5,11,"span",106)(2,Ui,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function He(n,a){if(1&n&&(e.j41(0,"div",105),e.DNE(1,Me,3,2,"ng-container",38)(2,it,3,2,"ng-container",38)(3,Li,2,0,"ng-container",38)(4,mn,3,2,"ng-container",38),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function zi(n,a){if(1&n&&(e.qex(0),e.DNE(1,He,5,4,"div",104),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function Qi(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Wi(n,a){if(1&n&&(e.qex(0),e.DNE(1,zi,2,1,"ng-container",86)(2,Qi,2,0,"span",38),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);
1e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function Zi(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Ki(n,a){if(1&n&&(e.j41(0,"div",112),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function eo(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(1," View More... "),e.k0s()}}function to(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function no(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function io(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",75)(3,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",88),e.nrm(5,"path",89),e.k0s()(),e.joV(),e.j41(6,"span",91)(7,"a",92),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",93),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",94),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,Xi,3,4,"span",38)(21,Ai,2,0,"span",38),e.k0s(),e.j41(22,"td"),e.DNE(23,Wi,3,2,"ng-container",38)(24,Zi,2,0,"span",38),e.k0s(),e.j41(25,"td")(26,"div",95),e.DNE(27,Ki,2,1,"div",96)(28,eo,2,0,"a",97),e.k0s()(),e.j41(29,"td"),e.DNE(30,to,3,5,"span",38)(31,no,2,0,"span",38),e.k0s(),e.j41(32,"td")(33,"a",98),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(34),e.nI1(35,"titlecase"),e.k0s()(),e.j41(36,"td")(37,"div",99)(38,"ng-select",122,18),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4),_=e.sdS(29),p=e.sdS(31);return e.Njj(s.changeStatus(i,l,l.APPLY_ID,l.jobseeker_id,l.job_id,_,p))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(8),e.Lme(" ",e.bMT(9,23,t.jobseeker_detail.first_name)," ",e.bMT(10,25,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2)),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(35,27,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name)),e.R7$(4),e.Y8G("compareWith",o.compareWithStatus)("searchable",!1)("items",o.scheduledData)("clearable",!1)}}function oo(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,io,40,29,"tr",86),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.scheduledActiveJobs)}}function pt(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function gn(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",84)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"
1Email"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",85),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",85),e.k0s()()(),e.DNE(34,oo,2,1,"tbody",38)(35,pt,4,0,"tbody",38),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsScheduled),e.R7$(33),e.Y8G("ngIf",0!=t.scheduledActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.scheduledActiveJobs.length)}}function lo(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function ao(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function so(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" F(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function bn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function ro(n,a){if(1&n&&(e.qex(0),e.DNE(1,so,5,11,"span",106)(2,bn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Gt(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" P(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function fn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function hn(n,a){if(1&n&&(e.qex(0),e.DNE(1,Gt,5,11,"span",106)(2,fn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Mt(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function ut(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" C(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function co(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function vn(n,a){if(1&n&&(e.qex(0),e.DNE(1,ut,5,11,"span",106)(2,co,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function kn(n,a){if(1&n&&(e.j41(0,"div",105),e.DNE(1,ro,3,2,"ng-container",38)(2,hn,3,2,"ng-container",38)(3,Mt,2,0,"ng-container",38)(4,vn,3,2,"ng-container",38),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function jn(n,a){if(1&n&&(e.qex(0),e.DNE(1,kn,5,4,"div",104),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function Cn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function yn(n,a){if(1&n&&(e.qex(0),e.DNE(1,jn,2,1,"ng-container",86)(2,Cn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function wn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function xn(n,a){if(1&n&&(e.j41(0,"div",112),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function Fn(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(1," View More... "),e.k0s()}}function Rn(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function Ue(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function _o(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",75)(3,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",88),e.nrm(5,"path",89),e.k0s()(),e.joV(),e.j41(6,"span",91)(
17,"a",92),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",93),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",94),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,lo,3,4,"span",38)(21,ao,2,0,"span",38),e.k0s(),e.j41(22,"td"),e.DNE(23,yn,3,2,"ng-container",38)(24,wn,2,0,"span",38),e.k0s(),e.j41(25,"td")(26,"div",95),e.DNE(27,xn,2,1,"div",96)(28,Fn,2,0,"a",97),e.k0s()(),e.j41(29,"td"),e.DNE(30,Rn,3,5,"span",38)(31,Ue,2,0,"span",38),e.k0s(),e.j41(32,"td")(33,"a",98),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(34),e.nI1(35,"titlecase"),e.k0s()(),e.j41(36,"td")(37,"div",99)(38,"div",123),e.EFF(39,"Hired"),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(8),e.Lme(" ",e.bMT(9,19,t.jobseeker_detail.first_name)," ",e.bMT(10,21,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2)),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(35,23,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function po(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,_o,40,25,"tr",86),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.hiredActiveJobs)}}function uo(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function Dn(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",84)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",85),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",85),e.k0s()()(),e.DNE(34,po,2,1,"tbody",38)(35,uo,4,0,"tbody",38),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHired),e.R7$(33),e.Y8G("ngIf",0!=t.hiredActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.hiredActiveJobs.length)}}function En(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function In(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function mo(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" F(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function go(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function bo(n,a){if(1&n&&(e.qex(0),e.DNE(1,mo,5,11,"span",106)(2,go,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Tn(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" P(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function Gn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function fo(n,a){if(1&n&&(e.qex(0),e.DNE(1,Tn,5,11,"span",106)(2,Gn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Mn(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function ho(n,a){if(1&n&&(e.j41(0,"span",107)(1,"i",108),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(2).$implicit;e.XpG(4);const i=e.sdS(2);e.R7$(),e.Y8G("ngbTooltip",i)("tooltipContext",e.l_i(5,ce,t.to,o.jobpost_commission)),e.R7$(2),e.SpI(" C(",e.bMT(4,3,e.l_i(8,U,t.from,t.to)),")")}}function Sn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function St(n,a){if(1&n&&(e.qex(0),e.DNE(1,ho,5,11,"span",106)(2,Sn,2,0,"span",38),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function vo(n,a){if(1&n&&(e.j41(0,"div",105),e.DNE(1,bo,3,2,"ng-container",38)(2,fo,3,2,"ng-container",38)(3,Mn,2,0,"ng-container",38)(4,St,3,2,"ng-container",38),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function ko(n,a){if(1&n&&(e.qex(0),e.DNE(1,vo,5,4,"div",104),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function jo(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Co(n,a){if(1&n&&(e.qex(0),e.DNE(1,ko,2,1,"ng-container",86)(2,jo,2,0,"span",38),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);
1e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function mt(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function yo(n,a){if(1&n&&(e.j41(0,"div",112),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function wo(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(1," View More... "),e.k0s()}}function xo(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function Fo(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function On(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",75)(3,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",88),e.nrm(5,"path",89),e.k0s()(),e.joV(),e.j41(6,"span",91)(7,"a",124),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",93),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",94),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,En,3,4,"span",38)(21,In,2,0,"span",38),e.k0s(),e.j41(22,"td"),e.DNE(23,Co,3,2,"ng-container",38)(24,mt,2,0,"span",38),e.k0s(),e.j41(25,"td")(26,"div",95),e.DNE(27,yo,2,1,"div",96)(28,wo,2,0,"a",97),e.k0s()(),e.j41(29,"td"),e.DNE(30,xo,3,5,"span",38)(31,Fo,2,0,"span",38),e.k0s(),e.j41(32,"td")(33,"a",98),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(34),e.nI1(35,"titlecase"),e.k0s()(),e.j41(36,"td")(37,"div",99)(38,"div",125),e.EFF(39," Not Selected "),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(8),e.Lme(" ",e.bMT(9,19,t.jobseeker_detail.first_name)," ",e.bMT(10,21,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2)),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(35,23,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function Ro(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,On,40,25,"tr",86),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.notSelectedActiveJobs)}}function Do(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function Eo(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",84)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",85),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",85),e.k0s()()(),e.DNE(34,Ro,2,1,"tbody",38)(35,Do,4,0,"tbody",38),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsNotSelected),e.R7$(33),e.Y8G("ngIf",0!=t.notSelectedActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.notSelectedActiveJobs.length)}}function Io(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",44)(1,"aside",45),e.DNE(2,di,5,3,"div",46),e.k0s(),e.j41(3,"button",47),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.jobTableActive=!0)}),e.qSk(),e.j41(4,"svg",48),e.nrm(5,"path",49),e.k0s()(),e.joV(),e.j41(6,"div",50)(7,"button",51),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.jobTableActive=!1)}),e.EFF(8," Back "),e.k0s(),e.j41(9,"ul",52,1),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.activeJobApplicantTab,i)||(l.activeJobApplicantTab=i),e.Njj(i)}),e.j41(11,"li",31)(12,"a",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(11,5))}),e.EFF(13,"Submitted "),e.j41(14,"span"),e.EFF(15),e.k0s()(),e.DNE(16,sn,36,3,"ng-template",33),e.k0s(),e.j41(17,"li",31)(18,"a",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(22,1))}),e.EFF(19,"Shortlisted "),e.j41(20,"span"),e.EFF(21),e.k0s()(),e.DNE(22,Le,36,3,"ng-template",33),e.k0s(),e.j41(23,"li",31)(24,"a",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(33,2))}),e.EFF(25,"Scheduled "),e.j41(26,"span"),e.EFF(27),e.k0s()(),e.DNE(28,gn,36,3,"ng-template",33),e.k0s(),e.j41(29,"li",31)(30,"a",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(44,3))}),e.EFF(31,"Hired "),e.j41(32,"span"),e.EFF(33),e.k0s()(),e.DNE(34,Dn,36,3,"ng-template",33),e.k0s(),e.j41(35,"li",31)(36,"a",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(55,4))}),e.EFF(37,"Not Selected "),e.j41(38,"span"),e.EFF(39),e.k0s()(),e.DNE(40,Eo,36,3,"ng-template",33),e.k0s()(),e.nrm(41,"div",36),e.k0s()()}if(2&n){const t=e.sdS(10),o=e.XpG();e.R7$(2),e.Y8G("ngIf",1==o.isShowJobs),e.R7$(4),e.AVh("job-active",o.jobTableActive),e.Y8G("formGroup",o.candidateForm),e.R7$(3),e.R50("activeId",o.activeJobApplicantTab),e.R7$(2),e.Y8G("ngbNavItem",11),e.R7$(4),e.SpI("(",o.submittedCount,")"),e.R7$(2),e.Y8G("ngbNavItem",22),e.R7$(4),e.SpI("(",o.shortlistedCount,")"),e.R7$(2),e.Y8G("ngbNavItem",33),e.R7$(4),e.SpI("(",o.scheduledCount,")"),e.R7$(2),e.Y8G("ngbNavItem",44),e.R7$(4),e.SpI("(",o.hiredCount,")"),e.R7$(2),e.Y8G("ngbNavItem",55),e.R7$(4),e.SpI("(",o.notSelectedCount,")"),e.R7$(2),e.Y8G("ngbNavOutlet",t)}}function $n(n,a){if(1&n&&(e.j41(0,"p",134),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,U,null==t?null:t.from,null==t?null:t.to)),") ")}}function Pn(n,a){if(1&n&&(e.j41(0,"p",134),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,U,null==t?null:t.from,null==t?null:t.to)),") ")}}function To(n,a){if(1&n&&(e.j41(0,"p",134),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,U,null==t?null:t.from,null==t?null:t.to)),") ")}}function Go(n,a){1&n&&(e.j41(0,"p",134),e.EFF(1,"Remote"),e.k0s())}function Mo(n,a){if(1&n&&(e.qex(0),e.DNE(1,$n,3,6,"p",133)(2,Pn,3,6,"p",133)(3,To,3,6,"p",133)(4,Go,2,0,"p",133),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.opt))}}function Nn(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",135),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(55);return l.showRecruiterDetail(null==i.jobseeker_detail?null:i.jobseeker_detail.recruiter_data),e.Njj(l.open(s,"small"))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name)," ")}}function Ot(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function So(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"button",129),e.EFF(3),e.k0s()(),e.j41(4,"td")(5,"div",75)(6,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(7,"svg",88),e.nrm(8,"path",89),e.k0s()(),e.joV(),e.j41(9,"a",130),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"titlecase"),e.k0s()()(),e.j41(13,"td")(14,"a",131),e.EFF(15),e.k0s()(),e.j41(16,"td")(17,"a",94),e.EFF(18),e.k0s()(),e.j41(19,"td"),e.EFF(20),e.k0s(),e.j41(21,"td"),e.DNE(22,Mo,5,4,"ng-container",86),e.k0s(),e.j41(23,"td"),e.EFF(24),e.k0s(),e.j41(25,"td"),e.DNE(26,Nn,3,3,"button",132)(27,Ot,2,0,"span",38),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(2),e.Y8G("countryRouterLink",e.eq3(23,tt,null==t?null:t.job_id)),e.R7$(),e.Lme(" ",null==t?null:t.job_id," ",null==t?null:t.job_title," "),e.R7$(6),e.Y8G("countryRouterLink",e.l_i(25,Rt,null==t?null:t.jobseeker_id,null==t?null:t.job_id))("queryParams",e.l_i(28,Dt,
1null==t?null:t.anonymous,o.encode_base64(null==t?null:t.APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(11,19,null==t?null:t.JS_FNAME)," ",e.bMT(12,21,null==t?null:t.JS_LNAME),""),e.R7$(4),e.Mz_("href","mailto:",null!=t&&t.anonymous?"-":null==t?null:t.email,"",e.B4B),e.R7$(),e.JRh(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone_code)+(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone),"",e.B4B),e.R7$(),e.Lme("",null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone_code," ",null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(2),e.SpI(" ",(null==t?null:t.date)+" "+(null==t?null:t.from_time)," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_detail&&null!=t.jobseeker_detail.recruiter_data&&t.jobseeker_detail.recruiter_data.rec_name))}}function Oo(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,So,28,31,"tr",86),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.upcomingInterviewsList,e.sMw(4,Y,t.upcomingInterviewsTotalItems,t.upcomingInterviewsPage,t.upcomingInterviewsTotal)))}}function $o(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function hl(n,a){if(1&n&&(e.j41(0,"table",128)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Job Title"),e.nrm(5,"span",85),e.k0s(),e.j41(6,"th"),e.EFF(7,"Jobseeker"),e.nrm(8,"span",85),e.k0s(),e.j41(9,"th"),e.EFF(10,"Email"),e.nrm(11,"span",85),e.k0s(),e.j41(12,"th"),e.EFF(13,"Phone"),e.nrm(14,"span",85),e.k0s(),e.j41(15,"th"),e.EFF(16,"Location"),e.nrm(17,"span",85),e.k0s(),e.j41(18,"th"),e.EFF(19,"Rate"),e.nrm(20,"span",85),e.k0s(),e.j41(21,"th"),e.EFF(22,"Interview Date"),e.nrm(23,"span",85),e.k0s(),e.j41(24,"th"),e.EFF(25,"Recruiter"),e.nrm(26,"span",85),e.k0s()()(),e.DNE(27,Oo,3,8,"tbody",38)(28,$o,4,0,"tbody",38),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("dtOptions",t.dtOptionsUpcomingInterviews),e.R7$(27),e.Y8G("ngIf",0!=t.upcomingInterviewsList.length),e.R7$(),e.Y8G("ngIf",0==t.upcomingInterviewsList.length)}}function vl(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",136),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.getPage(i,l.activeId))}),e.k0s()}}function kl(n,a){if(1&n&&(e.j41(0,"div",83),e.DNE(1,hl,29,3,"table",126)(2,vl,1,0,"pagination-controls",127),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0!=t.upcomingInterviewsList.length),e.R7$(),e.Y8G("ngIf",0!==(null==t.upcomingInterviewsList?null:t.upcomingInterviewsList.length)&&t.upcomingInterviewsTotal>t.upcomingInterviewsTotalItems)}}function Po(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",135),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(55);return l.showRecruiterDetail(null==i.jobseeker_detail?null:i.jobseeker_detail.recruiter_data),e.Njj(l.open(s,"small"))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name)," ")}}function No(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Yn(n,a){1&n&&(e.j41(0,"span",143),e.EFF(1,"Pending"),e.k0s())}function Yo(n,a){1&n&&(e.j41(0,"span",123),e.EFF(1,"Onboarded"),e.k0s())}function Vo(n,a){1&n&&(e.j41(0,"span",144),e.EFF(1,"Inprogress"),e.k0s())}function Jo(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",145),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.startJobseekerOnboarding(null==i?null:i.job_id,null==i?null:i.jobseeker_id,1))}),e.EFF(1," Start Onboarding "),e.k0s()}}function Xo(n,a){}function Ao(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"button",129),e.EFF(3),e.k0s()(),e.j41(4,"td")(5,"div",75)(6,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(7,"svg",88),e.nrm(8,"path",89),e.k0s()(),e.joV(),e.j41(9,"a",130),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"titlecase"),e.k0s()()(),e.j41(13,"td")(14,"a",131),e.EFF(15),e.k0s()(),e.j41(16,"td")(17,"a",94),e.EFF(18),e.k0s()(),e.j41(19,"td"),e.EFF(20),e.k0s(),e.j41(21,"td"),e.EFF(22),e.nI1(23,"countryCurrency"),e.k0s(),e.j41(24,"td"),e.EFF(25),e.nI1(26,"date"),e.k0s(),e.j41(27,"td"),e.DNE(28,Po,3,3,"button",132)(29,No,2,0,"span",38),e.k0s(),e.j41(30,"td"),e.DNE(31,Yn,2,0,"span",139)(32,Yo,2,0,"span",140)(33,Vo,2,0,"span",141),e.k0s(),e.j41(34,"td"),e.DNE(35,Jo,2,0,"button",142)(36,Xo,0,0,"ng-template",null,20,e.C5r),e.k0s()()}if(2&n){const t=a.$implicit,o=e.sdS(37),i=e.XpG(4);e.R7$(2),e.Y8G("countryRouterLink",e.eq3(33,tt,null==t?null:t.job_id)),e.R7$(),e.Lme(" ",t.job_id," ",t.job_title," "),e.R7$(6),e.Y8G("countryRouterLink",e.l_i(35,Rt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(38,Dt,null==t?null:t.anonymous,i.encode_base64(null==t?null:t.APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(11,24,null==t?null:t.JS_FNAME)," ",e.bMT(12,26,null==t?null:t.JS_LNAME)," "),e.R7$(4),e.Mz_("href","mailto:",null!=t&&t.anonymous?"-":null==t?null:t.email,"",e.B4B),e.R7$(),e.JRh(t.js_email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.js_phone,""),e.R7$(2),e.JRh(t.address),e.R7$(2),e.SpI(" ",null!=t&&t.final_rate?e.bMT(23,28,null==t?null:t.final_rate):""," "),e.R7$(3),e.SpI(" ",null!=t&&t.hired_start_date?e.i5U(26,30,null==t?null:t.hired_start_date,"MMM d, y"):"-"," "),e.R7$(3),e.Y8G("ngIf",null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_detail&&null!=t.jobseeker_detail.recruiter_data&&t.jobseeker_detail.recruiter_data.rec_name)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.is_started_onboarding)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding))("ngIfElse",o)}}function Bo(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Ao,38,41,"tr",86),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.hiredCandidateFulltimeList,e.sMw(4,Y,t.hiredCandidateFulltimeTotalItems,t.hiredCandidateFulltimePage,t.hiredCandidateFulltimeCounter)))}}function qo(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function Lo(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",136),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.getPage(i,l.activeId,1))}),e.k0s()}}function Ho(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",128)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Job Title"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"Jobseeker"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Email"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14,"Phone"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17,"Location"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20," Hired Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23," Hired Date"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26,"Recruiter"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Onboarding Status"),e.nrm(30,"span",85),e.k0s(),e.nrm(31,"th"),e.k0s()(),e.DNE(32,Bo,3,8,"tbody",38)(33,qo,4,0,"tbody",38),e.k0s(),e.DNE(34,Lo,1,0,"pagination-controls",127),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHiredFulltime),e.R7$(31),e.Y8G("ngIf",0!=t.hiredCandidateFulltimeList.length),e.R7$(),e.Y8G("ngIf",0==t.hiredCandidateFulltimeList.length),e.R7$(),e.Y8G("ngIf",0!==(null==t.hiredCandidateFulltimeList?null:t.hiredCandidateFulltimeList.length)&&t.hiredCandidateFulltimeCounter>t.hiredCandidateFulltimeTotalItems)}}function Ne(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",135),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(55);return l.showRecruiterDetail(null==i.jobseeker_detail?null:i.jobseeker_detail.recruiter_data),e.Njj(l.open(s,"small"))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name)," ")}}function Vn(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Uo(n,a){1&n&&(e.j41(0,"span",143),e.EFF(1,"Pending"),e.k0s())}function gt(n,a){1&n&&(e.j41(0,"span",123),e.EFF(1,"Onboarded"),e.k0s())}function zo(n,a){1&n&&(e.j41(0,"span",144),e.EFF(1,"Inprogress"),e.k0s())}function Qo(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",145),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.startJobseekerOnboarding(null==i?null:i.job_id,null==i?null:i.jobseeker_id,0))}),e.EFF(1," Start Onboarding "),e.k0s()}}function Wo(n,a){}function Jn(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"button",129),e.EFF(3),e.k0s()(),e.j41(4,"td")(5,"div",75)(6,"a",120),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(7,"svg",88),e.nrm(8,"path",89),e.k0s()(),e.joV(),e.j41(9,"a",130),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"titlecase"),e.k0s()()(),e.j41(13,"td")(14,"a",131),e.EFF(15),e.k0s()(),e.j41(16,"td")(17,"a",94),e.EFF(18),e.k0s()(),e.j41(19,"td"),e.EFF(20),e.k0s(),e.j41(21,"td"),e.EFF(22),e.nI1(23,"countryCurrency"),e.k0s(),e.j41(24,"td"),e.EFF(25),e.nI1(26,"date"),e.k0s(),e.j41(27,"td"),e.DNE(28,Ne,3,3,"button",132)(29,Vn,2,0,"span",38),e.k0s(),e.j41(30,"td"),e.DNE(31,Uo,2,0,"span",139)(32,gt,2,0,"span",140)(33,zo,2,0,"span",141),e.k0s(),e.j41(34,"td"),e.DNE(35,Qo,2,0,"button",142)(36,Wo,0,0,"ng-template",null,20,e.C5r),e.k0s()()}if(2&n){const t=a.$implicit,o=e.sdS(37),i=e.XpG(4);e.R7$(2),e.Y8G("countryRouterLink",e.eq3(33,tt,null==t?null:t.job_id)),e.R7$(),e.Lme(" ",t.job_id," ",t.job_title," "),e.R7$(6),e.Y8G("countryRouterLink",e.l_i(35,Rt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(38,Dt,null==t?null:t.anonymous,i.encode_base64(null==t?null:t.APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(11,24,t.JS_FNAME)," ",e.bMT(12,26,null==t?null:t.JS_LNAME)," "),e.R7$(4),e.Mz_("href","mailto:",null!=t&&t.anonymous?"-":null==t?null:t.email,"",e.B4B),e.R7$(),e.JRh(t.js_email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.js_phone,""),e.R7$(2),e.JRh(t.address),e.R7$(2),e.SpI(" ",null!=t&&t.final_rate?e.bMT(23,28,null==t?null:t.final_rate):""," "),e.R7$(3),e.SpI(" ",null!=t&&t.hired_start_date?e.i5U(26,30,null==t?null:t.hired_start_date,"MMM d, y"):"-"," "),e.R7$(3),e.Y8G("ngIf",null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_detail&&null!=t.jobseeker_detail.recruiter_data&&t.jobseeker_detail.recruiter_data.rec_name)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.is_started_onboarding)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding))("ngIfElse",o)}}function Zo(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Jn,38,41,"tr",86),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.hiredCandidateContractList,e.sMw(4,Y,t.hiredCandidateContractTotalItems,t.hiredCandidateContractPage,t.hiredCandidateContractCounter)))}}function Ko(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function el(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",136),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.getPage(i,l.activeId,0))}),e.k0s()}}function Re(n,a){if(1&n&&(e.j41(0,"div",83)(1,"table",128)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Job Title"),e.nrm(6,"span",85),e.k0s(),e.j41(7,"th"),e.EFF(8,"Jobseeker"),e.nrm(9,"span",85),e.k0s(),e.j41(10,"th"),e.EFF(11,"Email"),e.nrm(12,"span",85),e.k0s(),e.j41(13,"th"),e.EFF(14,"Phone"),e.nrm(15,"span",85),e.k0s(),e.j41(16,"th"),e.EFF(17,"Location"),e.nrm(18,"span",85),e.k0s(),e.j41(19,"th"),e.EFF(20," Hired Rate"),e.nrm(21,"span",85),e.k0s(),e.j41(22,"th"),e.EFF(23," Hired Date"),e.nrm(24,"span",85),e.k0s(),e.j41(25,"th"),e.EFF(26,"Recruiter"),e.nrm(27,"span",85),e.k0s(),e.j41(28,"th"),e.EFF(29," Onboarding Status"),e.nrm(30,"span",85),e.k0s(),e.nrm(31,"th"),e.k0s()(),e.DNE(32,Zo,3,8,"tbody",38)(33,Ko,4,0,"tbody",38),e.k0s(),e.DNE(34,el,1,0,"pagination-controls",127),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHiredContract),e.R7$(31),e.Y8G("ngIf",0!=t.hiredCandidateContractList.length),e.R7$(),e.Y8G("ngIf",0==t.hiredCandidateContractList.length),e.R7$(),e.Y8G("ngIf",0!==(null==t.hiredCandidateContractList?null:t.hiredCandidateContractList.length)&&t.hiredCandidateContractCounter>t.hiredCandidateContractTotalItems)}}function bt(n,a){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"ul",137,19),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.hiredSelectContent,i)||(l.hiredSelectContent=i),e.Njj(i)}),e.j41(3,"li",31)(4,"a",138),e.EFF(5),e.k0s(),e.DNE(6,Ho,35,4,"ng-template",33),e.k0s(),e.j41(7,"li",31)(8,"a",138),e.EFF(9),e.k0s(),e.DNE(10,Re,35,4,"ng-template",33),e.k0s()(),e.nrm(11,"div",36),e.k0s()}if(2&n){const t=e.sdS(2),o=e.XpG();e.R7$(),e.R50("activeId",o.hiredSelectContent),e.R7$(2),e.Y8G("ngbNavItem",61),e.R7$(2),e.SpI(" ",o.hiredCandidateFulltimeCounter," Full time "),e.R7$(2),e.Y8G("ngbNavItem",62),e.R7$(2),e.SpI(" ",o.hiredCandidateContractCounter," Contract "),e.R7$(2),e.Y8G("ngbNavOutlet",t)}}function Q(n,a){if(1&n){const t=e.RV6();e.j41(0,"img",148),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.reminderVideoInterview(null==i?null:i.jobseeker_id))}),e.k0s()}}function tl(n,a){1&n&&(e.j41(0,"span",125),e.EFF(1,"Not Registered"),e.k0s())}function nl(n,a){1&n&&(e.j41(0,"span",123),e.EFF(1,"Registered"),e.k0s())}function il(n,a){1&n&&(e.j41(0,"span",125),e.EFF(1,"Not Completed"),e.k0s())}function ol(n,a){1&n&&(e.j41(0,"span",123),e.EFF(1,"Completed"),e.k0s())}function ll(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function al(n,a){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td")(4,"div",75)(5,"span"),e.EFF(6),e.k0s(),e.DNE(7,Q,1,0,"img",146),e.k0s()(),e.j41(8,"td"),e.EFF(9),e.nI1(10,"titlecase"),e.nI1(11,"titlecase"),e.k0s(),e.j41(12,"td"),e.EFF(13),e.k0s(),e.j41(14,"td"),e.DNE(15,tl,2,0,"span",147)(16,nl,2,0,"span",140),e.k0s(),e.j41(17,"td"),e.DNE(18,il,2,0,"span",147)(19,ol,2,0,"span",140)(20,ll,2,0,"span",38),e.k0s()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(4);e.R7$(2),e.JRh(o+i.videoInterviewJsData.from),e.R7$(4),e.JRh(null==t?null:t.jobseeker_email),e.R7$(),e.Y8G("ngIf",!(null!=t&&t.jobseeker_detail)),e.R7$(2),e.SpI(" ",null!=t&&t.jobseeker_detail?e.bMT(10,10,null==t?null:t.jobseeker_detail.first_name)+" "+e.bMT(11,12,null==t?null:t.jobseeker_detail.last_name):"-"," "),e.R7$(4),e.JRh(null==t||null==t.jobtitle?null:t.jobtitle.job_title),e.R7$(2),e.Y8G("ngIf",!(null!=t&&t.jobseeker_detail)),e.R7$(),e.Y8G("ngIf",null==t?null:t.jobseeker_detail),e.R7$(2),e.Y8G("ngIf",0==(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.finish_interview)),e.R7$(),e.Y8G("ngIf",1==(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.finish_interview)),e.R7$(),e.Y8G("ngIf",!(null!=t&&t.jobseeker_detail))}}function sl(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,al,21,14,"tr",86),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3
1);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.videoInterviewJsData.data,e.sMw(4,Y,t.videoInterviewTotalItems,t.videoInterviewPage,t.videoInterviewTotal)))}}function rl(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",118)(2,"td",119),e.EFF(3,"No Record Found"),e.k0s()()())}function ft(n,a){if(1&n&&(e.j41(0,"table",128)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Sr No."),e.nrm(5,"span",85),e.k0s(),e.j41(6,"th"),e.EFF(7,"Jobseeker Email"),e.nrm(8,"span",85),e.k0s(),e.j41(9,"th"),e.EFF(10,"Jobseeker Name"),e.nrm(11,"span",85),e.k0s(),e.j41(12,"th"),e.EFF(13,"Jobtitle"),e.nrm(14,"span",85),e.k0s(),e.j41(15,"th"),e.EFF(16,"Status"),e.nrm(17,"span",85),e.k0s(),e.j41(18,"th"),e.EFF(19,"Video Interview"),e.nrm(20,"span",85),e.k0s()()(),e.DNE(21,sl,3,8,"tbody",38)(22,rl,4,0,"tbody",38),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("dtOptions",t.dtOptionsVideoInterview),e.R7$(21),e.Y8G("ngIf",0!=(null==t.videoInterviewJsData.data?null:t.videoInterviewJsData.data.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.videoInterviewJsData.data?null:t.videoInterviewJsData.data.length))}}function r(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",136),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.getPage(i,l.activeId))}),e.k0s()}}function c(n,a){if(1&n&&(e.j41(0,"div",83),e.DNE(1,ft,23,3,"table",126)(2,r,1,0,"pagination-controls",127),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.isShowVideoInterviewTable),e.R7$(),e.Y8G("ngIf",(null==t.videoInterviewJsData.data?null:t.videoInterviewJsData.data.length)&&t.videoInterviewTotal>t.videoInterviewTotalItems)}}function d(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",149)(1,"div",150)(2,"ng-select",151),e.bIt("change",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.changeVideoInterviewStatus(i))}),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.videoInterviewStatusId,i)||(l.videoInterviewStatusId=i),e.Njj(i)}),e.bIt("clear",function(){e.eBV(t);const i=e.XpG();return i.videoInterviewStatusId=null,e.Njj(i.getJsVideoInterviewDetail(1))}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("items",t.videoInterviewStatus)("clearable",!0)("searchable",!1),e.R50("ngModel",t.videoInterviewStatusId)}}function m(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",115),e.EFF(2,"Recruiter Details"),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",117)(5,"div",152),e.nrm(6,"img",153),e.k0s(),e.j41(7,"h3",154),e.EFF(8),e.nI1(9,"titlecase"),e.k0s(),e.j41(10,"button",155),e.EFF(11),e.j41(12,"span",156),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.newJobseekerRecData.email))}),e.EFF(13," content_copy "),e.k0s()(),e.j41(14,"p",157),e.EFF(15),e.k0s(),e.j41(16,"div",158)(17,"button",145),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.initiate_chatroom_with_recruiter_activejob(i.newJobseekerRecData))}),e.EFF(18," Chat "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("src",t.newJobseekerRecData.rec_profile,e.B4B),e.R7$(2),e.JRh(e.bMT(9,5,t.newJobseekerRecData.first_name)),e.R7$(3),e.SpI(" ",t.newJobseekerRecData.email," "),e.R7$(4),e.Lme(" ",t.newJobseekerRecData.phone_code," ",t.newJobseekerRecData.phone," ")}}function h(n,a){if(1&n&&(e.j41(0,"h4",163),e.EFF(1," Schedule Interview for "),e.j41(2,"span",169),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.jobTitle)}}function F(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",170)(1,"h6"),e.EFF(2,"Select Team Member:"),e.k0s(),e.j41(3,"ng-select",171),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG(2);return e.DH7(l.selected_client_persons,i)||(l.selected_client_persons=i),e.Njj(i)}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("items",t.client_persons)("searchable",!1)("closeOnSelect",!1)("hideSelected",!0),e.R50("ngModel",t.selected_client_persons),e.Y8G("multiple",!0)}}function G(n,a){if(1&n&&(e.j41(0,"div",172),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.dateTimeError," ")}}function V(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h4",159),e.EFF(2),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",160),e.DNE(5,h,4,1,"h4",161)(6,F,4,6,"div",162),e.j41(7,"div",163)(8,"h6"),e.EFF(9,"Availability Date :"),e.k0s(),e.j41(10,"div",164)(11,"input",165),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateTime,i)||(l.dateTime=i),e.Njj(i)}),e.bIt("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.onDateTimeChange(i))}),e.k0s(),e.nrm(12,"owl-date-time",166,21),e.DNE(14,G,2,1,"div",167),e.k0s()(),e.j41(15,"button",168),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add_js_interview())}),e.EFF(16," Set Interview "),e.k0s()()}if(2&n){const t=e.sdS(13),o=e.XpG();e.R7$(2),e.JRh(o.setModalHead),e.R7$(3),e.Y8G("ngIf",o.jobTitle),e.R7$(),e.Y8G("ngIf","CP"!=o.clientProfileData.user_type),e.R7$(5),e.R50("ngModel",o.dateTime),e.Y8G("min",o.todayDate)("owlDateTime",t)("owlDateTimeTrigger",t),e.R7$(),e.Y8G("stepMinute",30)("hour12Timer",!0),e.R7$(2),e.Y8G("ngIf",o.dateTimeError),e.R7$(),e.Y8G("disabled",o.dateTimeError)}}function q(n,a){1&n&&(e.j41(0,"div",196),e.EFF(1," Rate is required. "),e.k0s())}function ze(n,a){1&n&&(e.j41(0,"div",196),e.EFF(1," Enter numeric value "),e.k0s())}function $t(n,a){if(1&n&&(e.j41(0,"div",194),e.DNE(1,q,2,0,"div",195)(2,ze,2,0,"div",195),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.required),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.pattern)}}function El(n,a){1&n&&(e.j41(0,"div",199)(1,"i",200),e.EFF(2,"warning"),e.k0s(),e.EFF(3," End date must be greater. "),e.k0s())}function Il(n,a){if(1&n&&(e.j41(0,"div",197),e.DNE(1,El,4,0,"div",198),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.hired_start_date.errors.isWrongDate)}}function Tl(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",173)(1,"div",114)(2,"h3",174),e.EFF(3,"Add Rate "),e.k0s(),e.j41(4,"button",175),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(5,"form",176)(6,"div",160)(7,"div",177)(8,"div",178)(9,"div",179),e.nrm(10,"input",180),e.k0s(),e.DNE(11,$t,3,2,"div",181),e.k0s()(),e.j41(12,"div",182)(13,"div",183)(14,"div",184)(15,"div",185)(16,"input",186,22),e.bIt("dateSelect",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onStartDateSelected())}),e.k0s(),e.j41(18,"button",187),e.bIt("click",function(){e.eBV(t);const i=e.sdS(17);return e.Njj(i.toggle())}
1),e.j41(19,"span",188),e.EFF(20," calendar_month "),e.k0s()()()()(),e.j41(21,"div",183)(22,"div",184)(23,"div",185)(24,"input",189,23),e.bIt("dateSelect",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onStartDateSelected())}),e.k0s(),e.j41(26,"button",187),e.bIt("click",function(){e.eBV(t);const i=e.sdS(25);return e.Njj(i.toggle())}),e.j41(27,"span",188),e.EFF(28," calendar_month "),e.k0s()()()()()(),e.DNE(29,Il,2,1,"div",190),e.k0s(),e.j41(30,"div",191)(31,"button",192),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return i.modalClose(),e.Njj(i.js_rate_form.reset())}),e.EFF(32," Cancel "),e.k0s(),e.j41(33,"button",193),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.set_jobseeker_final_rate())}),e.EFF(34," Submit "),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("formGroup",t.js_rate_form),e.R7$(5),e.Y8G("placeholder","Enter Jobseeker Rate ("+t.currencySymbol+")"),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.invalid&&(t.js_rate_form.controls.jobseeker_rate.dirty||t.js_rate_form.controls.jobseeker_rate.touched)),e.R7$(18),e.Y8G("ngIf",t.js_rate_form.controls.hired_start_date.invalid&&(t.js_rate_form.controls.hired_start_date.dirty||t.js_rate_form.controls.hired_start_date.touched)),e.R7$(4),e.Y8G("disabled",t.js_rate_form.invalid)}}function Gl(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",174),e.EFF(2),e.k0s(),e.j41(3,"button",201),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",202)(5,"button",192),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",203),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(4==i.status?i.openRatingModal():i.confirmSelect())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function Ml(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Full-Time (",e.bMT(2,1,e.l_i(3,U,null==t?null:t.from,null==t?null:t.to)),") ")}}function Sl(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Contract (",e.bMT(2,1,e.l_i(3,U,null==t?null:t.from,null==t?null:t.to)),") ")}}function Ol(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Part-Time (",e.bMT(2,1,e.l_i(3,U,null==t?null:t.from,null==t?null:t.to)),") ")}}function $l(n,a){1&n&&(e.j41(0,"li"),e.EFF(1," Remote "),e.k0s())}function Pl(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ml,3,6,"li",38)(2,Sl,3,6,"li",38)(3,Ol,3,6,"li",38)(4,$l,2,0,"li",38),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&1==(null==t?null:t.opt)&&(null==t?null:t.from)&&(null==t?null:t.to)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&5==(null==t?null:t.opt)&&(null==t?null:t.from)&&(null==t?null:t.to)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&2==(null==t?null:t.opt)&&(null==t?null:t.from)&&(null==t?null:t.to)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&3==(null==t?null:t.opt))}}function Nl(n,a){if(1&n&&(e.j41(0,"div",183)(1,"div",211)(2,"span",231),e.EFF(3," work_outline "),e.k0s(),e.j41(4,"ul",232),e.DNE(5,Pl,5,4,"ng-container",86),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(5),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.avaliability_opt_range)}}function Yl(n,a){if(1&n&&(e.j41(0,"span",233),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t," ")}}function Vl(n,a){1&n&&e.nrm(0,"img",248)}function Jl(n,a){1&n&&e.nrm(0,"img",249)}function Xl(n,a){1&n&&e.nrm(0,"img",250)}function Al(n,a){1&n&&e.nrm(0,"img",251)}function Bl(n,a){1&n&&e.nrm(0,"img",252)}function ql(n,a){1&n&&e.nrm(0,"img",253)}function Ll(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",234),e.bIt("click",function(i){const l=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.document_clicked("view_doc",l,i))}),e.j41(1,"div",235),e.DNE(2,Vl,1,0,"img",236)(3,Jl,1,0,"img",237)(4,Xl,1,0,"img",238)(5,Al,1,0,"img",239)(6,Bl,1,0,"img",240)(7,ql,1,0,"img",241),e.k0s(),e.j41(8,"div",242)(9,"div",243)(10,"h6",244),e.EFF(11),e.k0s(),e.j41(12,"p",245),e.EFF(13),e.k0s()(),e.j41(14,"a",246),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(2).downloadFile(l),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(15,"i",247),e.EFF(16,"download"),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(2),e.Y8G("ngIf","svg"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","docx"==(null==t?null:t.extension)||"doc"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","jpg"==(null==t?null:t.extension)||"jpeg"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","pdf"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","png"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","Video url"==(null==t?null:t.display_name)||1==(null==t?null:t.document_type)),e.R7$(4),e.SpI(" ","Video url"===(null==t?null:t.display_name)?"Link":null==t?null:t.display_name," "),e.R7$(2),e.SpI(" ",t.file_size," "),e.R7$(),e.Y8G("href",o.resume_src,e.B4B)}}function Hl(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",218)(1,"h4",219),e.EFF(2,"Submitted Interviews"),e.k0s(),e.j41(3,"div",254)(4,"div",255)(5,"div",256)(6,"span",257),e.EFF(7," video_camera_front "),e.k0s()(),e.j41(8,"div",258)(9,"h6",259),e.EFF(10),e.k0s(),e.j41(11,"div",75)(12,"a",260),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(2);return e.Njj(l.openFullScreen(i))}),e.EFF(13," Full Interview "),e.k0s(),e.j41(14,"a",113),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(2),s=e.sdS(45);return e.Njj(l.openCondencedModal(s,"medium",i))}),e.EFF(15," Condensed Interview "),e.k0s()()()()()()}if(2&n){const t=a.$implicit;e.R7$(10),e.JRh(null==t?null:t.job_title)}}function Ul(n,a){if(1&n&&(e.j41(0,"div",263)(1,"div",264),e.EFF(2),e.k0s(),e.j41(3,"div",265)(4,"h6",266),e.EFF(5),e.nI1(6,"titlecase"),e.k0s(),e.j41(7,"p",267),e.EFF(8),e.nI1(9,"t
1itlecase"),e.k0s()()()),2&n){const t=a.$implicit;e.R7$(2),e.Lme(" ",null==t?null:t.date_from," - ",null==t?null:t.date_to," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,null==t?null:t.school)," "),e.R7$(3),e.SpI(" ",e.bMT(9,6,null==t?null:t.degree)," ")}}function zl(n,a){if(1&n&&(e.j41(0,"div",218)(1,"h4",219),e.EFF(2,"Education"),e.k0s(),e.j41(3,"div",261),e.DNE(4,Ul,10,8,"div",262),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.education)}}function Ql(n,a){if(1&n&&(e.j41(0,"p",270),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.recruiterNotes," ")}}function Wl(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.recruiterNotes.slice(0,400),"... ")}}function Zl(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.recruiterNotes," ")}}function Kl(n,a){if(1&n){const t=e.RV6();e.j41(0,"p",270),e.DNE(1,Wl,2,1,"span",38)(2,Zl,2,1,"span",38),e.j41(3,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.isShowFullText=!i.isShowFullText)}),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.isShowFullText),e.R7$(),e.Y8G("ngIf",t.isShowFullText),e.R7$(2),e.SpI(" ",t.isShowFullText?"View Less":"View More"," ")}}function ea(n,a){if(1&n&&(e.j41(0,"div",268)(1,"h4",219),e.EFF(2,"Recruiter Notes"),e.k0s(),e.DNE(3,Ql,2,1,"p",269)(4,Kl,5,3,"p",269),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.recruiterNotes?null:t.jobseekerData.recruiterNotes.length)<=400),e.R7$(),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.recruiterNotes?null:t.jobseekerData.recruiterNotes.length)>400)}}function ta(n,a){if(1&n&&(e.j41(0,"p",270),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.ai_note," ")}}function na(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.ai_note.slice(0,400),"... ")}}function ia(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.ai_note," ")}}function oa(n,a){if(1&n){const t=e.RV6();e.j41(0,"p",270),e.DNE(1,na,2,1,"span",38)(2,ia,2,1,"span",38),e.j41(3,"a",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.isShowFullText=!i.isShowFullText)}),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.isShowFullText),e.R7$(),e.Y8G("ngIf",t.isShowFullText),e.R7$(2),e.SpI(" ",t.isShowFullText?"View Less":"View More"," ")}}function la(n,a){if(1&n&&(e.j41(0,"div",271)(1,"h4",219),e.EFF(2,"AI Notes"),e.k0s(),e.DNE(3,ta,2,1,"p",269)(4,oa,5,3,"p",269),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.ai_note?null:t.jobseekerData.ai_note.length)<=400),e.R7$(),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.ai_note?null:t.jobseekerData.ai_note.length)>400)}}function aa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",174),e.EFF(2,"Jobseeker Details"),e.k0s(),e.j41(3,"button",201),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",202)(5,"div",204)(6,"div",205)(7,"div",206),e.nrm(8,"img",207),e.k0s(),e.j41(9,"div",208)(10,"h2",209),e.EFF(11),e.nI1(12,"titlecase"),e.nI1(13,"titlecase"),e.k0s(),e.j41(14,"div",210)(15,"div",182)(16,"div",183)(17,"div",211)(18,"span",212),e.EFF(19," place "),e.k0s(),e.EFF(20),e.k0s()(),e.j41(21,"div",183)(22,"div",211)(23,"span",212),e.EFF(24," email "),e.k0s(),e.j41(25,"div",75)(26,"a",213),e.EFF(27),e.k0s(),e.j41(28,"button",214),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(null==i.jobseekerData?null:i.jobseekerData.email))}),e.EFF(29," content_copy "),e.k0s()()()(),e.DNE(30,Nl,6,1,"div",215),e.j41(31,"div",183)(32,"div",211)(33,"span",212),e.EFF(34," call "),e.k0s(),e.j41(35,"a",216),e.EFF(36),e.k0s()()()()()()(),e.j41(37,"div",217)(38,"div",218)(39,"h4",219),e.EFF(40,"About"),e.k0s(),e.j41(41,"p",220),e.EFF(42),e.k0s()(),e.j41(43,"div",218)(44,"h4",219),e.EFF(45,"Key Skills"),e.k0s(),e.j41(46,"div",95),e.DNE(47,Yl,2,1,"span",221),e.k0s()(),e.j41(48,"div",218)(49,"h4",219),e.EFF(50,"Profile Link"),e.k0s(),e.j41(51,"div",95)(52,"div",60)(53,"a",222),e.EFF(54),e.k0s(),e.j41(55,"div",223)(56,"i",224),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.shareJobseekerLink))}),e.EFF(57,"content_copy"),e.k0s()()()()(),e.j41(58,"div",218)(59,"h4",219),e.EFF(60,"Documents"),e.k0s(),e.j41(61,"div",225),e.DNE(62,Ll,17,9,"div",226),e.k0s()(),e.DNE(63,Hl,16,1,"div",227)(64,zl,5,1,"div",228)(65,ea,5,2,"div",229)(66,la,5,2,"div",230),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(8),e.Y8G("src",null!=t.jobseekerData&&t.jobseekerData.profile?null==t.jobseekerData?null:t.jobseekerData.profile:null==t.jobseekerData?null:t.jobseekerData.anonymous_profile,e.B4B),e.R7$(3),e.Lme(" ",e.bMT(12,20,null==t.jobseekerData?null:t.jobseekerData.first_name)," ",e.bMT(13,22,null==t.jobseekerData?null:t.jobseekerData.last_name)," "),e.R7$(9),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.current_location," "),e.R7$(6),e.Mz_("href","mailTo:",null==t.jobseekerData?null:t.jobseekerData.email,"",e.B4B),e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.email," "),e.R7$(3),e.Y8G("ngIf",null!=(null==t.jobseekerData?null:t.jobseekerData.avaliability)&&""!=(null==t.jobseekerData?null:t.jobseekerData.avaliability)&&null!=(null==t.jobseekerData?null:t.jobseekerData.job_availability)&&""!=(null==t.jobseekerData?null:t.jobseekerData.job_availability)&&"null"!=(null==t.jobseekerData?null:t.jobseekerData.job_availability)&&null==(null==t.jobseekerData?null:t.jobseekerData.hired_start_date)&&t.hasMatchingAvailabilityTypeInModal(t.jobseekerData)),e.R7$(5),e.Mz_("href","tel:",(null==t.jobseekerData?null:t.jobseekerData.phone_code)+(null==t.jobseekerData?null:t.jobseekerData.phone),"",e.B4B),e.R7$(),e.JRh((null==t.jobseekerData?null:t.jobseekerData.phone_code)+" "+(null==t.jobseekerData?null:t.jobseekerData.phone)),e.R7$(6),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.overview," "),e.R7$(5),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.skill_name),e.R7$(6),e.FS9("href",t.shareJobseekerLink,e.B4B),e.R7$(),e.JRh(t.shareJobseekerLink),e.R7$(8),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.documents),e.R7$(),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.video_interview),e.R7$(),e.Y8G("ngIf",0!=(null==t.jobseekerData||null==t.jobseekerData.education?null:t.jobseekerData.education.length)),e.R7$(),e.Y8G("ngIf",null!=(null==t.jobseekerData?null:t.jobseekerData.recruiterNotes)&&""!=(null==t.jobseekerData?null:t.jobseekerData.recruiterNotes)),e.R7$(),e.Y8G("ngIf",null!=(null==t.jobseekerData?null:t.jobseekerData.ai_note)&&""!=(null==t.jobseekerData?null:t.jobseekerData.ai_note))}}function sa(n,a){if(1&n&&(e.nrm(0,"iframe",278),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src+"#toolbar=1&navpanes=0&scrollbar=0&view=FitH"),e.f$h)}}function ra(n,a){if(1&n&&e.nrm(0,"img",279),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function ca(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",272),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",273),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",257),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",274)(8,"div",275),e.DNE(9,sa,2,3,"iframe",276)(10,ra,1,1,"img",277),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function _a(n,a){if(1&n&&(e.nrm(0,"iframe",278),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src+"#toolbar=1&navpanes=0&scrollbar=0&view=FitH"),e.f$h)}}function da(n,a){if(1&n&&e.nrm(0,"img",279),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function pa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",272),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",273),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",257),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",274)(8,"div",275),e.DNE(9,_a,2,3,"iframe",276)(10,da,1,1,"img",277),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function ua(n,a){if(1&n&&(e.nrm(0,"iframe",278),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.visa_proof_src+"#toolbar=1&navpanes=0&scrollbar=0&view=FitH"),e.f$h)}}function ma(n,a){if(1&n&&e.nrm(0,"img",279),2&n){const t=e.XpG(2);e.FS9("src",t.visa_proof_src,e.B4B)}}function ga(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",272),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",273),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.visa_proof_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",257),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",274)(8,"div",275),e.DNE(9,ua,2,3,"iframe",276)(10,ma,1,1,"img",277),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.visa_proof_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function ba(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",272),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",273),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",257),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",274),e.nrm(8,"ngx-doc-viewer",280),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(5),e.Y8G("url",t.resume_src)}}function fa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",281),e.EFF(2,"Condensed Interview"),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",282)(5,"div",75)(6,"video",283,24),e.nrm(8,"source",284),e.k0s()()(),e.j41(9,"div",285)(10,"button",286),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openFullScreen(i.prevVideoCheck))}),e.EFF(11," Go To Full Interview "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(8),e.Y8G("src",null==t.prevVideoCheck?null:t.prevVideoCheck.videoCheck,e.B4B)}}function ha(n,a){if(1&n){const t=e.RV6();e.j41(0,"li",303),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=i.$implicit,s=i.index,_=e.XpG().index,p=e.XpG(2);return e.Njj(p.show_video(l.id,l,_,s))}),e.j41(1,"div",304),e.EFF(2),e.k0s(),e.j41(3,"div",305)(4,"div",306),e.EFF(5),e.k0s(),e.j41(6,"div",307),e.EFF(7),e.k0s()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index,l=e.XpG().index,s=e.XpG(2);e.STu("h4 sub-grp inner-panel-",l,"-",i,""),e.AVh("vid-active",s.activeQuestion==(null==o?null:o.id)),e.R7$(2),e.SpI("",i+1,"."),e.R7$(3),e.SpI(" ",null==o?null:o.question_name," "),e.R7$(2),e.SpI(" Answer Length: ",null==o?null:o.video_time," minutes ")}}function va(n,a){if(1&n&&(e.qex(0),e.DNE(1,ha,8,9,"li",302),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",t&&t.id)}}function ka(n,a){if(1&n&&(e.j41(0,"div",300)(1,"div",301)(2,"h2",73)(3,"button",74)(4,"div",75)(5,"span",76),e.EFF(6," keyboard_arrow_down "),e.k0s(),e.j41(7,"div",77)(8,"h6",134),e.EFF(9),e.k0s()()()()(),e.j41(10,"div",79)(11,"div",80)(12,"ul",81),e.DNE(13,va,2,1,"ng-container",86),e.k0s()()()()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(2);e.Mz_("id","panel-",o,""),e.Y8G("closeOthers",!0)("activeIds",i.activeIds),e.R7$(),e.Mz_("id","config-panel-",o,""),e.R7$(8),e.JRh(t.key),e.R7$(4),e.Y8G("ngForOf",t.value)}}function ja(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",174),e.EFF(2,"Full Interview"),e.k0s(),e.j41(3,"button",201),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",160)(5,"section",287)(6,"div",288)(7,"div",289),e.qex(8),e.j41(9,"div",290)(10,"div"),e.DNE(11,ka,14,8,"div",291),e.nI1(12,"keyvalue"),e.k0s()(),e.j41(13,"div",292)(14,"button",293),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(15," Back "),e.k0s(),e.j41(16,"button",286),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=e.sdS(45);return e.Njj(i.checkAlreadyOpenedModal(l))}),e.EFF(17," Go To Condensed Interview "),e.k0s()(),e.bVm(),e.k0s(),e.j41(18,"div",294)(19,"div",295)(20,"a",296),e.nrm(21,"img",297),e.k0s()(),e.j41(22,"video",298,25),e.nrm(24,"source",299),e.k0s()()()()()}if(2&n){const t=e.XpG();e.R7$(11),e.Y8G("ngForOf",e.bMT(12,2,t.allQueData)),e.R7$(13),e.Y8G("src",t.video_path,e.B4B)}}function Ca(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",112),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function ya(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",115),e.EFF(2,"Skills"),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",117)(5,"div",95),e.DNE(6,Ca,3,1,"ng-container",86),e.k0s()()}if(2&n){const t=e.XpG();
1e.R7$(6),e.Y8G("ngForOf",t.jobseekerSkill)}}function wa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",174),e.EFF(2,"Introduction"),e.k0s(),e.j41(3,"button",175),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.k0s()(),e.j41(4,"div",160)(5,"div"),e.nrm(6,"p",308),e.k0s()(),e.j41(7,"div",309)(8,"button",145),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(9,"Close"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("innerHtml",t.jobseekerDesc,e.npT)}}function xa(n,a){if(1&n&&e.nrm(0,"i",318),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function Fa(n,a){if(1&n&&(e.j41(0,"i",316),e.DNE(1,xa,1,2,"i",317),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function Ra(n,a){if(1&n&&(e.j41(0,"span",319)(1,"span",320),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function Da(n,a){if(1&n&&e.nrm(0,"i",318),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function Ea(n,a){if(1&n&&(e.j41(0,"i",316),e.DNE(1,Da,1,2,"i",317),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function Ia(n,a){if(1&n&&(e.j41(0,"span",319)(1,"span",320),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function Ta(n,a){if(1&n&&e.nrm(0,"i",318),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function Ga(n,a){if(1&n&&(e.j41(0,"i",316),e.DNE(1,Ta,1,2,"i",317),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function Ma(n,a){if(1&n&&(e.j41(0,"span",319)(1,"span",320),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function Sa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",174),e.EFF(2,"FeedBack"),e.k0s(),e.j41(3,"button",175),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",160)(5,"ul",310)(6,"li",311)(7,"h5",270),e.EFF(8,"1. What is UX Design?"),e.k0s(),e.DNE(9,Fa,2,1,"ng-template",null,26,e.C5r),e.j41(11,"ngb-rating",312),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate1,i)||(l.currentRate1=i),e.Njj(i)}),e.DNE(12,Ra,3,4,"ng-template"),e.k0s()(),e.j41(13,"li",311)(14,"h5",270),e.EFF(15,"2. How can we use in background erase tool ?"),e.k0s(),e.DNE(16,Ea,2,1,"ng-template",null,26,e.C5r),e.j41(18,"ngb-rating",312),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate2,i)||(l.currentRate2=i),e.Njj(i)}),e.DNE(19,Ia,3,4,"ng-template"),e.k0s()(),e.j41(20,"li",311)(21,"h5"),e.EFF(22,"3. What is Java?"),e.k0s(),e.DNE(23,Ga,2,1,"ng-template",null,26,e.C5r),e.j41(25,"ngb-rating",312),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate3,i)||(l.currentRate3=i),e.Njj(i)}),e.DNE(26,Ma,3,4,"ng-template"),e.k0s()(),e.j41(27,"li",311)(28,"h5"),e.EFF(29,"4. Comments.."),e.k0s(),e.j41(30,"div",313)(31,"textarea",314),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.feedbackNotes,i)||(l.feedbackNotes=i),e.Njj(i)}),e.k0s()()()()(),e.j41(32,"div",309)(33,"button",315),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmSelect())}),e.EFF(34," Submit "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(11),e.Y8G("max",5),e.R50("rate",t.currentRate1),e.Y8G("readonly",!1),e.R7$(7),e.Y8G("max",5),e.R50("rate",t.currentRate2),e.Y8G("readonly",!1),e.R7$(7),e.Y8G("max",5),e.R50("rate",t.currentRate3),e.Y8G("readonly",!1),e.R7$(6),e.R50("ngModel",t.feedbackNotes),e.R7$(2),e.Y8G("disabled",""==t.feedbackNotes.trim()||0==t.currentRate1||0==t.currentRate2||0==t.currentRate3)}}function Oa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",114)(1,"h3",115),e.EFF(2,"Recruiter Details"),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",117)(5,"div",152),e.nrm(6,"img",153),e.k0s(),e.j41(7,"h3",154),e.EFF(8),e.nI1(9,"titlecase"),e.k0s(),e.j41(10,"button",155),e.EFF(11),e.j41(12,"span",156),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.newJobseekerRecData.rec_email))}),e.EFF(13," content_copy "),e.k0s()(),e.j41(14,"p",157),e.EFF(15),e.k0s(),e.j41(16,"div",158)(17,"button",145),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.initiate_chatroom_with_recruiter(i.newJobseekerRecData))}),e.EFF(18," Chat "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("src",t.newJobseekerRecData.rec_profile,e.B4B),e.R7$(2),e.JRh(e.bMT(9,5,t.newJobseekerRecData.rec_name)),e.R7$(3),e.SpI(" ",t.newJobseekerRecData.rec_email," "),e.R7$(4),e.Lme(" ",t.newJobseekerRecData.rec_phone_code," ",t.newJobseekerRecData.rec_phone," ")}}function $a(n,a){if(1&n&&(e.j41(0,"p",326),e.EFF(1," Reason provided by "),e.j41(2,"span",327),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.selectedName)}}function Pa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",321)(1,"h5",174),e.EFF(2,"Message"),e.k0s(),e.j41(3,"button",322),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(4," \xd7 "),e.k0s()(),e.j41(5,"div",323)(6,"div",324),e.DNE(7,$a,4,1,"p",325),e.j41(8,"p",326),e.EFF(9),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(7),e.Y8G("ngIf",t.selectedName),e.R7$(2),e.SpI(" ",t.selectedReason," ")}}let Na=(()=>{class n{modalService;clientService;location;globals;router;errorHandler;chatService;changeDetector;GlobalServiceService;NotificationService;fb;activeRoute;common;authService;toastr;http;navigationService;currencyService;countryLocalizeService;groupDataSubscription=null;dtOptions={};dtOptionsSubmitted={};dtOptionsShortlisted={};dtOptionsScheduled={};dtOptionsHired={};dtOptionsNotSelected={};dtOptionsUpcomingInterviews={};dtOptionsHiredFulltime={};dtOptionsHiredContract={};dtOptionsVideoInterview={};dashSelectedContent=1;hiredSelectContent=61;activeJobApplicantTab=11;activeId=0;jobDetail;activeJobIndex;activeIds=[];country;activeJobs=[];deactiveJobs=[];js_rate_form;newJobseekerList=[];newJobseekerRecData;newJobseekerCounter;newJobseekerPage;newJobseekerTotalItems=10;newJobseekerTotal;upcomingInterviewsList=[];upcomingInterviewCounter;upcomingInterviewsPage;upcomingInterviewsTotalItems=10;upcomingInterviewsTotal;hiredCandidateFulltimeList=[];hiredCandidatesCounter;hiredCandidateFulltimePage;hiredCandidateFulltimeTotalItems=10;hiredcandidateTotal;hiredCandidateContractList=[];hiredCandidateContractPage;hiredCandidateContractTotalItems=10;hiredCandidateContractCounter;hiredCandidateFulltimeCounter;submittedActiveJobs=[];shortlistedActiveJobs=[];hiredActiveJobs=[];notSelectedActiveJobs=[];scheduledActiveJobs=[];selectedCalculation=[];singleJsDetail;clientProfileData;activeJobId;activeStatus=5;activejobStatus=5;jobTitle;client_persons=[];selected_client_persons=[];jobseekerSkill=[];videoInterviewJsData=[];videoInterviewPage=1;videoInterviewCounter;videoInterviewTotalItems=15;videoInterviewTotal;videoInterviewStatusId;jobseekerDesc="";setModalHead="";today;jobseekerId;jobseeker_detail;applyId;status;closeResult="";docExtension;resume_src;document_type_array=["doc","docx","pdf"];visa_proof_src="";dateFormat="";timeFormat1="";timeFormat2="";searchText;statusInText;candidateForm;statusData="";allQueData={};video_path="";activeQuestion;notSelectedCount=0;submittedCount=0;scheduledCount=0;shortlistedCount=0;hiredCount=0;isShowJobs=!1;jobTableActive=!1;isShowVideoInterviewTable=!1;jobAllData;jobseekerData;checkPreviousJobFlag=!1;prevVideoCheck;modalReference;showModalData=!1;isShowFullText=!1;panelId="open-Acc-1";currentRate1=0;currentRate2=0;currentRate3=0;fill=0;feedbackNotes="";dateTime;todayDate=new Date;dateTimeError=null;shareJobseekerLink;selectedMessage="";selectedName="";selectedReason="";selectedReasonType="";videoElement;videoElementFullInterview;
1skillModal;dtElement;RecruiterDetailsModal;ngSelectComponent;cofirmationModal;resume_show;visa_proof_show;showDocsModal;fullInterviewModal;vidPreviewModal;ratingModal;submittedData=[{id:1,name:"Shortlisted"},{id:4,name:"Not Selected"}];shortlistedData=[{id:2,name:"Scheduled"},{id:4,name:"Not Selected"}];scheduledData=[{id:3,name:"Hired"},{id:4,name:"Not Selected"},{id:2,name:"Re-Scheduled"}];hiredData=[{id:3,name:"Hired"}];videoInterviewStatus=[{id:1,name:"Registered"},{id:2,name:"Not Registered"},{id:3,name:"Complete Video interview"},{id:4,name:"Incomplete Video interview"}];constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T,P,A,W,he){this.modalService=t,this.clientService=o,this.location=i,this.globals=l,this.router=s,this.errorHandler=_,this.chatService=p,this.changeDetector=u,this.GlobalServiceService=b,this.NotificationService=f,this.fb=C,this.activeRoute=w,this.common=I,this.authService=X,this.toastr=T,this.http=P,this.navigationService=A,this.currencyService=W,this.countryLocalizeService=he,this.country=this.countryLocalizeService.getCountryCode(),this.js_rate_form=this.fb.group({jobseeker_rate:["",[g.k0.required,g.k0.pattern(/^-?(0|[1-9]\d*)?$/)]],jobseeker_id:["",g.k0.required],hired_start_date:["",g.k0.required],hired_end_date:["",g.k0.required]}),this.candidateForm=this.fb.group({submitted:[""],scheduled:[""],shortlisted:[""]}),this.candidateForm.controls.submitted.setValue({id:null,name:"Submitted"}),this.candidateForm.controls.scheduled.setValue({id:null,name:"Scheduled"}),this.candidateForm.controls.shortlisted.setValue({id:null,name:"Shortlisted"})}ngOnInit(){this.clientProfileData=JSON.parse(localStorage.getItem("CR_PREF")),this.todayDate=this.roundToNextInterval(new Date,30),this.common.isDeletedUser().subscribe(o=>{1==o.ResponseCode&&(this.toastr.info(o.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))}),this.dtOptions={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"}},this.dtOptionsSubmitted={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsShortlisted={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsScheduled={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsHired={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsNotSelected={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsUpcomingInterviews={info:!1,searching:!1,paging:!1,order:[[6,"asc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Job Title"},{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Rate"},{title:"Interview Date"},{title:"Recruiter"}],columnDefs:[{targets:6,type:"date"}]},this.dtOptionsHiredFulltime={info:!1,searching:!1,paging:!1,order:[[6,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Job Title"},{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Hired Rate"},{title:"Hired Date"},{title:"Recruiter"},{title:"Onboarding Status"},{title:"",orderable:!1}],columnDefs:[{targets:6,type:"date"}]},this.dtOptionsHiredContract={info:!1,searching:!1,paging:!1,order:[[6,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Job Title"},{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Hired Rate"},{title:"Hired Date"},{title:"Recruiter"},{title:"Onboarding Status"},{title:"",orderable:!1}],columnDefs:[{targets:6,type:"date"}]},this.dtOptionsVideoInterview={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Sr No."},{title:"Jobseeker Email"},{title:"Jobseeker Name"},{title:"Jobtitle"},{title:"Status"},{title:"Video Interview"}]},this.globals.loading=!0,(0,Xe.p)([this.newJobseeker(1),this.upcomingInterviews(1),this.getAllJobList(),this.get_client_person(),this.getJsVideoInterviewDetail(1),this.getDashboardCounter()]).subscribe({next:()=>{this.globals.loading=!1},error:o=>{this.globals.loading=!1,this.errorHandler.handleError(o)}});let t=Number(this.activeRoute.snapshot.queryParamMap.get("activeId"));0!=t?(this.getActiveId(1,t),this.dashSelectedContent=t+1):this.dashSelectedContent=1}roundToNextInterval(t,o){const i=new Date(t),l=60*o*1e3;return i.setTime(Math.ceil(i.getTime()/l)*l),i}get currencySymbol(){return this.currencyService.getCurrencySymbol()}getClientCommissionPercent(){const t=Number(this.globals?.cloudrek_commission);return Number.isFinite(t)?t:0}formatTooltipCurrency(t){return`${this.currencySymbol}${new Intl.NumberFormat("en-US",{minimumFractionDigits:0,maximumFractionDigits:2}).format(t)}`}getRateTooltipDetails(t,o){const i=Number(t);if(!Number.isFinite(i))return null;const l=o?Number(o):this.getClientCommissionPercent(),s=i*l/100,_=i+s;return{commission:l,jobseekerRate:this.formatTooltipCurrency(i),cloudrekFee:this.formatTooltipCurrency(s),totalRate:this.formatTooltipCurrency(_)}}getRateTooltip(t,o){const i=this.getRateTooltipDetails(t,o);if(!i)return"";const s={jobseeker:"Jobseeker Rate:",cloudrek:`CloudRek Fee (${i.commission}%):`,total:"Total Rate:"},_=Math.max(...Object.values(s).map(p=>p.length))+1;return[`${s.jobseeker.padEnd(_)}${i.jobseekerRate}`,`${s.cloudrek.padEnd(_)}${i.cloudrekFee}`,"",`${s.total.padEnd(_)}${i.totalRate}`].join("\n")}compareWithStatus(t,o){return null!=t&&null!=o&&t.id===o.id}activeJobsClick(){this.navigationService.navigate(["client","dashboard"],this.activeRoute)}openCondencedModal(t,o,i){var l=this;return(0,j.A)(function*(){l.modalService.dismissAll(),l.prevVideoCheck=i,yield l.modalService.open(t,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"})})()}open(t,o){this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`})}openFullScreen(t){var o=this;return(0,j.A)(function*(){o.modalService.dismissAll(),o.prevVideoCheck=t;let i={jobseeker_id:o.jobseekerId,skill_id:t.skill_id,job_id:t.job_id};o.globals.loading=!0,yield o.clientService.getAllVideoDetails(i).subscribe(function(){var l=(0,j.A)(function*(s){o.globals.loading=!1;const _=s.ResponseData||{};o.allQueData=Object.keys(_).reduce((b,f)=>{const C=Array.isArray(_[f])?_[f]:[];return b[f]=C.filter(w=>w&&null!=w.id),b},{});let p=Object.keys(o.allQueData)[0];const u=o.allQueData[p];u&&u.length&&(o.video_path=u[0].video,o.activeQuestion=u[0].id),o.modalReference=o.modalService.open(o.fullInterviewModal,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"}),o.activeIds=["config-panel-0"],setTimeout(()=>{$(".inner-panel-0-0").addClass("vid-active")},500)});return function(s){return l.apply(this,arguments)}}())})()}openModal(t,o){this.jobseekerSkill=t,this.modalService.open(o,{centered:!0,windowClass:"cr-custom-modal modal-small"})}openDescModal(t,o){this.jobseekerDesc=t,this.modalService.open(o,{centered:!0,windowClass:"cr-custom-modal modal-small"})}checkAlreadyOpenedModal(t){this.modalService.dismissAll(),this.modalReference=this.modalService.open(this.vidPreviewModal,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"})}show_video(t,o,i,l){this.modalService.dismissAll(),this.modalService.open(this.fullInterviewModal,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"}),this.video_path=o?.video,this.activeIds=["config-panel-"+i],$(".sub-grp").removeClass("vid-active"),setTimeout(()=>{$(`.inner-panel-${i}-${l}`).addClass("vid-active")},500)}openJobseekerDetailsModal(t,o,i){var l=this;this.isShowFullText=!1;let s={jobseeker_id:o,job_id:i};this.jobseekerId=o,this.globals.loading=!0,this.clientService.get_candidate_profile(s).subscribe(function(){var _=(0,j.A)(function*(p){l.globals.loading=!1,l.jobseekerData=p.ResponseData,yield p.ResponseData.jobpost_apply.forEac
1h(u=>{u.job_id==l.activeJobId&&(l.jobseekerData.recruiterNotes=u.recruiter_notes)}),l.shareJobseekerLink=l.navigationService.redirectUrl()+"/shared/"+l.jobseekerData.unique_user_name,l.modalService.open(t,{centered:!0,scrollable:!0,windowClass:"cr-custom-modal modal-large"})});return function(p){return _.apply(this,arguments)}}())}getPage(t,o,i){this.globals.loading=!0,1==o?(this.newJobseekerPage=t,this.newJobseeker(this.newJobseekerPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):2==o?(this.upcomingInterviewsPage=t,this.upcomingInterviews(this.upcomingInterviewsPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):3==o?1==i?(this.hiredCandidateFulltimePage=t,this.hiredCandidate(this.hiredCandidateFulltimePage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):0==i&&(this.hiredCandidateContractPage=t,this.hiredCandidate(this.hiredCandidateContractPage,"contract").subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):4==o&&(this.videoInterviewPage=t,this.getJsVideoInterviewDetail(this.videoInterviewPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1}))}setDate(t,o){o.toLocaleString("en-us",{weekday:"long"});let l=R()(o).format("YYYY-MM-DD"),s=R()(o).format("hh:mm A"),_=R()(o).format("hh:mm A");this.dateFormat=l,this.timeFormat1=s,this.timeFormat2=_}newJobseeker(t){return this.clientService.getDashboardJobCandidates({page:t=t||1}).pipe((0,H.M)(i=>{this.newJobseekerCounter=i.ResponseData.jobpost_apply.total,1==i.ResponseCode&&(this.newJobseekerList=i.ResponseData.jobpost_apply.data,this.newJobseekerPage=i.ResponseData.jobpost_apply.current_page,this.newJobseekerTotalItems=i.ResponseData.jobpost_apply.per_page,this.newJobseekerTotal=i.ResponseData.jobpost_apply.total)},i=>{this.errorHandler.handleError(i)}))}showRecruiterDetail(t){this.newJobseekerRecData=t}contentLoaded(){document.getElementById("progressBar").style.display="none"}copyMessage(t){const o=document.createElement("textarea");o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.opacity="0",o.value=t,document.body.appendChild(o),o.focus(),o.select(),document.execCommand("copy"),document.body.removeChild(o),this.toastr.success(t+" copy to clipboard")}upcomingInterviews(t){let o={page:t};return"in"!==this.country&&(o.is_offshore=0),this.clientService.getDashboardUpcomingInterviews(o).pipe((0,H.M)(i=>{1==i.ResponseCode?(this.upcomingInterviewsList=i.ResponseData.upcoming_interviews.data,this.upcomingInterviewsPage=i.ResponseData.upcoming_interviews.current_page,this.upcomingInterviewsTotalItems=i.ResponseData.upcoming_interviews.per_page,this.upcomingInterviewsTotal=i.ResponseData.upcoming_interviews.total):this.toastr.error(i.ResponseText)},i=>{this.errorHandler.handleError(i)}))}hiredCandidate(t,o){let i={page:t};return"in"!==this.country&&(i.is_offshore=0),i.type=null==o?"full_time":"contract",this.clientService.getDashboardHiredCandidate(i).pipe((0,H.M)(l=>{if(1==l.ResponseCode){let s=l.ResponseData.hired_candidate.data;"full_time"===i.type?(this.hiredCandidateFulltimeCounter=l.ResponseData.hired_candidate.total,this.hiredCandidateFulltimeList=s,this.hiredCandidateFulltimePage=l.ResponseData.hired_candidate.current_page,this.hiredCandidateFulltimeTotalItems=l.ResponseData.hired_candidate.per_page):(this.hiredCandidateContractCounter=l.ResponseData.hired_candidate.total,this.hiredCandidateContractList=s,this.hiredCandidateContractPage=l.ResponseData.hired_candidate.current_page,this.hiredCandidateContractTotalItems=l.ResponseData.hired_candidate.per_page)}else this.toastr.error(l.ResponseText)},l=>{this.errorHandler.handleError(l)}))}getActiveId(t,o){let i={activeId:o,page:t};this.activeId=o;const l={};
1Object.keys(i).forEach(s=>{l[s]=i[s]}),this.navigationService.navigate("/client/dashboard",this.activeRoute,{queryParams:l}),1==o&&(this.globals.loading=!0,this.newJobseeker(this.newJobseekerPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})),2==o&&(this.globals.loading=!0,this.upcomingInterviews(this.upcomingInterviewsPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})),3==o&&(this.globals.loading=!0,(0,Xe.p)([this.hiredCandidate(this.hiredCandidateFulltimePage),this.hiredCandidate(this.hiredCandidateContractPage,"contract")]).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})),4==o&&(this.globals.loading=!0,this.getJsVideoInterviewDetail(this.videoInterviewPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1}))}encode_base64(t){return btoa(t)}initiate_chatroom(t,o,i){var l=this;return(0,j.A)(function*(s,_,p,u=0,b=null,f=0){let C=JSON.parse(localStorage.getItem("CR_PREF")),w={jobseeker_user_id:s,job_id:_,friendly_name:p,js_anonymous:u,initiated_by:C.user_id};0!=f&&(w.external_recruiter_user_id=f),1==w.js_anonymous&&(w.js_anonymous_name=b),"CP"==C.user_type||"cp"==C.user_type?(w.client_person_user_id=C.user_id,w.client_user_id=C.company_user_id):w.client_user_id=C.user_id,yield l.chatService.initiate_chat(w),l.groupDataSubscription&&(l.groupDataSubscription.unsubscribe(),l.groupDataSubscription=null),l.groupDataSubscription=l.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(I=>{setTimeout(()=>{l.navigationService.navigate("/client/messages",l.activeRoute,{queryParams:{unique_id:btoa(I.unique_id)}}),l.modalService.dismissAll()},1e3)},I=>{l.globals.loading=!1,l.errorHandler.handleError(I)})}).apply(this,arguments)}getAllJobList(){return this.clientService.getAllJobList({is_offshore:0}).pipe((0,H.M)(o=>{this.activeJobs=o.ResponseData.active_jobs,this.deactiveJobs=o.ResponseData.deactive_jobs,this.activeJobId=o.ResponseData.active_jobs[0]?.job_id,this.jobAllData=o.ResponseData.active_jobs[0],$(".active-job-0").addClass("active-job"),this.activeJobIndex=0,this.isShowJobs=!0,this.setCandidateCount(o.ResponseData.active_jobs[0]?.job_id),console.log(this.deactiveJobs,"this.deactiveJobs")},o=>{this.errorHandler.handleError(o)}))}setCandidateCount(t){var o=this;return(0,j.A)(function*(){let i={job_id:t};yield o.clientService.setCandidateCount(i).subscribe(function(){var l=(0,j.A)(function*(s){o.notSelectedCount=s.ResponseData.RejectedCount,o.hiredCount=s.ResponseData.hiredCount,o.submittedCount=s.ResponseData.client_submit_Count,o.scheduledCount=s.ResponseData.scheduledCount,o.shortlistedCount=s.ResponseData.shortlistCount,o.activeJobs[o.activeJobIndex].status_count=s.ResponseData.status_count,0==s.ResponseData.client_submit_Count?(o.activeJobApplicantTab=22,yield o.allShortlistedCandidatesList(t,1),0==s.ResponseData.shortlistCount&&(o.activeJobApplicantTab=33,yield o.allScheduledCandidatesList(t,2),0==s.ResponseData.scheduledCount&&(o.activeJobApplicantTab=44,yield o.allHiredCandidatesList(t,3),0==s.ResponseData.hiredCount&&(o.activeJobApplicantTab=55,yield o.allNotselectedCandidatesList(t,4),0==s.ResponseData.RejectedCount&&(o.activeJobApplicantTab=11))))):(o.activeJobApplicantTab=11,yield o.allSubmittedCandidatesList(t,5))});return function(s){return l.apply(this,arguments)}}())})()}allSubmittedCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.submittedActiveJobs.push(u)}),i.submittedActiveJobs=i.submittedActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}allShortlistedCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.shortlistedActiveJobs.push(u)}),i.shortlistedActiveJobs=i.shortlistedActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}allScheduledCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.scheduledActiveJobs.push(u)}),i.scheduledActiveJobs=i.scheduledActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}allHiredCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.hiredActiveJobs.push(u)}),i.hiredActiveJobs=i.hiredActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}())})()}allNotselectedCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.notSelectedActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.notSelectedActiveJobs.push(u)}),i.notSelectedActiveJobs=i.notSelectedActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}tabChanged(t,o){var i=this;return(0,j.A)(function*(){i.activeStatus=o,11==t&&5==o?(yield i.allSubmittedCandidatesList(i.activeJobId,5),i.activejobStatus=o):22==t&&1==o?(yield i.allShortlistedCandidatesList(i.activeJobId,1
1),i.activejobStatus=o):33==t&&2==o?(yield i.allScheduledCandidatesList(i.activeJobId,2),i.activejobStatus=o):44==t&&3==o?(yield i.allHiredCandidatesList(i.activeJobId,3),i.activejobStatus=o):55==t&&4==o&&(yield i.allNotselectedCandidatesList(i.activeJobId,4),i.activejobStatus=o)})()}joblistChanged(t,o,i,l,s){var _=this;return(0,j.A)(function*(p,u,b,f,C,w=null){console.log(p,u,b,f,C,w),_.jobTitle=C,_.activeJobIndex=f,_.jobAllData=p,_.globals.loading=!0,yield _.setCandidateCount(u),"isDeactive"==w?($(".job-item").removeClass("active-job"),$(`.deactive-job-${f}`).addClass("active-job")):($(".job-item").removeClass("active-job"),$(`.active-job-${f}`).addClass("active-job"))}).apply(this,arguments)}show_recruiter_detail(t,o){this.singleJsDetail=t,this.modalService.open(o)}fetchNews(t){console.log(t)}changeStatus(t,o,i,l,s,_,p){if(this.applyId=i,this.jobseeker_detail=o,this.status=t.id,this.setModalHead="Re-Scheduled"==t.name?"Re-Scheduled Interview":"Scheduled Interview",3==t.id){let u=l;this.js_rate_form.get("jobseeker_id").setValue(u),this.modalService.open(p,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-large"})}else if(2==t.id){let u={backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"};this.dateTimeError=null,this.onDateTimeChange(),this.modalService.open(_,u)}else this.fetchJsdata(t.id,o,i)}fetchJsdata(t,o,i){let l="";1==t&&(l="shortlist",this.statusInText="shortlist"),3==t&&(l="Hire",this.statusInText="hire"),4==t&&(l="reject",this.statusInText="reject"),this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})}confirmSelect(){var t=this;let o=this.timeFormat1.split(" "),i="";if("PM"==o[1]){let l=o[0].split(":");i=Number(l[0])+12+":"+l[1]}else{let l=o[0].split(":");i=Number(l[0])+":"+l[1]}if(2==this.status){const l={jobseeker_id:this.jobseeker_detail.jobseeker_id,job_id:this.jobseeker_detail.job_id,client_persons:this.selected_client_persons,interview_date:this.dateFormat,interview_from:i,interview_to:i,applied_id:this.jobseeker_detail.APPLY_ID};this.globals.loading=!0,this.clientService.set_interview_schedule(l).subscribe(function(){var s=(0,j.A)(function*(_){if(t.setCandidateCount(t.jobAllData.job_id),t.getDashboardCounter().subscribe(),t.globals.loading=!1,t.tabChanged(22,1),1==_.ResponseCode){t.toastr.success(_.ResponseText),t.modalClose(),t.upcomingInterviews(1).subscribe();let u={type:"scheduled",notification:{notification_type:"edit_jobpost",jobseeker_id:_.ResponseData.jobseeker_id,jobseeker_name:_.ResponseData.jobseeker_name,client_name:_.ResponseData.company_name,job_id:_.ResponseData.job_id,slug:_.ResponseData.slug,sender_type:_.ResponseData.user_type,client_id:_.ResponseData.client_id,client_user_id:_.ResponseData.client_user_id,cp_id:_.ResponseData.cp_id,cp_user_id:_.ResponseData.cp_user_id,job_title:_.ResponseData.job_title,company_name:_.ResponseData.company_name,company_url:_.ResponseData.company_url,status_in_text:_.ResponseData.status_in_text,scheduled_on:R()(t.dateFormat).format("MMM DD, YYYY"),datetime:_.ResponseData.datetime.date,country:t.country,is_offshore:!1}};t.NotificationService.sendNotification(u),u.type="scheduled_jobseeker",t.NotificationService.sendNotification(u),t.modalService.dismissAll()}else t.toastr.error(_.ResponseText)});return function(_){return s.apply(this,arguments)}}(),s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}else{let l=this.jobseeker_detail,s={status:this.status,apply_id:this.applyId};if(4==this.status){let _=JSON.parse(localStorage.getItem("CR_PREF")),p={};p.question_note=this.feedbackNotes,p.client_id=_.client_id,p.job_id=this.jobseeker_detail.job_id,p.jobseeker_id=this.jobseeker_detail.jobseeker_id,p.question_rate=String(this.currentRate1)+","+String(this.currentRate2)+","+String(this.currentRate3),s.feedback_details=p}this.globals.loading=!0,this.clientService.change_candidate_status(s).subscribe(function(){var _=(0,j.A)(function*(p){if(t.setCandidateCount(t.jobAllData.job_id),t.getDashboardCounter().subscribe(),t.globals.loading=!1,1==t.status?yield t.tabChanged(11,5):3==t.status?yield t.tabChanged(33,2):4==t.status&&(yield t.tabChanged(11,5),yield t.tabChanged(22,1)),1==p.ResponseCode){t.toastr.success(p.ResponseText),t.modalClose();let u=null;
11==t.status?(u={type:"shortlisted",notification:{datetime:p.ResponseData.datetime.date,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,jobseeker_id:l.jobseeker_id,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,apply_id:l.APPLY_ID,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:t.country,is_offshore:!1}},t.NotificationService.sendNotification(u)):3==t.status?(u={type:"hired",notification:{sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,jobseeker_id:l.jobseeker_id,schduled_id:l.SCHEDULE_ID,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:t.country,is_offshore:!1}},t.NotificationService.sendNotification(u)):4==t.status&&(u={type:"rejected",notification:{sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,jobseeker_id:l.jobseeker_id,schduled_id:l.SCHEDULE_ID,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:t.country,is_offshore:!1}},t.NotificationService.sendNotification(u))}else t.toastr.error(p.ResponseText);t.changeDetector.detectChanges(),t.GlobalServiceService.responsiveTable()});return function(p){return _.apply(this,arguments)}}(),_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}}get_client_person(){return this.clientService.get_client_person().pipe((0,H.M)(t=>{1==t.ResponseCode&&0!=t.ResponseData.length&&t.ResponseData.forEach(o=>{this.client_persons.push({id:o.id,name:o.name})})},t=>{this.errorHandler.handleError(t)}))}onDateTimeChange(t){this.dateTimeError=null;const o=void 0!==t?t:this.dateTime;if(null==o)return;const i=new Date("object"==typeof o&&o instanceof Date&&o.getTime?o.getTime():new Date(o).getTime());if(isNaN(i.getTime()))return;const l=this.roundToNextInterval(i,30);this.dateTime=l,l.getTime()<this.todayDate.getTime()&&(this.dateTimeError="Please select a date and time in the future."),this.changeDetector.detectChanges()}add_js_interview(){this.dateTimeError||(null!=this.dateTime?(this.dateFormat=R()(this.dateTime).format("YYYY-MM-DD"),this.timeFormat1=R()(this.dateTime).format("HH:mm"),this.timeFormat2=R()(this.dateTime).format("HH:mm")):(this.timeFormat1="",this.timeFormat2="",this.dateFormat=""),""==this.timeFormat1&&""==this.timeFormat2&&""==this.dateFormat?this.toastr.error("Please, Select interview Datetime"):(this.statusInText="schedule interview",this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})))}set_jobseeker_final_rate(){let t=2!=String(this.js_rate_form.value.hired_start_date.month).length?"0"+this.js_rate_form.value.hired_start_date.month:this.js_rate_form.value.hired_start_date.month,o=2!=String(this.js_rate_form.value.hired_start_date.day).length?"0"+this.js_rate_form.value.hired_start_date.day:this.js_rate_form.value.hired_start_date.day,i=2!=String(this.js_rate_form.value.hired_end_date.month).length?"0"+this.js_rate_form.value.hired_end_date.month:this.js_rate_form.value.hired_end_date.month,l=2!=String(this.js_rate_form.value.hired_end_date.day).length?"0"+this.js_rate_form.value.hired_end_date.day:this.js_rate_form.value.hired_end_date.day,s={jobseeker_id:this.js_rate_form.get("jobseeker_id").value,jobseeker_rate:this.js_rate_form.get("jobseeker_rate").value,hired_start_date:this.js_rate_form.value.hired_start_date.year+"-"+t+"-"+
1o,hired_end_date:this.js_rate_form.value.hired_end_date.year+"-"+i+"-"+l};this.globals.loading=!0,this.clientService.set_jobseeker_final_rate(s).subscribe(_=>{this.globals.loading=!1,1==_.ResponseCode?(this.modalService.dismissAll(),this.fetchJsdata(3,this.jobseeker_detail,this.applyId)):this.toastr.error(_.ResponseText)},_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}onStartDateSelected(){const t=this.js_rate_form.value.hired_start_date,o=this.js_rate_form.value.hired_end_date;if(!t||!o)return;const i=t.year>o.year||t.year===o.year&&t.month>o.month||t.year===o.year&&t.month===o.month&&t.day>=o.day;this.js_rate_form.get("hired_start_date").setErrors(i?{isWrongDate:!0}:null)}selectedSearchItem(t){var o=this;return(0,j.A)(function*(){let i={search:t.target.value};if(1==o.dashSelectedContent){if(11==o.activeJobApplicantTab&&5==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.submittedActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.submittedActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(22==o.activeJobApplicantTab&&1==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.shortlistedActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.shortlistedActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(33==o.activeJobApplicantTab&&2==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.scheduledActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.scheduledActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(44==o.activeJobApplicantTab&&3==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.hiredActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.hiredActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(55==o.activeJobApplicantTab&&4==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.notSelectedActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.notSelectedActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}}1==o.activeId&&(yield o.clientService.getDashboardJobCandidates(i).subscribe(l=>{o.newJobseekerList=l.ResponseData.jobpost_apply.data})),2==o.activeId&&("in"!==o.country&&(i.is_offshore=0),yield o.clientService.getDashboardUpcomingInterviews(i).subscribe(l=>{o.upcomingInterviewsList=l.ResponseData.upcoming_interviews.data})),3==o.activeId&&("in"!==o.country&&(i.is_offshore=0),yield o.clientService.getDashboardHiredCandidate(i).subscribe(l=>{o.hiredCandidateFulltimeList=l.ResponseData.hired_candidate.data}))})()}initiate_chatroom_with_recruiter_activejob(t){let i=JSON.parse(localStorage.getItem("CR_PREF")).user_id;this.chatService.initiate_chat({recruiter_user_id:t.user_id,client_user_id:i,initiated_by:i}),this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null),this.groupDataSubscription=this.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(s=>{setTimeout(()=>{this.navigationService.navigate("/client/messages",this.activeRoute,{queryParams:{unique_id:btoa(s.unique_id)}}),this.modalService.dismissAll()},1e3)},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}initiate_chatroom_with_recruiter(t){let i=JSON.parse(localStorage.getItem("CR_PREF")).user_id;this.chatService.initiate_chat({recruiter_user_id:t.rec_user_id,client_user_id:i,initiated_by:i}),this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null),this.groupDataSubscription=this.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(s=>{setTimeout(()=>{this.navigationService.navigate("/client/messages",this.activeRoute,{queryParams:{unique_id:btoa(s.unique_id)}}),this.modalService.dismissAll()},1e3)},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}modalClose(){this.candidateForm.reset({submitted:{id:null,name:"Submitted"},scheduled:{id:null,name:"Scheduled"},shortlisted:{id:null,name:"Shortlisted"}}),this.modalService.dismissAll(),this.dateTimeError=null,this.dateTime=null,this.selected_client_persons=[],this.js_rate_form.reset()}document_clicked(t,o,i){"view_doc"==t&&(1==o.document_type?window.open(o.document_url,"_blank").focus():"docx"==o.extension||"doc"==o.extension?(this.resume_src=o.document_url,this.modalService.open(this.showDocsModal,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"})):-1!=this.document_type_array.indexOf(o.extension)?(this.modalService.open(this.resume_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.document_url):(this.visa_proof_src=o.document_url,this.modalService.open(this.visa_proof_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.document_url))}download(t){const o=t.split("/").pop()||"resume.pdf";this.http.get(t,{responseType:"blob"}).subscribe({next:i=>{const l=window.URL.createObjectURL(i),s=document.createElement("a");s.href=l,s.download=o,document.body.appendChild(s),s.click(),s.remove(),window.URL.revokeObjectURL(l)},error:i=>{console.error("Download failed:",i)}})}downloadFile(t){"video url"!==t.display_name?.toLowerCase()&&"url"!==t.extension?this.http.get(t.document_url,{responseType:"blob"}).subscribe(o=>{const i=window.URL.createObjectURL(o),l=document.createElement("a");l.href=i,l.download=t.display_name||"download",l.click(),window.URL.revokeObjectURL(i)}):window.open(t.document_url,"_blank")}openRatingModal(){this.feedbackNotes="",this.currentRate1=0,this.currentRate2=0,this.currentRate3=0,this.modalService.open(this.ratingModal,{centered:!0,windowClass:"cr-custom-modal modal-medium"})}getJsVideoInterviewDetail(t){this.isShowVideoInterviewTable=!1,this.videoInterviewJsData=[];let o={page:t};return null!=this.videoInterviewStatusId&&(o.status=this.videoInterviewStatusId),this.clientService.getJsVideoInterviewDetail(o).pipe((0,H.M)(i=>{1==i.ResponseCode&&(this.videoInterviewJsData=i.ResponseData,this.videoInterviewPage=i.ResponseData.current_page,this.videoInterviewTotalItems=i.ResponseData.per_page,this.videoInterviewTotal=i.ResponseData.total,this.isShowVideoInterviewTable=!0)},i=>{this.errorHandler.handleError(i)}))}
1changeVideoInterviewStatus(t){this.videoInterviewStatusId=t.id,this.globals.loading=!0,this.getJsVideoInterviewDetail(1).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})}getDashboardCounter(){return this.clientService.getDashboardCounters({is_offshore:0}).pipe((0,H.M)(o=>{o.ResponseCode&&(this.videoInterviewCounter=o.ResponseData.count_data.video_interview_count,this.upcomingInterviewCounter=o.ResponseData.count_data.upcoming_interviews_count,this.hiredCandidatesCounter=o.ResponseData.count_data.hired_candidate_count)},o=>{this.errorHandler.handleError(o)}))}reminderVideoInterview(t){let o={jobseekerId:t};this.globals.loading=!0,this.clientService.reminderVideoInterview(o).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode?this.toastr.success(i.ResponseText):this.toastr.error(i.ResponseText)},i=>{this.globals.loading=!1,this.errorHandler.handleError(i)})}startJobseekerOnboarding(t,o,i){let l={jobseeker_id:o,availability_type:i,job_id:t};this.globals.loading=!0,this.clientService.startJobseekerOnboarding(l).subscribe(s=>{1==s.ResponseCode?(this.toastr.success(s.ResponseText),(0,Xe.p)([this.hiredCandidate(this.hiredCandidateFulltimePage),this.hiredCandidate(this.hiredCandidateContractPage,"contract")]).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):(this.globals.loading=!1,this.toastr.error(s.ResponseText))},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}togalAccordion(){$(".job-item-height").toggleClass("deactive-job-accordion-show")}openSkillModal(t){this.jobseekerSkill=t,this.modalService.open(this.skillModal,{centered:!0,windowClass:"cr-custom-modal modal-small"})}hasMatchingAvailabilityType(t){return!(!t?.job_availability||!t.jobseeker_avail_type)&&t.jobseeker_avail_type.some(o=>o.opt==t.job_availability)}hasMatchingAvailabilityTypeInModal(t){return!(!t?.job_availability||!t?.avaliability_opt_range)&&t.avaliability_opt_range.some(o=>o.opt==t.job_availability)}ngOnDestroy(){this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null)}openReasonMessage(t,o){o?.vendor_reason?(this.selectedName=`${o?.vendor_user_fname||""} ${o?.vendor_user_lname||""}`.trim()||"N/A",this.selectedReason=o.vendor_reason,this.selectedReasonType="Vendor"):o?.ex_recruiter_reason?(this.selectedName=`${o?.external_user_fname||""} ${o?.external_user_lname||""}`.trim()||"N/A",this.selectedReason=o.ex_recruiter_reason,this.selectedReasonType="External Recruiter"):(this.selectedName="",this.selectedReason="No reason provided",this.selectedReasonType=""),this.modalService.open(t,{centered:!0,windowClass:"cr-custom-modal custom-small-modal"})}static \u0275fac=function(o){return new(o||n)(e.rXU(v.Bq),e.rXU(le.X),e.rXU(y.aZ),e.rXU(ie.E),e.rXU(E.Ix),e.rXU(oe.c),e.rXU(Ae.m),e.rXU(e.gRc),e.rXU(Fe.m),e.rXU(ve.J),e.rXU(g.ok),e.rXU(E.nX),e.rXU(_e.h),e.rXU(ye.u),e.rXU(S.tw),e.rXU(Pe.Qq),e.rXU(ae.o),e.rXU(ee.P),e.rXU(B.z))};static \u0275cmp=e.VBU({type:n,selectors:[["app-dashboard"]],viewQuery:function(o,i){if(1&o&&(e.GBs(Wn,5),e.GBs(Zn,5),e.GBs(ne._,5),e.GBs(wt,5),e.GBs(N.vr,5),e.GBs(Kn,5),e.GBs(ei,5),e.GBs(ti,5),e.GBs(ni,5),e.GBs(ii,5),e.GBs(xt,5),e.GBs(Ft,5),e.GBs(oi,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.videoElement=l.first),e.mGM(l=e.lsd())&&(i.skillMod
1al=l.first),e.mGM(l=e.lsd())&&(i.dtElement=l.first),e.mGM(l=e.lsd())&&(i.RecruiterDetailsModal=l.first),e.mGM(l=e.lsd())&&(i.ngSelectComponent=l.first),e.mGM(l=e.lsd())&&(i.cofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.resume_show=l.first),e.mGM(l=e.lsd())&&(i.visa_proof_show=l.first),e.mGM(l=e.lsd())&&(i.showDocsModal=l.first),e.mGM(l=e.lsd())&&(i.fullInterviewModal=l.first),e.mGM(l=e.lsd())&&(i.vidPreviewModal=l.first),e.mGM(l=e.lsd())&&(i.ratingModal=l.first),e.mGM(l=e.lsd())&&(i.videoElementFullInterview=l)}},standalone:!0,features:[e.aNF],decls:58,vars:12,consts:[["rateTooltipTpl",""],["nav","ngbNav"],["activeJobRecModal",""],["scheduleInterviewModal",""],["add_jobseeker_rate_modal",""],["cofirmationModal",""],["jobseekerDetailsModal",""],["docPreviewModal",""],["resume_show",""],["visa_proof_show",""],["showDocsModal",""],["vidPreviewModal",""],["fullInterviewModal",""],["skillModal",""],["descriptionModal",""],["ratingModal",""],["RecruiterDetailsModal",""],["vendorMessageModal",""],["selectDropdown",""],["nav2","ngbNav"],["other_content",""],["dateTimePicker",""],["d","ngbDatepicker"],["d1","ngbDatepicker"],["videoElement",""],["videoElementFullInterview",""],["t",""],[3,"loading"],[1,"dashboard-page","main-content-wrap","cr-body-sm"],[1,"head-top-bar"],["ngbNav","",1,"cr-head-nav",3,"activeIdChange","activeId"],[3,"ngbNavItem"],["ngbNavLink","",1,"cr-head-nav-item",3,"click"],["ngbNavContent",""],["class","d-flex align-items-start flex-column-reverse flex-lg-row align-items-lg-center",4,"ngIf"],[1,"cr-main-content"],[3,"ngbNavOutlet"],["width","650px"],[4,"ngIf"],[1,"rate-tooltip-content"],[1,"rate-tooltip-row"],[1,"rate-tooltip-row","rate-tooltip-row-bold"],[1,"cloudrek-fee"],[1,"rate-tooltip-divider"],[1,"active-jobs-grid","active-jobs-grid-client","h-100"],[1,"active-joblist","client-dashboard-sidebar-job-list",2,"position","relative"],["class","job-item-height",4,"ngIf"],[1,"d-lg-none","active-sales-person-btn",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","width","20","height","20"],["d","M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z"],[1,"active-jobs-table",3,"formGroup"],[1,"d-lg-none","back-active-sales-person-btn",3,"click"],["ngbNav","",1,"cr-tablist","nav-tabs",3,"activeIdChange","activeId"],["ngbNavLink","",3,"click"],[1,"job-item-height"],["class","job-item flex-column",3,"ngClass","click",4,"ngFor","ngForOf"],["style","text-align: center; padding: 10px; font-weight: 500",4,"ngIf"],["class","client-deactivated-jobs client-deactive-height",4,"ngIf"],[1,"job-item","flex-column",3,"click","ngClass"],[1,"j
1ob-item-details"],[1,"d-flex"],[1,"fw-500","mb-0"],[1,"job-item-page-link",3,"countryRouterLink"],[1,"job-applicant-count","mr-1"],[1,"job-extra-details","job-extra-details-gap","d-flex","mb-2"],["class","d-flex align-items-center flex-wrap",4,"ngIf"],[1,"paragraph","par-data","word-wrap",3,"innerHtml"],[1,"d-flex","align-items-center","flex-wrap"],[1,"cr-pill","pill-gray"],[2,"text-align","center","padding","10px","font-weight","500"],[1,"client-deactivated-jobs","client-deactive-height"],["ngbAccordion","","id","panel-1",1,"sub-qn-acc",3,"click","closeOthers"],["ngbAccordionItem","",1,"bg-teal-blue"],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"custom-acc-head","sub-qn-head","w-100"],[1,"d-flex","align-items-center"],[1,"custom-acc-arrow","material-icons-outlined","mr-2"],[1,"submitted-qn-title"],[1,"mb-0","fw-600"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"sub-qn-list"],["class","job-item-details",4,"ngIf"],[1,"table-responsive"],["datatable","",1,"row-border","hover","cr-data-table","w-100","radius-0","overflow-auto",3,"dtOptions"],[1,"sorting-arrows"],[4,"ngFor","ngForOf"],["href","javascript:void(0)",1,"link","color-teal-green","cr-line-height1","mr-3","link-icon-size",3,"click"],["height","16","width","16","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#10957e"],["d","M6.45455 19L2 22.5V4C2 3.44772 2.44772 3 3 3H21C21.5523 3 22 3.44772 22 4V18C22 18.5523 21.5523 19 21 19H6.45455ZM7 10V12H9V10H7ZM11 10V12H13V10H11ZM15 10V12H17V10H15Z"],["href","javascript:void(0)","class","link color-orange mr-2","title","View Reason",3,"click",4,"ngIf"],[1,"fw-400"],["href","javascript:void(0)",1,"fw-400","link","color-teal-blue",3,"click"],[1,"link","color-teal-blue",3,"href"],[1,"white-space-nowrap",2,"color","#031d1f",3,"href"],[1,"cr-skills-wrap"],["class","cr-skill-details",4,"ngFor","ngForOf"],["class","link color-alice-blue","href","javascript:void(0)",3,"click",4,"ngIf"],[1,"link","color-teal-blue",2,"cursor","pointer",3,"click"],[1,"cr-input-wrap"],["bindLabel","name","bindValue","id","placeholder","Submitted","appendTo","body","formControlName","submitted",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],["href","javascript:void(0)","title","View Reason",1,"link","color-orange","mr-2",3,"click"],["height","16","width","16","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#ff0f0f"],["d","M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z"],["style","white-space: nowrap",4,"ngIf"],[2,"white-space","nowrap"],["class","d-flex align-items-center gap-5",4,"ngIf"],[1,"d-flex","align-items-center","gap-5"],["container","body","placement","top","tooltipClass","rate-info-tooltip",1,"material-icons-outlined","rate-info-icon",3,"ngbTooltip","tooltipContext"],["container","body","placement","top","tooltipClass","rate-info-tooltip",1,"cursor-pointer",3,"ngbTooltip","tooltipContext"],["height","16","width","16","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#007bff"],["container","body","placement","top","tooltipClass","rate-info-tooltip",1,"material-icons-outlined","cursor-pointer",3,"ngbTooltip","tooltipContext"],[1,"cr-skill-details"],["href","javascript:void(0)",1,"link","color-alice-blue",3,"click"],[1,"modal-header"],["id","video-call-modal",1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","text-center"],[1,"text-center"],["colspan","9"],["href","javascript:void(0)",1,"link","color-teal-green","cr-line-height1","mr-3",3,"click"],["bindLabel","name","bindValue","id","placeholder","Shortlisted","appendTo","body","formControlName","shortlisted",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],["bindLabel","name","bindValue","id","placeholder","Scheduled","appendTo","body","formControlName","scheduled",1,"cr-select","control-small",3,"change","compareWith","searchable","items","clearable"],[1,"cr-status","status-green"],[1,"fw-400","link","color-teal-blue",3,"click"],[1,"cr-status","status-red"],["class","row-border hover cr-data-table w-100","datatable","",3,"dtOptions",4,"ngIf"],["class","custom-pagination","aria-label","Default pagination",3,"pageChange",4,"ngIf"],["datatable","",1,"row-border","hover","cr-data-table","w-100",3,"dtOptions"],[1,"link","color-teal-blue",3,"countryRouterLink"],[1,"fw-500","link","color-teal-blue",3,"countryRouterLink","queryParams"],[1,"fw-500","link","color-alice-blue",3,"href"],["class","link color-alice-blue",3,"click",4,"ngIf"],["class","mb-0",4,"ngIf"],[1,"mb-0"],[1,"link","color-alice-blue",3,"click"],["aria-label","Default pagination",1,"custom-pagination",3,"pageChange"],["ngbNav","",1,"cr-head-nav","mb-3",3,"activeIdChange","activeId"],["ngbNavLink","",1,"cr-head-nav-item"],["class","cr-status status-purple",4,"ngIf"],["class","cr-status status-green",4,"ngIf"],["class","cr-status status-yellow",4,"ngIf"],["class","cr-btn cr-btn-blue",3,"click",4,"ngIf","ngIfElse"],[1,"cr-status","status-purple"],[1,"cr-status","status-yellow"],[1,"cr-btn","cr-btn-blue",3,"click"],["height","16","width","16","src","../../../../assets/images/resend2.png","class","ml-4 cursor-pointer client-video-inerview-icon",3,"click",4,"ngIf"],["class","cr-status status-red",4,"ngIf"],["height","16","width","16","src","../../../../assets/images/resend2.png",1,"ml-4","cursor-pointer","client-video-inerview-icon",3,"click"],[1,"d-flex","align-items-start","flex-column-reverse","flex-lg-row","align-items-lg-center"],[1,"onboarding-question-edit",2,"max-width","300px"],["bindLabel","name","bindValue","id","placeholder","Status",1,"cr-select","control-medium",3,"change","ngModelChange","clear","items","clearable","searchable","ngModel"],[1,"rec-detail-img","round"],["alt","recruiter",1,"round","img-inherit","
1img-cover",3,"src"],[1,"fw-600"],[1,"cr-btn-flushed","color-teal-blue","fw-500","h5"],["value","click to copy",1,"material-icons-outlined","h4",3,"click"],[1,"paragraph","color-gray-2","fw-500","mb-5"],[1,"d-flex","align-items-center","justify-content-center"],["id","modal-basic-title",1,"modal-title"],[1,"modal-body"],["class","mb-5",4,"ngIf"],["class","mb-4",4,"ngIf"],[1,"mb-5"],[1,"position-relative","custom-owl-date-picker","custom-owl-date-picker-modal","mb-5"],["placeholder","Select date & time",1,"e-custom-datetimepicker","cr-form-control",3,"ngModelChange","ngModel","min","owlDateTime","owlDateTimeTrigger"],[3,"stepMinute","hour12Timer"],["class","text-danger mt-1 small",4,"ngIf"],["type","button",1,"cr-btn","cr-btn-blue","ml-auto","d-block",3,"click","disabled"],[1,"color-alice-blue"],[1,"mb-4"],["bindLabel","name","bindValue","id","placeholder","Team Member","appendTo","body",1,"cr-select","ng-select","control-medium",3,"ngModelChange","items","searchable","closeOnSelect","hideSelected","ngModel","multiple"],[1,"text-danger","mt-1","small"],[1,"jobseeker-model-main"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],[3,"formGroup"],[1,"row","mb-4"],[1,"col-lg-12"],[1,"cr-input-wrap","mb-2"],["type","text","formControlName","jobseeker_rate",1,"cr-form-control","control-medium",3,"placeholder"],["class","error",4,"ngIf"],[1,"row"],[1,"col-6"],[1,"datepicker-wrap","cr-single-datepicker","mb-4"],[1,"input-group"],["placeholder","Select Start Date","name","dp","ngbDatepicker","","container","modal-body","formControlName","hired_start_date",1,"cr-form-control","control-medium",3,"dateSelect"],["type","button",1,"btn","bi","bi-calendar3","p-1","d-flex","align-items-center","justify-content-end","cr-single-datepicke-btn",3,"click"],[1,"material-icons-outlined","px-2"],["placeholder","Select End Date","name","dp","ngbDatepicker","","container","modal-body","formControlName","hired_end_date",1,"cr-form-control","control-medium",3,"dateSelect"],["class","control-error mb-4","style","margin-top: -7px",4,"ngIf"],[1,"modal-footer"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click","disabled"],[1,"error"],["class","text-danger",4,"ngIf"],[1,"text-danger"],[1,"control-error","mb-4",2,"margin-top","-7px"],["class","err-container",4,"ngIf"],[1,"err-container"],[1,"material-icons","control-error-icon"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"],[1,"js-detail-wrap"],[1,"js-main-details","mb-4"],[1,"js-img"],["alt","",1,"round","img-fluid",3,"src"],[1,"js-main-details-content"],[1,"fw-700"],[1,"w-75"],[1,"js-main-detail-row"],[1,"js-main-detail-icon","material-icons-outlined"],[1,"link","color-alice-blue",3,"href"],[1,"js-main-detail-icon","material-icons-outlined","d-none","d-lg-block","ml-2","cr-btn-flushed",3,"click"],["class","col-6",4,"ngIf"],[1,"link","color-alice-blue","white-space-nowrap",3,"href"],[1,"js-full-details"],[1,"js-full-detail-row","mb-5"],[1,"fw-600","mb-3"],[1,"mb-2"],["class","cr-skill",4,"ngFor","ngForOf"],["target","_blank",1,"cr-status","status-green","d-flex","align-items-center","link",3,"href"],[1,"d-flex","ml-3","cr-profile-sharing"],[1,"material-icons-outlined","mr-4","cursor-pointer",3,"click"],[1,"documents-grid"],["class","document-item",3,"click",4,"ngFor","ngForOf"],["class","js-full-detail-row mb-5",4,"ngFor","ngForOf"],["class","js-full-detail-row mb-5",4,"ngIf"],["class","js-full-detail-row pb-5 mb-5",4,"ngIf"],["class","js-full-detail-row pb-5",4,"ngIf"],[1,"js-main-detail-icon","material-icons-outlined","me-3"],[1,"list-unstyled"],[1,"cr-skill"],[1,"document-item",3,"click"],[1,"doctype-img","flex-shrink-0"],["src","assets/images/icons/doctype-svg.svg","alt","SVG Document","class","img-contain","style","width: 32px; height: 40px",4,"ngIf"],["src","assets/images/icons/doctype-docx.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-jpg.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-pdf.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-png.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-url.svg","alt","","class","img-contain",4,"ngIf"],[1,"docinfo-wrap"],[1,"docinfo"],[1,"small","fw-500","color-dark","clamp-1"],[1,"paragraph-sm","color-gray-3","mb-0"],[1,"cr-btn-round","flex-shrink-0",3,"click","href"],[1,"material-icons-outlined","color-gray-3"],["src","assets/images/icons/doctype-svg.svg","alt","SVG Document",1,"img-contain",2,"width","32px","height","40px"],["src","assets/images/icons/doctype-docx.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-jpg.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-pdf.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-png.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-url.svg","alt","",1,"img-contain"],[1,"mt-4"],[1,"interview-vid-item"],[1,"interview-vid-thumb"],[1,"material-icons-outlined"],[1,"interview-vid-content"],[1,"fw-500","mb-1"],["href","javascript:void(0)",1,"link","color-alice-blue","mr-3",3,"click"],[1,"ed-timeline"],["class","ed-tl-row",4,"ngFor","ngForOf"],[1,"ed-tl-row"],[1,"ed-year"],[1,"ed-info"],[1,"small","fw-500","mb-0"],[1,"paragraph-md","gray-3","fw-400","mb-0"],[1,"js-full-detail-row","pb-5","mb-5"],["class","mb-1",4,"ngIf"],[1,"mb-1"],[1,"js-full-detail-row","pb-5"],["id","document-preview-modal",1,"modal-title"],[1,"cr-modal-head-button","ml-auto","mr-3",3,"click","href"],[1,"modal-body","p-4","pt-0","overflow-auto"],[1,"prev-wrap"],["width","100%","height","100%","style","height: 100%",3,"src",4,"ngIf"],["alt","document preview","class","img-contain img-fluid",3,"src",4,"ngIf"],["width","100%","height","100%",2,"height","100%",3,"src"],["alt","document preview",1,"img-contain","img-fluid",3,"src"],["viewer","google","googleCheckContentLoaded","true","googleCheckInterval","3000","googleMaxChecks","1",1,"doc-viewer",2,"width","100%","height","600px",3,"url"],["id","video-preview-modal",1,"modal-title"],[1,"modal-body","d-flex","justify-content-center","p-4"],["controls","","muted","","autoplay","",1,"condensed-interview-video"],[3,"src"],[1,"modal-footer","p-5"],[1,"cr-btn","cr-btn-filled","cr-btn-blue","d-inline-block",3,"click"],[1,"video-interview-page"],[1,"interview-grid"],[1,"qn-panel"],[1,"qn-panel-body"],["ngbAccordion","","class","sub-qn-acc",3,"id","closeOthers","activeIds",4,"ngFor","ngForOf"],[1,"d-flex","align-items-center","mt-auto","mr-auto"],[1,"cr-btn","cr-btn-blue","d-inline-block","mr-3",3,"click"],[1,"cam-container"],[1,"logo-wrapper","logo-wrapper-video"],[1,"f-logo"],["alt","Cloud Rek","src","../../../../assets/front-assets/images/logo.svg",1,"img-fluid"],["id","videoSrc","controls","","autoplay","",1,"cam-video"],["type","video/mp4",3,"src"],["ngbAccordion","",1,"sub-qn-acc",3,"id","closeOthers","activeIds"],["ngbAccordionItem","",3,"id"],[3,"class","vid-active","click",4,"ngIf"],[3,"click"],[1,"sub-qn-num"],[1,"sub-qn-wrap"],[1,"sub-qn"],[1,"color-gray-3","paragraph-md"],[1,"fw-500",3,"innerHtml"],[1,"modal-footer","p-5","d-flex","justify-content-end"],[1,"start-rating-lists"],[1,"start-rating-list"],[3,"rateChange","max","rate","readonly"],[1,"cr-input-wrap",2,"margin-top","20px"],["name","overviewInput","rows","4","placeholder","Add a review....",1,"cr-form-control","control-medium",3,"ngModelChange","ngModel"],[1,"cr-btn","cr-btn-blue",3,"click","disabled"],[1,"bi-heart-fill"],["class","bi-heart-fill filled",3,"width",4,"ngIf"],[1,"bi-heart-fill","filled"],[1,"star"],[1,"half"],[1,"modal-header","vendor-reason-model"],["type","button",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","vendor-reason-model-body"],[1,"vendor-reason-description-wrapper"],["class","vendor-reason-description",4,"ngIf"],[1,"vendor-reason-description"],[1,"vendor-name"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",27),e.DNE(1,ai,1,1,"ng-template",null,0,e.C5r),e.j41(3,"section",28)(4,"div",29)(5,"ul",30,1),e.mxI("activeIdChange",function(_){return e.eBV(l),e.DH7(i.dashSelectedContent,_)||(i.dashSelectedContent=_),e.Njj(_)}),e.j41(7,"li",31)(8,"a",32),e.bIt("click",function(){return e.eBV(l),e.Njj(i.activeJobsClick())}),e.EFF(9),e.k0s(),e.DNE(10,Io,42,16,"ng-template",33),e.k0s(),e.j41(11,"li",31)(12,"a",32),e.bIt("click",function(){return e.eBV(l),e.Njj(i.getActiveId(1,2))}),e.EFF(13),e.k0s(),e.DNE(14,kl,3,2,"ng-template",33),e.k0s(),e.j41(15,"li",31)(16,"a",32),e.bIt("click",function(){return e.eBV(l),e.Njj(i.getActiveId(1,3))}),e.EFF(17),e.k0s(),e.DNE(18,bt,12,6,"ng-template",33),e.k0s(),e.j41(19,"li",31)(20,"a",32),e.bIt("click",function(){return e.eBV(l),i.videoInterviewStatusId=null,e.Njj(i.getActiveId(1,4))}),e.EFF(21),e.k0s(),e.DNE(22,c,3,2,"ng-template",33),e.k0s()(),e.DNE(23,d,3,4,"div",34),e.k0s(),e.j41(24,"div",35),e.nrm(25,"div",36),e.k0s()(),e.DNE(26,m,19,7,"ng-template",null,2,e.C5r)(28,V,17,11,"ng-template",null,3,e.C5r)(30,Tl,35,5,"ng-template",37,4,e.C5r)(32,Gl,9,1,"ng-template",null,5,e.C5r)(34,aa,67,24,"ng-template",null,6,e.C5r)(36,ca,11,3,"ng-template",null,7,e.C5r)(38,pa,11,3,"ng-template",null,8,e.C5r)(40,ga,11,3,"ng-template",null,9,e.C5r)(42,ba,9,2,"ng-template",null,10,e.C5r)(44,fa,12,1,"ng-template",null,11,e.C5r)(46,ja,25,4,"ng-template",null,12,e.C5r)(48,ya,7,1,"ng-template",null,13,e.C5r)(50,wa,10,1,"ng-template",null,14,e.C5r)(52,Sa,35,11,"ng-template",null,15,e.C5r)(54,Oa,19,7,"ng-template",null,16,e.C5r)(56,Pa,10,2,"ng-template",null,17,e.C5r)}if(2&o){const l=e.sdS(6);e.Y8G("loading",i.globals.loading),e.R7$(5),e.R50("activeId",i.dashSelectedContent),e.R7$(2),e.Y8G("ngbNavItem",1),e.R7$(2),e.SpI(" ",null==i.activeJobs?null:i.activeJobs.length," Active Jobs "),e.R7$(2),e.Y8G("ngbNavItem",3),e.R7$(2),e.SpI(" ",i.upcomingInterviewCounter," Scheduled Interviews "),e.R7$(2),e.Y8G("ngbNavItem",4),e.R7$(2),e.SpI(" ",i.hiredCandidatesCounter," Hired Candidates "),e.R7$(2),e.Y8G("ngbNavItem",5),e.R7$(2),e.SpI(" ",i.videoInterviewCounter," Video Interview "),e.R7$(2),e.Y8G("ngIf",4===i.activeId),e.R7$(2),e.Y8G("ngbNavOutlet",l)}},dependencies:[y.MD,y.YU,y.Sq,y.bT,y.PV,y.vh,y.lG,g.YN,g.qT,g.me,g.BC,g.cb,g.vS,g.X1,g.j4,g.JD,E.iI,N.MQ,N.vr,ne.H,ne._,de.EE,de.$j,Ze,et,v.Pv,v.Um,v.X9,v.sy,v.Gx,v.Ri,v.WA,v.m_,v._f,v.WP,v.r6,v.tW,v.x7,v.UA,v.$R,v.IQ,v.cw,v.Ny,v.hC,v.n8,v.md,J.Yz,J.H$,J.BK,J.P_,J.Zb,S._B,pe.ed,pe.kf,pe.ej,Ce.N,Ge._,Ge.d,Ke.l],styles:['.sticky-table-head[_ngcontent-%COMP%] .dataTables_wrapper[_ngcontent-%COMP%]{max-height:80vh}.active-jobs-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:380px 1fr;grid-gap:15px;height:80vh}.active-joblist[_ngcontent-%COMP%]{background-color:var(--pure-white);border-radius:10px;border:1px solid var(--cr-gray-tint-7);height:100%;max-height:calc(100vh - 150px);overflow-y:auto}.job-item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;transition:.3s all;background-color:#fff;padding:10px}.job-item[_ngcontent-%COMP%]:hover{cursor:pointer}
1.job-item.active-job[_ngcontent-%COMP%]{background-color:var(--cr-alice-blue-tint-8)}.job-item[_ngcontent-%COMP%] .job-item-page-link[_ngcontent-%COMP%]{text-decoration:underline;color:var(--cr-alice-blue-tint-2)}.job-item[_ngcontent-%COMP%] .job-item-page-link[_ngcontent-%COMP%]:hover{color:var(--cr-alice-blue)}.job-item[_ngcontent-%COMP%] .job-applicant-count[_ngcontent-%COMP%]{min-width:20px;height:20px;aspect-ratio:1/1;display:inline-flex;align-items:center;justify-content:center;background-color:var(--cr-yellow);border-radius:50%;margin-left:10px}.job-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-7)}.job-item-details[_ngcontent-%COMP%] .paragraph[_ngcontent-%COMP%]{color:var(--cr-gray-tint-2);margin-bottom:0;overflow-wrap:anywhere}.job-item-details[_ngcontent-%COMP%] .paragraph[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.cr-tablist[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;background-color:var(--pure-white)}.active-jobs-table[_ngcontent-%COMP%]{background-color:var(--pure-white);border:1px solid var(--cr-gray-tint-7);overflow-y:auto;height:100%}.active-jobs-table[_ngcontent-%COMP%] .cr-tablist[_ngcontent-%COMP%]{flex-wrap:nowrap;overflow-x:auto}.active-jobs-table[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{white-space:nowrap}.job-extra-details-gap[_ngcontent-%COMP%]{margin-top:10px}.job-extra-details-gap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-left:20px}.job-extra-details-gap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-left:0}.star[_ngcontent-%COMP%]{height:30px;position:relative;display:inline-block;font-size:28px;padding-top:3px;color:#ecf1f8}.full[_ngcontent-%COMP%]{color:#fbc431}.starClass[_ngcontent-%COMP%]{position:absolute;display:inline-block;bottom:30%;padding-top:4px;height:30px;color:#fbc431;overflow:hidden}.start-rating-lists[_ngcontent-%COMP%]{min-height:425px;max-height:320px;overflow-y:auto}.start-rating-lists[_ngcontent-%COMP%] .start-rating-list[_ngcontent-%COMP%]{margin-bottom:25px}.start-rating-lists[_ngcontent-%COMP%] .start-rating-list[_ngcontent-%COMP%]:last-child{margin-bottom:0}.client-deactivated-jobs[_ngcontent-%COMP%]{position:sticky;bottom:0;left:0}.deactive-job-accordion-show[_ngcontent-%COMP%] .client-deactivated-jobs[_ngcontent-%COMP%]{position:static}.ng-select[_ngcontent-%COMP%] .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%]{padding:10px 25px!important}.video-interview-page[_ngcontent-%COMP%]{height:100%}.interview-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:700px 1fr;grid-gap:15px;height:100%}.interview-grid[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;border-radius:10px}.qn-panel[_ngcontent-%COMP%]{background-color:var(--pure-white);padding:30px 25px;border:1px solid var(--cr-gray-tint-8);overflow-y:auto;display:flex;flex-direction:column}.qn-panel-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:40px}.qn-count[_ngcontent-%COMP%]{margin-bottom:20px}.skill-qn-options[_ngcontent-%COMP%]{margin:30px 0;display:flex;align-items:center}.skill-qn-options[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:15px}ul.skill-qn-list[_ngcontent-%COMP%]{margin-top:30px;position:relative}ul.skill-qn-list[_ngcontent-%COMP%]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:#ffffff80;z-index:1}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-weight:500;padding:5px 10px;-webkit-user-select:none;user-select:none}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child){border-top:1px solid var(--cr-gray-tint-8)}.sub-qn-head[_ngcontent-%COMP%]{border:none;padding:10px;background:#9de8ff;display:flex;align-items:center}.qn-panel-body[_ngcontent-%COMP%]{height:100%;overflow-y:auto}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:8px;margin-bottom:0}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--cr-gray-tint-8);cursor:pointer}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-8)}.sub-qn-list[_ngcontent-%COMP%] li.vid-active[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-7)}.sub-qn-list[_ngcontent-%COMP%] .sub-qn-wrap[_ngcontent-%COMP%]{margin-left:20px}.sub-qn[_ngcontent-%COMP%]{margin-bottom:5px}.cam-container[_ngcontent-%COMP%]{position:relative;overflow:hidden}.cam-blur[_ngcontent-%COMP%]:after{content:"";position:absolute;
1left:0;top:0;width:100%;height:100%;background-color:#031d1f33;z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:inherit}.cam-placeholder[_ngcontent-%COMP%]{height:100%;border-radius:10px;overflow:hidden}.cam-placeholder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.cam-options-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.cam-video[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px)}.interview-countdown[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;font-size:12rem;transform:translate(-50%,-50%);color:var(--pure-white);width:20rem;height:20rem;display:flex;align-items:center;justify-content:center;background-color:#ffffff80;border-radius:50%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-weight:700;-webkit-user-select:none;user-select:none}.cam-actions[_ngcontent-%COMP%]{position:absolute;bottom:20px;width:100%;display:flex;justify-content:center;align-items:center;padding:0 20px}.remaining-time[_ngcontent-%COMP%]{width:80px;height:80px}.cam-action-btn[_ngcontent-%COMP%]{width:70px;height:70px;display:flex;align-items:center;justify-content:center;transition:.3s all;background-color:var(--pure-white);border:1px solid transparent;font-size:30px}.cam-action-btn[_ngcontent-%COMP%]:hover{background-color:#e3e3e3}.logo-wrapper-video[_ngcontent-%COMP%]{position:absolute;right:40px;top:30px;z-index:6}.client-deactive-height[_ngcontent-%COMP%]{min-height:44px;flex-shrink:0}.job-item-height[_ngcontent-%COMP%]{max-height:100%;overflow-y:auto;display:flex;justify-content:space-between;flex-direction:column;min-height:100%}.active-joblist[_ngcontent-%COMP%]{display:flex;flex-direction:column}.e-custom-datetimepicker[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]{border:1px solid #ced4da;border-radius:4px;background-color:#fff}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]:hover{border-color:#80bdff}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group.e-focus[_ngcontent-%COMP%]{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]{padding:10px 12px;font-size:14px;color:#495057}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]::placeholder{color:#6c757d}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group-icon[_ngcontent-%COMP%]{color:#6c757d}@media screen and (max-width: 1699px){.active-jobs-grid[_ngcontent-%COMP%]{height:75vh}}@media (max-width: 1439px){.active-jobs-grid[_ngcontent-%COMP%]{grid-template-columns:330px 1fr}}@media screen and (max-width: 1365px){.active-jobs-grid[_ngcontent-%COMP%]{height:70vh}.job-item[_ngcontent-%COMP%] .job-applicant-count[_ngcontent-%COMP%]{width:20px;height:20px;font-size:12px}.job-item-details[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:14px}.job-item-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px}.job-extra-details[_ngcontent-%COMP%] .cr-pill[_ngcontent-%COMP%]{padding:4px 6px}.active-jobs-grid-client.active-jobs-grid[_ngcontent-%COMP%]{grid-template-columns:320px 1fr}}@media (max-width: 1199px){.active-jobs-grid[_ngcontent-%COMP%]{grid-template-columns:300px 1fr}}@media screen and (max-width: 991px){.active-jobs-grid[_ngcontent-%COMP%]{display:flex}.job-item[_ngcontent-%COMP%]{justify-content:space-between}.active-joblist[_ngcontent-%COMP%]{width:100%}.active-jobs-table[_ngcontent-%COMP%]{position:fixed;right:0;transform:translate(110%);height:calc(100svh - var(--header-height-md));top:var(--header-height-md);width:100%;transition:.3s all;z-index:4;overflow-y:auto}.active-jobs-table.job-active[_ngcontent-%COMP%]{transform:translate(0)}} .confirm-modal .modal-content{max-width:520px!important} .rate-info-tooltip{--bs-tooltip-bg: #e7f6fb;--bs-tooltip-color: #0b252b;--bs-tooltip-arrow-width: 34px;--bs-tooltip-arrow-height: 19px;opacity:1!important} .rate-info-tooltip .tooltip-inner{min-width:280px;max-width:250px;padding:16px;text-align:left;white-space:normal;line-height:1;font-size:14px;font-family:Inter,Roboto,Helvetica Neue,Arial,sans-serif;background:#e7f6fb;
1color:#0b252b;border:2px solid #b9e0f4;border-radius:12px;box-shadow:none;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:0} .rate-info-tooltip .tooltip-arrow{display:block;width:34px;height:19px;overflow:visible} .rate-info-tooltip.bs-tooltip-top .tooltip-arrow, .rate-info-tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{top:auto!important;bottom:-18px!important} .rate-info-tooltip.bs-tooltip-top .tooltip-arrow:before, .rate-info-tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{content:"";position:absolute;top:-18px;left:50%;width:26px;height:26px;background:#e7f6fb;border-right:3px solid #b9e0f4;border-bottom:3px solid #b9e0f4;border-top:0;border-left:0;border-radius:0 0 6px;transform:translate(-50%) rotate(45deg)} .rate-info-tooltip.bs-tooltip-top .tooltip-arrow:after, .rate-info-tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:after{content:"";position:absolute;left:50%;top:-19px;width:33px;height:7px;background:#e7f6fb;transform:translate(-50%);z-index:1} .rate-info-tooltip.bs-tooltip-bottom .tooltip-arrow, .rate-info-tooltip.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{display:none} .rate-tooltip-content{width:100%} .rate-tooltip-row{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;-moz-column-gap:18px;column-gap:18px} .rate-tooltip-row+.rate-tooltip-row{margin-top:16px} .rate-tooltip-row strong{justify-self:start;text-align:left;font-weight:500} .rate-tooltip-row-bold{font-weight:600} .rate-tooltip-divider{border-top:2px solid #c0e1f4;margin:20px 0}.cloudrek-fee[_ngcontent-%COMP%]{font-weight:600}.rate-info-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;font-size:14px;color:#0d6efd;border-radius:50%;cursor:pointer;transition:all .2s ease}.rate-info-icon[_ngcontent-%COMP%]:hover{background-color:#0d6efd33;transform:scale(1.05)} .custom-small-modal .modal-dialog{max-width:600px} .custom-small-modal .modal-content{border-radius:10px;padding:5px} .custom-small-modal .modal-body{font-size:14px}.link-icon-size[_ngcontent-%COMP%]{min-width:16px;min-height:16px}.link-icon-size[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:100%;height:100%} .control-small, .ng-select.control-small{height:40px;border-radius:10px;font-size:14px}.vendor-reason-description[_ngcontent-%COMP%]{font-size:16px;color:#828282;font-weight:500;line-height:1.5}.vendor-name[_ngcontent-%COMP%]{color:#031d1f;font-weight:600}#vendorMessageModal[_ngcontent-%COMP%]{max-width:470px;width:100%}.client-video-inerview-icon[_ngcontent-%COMP%]{min-width:14px;height:14px}.vendor-reason-description-wrapper[_ngcontent-%COMP%]{padding:20px;border-radius:10px;background-color:#f3f3f3}.vendor-reason-model-body[_ngcontent-%COMP%]{padding:30px 20px} .modal-content{min-width:650px}.word-wrap[_ngcontent-%COMP%]{word-wrap:break-word;overflow-wrap:anywhere}.client-dashboard-sidebar-job-list[_ngcontent-%COMP%] .paragraph.par-data.word-wrap[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 575px){ .modal-content{min-width:300px}}']})}return n})();var jl=x(45312),cl=x(6064),Ya=x(99423),Va=x(11710),Cl=x(85833),Ja=x(88482);const Xa=["monthViewCal"],Aa=["dayViewCal"],Ba=["eventInfoModal"];function qa(n,a){if(1&n&&(e.j41(0,"div",31),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t," ")}}function La(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",9)(1,"h3",10),e.EFF(2),e.k0s(),e.j41(3,"div",11)(4,"button",12),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.icsgenerateSingleevent())}),e.j41(5,"i",13),e.EFF(6," file_download "),e.k0s()(),e.j41(7,"button",14),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()()(),e.j41(8,"div",15)(9,"div",16)(10,"div",17)(11,"div",18)(12,"div",19),e.nrm(13,"img",20),e.k0s(),e.j41(14,"div",21)(15,"h4",22),e.EFF(16),e.nI1(17,"titlecase"),e.nI1(18,"titlecase"),e.k0s(),e.j41(19,"a",23),e.EFF(20),e.k0s()()()(),e.j41(21,"div",24)(22,"div",25)(23,"div",26),e.EFF(24,"Interview Date"),e.k0s(),e.j41(25,"div",27),e.EFF(26),e.k0s()(),e.j41(27,"div",25)(28,"div",26),e.EFF(29,"Phone"),e.k0s(),e.j41(30,"div",27)(31,"a",28),e.EFF(32),e.k0s()()(),e.j41(33,"div",25)(34,"div",26),e.EFF(35,"Skills"),e.k0s(),e.j41(36,"div",27)(37,"div",29),e.DNE(38,qa,2,1,"div",30),e.k0s()()()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(t.interview_detail_data.title),e.R7$(11),e.FS9("src",t.interview_detail_data.jobseeker_profile,e.B4B),e.R7$(3),e.Lme(" ",e.bMT(17,10,t.interview_detail_data.jobseeker_first_name)," ",e.bMT(18,12,t.interview_detail_data.jobseeker_last_name)," "),e.R7$(3),e.Mz_("href","mailTo:",t.interview_detail_data.jobseeker_email,"",e.B4B),e.R7$(),e.JRh(t.interview_detail_data.jobseeker_email),e.R7$(6),e.SpI(" ",t.interview_detail_data.interview_date+" "+(null==t.interview_detail_data?null:t.interview_detail_data.from_time)," "),e.R7$(6),e.SpI(" ",t.interview_detail_data.phone_code+" "+t.interview_detail_data.phone," "),e.R7$(6),e.Y8G("ngForOf",t.interview_detail_data.js_skills)}}let Ha=(()=>{class n{globals;modalService;clientService;route;location;errorHandler;toastr;common;authService;http;httpService;monthCal;dayCal;eventInfoModal;eventData=[];interview_id;jobseeker_user_id;external_recruiter_user_id;upcoming_month;upcoming_year;client_user_id;set configurations(t){t&&(this.monthViewOptions=t)}cal_label="";GetMonth;GetYear;closeResult="";interview_detail_data=[];getMonth;getYear;constructor(t,o,i,l,s,_,p,u,b,f,C){this.globals=t,this.modalService=o,this.clientService=i,this.route=l,this.location=s,this.errorHandler=_,this.toastr=p,this.common=u,this.authService=b,this.http=f,this.httpService=C}monthViewOptions={plugins:[Ya.A,Cl.Ay],customButtons:{downloadEventButton:{text:"Download ",hint:"Download Events",click:this.icsgenerateevent.bind(this)}},headerToolbar:{left:"prev title next",right:"downloadEventButton"},initialView:"dayGridMonth",navLinks:!1,dateClick:this.setDayViewDate.bind(this),height:"100%",weekends:!0,editable:!1,selectable:!0,selectMirror:!0,dayMaxEvents:!0,eventDisplay:"block",displayEventTime:!0,displayEventEnd:!0,eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:"short"},eventClick:t=>{this.openEventInfoModal(this.eventInfoModal,t.event.extendedProps.interview_id,t)},eventDidMount:t=>{"Cancelled"===t.event.extendedProps.eventType&&(t.event.setProp("backgroundColor","#EB5757"),t.event.setProp("borderColor","#EB5757"))}};dayViewOptions={plugins:[Va.A,Cl.Ay],headerToolbar:{left:"title prev,next",right:""},height:"100%",initialView:"timeGridDay",weekends:!0,dayMaxEvents:!0,allDaySlot:!1,eventDisplay:"block",displayEventTime:!0,displayEventEnd:!0,eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:"short"},eventClick:t=>{this.openEventInfoModal(this.eventInfoModal,t.event.extendedProps.interview_id,t)},eventDidMount:t=>{"Cancelled"===t.event.extendedProps.eventType&&(t.event.setProp("backgroundColor","#EB5757"),t.event.setProp("borderColor","#EB5757"))}};ngOnInit(){this.common.isDeletedUser().subscribe(t=>{1==t.ResponseCode&&(this.toastr.error(t.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))}),this.get_upcoming_data()}setDayViewDate(t){this.dayCal&&this.dayCal.getApi()&&this.dayCal.getApi().gotoDate(t.date.toISOString())}get_upcoming_data(){this.globals.loading=!0,this.clientService.get_upcoming_data().subscribe(t=>{console.log("res",t),this.globals.loading=!1,1==t.ResponseCode&&(t.Re
1sponseData.forEach(i=>{let l={title:i.title,start:new Date(i.year,i.month-1,i.day,i.from_h,i.from_m),end:new Date(i.year,i.month-1,i.day,i.to_h,i.to_m),allDay:!1,interview_id:i.interview_id,extendedProps:{eventType:"Scheduled"}};this.eventData.push(l),this.upcoming_month=i.month,this.upcoming_year=i.year,this.client_user_id=i.client_user_id,this.jobseeker_user_id=i.jobseeker_user_id,this.external_recruiter_user_id=i.external_recruiter_user_id}),this.monthCal&&this.monthCal.getApi()&&this.monthCal.getApi().setOption("events",this.eventData),this.dayCal&&this.dayCal.getApi()&&this.dayCal.getApi().setOption("events",this.eventData))},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}openEventInfoModal(t,o,i){console.log(i),console.log(o),this.modalService.open(t,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-small"}),this.globals.loading=!0;let l=o;this.interview_id=o,null!=l&&this.clientService.upcoming_calendar_single_data(l).subscribe(s=>{if(console.log("re",s),this.globals.loading=!1,1==s.ResponseCode){this.interview_detail_data.title=s.ResponseData.interview_schedule.job_title,this.interview_detail_data.company_name=s.ResponseData.interview_schedule.company_name,s.ResponseData.interview_schedule.anonymous?(this.interview_detail_data.jobseeker_first_name=s.ResponseData.interview_schedule.anonymous_name,this.interview_detail_data.jobseeker_last_name=""):(this.interview_detail_data.jobseeker_first_name=s.ResponseData.interview_schedule.first_name,this.interview_detail_data.jobseeker_last_name=s.ResponseData.interview_schedule.last_name),this.interview_detail_data.jobseeker_email=s.ResponseData.interview_schedule.jobseeker_email,this.interview_detail_data.jobseeker_profile=s.ResponseData.interview_schedule.profile,this.interview_detail_data.phone_code=s.ResponseData.interview_schedule.phone_code,this.interview_detail_data.phone=s.ResponseData.interview_schedule.phone,this.interview_detail_data.client_persons=s.ResponseData.interview_schedule.client_persons,this.interview_detail_data.post_skills=s.ResponseData.interview_schedule.jobpost_skills;let _=s.ResponseData.interview_schedule.jobseeker_skills.split(/[,]+/);console.log(_),this.interview_detail_data.js_skills=_,this.interview_detail_data.cancelled_by_whom=s.ResponseData.interview_schedule.cancelled_by_whom,this.interview_detail_data.cancelled_by=s.ResponseData.interview_schedule.cancelled_by,this.interview_detail_data.interview_date=R()(s.ResponseData.interview_schedule.date).format("D MMM, YYYY"),this.interview_detail_data.from_time=s.ResponseData.interview_schedule.from_time,this.interview_detail_data.jobseeker_id=s.ResponseData.interview_schedule.jobseeker_id,this.interview_detail_data.job_id=s.ResponseData.interview_schedule.job_id}},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}icsgenerateSingleevent(){if(!this.interview_id)return void this.toastr.error("Interview ID is missing");const t=jl.c.apiUrl+`/api/single-event/${this.interview_id}`,o={...this.httpService.GetAuthCommon(),responseType:"blob"};this.http.get(t,o).subscribe({next:i=>{const l=window.URL.createObjectURL(i),s=document.createElement("a");s.href=l,s.download=`interview-${this.interview_id}.ics`,document.body.appendChild(s),s.click(),s.remove(),window.URL.revokeObjectURL(l)},error:i=>{console.error("Download failed:",i),this.errorHandler.handleError(i),this.toastr.error("Failed to download calendar event")}})}icsgenerateevent(){this.getMonth=this.monthCal.getApi().getDate().getMonth()+1,this.getYear=this.monthCal.getApi().getDate().getFullYear(),console.log({month:this.getMonth}),console.log({year:this.getYear}),console.log({client:this.client_user_id}),console.log({jobseeker:this.jobseeker_user_id}),console.log({external:this.external_recruiter_user_id}),null!=this.jobseeker_user_id&&null!=this.client_user_id&&this.getMonth==this.upcoming_month&&this.getYear==this.upcoming_year?window.location.href=jl.c.apiUrl+"/api/ical-events/"+this.client_user_id+"/"+this.jobseeker_user_id+"/"+this.external_recruiter_user_id+"/"+this.getMonth+"/"+this.getYear:this.toastr.error("Upcoming event not avaliable")}
1static \u0275fac=function(o){return new(o||n)(e.rXU(ie.E),e.rXU(v.Bq),e.rXU(le.X),e.rXU(E.nX),e.rXU(y.aZ),e.rXU(oe.c),e.rXU(S.tw),e.rXU(_e.h),e.rXU(ye.u),e.rXU(Pe.Qq),e.rXU(Ja.k))};static \u0275cmp=e.VBU({type:n,selectors:[["app-upcoming-interviews"]],viewQuery:function(o,i){if(1&o&&(e.GBs(Xa,7),e.GBs(Aa,7),e.GBs(Ba,7)),2&o){let l;e.mGM(l=e.lsd())&&(i.monthCal=l.first),e.mGM(l=e.lsd())&&(i.dayCal=l.first),e.mGM(l=e.lsd())&&(i.eventInfoModal=l.first)}},inputs:{eventData:"eventData"},standalone:!0,features:[e.aNF],decls:10,vars:3,consts:[["monthViewCal",""],["dayViewCal",""],["eventInfoModal",""],[1,"upcoming-interviews-page","main-content-wrap"],[1,"month-view-section"],[1,"custom-cal","custom-cal-month",3,"options"],[1,"day-view-section"],[1,"custom-cal",3,"options"],[3,"loading"],[1,"modal-header"],[1,"modal-title"],[1,"d-flex","align-items-center"],["type","button","title","Download",1,"cr-modal-head-button",3,"click"],[1,"material-icons"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","p-0"],[1,"p-5"],[1,"d-flex","flex-column","align-items-center","text-center","mb-5"],[1,"event-author-wrap"],[1,"event-author-img","round","mb-3"],["alt","",1,"round","img-cover",3,"src"],[1,"event-author-info"],[1,"event-author-name"],[3,"href"],[1,"event-author-grid","mb-5"],[1,"event-author-details"],[1,"event-detail-title","fw-600"],[1,"fw-500"],["href","tel:9876543211"],[1,"cr-skills-wrap"],["class","cr-skill",4,"ngFor","ngForOf"],[1,"cr-skill"]],template:function(o,i){1&o&&(e.j41(0,"section",3)(1,"div",4),e.nrm(2,"full-calendar",5,0),e.k0s(),e.j41(4,"div",6),e.nrm(5,"full-calendar",7,1),e.k0s()(),e.nrm(7,"app-loading-spinner",8),e.DNE(8,La,39,14,"ng-template",null,2,e.C5r)),2&o&&(e.R7$(2),e.Y8G("options",i.monthViewOptions),e.R7$(3),e.Y8G("options",i.dayViewOptions),e.R7$(2),e.Y8G("loading",i.globals.loading))},dependencies:[y.MD,y.Sq,y.PV,v.UN,cl.E,cl.x,S._B],styles:[".upcoming-interviews-page[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 400px;grid-gap:15px;height:100%}.month-view-section[_ngcontent-%COMP%]{height:100%}@media screen and (max-width: 1199px){.upcoming-interviews-page[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-rows:1fr .7fr}}@media screen and (max-width: 767px){.upcoming-interviews-page[_ngcontent-%COMP%]{grid-template-rows:500px 500px}}@media screen and (max-width: 575px){.upcoming-interviews-page[_ngcontent-%COMP%]{grid-template-rows:60% 1fr}}@media screen and (max-width: 480px){.fc[_ngcontent-%COMP%] .fc-toolbar-title[_ngcontent-%COMP%]{font-size:16px!important}}"]})}return n})();var Ua=x(48032),za=x.n(Ua),Qa=x(18359),Wa=x(47669);const Za=["voice_call_modal"],Ka=["video_call_modal"],es=["add_user_modal"],ts=["select_user_for_call"],ns=["messageBox"],is=["cofirmationModal"],yl=n=>({"message-filter-item-active":n}),os=(n,a)=>({group:n,"not-group":a}),ls=n=>({color:n,"font-size":"17px","margin-left":"4px"});function as(n,a){if(1&n&&(e.j41(0,"span",49),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.total_unread_count>99?"99+":t.total_unread_count>0?t.total_unread_count:0," ")}}function ss(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,((null==t?null:t.room_name)||"").slice(0,25)),"... ")}}function rs(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,(null==t?null:t.room_name)||"")," ")}}function cs(n,a){if(1&n&&(e.j41(0,"span",64),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",(null==t?null:t.total_un_read_count)>99?"99+":null==t?null:t.total_un_read_count," ")}}function _s(n,a){if(1&n&&(e.j41(0,"span",64),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",(null==t?null:t.un_read_count)>=100?"99+":null==t?null:t.un_read_count," ")}}function ds(n,a){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div",65),e.bIt("click",function(){const i=e.eBV(t),l=i.$implicit,s=i.index,_=e.XpG(2).index,p=e.XpG(2);return p.chat_details=[],p.reset_pagination(),p.cardShowHide(_,s),e.Njj(p.getChatMemberList(l.unique_id,null==l?null:l.un_read_count,l))}),e.j41(2,"div",66)(3,"div",67)(4,"img",68),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()(),e.j41(5,"div",69)(6,"h5",70),e.EFF(7),e.nI1(8,"titlecase"),e.DNE(9,_s,2,1,"span",60),e.k0s()()()()()}if(2&n){const t=a.$implicit,o=a.index,i=e.XpG(2).index,l=e.XpG(2);e.R7$(),e.AVh("item-active",t.unique_id===l.unique_id),e.Y8G("ngClass","group-card-"+i+o)("ngClass",e.l_i(10,os,null==l.chatList[i]?null:l.chatList[i].is_group,!(null!=l.chatList[i]&&l.chatList[i].is_group))),e.R7$(),e.BMQ("data-id",t.unique_id),e.R7$(2),e.Y8G("src",null==t?null:t.job_user.image,e.B4B),e.R7$(3),e.SpI(" ",e.bMT(8,8,null==t?null:t.job_user.name)," "),e.R7$(2),e.Y8G("ngIf",0!=(null==t?null:t.un_read_count))}}function ps(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",54)(1,"div",55),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2);return e.Njj(l.toggleGroupPanel(i))})("keydown.enter",function(i){e.eBV(t);const l=e.XpG().index;return e.XpG(2).toggleGroupPanel(l),e.Njj(i.preventDefault())})("keydown.space",function(i){e.eBV(t);const l=e.XpG().index;return e.XpG(2).toggleGroupPanel(l),e.Njj(i.preventDefault())}),e.j41(2,"div",56)(3,"div",57)(4,"i",46),e.EFF(5,"groups"),e.k0s()(),e.j41(6,"h5",58),e.DNE(7,ss,3,3,"span",59)(8,rs,3,3,"span",59),e.k0s(),e.DNE(9,cs,2,1,"span",60),e.k0s(),e.j41(10,"div",61)(11,"i",11),e.EFF(12),e.k0s()()(),e.j41(13,"div",62)(14,"div",63),e.DNE(15,ds,10,13,"div",31),e.k0s()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index,l=e.XpG(2);e.R7$(7),e.Y8G("ngIf",((null==o?null:o.room_name)||"").length>25),e.R7$(),e.Y8G("ngIf",((null==o?null:o.room_name)||"").length<=25),e.R7$(),e.Y8G("ngIf",0!=(null==o?null:o.total_un_read_count)),e.R7$(3),e.SpI(" ",l.openGroupIndex===i?"expand_less":"expand_more"," "),e.R7$(),e.Y8G("ngbCollapse",l.openGroupIndex!==i),e.R7$(2),e.Y8G("ngForOf",null==o?null:o.member)}}function us(n,a){if(1&n&&(e.j41(0,"div",52),e.DNE(1,ps,16,6,"div",53),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","R"!=(null==t?null:t.type)&&1==(null==t?null:t.is_group))}}function ms(n,a){if(1&n&&(e.j41(0,"div",50),e.DNE(1,us,2,1,"div",51),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.chatList)}}function gs(n,a){1&n&&(e.j41(0,"div",71),e.EFF(1," No record found "),e.k0s())}function bs(n,a){if(1&n&&(e.j41(0,"span",78),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI("",(null==t.member[0]?null:t.member[0].un_read_count)>=100?"99+":null==t.member[0]?null:t.member[0].un_read_count," ")}}function fs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",74),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=i.$implicit,s=i.index,_=e.XpG(2);return _.chat_details=[],_.reset_pagination(),_.cardShowHideForList(s),e.Njj(_.getChatMemberList(l.member[0].unique_id,null==l.member[0]?null:l.member[0].un_read_count,l.member[0]))}),e.j41(1,"div",75)(2,"div",66)(3,"div",67)(4,"img",68),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()(),e.j41(5,"div",69)(6,"h5",70),e.EFF(7),e.nI1(8,"titlecase"),e.k0s()()(),e.j41(9,"div",76)(10,"div"),e.DNE(11,bs,2,1,"span",77),e.k0s()()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index,l=e.XpG(2);e.AVh("item-active",(null==o||null==o.member||null==o.member[0]?null:o.member[0].unique_id)===l.unique_id),e.Y8G("ngClass","group-card-"+i),e.R7$(4),e.FS9("src",o.profile,e.B4B),e.R7$(3),e.JRh(e.bMT(8,6,null==o?null:o.room_name)),e.R7$(4),e.Y8G("ngIf",0!=(null==o.member[0]?null:o.member[0].un_read_count))}}function hs(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,fs,12,8,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","J"==(null==t?null:t.type)&&0==(null==t?null:t.is_group))}}function vs(n,a){if(1&n&&(e.j41(0,"div",72)(1,"div",26),e.EFF(2," Jobseekers "),e.k0s(),e.DNE(3,hs,2,1,"div",31),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngForOf",t.chatList)}}function ks(n,a){if(1&n&&(e.j41(0,"span",78),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI("",(null==t.member[0]?null:t.member[0].un_read_count)>=100?"99+":null==t.member[0]?null:t.member[0].un_read_count," ")}}function js(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",74),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=i.$implicit,s=i.index,_=e.XpG();return _.chat_details=[],_.reset_pagination(),_.cardShowHideRecruiter(s),e.Njj(_.getChatMemberList(l.member[0].unique_id,null==l.member[0]?null:l.member[0].un_read_count,l.member[0]))}),e.j41(1,"div",75)(2,"div",66)(3,"div",67)(4,"img",68),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()(),e.j41(5,"div",69)(6,"h5",70),e.EFF(7),e.nI1(8,"titlecase"),e.k0s()()(),e.j41(9,"div",76)(10,"div"),e.DNE(11,ks,2,1,"span",77),e.k0s()()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index,l=e.XpG();e.AVh("item-active",(null==o||null==o.member||null==o.member[0]?null:o.member[0].unique_id)===l.unique_id),e.Y8G("ngClass","group-card-"+i),e.R7$(4),e.FS9("src",o.profile,e.B4B),e.R7$(3),e.JRh(e.bMT(8,6,null==o?null:o.room_name)),e.R7$(4),e.Y8G("ngIf",0!=(null==o.member[0]?null:o.member[0].un_read_count))}}function Cs(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,js,12,8,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","R"==(null==t?null:t.type))}}function ys(n,a){if(1&n){const t=e.RV6();e.j41(0,"img",79),e.bIt("error",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("src",t.apiUrl+"/storage/app/public/uploads/external_recruiter_profile/default.png",e.B4B)}}function ws(n,a){if(1&n){const t=e.RV6();e.j41(0,"img",79),e.bIt("error",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("src",t.recruiterProf,e.B4B)}}function xs(n,a){if(1&n&&(e.j41(0,"span",81),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("( ",e.bMT(2,1,t.jobseeker_name)," )")}}function Fs(n,a){if(1&n&&(e.j41(0,"h3",70),e.EFF(1),e.nI1(2,"slice"),e.DNE(3,xs,3,3,"span",80),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",e.brH(2,2,(t.groupName||"").charAt(0).toUpperCase()+(t.groupName||"").slice(1),0,30)+((t.groupName||"").length>30?"...":" ")," "),e.R7$(2),e.Y8G("ngIf",t.jobseeker_name)}}function Rs(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",82),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.open_modal_select_calling_users("video"))}),e.j41(1,"i",46),e.EFF(2,"videocam"),e.k0s()()}}function Ds(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",82),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.open_modal_select_calling_users("voice"))}),e.j41(1,"i",46),e.EFF(2,"phone"),e.k0s()()}}function Es(n,a){if(1&n&&(e.j41(0,"div",97),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;
1e.R7$(),e.E5c("",t.first_name," ",t.last_name," (",t.type,")")}}function Is(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",87)(1,"div",88)(2,"div",89)(3,"img",79),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()(),e.j41(4,"div",90)(5,"div",91)(6,"div",92)(7,"div",93),e.DNE(8,Es,2,3,"div",94),e.nrm(9,"div",95),e.k0s(),e.j41(10,"div",96),e.EFF(11),e.nI1(12,"date"),e.k0s()()()()()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.R7$(3),e.Mz_("src","",t.profile,"?img=68",e.B4B),e.R7$(5),e.Y8G("ngIf",t.type&&t.is_group),e.R7$(),e.Y8G("innerHTML",o.formatMessage(t.message),e.npT),e.R7$(2),e.SpI(" ",e.i5U(12,5,null==t?null:t.sent_date,"shortTime")," ")}}function Ts(n,a){1&n&&(e.j41(0,"div",97),e.EFF(1,"You"),e.k0s())}function Gs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",98)(1,"div",88)(2,"div",89)(3,"img",79),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()(),e.j41(4,"div",90)(5,"div",91)(6,"div",92)(7,"div",93),e.DNE(8,Ts,2,0,"div",94),e.nrm(9,"div",95),e.k0s(),e.j41(10,"div",96),e.EFF(11),e.nI1(12,"date"),e.k0s(),e.j41(13,"span",99),e.EFF(14," done_all "),e.k0s()()()()()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.R7$(3),e.Mz_("src","",t.profile,"?img=68",e.B4B),e.R7$(5),e.Y8G("ngIf",t.type&&t.is_group),e.R7$(),e.Y8G("innerHTML",o.formatMessage(t.message),e.npT),e.R7$(2),e.SpI(" ",e.i5U(12,6,null==t?null:t.sent_date,"shortTime")," "),e.R7$(2),e.Y8G("ngStyle",e.eq3(9,ls,1==(null==t?null:t.is_read)?"#2d9cdb":"#828282"))}}function Ms(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Is,13,8,"div",85)(2,Gs,15,11,"div",86),e.k0s()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.sent_by!=o.login_user),e.R7$(),e.Y8G("ngIf",t.sent_by==o.login_user)}}function Ss(n,a){if(1&n&&(e.j41(0,"div")(1,"div",83)(2,"div",84),e.EFF(3),e.nI1(4,"date"),e.k0s()(),e.DNE(5,Ms,3,2,"div",31),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(3),e.SpI(" ",e.i5U(4,2,null==t?null:t.date,"MMMM d, y")," "),e.R7$(2),e.Y8G("ngForOf",null==t?null:t.value)}}function Os(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Ss,6,5,"div",59),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",!(null!=t&&t.error))}}function $s(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"div",101)(2,"input",102),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.sendMessage,i)||(l.sendMessage=i),e.Njj(i)}),e.bIt("keyup.enter",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.sendChatMessage())})("input",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.onTypingKeyup(i))}),e.k0s()(),e.j41(3,"button",103),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.sendChatMessage())}),e.EFF(4," Send "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.R50("ngModel",t.sendMessage)}}function Ps(n,a){1&n&&(e.j41(0,"div",104)(1,"i",105),e.EFF(2,"lock"),e.k0s(),e.j41(3,"span",106),e.EFF(4,"Chat is disabled."),e.k0s()())}function Ns(n,a){1&n&&(e.j41(0,"small",111),e.EFF(1,"(Typing...)"),e.k0s())}function Ys(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",107),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG();return e.Njj(l.open_chat_with_member(i))}),e.j41(1,"div",108)(2,"div",67)(3,"img",68),e.bIt("error",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.globals.handleImageFailed(i))}),e.k0s(),e.nrm(4,"span",109),e.k0s(),e.j41(5,"div",69)(6,"h5",70),e.EFF(7),e.nI1(8,"titlecase"),e.DNE(9,Ns,2,0,"small",110),e.k0s(),e.j41(10,"p",70),e.EFF(11),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(3),e.FS9("src",null==t?null:t.image,e.B4B),e.R7$(),e.Y8G("ngClass",1==(null==t?null:t.is_online)?"member-online":"offline"),e.R7$(3),e.SpI(" ",e.bMT(8,5,null==t?null:t.name)," "),e.R7$(2),e.Y8G("ngIf",null==t?null:t.is_typing),e.R7$(2),e.JRh(null==t?null:t.typeName)}}function Vs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",112)(1,"h3",113),e.EFF(2,"Select Member for Call"),e.k0s(),e.j41(3,"button",114),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",115)(5,"div",116)(6,"ng-select",117),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.call_user_select,i)||(l.call_user_select=i),e.Njj(i)}),e.k0s()(),e.j41(7,"button",118),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.call_now())}),e.EFF(8),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("clearable",!1)("searchable",!0)("items",t.get_member_for_call),e.R50("ngModel",t.call_user_select),e.Y8G("closeOnSelect",!1)("maxSelectedItems",50)("multiple",!0),e.R7$(),e.Y8G("disabled",0==t.call_user_select.length),e.R7$(),e.SpI(" ","1"==t.ot_call_type?"Audio":"Video"," Call ")}}function Js(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",112)(1,"h3",113),e.EFF(2,"Add User"),e.k0s(),e.j41(3,"button",114),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",115)(5,"div",116)(6,"ng-select",119),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.selected_users,i)||(l.selected_users=i),e.Njj(i)}),e.bIt("change",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add_user())}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("clearable",!1)("searchable",!0)("items",t.users_list),e.R50("ngModel",t.selected_users)}}function Xs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",125)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"img",126),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()()}if(2&n){const t=a.item;e.R7$(2),e.JRh(t.name),e.R7$(),e.Y8G("src",t.image,e.B4B)}}function As(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",125)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"img",126),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()()}if(2&n){const t=a.item;e.R7$(2),e.JRh(t.name),e.R7$(),e.Y8G("src",t.image,e.B4B)}}function Bs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",112)(1,"h3",113),e.EFF(2,"Select Member for Call"),e.k0s(),e.j41(3,"button",114),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",115)(5,"div",116)(6,"ng-select",120,6),e.DNE(8,Xs,4,2,"ng-template",121)(9,As,4,2,"ng-template",122),e.k0s()(),e.j41(10,"div",123)(11,"button",124),e.EFF(12,"Submit"),e.k0s()()()}2&n&&(e.R7$(6),e.Y8G("closeOnSelect",!1)("maxSelectedItems",50)("multiple",!0))}function qs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",112)(1,"h3",127),e.EFF(2,"Are you sure you want to delete it?"),e.k0s(),e.j41(3,"button",128),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",129)(5,"button",130),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",131),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmSelect())}),e.EFF(8," Yes "),e.k0s()()}}let Ls=(()=>{class n{globals;fb;commonService;chatservice;NotificationService;toastr;errorHandler;modalService;titleService;meta;_router;route;location;changeDetector;authService;navigationService;countryLocalizeService;sanitizer;identity_name="";userDetails;chatList=[];storedChatList=[];memberList;groupName;sendMessage;unique_id;room_id;chat_details=[];get_member_for_call=[];login_user;is_typing;now;muted=0;video_width_chat=!1;swal;newwindow;subscriptions=new Qa.yU;chatMessageTimeout;typingIdleTimer;TYPING_IDLE_MS=5e3;getChatMemberListRetryId=null;is_group=!1;calling_type="";route_params=[];jobseeker_name="";userJobName="";userType="";showLoading=!1;deleteMemberUserId;activeIds=[];openGroupIndex=null;setJsIndex;currentGroup;currentChatOpenedByUserClick=!0;filterType="all";total_unread_count=0;voice_call_modal;video_call_modal;add_user_modal;select_user_for_call;messageBox;cofirmationModal;localVoice;
1remoteVoice;localVideo;remoteVideo;firstPerson=!1;socketCount=0;socketId;localStream;connections=[];users_list=[];selected_users=[];call_user_select=[];timeLeft=0;hours=0;interval;intiBy;groupname_index=null;peerConnectionConfig={iceServers:[{urls:"stun:stun.services.mozilla.com"},{urls:"stun:stun.l.google.com:19302"}]};modalOption={backdrop:"static",size:"lg",keyboard:!1};load_content=!1;scroll_height=1e3;last_scroll_height=0;ot_call_detail=[];ot_call_type="1";recruiterProf="";apiUrl=Wa.c.apiUrl;country;is_disabled_chat=!1;total_records=0;current=0;next_page=1;record_per_page=0;total_pages=0;loading_spinner=!1;blank_array={};isShowJs=!1;isShowReks=!1;isShowJobseekers=!1;messageListSidebar=!1;membersListSidebar=!1;isSocketConnected=!1;USER_TYPE_MAP={J:"Job Seeker",R:"Recruiter",C:"Client",ER:"External Recruiter",V:"Vendor",S:"Sales Person"};constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T,P,A,W){this.globals=t,this.fb=o,this.commonService=i,this.chatservice=l,this.NotificationService=s,this.toastr=_,this.errorHandler=p,this.modalService=u,this.titleService=b,this.meta=f,this._router=C,this.route=w,this.location=I,this.changeDetector=X,this.authService=T,this.navigationService=P,this.countryLocalizeService=A,this.sanitizer=W,this.country=this.countryLocalizeService.getCountryCode(),this.swal=za(),this._router.events.subscribe(he=>{if(he instanceof E.wF){let we=new URL(window.location.href);we instanceof URL&&we.pathname.split("/").includes("messages")&&window.addEventListener("scroll",this.scroll,!0)}})}scroll=t=>{window.location.pathname.split("/").includes("messages")&&($(".chat-content").length>1?$(".chat-content")[$(".chat-content").length-1].scrollTop<=400&&0==this.load_content&&this.total_pages>=this.next_page&&this.requestChatMessage():$(".chat-content").scrollTop()<=400&&0==this.load_content&&this.total_pages>=this.next_page&&this.requestChatMessage())};scrollToBottom(){this.messageBox&&setTimeout(()=>{const t=this.messageBox.nativeElement;t.scrollTop=t.scrollHeight})}ngOnInit(){var t=this;return(0,j.A)(function*(){t.globals.loading=!1,t.commonService.isDeletedUser().subscribe(i=>{1==i.ResponseCode&&(t.toastr.info(i.ResponseText),setTimeout(()=>{t.authService.logout()},1e3))}),t.userDetails=JSON.parse(localStorage.getItem("CR_PREF")),t.login_user=t.userDetails.user_id,("C"===t.userDetails.user_type||"CP"===t.userDetails.user_type)&&t.chatservice.client_regenerate_socket_connection(),yield t.getChatList(),yield t.getChatMessage(),t.get_members_status(),t.get_typing(),t.call_observe(),t.chat_init_with_new_room(),t.get_chatRoomDeleted(),t.addMember(),t.readChatMsg(),setTimeout(()=>{t.update_global_message_badge()},2e3),$(".remote_video"),$(".chat-menu-left").on("click",()=>{$(".sidebar-col").toggleClass("sidebarslow"),$(".rightside-col").removeClass("rightsideslow")}),$(".member-menu-right").on("click",()=>{$(".rightside-col").toggleClass("rightsideslow"),$(".sidebar-col").removeClass("sidebarslow")}),$("body").on("click",".rightside .media",()=>{$(".rightside-col").removeClass("rightsideslow")}),$(".btn-adduser").on("click",()=>{$(".rightside-col").addClass("rightsideslow")}),$(".chat-box").on("click",()=>{$(".sidebar-col").removeClass("sidebarslow"),$(".rightside-col").removeClass("rightsideslow"),$(t).addClass("active")}),$("body").on("click","ul.submenu li a",()=>{$(".sidebar-col").removeClass("sidebarslow")}),$("body").on("click",".not-group",()=>{$(".sidebar-col").removeClass("sidebarslow")}),$(".sidebar-col, .rightside-col").on("click",()=>{$(".btn.active").removeClass("active"),$(".chat-box").addClass("active")}),$(function(){$(".foote-chat-mobile .btn").click(function(){$(".btn.active").removeClass("active"),$(this).addClass("active")}),$("body").on("click",".group-card.accordion",function(){$("li").removeClass("active"),$(this).addClass("active")})}),$(".chat-menu-left").trigger("click"),t.route.queryParams.subscribe(i=>{if(t.route.snapshot.queryParamMap.get("unique_id")||delete t.route_params.unique_id,t.route.snapshot.queryParamMap.get("room_id")||delete t.route_params.room_id,t.route.snapshot.queryParamMap.get("unique_id"))try{t.route_params.unique_id=atob(t.route.snapshot.queryParamMap.get("unique_id"))}catch(s){console.log("unique_id",s)}if(t.route.snapshot.queryParamMap.get("room_id"))try{t.route_params.room_id=atob(t.route.snapshot.queryParamMap.get("room_id"))}catch(s){console.log("room_id",s)}const l=t.route_params.unique_id??t.route_params.room_id;l&&l!==t.unique_id&&t.open_on_existing_chat()})})()}cardShowHide(t,o){$(".member-item").removeClass("item-active"),$(`.group-card-${t}${o}`).addClass("item-active")}cardShowHideForList(t){$(".member-item").removeClass("item-active"),$(`.group-card-${t}`).addClass("item-active")}cardShowHideRecruiter(t){$(".member-item").removeClass("item-active"),$(`.group-card-${t}`).addClass("item-active")}toggleGroupPanel(t){this.openGroupIndex=this.openGroupIndex===t?null:t}toggleMessageListSidebar(){this.membersListSidebar=!1,this.messageListSidebar=!this.messageListSidebar}toggleMembersListSidebar(){this.messageListSidebar=!1,this.membersListSidebar=!this.membersListSidebar}ngOnDestroy(){this.subscriptions&&this.subscriptions.unsubscribe(),this.chatMessageTimeout&&(clearTimeout(this.chatMessageTimeout),this.chatMessageTimeout=null),this.clearTypingIdleTimer(),this.chatservice&&this.unique_id&&this.chatservice.clear_active_room({unique_id:this.unique_id})}getUsersList(){let t={jobseeker_id:0,client_id:0,room_id:this.room_id};this.memberList.forEach(o=>{"J"==o.type&&(t.jobseeker_id=o.id),"C"==o.type&&(t.client_id=o.id)}),this.chatservice.getUsersList(t).subscribe(o=>{1==o.ResponseCode?this.users_list=o.ResponseData:this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}add_user(){let t={users:this.selected_users,room_id:this.room_id,groupName:this.groupName,unique_id:this.unique_id,intiBy:this.intiBy,is_group:this.is_group};this.chatservice.add_new_member(t),this.globals.loading=!0,this.chatservice.addUser(t).subscribe(o=>{1==o.ResponseCode&&(this.getChatMemberList(this.unique_id),this.toastr.success(o.ResponseText),this.selected_users=[],this.modalService.dismissAll()),this.globals.loading=!1},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}getChatList(){var t=this;return(0,j.A)(function*(){t.globals.loading=!0;const o=new Promise((i,l)=>{setTimeout(()=>l(new Error("Request timeout")),3e4)});try{yield Promise.race([t.chatservice.getChatList().toPromise(),o]).then(i=>{if(console.log("Client getChatList received response:",i),t.globals.loading=!1,i&&1==i.ResponseCode){t.chatList=[...i.ResponseData],t.storedChatList=[...i.ResponseData],0==t.chatList.length?t.blank_array={error:"No chats initiated."}:t.get_total_unread(),t.isShowJobseekers=!!t.chatList.some(s=>"J"==s?.type&&0==s?.is_group);const l=JSON.parse(localStorage.getItem("CR_PREF")||"{}");l&&l.user_id&&t.chatservice.getUnreadCounter({user_id:l.user_id,u_details:l}),setTimeout(()=>{t.open_on_existing_chat()},1e3)}else t.toastr.error(i?.ResponseText||"Failed to load chat list")})}catch(i){t.globals.loading=!1,t.toastr.error("Failed to connect to chat server. Please check your connection."),t.errorHandler.handleError(i)}})()}open_on_existing_chat(){let t=null;
1try{const s=this.route.snapshot.queryParamMap.get("unique_id"),_=this.route.snapshot.queryParamMap.get("room_id");s?t=atob(s):_&&(t=atob(_))}catch(s){console.log("open_on_existing_chat decode error",s)}if(!t||this.unique_id===t)return;const o=this.chatList||[],i=o.find(s=>s.member?.some(_=>_.unique_id===t)),l=i?{...i,profile:i.member?.find(s=>s.unique_id===t)?.image}:null;i&&o.forEach(s=>{(s.member||[]).forEach(_=>{_.unique_id===t&&"R"!=s.type&&(this.isShowJs=!0,this.setJsIndex=s.member.findIndex(p=>p.unique_id===t)),_.unique_id===t&&"R"===s.type&&(this.isShowReks=!0)})}),this.getChatMemberList(t,0,l||void 0,!1)}update_global_message_badge(){}getChatMemberList(t){var o=this;return(0,j.A)(function*(i,l=0,s="",_=!0){o.currentChatOpenedByUserClick=_,i&&(o.unique_id=i);const p=s?.member?.find(b=>b.unique_id===i)||null;o.is_disabled_chat=void 0!==s?.is_disabled?!!s.is_disabled:!!p?.is_disabled,s?.profile&&(o.recruiterProf=s.profile);const u={room_id:i};o.globals.loading=!0,o.chatservice.getMemberList(u).subscribe(function(){var b=(0,j.A)(function*(f){if(console.log("Client getChatMemberList received response:",f),1!==f.ResponseCode)return o.toastr.error(f.ResponseText),void(o.globals.loading=!1);const C=f.ResponseData;if(!C?.room_data)return void(o.getChatMemberListRetryId!==i?(o.getChatMemberListRetryId=i,setTimeout(()=>{o.getChatMemberListRetryId=null,o.getChatMemberList(i,l,s,_)},800)):(o.getChatMemberListRetryId=null,o.toastr.info("Chat room is loading. Please try again in a moment."),o.globals.loading=!1));const w=C.room_data;if(o.groupName=w.friendly_name,o.intiBy=w.initiated_by,o.unique_id=w.unique_id,o.room_id=w.id,o.memberList=C.member,o.currentGroup=w,o.is_group=w.is_group,o.chat_details=[],!o.recruiterProf&&C.member?.length){const T=C.member.find(P=>P.id!==o.login_user);T?.image&&(o.recruiterProf=T.image)}
1if(o.isShowJs&&(o.openGroupIndex=o.currentGroup.is_group?o.chatList.findIndex(T=>T.member[0].unique_id===o.unique_id):null,yield o.move_last_chat_to_first(),o.cardShowHide(0,o.setJsIndex),o.isShowJs=!1),o.isShowReks&&(yield o.move_last_chat_to_first(),o.isShowReks=!1),_){l>0&&(o.globals.messageBedge=Math.max(0,(o.globals.messageBedge||0)-l));const T=P=>{P?.forEach(A=>{const W=A?.member||[];(A?.unique_id===o.unique_id||W.some(we=>we?.unique_id===o.unique_id))&&("number"==typeof A.un_read_count&&(A.un_read_count=0),"number"==typeof A.total_un_read_count&&(A.total_un_read_count=0),W.forEach(we=>{we?.unique_id===o.unique_id&&(we.un_read_count=0)}))})};T(o.chatList),T(o.storedChatList),o.get_total_unread()}o.requestChatMessage(),o.request_members_status(),o.getUsersList(),o.jobseeker_name="";const I=o.memberList.find(T=>"J"===T.type&&o.currentGroup.is_group);I&&(o.jobseeker_name=I.name,o.recruiterProf=I.image);const X=btoa(o.unique_id);o.navigationService.navigate("client/messages",o.route,{queryParams:{unique_id:X,room_id:X},replaceUrl:!0}),yield o.get_total_unread(),_&&(yield o.requestSetReadMessage(),yield o.sendMarkReadMessage()),o.globals.loading=!1});return function(f){return b.apply(this,arguments)}}(),b=>{o.globals.loading=!1,o.errorHandler.handleError(b)})}).apply(this,arguments)}sendChatMessage(){var t=this;return(0,j.A)(function*(){if(null!=t.unique_id&&null!=t.room_id&&null==t.sendMessage)return!1;if(null!=t.unique_id&&null!=t.room_id&&null!=t.sendMessage){var o={unique_id:t.unique_id,room_id:t.room_id,sender_id:t.userDetails.user_id,message:t.sendMessage,first_name:t.userDetails.name,last_name:"",is_group:t.is_group,friendly_name:t.groupName,user_type:t.userDetails.user_type};yield t.chatservice.send_message(o),t.sendMessage=null}else t.toastr.error("Please Select Any Group!")})()}move_last_chat_to_first(){var t=this;new Promise((i,l)=>{this.chatList.findIndex((_,p)=>{if(0!=_.member.filter(b=>b.unique_id===this.unique_id).length)return i(p),p})}).then(function(){var i=(0,j.A)(function*(l){let s=l;if(s>=0){let _=t.chatList,p=t.chatList[s];1==t.isShowReks&&delete _[s],1==t.isShowJs&&delete _[s],t.chatList=[],t.chatList[0]=p,t.recruiterProf=p.profile,_.forEach((u,b)=>{t.chatList.push(u)}),t.changeDetector.detectChanges(),$(".group").removeClass("active"),$(".not-group").removeClass("active"),$(".chatnav li").first().addClass("active"),$("#"+t.unique_id).parent("li").addClass("active-member")}});return function(l){return i.apply(this,arguments)}}())}callmute_btn(){this.chatservice.callMuteVoice(),this.muted=1}callunmute_btn(){this.chatservice.callUnmuteVoice(),this.muted=0}requestChatMessage(){this.load_content=!0,this.chatservice.request_chat_message({room_id:this.room_id,user_id:this.userDetails.user_id,page:this.next_page})}getChatMessage(){var t=this;return(0,j.A)(function*(){yield t.subscriptions.add(t.chatservice.get_chat_message().subscribe(o=>{if(console.log("Client received message:",o),t.chatMessageTimeout&&(clearTimeout(t.chatMessageTimeout),t.chatMessageTimeout=null),o)if(0!=o.length){var i=o[0].value[0].unique_id;if(null!=t.unique_id&&null!=t.unique_id&&t.unique_id==i)if(console.log("Client message matches current chat room"),t.unique_id!=(i=o[0].value[0].unique_id)&&0!=t.chat_details.length&&t.increment_unread_message(i),0==t.chat_details.length)null!=o[0]&&o[0].hasOwnProperty("pagination")&&t.set_pagination(o[0].pagination),o.sort((u,b)=>new Date(u.date).getTime()-new Date(b.date).getTime()).forEach(u=>{t.chat_details.push(u)}),t.chat_details=t.chat_details.map(u=>({...u,value:u.value.map(b=>({...b,type:t.USER_TYPE_MAP[b.user_type]||b.type,is_group:t.currentGroup.is_group}))})),setTimeout(()=>{t.scrollToBottom()},100),t.load_content=!1,t.chatMessageTimeout&&(clearTimeout(t.chatMessageTimeout),t.chatMessageTimeout=null);else if(o[0].hasOwnProperty("pagination")){let p=o[0].pagination;t.sortData(o),t.set_pagination(p);for(const u in o)if(t.chat_details.some(b=>b.date===o[u].date)){var l=t.chat_details.findIndex(b=>b.date==o[u].date);t.chat_details[l].value=o[u].value.concat(t.chat_details[l].value),t.scroll_height=t.scroll_height-1}else t.chat_details.unshift(o[u]),t.scroll_height=t.scroll_height-1;t.load_content=!1,t.chatMessageTimeout&&(clearTimeout(t.chatMessageTimeout),t.chatMessageTimeout=null)}else{let p=t.chat_details.findIndex(u=>u.date===o[0].date);-1==p?t.chat_details.push(o[0]):(t.chat_details[p].value.push(o[0].value[0]),o[0].value[0].sent_by!=t.userDetails.user_id&&(t.globals.messageBedge-=1,t.globals.messageBedge<0&&(t.globals.messageBedge=0))),t.load_content=!1,t.chatMessageTimeout&&(clearTimeout(t.chatMessageTimeout),t.chatMessageTimeout=null),t.scrollToBottom()}else t.increment_unread_message(i)}else t.blank_array={error:"No messages have been sent yet."},t.load_content=!1;else t.toastr.error(o.ResponseText||"Failed to load messages"),t.load_content=!1;t.globals.loading=!1,t.currentChatOpenedByUserClick&&null!=t.room_id&&o&&o.length>0&&null!=t.unique_id&&o[0].value?.[0]?.unique_id===t.unique_id&&t.requestSetReadMessage()},o=>{console.error("Client getChatMessage error:",o),t.load_content=!1,t.globals.loading=!1,t.chatMessageTimeout&&(clearTimeout(t.chatMessageTimeout),t.chatMessageTimeout=null),t.errorHandler.handleError(o)}))})()}set_pagination(t){t&&(this.total_records=t.total_records,this.current=t.current,this.next_page=t.next_page,this.record_per_page=t.record_per_page,this.total_pages=t.total_pages)}sortData(t){return t.sort((o,i)=>new Date(i.date)-new Date(o.date))}scrolldown(){}request_members_status(){let t=[];this.memberList.forEach(i=>
1{t.push(i.id)}),this.chatservice.request_members_status({user_ids:t})}get_members_status(){this.chatservice.get_members_status().subscribe(t=>{null!=this.memberList&&(this.memberList.forEach(o=>{1==t[o.id]&&(o.is_online=1,o.disabled=!1),0==t[o.id]&&(o.is_online=0,o.disabled=!0)}),this.get_online_users_for_call())},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}clearTypingIdleTimer(){this.typingIdleTimer&&(clearTimeout(this.typingIdleTimer),this.typingIdleTimer=null)}onTypingKeyup(t){this.clearTypingIdleTimer();const o=String(this.sendMessage||"").trim();("deleteContentBackward"===t.inputType||"deleteContentForward"===t.inputType)&&this.releave_typing(),o?("insertText"===t.inputType&&this.send_typing(),this.typingIdleTimer=setTimeout(()=>{this.typingIdleTimer=null,this.releave_typing()},this.TYPING_IDLE_MS)):this.releave_typing()}send_typing(){null!=this.room_id&&this.chatservice.send_typing({unique_id:this.unique_id,room_id:this.room_id,user_id:this.userDetails.user_id,is_typing:1,name:this.userDetails.name})}get_typing(){this.chatservice.get_typing().subscribe(t=>{null!=this.memberList&&this.memberList.forEach(o=>{this.unique_id==t.unique_id&&o.id==t.user_id&&(o.is_typing=t.is_typing)})},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}releave_typing(){null!=this.room_id&&this.chatservice.send_typing({unique_id:this.unique_id,room_id:this.room_id,user_id:this.userDetails.user_id,is_typing:0,name:this.userDetails.name})}open_modal(t){this.video_width_chat=!1,this.modalService.dismissAll(),"video"==t&&(0==this.globals.on_voice_calling&&(this.chatservice.calling_detail.calling_user_socket_id=this.chatservice.socketId,this.chatservice.calling_detail.calling_user_name=this.userDetails.name,this.chatservice.calling_detail.calling_group_name=this.groupName,this.chatservice.calling_detail.unique_id=this.unique_id,this.chatservice.calling_detail.calling_members=[],this.memberList.forEach(i=>{(this.call_user_select.includes(i.id)||i.id==this.login_user)&&1==i.is_online&&(i.calling_status=0,this.chatservice.calling_detail.calling_members.push(i))})),new Promise((i,l)=>{i(this.modalService.open(this.video_call_modal,this.modalOption))}).then(i=>{this.chatservice.request_to_ready_all_sockets(),this.chatservice.stream_video()}).then(i=>{let s=setInterval(()=>{null!=this.chatservice.localVoiceStream&&(this.video_call_btn(this.unique_id),clearInterval(s))},1e3)})),"voice"==t&&(0==this.globals.on_voice_calling&&(this.chatservice.calling_detail.calling_user_socket_id=this.chatservice.socketId,this.chatservice.calling_detail.calling_user_name=this.userDetails.name,this.chatservice.calling_detail.calling_group_name=this.groupName,this.chatservice.calling_detail.unique_id=this.unique_id,this.chatservice.calling_detail.calling_members=[],this.memberList.forEach(i=>{(this.call_user_select.includes(i.id)||i.id==this.login_user)&&1==i.is_online&&(i.calling_status=0,this.chatservice.calling_detail.calling_members.push(i))})),new Promise((i,l)=>{i(this.modalService.open(this.voice_call_modal,this.modalOption))}).then(i=>{this.chatservice.request_to_ready_all_sockets(),this.chatservice.stream_audio()}).then(i=>{let s=setInterval(()=>{null!=this.chatservice.localVoiceStream&&(this.call_btn(this.unique_id),clearInterval(s))},1e3)})),"add_user"==t&&this.modalService.open(this.add_user_modal,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-small"})}call_observe(){this.chatservice.call_observer$.subscribe(t=>{"voice"==t.type?(this.startTimer(),this.modalService.open(this.voice_call_modal,this.modalOption)):"video"==t.type?this.modalService.open(this.video_call_modal,this.modalOption):"close_modal"==t.type?(this.timeLeft=0,this.hours=0,this.cancelTimer(),this.modalService.dismissAll()):"every_one_rejected"==t.type?("voice"==t.call_type?this.dismiss_call():this.dismiss_video_call(),this.modalService.dismissAll(),this.toastr.error("Everyone rejected your call")):"call_rejected"==t.type&&("voice"==t.call_type?this.dismiss_call():this.dismiss_video_call(),this.modalService.dismissAll(),this.toastr.error("Call was rejected by the recipient"))},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}requestSetReadMessage(){this.chatservice.sendReadRequest({room_id:this.room_id,user_id:this.userDetails.user_id})}voiceCall(){this.chatservice.voiceCall({unique_id:this.unique_id})}ready(){this.globals.on_voice_calling=!0,this.chatservice.pageReady()}dismiss_call(){let t={type:"dismiss_call",unique_id:this.unique_id};this.modalService.dismissAll(),this.globals.on_voice_calling=!1,this.chatservice.do_call_action(t),this.cancelTimer(),this.timeLeft=0,this.hours=0,this.open_modal({type:"close_modal"})}call_btn(t){0==this.globals.on_voice_calling&&this.chatservice.calling_detail.calling_members.forEac
1h(o=>{o.socketId=null,this.chatservice.my_user_id==o.id?(o.socketId=this.chatservice.socketId,o.calling_status=2,this.startTimer()):o.calling_status=1}),this.globals.on_voice_calling=!0,this.chatservice.call_btn(t,this.chatservice.calling_detail)}dismiss_video_call(){let t={type:"dismiss_video_call",unique_id:this.unique_id};this.modalService.dismissAll(),this.globals.on_video_calling=!1,this.chatservice.do_video_call_action(t),this.open_modal({type:"close_modal"})}video_call_btn(t){0==this.globals.on_video_calling&&this.chatservice.calling_detail.calling_members.forEach(o=>{o.socketId=null,this.chatservice.my_user_id==o.id?(o.socketId=this.chatservice.socketId,o.calling_status=2,$(".remote_video")):(o.calling_status=1,$(".remote_video"))}),this.globals.on_video_calling=!0,this.chatservice.video_call_btn(t,this.chatservice.calling_detail)}startTimer(){this.interval=setInterval(()=>{this.timeLeft>=0?(60==this.timeLeft&&(this.timeLeft=0,this.hours++),this.timeLeft++):this.timeLeft=60==this.timeLeft?0:60},1e3)}cancelTimer(){clearInterval(this.interval)}deleteMember(t){this.deleteMemberUserId=t,this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"})}confirmSelect(){let t={user_id:this.deleteMemberUserId,room_id:this.room_id};this.globals.loading=!0,this.chatservice.removeUser(t).subscribe(o=>{1==o.ResponseCode?(this.getChatMemberList(this.unique_id),this.chatservice.deletechatroom({groupName:this.groupName,intiBy:this.intiBy,unique_id:this.unique_id,is_group:this.is_group,room_id:this.room_id,member_id:this.deleteMemberUserId,type:"single_user_remove"}),this.toastr.success(o.ResponseText),this.modalClose()):this.toastr.error(o.ResponseText),this.globals.loading=!1},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}toggleActiveClass(t){this.groupname_index=t}chatbox_toggle(){this.video_width_chat=!this.video_width_chat}reset_pagination(){this.total_records=0,this.current=0,this.next_page=1,this.record_per_page=0,this.total_pages=0,this.last_scroll_height=0,this.scroll_height=1e3}get_total_unread(){var t=this;return(0,j.A)(function*(){yield setTimeout((0,j.A)(function*(){t.globals.messageBedge=0,yield t.chatList.forEach(i=>{const l=i.member;let s=0;l&&Array.isArray(l)&&l.forEach(_=>{s+=_.un_read_count||0}),s||"number"!=typeof i.total_un_read_count?!s&&"number"==typeof i.un_read_count&&(s=i.un_read_count||0):s=i.total_un_read_count||0,i.total_un_read_count=s,t.globals.messageBedge+=s}),t.total_unread_count=(t.storedChatList||[]).reduce((i,l)=>i+(null!=l?.total_un_read_count?l.total_un_read_count:l?.un_read_count||0),0);let o=[];yield t.chatList.forEach((i,l)=>{i.total_un_read_count>0&&(o.push(i),t.chatList.splice(l,1))});for(let i=0;i<o.length;i++)t.chatList.unshift(o[i])}),1e3)})()}increment_unread_message(t){this.chatList.forEach(o=>{o.member.forEach(i=>{i.unique_id==t&&(i.un_read_count=i.un_read_count+1)})}),this.get_total_unread()}chat_init_with_new_room(){this.chatservice.chat_init_with_new_room().subscribe(t=>{setTimeout(()=>{this.chat_details=[],this.users_list=[],this.getChatList()},1e3)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}open_modal_select_calling_users(t){if(this.ot_call_type="video"==t?"2":"1",this.get_member_for_call=[],this.call_user_select=[],this.get_online_users_for_call(),1==this.get_member_for_call.length){let o=this.get_member_for_call[0].id;o&&(this.call_user_select=[o],this.call_now())}else this.calling_type=t,this.modalService.open(this.select_user_for_call,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-small"})}get_online_users_for_call(){this.get_member_for_call=[],this.memberList.forEach(t=>{t.id!=this.login_user&&(t.disabled=!1,this.get_member_for_call.push(t))})}modalClose(){this.modalService.dismissAll()}call_now(){let t={user_ids:this.call_user_select.join(","),call_type:this.ot_call_type};this.globals.loading=!0,this.commonService.init_call(t).subscribe(o=>{if(this.globals.loading=!1,this.modalService.dismissAll(),1==o.ResponseCode){this.ot_call_detail=o.ResponseData,localStorage.setItem("calling_data",JSON.stringify({is_connected:0,calling_data:this.ot_call_detail}));let l=screen.height-60,s=screen.width;this.newwindow=window.open("/"+this.country+"/client/calling","name","height="+l+",width="+s+"fullscreen=ye
1s"),this.newwindow.moveTo(0,0),this.chatservice.ot_do_call(this.ot_call_detail.call_data),window.focus&&this.newwindow.focus();let _=setInterval(()=>{this.newwindow&&this.newwindow.closed&&(clearInterval(_),this.chatservice.clearLocalStorageDetail(),this.chatservice.client_regenerate_socket_connection())},1e3)}else this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}deleteRoom(){this.swal.fire({title:"Are you sure?",text:"You will not be able to recover this room!",icon:"warning",showCancelButton:!0,confirmButtonText:"Confirm",confirmButtonColor:"#36a4c3",cancelButtonText:"Cancel",cancelButtonColor:"#afbdcf",customClass:"roomDeleteClass"}).then(t=>{if(t.value){let o={room_id:this.room_id};this.globals.loading=!0,this.chatservice.deleteRoom(o).subscribe(i=>{1==i.ResponseCode?(this.chatservice.deletechatroom({groupName:this.groupName,intiBy:this.intiBy,unique_id:this.unique_id,is_group:this.is_group,room_id:this.room_id}),this.groupName=null,this.intiBy=null,this.unique_id=null,this.is_group=null,this.room_id=null,this.memberList=null,this.chat_details=[],this.users_list=[],this.getChatList()):this.toastr.error(i.ResponseText),this.globals.loading=!1},i=>{this.globals.loading=!1,this.errorHandler.handleError(i)})}})}get_chatRoomDeleted(){this.chatservice.get_chatRoomDeleted().subscribe(t=>{this.unique_id==t.unique_id?0==t.is_group?(this.groupName=null,this.intiBy=null,this.unique_id=null,this.is_group=null,this.room_id=null,this.memberList=null,this.chat_details=[],this.users_list=[],this.getChatList()):"single_user_remove"==t.type?this.userDetails.user_id==t.member_id?(this.groupName=null,this.intiBy=null,this.unique_id=null,this.is_group=null,this.room_id=null,this.memberList=null,this.chat_details=[],this.users_list=[],this.getChatList()):this.chatservice.getMemberList({room_id:this.unique_id}).subscribe(i=>{1==i.ResponseCode&&(this.memberList=i.ResponseData.member)}):(this.groupName=null,this.intiBy=null,this.unique_id=null,this.is_group=null,this.room_id=null,this.memberList=null,this.chat_details=[],this.users_list=[],this.getChatList()):this.getChatList()},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}addMember(){this.chatservice.addMember().subscribe(t=>{this.unique_id!=t.unique_id?this.userDetails.user_id==t.users?(this.getChatList(),this.chatservice.getMemberList({room_id:t.unique_id}).subscribe(i=>{1==i.ResponseCode&&(this.memberList=i.ResponseData.member)})):this.chatservice.getMemberList({room_id:t.unique_id}).subscribe(l=>{1==l.ResponseCode&&(this.memberList=l.ResponseData.member)}):this.userDetails.user_id!=t.users&&this.chatservice.getMemberList({room_id:t.unique_id}).subscribe(l=>{1==l.ResponseCode&&(this.memberList=l.ResponseData.member)})},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}searchData(t){var o=this;return(0,j.A)(function*(){o.showLoading=!0,yield o.chatservice.getChatList().subscribe(function(){var i=(0,j.A)(function*(l){o.chatList=[],o.showLoading=!1,yield l.ResponseData.forEach(s=>{""==s.type&&s.room_name.toLowerCase().match(t.target.value.toLowerCase())&&o.chatList.push(s)})});return function(l){return i.apply(this,arguments)}}())})()}readChatMsg(){this.chatservice.readChatMsg().subscribe(t=>{console.log("read socket",t);const o=t?.room_id||t?.roomId,i=t?.unique_id||t?.uniqueId;if((!o&&!i||o&&o===this.room_id||i&&i===this.unique_id)&&this.chat_details&&this.chat_details.length>0){let s=!1;this.chat_details.forEach(_=>{_.value&&_.value.length>0&&_.value.forEach(p=>{p.sent_by===this.login_user&&1!==p.is_read&&(p.is_read=1,s=!0)})}),s&&this.changeDetector.detectChanges()}})}sendMarkReadMessage(){this.chatservice.sendMarkReadMessage({room_id:this.currentGroup.id})}filterMessages(t){this.filterType=t;const o=this.storedChatList||[];this.chatList="unread"===t?o.filter(i=>(i?.total_un_read_count||0)>0):[...o],this.total_unread_count=this.chatList.reduce((i,l)=>i+(l?.total_un_read_count||0),0),this.isShowJobseekers=this.chatList.some(i=>"J"===i?.type&&!1===i?.is_group),this.get_total_unread()}open_chat_with_member(t){if(t.is_disabled)return void this.toastr.error("Chat is disabled.");
1if(t.id===this.login_user)return;const o=this.chatList||[];if(!this.is_group)return;if(t.unique_id){if(this.unique_id===t.unique_id)return;return this.chat_details=[],this.reset_pagination(),void this.getChatMemberList(t.unique_id,t.un_read_count||0,t,!0)}if(this.is_group){const f=this.find_existing_direct_chat_with_member(o,t.id);if(f){const C=f.unique_id||f.member?.[0]?.unique_id;if(C){if(this.unique_id===C)return;this.chat_details=[],this.reset_pagination();const w={...f,profile:f.profile||f.member?.[0]?.image};return void this.getChatMemberList(C,0,w,!0)}}return void this.initiate_direct_chat_with_member(t)}const i=this.currentGroup?.unique_id;if(!i)return void this.toastr.info("No chat room selected.");const l=o.findIndex(f=>f?.unique_id===i||f?.member?.some(C=>C?.unique_id===i));if(-1===l)return void this.initiate_direct_chat_with_member(t);const s=o[l],_=s?.member||[],p=_.findIndex(f=>(f?.id||f?.job_user?.id)===t.id);if(-1===p)return void this.initiate_direct_chat_with_member(t);const u=_[p],b=u?.unique_id;b?(this.chat_details=[],this.reset_pagination(),"R"===s.type?this.cardShowHideRecruiter(l):this.cardShowHide(l,p),this.getChatMemberList(b,u?.un_read_count||0,u,!0)):this.initiate_direct_chat_with_member(t)}find_existing_direct_chat_with_member(t,o){if(!t?.length)return null;const i=this.login_user;for(const l of t){if(l?.is_group)continue;const s=l?.member||[],_=s.some(u=>(u?.id||u?.job_user?.id)===o),p=s.some(u=>(u?.id||u?.job_user?.id)===i);if(_&&p)return l}return null}initiate_direct_chat_with_member(t){const i=JSON.parse(localStorage.getItem("CR_PREF")||"{}").user_id;let s={initiated_by:i};if("R"===t.type)s.recruiter_user_id=t.recruiter_user_id||t.user_id||t.id,s.client_user_id=i;else if("J"===t.type)s.jobseeker_user_id=t.user_id||t.id,s.client_user_id=i,s.is_direct_chat=!0;else{if("C"!==t.type)return void this.toastr.info("Direct chat is not available for this member type.");s.client_user_id=i,s.other_client_user_id=t.id}this.chatservice.initiate_chat(s),this.chatservice.get_group_data().pipe((0,Ee.s)(1)).subscribe(_=>{_?.unique_id&&(this.globals.loading=!0,this.getChatList().then(()=>{setTimeout(()=>{this.navigationService.navigate("client/messages",this.route,{queryParams:{unique_id:btoa(_.unique_id),room_id:_.room_id?btoa(String(_.room_id)):btoa(_.unique_id)},replaceUrl:!0}),this.changeDetector.detectChanges()},400)}))},()=>{this.globals.loading=!1})}linkify(t){return t?t.replace(/((https?:\/\/|www\.)[^\s]+)/g,i=>{let l=i;return l.startsWith("http")||(l="https://"+l),`<a href="${l}" target="_blank" rel="noopener noreferrer">${i}</a>`}):""}formatMessage(t){const o=this.linkify(t);return this.sanitizer.bypassSecurityTrustHtml(o)}static \u0275fac=function(o){return new(o||n)(e.rXU(ie.E),e.rXU(g.ok),e.rXU(_e.h),e.rXU(Ae.m),e.rXU(ve.J),e.rXU(S.tw),e.rXU(oe.c),e.rXU(v.Bq),e.rXU(fe.hE),e.rXU(fe.W8),e.rXU(E.Ix),e.rXU(E.nX),e.rXU(y.aZ),e.rXU(e.gRc),e.rXU(ye.u),e.rXU(ae.o),e.rXU(B.z),e.rXU(fe.up))};static \u0275cmp=e.VBU({type:n,selectors:[["app-messages"]],viewQuery:function(o,i){if(1&o&&(e.GBs(Za,5),e.GBs(Ka,5),e.GBs(es,5),e.GBs(ts,5),e.GBs(ns,5),e.GBs(is,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.voice_call_modal=l.first),e.mGM(l=e.lsd())&&(i.video_call_modal=l.first),e.mGM(l=e.lsd())&&(i.add_user_modal=l.first),e.mGM(l=e.lsd())&&(i.select_user_for_call=l.first),e.mGM(l=e.lsd())&&(i.messageBox=l.first),e.mGM(l=e.lsd())&&(i.cofirmationModal=l.first)}},standalone:!0,features:[e.aNF],decls:71,vars:26,consts:[["searchMessage",""],["scrollMe",""],["messageBox",""],["select_user_for_call",""],["add_user_modal",""],["cofirmationModal",""],["member",""],[3,"loading"],[1,"messages-page","main-content-wrap"],[1,"message-togglers","d-xl-none"],["title","Toggle group list",1,"cr-button-round",3,"click"],[1,"material-icons"],["title","Toggle members list",1,"cr-button-round",3,"click"],[1,"cr-chat-module"],[1,"cr-messages",3,"ngClass"],[1,"cr-chat-aside-head","cr-inner-box"],[1,"head-title"],[1,"cr-message-filter"],[1,"cr-message-filter-list"],[1,"cr-message-filter-item",3,"click","ngClass"],["class","cr-message-filter-item-count",4,"ngIf"],[1,"cr-message-search"],[1,"cr-input-wrap","input-icon-prepend","mb-5"],[1,"material-icons","cr-input-icon","icon-first"],["type","text","name","searchMessage","autocomplete","new-searchMessage","placeholder","Search by group",1,"cr-form-control","control-medium",3,"keyup"],[1,"cr-group-wrap"],[1,"gray-3","text-uppercase","mb-3","fw-500","cr-inner-box"],["class","cr-group",4,"ngIf"],["class","cr-group","style","padding: 0 25px; margin: 0 0 15px 0",4,"ngIf"],["class","cr-jobseekers-wrap",4,"ngIf"],[1,"cr-recruiters-wrap"],[4,"ngFor","ngForOf"],[1,"cr-chat"],[1,"cr-chat-header"],[1,"cr-chat-header-left"],[1,"cr-chat-header-img","mr-4","flex-shrink-0"],["alt","","class","round img-cover",3,"src","error",4,"ngIf"],[1,"cr-chat-header-info"],["class","mb-0",4,"ngIf"],[1,"cr-chat-header-right"],["class","cr-btn-round cr-btn-filled cr-btn-green",3,"click",4,"ngIf"],[1,"cr-message-box"],["class","cr-chat-footer",4,"ngIf"],["class","cr-chat-disabled-footer",4,"ngIf"],[1,"cr-members",3,"ngClass"],["title","Add Members",1,"cr-btn-round",3,"click","hidden"],[1,"material-icons-outlined"],[1,"members-list"],["class","member-item",3,"click",4,"ngFor","ngForOf"],[1,"cr-message-filter-item-count"],[1,"cr-group"],["class","group-card",4,"ngFor","ngForOf"],[1,"group-card"],["class","cr-group-accordion",4,"ngIf"],[1,"cr-group-accordion"],["role","button","tabindex","0",1,"group-head",3,"click","keydown.enter","keydown.space"],[1,"group-main-info"],[1,"group-img"],[1,"group-name",2,"text-align","left"],[4,"ngIf"],["class","member-msg-count ml-2",4,"ngIf"],[1,"accordion-arrow"],[3,"ngbCollapse"],[1,"group-collapse-body"],[1,"member-msg-count","ml-2"],[1,"member-item",3,"click","ngClass"],[1,"member-item-left"],[1,"member-item-img"],["alt","",1,"img-cover","round",3,"error","src"],[1,"member-info"],[1,"mb-0"],[1,"cr-group",2,"padding","0 25px","margin","0 0 15px 0"],[1,"cr-jobseekers-wrap"],["class","member-item p-0",3,"ngClass","item-active","click",4,"ngIf"],[1,"member-item","p-0",3,"click","ngClass"],[1,"member-item"],[1,"member-item-right"],["class","member-msg-count",4,"ngIf"],[1,"member-msg-count"],["alt","",1,"round","img-cover",3,"error","src"],["style","font-weight: normal; font-size: 20px; margin-left: 10px",4,"ngIf"],[2,"font-weight","normal","font-size","20px","margin-left","10px"],[1,"cr-btn-round","cr-btn-filled","cr-btn-green",3,"click"],[1,"cr-day-stamp-wrap"],[1,"cr-day-stamp"],["class","cr-msgbox-msg msg-recieved",4,"ngIf"],["class","cr-msgbox-msg msg-sent",4,"ngIf"],[1,"cr-msgbox-msg","msg-recieved"],[1,"cr-msg-wrap"],[1,"cr-msg-icon"],[1,"cr-msg-list"],[1,"cr-msg"],[1,"cr-msg-content","d-flex","align-items-end"],[1,"d-flex","flex-column"],["class","chat-user-type",4,"ngIf"],[3,"innerHTML"],[1,"cr-msg-time","pb-0","ml-3"],[1,"chat-user-type"],[1,"cr-msgbox-msg","msg-sent"],[1,"material-icons-outlined",3,"ngStyle"],[1,"cr-chat-footer"],[1,"cr-input-wrap"],["type","text","name","chat-current-msg","placeholder","Type your message here",1,"cr-form-control","control-medium",3,"ngModelChange","keyup.enter","input","ngModel"],[1,"cr-btn","cr-btn-filled","flex-shrink-0","cr-btn-blue","fw-600",3,"click"],[1,"cr-chat-disabled-footer"],[1,"material-icons-outlined","cr-chat-disabled-icon"],[1,"cr-chat-disabled-text"],[1,"member-item",3,"click"],[1,"member-item-left",2,"position","relative"],[3,"ngClass"],["class","typing",4,"ngIf"],[1,"typing"],[1,"modal-header"],["id","video-call-modal",1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body"],[1,"cr-input-wrap","mb
1-5"],["bindLabel","name","bindValue","id","placeholder","Select Members","appendTo","body",1,"cr-select","ng-select","control-large",3,"ngModelChange","clearable","searchable","items","ngModel","closeOnSelect","maxSelectedItems","multiple"],[1,"cr-btn","cr-btn-blue","ml-auto","d-block",3,"click","disabled"],["bindLabel","name","bindValue","id","placeholder","Select User","appendTo","body",1,"cr-select","control-large",3,"ngModelChange","change","clearable","searchable","items","ngModel"],["bindLabel","name","bindValue","id","placeholder","Select User","appendTo","body",1,"cr-select","control-large",3,"closeOnSelect","maxSelectedItems","multiple"],["ng-label-tmp",""],["ng-option-tmp",""],[1,"d-flex","align-items-center","justify-content-end"],[1,"cr-btn","cr-btn-blue"],[1,"opt-img-wrap"],[1,"select-calling-member","round",3,"error","src"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",7),e.j41(1,"div",8)(2,"div",9)(3,"button",10),e.bIt("click",function(){return e.eBV(l),e.Njj(i.toggleMessageListSidebar())}),e.j41(4,"span",11),e.EFF(5),e.k0s()(),e.j41(6,"button",12),e.bIt("click",function(){return e.eBV(l),e.Njj(i.toggleMembersListSidebar())}),e.j41(7,"i",11),e.EFF(8),e.k0s()()(),e.j41(9,"div",13)(10,"aside",14)(11,"div",15)(12,"div",16),e.EFF(13,"Messages"),e.k0s()(),e.j41(14,"div",17)(15,"ul",18)(16,"li",19),e.bIt("click",function(){return e.eBV(l),e.Njj(i.filterMessages("all"))}),e.EFF(17,"All"),e.k0s(),e.j41(18,"li",19),e.bIt("click",function(){return e.eBV(l),e.Njj(i.filterMessages("unread"))}),e.EFF(19,"Unread "),e.DNE(20,as,2,1,"span",20),e.k0s()()(),e.j41(21,"div",21)(22,"div",22)(23,"i",23),e.EFF(24,"search"),e.k0s(),e.j41(25,"input",24,0),e.bIt("keyup",function(_){return e.eBV(l),e.Njj(i.searchData(_))}),e.k0s()()(),e.j41(27,"div",25)(28,"div",26),e.EFF(29,"Group"),e.k0s(),e.DNE(30,ms,2,1,"div",27)(31,gs,2,0,"div",28),e.k0s(),e.DNE(32,vs,4,1,"div",29),e.j41(33,"div",30)(34,"div",26),e.EFF(35," Recruiters "),e.k0s(),e.DNE(36,Cs,2,1,"div",31),e.k0s()(),e.j41(37,"section",32)(38,"div",33,1)(40,"div",34)(41,"div",35),e.DNE(42,ys,1,1,"img",36)(43,ws,1,1,"img",36),e.k0s(),e.j41(44,"div",37),e.DNE(45,Fs,4,6,"h3",38),e.k0s()(),e.j41(46,"div",39),e.DNE(47,Rs,3,0,"button",40)(48,Ds,3,0,"button",40),e.k0s()(),e.j41(49,"div",41,2),e.DNE(51,Os,2,1,"div",31),e.k0s(),e.DNE(52,$s,5,1,"div",42)(53,Ps,5,0,"div",43),e.k0s(),e.j41(54,"aside",44)(55,"div",15)(56,"div",16),e.EFF(57,"Members"),e.k0s(),e.j41(58,"button",45),e.bIt("click",function(){return e.eBV(l),e.Njj(i.open_modal("add_user"))}),e.j41(59,"i",46),e.EFF(60," person_add_alt_1 "),e.k0s()()(),e.j41(61,"div",47),e.DNE(62,Ys,12,7,"div",48),e.k0s()()(),e.DNE(63,Vs,9,9,"ng-template",null,3,e.C5r)(65,Js,7,4,"ng-template",null,4,e.C5r)(67,Bs,13,3,"ng-template",null,3,e.C5r),e.k0s(),e.DNE(69,qs,9,0,"ng-template",null,5,e.C5r)}2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(5),e.SpI(" ",i.messageListSidebar?"close":"contacts"," "),e.R7$(3),e.SpI(" ",i.membersListSidebar?"close":"groups"," "),e.R7$(2),e.Y8G("ngClass",i.messageListSidebar?"active":""),e.R7$(6),e.Y8G("ngClass",e.eq3(22,yl,"all"===i.filterType)),e.R7$(2),e.Y8G("ngClass",e.eq3(24,yl,"unread"===i.filterType)),e.R7$(2),e.Y8G("ngIf",i.total_unread_count>0),e.R7$(10),e.Y8G("ngIf",0!=i.chatList.length),e.R7$(),e.Y8G("ngIf",0==i.chatList.length),e.R7$(),e.Y8G("ngIf",i.isShowJobseekers),e.R7$(4),e.Y8G("ngForOf",i.chatList),e.R7$(6),e.Y8G("ngIf",""==i.recruiterProf),e.R7$(),e.Y8G("ngIf",""!=i.recruiterProf),e.R7$(2),e.Y8G("ngIf",i.unique_id),e.R7$(2),e.Y8G("ngIf",!i.globals.on_voice_calling&&i.unique_id),e.R7$(),e.Y8G("ngIf",!i.globals.on_voice_calling&&i.unique_id),e.R7$(3),e.Y8G("ngForOf",i.chat_details),e.R7$(),e.Y8G("ngIf",!i.is_disabled_chat),e.R7$(),e.Y8G("ngIf",i.is_disabled_chat),e.R7$(),e.Y8G("ngClass",i.membersListSidebar?"active":""),e.R7$(4),e.Y8G("hidden",0==i.users_list.length||!i.is_group),e.R7$(4),e.Y8G("ngForOf",i.memberList))},dependencies:[y.MD,y.YU,y.Sq,y.bT,y.B3,y.P9,y.PV,y.vh,g.YN,g.me,g.BC,g.vS,g.X1,de.EE,v.Pv,v.XZ,Ce.N,v._f,v.IQ,v.n8,v.zr,v.HC,v.$G,N.MQ,N.vr,N.Uq,N.ZZ,S._B],styles:['.messages-page[_ngcontent-%COMP%]{height:100%}.chat-user-type[_ngcontent-%COMP%]{font-size:10px;color:var(--cr-teal-blue);font-weight:600;text-transform:uppercase;margin-bottom:3px}.cr-chat-module[_ngcontent-%COMP%]{display:grid;grid-template-columns:400px 1fr 400px;grid-gap:15px;height:100%}.cr-chat-module[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{background-color:var(--pure-white);border:1px solid var(--cr-gray-tint-6);border-radius:10px;height:100%;overflow-y:auto}.cr-chat-module[_ngcontent-%COMP%] > aside[_ngcontent-%COMP%]{padding:25px 0}.cr-chat-module[_ngcontent-%COMP%] > .cr-members[_ngcontent-%COMP%]{flex:0 0 460px;overflow-y:hidden}
1.cr-chat[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}.cr-chat-module[_ngcontent-%COMP%] > .cr-messages[_ngcontent-%COMP%]{flex:0 0 400px}.cr-chat-aside-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.cr-chat-aside-head[_ngcontent-%COMP%] .head-title[_ngcontent-%COMP%]{font-size:26px;font-weight:600}.cr-message-filter[_ngcontent-%COMP%]{padding:10px 20px}.cr-message-filter-list[_ngcontent-%COMP%]{display:inline-flex;background-color:var(--cr-gray-tint-6);border-radius:14px;padding:4px;gap:4px}.cr-message-filter-item-count[_ngcontent-%COMP%]{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background-color:var(--cr-teal-blue);color:var(--pure-white);display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;line-height:1}.cr-message-filter-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;list-style:none;padding:6px 16px;border-radius:10px;cursor:pointer;font-size:14px;font-weight:600;color:var(--cr-gray);background-color:transparent;transition:all .25s ease;-webkit-user-select:none;user-select:none}.cr-message-filter-item[_ngcontent-%COMP%]:not(.message-filter-item-active):hover{background-color:#0000000d}.cr-message-filter-item.message-filter-item-active[_ngcontent-%COMP%]{background-color:var(--pure-white);color:var(--cr-teal-blue);box-shadow:0 2px 6px #00000014}.cr-message-search[_ngcontent-%COMP%]{padding:0 20px}.cr-group-wrap[_ngcontent-%COMP%]{margin-bottom:25px}.members-list[_ngcontent-%COMP%]{overflow-y:auto;height:100%}.cr-group[_ngcontent-%COMP%]{overflow-y:auto;max-height:325px;margin-right:2px}.cr-inner-box[_ngcontent-%COMP%]{padding:0 25px}.group-head[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;width:100%;background:var(--pure-white);border:1px solid transparent;border-width:0 0 1px 0;padding:15px 25px;transition:.3s all}.group-head[_ngcontent-%COMP%]:after, .member-item[_ngcontent-%COMP%]:after{position:absolute;content:"";width:calc(100% - 50px);left:50%;transform:translate(-50%);background-color:var(--cr-gray-tint-8);height:1px;bottom:-1px}.group-head[_ngcontent-%COMP%] .group-main-info[_ngcontent-%COMP%]{display:flex;align-items:center;margin-right:auto}.group-img[_ngcontent-%COMP%]{padding:2px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:green;color:#fff;margin-right:15px;flex-shrink:0}.group-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.group-name[_ngcontent-%COMP%]{margin:0;font-weight:500}.group-head[_ngcontent-%COMP%] .accordion-arrow[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-shrink:0}.member-item[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;padding:15px 25px;border:1px solid transparent;border-width:1px 0 1px 0;transition:.3s all;cursor:pointer}.member-item-img[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;height:inherit}.member-item[_ngcontent-%COMP%] .member-item-left[_ngcontent-%COMP%]{display:flex;align-items:center}.member-item[_ngcontent-%COMP%]:hover{background-color:#c0e1f4}.member-item-left[_ngcontent-%COMP%] .member-item-img[_ngcontent-%COMP%]{border-radius:50%;width:50px;height:50px;margin-right:15px}.member-item[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .member-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;font-weight:500}.member-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--cr-gray-tint-2);margin-top:3px}.member-item-right[_ngcontent-%COMP%]{margin-left:auto;flex-shrink:0}.member-msg-count[_ngcontent-%COMP%]{background-color:var(--cr-yellow);width:25px;height:25px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}.add-members-btn[_ngcontent-%COMP%]{border:2px solid var(--cr-gray-tint-5);width:50px;height:50px;transition:.3s all;background-color:transparent}.add-members-btn[_ngcontent-%COMP%]:hover{background-color:var(--cr-gray-tint-8)}.members-list[_ngcontent-%COMP%] .member-item[_ngcontent-%COMP%]:after{content:unset}.member-online[_ngcontent-%COMP%], .offline[_ngcontent-%COMP%]{position:relative}.member-online[_ngcontent-%COMP%]:after{content:"";position:absolute;right:4px;top:-16px;background:var(--cr-green);border:2px solid var(--pure-white);width:14px;
1height:14px;border-radius:50%}.offline[_ngcontent-%COMP%]:after{content:"";position:absolute;right:4px;top:-16px;background:#afbdcf;border:2px solid var(--pure-white);width:14px;height:14px;border-radius:50%}.member-item[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%]{display:none}.member-item[_ngcontent-%COMP%]:hover .delete-btn[_ngcontent-%COMP%]{display:block}.member-item[_ngcontent-%COMP%]:last-child{border-bottom:transparent}.cr-jobseekers-wrap[_ngcontent-%COMP%]{margin-bottom:25px}.cr-chat-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:18px 25px;border:1px solid var(--cr-gray-tint-6)}.cr-chat-header-left[_ngcontent-%COMP%], .cr-chat-header-right[_ngcontent-%COMP%]{display:flex;align-items:center}.cr-chat-header-right[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:20px}.cr-chat-header-img[_ngcontent-%COMP%]{width:50px;height:50px}.cr-chat-header-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}.cr-day-stamp-wrap[_ngcontent-%COMP%]{text-align:center;margin:25px 0}.cr-day-stamp[_ngcontent-%COMP%]{border:1px solid var(--cr-gray-tint-5);color:var(--cr-gray-tint-2);text-transform:uppercase;font-size:12px;letter-spacing:1px;border-radius:12px;display:inline-block;padding:2px 10px;font-weight:500;text-align:center}.cr-message-box[_ngcontent-%COMP%]{padding:25px;height:100%;overflow-y:auto}.cr-msgbox-msg[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-wrap:wrap;margin-bottom:30px}.cr-msgbox-msg.msg-sent[_ngcontent-%COMP%]{flex-direction:row-reverse}.cr-msg-wrap[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.msg-sent[_ngcontent-%COMP%] .cr-msg-wrap[_ngcontent-%COMP%]{flex-direction:row-reverse}.cr-msgbox-msg[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.cr-msg-icon[_ngcontent-%COMP%]{width:30px;height:30px;flex-shrink:0}.cr-msg-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}.msg-recieved[_ngcontent-%COMP%] .cr-msg-icon[_ngcontent-%COMP%]{margin-right:15px}.msg-sent[_ngcontent-%COMP%] .cr-msg-icon[_ngcontent-%COMP%]{margin-left:15px}.cr-msg-list[_ngcontent-%COMP%]{max-width:60%}.cr-msg-list[_ngcontent-%COMP%] .cr-msg[_ngcontent-%COMP%]{display:flex;align-items:flex-end;margin-bottom:6px}.cr-msg-list[_ngcontent-%COMP%] .cr-msg[_ngcontent-%COMP%]:last-child{margin-bottom:0}.msg-sent[_ngcontent-%COMP%] .cr-msg[_ngcontent-%COMP%]{flex-direction:row-reverse}.msg-recieved[_ngcontent-%COMP%] .cr-msg[_ngcontent-%COMP%]:first-child .cr-msg-content[_ngcontent-%COMP%]{border-radius:0 10px 10px}.msg-sent[_ngcontent-%COMP%] .cr-msg[_ngcontent-%COMP%]:first-child .cr-msg-content[_ngcontent-%COMP%]{border-radius:10px 0 10px 10px}.cr-msg-content[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-8);color:var(--cr-gray);padding:8px 10px;border-radius:10px;font-size:14px;border:1px solid transparent;overflow-wrap:anywhere}.msg-recieved[_ngcontent-%COMP%] .cr-msg-content[_ngcontent-%COMP%]{margin-right:8px}.msg-sent[_ngcontent-%COMP%] .cr-msg-content[_ngcontent-%COMP%]{margin-left:8px;background-color:var(--pure-white);border-color:var(--cr-gray-tint-4)}.cr-msg-time[_ngcontent-%COMP%]{font-size:12px;color:var(--cr-gray-tint-2);flex-shrink:0;padding-bottom:3px}.cr-chat-footer[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;padding:10px;margin-top:auto}.cr-chat-disabled-footer[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 20px;margin-top:auto;background-color:var(--cr-gray-tint-8, #f5f6f8);border-top:1px solid var(--cr-gray-tint-6, #e8eaef);border-radius:0 0 10px 10px}.cr-chat-disabled-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--cr-gray-tint-2, #6b7280)}.cr-chat-disabled-text[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:var(--cr-gray, #4b5563)}.cr-chat-footer[_ngcontent-%COMP%] .cr-input-wrap[_ngcontent-%COMP%]{width:100%;margin-right:15px}@media screen and (max-width: 1499px){.cr-msg-list[_ngcontent-%COMP%]{max-width:80%}.cr-chat-module[_ngcontent-%COMP%]{grid-template-columns:350px 1fr 350px}.cr-chat-module[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{padding:15px 0}.cr-chat-header[_ngcontent-%COMP%]{padding:15px}.cr-chat-aside-head[_ngcontent-%COMP%] .head-title[_ngcontent-%COMP%]{font-size:20px}.cr-message-box[_ngcontent-%COMP%]{padding:15px}.cr-msgbox-msg[_ngcontent-%COMP%]{margin-bottom:20px}}@media screen and (max-width: 1365px){.cr-chat-module[_ngcontent-%COMP%]{grid-template-columns:300px 1fr 300px}.cr-inner-box[_ngcontent-%COMP%], .cr-message-search[_ngcontent-%COMP%]{padding:0 15px}.member-item[_ngcontent-%COMP%], .group-head[_ngcontent-%COMP%]{padding:10px}.member-item[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .group-name[_ng
1content-%COMP%]{font-size:14px}.member-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px}.member-item-left[_ngcontent-%COMP%] .member-item-img[_ngcontent-%COMP%], .group-img[_ngcontent-%COMP%]{width:45px;height:45px}.cr-chat-header-info[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px}}@media screen and (max-width: 1199px){.messages-page[_ngcontent-%COMP%]{overflow-x:hidden}.cr-chat-module[_ngcontent-%COMP%]{position:relative;display:flex;height:calc(100% - 55px)}.cr-chat-module[_ngcontent-%COMP%] > aside[_ngcontent-%COMP%]{position:absolute;max-width:300px;width:100%;top:0;transition:.5s ease-out;box-shadow:2px 0 20px -10px #0000007f;z-index:10}.cr-messages[_ngcontent-%COMP%]{transform:translate(-110%);left:0}.cr-members[_ngcontent-%COMP%]{transform:translate(110%);right:0}.cr-members.active[_ngcontent-%COMP%], .cr-messages.active[_ngcontent-%COMP%]{transform:translate(0)}.message-togglers[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:15px}.message-togglers[_ngcontent-%COMP%] .cr-button-round[_ngcontent-%COMP%]{padding:5px;width:40px;height:40px;background-color:var(--cr-teal-blue);color:var(--pure-white);border:1px solid transparent;border-radius:5px;display:flex;align-items:center;justify-content:center}}@media screen and (max-width: 575px){.member-item-left[_ngcontent-%COMP%] .member-item-img[_ngcontent-%COMP%], .group-img[_ngcontent-%COMP%]{width:40px;height:40px;margin-right:10px}.cr-chat-aside-head[_ngcontent-%COMP%]{margin-bottom:10px}.cr-chat-aside-head[_ngcontent-%COMP%] .head-title[_ngcontent-%COMP%]{font-size:18px}.cr-chat-header-img[_ngcontent-%COMP%]{width:40px;height:40px}.cr-chat-header-info[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px}.cr-chat-header-right[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:10px}.cr-msgbox-msg[_ngcontent-%COMP%]{margin-bottom:10px}.cr-msg-content[_ngcontent-%COMP%]{font-size:12px}.cr-chat-footer[_ngcontent-%COMP%] .cr-form-control[_ngcontent-%COMP%]{font-size:14px;border-radius:8px}.cr-chat-footer[_ngcontent-%COMP%] .cr-btn[_ngcontent-%COMP%]{font-size:14px;padding:6px 16px}}']})}return n})();var Hs=x(51653),Us=x.n(Hs),je=x(1875),_l=x(46156),dl=x(45398),Xn=x(99830);const zs=["scrollMe"],Qs=["send_otp_modal"],Ws=["image_crop"],Zs=["cofirmationModal"],Ks=["cofirmationProjectModal"],er=["avaliabilityOverrideModel"],tr=["cofirmationtimesheetsModal"],nr=["openAccountModal"],ir=["visa_proof_show"],or=["showDocsModal"],lr=["qrCodeModal"],pl=()=>["(regions)"],ul=n=>({country:n}),ml=(n,a)=>({types:n,componentRestrictions:a}),ar=(n,a,t)=>({itemsPerPage:n,currentPage:a,totalItems:t});function sr(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",61),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.toggleEditProfile(!0))}),e.j41(1,"i",62),e.EFF(2," edit "),e.k0s()()}}function rr(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",61),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.toggleCloseProfile(!1))}),e.j41(1,"i",62),e.EFF(2," close "),e.k0s()()}}function cr(n,a){if(1&n){const t=e.RV6();e.j41(0,"label",63)(1,"img",43),e.bIt("error",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.globals.handleImageFailed(i))}),e.k0s(),e.j41(2,"div",64)(3,"i",65),e.EFF(4,"add_photo_alternate"),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("src",null==t.userData?null:t.userData.logo,e.B4B)}}function _r(n,a){if(1&n&&(e.j41(0,"div",66)(1,"div",67)(2,"div",68)(3,"i",65),e.EFF(4,"smartphone"),e.k0s(),e.j41(5,"div",69)(6,"div",70),e.EFF(7,"Phone"),e.k0s(),e.j41(8,"div",71)(9,"a",72),e.EFF(10),e.k0s()()()(),e.j41(11,"div",68)(12,"i",65),e.EFF(13,"public"),e.k0s(),e.j41(14,"div",69)(15,"div",70),e.EFF(16,"Location"),e.k0s(),e.j41(17,"div",71),e.EFF(18),e.k0s()()(),e.j41(19,"div",68)(20,"i",65),e.EFF(21,"domain_disabled"),e.k0s(),e.j41(22,"div",69)(23,"div",70),e.EFF(24,"Industry"),e.k0s(),e.j41(25,"div",71),e.EFF(26),e.nI1(27,"titlecase"),e.k0s()()(),e.j41(28,"div",68)(29,"i",65),e.EFF(30,"apartment"),e.k0s(),e.j41(31,"div",69)(32,"div",70),e.EFF(33,"Company"),e.k0s(),e.j41(34,"div",71),e.EFF(35),e.k0s()()()()()),2&n){const t=e.XpG(2);e.R7$(9),e.Mz_("href","tel:",(null==t.userData?null:t.userData.phone_code)+(null==t.userData?null:t.userData.phone),"",e.B4B),e.R7$(),e.Lme("",null==t.userData?null:t.userData.phone_code," ",null==t.userData?null:t.userData.phone,""),e.R7$(8),e.JRh(null==t.userData?null:t.userData.address),e.R7$(8),e.SpI(" ",e.bMT(27,7,null==t.userData?null:t.userData.company_type)," "),e.R7$(9),e.SpI(" ",null==t.userData?null:t.userData.contact_name," ")}}function dr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Full name is required "),e.k0s())}function pr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Full name must contain only letters. "),e.k0s())}function ur(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,dr,4,0,"div",89)(2,pr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.fname.errors.required),e.R7$(),e.Y8G("ngIf",t.editClient.controls.fname.errors.onlySpaces)}}function mr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company name is required "),e.k0s())}function gr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company name must contain only letters. "),e.k0s())}function br(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,mr,4,0,"div",89)(2,gr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.contact_name.errors.required),e.R7$(),e.Y8G("ngIf",t.editClient.controls.contact_name.errors.onlySpaces)}}function fr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Phone is required "),e.k0s())}function hr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Contact number is already in use "),e.k0s())}function vr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Contact number must be 10 digits. "),e.k0s())}function kr(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,fr,4,0,"div",89)(2,hr,4,0,"div",89)(3,vr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.phone.errors.required),e.R7$(),e.Y8G("ngIf",t.editClient.controls.phone.errors.isUnique),e.R7$(),e.Y8G("ngIf",t.editClient.controls.phone.errors.isValidPhone)}}function jr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is required "),e.k0s())}function Cr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Enter valid email "),e.k0s())}function yr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is already in use. Please select another email address "),e.k0s())}function wr(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,jr,4,0,"div",89)(2,Cr,4,0,"div",89)(3,yr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.email.errors.required),e.R7$(),e.Y8G("ngIf",t.editClient.controls.email.errors.email),e.R7$(),e.Y8G("ngIf",t.editClient.controls.email.errors.isUnique)}}function xr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Address is required "),e.k0s())}function Fr(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,xr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.address.errors.required)}}function Rr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Industry type is required "),e.k0s())}function Dr(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Rr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.company_type.errors.required)}}function Er(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company Url is required "),e.k0s())}function Ir(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company Url is not val
1id "),e.k0s())}function Tr(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Er,4,0,"div",89)(2,Ir,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.editClient.controls.company_url.errors.required),e.R7$(),e.Y8G("ngIf",t.editClient.controls.company_url.errors.pattern)}}function Gr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",73)(1,"form",40)(2,"div",74)(3,"input",75),e.bIt("blur",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.trimControl("fname",i.editClient))}),e.k0s(),e.DNE(4,ur,3,2,"div",76),e.k0s(),e.j41(5,"div",74)(6,"input",77),e.bIt("blur",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.trimControl("contact_name",i.editClient))}),e.k0s(),e.DNE(7,br,3,2,"div",76),e.k0s(),e.j41(8,"div",78)(9,"div",79),e.nrm(10,"ng-select",80),e.k0s(),e.j41(11,"div",81)(12,"input",82,19),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.checkUniqPhone(i,"editClient"))})("change",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.validatePhone(i,"editClient"))}),e.k0s(),e.DNE(14,kr,4,3,"div",76),e.k0s()(),e.j41(15,"div",74)(16,"input",83),e.bIt("focusout",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.checkUniqEmail(i,"editClient"))}),e.k0s(),e.DNE(17,wr,4,3,"div",76),e.k0s(),e.j41(18,"div",74)(19,"input",84),e.bIt("onAddressChange",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.addAddressChange(i,null))})("keypress",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.alphaNumberOnly(i))}),e.k0s(),e.DNE(20,Fr,2,1,"div",76),e.k0s(),e.j41(21,"div",74),e.nrm(22,"input",85),e.DNE(23,Dr,2,1,"div",76),e.k0s(),e.j41(24,"div",74),e.nrm(25,"input",86),e.DNE(26,Tr,3,2,"div",76),e.k0s()(),e.j41(27,"button",87),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.saveEditJobForm())}),e.EFF(28," Update "),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("formGroup",t.editClient),e.R7$(3),e.Y8G("ngIf",t.editClient.controls.fname.invalid&&t.editClient.controls.fname.touched),e.R7$(2),e.Y8G("readonly","CP"==(null==t.clientProfileData?null:t.clientProfileData.user_type)),e.R7$(),e.Y8G("ngIf",t.editClient.controls.contact_name.invalid&&t.editClient.controls.contact_name.touched),e.R7$(3),e.FS9("placeholder","in"==t.country?"+91":"+1"),e.Y8G("items",t.phone_code)("hideSelected",!0)("clearable",!1)("searchable",!1),e.R7$(4),e.Y8G("ngIf",t.editClient.controls.phone.invalid&&t.editClient.controls.phone.touched),e.R7$(3),e.Y8G("ngIf",t.editClient.controls.email.invalid&&t.editClient.controls.email.touched),e.R7$(2),e.Y8G("options",e.l_i(21,ml,e.lJ4(18,pl),e.eq3(19,ul,t.country))),e.R7$(),e.Y8G("ngIf",t.editClient.controls.address.invalid&&t.editClient.controls.address.touched),e.R7$(2),e.Y8G("readonly","CP"==(null==t.clientProfileData?null:t.clientProfileData.user_type)),e.R7$(),e.Y8G("ngIf",t.editClient.controls.company_type.invalid&&t.editClient.controls.company_type.touched),e.R7$(2),e.Y8G("readonly","CP"==(null==t.clientProfileData?null:t.clientProfileData.user_type)),e.R7$(),e.Y8G("ngIf",t.editClient.controls.company_url.invalid&&t.editClient.controls.company_url.touched),e.R7$(),e.Y8G("disabled",t.isEnableNext)}}function Mr(n,a){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Lme(" ",t.from_time," - ",t.to_time," ")}}function Sr(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",100),e.EFF(2),e.nI1(3,"date"),e.k0s(),e.j41(4,"td",100),e.EFF(5),e.nI1(6,"date"),e.k0s(),e.j41(7,"td",100),e.DNE(8,Mr,2,2,"ng-container",99),e.k0s(),e.j41(9,"td",100)(10,"button",101)(11,"span",102),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(5);return e.Njj(l.delete_time_slot(i))}),e.EFF(12," delete "),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",e.i5U(3,3,t.key,"MMM d, y")," "),e.R7$(3),e.JRh(e.i5U(6,6,t.key,"EEEE")),e.R7$(3),e.Y8G("ngForOf",t.value)}}function Or(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Sr,13,9,"tr",99),e.nI1(2,"keyvalue"),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,t.show_availability))}}function $r(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",103)(2,"td",104),e.EFF(3,"No Record Found"),e.k0s()()())}function Pr(n,a){if(1&n&&(e.j41(0,"table",97)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Date"),e.nrm(5,"span",98),e.k0s(),e.j41(6,"th"),e.EFF(7,"Day"),e.nrm(8,"span",98),e.k0s(),e.j41(9,"th"),e.EFF(10," Available Time"),e.nrm(11,"span",98),e.k0s(),e.j41(12,"th"),e.EFF(13,"Action"),e.nrm(14,"span",98),e.k0s()()(),e.DNE(15,Or,3,3,"tbody",57)(16,$r,4,0,"tbody",57),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("dtOptions",t.dtOptions1),e.R7$(15),e.Y8G("ngIf",0!=t.show_availability.length),e.R7$(),e.Y8G("ngIf",0==t.show_availability.length)}}function Nr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",92)(1,"h1",93),e.EFF(2,"Availability"),e.k0s(),e.j41(3,"button",94),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2),l=e.sdS(11);return e.Njj(i.open_modal(l,"small"))}),e.EFF(4," Add Availability "),e.k0s()(),e.j41(5,"div",95),e.DNE(6,Pr,17,3,"table",96),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(6),e.Y8G("ngIf",t.showAvailTable)}}function Yr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Current Password is required. "),e.k0s())}function Vr(n,a){if(1&n&&(e.j41(0,"div",124),e.DNE(1,Yr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.Change_Password.controls.current_password.errors.required)}}function Jr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," New Password is required. "),e.k0s())}function Xr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," A minimum 8 characters password must contain a combination of uppercase and lowercase letters, a number, and a special character. "),e.k0s())}function Ar(n,a){if(1&n&&(e.j41(0,"div",124),e.DNE(1,Jr,4,0,"div",89)(2,Xr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.Change_Password.controls.new_password.errors.required),e.R7$(),e.Y8G("ngIf",t.Change_Password.controls.new_password.errors.pattern)}}function Br(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," New password must be different from current. "),e.k0s())}function qr(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Confirm Password is required. "),e.k0s())}function Lr(n,a){if(1&n&&(e.j41(0,"div",124),e.DNE(1,qr,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.Change_Password.controls.password_confirmation.errors.required)}}function Hr(n,a){1&n&&(e.j41(0,"div",124)(1,"div",90)(2,"i",91),e.EFF(3,"warning"),e.k0s(),e.EFF(4," Confirm Password must match with password. "),e.k0s()())}function Ur(n,a){if(1&n){const t=e.RV6();e.j41(0,"form",119)(1,"div",74),e.nrm(2,"input",120,20),e.j41(4,"img",121),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);
1return e.Njj(i.passwordToggle())}),e.k0s()(),e.DNE(5,Vr,2,1,"div",122),e.j41(6,"div",74)(7,"input",123,21),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.newPassword(i))}),e.k0s(),e.j41(9,"img",121),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.cpasswordToggle())}),e.k0s()(),e.DNE(10,Ar,3,2,"div",122),e.j41(11,"div",124),e.DNE(12,Br,4,0,"div",89),e.k0s(),e.j41(13,"div",74)(14,"input",125,22),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.matchPassword(i))}),e.k0s(),e.j41(16,"img",121),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.npasswordToggle())}),e.k0s()(),e.DNE(17,Lr,2,1,"div",122)(18,Hr,5,0,"div",122),e.j41(19,"div",126)(20,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.changePassword())}),e.EFF(21," Change Password "),e.k0s()()()}if(2&n){const t=e.XpG(3);e.Y8G("formGroup",t.Change_Password),e.R7$(2),e.Y8G("type",t.is_pass_visible?"text":"password"),e.R7$(3),e.Y8G("ngIf",t.Change_Password.controls.current_password.invalid&&t.Change_Password.controls.current_password.touched),e.R7$(2),e.Y8G("type",t.is_cpass_visible?"text":"password"),e.R7$(3),e.Y8G("ngIf",t.Change_Password.controls.new_password.invalid&&t.Change_Password.controls.new_password.touched),e.R7$(2),e.Y8G("ngIf",t.showDifferentPassword),e.R7$(2),e.Y8G("type",t.is_npass_visible?"text":"password"),e.R7$(3),e.Y8G("ngIf",t.Change_Password.controls.password_confirmation.invalid&&t.Change_Password.controls.password_confirmation.touched),e.R7$(),e.Y8G("ngIf",t.showMatchPassword),e.R7$(2),e.Y8G("disabled",t.Change_Password.pristine||t.Change_Password.invalid||t.showMatchPassword)}}function zr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",105)(1,"div",106)(2,"div",107)(3,"h1",93),e.EFF(4," Password & Security "),e.k0s()(),e.j41(5,"div",108)(6,"div",109),e.DNE(7,Ur,22,10,"form",110),e.k0s()()(),e.j41(8,"div",106)(9,"div",111)(10,"h1",93),e.EFF(11,"MFA"),e.k0s()(),e.j41(12,"div",112)(13,"h5",113),e.EFF(14," Enable Google Authentication "),e.k0s(),e.j41(15,"div",114)(16,"input",115),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG(2);return e.DH7(l.isEnableGoogleAuth,i)||(l.isEnableGoogleAuth=i),e.Njj(i)}),e.bIt("change",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.enableGoogleAuth(i))}),e.k0s(),e.j41(17,"label",116)(18,"span"),e.qSk(),e.j41(19,"svg",117),e.nrm(20,"path",118),e.k0s()()()()()()()}if(2&n){const t=e.XpG(2);e.R7$(7),e.Y8G("ngIf",t.Change_Password),e.R7$(9),e.R50("ngModel",t.isEnableGoogleAuth),e.Y8G("checked",1==(null==t.userData?null:t.userData.enable_tfa))}}function Qr(n,a){if(1&n&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.jobseeker_detail.first_name+" "+t.jobseeker_detail.last_name)," ")}}function Wr(n,a){1&n&&(e.j41(0,"p"),e.EFF(1," - "),e.k0s())}function Zr(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",100),e.EFF(2),e.nI1(3,"titlecase"),e.k0s(),e.j41(4,"td",100),e.DNE(5,Qr,3,3,"p",57)(6,Wr,2,0,"p",57),e.k0s(),e.j41(7,"td",100),e.EFF(8),e.nI1(9,"date"),e.k0s(),e.j41(10,"td",100)(11,"button",129),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(3),s=e.sdS(5);return e.Njj(l.editmodal(s,"small",i))}),e.j41(12,"i",65),e.EFF(13," drive_file_rename_outline "),e.k0s()(),e.j41(14,"button",130),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.delete_project(i))}),e.j41(15,"span",65),e.EFF(16," delete "),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,4,t.project_name)," "),e.R7$(3),e.Y8G("ngIf",null!=(null==t.jobseeker_detail?null:t.jobseeker_detail.first_name)),e.R7$(),e.Y8G("ngIf",null==(null==t.jobseeker_detail?null:t.jobseeker_detail.first_name)),e.R7$(2),e.SpI(" ",e.i5U(9,6,t.created_at,"MMM d, y")," ")}}function Kr(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",131),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.getPage(i,"project_list"))}),e.k0s()}}function ec(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",92)(1,"h1",93),e.EFF(2,"Projects"),e.k0s(),e.j41(3,"button",94),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2),l=e.sdS(3);return e.Njj(i.open_modal(l,"small"))}),e.EFF(4," Add Project "),e.k0s()(),e.j41(5,"div",95)(6,"table",97)(7,"thead")(8,"tr")(9,"th"),e.EFF(10,"Project Name"),e.nrm(11,"span",98),e.k0s(),e.j41(12,"th"),e.EFF(13,"Assigned To"),e.nrm(14,"span",98),e.k0s(),e.j41(15,"th"),e.EFF(16,"Created On"),e.nrm(17,"span",98),e.k0s(),e.j41(18,"th"),e.EFF(19,"Action"),e.nrm(20,"span",98),e.k0s()()(),e.j41(21,"tbody"),e.DNE(22,Zr,17,9,"tr",99),e.nI1(23,"paginate"),e.k0s()(),e.DNE(24,Kr,1,0,"pagination-controls",128),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(6),e.Y8G("dtOptions",t.dtOptionsProjects),e.R7$(16),e.Y8G("ngForOf",e.i5U(23,3,t.projectList,e.sMw(6,ar,t.project_list_per_page,t.project_list_page,t.project_list_total))),e.R7$(2),e.Y8G("ngIf",0!==(null==t.projects_list||null==t.projects_list.data?null:t.projects_list.data.length)&&t.project_list_total>t.project_list_per_page)}}function tc(n,a){1&n&&(e.j41(0,"span",137),e.EFF(1," verified "),e.k0s())}function nc(n,a){1&n&&(e.j41(0,"span",138),e.EFF(1," highlight_off "),e.k0s())}function ic(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",100),e.EFF(2),e.nI1(3,"titlecase"),e.k0s(),e.j41(4,"td",100),e.EFF(5),e.k0s(),e.j41(6,"td",100),e.EFF(7),e.k0s(),e.j41(8,"td",100),e.DNE(9,tc,2,0,"span",132)(10,nc,2,0,"span",133),e.k0s(),e.j41(11,"td",100),e.EFF(12),e.k0s(),e.j41(13,"td",100)(14,"button",129),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(9);return e.Njj(l.openEditTeamModal(s,"small",i))}),e.j41(15,"i",65),e.EFF(16," drive_file_rename_outline "),e.k0s()()(),e.j41(17,"td",100)(18,"div",114)(19,"input",134),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.showAllReqs(i,l))}),e.k0s(),e.j41(20,"label",135)(21,"span"),e.qSk(),e.j41(22,"svg",136),e.nrm(23,"path",118),e.k0s()()()()()()}if(2&n){const t=a.$implicit,o=a.index;e.R7$(2),e.JRh(e.bMT(3,11,t.name)),e.R7$(3),e.JRh(t.email),e.R7$(2),e.SpI(" ",t.phone_code+" "+t.phone," "),e.R7$(2),e.Y8G("ngIf",t.is_email_verified),e.R7$(),e.Y8G("ngIf",!t.is_email_verified),e.R7$(2),e.SpI(" ",null!=t&&t.cp_role?null==t?null:t.cp_role:"-"," "),e.R7$(7),e.Mz_("id","cbx-51",o,""),e.Y8G("checked",0!=(null==t?null:t.is_allow_client_requirments)),e.R7$(),e.Mz_("for","cbx-51",o,"")}}function oc(n,a){if(1&n&&(e.j41(0,"table",97)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Name"),e.nrm(5,"span",98),e.k0s(),e.j41(6,"th"),e.EFF(7,"Email"),e.nrm(8,"span",98),e.k0s(),e.j41(9,"th"),e.EFF(10,"Phone"),e.nrm(11,"span",98),e.k0s(),e.j41(12,"th"),e.EFF(13," Email Verified"),e.nrm(14,"span",98),e.k0s(),e.j41(15,"th"),e.EFF(16,"Role"),e.nrm(17,"span",98),e.k0s(),e.j41(18,"th"),e.EFF(19,"Edit"),e.nrm(20,"span",98),e.k0s(),e.j41(21,"th"),e.EFF(22," Show all requirements"),e.nrm(23,"span",98),e.k0s()()(),e.j41(24,"tbody"),e.DNE(25,ic,24,13,"tr",99),e.k0s()()),2&n){const t=e.XpG(3);e.Y8G("dtOptions",t.dtOptions),e.R7$(25),e.Y8G("ngForOf",t.personArr)}}function lc(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",92)(1,"h1",93),e.EFF(2,"Team"),e.k0s(),e.j41(3,"button",94),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2),l=e.sdS(7);return e.Njj(i.open_modal(l,"small"))}),e.EFF(4," Add Team Member "),e.k0s()(),e.j41(5,"div",95),e.DNE(6,oc,26,2,"table",96),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(6),e.Y8G("ngIf",t.isShowTeamTable)}}function ac(n,a){1&n&&(e.j41(0,"span",146),e.EFF(1,"Pending"),e.k0s())}function sc(n,a){1&n&&(e.j41(0,"span",147),e.EFF(1,"Approved"),e.k0s())}function rc(n,a){1&n&&(e.j41(0,"span",148),e.EFF(1,"Reject"),e.k0s())}function cc(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",149),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.timesheetApproveDisapprove(i,1))}),e.j41(1,"span",150),e.EFF(2," check_circle_outline "),e.k0s()()}}function _c(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.timesheetApproveDisapprove(i,3))}),e.j41(1,"span",138),e.EFF(2," highlight_off "),e.k0s()()}}function dc(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",100),e.EFF(2),e.nI1(3,"titlecase"),e.k0s(),e.j41(4,"td",100),e.EFF(5),e.nI1(6,"titlecase"),e.k0s(),e.j41(7,"td",100),e.EFF(8),e.k0s(),e.j41(9,"td",100),e.EFF(10),e.k0s(),e.j41(11,"td",100)(12,"a",140),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(15);return e.Njj(l.show_timesheet_detail(i,s,"small",null==i?null:i.start_date,null==i?null:i.end_date))}),e.EFF(13," View "),e.k0s()(),e.j41(14,"td",100),e.DNE(15,ac,2,0,"span",141)(16,sc,2,0,"span",142)(17,rc,2,0,"span",143),e.k0s(),e.j41(18,"td",100),e.DNE(19,cc,3,0,"button",144)(20,_c,3,0,"button",145),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,9,t.first_name+" "+t.last_name)," "),e.R7$(3),e.SpI(" ",e.bMT(6,11,t.project_name)," "),e.R7$(3),e.JRh(t.submitted_date),e.R7$(2),e.SpI(" ",null!=t.start_date&&null!=(null==t?null:t.end_date)?(null==t?null:t.hours.split(":")[0])+":"+(null==t?null:t.hours.split(":")[1]):t.total_hours," hrs "),e.R7$(5),e.Y8G("ngIf",2==t.
1is_approved||0==t.is_approved),e.R7$(),e.Y8G("ngIf",1==t.is_approved),e.R7$(),e.Y8G("ngIf",3==t.is_approved),e.R7$(2),e.Y8G("ngIf",(2==t.is_approved||0==t.is_approved)&&1!=t.is_approved),e.R7$(),e.Y8G("ngIf",(2==t.is_approved||0==t.is_approved)&&3!=t.is_approved)}}function pc(n,a){if(1&n&&(e.j41(0,"div",139)(1,"h1",93),e.EFF(2,"Timesheets"),e.k0s()(),e.j41(3,"div",95)(4,"table",97)(5,"thead")(6,"tr")(7,"th"),e.EFF(8,"Name"),e.nrm(9,"span",98),e.k0s(),e.j41(10,"th"),e.EFF(11,"Project"),e.nrm(12,"span",98),e.k0s(),e.j41(13,"th"),e.EFF(14,"Submitted On"),e.nrm(15,"span",98),e.k0s(),e.j41(16,"th"),e.EFF(17,"Total Hours"),e.nrm(18,"span",98),e.k0s(),e.j41(19,"th"),e.EFF(20,"Details"),e.nrm(21,"span",98),e.k0s(),e.j41(22,"th"),e.EFF(23,"Status"),e.nrm(24,"span",98),e.k0s(),e.j41(25,"th"),e.EFF(26,"Action"),e.nrm(27,"span",98),e.k0s()()(),e.j41(28,"tbody"),e.DNE(29,dc,21,13,"tr",99),e.k0s()()()),2&n){const t=e.XpG(3);e.R7$(4),e.Y8G("dtOptions",t.dtOptions2),e.R7$(25),e.Y8G("ngForOf",t.listTimesheets)}}function uc(n,a){1&n&&e.DNE(0,pc,30,2,"ng-template",56)}function mc(n,a){if(1&n&&(e.j41(0,"div",157)(1,"div",158)(2,"div",159)(3,"div",160)(4,"i",65),e.EFF(5," description "),e.k0s()(),e.j41(6,"div",161)(7,"div",162),e.nrm(8,"p",163)(9,"p",163),e.k0s(),e.j41(10,"div",164),e.EFF(11),e.nI1(12,"date"),e.k0s()()()()()),2&n){const t=a.$implicit;e.R7$(8),e.Y8G("innerHTML",t.title,e.npT),e.R7$(),e.Y8G("innerHTML",t.body,e.npT),e.R7$(2),e.SpI(" ",e.i5U(12,3,t.datetime,"MMM d, y h:mm a")," ")}}function gc(n,a){1&n&&(e.j41(0,"div",165)(1,"div",166),e.EFF(2," No Data Found "),e.k0s()())}function bc(n,a){if(1&n&&(e.j41(0,"div",152,23)(2,"div",106)(3,"div",153)(4,"h1",154),e.EFF(5,"Notifications"),e.k0s()(),e.j41(6,"div",108),e.DNE(7,mc,13,6,"div",155)(8,gc,3,0,"div",156),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(7),e.Y8G("ngForOf",t.notifications),e.R7$(),e.Y8G("ngIf",0==t.notifications.length)}}function fc(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"div",34)(2,"aside",35)(3,"div",36)(4,"div",37),e.DNE(5,sr,3,0,"button",38)(6,rr,3,0,"button",38),e.k0s(),e.j41(7,"div",39)(8,"form",40)(9,"input",41,17),e.bIt("change",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.profileUpdate(i))}),e.k0s()(),e.j41(11,"div",42)(12,"img",43),e.bIt("error",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.globals.handleImageFailed(i))}),e.k0s()(),e.DNE(13,cr,5,1,"label",44),e.k0s(),e.j41(14,"div",45)(15,"h3",46),e.EFF(16),e.k0s(),e.j41(17,"a",47),e.EFF(18),e.k0s()()(),e.nrm(19,"app-loading-spinner",31),e.DNE(20,_r,36,9,"div",48)(21,Gr,29,24,"div",49),e.k0s(),e.j41(22,"div",50)(23,"div",51)(24,"ul",52,18),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.settingsSelectedTab,i)||(l.settingsSelectedTab=i),e.Njj(i)}),e.j41(26,"li",53)(27,"a",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showAvailability_click())}),e.j41(28,"i",55),e.EFF(29,"calendar_month"),e.k0s(),e.EFF(30," Availability "),e.k0s(),e.DNE(31,Nr,7,1,"ng-template",56),e.k0s(),e.j41(32,"li",53)(33,"a",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showPassword_click())}),e.j41(34,"i",55),e.EFF(35,"lock"),e.k0s(),e.EFF(36," Password & Security "),e.k0s(),e.DNE(37,zr,21,3,"ng-template",56),e.k0s(),e.j41(38,"li",53)(39,"a",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showProjects_click())}),e.j41(40,"i",55),e.EFF(41,"description"),e.k0s(),e.EFF(42," Projects "),e.k0s(),e.DNE(43,ec,25,10,"ng-template",56),e.k0s(),e.j41(44,"li",53)(45,"a",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showTeam_click())}),e.j41(46,"i",55),e.EFF(47,"group"),e.k0s(),e.EFF(48," Team "),e.k0s(),e.DNE(49,lc,7,1,"ng-template",56),e.k0s(),e.j41(50,"li",53)(51,"a",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showTimesheets_click())}),e.j41(52,"i",55),e.EFF(53,"schedule"),e.k0s(),e.EFF(54," Timesheets "),e.k0s(),e.DNE(55,uc,1,0,null,57),e.k0s(),e.j41(56,"li",58)(57,"a",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showNotification_click())}),e.j41(58,"i",55),e.EFF(59,"notifications"),e.k0s(),e.EFF(60," Notifications "),e.k0s(),e.DNE(61,bc,9,2,"ng-template",56),e.k0s()()(),e.j41(62,"div",59),e.nrm(63,"div",60),e.k0s()()()()}if(2&n){const t=e.sdS(25),o=e.XpG();e.R7$(5),e.Y8G("ngIf",!o.profileSidebarEditView),e.R7$(),e.Y8G("ngIf",o.profileClose),e.R7$(2),e.Y8G("formGroup",o.profileForm),e.R7$(4),e.Y8G("src",null==o.userData?null:o.userData.logo,e.B4B),e.R7$(),e.Y8G("ngIf",o.profileSidebarEditView),e.R7$(3),e.JRh(null==o.userData?null:o.userData.first_name),e.R7$(),e.Mz_("href","mailTo:",null==o.userData?null:o.userData.email,"",e.B4B),e.R7$(),e.JRh(null==o.userData?null:o.userData.email),e.R7$(),e.Y8G("loading",o.globals.loading),e.R7$(),e.Y8G("ngIf",!o.profileSidebarEditView),e.R7$(),e.Y8G("ngIf",o.profileSidebarEditView),e.R7$(3),e.R50("activeId",o.settingsSelectedTab),e.R7$(2),e.Y8G("ngbNavItem",1),e.R7$(6),e.Y8G("ngbNavItem",2),e.R7$(6),e.Y8G("ngbNavItem",3),e.R7$(6),e.Y8G("ngbNavItem",4),e.R7$(6),e.Y8G("ngbNavItem",5),e.R7$(5),e.Y8G("ngIf",o.isTimesheetShow),e.R7$(),e.Y8G("ngbNavItem",6),e.R7$(7),e.Y8G("ngbNavOutlet",t)}}function hc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Project name is required. "),e.k0s())}function vc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Project name must contain only letters. "),e.k0s())}function kc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,hc,4,0,"div",89)(2,vc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addProjectForm.controls.project_name.errors.required),e.R7$(),e.Y8G("ngIf",t.addProjectForm.controls.project_name.errors.onlySpaces)}}function jc(n,a){if(1&n&&e.EFF(0),2&n){const t=a.item;e.Lme(" ",t.first_name," ",t.last_name," ")}}function Cc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Hired jobseeker is required. "),e.k0s())}function yc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Cc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addProjectForm.controls.assigned_to.errors.required)}}function wc(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",168),e.EFF(2,"Add Project"),e.k0s(),e.j41(3,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",170)(5,"div",171)(6,"input",172,24),e.bIt("blur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimControl("project_name",i.addProjectForm))}),e.k0s(),e.DNE(8,kc,3,2,"div",76),e.k0s(),e.j41(9,"div",171)(10,"ng-select",173),e.DNE(11,jc,1,2,"ng-template",174),e.k0s(),e.DNE(12,yc,2,1,"div",76),e.k0s(),e.j41(13,"div",175)(14,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.addProjectSubmit())}),e.EFF(15," Submit "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("formGroup",t.addProjectForm),e.R7$(4),e.Y8G("ngIf",t.addProjectForm.controls.project_name.invali
1d&&t.addProjectForm.controls.project_name.touched),e.R7$(2),e.Y8G("items",t.hired_jobseekers)("clearable",!1)("searchable",!1)("loading",t.globals.loading),e.R7$(2),e.Y8G("ngIf",t.addProjectForm.controls.assigned_to.invalid&&t.addProjectForm.controls.assigned_to.touched),e.R7$(2),e.Y8G("disabled",null==t.addProjectForm?null:t.addProjectForm.invalid)}}function xc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Project name is required. "),e.k0s())}function Fc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Project name must contain only letters. "),e.k0s())}function Rc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,xc,4,0,"div",89)(2,Fc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.updateProjectForm.controls.project_name.errors.required),e.R7$(),e.Y8G("ngIf",t.updateProjectForm.controls.project_name.errors.onlySpaces)}}function Dc(n,a){if(1&n&&e.EFF(0),2&n){const t=a.item;e.Lme(" ",t.first_name," ",t.last_name," ")}}function Ec(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Hired jobseeker is required. "),e.k0s())}function Ic(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Ec,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.updateProjectForm.controls.assigned_to.errors.required)}}function Tc(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",168),e.EFF(2,"Update Project"),e.k0s(),e.j41(3,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",170)(5,"div",171)(6,"input",172,24),e.bIt("blur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimControl("project_name",i.updateProjectForm))}),e.k0s(),e.DNE(8,Rc,3,2,"div",76),e.k0s(),e.j41(9,"div",171)(10,"ng-select",173),e.DNE(11,Dc,1,2,"ng-template",174),e.k0s(),e.DNE(12,Ic,2,1,"div",76),e.k0s(),e.j41(13,"div",175)(14,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.update_project_submit())}),e.EFF(15," Update "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("formGroup",t.updateProjectForm),e.R7$(4),e.Y8G("ngIf",t.updateProjectForm.controls.project_name.invalid&&t.updateProjectForm.controls.project_name.touched),e.R7$(2),e.Y8G("items",t.hired_jobseekers)("clearable",!1)("searchable",!1)("loading",t.globals.loading),e.R7$(2),e.Y8G("ngIf",t.updateProjectForm.controls.assigned_to.invalid&&t.updateProjectForm.controls.assigned_to.touched),e.R7$(2),e.Y8G("disabled",null==t.updateProjectForm?null:t.updateProjectForm.invalid)}}function Gc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Name is required. "),e.k0s())}function Mc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Name must contain only letters. "),e.k0s())}function Sc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Gc,4,0,"div",89)(2,Mc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addTeam.controls.fname.errors.required),e.R7$(),e.Y8G("ngIf",t.addTeam.controls.fname.errors.onlySpaces)}}function Oc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is required. "),e.k0s())}function $c(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email must be a valid email address "),e.k0s())}function Pc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is already in use. Please enter another email address "),e.k0s())}function Nc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Oc,4,0,"div",89)(2,$c,4,0,"div",89)(3,Pc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addTeam.controls.email.errors.required),e.R7$(),e.Y8G("ngIf",t.addTeam.controls.email.errors.email),e.R7$(),e.Y8G("ngIf",t.addTeam.controls.email.errors.isUnique)}}function Yc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Phone number is required. "),e.k0s())}function Vc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Phone number is already in use. "),e.k0s())}function Jc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Contact number must be 10 digits. "),e.k0s())}function Xc(n,a){if(1&n&&(e.j41(0,"div",184),e.DNE(1,Yc,4,0,"div",89)(2,Vc,4,0,"div",89)(3,Jc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addTeam.controls.phone.errors.required),e.R7$(),e.Y8G("ngIf",t.addTeam.controls.phone.errors.isUnique),e.R7$(),e.Y8G("ngIf",t.addTeam.controls.phone.errors.isValidPhone)}}function Ac(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Address is required. "),e.k0s())}function Bc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Ac,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addTeam.controls.client_per_address.errors.required)}}function qc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Role is required. "),e.k0s())}function Lc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,qc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.addTeam.controls.cp_role.errors.required)}}function Hc(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",168),e.EFF(2,"Add Team Member"),e.k0s(),e.j41(3,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",176)(5,"form",40)(6,"div",74)(7,"input",177,25),e.bIt("blur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimControl("fname",i.addTeam))}),e.k0s(),e.DNE(9,Sc,3,2,"div",76),e.k0s(),e.j41(10,"div",74)(11,"input",178,26),e.bIt("focusout",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.checkUniqEmail(i))}),e.k0s(),e.DNE(13,Nc,4,3,"div",76),e.k0s(),e.j41(14,"div",78)(15,"div",79),e.nrm(16,"ng-select",179,19),e.k0s(),e.j41(18,"div",81)(19,"input",180,19),e.bIt("focusout",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.checkUniqPhone(i))})("change",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.validatePhone(i))}),e.k0s()()(),e.DNE(21,Xc,4,3,"div",181),e.j41(22,"div",74)(23,"input",182),e.bIt("onAddressChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.handleAddressChange(i))}),e.k0s(),e.DNE(24,Bc,2,1,"div",76),e.k0s(),e.j41(25,"div",74),e.nrm(26,"input",183,25),e.DNE(28,Lc,2,1,"div",76),e.k0s(),e.j41(29,"div",175)(30,"button",94),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.addTeamMember())}),e.EFF(31," Submit "),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("formGroup",t.addTeam),e.R7$(4),e.Y8G("ngIf",t.addTeam.controls.fname.invali
1d&&(t.addTeam.controls.fname.dirty||t.addTeam.controls.fname.touched)),e.R7$(4),e.Y8G("ngIf",t.addTeam.controls.email.invalid&&(t.addTeam.controls.email.dirty||t.addTeam.controls.email.touched)),e.R7$(3),e.FS9("placeholder","in"==t.country?"+91":"+1"),e.Y8G("hideSelected",!0)("clearable",!1)("searchable",!1)("items",t.phone_code),e.R7$(5),e.Y8G("ngIf",t.addTeam.controls.phone.invalid&&(t.addTeam.controls.phone.dirty||t.addTeam.controls.phone.touched)),e.R7$(2),e.Y8G("options",e.l_i(15,ml,e.lJ4(12,pl),e.eq3(13,ul,t.country))),e.R7$(),e.Y8G("ngIf",t.addTeam.controls.client_per_address.invalid&&(t.addTeam.controls.client_per_address.dirty||t.addTeam.controls.client_per_address.touched)),e.R7$(4),e.Y8G("ngIf",t.addTeam.controls.cp_role.invalid&&(t.addTeam.controls.cp_role.dirty||t.addTeam.controls.cp_role.touched))}}function Uc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Name is required. "),e.k0s())}function zc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Name must contain only letters. "),e.k0s())}function Qc(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Uc,4,0,"div",89)(2,zc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.editTeam.controls.fname.errors.required),e.R7$(),e.Y8G("ngIf",t.editTeam.controls.fname.errors.onlySpaces)}}function Wc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is required. "),e.k0s())}function Zc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email must be a valid email address "),e.k0s())}function Kc(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is already in use. Please enter another email address "),e.k0s())}function e_(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,Wc,4,0,"div",89)(2,Zc,4,0,"div",89)(3,Kc,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.editTeam.controls.email.errors.required),e.R7$(),e.Y8G("ngIf",t.editTeam.controls.email.errors.email),e.R7$(),e.Y8G("ngIf",t.editTeam.controls.email.errors.isUnique)}}function t_(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Phone number is required. "),e.k0s())}function n_(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Phone number is already in use. "),e.k0s())}function i_(n,a){if(1&n&&(e.j41(0,"div",184),e.DNE(1,t_,4,0,"div",89)(2,n_,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.editTeam.controls.phone.errors.required),e.R7$(),e.Y8G("ngIf",t.editTeam.controls.phone.errors.isUnique)}}function o_(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Address is required. "),e.k0s())}function l_(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,o_,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.editTeam.controls.client_per_address.errors.required)}}function a_(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Role is required. "),e.k0s())}function s_(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,a_,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.editTeam.controls.cp_role.errors.required)}}function r_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",168),e.EFF(2,"Update Team Member"),e.k0s(),e.j41(3,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",176)(5,"form",40)(6,"div",74)(7,"input",177,25),e.bIt("blur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimControl("fname",i.editTeam))}),e.k0s(),e.DNE(9,Qc,3,2,"div",76),e.k0s(),e.j41(10,"div",74)(11,"input",185,26),e.bIt("focusout",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.checkUniqEmail(i))}),e.k0s(),e.DNE(13,e_,4,3,"div",76),e.k0s(),e.j41(14,"div",78)(15,"input",186,19),e.bIt("focusout",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.checkUniqPhone(i))}),e.k0s()(),e.DNE(17,i_,3,2,"div",181),e.j41(18,"div",74)(19,"input",182),e.bIt("onAddressChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.handleAddressChange(i))}),e.k0s(),e.DNE(20,l_,2,1,"div",76),e.k0s(),e.j41(21,"div",74),e.nrm(22,"input",183,25),e.DNE(24,s_,2,1,"div",76),e.k0s(),e.j41(25,"div",175)(26,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.UpdateTeamProfile())}),e.EFF(27," Submit "),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("formGroup",t.editTeam),e.R7$(4),e.Y8G("ngIf",t.editTeam.controls.fname.invali
1d&&(t.editTeam.controls.fname.dirty||t.editTeam.controls.fname.touched)),e.R7$(2),e.Y8G("readonly",!0),e.R7$(2),e.Y8G("ngIf",t.editTeam.controls.email.invalid&&(t.editTeam.controls.email.dirty||t.editTeam.controls.email.touched)),e.R7$(2),e.Y8G("readonly",!0),e.R7$(2),e.Y8G("ngIf",t.editTeam.controls.phone.invalid&&(t.editTeam.controls.phone.dirty||t.editTeam.controls.phone.touched)),e.R7$(2),e.Y8G("options",e.l_i(13,ml,e.lJ4(10,pl),e.eq3(11,ul,t.country))),e.R7$(),e.Y8G("ngIf",t.editTeam.controls.client_per_address.invalid&&(t.editTeam.controls.client_per_address.dirty||t.editTeam.controls.client_per_address.touched)),e.R7$(4),e.Y8G("ngIf",t.editTeam.controls.cp_role.invalid&&(t.editTeam.controls.cp_role.dirty||t.editTeam.controls.cp_role.touched)),e.R7$(2),e.Y8G("disabled",t.editTeam.invalid)}}function c_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",168),e.EFF(2,"Add Availability"),e.k0s(),e.j41(3,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",187)(5,"div",188)(6,"owl-date-time-inline",189),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateRange,i)||(l.dateRange=i),e.Njj(i)}),e.k0s(),e.j41(7,"h4",190),e.EFF(8,"Select Time"),e.k0s(),e.j41(9,"div",191)(10,"div",192)(11,"input",193),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateFromTime,i)||(l.dateFromTime=i),e.Njj(i)}),e.k0s(),e.j41(12,"span",194),e.EFF(13,"expand_more"),e.k0s()(),e.nrm(14,"owl-date-time",195,27),e.j41(16,"div",196),e.EFF(17,"To"),e.k0s(),e.j41(18,"div",192)(19,"input",197),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateToTime,i)||(l.dateToTime=i),e.Njj(i)}),e.k0s(),e.j41(20,"span",194),e.EFF(21,"expand_more"),e.k0s()(),e.nrm(22,"owl-date-time",195,28),e.k0s()(),e.j41(24,"div",198)(25,"button",199),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.check_date_already_set())}),e.EFF(26," Submit "),e.k0s()()()}if(2&n){const t=e.sdS(15),o=e.sdS(23),i=e.XpG();e.R7$(6),e.Y8G("pickerType","calendar")("selectMode","range"),e.R50("ngModel",i.dateRange),e.Y8G("min",i.todayDate),e.R7$(5),e.R50("ngModel",i.dateFromTime),e.Y8G("owlDateTimeTrigger",t)("owlDateTime",t),e.R7$(3),e.Y8G("pickerType","timer"),e.R7$(5),e.R50("ngModel",i.dateToTime),e.Y8G("owlDateTimeTrigger",o)("owlDateTime",o),e.R7$(3),e.Y8G("pickerType","timer")}}function __(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",200),e.bIt("mouseenter",function(){const i=e.eBV(t).$implicit,l=e.XpG();return e.Njj(l.hoveredDate=i)})("mouseleave",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.hoveredDate=null)}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=a.focused,i=e.XpG();e.AVh("focused",o)("range",i.isRange(t))("range-end",t.day===i.endDate)("faded",i.isHovered(t)||i.isInside(t)),e.R7$(),e.SpI(" ",t.day," ")}}function d_(n,a){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td"),e.EFF(4),e.k0s(),e.j41(5,"td"),e.EFF(6),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(null==t?null:t.date),e.R7$(2),e.JRh(null==t?null:t.day),e.R7$(2),e.SpI("",null==t?null:t.hours," Hours")}}function p_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h4",201),e.EFF(2,"Timesheet Detail"),e.k0s(),e.j41(3,"button",202),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",203)(5,"p"),e.EFF(6),e.k0s(),e.j41(7,"p"),e.EFF(8),e.k0s(),e.j41(9,"p"),e.EFF(10),e.k0s(),e.j41(11,"p"),e.EFF(12),e.k0s(),e.j41(13,"div")(14,"table",204)(15,"tr")(16,"th"),e.EFF(17,"Date"),e.k0s(),e.j41(18,"th"),e.EFF(19,"Day"),e.k0s(),e.j41(20,"th"),e.EFF(21,"Hours"),e.k0s()(),e.DNE(22,d_,7,3,"tr",99),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.SpI(" Jobseeker : ",(null==t.timesheet_modal_data||null==t.timesheet_modal_data.timesheet_detail?null:t.timesheet_modal_data.timesheet_detail.first_name)+" "+(null==t.timesheet_modal_data||null==t.timesheet_modal_data.timesheet_detail?null:t.timesheet_modal_data.timesheet_detail.last_name)," "),e.R7$(2),e.SpI(" Project Name : ",null==t.timesheet_modal_data||null==t.timesheet_modal_data.timesheet_detail?null:t.timesheet_modal_data.timesheet_detail.project_name," "),e.R7$(2),e.SpI(" Submitted on : ",null==t.timesheet_modal_data||null==t.timesheet_modal_data.timesheet_detail?null:t.timesheet_modal_data.timesheet_detail.submitted_date," "),e.R7$(2),e.SpI(" Total Hours : ",null==t.timesheet_modal_data||null==t.timesheet_modal_data.timesheet_detail?null:t.timesheet_modal_data.timesheet_detail.total_hours," Hours "),e.R7$(10),e.Y8G("ngForOf",null==t.timesheet_modal_data?null:t.timesheet_modal_data.timesheets)}}function u_(n,a){1&n&&(e.j41(0,"div",90)(1,"i",91),e.EFF(2,"warning"),e.k0s(),e.EFF(3," OTP is required. "),e.k0s())}function m_(n,a){if(1&n&&(e.j41(0,"div",88),e.DNE(1,u_,4,0,"div",89),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.OtpGroup.controls.otp.errors.required)}}function g_(n,a){if(1&n&&(e.j41(0,"div",211),e.EFF(1," You will be able to resend OTP after : "),e.j41(2,"b"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI("",t.countDown," seconds")}}function b_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",168),e.EFF(2,"Verify OTP"),e.k0s(),e.j41(3,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",205)(5,"h3"),e.EFF(6," Enter the OTP sent this phone number : "),e.j41(7,"b"),e.nrm(8,"span",163),e.k0s()(),e.j41(9,"div",206),e.nrm(10,"input",207,29),e.DNE(12,m_,2,1,"div",76)(13,g_,4,1,"div",208),e.k0s(),e.j41(14,"div",209)(15,"button",210),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.resendOtp())}),e.EFF(16," Resend OTP "),e.k0s(),e.j41(17,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.verifyOtp())}),e.EFF(18," Verify "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(8),e.Y8G("innerHTML",t.htmlStr,e.npT),e.R7$(),e.Y8G("formGroup",t.OtpGroup),e.R7$(3),e.Y8G("ngIf",t.OtpGroup.controls.otp.invalid&&(t.OtpGroup.controls.otp.dirty||t.OtpGroup.controls.otp.touched)),e.R7$(),e.Y8G("ngIf",t.countDown>0),e.R7$(2),e.Y8G("hidden",0!=t.countDown),e.R7$(2),e.Y8G("disabled",t.OtpGroup.invalid)}}function f_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",212),e.EFF(2,"Update Profile"),e.k0s(),e.j41(3,"button",213),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",176)(5,"image-cropper",214),e.bIt("imageCropped",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.imageCropped(i))})("loadImageFailed",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.loadImageFailed())}),e.k0s(),e.j41(6,"button",215),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.getImage())}),e.EFF(7," Update "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("imageChangedEvent",t.imageChangedEvent)("maintainAspectRatio",!0)("aspectRatio",1)("resizeToWidth",128)}}function h_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",212),e.EFF(2),e.k0s(),e.j41(3,"button",216),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",217)(5,"button",218),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",219),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmSelect())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function v_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",212),e.EFF(2),e.k0s(),e.j41(3,"button",216),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",217)(5,"button",218),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",219),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmProjectDalete())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function k_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",212),e.EFF(2),e.k0s(),e.j41(3,"button",216),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",217)(5,"button",218),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",219),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.timesheetSubmit())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function j_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",212),e.EFF(2,"Are you agree to override date ?"),e.k0s(),e.j41(3,"button",216),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",217)(5,"button",218),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return i.modalClose(),i.override_date=!1,e.Njj(i.submitAvailAbility())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",219),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return i.override_date=!0,e.Njj(i.submitAvailAbility())}),e.EFF(8," Yes "),e.k0s()()}}function C_(n,a){1&n&&(e.j41(0,"div",228)(1,"span",65),e.EFF(2," done "),e.k0s()())}function y_(n,a){1&n&&(e.j41(0,"div",229)(1,"span",65),e.EFF(2," close "),e.k0s()())}function w_(n,a){1&n&&(e.j41(0,"p",230),e.EFF(1," Congratulations!! Your account has been created successfully "),e.k0s())}function x_(n,a){1&n&&(e.j41(0,"p",230),e.EFF(1," Something went wrong. Please try again. "),e.k0s())}function F_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",220)(1,"div",221),e.DNE(2,C_,3,0,"div",222)(3,y_,3,0,"div",223),e.j41(4,"h2",224),e.EFF(5),e.k0s(),e.DNE(6,w_,2,0,"p",225)(7,x_,2,0,"p",225),e.j41(8,"div",226)(9,"button",227),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG();return i.dismiss("Cross click"),e.Njj(l.location.replaceState("/client/settings"))}),e.EFF(10," Okay "),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!0===t.accountSuccess),e.R7$(),e.Y8G("ngIf",!1===t.accountSuccess),e.R7$(2),e.SpI(" ",!0===t.accountSuccess?"Success":"Error"," "),e.R7$(),e.Y8G("ngIf",!0===t.accountSuccess),e.R7$(),e.Y8G("ngIf",!1===t.accountSuccess)}}function R_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",231),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",232),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.visa_proof_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",65),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",233)(8,"div",234),e.nrm(9,"iframe",235),e.nI1(10,"safe"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.visa_proof_src,e.B4B),e.R7$(6),e.Y8G("src",e.bMT(10,2,t.visa_proof_src),e.f$h)}}function D_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",231),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",232),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.download(i.resume_src))}),e.j41(4,"i",65),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",233)(8,"ngx-doc-viewer",236),e.bIt("loaded",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.contentLoaded())}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(5),e.Y8G("url",t.resume_src)}}function E_(n,a){1&n&&(e.j41(0,"div",190)(1,"h4",239),e.EFF(2," Configuring Google Authanticator "),e.k0s(),e.j41(3,"p",243),e.EFF(4,"1. Install Google Authanticator (IOS - Android)."),e.k0s(),e.j41(5,"p",243),e.EFF(6,"2. In the authanticator app, select '+' icon."),e.k0s(),e.j41(7,"p",243),e.EFF(8," 3. Select 'Scan a barcode (or QR code)' and use the phone's camera to scan this barcode. "),e.k0s()())}function I_(n,a){if(1&n&&(e.j41(0,"div",190)(1,"h4",239),e.EFF(2,"Scan QR code"),e.k0s(),e.j41(3,"div",244),e.nrm(4,"qrcode",245),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("qrdata",t.qrCodeLink)("width",250)("errorCorrectionLevel","M")}}function T_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167)(1,"h3",212),e.EFF(2,"Two-Factor Authantication (2FA)"),e.k0s(),e.j41(3,"button",216),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG();return i.dismiss("Cross click"),e.Njj(l.isEnableGoogleAuth=!1)}),e.k0s()(),e.j41(4,"div",237),e.DNE(5,E_,9,0,"div",238)(6,I_,5,3,"div",238),e.j41(7,"div")(8,"h4",239),e.EFF(9,"Verify Code"),e.k0s(),e.j41(10,"p",240),e.EFF(11,"Please verify authantication code."),e.k0s(),e.j41(12,"div",192)(13,"input",241,30),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))}),e.k0s()()()(),e.j41(15,"div",242)(16,"div",191)(17,"button",219),e.bIt("click",function(){e.eBV(t);const i=e.sdS(14),l=e.XpG();return e.Njj(l.verifyAuthanticator(i.value))}),e.EFF(18," Verify & Activate "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("ngIf",t.qrCodeLink),e.R7$(),e.Y8G("ngIf",t.qrCodeLink)}}let G_=(()=>{class n{globals;modalService;clientService;NotificationService;errorHandler;toastr;fb;authService;common;router;activatedRoute;location;countryLocalizeService;navigationService;country="";availForm;addProjectForm;updateProjectForm;OtpGroup;addTeam;editTeam;profileForm;Change_Password;editClient;editClientPerson;settingsSelectedTab=1;hoveredDate=null;fromDate;toDate=null;endDate=null;userData=[];clientProfileData;hour_arr=[];time_picker_array_to=[];time_picker_array_from=[];personArr=[];time_slot_array=[];show_availability=[];hired_jobseekers=[];notifications=[];listTimesheets=[];timesheet_modal_data=[];paymentMonths=["January","February","March","April","May","June","July","August","September","October","November","December"];projects_list=[];selectedStarTime="8:00 AM";selectedEndTime;minDate=void 0;maxDate=void 0;override_date=null;modalReference=null;calendar;filterDate;is_client;countDown=0;croppedImage="";dtInst;projectList=[];project_list_page=1;project_list_per_page=5;project_list_total;phone_code=[];show_hide_card="showMyAccount";htmlStr="";statusInText="";deleteProjectid="";imageChangedEvent="";resume_src="";visa_proof_src="";qrSecretToken="";qrCodeLink="test";deleteSlotId;timesheetStatus;timesheetsObj;dateRange=null;dateRangeStart=null;dateRangeEnd=null;dateFromTime=null;dateToTime=null;notification_last_page=0;notification_current_page=1;todayDate=new Date((new Date).setDate((new Date).getDate()-1));isBooked=t=>this.show_availability.hasOwnProperty(R()(t.year+"-"+t.month+"-"+t.day).format("YYYY-MM-DD"));selectionDate=!1;notification_loading=!1;is_pass_visible=!1;is_cpass_visible=!1;is_npass_visible=!1;isEnableNext=!1;profileClose=!1;profileSidebarEditView=!1;showData=!1;showAvailTable=!1;set_avail_error_msg=!1;showDifferentPassword=!1;showMatchPassword=!1;isTimesheetShow=!1;time_invalidate=!0;accountSuccess=!1;isShowTeamTable=!1;isEnableGoogleAuth=!1;dtElement;dtOptionsProjects={};dtOptions={};dtOptions1={};dtOptions2={};myScrollContainer;send_otp_modal;image_crop;cofirmationModal;
1cofirmationProjectModal;avaliabilityOverrideModel;cofirmationtimesheetsModal;openAccountModal;visa_proof_show;showDocsModal;qrCodeModal;constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X){this.globals=t,this.modalService=o,this.clientService=i,this.NotificationService=l,this.errorHandler=s,this.toastr=_,this.fb=p,this.authService=u,this.common=b,this.router=f,this.activatedRoute=C,this.location=w,this.countryLocalizeService=I,this.navigationService=X,this.country=this.countryLocalizeService.getCountryCode(),this.phone_code="in"===this.country?[{name:"+91",value:"+91"}]:[{name:"+1",value:"+1"}];const T=new Date;this.minDate={year:T.getFullYear(),month:T.getMonth()+1,day:T.getDate()},this.maxDate={year:T.getFullYear(),month:T.getMonth()+3,day:T.getDate()},this.availForm=this.fb.group({dateRange:["",[g.k0.required]],startTime:["",[g.k0.required]],endTime:["",[g.k0.required]]}),this.Change_Password=this.fb.group({current_password:["",[g.k0.required]],new_password:["",[g.k0.required,g.k0.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9]).{8,}$")]],password_confirmation:["",[g.k0.required]]}),this.addProjectForm=this.fb.group({project_name:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],assigned_to:[null,g.k0.required]}),this.updateProjectForm=this.fb.group({project_id:["",g.k0.required],project_name:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],assigned_to:[null,g.k0.required]}),this.addTeam=this.fb.group({fname:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],email:["",[g.k0.required,g.k0.email]],code:["in"==this.country?"+91":"+1",g.k0.required],phone:["",g.k0.required],cp_role:["",g.k0.required],password:[""],client_per_address:["",g.k0.required]}),this.editTeam=this.fb.group({fname:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],email:["",[g.k0.required,g.k0.email]],phone:["",g.k0.required],password:[""],client_per_address:["",g.k0.required],cp_role:["",g.k0.required]}),this.OtpGroup=this.fb.group({otp:["",g.k0.required],phone_code:["",g.k0.required],phone:["",g.k0.required]}),this.editClient=this.fb.group({fname:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],contact_name:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],code:["in"==this.country?"+91":"+1",g.k0.required],phone:["",g.k0.required],email:["",[g.k0.required,g.k0.email]],address:["",g.k0.required],company_type:["",g.k0.required],company_url:["",[g.k0.required,g.k0.pattern("(https?://(?:www.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9].[^s]{2,}|www.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9].[^s]{2,}|https?://(?:www.|(?!www))[a-zA-Z0-9]+.[^s]{2,}|www.[a-zA-Z0-9]+.[^s]{2,})")]]}),this.editClientPerson=this.fb.group({fname:["",g.k0.required],client_per_address:["",g.k0.required]}),this.profileForm=this.fb.group({upload_profile:[""]}),window.addEventListener("scroll",this.scroll,!0),this.activatedRoute.fragment.subscribe(P=>{"showNotification"===P&&(this.get_user_notification(),this.settingsSelectedTab=6),"showAvailability"===P&&(this.showAvailability_click(),this.settingsSelectedTab=1),"showPassword"===P&&(this.showPassword_click(),this.settingsSelectedTab=2),"showProjects"===P&&(this.showProjects_click(),this.settingsSelectedTab=3),"showTeam"===P&&(this.showTeam_click(),this.settingsSelectedTab=4),"showTimesheets"===P&&(this.showTimesheets_click(),this.settingsSelectedTab=5)})}noOnlySpacesValidator(t){const o=t.value;return"string"!=typeof o?null:(console.log("value",o),0===o.trim().length&&o.length>0?{onlySpaces:!0}:null)}trimControl(t,o){const i=o.get(t),l=i?.value;if("string"!=typeof l)return;const s=l.trim();s!==l&&i?.setValue(s,{emitEvent:!1}),i?.updateValueAndValidity({emitEvent:!1})}displayToConsole(t){t.dtInstance.then(o=>this.dtInst=o)}ngOnInit(){this.clientProfileData=JSON.parse(localStorage.getItem("CR_PREF")),this.common.isDeletedUser().subscribe(t=>{1==t.ResponseCode&&(this.toastr.info(t.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))}),this.activatedRoute.queryParams.subscribe(t=>{console.log("sssssssssssssssss",t),t.acc&&(this.accountSuccess=!1,this.common.stripeCallback({id:t.acc}).subscribe(o=>{1==o.ResponseCode?(this.accountSuccess=!0,this.userData.is_stripe_onboard=1):this.accountSuccess=!1,this.modalService.open(this.openAccountModal,{centered:!0,windowClass:"cr-custom-modal modal-small"})}))}),this.dtOptionsProjects={info:!1,searching:!1,paging:!1,bLengthChange:!1,language:{emptyTable:"No Record Found"},columns:[{title:"Project Name"},{title:"Assigned To"},{title:"Created On"},{title:"Action"}]},this.dtOptions={info:!1,searching:!1,paging:!1,bLengthChange:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Name"},{title:"Email"},{title:"Phone"},{title:"Email Verified"},{title:"Role"},{title:"Edit"},{title:"Show all requirements"}]},this.dtOptions1={bLengthChange:!1,info:!1,searching:!1,paging:!1,language:{emptyTable:"No Record Found"},columns:[{title:"Date"},{title:"Day"},{title:"Available Time"},{title:"Action"}]},this.dtOptions2={bLengthChange:!1,info:!1,searching:!1,paging:!1,language:{emptyTable:"No Record Found"},columns:[{title:"Name"},{title:"Project"},{title:"Submitted On"},{title:"Total Hours"},{title:"Details"},{title:"Status"},{title:"Action"}]},this.get_client_profile(),this.get_client_person(),this.createTimePicker(),this.validate_time_from(),this.get_client_availability(),this.get_projects_list(),this.get_timesheets(),this.get_hired_jobseekers(),this.is_client=localStorage.getItem("C_role"),"showNotification"==this.activatedRoute.snapshot.fragment&&this.showNotification_click(),"showAvailability"==this.activatedRoute.snapshot.fragment&&this.showAvailability_click(),"showPassword"==this.activatedRoute.snapshot.fragment&&this.showPassword_click(),"showProjects"==this.activatedRoute.snapshot.fragment&&this.showProjects_click(),"showTeam"
1==this.activatedRoute.snapshot.fragment&&this.showTeam_click(),"showTimesheets"==this.activatedRoute.snapshot.fragment&&this.showTimesheets_click()}scroll=()=>{let t=document.querySelector("#notificationTab");null!=t&&Us()(window).scrollTop()+t.clientHeight>=t.scrollHeight&&"showNotification"==this.show_hide_card&&this.notification_current_page!=this.notification_last_page&&0==this.notification_loading&&this.get_user_notification(this.notification_current_page+1)};toggleEditProfile(t){this.profileSidebarEditView=t,this.profileClose=!this.profileClose,console.log(this.userData),this.editClient.get("fname").setValue(this.userData.first_name),this.editClient.get("contact_name").setValue(this.userData.contact_name),this.editClient.get("company_type").setValue(this.userData.company_type),this.editClient.get("company_url").setValue(this.userData.company_url),this.editClient.get("address").setValue(this.userData.address),this.editClient.get("code").setValue(this.userData.phone_code),this.editClient.get("phone").setValue(this.userData.phone),this.editClient.get("email").setValue(this.userData.email)}toggleCloseProfile(t){this.profileClose=!this.profileClose,this.profileSidebarEditView=t}addAddressChange(t,o){console.log("place",t);const i=t.formatted_address||"";"client_add"==o?this.addTeam.get("client_per_address")?.setValue(i):"client_edit"==o?this.editClientPerson.get("client_per_address")?.setValue(i):this.editClient.get("address")?.setValue(i),t.geometry?.location&&console.log("Lat:",t.geometry.location.lat(),"Lng:",t.geometry.location.lng())}openPdfViwer(t,o,i){this.modalService.open(t,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:`cr-custom-modal modal-${o}`})}onDateSelection(t){this.fromDate||this.toDate?this.fromDate&&!this.toDate&&t.after(this.fromDate)?(this.toDate=t,this.endDate=t.day):(this.toDate=null,this.fromDate=t):this.fromDate=t,console.log(this.fromDate,this.toDate)}saveEditJobForm(){if(this.editClient.invalid)this.editClient.markAllAsTouched();else{let o=this.editClient.get("code").value+""+this.editClient.get("phone").value.replace(/-/g,"");o!=this.userData.phone_code+""+this.userData.phone.replace(/-/g,"")?(this.OtpGroup.get("phone_code").setValue(this.editClient.get("code").value),this.OtpGroup.get("phone").setValue(this.editClient.get("phone").value.replace(/-/g,"")),this.sendOtp(this.userData.email,o)):this.submit_update_client_profile()}}sendOtp(t=null,o=null){null==t&&null==o&&(o=this.editClient.get("phone").value.replace(/-/g,""),t=this.userData.email);const i={number:o,email:t,type:"update"};this.globals.loading=!0,this.common.sendotp(i).subscribe(l=>{this.globals.loading=!1;let s=l.ResponseData||{};!0!==s.skip_otp||!1!==(void 0===s.otp_service_enabled||s.otp_service_enabled)?1==l.ResponseCode?(this.showCounter(),this.modalReference=this.modalService.open(this.send_otp_modal,{backdrop:"static",keyboard:!1,windowClass:"cr-custom-modal modal-small"}),this.htmlStr=o):(this.globals.loading=!1,this.toastr.error(l.ResponseText)):this.submit_update_client_profile()},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}submit_update_client_profile(){const t=this.editClient.value;t.code=this.editClient.get("code").value,t.edit="profile",this.globals.loading=!0,this.clientService.Update_client_profile(t).subscribe(o=>{this.globals.loading=!1,1==o.ResponseCode?(this.editClient.get("email").value!=this.userData.email?(this.toastr.success("Email Verification link sent on your register email"),setTimeout(()=>{this.authService.logout()},3e3)):(this.get_client_profile(),this.toastr.success(o.ResponseText),this.profileSidebarEditView=!1,this.profileClose=!1),this.modalService.dismissAll()):this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}verifyOtp(){let t={otp:this.OtpGroup.get("otp").value,number:this.OtpGroup.get("phone_code").value+""+this.OtpGroup.get("phone").value};this.globals.loading=!0,this.common.verifyotp(t).subscribe(o=>{this.globals.loading=!1;let i=o.ResponseData||{},l=void 0===i.otp_service_enabled||i.otp_service_enabled;1==o.ResponseCode||!0===i.skip_otp&&!1===l?(!0!==i.skip_otp&&!1!==l&&this.modalReference.close(),this.submit_update_client_profile()):(this.globals.loading=!1,this.toastr.error(o.ResponseText))},o=>{this.errorHandler.handleError(o)})}profileUpdate(t){this.imageChangedEvent=t;let o=["image/jpeg","image/jpg","image/png","image/gif","jpg","jpeg","png","gif"];this.imageChangedEvent.target.files[0].size<=2e6?o.includes(this.imageChangedEvent.target.files[0].type)?this.modalService.open(this.image_crop,{centered:!0,windowClass:"cr-custom-modal modal-small"}):-1==o.indexOf(this.imageChangedEvent.target.files[0].type)?this.toastr.error("Only jpeg, gif, png image allowed."):this.modalService.open(this.image_crop,{centered:!0,windowClass:"cr-custom-modal modal-small"}):this.toastr.error("Only 2MB image allowed.")}getImage(){const t={logo:this.croppedImage};console.log("ob",t),this.globals.loading=!0,this.clientService.upload_profile(t).subscribe(o=>{if(console.log("re",o),this.globals.loading=!1,1==o.ResponseCode){this.toastr.success(o.ResponseText),this.globals.profile=this.clientService.upload_profile_url(o.Data),console.log("sk",this.globals.profile),this.get_client_profile(),this.profileSidebarEditView=!1,this.profileClose=!1;var i=JSON.parse(localStorage.getItem("CR_PREF"));i.cprofile=this.globals.profile,localStorage.setItem("CR_PREF",JSON.stringify(i)),this.modalService.dismissAll()}else this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}imageCropped(t){this.croppedImage=t.base64}loadImageFailed(){this.toastr.error("Failed to load an image.")}showCounter(){this.countDown=60;var t=setInterval(()=>{this.countDown=this.countDown-1,0==this.countDown&&clearInterval(t)},1e3)}isHovered(t){return this.fromDate&&!this.toDate&&this.hoveredDate&&t.after(this.fromDate)&&t.before(this.hoveredDate)}isInside(t){return this.toDate&&t.after(this.fromDate)&&t.before(this.toDate)}isRange(t){return t.equals(this.fromDate)||this.toDate&&t.equals(this.toDate)||this.isInside(t)||this.isHovered(t)}get_client_profile(){this.globals.loading=!0,"1"==localStorage.getItem("C_role")?this.clientService.get_client_profile().subscribe(t=>{console.log("cli",t),this.globals.loading=!1,this.userData=t.ResponseData,localStorage.setItem("CR_PREF",JSON.stringify(t.ResponseData)),this.isEnableGoogleAuth=1===t.ResponseData.enable_tfa,null!=this.userData.logo&&(this.globals.profile=this.userData.logo)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)}):this.clientService.get_subclient_profile().subscribe(t=>{this.globals.loading=!1,this.userData=t.ResponseData,null!=this.userData.profile&&(this.globals.profile=this.userData.profile,this.userData.logo=this.userData.profile)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}open_modal(t,o){t&&this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`})}openEditTeamModal(t,o,i){this.globals.loading=!0,this.clientService.get_edit_team_detail({id:i.id}).subscribe(l=>{this.globals.loading=!1,console.log(l),1==l.ResponseCode&&(this.editTeam.get("fname").setValue(l.ResponseData.client_person.first_name),this.editTeam.get("email").setValue(l.ResponseData.client_person.email),this.editTeam.get("phone").setValue(l.ResponseData.client_person.phone_code+" "+l.ResponseData.client_person.phone),this.editTeam.get("
1client_per_address").setValue(l.ResponseData.client_person.address),this.editTeam.get("cp_role").setValue(l.ResponseData.client_person.cp_role),null!=this.modalReference&&this.modalReference.close(),this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`}))},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}UpdateTeamProfile(){if(this.editTeam.invalid)return this.editTeam.markAllAsTouched(),!1;this.globals.loading=!0;var t=this.editTeam.get("fname").value,o=this.editTeam.get("cp_role").value,i=this.editTeam.get("email").value,l=this.editTeam.get("client_per_address").value,s=this.personArr.find(_=>_.email==i);s&&this.clientService.update_team({id:s.id,first_name:t,client_per_address:l,cp_role:o}).subscribe(_=>{if(1==_.ResponseCode){var p=this.personArr.findIndex(u=>u.email==i);this.personArr[p].name=t,this.modalService.dismissAll(),this.toastr.success(_.ResponseText),this.get_client_person()}},_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}editmodal(t,o,i){console.log(i),this.updateProjectForm.get("project_id").setValue(i.id),this.updateProjectForm.get("project_name").setValue(this.toTitleCase(i.project_name));let l=null;if(i.assigned_to)l=i.assigned_to;else if(i.jobseeker_id&&this.hired_jobseekers&&this.hired_jobseekers.length>0){const s=this.hired_jobseekers.find(_=>_.jobseeker_id===i.jobseeker_id||_.id===i.jobseeker_id);s&&(l=s.id)}else if(i.jobseeker_user_id&&this.hired_jobseekers&&this.hired_jobseekers.length>0){const s=this.hired_jobseekers.find(_=>_.jobseeker_user_id===i.jobseeker_user_id||_.user_id===i.jobseeker_user_id||_.id===i.jobseeker_user_id);s&&(l=s.id)}null===l?this.updateProjectForm.get("assigned_to").setValue(null):this.updateProjectForm.get("assigned_to").setValue(l),t&&this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`})}toTitleCase(t){if(t)return t.replace(/\w\S*/g,function(o){return o.charAt(0).toUpperCase()+o.substr(1).toLowerCase()})}getPage(t,o){"project_list"==o&&(this.project_list_page=t,this.get_projects_list())}checkUniqEmail(t,o=null){let i="editClient"==o?this.editClient.get("email"):this.addTeam.get("email"),l=localStorage.getItem("CR_PREF");l=JSON.parse(l);let s={email:t.target.value};l.hasOwnProperty("user_id")&&(s.id=l.user_id),i.valid&&this.common.checkUniqEmail(s).subscribe(_=>{0==_.ResponseCode&&i.setErrors({isUnique:!0})},_=>{this.errorHandler.handleError(_)})}validatePhone(t,o=null){let i="editClient"==o?this.editClient.get("phone"):this.addTeam.get("phone");console.log(t.target.value),console.log(i),12!=t.target.value.length&&i.setErrors({isValidPhone:!0})}checkUniqPhone(t,o=null){this.isEnableNext=!0;let i="editClient"==o?this.editClient.get("phone"):this.addTeam.get("phone"),l=localStorage.getItem("CR_PREF");l=JSON.parse(l);let s={phone:t.target.value.replace(/-/g,"")};l.hasOwnProperty("user_id")&&(s.id=l.user_id),s.code="editClient"==o?this.editClient.get("code").value:this.addTeam.get("code").value,i.valid&&this.common.checkAvailPhone(s).subscribe(_=>{this.isEnableNext=!1,0==_.ResponseCode&&("editClient"==o?this.editClient.get("code").value+""+this.editClient.get("phone").value.replace(/-/g,"")!=this.userData.phone_code+""+this.userData.phone.replace(/-/g,"")&&i.setErrors({isUnique:!0}):i.setErrors({isUnique:!0}))},_=>{this.errorHandler.handleError(_)})}keyPressNumbers(t){var o=t.which?t.which:t.keyCode;return!(o<48||o>57)||(t.preventDefault(),!1)}handleAddressChange(t){const o=t.formatted_address||"";this.addTeam.get("client_per_address")?.setValue(o),this.editTeam.get("client_per_address")?.setValue(o)}addTeamMember(){if(this.addTeam.invalid)this.addTeam.markAllAsTouched();else{const t=this.addTeam.value;console.log(t),this.globals.loading=!0,this.clientService.add_team_member(t).subscribe(o=>{this.globals.loading=!1,1==o.ResponseCode?(this.toastr.success(o.ResponseText),this.get_client_person(),this.modalService.dismissAll(),this.addTeam.reset()):this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}}open(t,o){this.filterDate=null,this.override_date=null,this.get_client_availability(),null!=this.modalReference&&this.modalReference.close(),this.modalReference=this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`}),1==this.is_client?(this.editClient.get("fname").setValue(this.userData.first_name),this.editClient.get("contact_name").setValue(this.userData.contact_name),this.editClient.get("company_type").setValue(this.userData.company_type),this.editClient.get("company_url").setValue(this.userData.company_url),this.editClient.get("address").setValue(this.userData.address),this.editClient.get("code").setValue(this.userData.phone_code),this.editClient.get("phone").setValue(this.userData.phone),this.editClient.get("email").setValue(this.userData.email)):(this.editClientPerson.get("fname").setValue(this.userData.first_name),this.editClientPerson.get("client_per_address").setValue(this.userData.address))}delete_time_slot(t){this.deleteSlotId=t.value[0].id,this.statusInText="delete it",this.modalService.open(this.cofirmationModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})}confirmSelect(){this.globals.loading=!0,this.clientService.delete_time_slot({slot_id:this.deleteSlotId}).subscribe(t=>{this.globals.loading=!1,0==t.ResponseCode?(this.toastr.error(t.ResponseText),this.modalClose()):(this.toastr.success(t.ResponseText),this.modalClose(),this.get_client_availability())},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}modalClose(){this.modalService.dismissAll()}
1get_client_person(){this.isShowTeamTable=!1,this.globals.loading=!0,localStorage,this.clientService.get_client_person().subscribe(o=>{console.log("clip",o),this.isShowTeamTable=!0,this.globals.loading=!1,1==o.ResponseCode&&(this.personArr=o.ResponseData,this.personArr.forEach(i=>{i.selected=1==i.is_allow_client_requirments}))},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}createTimePicker(){for(var t=1;t<=24;t++)this.time_picker_array_to.push({hour:R()({hour:t}).format("h:mm A"),value:R()({hour:t}).format("h:mm A")});for(t=1;t<=24;t++)this.time_picker_array_from.push({hour:R()({hour:t}).format("h:mm A"),value:R()({hour:t}).format("h:mm A")})}validate_time_from(){var t=R()(this.selectedStarTime,"h:mma");this.time_picker_array_to=[],this.time_picker_array_from.forEach((i,l)=>{let s=R()(i.hour,"h:mma");t.isBefore(s)?this.time_picker_array_to.push(i):delete this.time_picker_array_to[l]}),"12:00 AM"!=this.selectedStarTime&&this.time_picker_array_to.push(this.time_picker_array_from[this.time_picker_array_from.length-1]),this.selectedEndTime=null;var o=R()(this.selectedEndTime,"h:mma");this.time_invalidate=!t.isBefore(o)}validate_time_to(){var t=R()(this.selectedStarTime,"h:mma"),o=R()(this.selectedEndTime,"h:mma");this.time_invalidate=!t.isBefore(o)}check_date_already_set(){let t=null,o=null;if(this.set_avail_error_msg=null,null!=this.dateRange){let l={};l.day=Number(R()(this.dateRange[0]).format("DD")),l.month=Number(R()(this.dateRange[0]).format("MM")),l.year=Number(R()(this.dateRange[0]).format("YYYY"));let s={};if(s.day=Number(R()(this.dateRange[1]).format("DD")),s.month=Number(R()(this.dateRange[1]).format("MM")),s.year=Number(R()(this.dateRange[1]).format("YYYY")),this.fromDate=l,this.toDate=s,null!=this.dateToTime&&null!=this.dateFromTime?(this.selectedStarTime=R()(this.dateFromTime).format("hh:mm A"),this.selectedEndTime=R()(this.dateToTime).format("hh:mm A")):(null==this.dateToTime||null==this.dateFromTime)&&(this.selectedStarTime=null,this.selectedEndTime=null),null!=this.dateRange[0]&&null==this.dateRange[1])return this.toastr.error("Please Select end date"),!1;if(null!=this.dateRange[0]&&null!=this.dateRange[1]&&(this.selectionDate=!0),null!=l&&(t=R()(this.dateRange[0]).format("YYYY-MM-DD")),null!=s&&(o=R()(this.dateRange[1]).format("YYYY-MM-DD")),null!=t&&null==o)for(var i in this.show_availability)i==t&&(this.set_avail_error_msg=!0);else{let _=Object.keys(this.show_availability);for(;t<=o;)_.includes(t)&&(this.set_avail_error_msg=!0),t=R()(t).add(1,"days").format("YYYY-MM-DD")}}1==this.set_avail_error_msg?this.modalService.open(this.avaliabilityOverrideModel,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"}):(this.override_date=!1,this.submitAvailAbility())}submitAvailAbility(){if(console.log(this.selectedEndTime,this.selectedStarTime),null==this.selectedEndTime||null==this.selectedStarTime)this.toastr.error("Please Select time");else if(0==this.selectionDate)this.toastr.error("Please Select date");else{this.globals.loading=!0;const t={start_date:this.fromDate.day+"-"+this.fromDate.month+"-"+this.fromDate.year,end_date:null==this.toDate?this.toDate:this.toDate.day+"-"+this.toDate.month+"-"+this.toDate.year,timeslot:[[String(this.selectedStarTime),String(this.selectedEndTime)]],override:1==this.override_date?1:0};this.clientService.setAvailabilty(t).subscribe(o=>{this.globals.loading=!1,1==o.ResponseCode?(this.toastr.success(o.ResponseText),this.modalService.dismissAll(),this.get_client_availability(),this.modalReference.close("Save click"),this.fromDate=this.calendar.getToday(),this.toDate=this.calendar.getNext(this.calendar.getToday(),"d",0),this.time_slot_array=[]):this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}}get_client_availability(){this.globals.loading=!0,this.clientService.get_client_availability({}).subscribe(t=>{this.showAvailTable=!0,this.showData=!0,console.log("rs",t),this.globals.loading=!1,0==t.ResponseCode?this.toastr.error(t.ResponseText):this.show_availability=t.ResponseData.availability},t=>{this.showData=!0,this.globals.loading=!1,this.errorHandler.handleError(t)})}newPassword(t){this.showMatchPassword=t.target.value!=this.Change_Password.controls.password_confirmation.value}matchPassword(t){this.showMatchPassword=t.target.value!=this.Change_Password.controls.new_password.value}
1changePassword(){if(console.log(this.Change_Password),"INVALID"==this.Change_Password.status)this.Change_Password.markAllAsTouched();else{const t=this.prepare_changePassword();this.globals.loading=!0,this.clientService.change_password(t).subscribe(o=>{this.globals.loading=!1,0==o.ResponseCode?this.toastr.error(o.ResponseText):(this.toastr.success(o.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}}prepare_changePassword(){let t=new FormData;return t.append("current_password",this.Change_Password.get("current_password").value),t.append("new_password",this.Change_Password.get("new_password").value),t.append("token",localStorage.CR_Tornado),t}get_hired_jobseekers(){this.globals.loading=!0,this.clientService.get_hired_jobseekers({}).subscribe(t=>{this.showAvailTable=!0,this.showData=!0,console.log("rs",t),this.globals.loading=!1,0==t.ResponseCode?this.toastr.error(t.ResponseText):(this.hired_jobseekers=t.ResponseData.assign_clients,this.hired_jobseekers=this.hired_jobseekers.map(o=>({...o,full_name:`${o.first_name} ${o.last_name}`})))},t=>{this.showData=!0,this.globals.loading=!1,this.errorHandler.handleError(t)})}addProjectSubmit(){this.globals.loading=!0;let t=this.addProjectForm.value;const o=this.hired_jobseekers.find(i=>i.id===t.assigned_to);o&&(t.jobseeker_id=o.jobseeker_id||o.id,t.jobseeker_user_id=o.jobseeker_user_id||o.user_id,delete t.assigned_to),this.clientService.add_project_submit(t).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode&&(this.toastr.success(i.ResponseText),this.addProjectForm.reset(),this.modalService.dismissAll(),this.get_projects_list())},i=>{this.globals.loading=!1,this.toastr.error(i.error.ResponseData.errors)})}update_project_submit(){let t=this.updateProjectForm.value;const o=this.hired_jobseekers.find(i=>i.id===t.assigned_to);o&&(t.jobseeker_id=o.jobseeker_id||o.id,t.jobseeker_user_id=o.jobseeker_user_id||o.user_id,delete t.assigned_to),this.globals.loading=!0,this.clientService.update_project_submit(t).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode&&(this.toastr.success(i.ResponseText),this.updateProjectForm.reset(),this.modalService.dismissAll(),this.get_projects_list())},i=>{this.globals.loading=!1,this.errorHandler.handleError(i)})}get_projects_list(){let t={page:this.project_list_page};this.projects_list=[],this.globals.loading=!0,this.clientService.get_projects_list(t).subscribe(o=>{1==o.ResponseCode?(this.projectList=o.ResponseData.data,console.log(o.ResponseData),this.project_list_total=o.ResponseData.total,this.project_list_page=o.ResponseData.current_page,this.project_list_per_page=o.ResponseData.per_page):this.toastr.error(o.ResponseText),this.globals.loading=!1},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}timesheetApproveDisapprove(t,o){this.timesheetStatus=o,this.timesheetsObj={jobseeker_id:t.jobseeker_id,submitted_at:t.submitted_at,status:o},this.statusInText=1!=o?"reject it":"approve it",this.modalService.open(this.cofirmationtimesheetsModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})}timesheetSubmit(){1==this.timesheetStatus?(console.log("a",this.timesheetsObj),this.globals.loading=!0,this.clientService.timesheet_approve_disapprove(this.timesheetsObj).subscribe(t=>{if(1==t.ResponseCode){let o={type:"timesheet_approve_disapprove",notification:{type:"timesheet_approve_disapprove",datetime:t.ResponseData.datetime.date,jobseeker_name:t.ResponseData.js_first_name+" "+t.ResponseData.js_last_name,jobseeker_id:t.ResponseData.jobseeker_id,jobseeker_user_id:t.ResponseData.jobseeker_user_id,vendor_user_id:t.ResponseData.vendor_user_id,company_name:t.ResponseData.company_name,company_url:t.ResponseData.company_url,client_id:t.ResponseData.client_id,client_user_id:t.ResponseData.client_user_id,project_name:t.ResponseData.project_name,vendor_name:t.ResponseData.vendor_name,date_range:t.ResponseData.date_range,total_hours:t.ResponseData.total_hours,status_in_text:t.ResponseData.status_in_text}};console.log("notif",o),this.NotificationService.sendNotification(o),this.toastr.success(t.ResponseText),this.modalClose()}else this.toastr.error(t.ResponseText),this.modalClose();this.get_timesheets(),this.globals.loading=!1},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})):(console.log("b",this.timesheetsObj),this.globals.loading=!0,this.clientService.timesheet_approve_disapprove(this.timesheetsObj).subscribe(t=>
1{if(1==t.ResponseCode){let o={type:"timesheet_approve_disapprove",notification:{type:"timesheet_approve_disapprove",datetime:t.ResponseData.datetime.date,jobseeker_name:t.ResponseData.js_first_name+" "+t.ResponseData.js_last_name,jobseeker_id:t.ResponseData.jobseeker_id,jobseeker_user_id:t.ResponseData.jobseeker_user_id,vendor_user_id:t.ResponseData.vendor_user_id,company_name:t.ResponseData.company_name,company_url:t.ResponseData.company_url,client_id:t.ResponseData.client_id,client_user_id:t.ResponseData.client_user_id,project_name:t.ResponseData.project_name,vendor_name:t.ResponseData.vendor_name,date_range:t.ResponseData.date_range,total_hours:t.ResponseData.total_hours,status_in_text:t.ResponseData.status_in_text}};console.log("notif",o),this.NotificationService.sendNotification(o),this.toastr.success(t.ResponseText),this.modalClose()}else this.toastr.error(t.ResponseText),this.modalClose();this.get_timesheets(),this.globals.loading=!1},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)}))}get_timesheets(){this.clientService.get_timesheets().subscribe(t=>{this.globals.loading=!1,this.isTimesheetShow=!0,console.log(t.ResponseData.timesheets),1==t.ResponseCode&&(this.listTimesheets=t.ResponseData.timesheets)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}show_timesheet_detail(t,o,i,l,s){if(console.log("row_data",t),null!=l&&null!=s){const _=t.ts_document.lastIndexOf("."),p=t.ts_document.slice(_+1);console.log("dd",p),"docx"==p?(this.resume_src=t.ts_document,this.modalService.open(this.showDocsModal,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"})):(this.visa_proof_src=t.ts_document,this.modalService.open(this.visa_proof_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=t.ts_document,console.log("c"))}else{let _={submitted_at:t.submitted_at,jobseeker_id:t.jobseeker_id,timesheet_detail_id:t.timesheet_detail_id};this.globals.loading=!0,this.clientService.get_timesheet_with_data(_).subscribe(p=>{this.globals.loading=!1,1==p.ResponseCode&&(this.timesheet_modal_data=p.ResponseData.timesheet_data)},p=>{this.globals.loading=!1,this.errorHandler.handleError(p)}),this.modalService.open(o,{centered:!0,windowClass:`cr-custom-modal modal-${i}`})}}get_user_notification(){var t=this;return(0,j.A)(function*(o=t.notification_current_page){if(t.settingsSelectedTab=6,t.show_hide_card="showNotification",t.notification_current_page!=t.notification_last_page){t.notification_loading=!0;let i={page:o};yield t.common.get_user_notification(i).subscribe(l=>{console.log(l),1==l.ResponseCode&&(l.ResponseData.notifications.data.forEach(s=>{if(console.log("ele",s.message.notification.notification_type),"new_js_register"!==s.message.type){let _=t.NotificationService.create_notification_element(s.message);console.log(_),t.notifications.push(_)}}),t.notification_current_page=l.ResponseData.notifications.current_page,t.notification_last_page=l.ResponseData.notifications.last_page,t.globals.notifications=[],t.notification_loading=!1)},l=>{t.globals.loading=!1,t.errorHandler.handleError(l)}),console.log("not",t.notifications)}}).apply(this,arguments)}delete_project(t){this.deleteProjectid=t.id,this.statusInText="delete it",this.modalService.open(this.cofirmationProjectModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})}confirmProjectDalete(){let t={project_id:this.deleteProjectid};this.globals.loading=!0,this.clientService.delete_project(t).subscribe(o=>{this.globals.loading=!1,1==o.ResponseCode&&(this.toastr.success(o.ResponseText),this.updateProjectForm.reset(),this.modalService.dismissAll(),this.get_projects_list())},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}passwordToggle(){this.is_pass_visible=!this.is_pass_visible}cpasswordToggle(){this.is_cpass_visible=!this.is_cpass_visible}npasswordToggle(){this.is_npass_visible=!this.is_npass_visible}charactersOnly(t){var o=new RegExp("^[a-zA-Z ]+$"),i=String.fromCharCode(t.charCode?t.charCode:t.which);return!!o.test(i)||(t.preventDefault(),!1)}alphaNumberOnly(t){var o=new RegExp("^[a-zA-Z0-9 ]+$"),i=String.fromCharCode(t.charCode?t.charCode:t.which);return!!o.test(i)||(t.preventDefault(),!1)}resendOtp(){this.globals.loading=!0;var t=this.editClient.get("phone").value.replace(/-/g,""),i=this.editClient.get("code").value+""+t,l=this.editClient.get("email").value;this.htmlStr=i,this.common.sendotp({number:i,email:l,type:"update"}).subscribe(_=>{this.showCounter(),this.globals.loading=!1},_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}drop(t){t.previousContainer===t.container?(0,je.HD)(t.container.data,t.previousIndex,t.currentIndex):(0,je.eg)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}showAllReqs(t,o){this.clientService.allowClientReqs({id:o.id,is_allow_client_requirments:1==t.target.checked?1:0}).subscribe(l=>{console.log(l)}
1)}contentLoaded(){document.getElementById("progressBar1").style.display="none"}download(t){const o=document.createElement("a");o.setAttribute("href",t),o.setAttribute("download",t),document.body.appendChild(o),o.click(),o.remove()}enableGoogleAuth(t){console.log("event.target.checked",t.target.checked),this.clientService.googleAuthStatus({is_toggle_on:t.target.checked?1:0,user_id:this.userData.user_id}).subscribe(o=>{1==o.ResponseCode?(console.log({res:o}),t.target.checked?(this.isEnableGoogleAuth=!0,this.qrCodeLink=o.responseData.QR_code,this.qrSecretToken=o.responseData.secret_token,setTimeout(()=>{this.modalService.open(this.qrCodeModal,{centered:!0,windowClass:"cr-custom-modal modal-medium"}).result.then(i=>{},i=>{(i===v.PQ.ESC||i===v.PQ.BACKDROP_CLICK)&&(this.isEnableGoogleAuth=!1)})},300)):console.log("event.target.checked",t.target.checked)):(this.isEnableGoogleAuth=!1,this.toastr.success("2FM Authentication Off success!"))})}verifyAuthanticator(t){if(""==t.trim())this.toastr.error("Please Enter Authantication code");else{this.globals.loading=!0;let o={otp:t.trim(),google2fa_secret:this.qrSecretToken?this.qrSecretToken:null};console.log({prepareAuthObj:o}),this.clientService.doFetchGoogle2faSecret(o).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode?(this.toastr.success("2FM Authentication On success!"),this.modalService.dismissAll(),i.ResponseData.Token&&localStorage.setItem("CR_Tornado",i.ResponseData.Token),this.modalService.dismissAll()):this.toastr.error(i.ResponseText)},i=>{this.globals.loading=!1,this.errorHandler.handleError(i)})}}showAvailability_click(){this.settingsSelectedTab=1,this.show_hide_card="showAvailability",this.get_client_availability(),this.navigationService.navigate("/client/settings",this.activatedRoute,{fragment:"showAvailability",replaceUrl:!0})}showPassword_click(){this.settingsSelectedTab=2,this.show_hide_card="showPassword",this.navigationService.navigate("/client/settings",this.activatedRoute,{fragment:"showPassword",replaceUrl:!0})}showProjects_click(){this.settingsSelectedTab=3,this.show_hide_card="showProjects",this.get_projects_list(),this.navigationService.navigate("/client/settings",this.activatedRoute,{fragment:"showProjects",replaceUrl:!0})}showTeam_click(){this.settingsSelectedTab=4,this.show_hide_card="showTeam",this.get_client_person(),this.navigationService.navigate("/client/settings",this.activatedRoute,{fragment:"showTeam",replaceUrl:!0})}showTimesheets_click(){this.settingsSelectedTab=5,this.show_hide_card="showTimesheets",this.get_timesheets(),this.navigationService.navigate("/client/settings",this.activatedRoute,{fragment:"showTimesheets",replaceUrl:!0})}showNotification_click(){this.settingsSelectedTab=6,this.show_hide_card="showNotification",this.get_user_notification(),this.navigationService.navigate("/client/settings",this.activatedRoute,{fragment:"showNotification",replaceUrl:!0})}static \u0275fac=function(o){return new(o||n)(e.rXU(ie.E),e.rXU(v.Bq),e.rXU(le.X),e.rXU(ve.J),e.rXU(oe.c),e.rXU(S.tw),e.rXU(g.ok),e.rXU(ye.u),e.rXU(_e.h),e.rXU(E.Ix),e.rXU(E.nX),e.rXU(y.aZ),e.rXU(B.z),e.rXU(ae.o))};static \u0275cmp=e.VBU({type:n,selectors:[["app-profile-settings"]],viewQuery:function(o,i){if(1&o&&(e.GBs(zs,5),e.GBs(Qs,5),e.GBs(Ws,5),e.GBs(Zs,5),e.GBs(Ks,5),e.GBs(er,5),e.GBs(tr,5),e.GBs(nr,5),e.GBs(ir,5),e.GBs(or,5),e.GBs(lr,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.myScrollContainer=l.first),e.mGM(l=e.lsd())&&(i.send_otp_modal=l.first),e.mGM(l=e.lsd())&&(i.image_crop=l.first),e.mGM(l=e.lsd())&&(i.cofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.cofirmationProjectModal=l.first),e.mGM(l=e.lsd())&&(i.avaliabilityOverrideModel=l.first),e.mGM(l=e.lsd())&&(i.cofirmationtimesheetsModal=l.first),e.mGM(l=e.lsd())&&(i.openAccountModal=l.first),e.mGM(l=e.lsd())&&(i.visa_proof_show=l.first),e.mGM(l=e.lsd())&&(i.showDocsModal=l.first),e.mGM(l=e.lsd())&&(i.qrCodeModal=l.first)}},standalone:!0,features:[e.Jv_([(0,Xn.Dw)()]),e.aNF],decls:36,vars:2,consts:[["AddProjectModal",""],["UpdateProjectModal",""],["AddMemberModal",""],["EditMemberModal",""],["availabilityModal",""],["t",""],["timesheet_detail_modal",""],["send_otp_modal",""],["image_crop",""],["cofirmationModal",""],["cofirmationProjectMod
1al",""],["cofirmationtimesheetsModal",""],["avaliabilityOverrideModel",""],["openAccountModal",""],["visa_proof_show",""],["showDocsModal",""],["qrCodeModal",""],["upload_profile",""],["nav","ngbNav"],["phone",""],["current_password",""],["new_password",""],["password_confirmation",""],["scrollMe",""],["projectName",""],["memberName",""],["memberEmail",""],["dt2",""],["dt3",""],["otp",""],["qrInput",""],[3,"loading"],["class","profile-settings-page main-content-wrap",4,"ngIf"],[1,"profile-settings-page","main-content-wrap"],[1,"profile-settings-wrap"],[1,"profile-sidebar"],[1,"profile-side-header"],[1,"profile-cover"],["class","cr-btn-round",3,"click",4,"ngIf"],[1,"position-relative","round"],[3,"formGroup"],["id","profilePicSetting","type","file","name","profilePicSetting","formControlName","upload_profile",1,"custom-hidden-input",3,"change"],[1,"jobseeker-def-img"],["alt","",1,"img-cover","round","img-inherit",3,"error","src"],["for","profilePicSetting","class","jobseeker-def-img d-block","style","position: absolute; top: 0",4,"ngIf"],[1,"text-center","px-3"],[1,"fw-600"],[1,"color-teal-blue","fw-400",3,"href"],["class","profile-side-content",4,"ngIf"],["class","profile-side-content px-5 pb-5",4,"ngIf"],[1,"profile-main"],[1,"settings-header"],["ngbNav","",1,"settings-head-nav",3,"activeIdChange","activeId"],[3,"ngbNavItem"],["ngbNavLink","",1,"cr-head-nav-item",3,"click"],[1,"material-icons-outlined","mr-3"],["ngbNavContent",""],[4,"ngIf"],[1,"myaccount-page",3,"ngbNavItem"],[1,"settings-content"],[3,"ngbNavOutlet"],[1,"cr-btn-round",3,"click"],["title","Edit Profile",1,"material-icons-outlined"],["for","profilePicSetting",1,"jobseeker-def-img","d-block",2,"position","absolute","top","0"],[1,"edit-profile-img-icon"],[1,"material-icons-outlined"],[1,"profile-side-content"],[1,"profile-side-list"],[1,"profile-side-item"],[1,"side-item-inner"],[1,"sidebar-item-title"],[1,"sidebar-item-value"],[1,"color-alice-blue",3,"href"],[1,"profile-side-content","px-5","pb-5"],[1,"cr-input-wrap","mb-4"],["type","text","placeholder","Full Name","formControlName","fname","autocomplete","off",1,"cr-form-control","control-small",3,"blur"],["class","control-error",4,"ngIf"],["type","text","placeholder","Company Name","formControlName","contact_name","autocomplete","off",1,"cr-form-control","control-small",3,"blur","readonly"],[1,"phone-input-wrap","mb-4"],[1,"cr-country-input"],["bindLabel","name","bindValue","name","placeholder","Code","formControlName","code",1,"cr-select","control-small","country-code-disable",3,"items","hideSelected","clearable","searchable","placeholder"],[1,"cr-input-wrap","ml-4"],["type","tel","placeholder","Phone Number","mask","000-000-0000","formControlName","phone","autocomplete","off",1,"cr-form-control","control-small",3,"keyup","change"],["type","email","placeholder","Email","formControlName","email","autocomplete","off",1,"cr-form-control","control-small",3,"focusout"],["type","text","placeholder","Present address","formControlName","address","googlePlacesAutocomplete","",1,"cr-form-control","control-small",3,"onAddressChange","keypress","options"],["type","text","placeholder","Industry","formControlName","company_type","autocomplete","off",1,"cr-form-control","control-small",3,"readonly"],["type","text","placeholder","Company Url","formControlName","company_url","autocomplete","off",1,"cr-form-control","control-small",3,"readonly"],[1,"cr-btn","cr-btn-blue","w-100","mt-5",3,"click","disabled"],[1,"control-error"],["class","err-container",4,"ngIf"],[1,"err-container"],[1,"material-icons","control-error-icon"],[1,"settings-inner-content","d-flex","align-items-center","justify-content-between"],[1,"setting-inner-title","fw-600","mb-0"],[1,"cr-btn","cr-btn-blue",3,"click"],[1,"table-responsive"],["datatable","","class","row-border hover cr-data-table rounded-0",3,"dtOptions",4,"ngIf"],["datatable","",1,"row-border","hover","cr-data-table","rounded-0",3,"dtOptions"],[1,"sorting-arrows"],[4,"ngFor","ngForOf"],[1,"fw-500"],[1,"link","color-red","cr-btn-flushed"],[1,"material-icons-outlined",3,"click"],[1,"text-center"],["colspan","9"],[1,"settings-inner-content"],[1,"row","align-items-stretch"],[1,"col-12","mb-5"],[1,"col-12"],[1,"settings-form-wrap"],["class","pb-3","novalidate","",3,"formGroup",4,"ngIf"],[1,"col-12","mb-4","mt-4"],[1,"col-12","mb-5","d-flex","align-items-center"],[1,"setting-inner-title","fw-600","mb-0","mr-5"],[1,"checkbox-wrapper-51"],["type","checkbox","id","check-auth","value","userData?.enable_tfa",3,"ngModelChange","change","ngModel","checked"],["for","check-auth",1,"toggle","mb-0"],["height","10px","viewBox","0 0 10 10","width","10px"],["d","M5,1 L5,1 C2.790861,1 1,2.790861 1,5 L1,5 C1,7.209139 2.790861,9 5,9 L5,9 C7.209139,9 9,7.209139 9,5 L9,5 C9,2.790861 7.209139,1 5,1 L5,9 L5,1 Z"],["novalidate","",1,"pb-3",3,"formGroup"],["name","current_password","placeholder","Current Password","formControlName","current_password",1,"cr-form-control","control-large",3,"type"],["src","../../../../assets/front-assets/images/icons/eye-icon.svg","alt","eye-icon",1,"eye-icon",3,"click"],["class","control-error mb-4",4,"ngIf"],["name","new_password","placeholder","New Password","formControlName","new_password",1,"cr-form-control","control-large",3,"keyup","type"],[1,"control-error","mb-4"],["name","confirm_new_password","placeholder","Confirm New Password","formControlName","password_confirmation",1,"cr-form-control","control-large",3,"keyup","type"],[1,"d-flex","justify-content-center","justify-content-lg-end"],[1,"cr-btn","cr-btn-blue",3,"click","disabled"],["class","custom-pagination","aria-label","Default pagination",3,"pageChange",4,"ngIf"],[1,"link","color-teal-blue","cr-btn-flushed","mr-4",3,"click"],[1,"link","color-red","cr-btn-flushed",3,"click"],["aria-label","Default pagination",1,"custom-pagination",3,"pageChange"],["class","material-icons color-teal-green",4,"ngIf"],["class","color-red material-icons-outlined",4,"ngIf"],["type","checkbox",3,"change","id","checked"],[1,"toggle",3,"for"],["viewBox","0 0 10 10","height","10px","width","10px"],[1,"material-icons","color-teal-green"],[1,"color-red","material-icons-outlined"],[1,"settings-inner-content","d-flex","justify-content-between"],[1,"link","color-alice-blue",2,"cursor","pointer",3,"click"],["class","cr-status status-yellow",4,"ngIf"],["class","cr-status status-green",4,"ngIf"],["class","cr-status status-red",4,"ngIf"],["class","cr-btn-flushed mr-4",3,"click",4,"ngIf"],["class","cr-btn-flushed",3,"click",4,"ngIf"],[1,"cr-status","status-yellow"],[1,"cr-status","status-green"],[1,"cr-status","status-red"],[1,"cr-btn-flushed","mr-4",3,"click"],[1,"color-teal-green","material-icons"],[1,"cr-btn-flushed",3,"click"],["id","notificationTab",1,"settings-inner-content"],[1,"col-12","mb-4"],[1,"setting-inner-title","fw-600"],["class","notif-section-wrap",4,"ngFor","ngForOf"],["class","mt-3",4,"ngIf"],[1,"notif-section-wrap"],[1,"n
1otif-list"],["data-notif-type","shortlisted",1,"notif-item-wrap"],[1,"notif-type-icon"],[1,"notif-item"],[1,"notif-content"],[3,"innerHTML"],[1,"notif-time"],[1,"mt-3"],["role","alert",1,"alert","text-center","alert-secondary","fw-600",2,"color","var(--cr-black)"],[1,"modal-header"],["id","video-call-modal",1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body",3,"formGroup"],[1,"cr-input-wrap","mb-5"],["type","text","name","project_name","placeholder","Project Name","formControlName","project_name",1,"cr-form-control","control-large",3,"blur"],["formControlName","assigned_to","placeholder","Select Assigned To","bindLabel","full_name","bindValue","id",1,"cr-select","control-large",3,"items","clearable","searchable","loading"],["ng-option-tmp",""],[1,"d-flex","align-items-center","justify-content-end"],[1,"modal-body"],["type","text","name","member_name","placeholder","Name","formControlName","fname",1,"cr-form-control","control-large",3,"blur"],["type","email","name","member_email","placeholder","Email","formControlName","email",1,"cr-form-control","control-large",3,"focusout"],["bindLabel","name","bindValue","name","placeholder","Code","formControlName","code",1,"cr-select","control-large","country-code-disable",3,"hideSelected","clearable","searchable","placeholder","items"],["type","tel","placeholder","Phone Number","mask","000-000-0000","formControlName","phone","autocomplete","off",1,"cr-form-control","control-large",3,"focusout","change"],["class","control-error mb-4","style","margin-top: -8px",4,"ngIf"],["type","text","placeholder","Location","formControlName","client_per_address","googlePlacesAutocomplete","",1,"cr-form-control","control-large",3,"onAddressChange","options"],["type","text","name","member_name","placeholder","Role","formControlName","cp_role",1,"cr-form-control","control-large"],[1,"control-error","mb-4",2,"margin-top","-8px"],["type","email","name","member_email","placeholder","Email","formControlName","email",1,"cr-form-control","control-large",2,"background-color","#e9ecef",3,"focusout","readonly"],["type","tel","placeholder","Phone Number","formControlName","phone","autocomplete","off",1,"cr-form-control","control-large",2,"background-color","#e9ecef",3,"focusout","readonly"],[1,"modal-body","pt-0"],[1,"position-relative","custom-owl-date-picker","custom-owl-date-picker-modal","mb-5"],[3,"ngModelChange","pickerType","selectMode","ngModel","min"],[1,"mb-4"],[1,"d-flex","align-items-center"],[1,"cr-input-wrap"],["placeholder","Start Time",1,"cr-form-control","cr-owl-date-picker-input",3,"ngModelChange","ngModel","owlDateTimeTrigger","owlDateTime"],[1,"material-icons-outlined","cr-owl-date-picker-icon"],[3,"pickerType"],[1,"mx-3"],["placeholder","End Time",1,"cr-form-control","cr-owl-date-picker-input",3,"ngModelChange","ngModel","owlDateTimeTrigger","owlDateTime"],[1,"ml-auto","d-flex","justify-content-end"],[1,"cr-btn","cr-btn-blue","ml-auto",3,"click"],[1,"custom-day",3,"mouseenter","mouseleave"],["id","modal-basic-title",1,"modal-title"],["aria-label","Close","type","button",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","timesheet-setting"],[1,"table"],[1,"modal-body","text-center"],[1,"cr-input-wrap","mb-5",3,"formGroup"],["type","number","name","otp","placeholder","Enter OTP","formControlName","otp",1,"cr-form-control","control-medium"],["style","margin-top: 5px",4,"ngIf"],[1,"d-flex","align-items-center","gap-4","justify-content-center"],[1,"cr-btn","cr-btn-blue",2,"margin-right","10px",3,"click","hidden"],[2,"margin-top","5px"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],["format","png",3,"imageCropped","loadImageFailed","imageChangedEvent","maintainAspectRatio","aspectRatio","resizeToWidth"],["type","button",1,"cr-btn","cr-btn-blue","d-block","ml-auto","mt-5",3,"click"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"],[1,"modal-body","d-flex","justify-content-center","stripe-account-model"],[1,"d-flex","flex-column","text-center"],["class","d-flex align-items-center justify-content-center mb-3 stripe-account-model-check-box",4,"ngIf"],["class","d-flex align-items-center justify-content-center mb-3 stripe-account-model-check-box cancel-test",4,"ngIf"],[1,"mb-3","h1","fw-700"],["class","h4 fw-500 stripe-account-model-description mb-5",4,"ngIf"],[1,"d-flex","align-items-center","justify-content-center"],[1,"cr-btn","cr-btn-filled","cr-btn-blue",3,"click"],[1,"d-flex","align-items-center","justify-content-center","mb-3","stripe-account-model-check-box"],[1,"d-flex","align-items-center","justify-content-center","mb-3","stripe-account-model-check-box","cancel-test"],[1,"h4","fw-500","stripe-account-model-description","mb-5"],["id","document-preview-modal",1,"modal-title"],[1,"cr-modal-head-button","ml-auto","mr-3",3,"click","href"],[1,"modal-body","p-4","pt-0","overflow-auto"],[1,"prev-wrap"],["width","100%","height","100%",2,"height","100%",3,"src"],["viewer","url","googleCheckContentLoaded","true","googleCheckInterval","3000","googleMaxChecks","1",1,"doc-viewer",2,"width","100%","height","600px",3,"loaded","url"],[1,"p-5","sign-up-user-model-body"],["class","mb-4",4,"ngIf"],[1,"mb-3","fw-500","color-teal-blue"],[1,"mb-2"],["placeholder","Authantication code","type","text",1,"cr-form-control","control-small","ng-pristine","ng-valid","ng-touched",2,"width","50%",3,"keypress"],[1,"modal-footer","p-4"],[1,"mb-1"],[1,"d-flex","justify-content-center"],[3,"qrdata","width","errorCorrectionLevel"]],template:function(o,i){1&o&&(e.nrm(0,"app-loading-spinner",31),e.DNE(1,fc,64,21,"div",32)(2,wc,16,8,"ng-template",null,0,e.C5r)(4,Tc,16,8,"ng-template",null,1,e.C5r)(6,Hc,32,18,"ng-template",null,2,e.C5r)(8,r_,28,16,"ng-template",null,3,e.C5r)(10,c_,27,12,"ng-template",null,4,e.C5r)(12,__,2,9,"ng-template",null,5,e.C5r)(14,p_,23,5,"ng-template",null,6,e.C5r)(16,b_,19,6,"ng-template",null,7,e.C5r)(18,f_,8,4,"ng-template",null,8,e.C5r)(20,h_,9,1,"ng-template",null,9,e.C5r)(22,v_,9,1,"ng-template",null,10,e.C5r)(24,k_,9,1,"ng-template",null,11,e.C5r)(26,j_,9,0,"ng-template",null,12,e.C5r)(28,F_,11,5,"ng-template",null,13,e.C5r)(30,R_,11,4,"ng-template",null,14,e.C5r)(32,D_,9,2,"ng-template",null,15,e.C5r)(34,T_,19,2,"ng-template",null,16,e.C5r)),2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(),e.Y8G("ngIf",i.showData))},dependencies:[y.MD,y.Sq,y.bT,y.PV,y.vh,y.lG,g.YN,g.qT,g.me,g.Q0,g.Zm,g.BC,g.cb,g.vS,g.X1,g.j4,g.JD,N.M
1Q,N.vr,N.Uq,ne.H,ne._,de.EE,de.$j,_l.xv,_l._D,je.ad,Ze,et,v.Pv,v.Um,v.X9,v.sy,v.Gx,v.Ri,v.WA,v.m_,pe.ed,pe.kf,pe.ej,L.j,L.P,dl.f,dl.c,Xn.Zr,Ce.N,S._B,J.Yz,J.H$,J.BK,J.P_,J.gt,J.Zb],styles:['.documents-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(autofit-minx)}.custom-day[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:30px!important;height:30px!important;cursor:pointer}.custom-day.range[_ngcontent-%COMP%], .custom-day[_ngcontent-%COMP%]:hover{background-color:var(--cr-teal-blue);border-radius:50%;color:var(--pure-white)}.custom-day.faded[_ngcontent-%COMP%]{width:100%!important;height:30px!important;border-radius:0;background-color:var(--cr-alice-blue-tint-9);color:var(--pure-black)}.custom-day.range[_ngcontent-%COMP%]:not(.faded):after{content:"";position:absolute;width:50%;background-color:var(--cr-alice-blue-tint-9);height:30px;top:50%;transform:translateY(-50%);right:0;z-index:-1}.custom-day.range-end[_ngcontent-%COMP%]:after{right:unset!important;left:0!important}.time-select-wrap[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-bottom:15px}.eye-icon[_ngcontent-%COMP%]{position:absolute;right:24px;top:50%;padding:6x;transform:translateY(-50%);cursor:pointer}.cr-owl-date-picker-icon[_ngcontent-%COMP%]{width:20px;height:20px;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.cr-owl-date-picker-input[_ngcontent-%COMP%]{padding:10px 22px 10px 12px}.onboarding-empty[_ngcontent-%COMP%]{max-width:42%}.onboarding-empty-img-container[_ngcontent-%COMP%]{min-width:80px;min-height:80px;max-width:80px;display:flex;justify-content:center;align-items:center}.onboarding-empty-img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .onboarding-empty-img-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:100%}.onboarding-question-box-wrapper[_ngcontent-%COMP%] .onboarding-question-box[_ngcontent-%COMP%]{margin-bottom:20px}.onboarding-question-box-wrapper[_ngcontent-%COMP%] .onboarding-question-box[_ngcontent-%COMP%]:last-child{margin-bottom:0}.onboarding-question-box[_ngcontent-%COMP%]{padding:24px 20px;border:1px solid #f4f4f4;border-radius:12px}.onboarding-question-box-title[_ngcontent-%COMP%]{border-bottom:1px solid #eaeaea}.onboarding-question-edit[_ngcontent-%COMP%]{min-width:62px;max-width:62px;display:flex;align-items:center}.onboarding-icon[_ngcontent-%COMP%]{cursor:pointer;transition:.3s all}.onboarding-icon-blue[_ngcontent-%COMP%]{color:var(--cr-teal-blue)}.onboarding-icon-blue[_ngcontent-%COMP%]:hover{color:var(--cr-teal-blue-shade-1)}.onboarding-icon-red[_ngcontent-%COMP%]{color:var(--cr-red)}.onboarding-icon-red[_ngcontent-%COMP%]:hover{color:var(--cr-red-shade-1)}.onboarding-icon-gray[_ngcontent-%COMP%]{color:var(--cr-gray-tint-3)}.onboarding-icon-gray[_ngcontent-%COMP%]:hover{color:var(--cr-teal-blue)}.onboarding-question-lists[_ngcontent-%COMP%] .custom-input-transparent-main-wrapper[_ngcontent-%COMP%]{margin-bottom:6px}.custom-input-transparent-main-wrapper[_ngcontent-%COMP%]:last-child{margin-bottom:0}.video-interview-page[_ngcontent-%COMP%]{height:100%}.interview-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:700px 1fr;grid-gap:15px;height:100%}.interview-grid[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;border-radius:10px}.qn-panel[_ngcontent-%COMP%]{background-color:var(--pure-white);padding:30px 25px;border:1px solid var(--cr-gray-tint-8);overflow-y:auto;display:flex;flex-direction:column}.qn-panel-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:40px}.qn-panel-body[_ngcontent-%COMP%]{overflow-y:auto}.qn-count[_ngcontent-%COMP%]{margin-bottom:20px}.skill-qn-options[_ngcontent-%COMP%]{margin:30px 0;display:flex;align-items:center}.skill-qn-options[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:15px}.sub-qn-head[_ngcontent-%COMP%]{border:none;background:transparent;display:flex;align-items:center}.sub-qn-list[_ngcontent-%COMP%]{padding:15px}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:8px;margin-bottom:0}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--cr-gray-tint-8);cursor:pointer}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-8)}.sub-qn-list[_ngcontent-%COMP%] li.vid-active[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-7)}.sub-qn-list[_ngcontent-%COMP%] .sub-qn-wrap[_ngcontent-%COMP%]{margin-left:20px}.sub-qn[_ngcontent-%COMP%]{margin-bottom:5px}.checkbox-wrapper-51[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{visibility:hidden;display:none}.checkbox-wrapper-51[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%]{position:relative;display:block;width:42px;height:24px;
1cursor:pointer;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.checkbox-wrapper-51[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%]:before{content:"";position:relative;top:1px;left:1px;width:40px;height:22px;display:block;background:#c8ccd4;border-radius:12px;transition:background .2s ease}.checkbox-wrapper-51[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:24px;height:24px;display:block;background:#fff;border-radius:50%;box-shadow:0 2px 6px #9a9999bf;transition:all .2s ease}.checkbox-wrapper-51[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin:7px;fill:none}.checkbox-wrapper-51[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{stroke:#c8ccd4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:0;transition:all .5s linear}.checkbox-wrapper-51[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .toggle[_ngcontent-%COMP%]:before{background:#2d9cdb}.checkbox-wrapper-51[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{transform:translate(18px)}.checkbox-wrapper-51[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{stroke:#000;stroke-dasharray:25;stroke-dashoffset:25}@media screen and (max-width: 991px){.settings-content[_ngcontent-%COMP%]{height:auto}.onboarding-empty-img-container[_ngcontent-%COMP%]{min-width:60px;min-height:60px;max-width:60px}.onboarding-question-box[_ngcontent-%COMP%]{padding:20px 18px;border-radius:8px}}@media screen and (max-width: 767px){.onboarding-empty[_ngcontent-%COMP%]{max-width:100%}.onboarding-empty-img-container[_ngcontent-%COMP%]{min-width:50px;min-height:50px;max-width:50px}}@media screen and (max-width: 575px){.onboarding-question-box[_ngcontent-%COMP%]{padding:16px 14px;border-radius:6px}}@media screen and (max-width: 414px){.time-select-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}}.e-custom-datepicker[_ngcontent-%COMP%], .e-custom-timepicker[_ngcontent-%COMP%]{width:100%;
1min-width:200px}.e-custom-datepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%], .e-custom-timepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]{border:1px solid #ced4da;border-radius:4px;background-color:#fff}.e-custom-datepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]:hover, .e-custom-timepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]:hover{border-color:#80bdff}.e-custom-datepicker[_ngcontent-%COMP%] .e-input-group.e-focus[_ngcontent-%COMP%], .e-custom-timepicker[_ngcontent-%COMP%] .e-input-group.e-focus[_ngcontent-%COMP%]{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.e-custom-datepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%], .e-custom-timepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]{padding:8px 12px;font-size:14px;color:#495057}.form-label[_ngcontent-%COMP%]{font-weight:500;margin-bottom:8px;color:#495057;font-size:14px}.owl-dt-container[_ngcontent-%COMP%]{font-family:inherit}.owl-dt-calendar[_ngcontent-%COMP%]{background:#fff;border:1px solid #ced4da;border-radius:8px;box-shadow:0 2px 8px #0000001a}.owl-dt-calendar-table[_ngcontent-%COMP%]{width:100%}.owl-dt-calendar-header[_ngcontent-%COMP%]{background-color:#f8f9fa;border-radius:4px 4px 0 0;padding:10px}.owl-dt-calendar-body[_ngcontent-%COMP%]{padding:10px}.owl-dt-calendar-cell[_ngcontent-%COMP%]{padding:8px;text-align:center;cursor:pointer;border-radius:4px;transition:background-color .2s}.owl-dt-calendar-cell[_ngcontent-%COMP%]:hover{background-color:#e9ecef}.owl-dt-calendar-cell.owl-dt-calendar-cell-selected[_ngcontent-%COMP%]{background-color:#007bff;color:#fff}.owl-dt-calendar-cell.owl-dt-calendar-cell-today[_ngcontent-%COMP%]{background-color:#fff3cd;border:1px solid #ffeaa7}.owl-dt-timer[_ngcontent-%COMP%]{background:#fff;border:1px solid #ced4da;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:15px}.owl-dt-timer-hour12[_ngcontent-%COMP%], .owl-dt-timer-hour24[_ngcontent-%COMP%], .owl-dt-timer-minute[_ngcontent-%COMP%], .owl-dt-timer-second[_ngcontent-%COMP%]{padding:8px;text-align:center;cursor:pointer;border-radius:4px;transition:background-color .2s}.owl-dt-timer-hour12[_ngcontent-%COMP%]:hover, .owl-dt-timer-hour24[_ngcontent-%COMP%]:hover, .owl-dt-timer-minute[_ngcontent-%COMP%]:hover, .owl-dt-timer-second[_ngcontent-%COMP%]:hover{background-color:#e9ecef}.owl-dt-timer-hour12.owl-dt-timer-hour12-selected[_ngcontent-%COMP%], .owl-dt-timer-hour24.owl-dt-timer-hour24-selected[_ngcontent-%COMP%], .owl-dt-timer-minute.owl-dt-timer-minute-selected[_ngcontent-%COMP%], .owl-dt-timer-second.owl-dt-timer-second-selected[_ngcontent-%COMP%]{background-color:#007bff;color:#fff}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%]{display:block;margin-bottom:15px}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-container[_ngcontent-%COMP%]{max-width:280px;margin:0 auto}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar[_ngcontent-%COMP%]{border:1px solid #dee2e6;border-radius:6px;overflow:hidden}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar-header[_ngcontent-%COMP%]{background-color:#f8f9fa;padding:12px;text-align:center;font-weight:600;border-bottom:1px solid #dee2e6}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar-body[_ngcontent-%COMP%]{padding:8px}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar-cell[_ngcontent-%COMP%]{padding:10px 8px;font-size:14px;border-radius:4px;margin:1px}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar-cell[_ngcontent-%COMP%]:hover{background-color:#e3f2fd}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar-cell.owl-dt-calendar-cell-selected[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff;font-weight:600}.custom-owl-date-picker-modal[_ngcontent-%COMP%] .owl-date-time-inline[_ngcontent-%COMP%] .owl-dt-calendar-cell.owl-dt-calendar-cell-today[_ngcontent-%COMP%]{background-color:#fff3e0;border:2px solid #ff9800;color:#e65100;font-weight:600}.owl-dt-calendar-cell.owl-dt-calendar-cell-in-range[_ngcontent-%COMP%]{background-color:#e3f2fd;color:#1976d2}.owl-dt-calendar-cell.owl-dt-calendar-cell-range-start[_ngcontent-%COMP%], .owl-dt-calendar-cell.owl-dt-calendar-cell-range-end[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff;font-weight:600}']})}return n})();var M_=x(7476),S_=x(5964),O_=x(75834);const $_=["mainScreen"],P_=["checkFulltimeVal"],N_=["checkParttimeVal"],Y_=["checkRemoteVal"],V_=["checkontractVal"],J_=["skillMod
1al"],X_=["avaliability"],A_=(n,a)=>({from:n,to:a}),wl=n=>["client",n,"5","candidates"],B_=(n,a,t)=>({itemsPerPage:n,currentPage:a,totalItems:t});function q_(n,a){if(1&n&&(e.j41(0,"div",65),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" My Jobs (",t.totalJobs,") ")}}function L_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",66)(1,"ul",67,8),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.selectedTab,i)||(l.selectedTab=i),e.Njj(i)}),e.j41(3,"li",68),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.changeTab(1))}),e.j41(4,"a",69),e.EFF(5," My Jobs "),e.k0s()(),e.j41(6,"li",68),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.changeTab(2))}),e.j41(7,"a",69),e.EFF(8," Offshore Jobs "),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(),e.R50("activeId",t.selectedTab),e.R7$(2),e.Y8G("ngbNavItem",1),e.R7$(3),e.Y8G("ngbNavItem",2)}}function H_(n,a){1&n&&(e.j41(0,"p",82),e.EFF(1," Remote "),e.k0s())}function U_(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.job_desc.replace("/<[^>]*>/g","").slice(0,100))}}function z_(n,a){if(1&n&&e.nrm(0,"span",83),2&n){const t=e.XpG().$implicit;e.Y8G("innerHtml",t.job_desc,e.npT)}}function Q_(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",84),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3),s=e.sdS(146);return e.Njj(l.open(s,"small",i))}),e.EFF(1," See More..."),e.k0s()}}function W_(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",86),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function Z_(n,a){if(1&n&&(e.j41(0,"div",85),e.DNE(1,W_,3,1,"ng-container",74),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.skills)}}function K_(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",86),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function ed(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",85),e.DNE(1,K_,3,1,"ng-container",74),e.j41(2,"a",84),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.openSkillModal(i.skills))}),e.EFF(3," View More..."),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.skills.slice(0,2))}}function td(n,a){if(1&n&&(e.j41(0,"tr")(1,"td")(2,"button",75),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.EFF(5),e.k0s(),e.j41(6,"td")(7,"p",76),e.EFF(8),e.k0s(),e.DNE(9,H_,2,0,"p",77),e.k0s(),e.j41(10,"td")(11,"p",78),e.DNE(12,U_,2,1,"span",73)(13,z_,1,1,"span",79)(14,Q_,2,0,"a",80),e.k0s()(),e.j41(15,"td"),e.DNE(16,Z_,2,1,"div",81)(17,ed,4,1,"div",81),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.Y8G("countryRouterLink",e.eq3(11,wl,null==t?null:t.job_id)),e.R7$(),e.Lme(" (",null==t?null:t.job_id,") ",t.job_title," "),e.R7$(2),e.JRh(t.jobpost_location),e.R7$(3),e.SpI(" ",t.job_availability," "),e.R7$(),e.Y8G("ngIf","true"==(null==t?null:t.is_remote)),e.R7$(3),e.Y8G("ngIf",t.job_desc.replace("/<[^>]*>/g","").length>100),e.R7$(),e.Y8G("ngIf",t.job_desc.replace("/<[^>]*>/g","").length<100),e.R7$(),e.Y8G("ngIf",t.job_desc.replace("/<[^>]*>/g","").length>100),e.R7$(2),e.Y8G("ngIf",(null==t||null==t.skills?null:t.skills.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t||null==t.skills?null:t.skills.length)>2)}}function nd(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,td,18,13,"tr",74),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.jobData,e.sMw(4,B_,t.per_page,t.page,t.total)))}}function id(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",87)(2,"td",88),e.EFF(3,"No Record Found"),e.k0s()()())}function od(n,a){if(1&n&&(e.j41(0,"table",70)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Job Title"),e.nrm(5,"span",71),e.k0s(),e.j41(6,"th"),e.EFF(7,"Location"),e.nrm(8,"span",71),e.k0s(),e.j41(9,"th"),e.EFF(10,"Job Type"),e.nrm(11,"span",71),e.k0s(),e.j41(12,"th"),e.EFF(13,"Description"),e.nrm(14,"span",71),e.k0s(),e.j41(15,"th",72),e.EFF(16," Skills"),e.nrm(17,"span",71),e.k0s()()(),e.DNE(18,nd,3,8,"tbody",73)(19,id,4,0,"tbody",73),e.k0s()),2&n){const t=e.XpG();e.Y8G("dtOptions",t.dtOptionsMyJobs),e.R7$(18),e.Y8G("ngIf",0!=t.jobData.length),e.R7$(),e.Y8G("ngIf",0==t.jobData.length)}}function ld(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",89),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.getPage(i))}),e.k0s()}}function ad(n,a){1&n&&(e.j41(0,"p",59),e.EFF(1," Full Time "),e.k0s())}function sd(n,a){1&n&&(e.j41(0,"p",59),e.EFF(1," Part Time "),e.k0s())}function rd(n,a){1&n&&(e.j41(0,"p",59),e.EFF(1," Remote "),e.k0s())}function cd(n,a){1&n&&(e.j41(0,"p",59),e.EFF(1," Contract "),e.k0s())}function _d(n,a){if(1&n&&(e.j41(0,"div",86),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function dd(n,a){if(1&n&&(e.j41(0,"div",58)(1,"div",85),e.DNE(2,_d,2,1,"div",90),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",null==t.sliderJobData?null:t.sliderJobData.skills)}}function pd(n,a){1&n&&(e.j41(0,"div",58)(1,"div",85)(2,"div",86),e.EFF(3,"-"),e.k0s()()())}function ud(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",95),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function md(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",91)(1,"h3",92),e.EFF(2,"Skills"),e.k0s(),e.j41(3,"button",93),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}
1),e.k0s()(),e.j41(4,"div",94)(5,"div",85),e.DNE(6,ud,3,1,"ng-container",74),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("ngForOf",t.jobseekerSkill)}}function gd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",91)(1,"h3",96),e.EFF(2,"Job Description"),e.k0s(),e.j41(3,"button",97),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.k0s()(),e.j41(4,"div",98)(5,"div",99)(6,"label",100),e.EFF(7,"Job Title"),e.k0s(),e.j41(8,"h3",101),e.EFF(9),e.k0s()(),e.j41(10,"div")(11,"label",102),e.EFF(12,"Job Description"),e.k0s(),e.nrm(13,"h6",103),e.k0s()(),e.j41(14,"div",104)(15,"button",105),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(16,"Close"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(9),e.SpI(" ",null==t.descriptionModalData?null:t.descriptionModalData.job_title," "),e.R7$(4),e.Y8G("innerHtml",t.descriptionModalData.job_desc,e.npT)}}let bd=(()=>{class n{globals;router;route;common;errorHandler;titleService;meta;job;location;modalService;authService;navigationService;countryLocalizeService;dtElement;country="";countrySubscription;routerSubscription;dtOptions={};selectedTab=1;jobInfoCanvasOpen=!1;isCollapsed=!0;_skills="";_location="";_jobtitle="";allskills=[];kmGroup;FilterGroup;toastr;htmlStr="";selectedAvaliability=[];upcoming_interview=[];sort_by="DESC";post_date=1;latitude="";longitude="";location_radious=30;location_km=30;viewHeight;selected_filter_job_skill=[];_global_search="";search;totalJobs=0;dtOptionsMyJobs={};jobData=[];skill_arr=[];total;page=1;per_page=12;jobseekerSkill=[];descriptionModalData;filter_obj_skill=[];filter_obj_availability={};jobseekers_skill_arr;is_based_on_skill=!1;applied=0;location_search=!1;is_progress=!1;is_not_cleared=1;sliderJobData;filterSidebar=!1;isShowTable=!1;avaliability;elementView;checkFulltimeVal;
1checkParttimeVal;checkRemoteVal;checkontractVal;skillModal;constructor(t,o,i,l,s,_,p,u,b,f,C,w,I){this.globals=t,this.router=o,this.route=i,this.common=l,this.errorHandler=s,this.titleService=_,this.meta=p,this.job=u,this.location=b,this.modalService=f,this.authService=C,this.navigationService=w,this.countryLocalizeService=I}showJobInfoCanvas(t){this.jobInfoCanvasOpen=!0,console.log(t),this.sliderJobData=t}hideJobInfoCanvas(){this.jobInfoCanvasOpen=!1}toggleFilterSidebar(){this.filterSidebar=!this.filterSidebar}ngOnInit(){setTimeout(()=>{this.country=this.countryLocalizeService.getCountryCode()||""},0),this.countrySubscription=this.countryLocalizeService.getCountryCode$().subscribe(t=>{t&&t!==this.country&&(this.country=t)}),this.routerSubscription=this.router.events.pipe((0,S_.p)(t=>t instanceof E.wF)).subscribe(()=>{this.countryLocalizeService.updateCountryFromUrl()}),this.common.isDeletedUser().subscribe(t=>{1==t.ResponseCode&&(this.toastr.info(t.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))}),this.GetSkills(),this.getPage(this.page),this.dtOptionsMyJobs={bLengthChange:!1,bInfo:!1,paging:!1,searching:!1,language:{emptyTable:"No Record Found"}}}getPage(t){this.page=t,this.GetData()}open(t,o,i){console.log(i),this.descriptionModalData=i,this.modalService.open(t,{centered:!0,scrollable:!0,windowClass:`cr-custom-modal modal-${o||"medium"}`})}GetSkills(){this.common.GetSkills().subscribe(t=>{this.allskills=t.ResponseData.data},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}checkVar(t){return!(null==typeof t||null==t||"null"==t||null===t||"null"===t||""==t)}changeTab(t){this.selectedTab=t,this.GetData()}GetData(){this.jobData=[],this.is_progress=!0,this.isShowTable=!1,this.location_search=!!this.checkVar(this._location),this.location_km=this.location_radious;let t=0,o=null;2==this.selectedTab&&(t=1,o="in");const i={search_text:this._global_search,skill:this.checkVar(this._skills)?this._skills:"",location:this.checkVar(this._location)?this._location:"",jobtitle:this.checkVar(this._jobtitle)?this._jobtitle:"",selectedAvaliability:this.selectedAvaliability,sort:this.sort_by,postDate:this.post_date,page:this.page,latitude:this.latitude,longitude:this.longitude,radious:this.location_radious,km:this.location_km,offshore:t};o&&(i.country=o),console.log("req",i),this.globals.loading=!0,this.job.get_filtered_data(i).subscribe(l=>{if(this.isShowTable=!0,console.log("re",l.Data),this.globals.loading=!1,this.is_progress=!1,this.totalJobs=l.Data.jobs.total,1==l.Flag&&(this.jobData=l.Data.jobs.data,this.total=l.Data.jobs.total,this.applied=l.Data.applied),this.elementView&&(this.viewHeight=this.elementView.nativeElement.offsetHeight,this.elementView.nativeElement.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})),this.htmlStr=!this.checkVar(this._skills)&&this.checkVar(this._location)&&this.checkVar(this._jobtitle)?this._jobtitle+" Jobs in "+this._location:this.checkVar(this._skills)||!this.checkVar(this._location)||this.checkVar(this._jobtitle)?this.checkVar(this._skills)&&this.checkVar(this._location)&&!this.checkVar(this._jobtitle)?"Jobs in "+this._location:this.checkVar(this._skills)||this.checkVar(this._location)||!this.checkVar(this._jobtitle)?"All jobs":this._jobtitle.slice(0,15)+(this._jobtitle.length>15?"...":" ")+" Jobs":"All jobs in "+this._location,this.route.snapshot.queryParamMap.keys.indexOf("availability")>-1){const u=this.selectedAvaliability;this.avaliability.forEach(function(f){u.indexOf(f.nativeElement.defaultValue+"")>-1&&(f.nativeElement.checked=!0)}),this.selectedAvaliability.join(",")}this.selectedAvaliability.length&&this.selectedAvaliability.join(",");const p={};
1Object.keys(i).forEach(u=>{const b=i[u];Array.isArray(b)?p[u]=b.join(","):null!=b&&""!==b&&(p[u]=String(b))}),this.navigationService.navigate("client/my-jobs",this.route,{queryParams:p,replaceUrl:!0})},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}avaliabilityChange(t,o){var i=this;return(0,j.A)(function*(){if(i.page=1,t.target.checked)i.selectedAvaliability.push(o);else for(var l=0;l<4;l++)i.selectedAvaliability[l]==o&&i.selectedAvaliability.splice(l,1);i.GetData()})()}dateChange(t,o){console.log(t.target.checked),console.log(o),t.target.checked&&(this.page=1,this.post_date=o),this.GetData()}clearAllVal(){this.checkFulltimeVal.nativeElement.checked=!1,this.checkParttimeVal.nativeElement.checked=!1,this.checkRemoteVal.nativeElement.checked=!1,this.checkontractVal.nativeElement.checked=!1,this.page=1,this.post_date=1,this.avaliability.forEach(function(t){t.nativeElement.checked=!0}),this.selectedAvaliability=[],this.GetData()}openSkillModal(t){console.log(t),this.jobseekerSkill=t,this.modalService.open(this.skillModal,{centered:!0,windowClass:"cr-custom-modal modal-small"})}ngOnDestroy(){this.countrySubscription?.unsubscribe(),this.routerSubscription?.unsubscribe()}static \u0275fac=function(o){return new(o||n)(e.rXU(ie.E),e.rXU(E.Ix),e.rXU(E.nX),e.rXU(_e.h),e.rXU(oe.c),e.rXU(fe.hE),e.rXU(fe.W8),e.rXU(O_.m),e.rXU(y.aZ),e.rXU(v.Bq),e.rXU(ye.u),e.rXU(ae.o),e.rXU(B.z))};static \u0275cmp=e.VBU({type:n,selectors:[["app-my-jobs"]],viewQuery:function(o,i){if(1&o&&(e.GBs(ne._,5),e.GBs($_,5),e.GBs(P_,5),e.GBs(N_,5),e.GBs(Y_,5),e.GBs(V_,5),e.GBs(J_,5),e.GBs(X_,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.dtElement=l.first),e.mGM(l=e.lsd())&&(i.elementView=l.first),e.mGM(l=e.lsd())&&(i.checkFulltimeVal=l.first),e.mGM(l=e.lsd())&&(i.checkParttimeVal=l.first),e.mGM(l=e.lsd())&&(i.checkRemoteVal=l.first),e.mGM(l=e.lsd())&&(i.checkontractVal=l.first),e.mGM(l=e.lsd())&&(i.skillMod
1al=l.first),e.mGM(l=e.lsd())&&(i.avaliability=l)}},standalone:!0,features:[e.aNF],decls:147,vars:31,consts:[["checkFulltimeVal",""],["checkParttimeVal",""],["checkRemoteVal",""],["checkontractVal",""],["avaliability",""],["jobinfocanvas",""],["skillModal",""],["jobDescriptionModal",""],["nav","ngbNav"],[3,"loading"],[1,"my-jobs-page","main-content-wrap","cr-body-sm"],[1,"panel-togglers","d-xl-none"],["title","Toggle Filter",1,"cr-button-round","flex-shrink-0","mr-2",3,"click"],[1,"material-icons"],[1,"filter-head"],[1,"h1","mb-0","fw-600"],[1,"cr-btn-flushed","color-red",3,"click"],[1,"filter-section"],[1,"filter-title"],[1,"filter-options-list"],[1,"custom-check","mb-3"],["id","fullTime","type","checkbox","name","fullTime",1,"uncheckVal",3,"change"],["for","fullTime",1,"color-pure-black","fw-400"],["id","partTime","type","checkbox","name","partTime",1,"uncheckVal",3,"change"],["for","partTime",1,"color-pure-black","fw-400"],["id","RemoteWork","type","checkbox","name","RemoteWork",1,"uncheckVal",3,"change"],["for","RemoteWork",1,"color-pure-black","fw-400"],["id","contractWork","type","checkbox","name","contractWork",1,"uncheckVal",3,"change"],["for","contractWork",1,"color-pure-black","fw-400"],[1,"custom-radio","mb-3"],["id","anyDate","type","radio","name","postedDate",3,"change","checked"],["for","anyDate"],["id","postedDate","type","radio","name","postedDate",3,"change"],["for","postedDate"],["id","threeDays","type","radio","name","postedDate",3,"change"],["for","threeDays"],["id","sevenDays","type","radio","name","postedDate",3,"change"],["for","sevenDays"],[1,"my-jobs-main"],["class","h1 fw-600",4,"ngIf"],["class","d-flex justify-content-between align-items-center",4,"ngIf"],[1,"table-responsive"],["class","row-border hover cr-data-table w-100 radius-0","datatable","",3,"dtOptions",4,"ngIf"],["class","custom-pagination paginate-front",3,"pageChange",4,"ngIf"],["id","jobInfoCanvas",1,"custom-canvas",3,"ngClass"],[1,"canvas-close",3,"click"],[1,"custom-canvas-body","px-0"],[1,"cr-job-title-head-wrap"],[1,"d-flex","align-items-center","mb-4"],[1,"mb-0","fw-600"],[1,"color-gray-2","fw-500","mb-5"],[1,"gray-4"],[1,"cr-job-detail-wrap"],[1,"cr-job-detail-content"],[1,"cr-job-detail-content-left"],[1,"mr-3"],[1,"material-icons-outlined"],[1,"paragraph-md","color-gray-2","mb-0"],[1,"cr-job-detail-content-right"],[1,"mb-0","fw-500"],[1,"mb-0","fw-500","color-alice-blue"],["class","mb-0 fw-500",4,"ngIf"],["class","cr-job-detail-content-right",4,"ngIf"],[1,"canvas-footer","d-flex","justify-content-center"],[1,"cr-btn","cr-btn-blue",3,"countryRouterLink"],[1,"h1","fw-600"],[1,"d-flex","justify-content-between","align-items-center"],["ngbNav","",1,"cr-head-nav",3,"activeIdChange","activeId"],[3,"click","ngbNavItem"],["ngbNavLink","",1,"cr-head-nav-item"],["datatable","",1,"row-border","hover","cr-data-table","w-100","radius-0",3,"dtOptions"],[1,"sorting-arrows"],[2,"width","500px"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"link","color-teal-blue","text-left","job-btn-w-client",3,"countryRouterLink"],[1,"cr-pill","pill-blue","mb-1","d-flex","justify-content-center","align-items-center",2,"max-width","78px"],["class","cr-pill pill-blue d-flex justify-content-center align-items-center","style","max-width: 78px",4,"ngIf"],[1,"job-description-w-client"],[3,"innerHtml",4,"ngIf"],["class","link color-alice-blue","href","javascript:void(0)",3,"click",4,"ngIf"],["class","cr-skills-wrap",4,"ngIf"],[1,"cr-pill","pill-blue","d-flex","justify-content-center","align-items-center",2,"max-width","78px"],[3,"innerHtml"],["href","javascript:void(0)",1,"link","color-alice-blue",3,"click"],[1,"cr-skills-wrap"],[1,"cr-skill"],[1,"text-center"],["colspan","9"],[1,"custom-pagination","paginate-front",3,"pageChange"],["class","cr-skill",4,"ngFor","ngForOf"],[1,"modal-header"],["id","video-call-modal",1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","text-center"],[1,"cr-skill-details"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],[1,"modal-body"],[1,"d-flex","flex-column","mb-4"],["for","jobtitle",1,"mb-2","color-gray-2","fw-500"],[1,"mb-0","color-dark","fw-700"],["for","jobdesc",1,"mb-2","color-gray-2","fw-500"],[1,"fw-500","job-description",3,"innerHtml"],[1,"modal-footer","p-5","d-flex","justify-content-end"],[1,"cr-btn","cr-btn-blue",3,"click"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",9),e.j41(1,"section",10)(2,"div",11)(3,"button",12),e.bIt("click",function(){return e.eBV(l),e.Njj(i.toggleFilterSidebar())}),e.j41(4,"span",13),e.EFF(5),e.k0s()()(),e.j41(6,"aside")(7,"div",14)(8,"div",15),e.EFF(9,"Filter"),e.k0s(),e.j41(10,"button",16),e.bIt("click",function(){return e.eBV(l),e.Njj(i.clearAllVal())}),e.EFF(11," Clear All "),e.k0s()(),e.j41(12,"section",17)(13,"div",18),e.EFF(14,"Availability"),e.k0s(),e.j41(15,"div",19)(16,"div",20)(17,"input",21,0),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.avaliabilityChange(_,"1"))}),e.k0s(),e.j41(19,"label",22),e.EFF(20," Full Time "),e.k0s()(),e.j41(21,"div",20)(22,"input",23,1),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.avaliabilityChange(_,"2"))}),e.k0s(),e.j41(24,"label",24),e.EFF(25," Part Time "),e.k0s()(),e.j41(26,"div",20)(27,"input",25,2),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.avaliabilityChange(_,"3"))}),e.k0s(),e.j41(29,"label",26),e.EFF(30," Remote "),e.k0s()(),e.j41(31,"div",20)(32,"input",27,3),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.avaliabilityChange(_,"4"))}),e.k0s(),e.j41(34,"label",28),e.EFF(35," Contract "),e.k0s()()()(),e.j41(36,"section",17)(37,"div",18),e.EFF(38,"Posted Date"),e.k0s(),e.j41(39,"div",19)(40,"div",29)(41,"input",30,4),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.dateChange(_,1))}),e.k0s(),e.j41(43,"label",31),e.EFF(44," Any Date "),e.k0s()(),e.j41(45,"div",29)(46,"input",32),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.dateChange(_,2))}),e.k0s(),e.j41(47,"label",33),e.EFF(48," Today "),e.k0s()(),e.j41(49,"div",29)(50,"input",34),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.dateChange(_,3))}),e.k0s(),e.j41(51,"label",35),e.EFF(52," Last 3 Days "),e.k0s()(),e.j41(53,"div",29)(54,"input",36),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.dateChange(_,4))}),e.k0s(),e.j41(55,"label",37),e.EFF(56," Last 7 Days "),e.k0s()()()()(),e.j41(57,"section",38),e.DNE(
158,q_,2,1,"div",39)(59,L_,9,3,"div",40),e.j41(60,"div",41),e.DNE(61,od,20,3,"table",42)(62,ld,1,0,"pagination-controls",43),e.k0s(),e.j41(63,"aside",44,5)(65,"button",45),e.bIt("click",function(){return e.eBV(l),e.Njj(i.hideJobInfoCanvas())}),e.j41(66,"i",13),e.EFF(67,"close"),e.k0s()(),e.j41(68,"div",46)(69,"div",47)(70,"div",48)(71,"h1",49),e.EFF(72),e.k0s()(),e.nrm(73,"p",50),e.j41(74,"p",51),e.EFF(75,"Posted"),e.k0s()(),e.j41(76,"div",52)(77,"div",53)(78,"div",54)(79,"span",55)(80,"i",56),e.EFF(81,"person"),e.k0s()(),e.j41(82,"p",57),e.EFF(83,"CLIENT NAME"),e.k0s()(),e.j41(84,"div",58)(85,"p",59),e.EFF(86),e.nI1(87,"titlecase"),e.k0s()()(),e.j41(88,"div",53)(89,"div",54)(90,"span",55)(91,"i",56),e.EFF(92,"public"),e.k0s()(),e.j41(93,"p",57),e.EFF(94,"ADDRESS"),e.k0s()(),e.j41(95,"div",58)(96,"p",59),e.EFF(97),e.k0s()()(),e.j41(98,"div",53)(99,"div",54)(100,"span",55)(101,"i",56),e.EFF(102,"paid"),e.k0s()(),e.j41(103,"p",57),e.EFF(104,"RATE"),e.k0s()(),e.j41(105,"div",58)(106,"p",60),e.EFF(107),e.nI1(108,"currencyRange"),e.k0s()()(),e.j41(109,"div",53)(110,"div",54)(111,"span",55)(112,"i",56),e.EFF(113,"event_seat"),e.k0s()(),e.j41(114,"p",57),e.EFF(115,"POSITIONS"),e.k0s()(),e.j41(116,"div",58)(117,"p",59),e.EFF(118),e.k0s()()(),e.j41(119,"div",53)(120,"div",54)(121,"span",55)(122,"i",56),e.EFF(123,"work_outline"),e.k0s()(),e.j41(124,"p",57),e.EFF(125,"EMPLOYMENT TYPE"),e.k0s()(),e.j41(126,"div",58),e.DNE(127,ad,2,0,"p",61)(128,sd,2,0,"p",61)(129,rd,2,0,"p",61)(130,cd,2,0,"p",61),e.k0s()(),e.j41(131,"div",53)(132,"div",54)(133,"span",55)(134,"i",56),e.EFF(135,"psychology"),e.k0s()(),e.j41(136,"p",57),e.EFF(137,"SKILLS"),e.k0s()(),e.DNE(138,dd,3,1,"div",62)(139,pd,4,0,"div",62),e.k0s()()(),e.j41(140,"div",63)(141,"a",64),e.EFF(142,"Go To Job Page"),e.k0s()()()()(),e.DNE(143,md,7,1,"ng-template",null,6,e.C5r)(145,gd,17,2,"ng-template",null,7,e.C5r)}2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(5),e.SpI(" ",i.filterSidebar?"close":"filter_alt"," "),e.R7$(),e.HbH(i.filterSidebar?"filter-sidebar filter-sidebar-open":"filter-sidebar"),e.R7$(35),e.Y8G("checked",!0),e.R7$(17),e.Y8G("ngIf","in"==i.country||"in"!=i.country&&!i.globals.is_offshore_client),e.R7$(),e.Y8G("ngIf","in"!=i.country&&i.globals.is_offshore_client),e.R7$(2),e.Y8G("ngIf",i.isShowTable),e.R7$(),e.Y8G("ngIf",i.total>i.per_page&&i.isShowTable),e.R7$(),e.Y8G("ngClass",i.jobInfoCanvasOpen?"custom-canvas-open":""),e.R7$(9),e.JRh(null==i.sliderJobData?null:i.sliderJobData.job_title),e.R7$(14),e.SpI(" ",e.bMT(87,22,null==i.sliderJobData?null:i.sliderJobData.client_name)," "),e.R7$(11),e.JRh(null==i.sliderJobData?null:i.sliderJobData.jobpost_location),e.R7$(10),e.SpI(" ",e.bMT(108,24,e.l_i(26,A_,null==i.sliderJobData?null:i.sliderJobData.min_salary,null==i.sliderJobData?null:i.sliderJobData.max_salary))," "),e.R7$(11),e.JRh(null==i.sliderJobData?null:i.sliderJobData.vacancy),e.R7$(9),e.Y8G("ngIf",1==(null==i.sliderJobData?null:i.sliderJobData.job_availability)),e.R7$(),e.Y8G("ngIf",2==(null==i.sliderJobData?null:i.sliderJobData.job_availability)),e.R7$(),e.Y8G("ngIf",3==(null==i.sliderJobData?null:i.sliderJobData.job_availability)),e.R7$(),e.Y8G("ngIf",4==(null==i.sliderJobData?null:i.sliderJobData.job_availability)),e.R7$(8),e.Y8G("ngIf",0!=(null==i.sliderJobData?null:i.sliderJobData.skills.length)),e.R7$(),e.Y8G("ngIf",0==(null==i.sliderJobData?null:i.sliderJobData.skills.length)),e.R7$(2),e.Y8G("countryRouterLink",e.eq3(29,wl,null==i.sliderJobData?null:i.sliderJobData.job_id)))},dependencies:[y.MD,y.YU,y.Sq,y.bT,y.PV,g.YN,E.iI,g.X1,v.UN,v.X9,v.sy,v.Gx,v.Ri,v.WA,ne.H,ne._,pe.ed,pe.kf,pe.ej,Ce.N,S._B,Ke.l,Ge.d,v.Pv],styles:[".my-jobs-page[_ngcontent-%COMP%]{display:grid;grid-template-columns:260px 1fr;grid-gap:15px}.my-jobs-inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto}.my-jobs-main[_ngcontent-%COMP%] .my-jobs-tbl[_ngcontent-%COMP%]{height:100%}.my-jobs-inner[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%]{height:500px}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:4px;border-radius:999px;background-color:#f4f6fb;border:1px solid #d9e2f2;list-style:none;margin:14px}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 2px}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] .cr-head-nav-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:6px 18px;border-radius:999px;font-size:13px;font-weight:500;color:#4b5563;border:1px solid transparent;background-color:transparent;cursor:pointer;white-space:nowrap;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease,border-color .15s ease}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] .cr-head-nav-item[_ngcontent-%COMP%]:hover{background-color:#e5edf9;color:#111827}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] .cr-head-nav-item.active[_ngcontent-%COMP%], .my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] .cr-head-nav-item.active[_ngcontent-%COMP%]:focus{background-color:#36a4c3;color:#fff;border-color:#36a4c3;box-shadow:0 0 0 1px #36a4c326}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] .cr-head-nav-item[_ngcontent-%COMP%]:focus-visible{outline:2px solid #36a4c3;outline-offset:2px}@media screen and (max-width: 767px){.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%]{width:100%;justify-content:space-between}.my-jobs-main[_ngcontent-%COMP%] .cr-head-nav[_ngcontent-%COMP%] .cr-head-nav-item[_ngcontent-%COMP%]{flex:1 1 0;text-align:center;padding-inline:10px}}.job-description[_ngcontent-%COMP%]{line-height:1.5;word-wrap:break-word}@media screen and (max-width: 1365px){.my-jobs-page[_ngcontent-%COMP%]{grid-template-columns:200px 1fr}.job-description-w-client[_ngcontent-%COMP%]{min-width:240px}.job-btn-w-client[_ngcontent-%COMP%]{min-width:120px}}@media screen and (max-width: 1199px){.my-jobs-page[_ngcontent-%COMP%]{display:block;position:relative}}"]})}return n})();
1const fd=["cofirmationModal"],hd=["skillModal"],vd=["jobCofirmationModal"],kd=["checkbox"],jd=["ratingModal"],Cd=()=>["client","my-jobs"],yd=n=>["client","job-details",n,"edit"],Pt=(n,a)=>["client",n,a,"candidate"],Nt=(n,a)=>({anonymous:n,application:a}),ue=(n,a)=>({from:n,to:a});function wd(n,a){if(1&n&&(e.j41(0,"p",47),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.jobDetail.short_job_desc," ")}}function xd(n,a){if(1&n&&e.nrm(0,"div",48),2&n){const t=e.XpG(2);e.FS9("innerHTML",t.jobDetail.job_desc,e.npT)}}function Fd(n,a){if(1&n&&(e.j41(0,"li",51),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",null==t?null:t.skill_name," ")}}function Rd(n,a){if(1&n&&(e.j41(0,"ul",49),e.DNE(1,Fd,2,1,"li",50),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",null==t.jobDetail?null:t.jobDetail.skills)}}function Dd(n,a){if(1&n&&(e.j41(0,"button",52)(1,"span",53),e.EFF(2," edit "),e.k0s(),e.EFF(3," Edit Job "),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("countryRouterLink",e.eq3(1,yd,null==t.jobDetail?null:t.jobDetail.job_id))}}function Ed(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Id(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Td(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" R(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Gd(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Md(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ed,3,6,"div",57)(2,Id,3,6,"div",57)(3,Td,3,6,"div",57)(4,Gd,3,6,"div",57),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.opt)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt))}}function Sd(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Od(n,a){if(1&n&&(e.j41(0,"div",71),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function $d(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Od,2,1,"div",70),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function Pd(n,a){if(1&n&&(e.j41(0,"div",49),e.DNE(1,$d,2,1,"div",58),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills)}}function Nd(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function Yd(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Nd,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function Vd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",49),e.DNE(1,Yd,2,1,"div",58),e.j41(2,"a",72),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(i.jobseeker_skills))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills.slice(0,2))}}function Jd(n,a){1&n&&(e.j41(0,"div",49)(1,"div",75),e.EFF(2,"-"),e.k0s()())}function Xd(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",76),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(7);return e.Njj(l.show_recruiter_detail(i,s))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function Ad(n,a){1&n&&(e.j41(0,"a"),e.EFF(1," - "),e.k0s())}function Bd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",59)(3,"a",60),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l?null:l.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",61),e.nrm(5,"path",62),e.k0s()(),e.joV(),e.j41(6,"span",63)(7,"a",64),e.EFF(8),e.nI1(9,"t
1itlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",65),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",66),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.EFF(20),e.nI1(21,"date"),e.k0s(),e.j41(22,"td"),e.DNE(23,Md,5,4,"ng-container",58)(24,Sd,2,0,"span",57),e.k0s(),e.j41(25,"td"),e.DNE(26,Pd,2,1,"div",38)(27,Vd,4,1,"div",38)(28,Jd,3,0,"div",38),e.k0s(),e.j41(29,"td"),e.EFF(30),e.k0s(),e.j41(31,"td"),e.DNE(32,Xd,3,3,"a",67)(33,Ad,2,0,"a",57),e.k0s(),e.j41(34,"td")(35,"div",68)(36,"ng-select",69,9),e.bIt("change",function(i){const l=e.eBV(t),s=l.$implicit,_=l.index,p=e.XpG(4),u=e.sdS(5),b=e.sdS(9);return e.Njj(p.changeStatus(i,null==s?null:s.APPLY_ID,_,s,s.jobseeker_id,s,b,u))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(7),e.Y8G("countryRouterLink",e.l_i(32,Pt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(35,Nt,null==t?null:t.anonymous,o.encode_base64(null==t?null:t.JOB_APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(9,25,t.jobseeker_detail.first_name)," ",e.bMT(10,27,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.SpI(" ",e.i5U(21,29,t.applied_at,"MMM d,y")," "),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(),e.Y8G("ngIf",0==(null==t||null==t.avaliability_opt?null:t.avaliability_opt.length)||null==(null==t?null:t.avaliability_opt)||""==(null==t?null:t.avaliability_opt)||"null"==(null==t?null:t.avaliability_opt)),e.R7$(2),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)>2),e.R7$(),e.Y8G("ngIf",0==(null==t.jobseeker_skills?null:t.jobseeker_skills.length)),e.R7$(2),e.SpI(" ",null!=t&&t.date?(null==t?null:t.date)+" "+(null==t?null:t.from_time):"-"," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_recruiter_detail&&t.jobseeker_recruiter_detail.first_name)),e.R7$(3),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.submittedData)}}function qd(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Bd,38,38,"tr",58),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.submittedCandidateList)}}function Ld(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",77)(2,"td",78),e.EFF(3,"No Record Found"),e.k0s()()())}function Hd(n,a){if(1&n&&(e.j41(0,"div",54)(1,"table",55)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Jobseeker"),e.nrm(6,"span",56),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",56),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",56),e.k0s(),e.j41(13,"th"),e.EFF(14,"Location"),e.nrm(15,"span",56),e.k0s(),e.j41(16,"th"),e.EFF(17,"Submitted On"),e.nrm(18,"span",56),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",56),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",56),e.k0s(),e.j41(25,"th"),e.EFF(26,"Interview Date"),e.nrm(27,"span",56),e.k0s(),e.j41(28,"th"),e.EFF(29,"Recruiter"),e.nrm(30,"span",56),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",56),e.k0s()()(),e.DNE(34,qd,2,1,"tbody",57)(35,Ld,4,0,"tbody",57),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsSubmitted),e.R7$(33),e.Y8G("ngIf",0!=(null==t.submittedCandidateList?null:t.submittedCandidateList.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.submittedCandidateList?null:t.submittedCandidateList.length))}}function Ud(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function zd(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Qd(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Wd(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ud,3,6,"div",57)(2,zd,3,6,"div",57)(3,Qd,3,6,"div",57),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to))}}function Zd(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}
1function Kd(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function ep(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Kd,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function tp(n,a){if(1&n&&(e.j41(0,"div",49),e.DNE(1,ep,2,1,"div",58),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills)}}function np(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function ip(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,np,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function op(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",49),e.DNE(1,ip,2,1,"div",58),e.j41(2,"a",72),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(i.jobseeker_skills))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills.slice(0,2))}}function lp(n,a){1&n&&(e.j41(0,"div",49)(1,"div",75),e.EFF(2,"-"),e.k0s()())}function ap(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",76),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(7);return e.Njj(l.show_recruiter_detail(i,s))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function sp(n,a){1&n&&(e.j41(0,"a"),e.EFF(1," - "),e.k0s())}function rp(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",59)(3,"a",60),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l?null:l.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",61),e.nrm(5,"path",62),e.k0s()(),e.joV(),e.j41(6,"span",63)(7,"a",64),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",65),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",66),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.EFF(20),e.nI1(21,"date"),e.k0s(),e.j41(22,"td"),e.DNE(23,Wd,4,3,"ng-container",58)(24,Zd,2,0,"span",57),e.k0s(),e.j41(25,"td"),e.DNE(26,tp,2,1,"div",38)(27,op,4,1,"div",38)(28,lp,3,0,"div",38),e.k0s(),e.j41(29,"td"),e.EFF(30),e.k0s(),e.j41(31,"td"),e.DNE(32,ap,3,3,"a",67)(33,sp,2,0,"a",57),e.k0s(),e.j41(34,"td")(35,"div",68)(36,"ng-select",79,9),e.bIt("change",function(i){const l=e.eBV(t),s=l.$implicit,_=l.index,p=e.XpG(4),u=e.sdS(5),b=e.sdS(9);return e.Njj(p.changeStatus(i,null==s?null:s.APPLY_ID,_,s,s.jobseeker_id,s,b,u))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(7),e.Y8G("countryRouterLink",e.l_i(32,Pt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(35,Nt,null==t?null:t.anonymous,o.encode_base64(null==t?null:t.JOB_APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(9,25,t.jobseeker_detail.first_name)," ",e.bMT(10,27,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.SpI(" ",e.i5U(21,29,t.applied_at,"MMM d,y")," "),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(),e.Y8G("ngIf",0==(null==t||null==t.avaliability_opt?null:t.avaliability_opt.length)||null==(null==t?null:t.avaliability_opt)||""==(null==t?null:t.avaliability_opt)||"null"==(null==t?null:t.avaliability_opt)),e.R7$(2),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)>2),e.R7$(),e.Y8G("ngIf",0==(null==t.jobseeker_skills?null:t.jobseeker_skills.length)),e.R7$(2),e.SpI(" ",null!=t&&t.date?(null==t?null:t.date)+" "+(null==t?null:t.from_time):"-"," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_recruiter_detail&&t.jobseeker_recruiter_detail.first_name)),e.R7$(3),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.shortlistedData)}}function cp(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,rp,38,38,"tr",58),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.shortlistedcandidateList)}}function _p(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",77)(2,"td",78),e.EFF(3,"No Record Found"),e.k0s()()())}function dp(n,a){if(1&n&&(e.j41(0,"div",54)(1,"table",55)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Jobseeker"),e.nrm(6,"span",56),e.k0s(),e.j41(7,"th"),e.EFF(8,"
1Email"),e.nrm(9,"span",56),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",56),e.k0s(),e.j41(13,"th"),e.EFF(14,"Location"),e.nrm(15,"span",56),e.k0s(),e.j41(16,"th"),e.EFF(17,"Submitted On"),e.nrm(18,"span",56),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",56),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",56),e.k0s(),e.j41(25,"th"),e.EFF(26,"Interview Date"),e.nrm(27,"span",56),e.k0s(),e.j41(28,"th"),e.EFF(29,"Recruiter"),e.nrm(30,"span",56),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",56),e.k0s()()(),e.DNE(34,cp,2,1,"tbody",57)(35,_p,4,0,"tbody",57),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsShortlisted),e.R7$(33),e.Y8G("ngIf",0!=(null==t.shortlistedcandidateList?null:t.shortlistedcandidateList.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.shortlistedcandidateList?null:t.shortlistedcandidateList.length))}}function pp(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function up(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function mp(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function gp(n,a){if(1&n&&(e.qex(0),e.DNE(1,pp,3,6,"div",57)(2,up,3,6,"div",57)(3,mp,3,6,"div",57),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to))}}function bp(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function fp(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function hp(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,fp,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function vp(n,a){if(1&n&&(e.j41(0,"div",49),e.DNE(1,hp,2,1,"div",58),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills)}}function kp(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function jp(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,kp,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function Cp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",49),e.DNE(1,jp,2,1,"div",58),e.j41(2,"a",72),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(i.jobseeker_skills))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills.slice(0,2))}}function yp(n,a){1&n&&(e.j41(0,"div",49)(1,"div",75),e.EFF(2,"-"),e.k0s()())}function wp(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",76),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(7);return e.Njj(l.show_recruiter_detail(i,s))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function xp(n,a){1&n&&(e.j41(0,"a"),e.EFF(1," - "),e.k0s())}function Fp(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",59)(3,"a",60),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l?null:l.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",61),e.nrm(5,"path",62),e.k0s()(),e.joV(),e.j41(6,"span",63)(7,"a",64),e.EFF(8),e.nI1(9,"t
1itlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",65),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",66),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.EFF(20),e.nI1(21,"date"),e.k0s(),e.j41(22,"td"),e.DNE(23,gp,4,3,"ng-container",58)(24,bp,2,0,"span",57),e.k0s(),e.j41(25,"td"),e.DNE(26,vp,2,1,"div",38)(27,Cp,4,1,"div",38)(28,yp,3,0,"div",38),e.k0s(),e.j41(29,"td"),e.EFF(30),e.k0s(),e.j41(31,"td"),e.DNE(32,wp,3,3,"a",67)(33,xp,2,0,"a",57),e.k0s(),e.j41(34,"td")(35,"div",80)(36,"ng-select",81,9),e.bIt("change",function(i){const l=e.eBV(t),s=l.$implicit,_=l.index,p=e.XpG(4),u=e.sdS(5),b=e.sdS(9);return e.Njj(p.changeStatus(i,null==s?null:s.APPLY_ID,_,s,s.jobseeker_id,s,b,u))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(7),e.Y8G("countryRouterLink",e.l_i(32,Pt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(35,Nt,null==t?null:t.anonymous,o.encode_base64(null==t?null:t.JOB_APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(9,25,t.jobseeker_detail.first_name)," ",e.bMT(10,27,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.SpI(" ",e.i5U(21,29,t.applied_at,"MMM d,y")," "),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(),e.Y8G("ngIf",0==(null==t||null==t.avaliability_opt?null:t.avaliability_opt.length)||null==(null==t?null:t.avaliability_opt)||""==(null==t?null:t.avaliability_opt)||"null"==(null==t?null:t.avaliability_opt)),e.R7$(2),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)>2),e.R7$(),e.Y8G("ngIf",0==(null==t.jobseeker_skills?null:t.jobseeker_skills.length)),e.R7$(2),e.SpI(" ",null!=t&&t.date?(null==t?null:t.date)+" "+(null==t?null:t.from_time):"-"," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_recruiter_detail&&t.jobseeker_recruiter_detail.first_name)),e.R7$(3),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.scheduledData)}}function Rp(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Fp,38,38,"tr",58),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.scheduleCandidateList)}}function Dp(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",77)(2,"td",78),e.EFF(3,"No Record Found"),e.k0s()()())}function Ep(n,a){if(1&n&&(e.j41(0,"div",54)(1,"table",55)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Jobseeker"),e.nrm(6,"span",56),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",56),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",56),e.k0s(),e.j41(13,"th"),e.EFF(14,"Location"),e.nrm(15,"span",56),e.k0s(),e.j41(16,"th"),e.EFF(17,"Submitted On"),e.nrm(18,"span",56),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",56),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",56),e.k0s(),e.j41(25,"th"),e.EFF(26,"Interview Date"),e.nrm(27,"span",56),e.k0s(),e.j41(28,"th"),e.EFF(29,"Recruiter"),e.nrm(30,"span",56),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",56),e.k0s()()(),e.DNE(34,Rp,2,1,"tbody",57)(35,Dp,4,0,"tbody",57),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsScheduled),e.R7$(33),e.Y8G("ngIf",0!=(null==t.scheduleCandidateList?null:t.scheduleCandidateList.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.scheduleCandidateList?null:t.scheduleCandidateList.length))}}function Ip(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Tp(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Gp(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Mp(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ip,3,6,"div",57)(2,Tp,3,6,"div",57)(3,Gp,3,6,"div",57),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to))}}function Sp(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}
1function Op(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function $p(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Op,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function Pp(n,a){if(1&n&&(e.j41(0,"div",49),e.DNE(1,$p,2,1,"div",58),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills)}}function Np(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function Yp(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Np,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function Vp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",49),e.DNE(1,Yp,2,1,"div",58),e.j41(2,"a",72),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(i.jobseeker_skills))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills.slice(0,2))}}function Jp(n,a){1&n&&(e.j41(0,"div",49)(1,"div",75),e.EFF(2,"-"),e.k0s()())}function Xp(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",76),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(7);return e.Njj(l.show_recruiter_detail(i,s))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function Ap(n,a){1&n&&(e.j41(0,"a"),e.EFF(1," - "),e.k0s())}function Bp(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",59)(3,"a",60),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l?null:l.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",61),e.nrm(5,"path",62),e.k0s()(),e.joV(),e.j41(6,"span",63)(7,"a",64),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",65),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",66),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.EFF(20),e.nI1(21,"date"),e.k0s(),e.j41(22,"td"),e.DNE(23,Mp,4,3,"ng-container",58)(24,Sp,2,0,"span",57),e.k0s(),e.j41(25,"td"),e.DNE(26,Pp,2,1,"div",38)(27,Vp,4,1,"div",38)(28,Jp,3,0,"div",38),e.k0s(),e.j41(29,"td"),e.EFF(30),e.k0s(),e.j41(31,"td"),e.DNE(32,Xp,3,3,"a",67)(33,Ap,2,0,"a",57),e.k0s(),e.j41(34,"td")(35,"div",68)(36,"div",82),e.EFF(37,"Hired"),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(7),e.Y8G("countryRouterLink",e.l_i(28,Pt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(31,Nt,null==t?null:t.anonymous,o.encode_base64(null==t?null:t.JOB_APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(9,21,t.jobseeker_detail.first_name)," ",e.bMT(10,23,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.SpI(" ",e.i5U(21,25,t.applied_at,"MMM d,y")," "),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(),e.Y8G("ngIf",0==(null==t||null==t.avaliability_opt?null:t.avaliability_opt.length)||null==(null==t?null:t.avaliability_opt)||""==(null==t?null:t.avaliability_opt)||"null"==(null==t?null:t.avaliability_opt)),e.R7$(2),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)>2),e.R7$(),e.Y8G("ngIf",0==(null==t.jobseeker_skills?null:t.jobseeker_skills.length)),e.R7$(2),e.SpI(" ",null!=t&&t.date?(null==t?null:t.date)+" "+(null==t?null:t.from_time):"-"," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_recruiter_detail&&t.jobseeker_recruiter_detail.first_name))}}function qp(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Bp,38,34,"tr",58),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.hiredCandidateList)}}function Lp(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",77)(2,"td",78),e.EFF(3,"No Record Found"),e.k0s()()())}function Hp(n,a){if(1&n&&(e.j41(0,"div",54)(1,"table",55)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Jobseeker"),e.nrm(6,"span",56),e.k0s(),e.j41(7,"th"),e.EFF(8,"
1Email"),e.nrm(9,"span",56),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",56),e.k0s(),e.j41(13,"th"),e.EFF(14,"Location"),e.nrm(15,"span",56),e.k0s(),e.j41(16,"th"),e.EFF(17,"Submitted On"),e.nrm(18,"span",56),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",56),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",56),e.k0s(),e.j41(25,"th"),e.EFF(26,"Interview Date"),e.nrm(27,"span",56),e.k0s(),e.j41(28,"th"),e.EFF(29,"Recruiter"),e.nrm(30,"span",56),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",56),e.k0s()()(),e.DNE(34,qp,2,1,"tbody",57)(35,Lp,4,0,"tbody",57),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHired),e.R7$(33),e.Y8G("ngIf",0!=(null==t.hiredCandidateList?null:t.hiredCandidateList.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.hiredCandidateList?null:t.hiredCandidateList.length))}}function Up(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function zp(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Qp(n,a){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,ue,null==t?null:t.from,null==t?null:t.to)),") ")}}function Wp(n,a){if(1&n&&(e.qex(0),e.DNE(1,Up,3,6,"div",57)(2,zp,3,6,"div",57)(3,Qp,3,6,"div",57),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt)&&null!=(null==t?null:t.from)&&null!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to))}}function Zp(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Kp(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function eu(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Kp,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function tu(n,a){if(1&n&&(e.j41(0,"div",49),e.DNE(1,eu,2,1,"div",58),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills)}}function nu(n,a){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t||null==t.skill_name?null:t.skill_name.skill_name," ")}}function iu(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,nu,2,1,"div",73),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",null!=(null==t?null:t.skill_name))}}function ou(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",49),e.DNE(1,iu,2,1,"div",58),e.j41(2,"a",72),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(i.jobseeker_skills))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skills.slice(0,2))}}function lu(n,a){1&n&&(e.j41(0,"div",49)(1,"div",75),e.EFF(2,"-"),e.k0s()())}function au(n,a){if(1&n){const t=e.RV6();e.j41(0,"a",76),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(7);return e.Njj(l.show_recruiter_detail(i,s))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function su(n,a){1&n&&(e.j41(0,"a"),e.EFF(1," - "),e.k0s())}function ru(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",59)(3,"a",60),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l?null:l.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",61),e.nrm(5,"path",62),e.k0s()(),e.joV(),e.j41(6,"span",63)(7,"a",64),e.EFF(8),e.nI1(9,"t
1itlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",65),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",66),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.EFF(20),e.nI1(21,"date"),e.k0s(),e.j41(22,"td"),e.DNE(23,Wp,4,3,"ng-container",58)(24,Zp,2,0,"span",57),e.k0s(),e.j41(25,"td"),e.DNE(26,tu,2,1,"div",38)(27,ou,4,1,"div",38)(28,lu,3,0,"div",38),e.k0s(),e.j41(29,"td"),e.EFF(30),e.k0s(),e.j41(31,"td"),e.DNE(32,au,3,3,"a",67)(33,su,2,0,"a",57),e.k0s(),e.j41(34,"td")(35,"div",68)(36,"div",83),e.EFF(37,"Not Selected"),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(7),e.Y8G("countryRouterLink",e.l_i(28,Pt,t.jobseeker_id,t.job_id))("queryParams",e.l_i(31,Nt,null==t?null:t.anonymous,o.encode_base64(null==t?null:t.JOB_APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(9,21,t.jobseeker_detail.first_name)," ",e.bMT(10,23,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.SpI(" ",e.i5U(21,25,t.applied_at,"MMM d,y")," "),e.R7$(3),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(),e.Y8G("ngIf",0==(null==t||null==t.avaliability_opt?null:t.avaliability_opt.length)||null==(null==t?null:t.avaliability_opt)||""==(null==t?null:t.avaliability_opt)||"null"==(null==t?null:t.avaliability_opt)),e.R7$(2),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t.jobseeker_skills?null:t.jobseeker_skills.length)>2),e.R7$(),e.Y8G("ngIf",0==(null==t.jobseeker_skills?null:t.jobseeker_skills.length)),e.R7$(2),e.SpI(" ",null!=t&&t.date?(null==t?null:t.date)+" "+(null==t?null:t.from_time):"-"," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_recruiter_detail&&t.jobseeker_recruiter_detail.first_name))}}function cu(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,ru,38,34,"tr",58),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.notSelectedCandidateList)}}function _u(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",77)(2,"td",78),e.EFF(3,"No Record Found"),e.k0s()()())}function du(n,a){if(1&n&&(e.j41(0,"div",54)(1,"table",55)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Jobseeker"),e.nrm(6,"span",56),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",56),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",56),e.k0s(),e.j41(13,"th"),e.EFF(14,"Location"),e.nrm(15,"span",56),e.k0s(),e.j41(16,"th"),e.EFF(17,"Submitted On"),e.nrm(18,"span",56),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",56),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",56),e.k0s(),e.j41(25,"th"),e.EFF(26,"Interview Date"),e.nrm(27,"span",56),e.k0s(),e.j41(28,"th"),e.EFF(29,"Recruiter"),e.nrm(30,"span",56),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",56),e.k0s()()(),e.DNE(34,cu,2,1,"tbody",57)(35,_u,4,0,"tbody",57),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsNotSelected),e.R7$(33),e.Y8G("ngIf",0!=(null==t.notSelectedCandidateList?null:t.notSelectedCandidateList.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.notSelectedCandidateList?null:t.notSelectedCandidateList.length))}}function pu(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"nav",17)(2,"ol",18)(3,"li",19)(4,"a",20),e.EFF(5,"My Jobs"),e.k0s()(),e.j41(6,"li",21),e.EFF(7,"Job Details"),e.k0s()()(),e.j41(8,"section",22)(9,"div",23)(10,"div",24)(11,"span",25),e.EFF(12),e.k0s()(),e.j41(13,"div",26)(14,"div",27),e.EFF(15),e.k0s(),e.j41(16,"div",28)(17,"span"),e.EFF(18),e.k0s(),e.j41(19,"input",29,7),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.ReadOnlyStyleGuideNotes,i)||(l.ReadOnlyStyleGuideNotes=i),e.Njj(i)}),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.change_jobpost_status(i,null==l.jobDetail?null:l.jobDetail.job_id))}),e.k0s(),e.j41(21,"label",30),e.EFF(22,"Toggle"),e.k0s()()(),e.DNE(23,wd,2,1,"p",31)(24,xd,1,1,"div",32),e.j41(25,"div",33)(26,"a",34),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.collapse_job_desc=!i.collapse_job_desc)}),e.EFF(27),e.k0s()(),e.j41(28,"ul",35)(29,"li")(30,"div",36),e.EFF(31,"Positions:"),e.k0s(),e.j41(32,"div",37),e.EFF(33),e.k0s()(),e.j41(34,"li")(35,"div",36),e.EFF(36,"Rate:"),e.k0s(),e.j41(37,"div",37),e.EFF(38),e.nI1(39,"countryCurrency"),e.k0s()(),e.j41(40,"li")(41,"div",36),e.EFF(42,"Employment Type:"),e.k0s(),e.j41(43,"div",37),e.EFF(44),e.k0s()(),e.j41(45,"li")(46,"div",36),e.EFF(47,"Posted:"),e.k0s(),e.j41(48,"div",37),e.EFF(49),e.k0s()()(),e.DNE(50,Rd,2,1,"ul",38),e.k0s(),e.j41(51,"div",39),e.DNE(
152,Dd,4,3,"button",40),e.k0s()(),e.j41(53,"section",41)(54,"ul",42,8),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.activeJobApplicantTab,i)||(l.activeJobApplicantTab=i),e.Njj(i)}),e.j41(56,"li",43)(57,"a",44),e.EFF(58),e.k0s(),e.DNE(59,Hd,36,3,"ng-template",45),e.k0s(),e.j41(60,"li",43)(61,"a",44),e.EFF(62),e.k0s(),e.DNE(63,dp,36,3,"ng-template",45),e.k0s(),e.j41(64,"li",43)(65,"a",44),e.EFF(66),e.k0s(),e.DNE(67,Ep,36,3,"ng-template",45),e.k0s(),e.j41(68,"li",43)(69,"a",44),e.EFF(70),e.k0s(),e.DNE(71,Hp,36,3,"ng-template",45),e.k0s(),e.j41(72,"li",43)(73,"a",44),e.EFF(74),e.k0s(),e.DNE(75,du,36,3,"ng-template",45),e.k0s()(),e.nrm(76,"div",46),e.k0s()()}if(2&n){const t=e.sdS(55),o=e.XpG();e.R7$(4),e.Y8G("countryRouterLink",e.lJ4(31,Cd)),e.R7$(8),e.JRh(null==o.jobDetail?null:o.jobDetail.employment),e.R7$(2),e.Y8G("formGroup",o.checkStatusForm),e.R7$(),e.SpI(" ",o.jobDetail.job_title," "),e.R7$(3),e.JRh(o.activeDeactiveFlag),e.R7$(),e.R50("ngModel",o.ReadOnlyStyleGuideNotes),e.R7$(4),e.Y8G("ngIf",o.collapse_job_desc),e.R7$(),e.Y8G("ngIf",!o.collapse_job_desc),e.R7$(3),e.JRh(o.collapse_job_desc?"View More Details":"Hide Details"),e.R7$(6),e.JRh(null==o.jobDetail?null:o.jobDetail.vacancy),e.R7$(5),e.SpI(" ",e.bMT(39,29,
1null==o.jobDetail?null:o.jobDetail.max_salary)," "),e.R7$(6),e.Lme(" ",null==o.jobDetail?null:o.jobDetail.employment," ","true"===o.jobDetail.is_remote?"- Remote":""," "),e.R7$(5),e.JRh(null==o.jobDetail?null:o.jobDetail.ago),e.R7$(),e.Y8G("ngIf",0!=(null==o.jobDetail||null==o.jobDetail.skills?null:o.jobDetail.skills.length)),e.R7$(2),e.Y8G("ngIf",1===(null==o.jobDetail?null:o.jobDetail.is_editable)),e.R7$(),e.Y8G("formGroup",o.candidateForm),e.R7$(),e.R50("activeId",o.activeJobApplicantTab),e.R7$(2),e.Y8G("ngbNavItem",1),e.R7$(2),e.SpI("Submitted (",null==o.submittedCandidateList?null:o.submittedCandidateList.length,")"),e.R7$(2),e.Y8G("ngbNavItem",2),e.R7$(2),e.SpI("Shortlisted (",null==o.shortlistedcandidateList?null:o.shortlistedcandidateList.length,")"),e.R7$(2),e.Y8G("ngbNavItem",3),e.R7$(2),e.SpI("Scheduled (",null==o.scheduleCandidateList?null:o.scheduleCandidateList.length,")"),e.R7$(2),e.Y8G("ngbNavItem",4),e.R7$(2),e.SpI("Hired (",null==o.hiredCandidateList?null:o.hiredCandidateList.length,")"),e.R7$(2),e.Y8G("ngbNavItem",5),e.R7$(2),e.SpI("Not Selected (",null==o.notSelectedCandidateList?null:o.notSelectedCandidateList.length,")"),e.R7$(2),e.Y8G("ngbNavOutlet",t)}}function uu(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",75),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",null==t.skill_name?null:t.skill_name.skill_name," ")}}function mu(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h3",85),e.EFF(2,"Skills"),e.k0s(),e.j41(3,"button",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",87)(5,"div",49),e.DNE(6,uu,3,1,"ng-container",58),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("ngForOf",t.jobseekerSkill)}}function gu(n,a){1&n&&(e.j41(0,"div",111),e.EFF(1," Rate is required. "),e.k0s())}function bu(n,a){1&n&&(e.j41(0,"div",111),e.EFF(1," Enter numeric value "),e.k0s())}function fu(n,a){if(1&n&&(e.j41(0,"div",109),e.DNE(1,gu,2,0,"div",110)(2,bu,2,0,"div",110),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.required),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.pattern)}}function hu(n,a){1&n&&(e.j41(0,"div",114)(1,"i",115),e.EFF(2,"warning"),e.k0s(),e.EFF(3," End date must be greater. "),e.k0s())}function vu(n,a){if(1&n&&(e.j41(0,"div",112),e.DNE(1,hu,4,0,"div",113),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.hired_start_date.errors.isWrongDate)}}function ku(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h3",88),e.EFF(2,"Add Rate"),e.k0s(),e.j41(3,"button",89),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"form",90)(5,"div",91)(6,"div",92)(7,"div",93)(8,"div",94),e.nrm(9,"input",95),e.k0s(),e.DNE(10,fu,3,2,"div",96),e.k0s()(),e.j41(11,"div",97)(12,"div",98)(13,"div",99)(14,"div",100)(15,"input",101,10),e.bIt("dateSelect",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onStartDateSelected())}),e.k0s(),e.j41(17,"button",102),e.bIt("click",function(){e.eBV(t);const i=e.sdS(16);return e.Njj(i.toggle())}),e.j41(18,"span",103),e.EFF(19," calendar_month "),e.k0s()()()()(),e.j41(20,"div",98)(21,"div",99)(22,"div",100)(23,"input",104,11),e.bIt("dateSelect",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onStartDateSelected())}),e.k0s(),e.j41(25,"button",102),e.bIt("click",function(){e.eBV(t);const i=e.sdS(24);return e.Njj(i.toggle())}),e.j41(26,"span",103),e.EFF(27," calendar_month "),e.k0s()()()()()(),e.DNE(28,vu,2,1,"div",105),e.k0s(),e.j41(29,"div",106)(30,"button",107),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return i.modalClose(),e.Njj(i.js_rate_form.reset())}),e.EFF(31," Cancel "),e.k0s(),e.j41(32,"button",108),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.set_jobseeker_final_rate())}),e.EFF(33," Submit "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("formGroup",t.js_rate_form),e.R7$(5),e.Y8G("placeholder","Enter Jobseeker Rate ("+t.currencySymbol+")"),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.invalid&&(t.js_rate_form.controls.jobseeker_rate.dirty||t.js_rate_form.controls.jobseeker_rate.touched)),e.R7$(18),e.Y8G("ngIf",t.js_rate_form.controls.hired_start_date.invali
1d&&(t.js_rate_form.controls.hired_start_date.dirty||t.js_rate_form.controls.hired_start_date.touched)),e.R7$(4),e.Y8G("disabled",t.js_rate_form.invalid)}}function ju(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h3",85),e.EFF(2,"Recruiter Details"),e.k0s(),e.j41(3,"button",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",87)(5,"div",116),e.nrm(6,"img",117),e.k0s(),e.j41(7,"h3",118),e.EFF(8),e.nI1(9,"titlecase"),e.k0s(),e.j41(10,"button",119),e.EFF(11),e.j41(12,"span",120),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.singleJsDetail.jobseeker_recruiter_detail.email))}),e.EFF(13," content_copy "),e.k0s()(),e.j41(14,"p",121)(15,"a",66),e.EFF(16),e.k0s()(),e.j41(17,"div",122)(18,"button",123),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.initiate_chatroom_with_recruiter())}),e.EFF(19," Chat "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("src",t.singleJsDetail.jobseeker_recruiter_detail.rec_profile,e.B4B),e.R7$(2),e.SpI(" ",e.bMT(9,7,t.singleJsDetail.jobseeker_recruiter_detail.first_name)," "),e.R7$(3),e.SpI(" ",t.singleJsDetail.jobseeker_recruiter_detail.email," "),e.R7$(4),e.Mz_("href","tel:",t.singleJsDetail.jobseeker_recruiter_detail.phone_code+t.singleJsDetail.jobseeker_recruiter_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.singleJsDetail.jobseeker_recruiter_detail.phone_code," ",t.singleJsDetail.jobseeker_recruiter_detail.phone,"")}}function Cu(n,a){if(1&n&&(e.j41(0,"h4",128),e.EFF(1," Schedule Interview for "),e.j41(2,"span",134),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.jobDetail.job_title)}}function yu(n,a){if(1&n&&(e.j41(0,"div",135),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.dateTimeError," ")}}function wu(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h4",124),e.EFF(2),e.k0s(),e.j41(3,"button",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",91),e.DNE(5,Cu,4,1,"h4",125),e.j41(6,"div",126)(7,"h6"),e.EFF(8,"Select Team Member :"),e.k0s(),e.j41(9,"ng-select",127),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.selected_client_persons,i)||(l.selected_client_persons=i),e.Njj(i)}),e.k0s()(),e.j41(10,"div",128)(11,"h6"),e.EFF(12,"Availability Date :"),e.k0s(),e.j41(13,"div",129)(14,"input",130),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateTime,i)||(l.dateTime=i),e.Njj(i)}),e.bIt("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.onDateTimeChange(i))}),e.k0s(),e.nrm(15,"owl-date-time",131,12),e.DNE(17,yu,2,1,"div",132),e.k0s()(),e.j41(18,"button",133),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add_js_interview())}),e.EFF(19," Set Interview "),e.k0s()()}if(2&n){const t=e.sdS(16),o=e.XpG();e.R7$(2),e.JRh(o.setModalHead),e.R7$(3),e.Y8G("ngIf",o.jobDetail.job_title),e.R7$(4),e.Y8G("items",o.client_persons)("searchable",!1)("closeOnSelect",!1)("hideSelected",!0),e.R50("ngModel",o.selected_client_persons),e.Y8G("multiple",!0),e.R7$(5),e.R50("ngModel",o.dateTime),e.Y8G("min",o.todayDate)("owlDateTime",t)("owlDateTimeTrigger",t),e.R7$(),e.Y8G("stepMinute",30)("hour12Timer",!0),e.R7$(2),e.Y8G("ngIf",o.dateTimeError),e.R7$(),e.Y8G("disabled",o.dateTimeError)}}function xu(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h3",88),e.EFF(2),e.k0s(),e.j41(3,"button",136),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",137)(5,"button",107),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",138),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(4==i.status?i.openRatingModal():i.confirmSelect())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function Fu(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h3",88),e.EFF(2),e.k0s(),e.j41(3,"button",136),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",137)(5,"button",107),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",138),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.checkStatus())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.activeText,"?")}}function Ru(n,a){if(1&n&&e.nrm(0,"i",149),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function Du(n,a){if(1&n&&(e.j41(0,"i",147),e.DNE(1,Ru,1,2,"i",148),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function Eu(n,a){if(1&n&&(e.j41(0,"span",150)(1,"span",151),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function Iu(n,a){if(1&n&&e.nrm(0,"i",149),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function Tu(n,a){if(1&n&&(e.j41(0,"i",147),e.DNE(1,Iu,1,2,"i",148),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function Gu(n,a){if(1&n&&(e.j41(0,"span",150)(1,"span",151),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function Mu(n,a){if(1&n&&e.nrm(0,"i",149),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function Su(n,a){if(1&n&&(e.j41(0,"i",147),e.DNE(1,Mu,1,2,"i",148),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function Ou(n,a){if(1&n&&(e.j41(0,"span",150)(1,"span",151),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function $u(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"h3",88),e.EFF(2,"FeedBack"),e.k0s(),e.j41(3,"button",89),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",91)(5,"ul",139)(6,"li",140)(7,"h5",141),e.EFF(8,"1. What is UX Design?"),e.k0s(),e.DNE(9,Du,2,1,"ng-template",null,13,e.C5r),e.j41(11,"ngb-rating",142),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate1,i)||(l.currentRate1=i),e.Njj(i)}),e.DNE(12,Eu,3,4,"ng-template"),e.k0s()(),e.j41(13,"li",140)(14,"h5",141),e.EFF(15,"2. How can we use in background erase tool ?"),e.k0s(),e.DNE(16,Tu,2,1,"ng-template",null,13,e.C5r),e.j41(18,"ngb-rating",142),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate2,i)||(l.currentRate2=i),e.Njj(i)}),e.DNE(19,Gu,3,4,"ng-template"),e.k0s()(),e.j41(20,"li",140)(21,"h5"),e.
1EFF(22,"3. What is Java?"),e.k0s(),e.DNE(23,Su,2,1,"ng-template",null,13,e.C5r),e.j41(25,"ngb-rating",142),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate3,i)||(l.currentRate3=i),e.Njj(i)}),e.DNE(26,Ou,3,4,"ng-template"),e.k0s()(),e.j41(27,"li",140)(28,"h5"),e.EFF(29,"4. Comments.."),e.k0s(),e.j41(30,"div",143)(31,"textarea",144),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.feedbackNotes,i)||(l.feedbackNotes=i),e.Njj(i)}),e.k0s()()()()(),e.j41(32,"div",145)(33,"button",146),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmSelect())}),e.EFF(34," Submit "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(11),e.Y8G("max",5),e.R50("rate",t.currentRate1),e.Y8G("readonly",!1),e.R7$(7),e.Y8G("max",5),e.R50("rate",t.currentRate2),e.Y8G("readonly",!1),e.R7$(7),e.Y8G("max",5),e.R50("rate",t.currentRate3),e.Y8G("readonly",!1),e.R7$(6),e.R50("ngModel",t.feedbackNotes),e.R7$(2),e.Y8G("disabled",""==t.feedbackNotes.trim()||0==t.currentRate1||0==t.currentRate2||0==t.currentRate3)}}let xl=(()=>{class n{activateRoute;clientService;globals;NotificationService;toastr;errorHandler;changeDetector;GlobalServiceService;modalService;fb;chatService;router;countryLocalizeService;navigationService;currencyService;groupDataSubscription=null;country="";jobseekerSkill=[];dtElement;cofirmationModal;skillModal;jobCofirmationModal;checkbox;ratingModal;dtOptions={};dtOptionsSubmitted={};dtOptionsShortlisted={};dtOptionsScheduled={};dtOptionsHired={};dtOptionsNotSelected={};activeJobApplicantTab=1;jobId;status;jobDetail=[];collapse_job_desc=!0;candidateData;candidateList;submittedCandidateList=[];shortlistedcandidateList=[];scheduleCandidateList=[];hiredCandidateList=[];notSelectedCandidateList=[];client_persons=[];selected_client_persons=[];today;dateFormat="";timeFormat1="";timeFormat2="";jobseeker_detail;applyId;selected_avail_date=null;js_rate_form;add_jobseeker_rate_modal;set_js_rate_array=[];singleJsDetail;isAllDetails=!1;swal;activeDeactiveFlag;dateTime;todayDate=new Date;dateTimeError=null;currentRate1=0;currentRate2=0;currentRate3=0;feedbackNotes="";setModalHead="";candidateForm;checkStatusForm;statusInText;activeText;jobObject={};ReadOnlyStyleGuideNotes;activeDeactiveJob=["Active","Deactive"];submittedData=[{id:1,name:"Shortlisted"},{id:4,name:"Not Selected"}];shortlistedData=[{id:2,name:"Schedule"},{id:4,name:"Not Selected"}];scheduledData=[{id:3,name:"Hired"},{id:4,name:"Not Selected"},{id:2,name:"Re-Scheduled"}];hiredData=[{id:3,name:"Hired"}];constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T){this.activateRoute=t,this.clientService=o,this.globals=i,this.NotificationService=l,this.toastr=s,this.errorHandler=_,this.changeDetector=p,this.GlobalServiceService=u,this.modalService=b,this.fb=f,this.chatService=C,this.router=w,this.countryLocalizeService=I,this.navigationService=X,this.currencyService=T}get currencySymbol(){return this.currencyService.getCurrencySymbol()}compareWithStatus(t,o){return null!=t&&null!=o&&t.id===o.id}ngOnInit(){this.country=this.countryLocalizeService.getCountryCode(),this.jobId=Number(this.activateRoute.snapshot.params.job_id),this.status=Number(this.activateRoute.snapshot.params.status_id),this.todayDate=this.roundToNextInterval(new Date,30),this.dtOptions={info:!1,searching:!1,paging:!1},this.dtOptionsSubmitted={info:!1,searching:!1,paging:!1,order:[[4,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Submitted On"},{title:"Rate"},{title:"Skills"},{title:"Interview Date"},{title:"Recruiter"},{title:"Status"}],columnDefs:[{targets:4,type:"date"}]},this.dtOptionsShortlisted={info:!1,searching:!1,paging:!1,order:[[4,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Submitted On"},{title:"Rate"},{title:"Skills "},{title:"Interview Date"},{title:"Recruiter"},{title:"Status"}],columnDefs:[{targets:4,type:"date"}]},this.dtOptionsScheduled={info:!1,searching:!1,paging:!1,order:[[4,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Submitted On"},{title:"Rate"},{title:"Skills"},{title:"Interview Date"},{title:"Recruiter"},{title:"Status"}],columnDefs:[{targets:4,type:"date"}]},this.dtOptionsHired={info:!1,searching:!1,paging:!1,order:[[4,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Submitted On"},{title:"Rate"},{title:"Skills"},{title:"Interview Date"},{title:"Recruiter"},{title:"Status"}],columnDefs:[{targets:4,type:"date"}]},this.dtOptionsNotSelected={info:!1,searching:!1,paging:!1,order:[[4,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Submitted On"},{title:"Rate"},{title:"Skills"},{title:"Interview Date"},{title:"Recruiter"},{title:"Status"}],columnDefs:[{targets:4,type:"date"}]},this.getJobDetail(),this.get_candidate_list_by_status(this.activeJobApplicantTab),this.get_client_person(),this.js_rate_form=this.fb.group({jobseeker_rate:["",[g.k0.required,g.k0.pattern(/^-?(0|[1-9]\d*)?$/)]],jobseeker_id:["",g.k0.required],hired_start_date:["",g.k0.required],hired_end_date:["",g.k0.required]}),this.candidateForm=this.fb.group({submitted:[""],scheduled:[""],shortlisted:[""]}),this.candidateForm.controls.submitted.setValue({id:null,name:"Submitted"}),this.candidateForm.controls.scheduled.setValue({id:null,name:"Scheduled"}),this.candidateForm.controls.shortlisted.setValue({id:null,name:"Shortlisted"}),this.checkStatusForm=this.fb.group({checkStatusValue:[""]})}roundToNextInterval(t,o){const i=new Date(t),l=60*o*1e3;return i.setTime(Math.ceil(i.getTime()/l)*l),i}openSkillModal(t){this.jobseekerSkill=t,console.log(t),this.modalService.open(this.skillMod
1al,{centered:!0,windowClass:"cr-custom-modal modal-small"})}getJobDetail(){var t=this;return(0,j.A)(function*(){t.globals.loading=!0,yield t.clientService.get_job_detail(t.jobId).subscribe(o=>{if(t.globals.loading=!1,1==o.ResponseCode){t.jobDetail=o.ResponseData.job_detail,console.log("jd",t.jobDetail);const i=t.jobDetail.country!==t.country;("in"===t.country?i:i&&!t.jobDetail.is_c_offshore)&&(t.toastr.error("This job is not available."),t.navigationService.navigate("client/dashboard",t.activateRoute)),1==o.ResponseData.job_detail.status?(t.ReadOnlyStyleGuideNotes=!0,t.activeDeactiveFlag="Active"):(t.ReadOnlyStyleGuideNotes=!1,t.activeDeactiveFlag="Deactive")}else t.toastr.error(o.ResponseText),t.navigationService.navigate("client/dashboard",t.activateRoute)},o=>{t.globals.loading=!1,t.errorHandler.handleError(o)})})()}get_client_person(){this.clientService.get_client_person().subscribe(t=>{console.log("cliPerson",t),1==t.ResponseCode&&0!=t.ResponseData.length&&t.ResponseData.forEach(o=>{this.client_persons.push({id:o.id,name:o.name})})},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}setDate(t,o){console.log("app",o),new Date(o),o.toLocaleString("en-us",{weekday:"long"}),R()(o).format("YYYY-MM-DD hh:mm A");let _=R()(o).format("YYYY-MM-DD"),p=R()(o).format("HH:mm"),u=R()(o).format("HH:mm");this.dateFormat=_,this.timeFormat1=p,this.timeFormat2=u}get_candidate_list_by_status(t){this.globals.loading=!0,this.clientService.get_candidate_list_by_status({job_id:this.jobId,status:5,page:1}).subscribe(i=>{this.globals.loading=!1,this.isAllDetails=!0,this.submittedCandidateList=i.ResponseData.candidate.data,this.submittedCandidateList=this.submittedCandidateList.length>0?this.submittedCandidateList.map(l=>({...l,jobseeker_skill_name:l.jobseeker_skills.sort((s,_)=>s.skill_name.skill_name.length-_.skill_name.skill_name.length)})):this.submittedCandidateList,0!=this.submittedCandidateList.length&&(this.activeJobApplicantTab=1)}),this.clientService.get_candidate_list_by_status({job_id:this.jobId,status:1,page:1}).subscribe(i=>{this.shortlistedcandidateList=i.ResponseData.candidate.data,this.shortlistedcandidateList=this.shortlistedcandidateList.length>0?this.shortlistedcandidateList.map(l=>({...l,jobseeker_skill_name:l.jobseeker_skills.sort((s,_)=>s.skill_name.skill_name.length-_.skill_name.skill_name.length)})):this.shortlistedcandidateList,0!=this.shortlistedcandidateList.length&&0==this.submittedCandidateList.length&&(this.activeJobApplicantTab=2)}),this.clientService.get_candidate_list_by_status({job_id:this.jobId,status:2,page:1}).subscribe(i=>{this.scheduleCandidateList=i.ResponseData.candidate.data,this.scheduleCandidateList=this.scheduleCandidateList.length>0?this.scheduleCandidateList.map(l=>({...l,jobseeker_skill_name:l.jobseeker_skills.sort((s,_)=>s.skill_name.skill_name.length-_.skill_name.skill_name.length)})):this.scheduleCandidateList,0!=this.scheduleCandidateList.length&&0==this.shortlistedcandidateList.length&&0==this.submittedCandidateList.length&&(this.activeJobApplicantTab=3)}),this.clientService.get_candidate_list_by_status({job_id:this.jobId,status:3,page:1}).subscribe(i=>{this.hiredCandidateList=i.ResponseData.candidate.data,this.hiredCandidateList=this.hiredCandidateList.length>0?this.hiredCandidateList.map(l=>({...l,jobseeker_skill_name:l.jobseeker_skills.sort((s,_)=>s.skill_name.skill_name.length-_.skill_name.skill_name.length)})):this.hiredCandidateList,0!=this.hiredCandidateList.length&&0==this.scheduleCandidateList.length&&0==this.shortlistedcandidateList.length&&0==this.submittedCandidateList.length&&(this.activeJobApplicantTab=4)}),this.clientService.get_candidate_list_by_status({job_id:this.jobId,status:4,page:1}).subscribe(i=>{this.notSelectedCandidateList=i.ResponseData.candidate.data,this.notSelectedCandidateList=this.notSelectedCandidateList.length>0?this.notSelectedCandidateList.map(l=>({...l,jobseeker_skill_name:l.jobseeker_skills.sort((s,_)=>s.skill_name.skill_name.length-_.skill_name.skill_name.length)})):this.notSelectedCandidateList,0!=this.notSelectedCandidateList.length&&0==this.hiredCandidateList.length&&0==this.scheduleCandidateList.length&&0==this.shortlistedcandidateList.length&&0==this.submittedCandidateList.length&&(this.activeJobApplicantTab=5)})}changeStatus(t,o,i,l,s,_,p,u){if(this.status=t.id,this.applyId=o,this.jobseeker_detail=l,this.setModalHead="Re-Scheduled"==t.name?"Re-Scheduled Interview":"Scheduled Interview",3==t.id){let b=s;this.js_rate_form.get("jobseeker_id").setValue(b),this.modalService.open(u,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-large"})}else 2==t.id?(this.dateTimeError=null,this.onDateTimeChange(),this.modalService.open(p,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})):this.changeCandidateStatus(t.id,o,i,l)}changeCandidateStatus(t,o,i,l){console.log("cd",l);let s="";1==t?(s="shortlist",this.statusInText="shortlist"):3===t?(s="hire",this.statusInText="hire"):4==t&&(s="reject",this.statusInText="reject"),this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})}openRatingModal(){this.feedbackNotes="",this.currentRate1=0,this.currentRate2=0,this.currentRate3=0,this.modalService.open(this.ratingModal,{centered:!0,windowClass:"cr-custom-modal modal-medium"})}confirmSelect(){var t=this;let o=this.timeFormat1.split(" "),i="";if("PM"==o[1]){let l=o[0].split(":");i=Number(l[0])+12+":"+l[1]}else{let l=o[0].split(":");i=Number(l[0])+":"+l[1]}if(2==this.status){console.log("status 2");const l={jobseeker_id:this.jobseeker_detail.jobseeker_id,job_id:this.jobseeker_detail.job_id,client_persons:this.selected_client_persons,interview_date:this.dateFormat,interview_from:i,interview_to:i,applied_id:this.jobseeker_detail.APPLY_ID};this.globals.loading=!0,this.clientService.set_interview_schedule(l).subscribe(function(){var s=(0,j.A)(function*(_){if(t.globals.loading=!1,1==_.ResponseCode){t.toastr.success(_.ResponseText),t.modalClose(),t.get_candidate_list_by_status(2),t.activeJobApplicantTab=3;let u={type:"scheduled",notification:{notification_type:"edit_jobpost",jobseeker_id:_.ResponseData.jobseeker_id,jobseeker_name:_.ResponseData.jobseeker_name,client_name:_.ResponseData.company_name,job_id:_.ResponseData.job_id,slug:_.ResponseData.slug,sender_type:_.ResponseData.user_type,client_id:_.ResponseData.client_id,client_user_id:_.ResponseData.client_user_id,cp_id:_.ResponseData.cp_id,cp_user_id:_.ResponseData.cp_user_id,job_title:_.ResponseData.job_title,company_name:_.ResponseData.company_name,company_url:_.ResponseData.company_url,status_in_text:_.ResponseData.status_in_text,scheduled_on:R()(t.dateFormat).format("MMM DD, YYYY"),datetime:_.ResponseData.datetime.date,country:1===_.ResponseData.is_c_offshore?"in":t.country,is_offshore:1===_.ResponseData.is_c_offshore}};
1console.log("notif",u),t.NotificationService.sendNotification(u),u.type="scheduled_jobseeker",t.NotificationService.sendNotification(u),t.modalService.dismissAll()}else t.toastr.error(_.ResponseText)});return function(_){return s.apply(this,arguments)}}(),s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}else{let l=this.jobseeker_detail,s={status:this.status,apply_id:this.applyId};if(4==this.status){let _=JSON.parse(localStorage.getItem("CR_PREF")),p={};p.question_note=this.feedbackNotes,p.client_id=_.client_id,p.job_id=this.jobseeker_detail.job_id,p.jobseeker_id=this.jobseeker_detail.jobseeker_id,p.question_rate=String(this.currentRate1)+","+String(this.currentRate2)+","+String(this.currentRate3),s.feedback_details=p}this.globals.loading=!0,this.clientService.change_candidate_status(s).subscribe(function(){var _=(0,j.A)(function*(p){if(t.globals.loading=!1,1==p.ResponseCode){t.toastr.success(p.ResponseText),t.modalClose(),t.get_candidate_list_by_status(5),t.get_candidate_list_by_status(t.status);let u=null;1==t.status?(u={type:"shortlisted",notification:{datetime:p.ResponseData.datetime.date,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,jobseeker_id:l.jobseeker_id,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,apply_id:l.APPLY_ID,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:t.country,is_offshore:!1}},t.NotificationService.sendNotification(u)):3==t.status?(u={type:"hired",notification:{sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,jobseeker_id:l.jobseeker_id,schduled_id:l.SCHEDULE_ID,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:t.country,is_offshore:!1}},t.NotificationService.sendNotification(u)):4==t.status&&(u={type:"rejected",notification:{sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,jobseeker_id:l.jobseeker_id,schduled_id:l.SCHEDULE_ID,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:t.country,is_offshore:!1}},t.NotificationService.sendNotification(u))}else t.toastr.error(p.ResponseText);t.changeDetector.detectChanges(),t.GlobalServiceService.responsiveTable()});return function(p){return _.apply(this,arguments)}}(),_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}}change_candidate_status_submit(t,o){let i=t.status;console.log("ob",t),console.log("ob",o),this.globals.loading=!0,this.clientService.change_candidate_status(t).subscribe(l=>{if(1==l.ResponseCode){this.toastr.success(l.ResponseText),this.modalClose(),this.globals.loading=!1,this.get_candidate_list_by_status(5),this.get_candidate_list_by_status(i);let s=null;1===i?(s={type:"shortlisted",notification:{datetime:l.ResponseData.datetime.date,jobseeker_name:o.JS_FNAME+" "+o.JS_LNAME,jobseeker_id:o.jobseeker_id,company_name:o.C_FNAME,company_url:o.company_url,job_id:o.job_id,slug:o.slug,job_title:o.job_title,sender_type:l.ResponseData.user_type,client_id:l.ResponseData.client_id,client_user_id:l.ResponseData.client_user_id,cp_id:l.ResponseData.cp_id,cp_user_id:l.ResponseData.cp_user_id,apply_id:o.APPLY_ID,anonymous_js_name:o.anonymous_name,is_anonymous:o.anonymous,country:1===o.is_c_offshore?"in":this.country,is_offshore:1===o.is_c_offshore}},this.NotificationService.sendNotification(s)):3===i?(s={type:"hired",notification:{sender_type:l.ResponseData.user_type,client_id:l.ResponseData.client_id,client_user_id:l.ResponseData.client_user_id,cp_id:l.ResponseData.cp_id,cp_user_id:l.ResponseData.cp_user_id,datetime:l.ResponseData.datetime.date,jobseeker_id:o.jobseeker_id,schduled_id:o.SCHEDULE_ID,jobseeker_name:o.JS_FNAME+" "+o.JS_LNAME,company_name:o.C_FNAME,company_url:o.company_url,job_id:o.job_id,slug:o.slug,j
1ob_title:o.job_title,anonymous_js_name:o.anonymous_name,is_anonymous:o.anonymous,country:1===o.is_c_offshore?"in":this.country,is_offshore:1===o.is_c_offshore}},this.NotificationService.sendNotification(s)):4==i&&(s={type:"rejected",notification:{sender_type:l.ResponseData.user_type,client_id:l.ResponseData.client_id,client_user_id:l.ResponseData.client_user_id,cp_id:l.ResponseData.cp_id,cp_user_id:l.ResponseData.cp_user_id,datetime:l.ResponseData.datetime.date,jobseeker_id:o.jobseeker_id,schduled_id:o.SCHEDULE_ID,jobseeker_name:o.JS_FNAME+" "+o.JS_LNAME,company_name:o.C_FNAME,company_url:o.company_url,job_id:o.job_id,slug:o.slug,job_title:o.job_title,anonymous_js_name:o.anonymous_name,is_anonymous:o.anonymous,country:1===o.is_c_offshore?"in":this.country,is_offshore:1===o.is_c_offshore}},this.NotificationService.sendNotification(s))}else this.toastr.error(l.ResponseText);this.changeDetector.detectChanges(),this.GlobalServiceService.responsiveTable()},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}onDateTimeChange(t){this.dateTimeError=null;const o=void 0!==t?t:this.dateTime;if(null==o)return;const i=new Date("object"==typeof o&&o instanceof Date&&o.getTime?o.getTime():new Date(o).getTime());if(isNaN(i.getTime()))return;const l=this.roundToNextInterval(i,30);this.dateTime=l,l.getTime()<this.todayDate.getTime()&&(this.dateTimeError="Please select a date and time in the future."),this.changeDetector.detectChanges()}add_js_interview(){this.dateTimeError||(null!=this.dateTime?(this.dateFormat=R()(this.dateTime).format("YYYY-MM-DD"),this.timeFormat1=R()(this.dateTime).format("HH:mm"),this.timeFormat2=R()(this.dateTime).format("HH:mm")):(this.timeFormat1="",this.timeFormat2="",this.dateFormat=""),""==this.timeFormat1&&""==this.timeFormat2&&""==this.dateFormat?this.toastr.error("Please, Select interview Datetime"):(this.statusInText="schedule interview",this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})))}set_jobseeker_final_rate(){let t=2!=String(this.js_rate_form.value.hired_start_date.month).length?"0"+this.js_rate_form.value.hired_start_date.month:this.js_rate_form.value.hired_start_date.month,o=2!=String(this.js_rate_form.value.hired_start_date.day).length?"0"+this.js_rate_form.value.hired_start_date.day:this.js_rate_form.value.hired_start_date.day,i=2!=String(this.js_rate_form.value.hired_end_date.month).length?"0"+this.js_rate_form.value.hired_end_date.month:this.js_rate_form.value.hired_end_date.month,l=2!=String(this.js_rate_form.value.hired_end_date.day).length?"0"+this.js_rate_form.value.hired_end_date.day:this.js_rate_form.value.hired_end_date.day,s={jobseeker_id:this.js_rate_form.get("jobseeker_id").value,jobseeker_rate:this.js_rate_form.get("jobseeker_rate").value,hired_start_date:this.js_rate_form.value.hired_start_date.year+"-"+t+"-"+o,hired_end_date:this.js_rate_form.value.hired_end_date.year+"-"+i+"-"+l};this.globals.loading=!0,this.clientService.set_jobseeker_final_rate(s).subscribe(_=>{this.globals.loading=!1,1==_.ResponseCode?(this.modalService.dismissAll(),this.change_candidate_status(3,this.applyId)):this.toastr.error(_.ResponseText)},_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}onStartDateSelected(){const t=this.js_rate_form.value.hired_start_date,o=this.js_rate_form.value.hired_end_date;if(!t||!o)return;const i=t.year>o.year||t.year===o.year&&t.month>o.month||t.year===o.year&&t.month===o.month&&t.day>=o.day;this.js_rate_form.get("hired_start_date").setErrors(i?{isWrongDate:!0}:null)}change_candidate_status(t,o){console.log("cd",this.candidateData),console.log("st",t);let i="";1==t?(i="shortlist",this.statusInText="shortlist"):3==t?(i="hire",this.statusInText="hire"):4==t&&(i="reject",this.statusInText="reject"),this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})}encode_base64(t){return btoa(t)}show_recruiter_detail(t,o){console.log(t.jobseeker_recruiter_detail),this.singleJsDetail=t,this.modalService.open(o,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})}copyMessage(t){const o=document.createElement("textarea");o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.opacity="0",o.value=t,document.body.appendChild(o),o.focus(),o.select(),document.execCommand("copy"),document.body.removeChild(o),this.toastr.success(t+" copy to clipboard")}initiate_chatroom_with_recruiter(){console.log(this.singleJsDetail);let o=JSON.parse(localStorage.getItem("CR_PREF")).user_id;this.chatService.initiate_chat({recruiter_user_id:this.singleJsDetail.jobseeker_recruiter_detail.user_id,client_user_id:o,initiated_by:o}),this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null),this.groupDataSubscription=this.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(l=>{setTimeout(()=>{this.navigationService.navigate("client/messages",this.activateRoute,{queryParams:{unique_id:btoa(l.unique_id)}}),this.modalService.dismissAll()},1e3)},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}initiate_chatroom(t,o,i,l=0,s=null){let _=JSON.parse(localStorage.getItem("CR_PREF")),p=_.user_id,u={jobseeker_user_id:t,job_id:o,client_user_id:p,friendly_name:i,initiated_by:p,js_anonymous:l};console.log("sd",u),1==u.js_anonymous&&(u.js_anonymous_name=s),"CP"==_.user_type||"cp"==_.user_type?(u.client_person_user_id=_.user_id,u.client_user_id=_.company_user_id):u.client_user_id=_.user_id,this.chatService.initiate_chat(u),this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null),this.groupDataSubscription=this.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(b=>{setTimeout(()=>{this.navigationService.navigate("client/messages",this.activateRoute,{queryParams:{unique_id:btoa(b.unique_id)}}),this.modalService.dismissAll()},1e3)},b=>{this.globals.loading=!1,this.errorHandler.handleError(b)})}change_jobpost_status(t,o){let i;console.log(t.target.checked),1==t.target.checked?(i=1,this.activeText="active job",this.activeDeactiveFlag="Active"):0==t.target.checked&&(i=0,this.activeText="deactive job",this.activeDeactiveFlag="Deactive"),this.jobObject={job_id:o,status:i},this.modalService.open(this.jobCofirmationModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})}modalClose(){console.log(this.candidateForm),this.candidateForm.reset({submitted:{id:null,name:"Submitted"},scheduled:{id:null,name:"Scheduled"},shortlisted:{id:null,name:"Shortlisted"}}
1),1==this.jobDetail.status?(this.ReadOnlyStyleGuideNotes=!0,this.activeDeactiveFlag="Active"):(this.ReadOnlyStyleGuideNotes=!1,this.activeDeactiveFlag="Deactive"),this.dateTimeError=null,this.dateTime=null,this.selected_client_persons=[],this.js_rate_form.reset(),this.modalService.dismissAll()}checkStatus(){console.log(this.jobObject),this.globals.loading=!0,this.clientService.change_jobpost_status(this.jobObject).subscribe(t=>{this.globals.loading=!1,1==t.ResponseCode&&(this.toastr.success(t.ResponseText),this.modalService.dismissAll(),this.getJobDetail())},t=>{this.globals.loading=!1,this.errorHandler.handleError(t),this.modalService.dismissAll()})}ngOnDestroy(){this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null)}static \u0275fac=function(o){return new(o||n)(e.rXU(E.nX),e.rXU(le.X),e.rXU(ie.E),e.rXU(ve.J),e.rXU(S.tw),e.rXU(oe.c),e.rXU(e.gRc),e.rXU(Fe.m),e.rXU(v.Bq),e.rXU(g.ok),e.rXU(Ae.m),e.rXU(E.Ix),e.rXU(B.z),e.rXU(ae.o),e.rXU(ee.P))};static \u0275cmp=e.VBU({type:n,selectors:[["app-job-details"]],viewQuery:function(o,i){if(1&o&&(e.GBs(ne._,5),e.GBs(fd,5),e.GBs(hd,5),e.GBs(vd,5),e.GBs(kd,5),e.GBs(jd,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.dtElement=l.first),e.mGM(l=e.lsd())&&(i.cofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.skillMod
vendor: 4,295 bytes, line 1
1al=l.first),e.mGM(l=e.lsd())&&(i.jobCofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.checkbox=l.first),e.mGM(l=e.lsd())&&(i.ratingModal=l.first)}},standalone:!0,features:[e.aNF],decls:16,vars:2,consts:[["skillModal",""],["add_jobseeker_rate_modal",""],["RecruiterDetailsModal",""],["scheduleInterviewModal",""],["cofirmationModal",""],["jobCofirmationModal",""],["ratingModal",""],["checkbox",""],["nav","ngbNav"],["a",""],["d","ngbDatepicker"],["d1","ngbDatepicker"],["dateTimePicker",""],["t",""],[3,"loading"],["class","job-details-page main-content-wrap",4,"ngIf"],[1,"job-details-page","main-content-wrap"],["aria-label","breadcrumb"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"countryRouterLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"job-details-wrap","mb-4"],[1,"job-details-column"],[1,"d-flex","align-items-center","flex-wrap","mb-4"],[1,"cr-pill","pill-blue"],[1,"d-flex","align-items-start"],[1,"job-title","h1","fw-600","flex-shrink-0",3,"formGroup"],[1,"cr-input-wrap","d-flex","align-items-center","ml-5","mt-1"],["type","checkbox","id","switch",1,"cr-switch",3,"ngModelChange","click","ngModel"],["for","switch",1,"cr-switch-label","mx-3"],["class","job-desc candidates-description",4,"ngIf"],["class","job-desc",3,"innerHTML",4,"ngIf"],[1,"d-flex","justify-content-start"],["href","javascript:void(0)",1,"cr-btn","cr-btn-sm","cr-btn-blue","cr-btn-filled","mb-3","d-inline-block","p-2",2,"font-size","14px",3,"click"],[1,"job-details-list"],[1,"job-detail-title"],[1,"job-detail-value"],["class","cr-skills-wrap",4,"ngIf"],[1,"job-details-extra"],["class","cr-btn cr-btn-blue cr-btn-sm d-flex ml-auto",3,"countryRouterLink",4,"ngIf"],[1,"job-applicants",3,"formGroup"],["ngbNav","",1,"cr-tablist","nav-tabs",3,"activeIdChange","activeId"],[3,"ngbNavItem"],["ngbNavLink",""],["ngbNavContent",""],[3,"ngbNavOutlet"],[1,"job-desc","candidates-description"],[1,"job-desc",3,"innerHTML"],[1,"cr-skills-wrap"],["class","cr-skill",4,"ngFor","ngForOf"],[1,"cr-skill"],[1,"cr-btn","cr-btn-blue","cr-btn-sm","d-flex","ml-auto",3,"countryRouterLink"],[1,"material-icons-outlined","mr-3"],[1,"table-responsive"],["datatable","",1,"row-border","hover","cr-data-table","w-100","radius-0","overflow-auto",3,"dtOptions"],[1,"sorting-arrows"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"d-flex","align-items-center"],["href","javascript:void(0)",1,"link","color-teal-green","cr-line-height1","mr-3",3,"click"],["height","16","width","16","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#10957e"],["d","M6.45455 19L2 22.5V4C2 3.44772 2.44772 3 3 3H21C21.5523 3 22 3.44772 22 4V18C22 18.5523 21.5523 19 21 19H6.45455ZM7 10V12H9V10H7ZM11 10V12H13V10H11ZM15 10V12H17V10H15Z"],[1,"fw-500"],[1,"fw-500","link","color-teal-blue",3,"countryRouterLink","queryParams"],[1,"link","color-teal-blue",3,"href"],[2,"color","#031d1f",3,"href"],["class","link color-teal-blue","style","cursor: pointer",3,"click",4,"ngIf"],[1,"cr-input-wrap"],["bindLabel","name","bindValue","id","placeholder","Submitted","formControlName","submitted",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],["class","cr-skill mr-2",4,"ngIf"],[1,"cr-skill","mr-2"],["href","javascript:void(0)",1,"link","color-alice-blue",3,"click"],["class","cr-skill-details mr-2",4,"ngIf"],[1,"cr-skill-details","mr-2"],[1,"cr-skill-details"],[1,"link","color-teal-blue",2,"cursor","pointer",3,"click"],[1,"text-center"],["colspan","9"],["bindLabel","name","bindValue","id","placeholder","Shortlisted","formControlName","shortlisted",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],[1,"cr-input-wrap","candidate-select"],["bindLabel","name","bindValue","id","placeholder","Scheduled","formControlName","scheduled",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],[1,"cr-status","status-green"],[1,"cr-status","status-red"],[1,"modal-header"],["id","video-call-modal",1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","text-center"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],[3,"formGroup"],[1,"modal-body"],[1,"row","mb-4"],[1,"col-lg-12"],[1,"cr-input-wrap","mb
1-2"],["type","text","formControlName","jobseeker_rate",1,"cr-form-control","control-medium",3,"placeholder"],["class","error",4,"ngIf"],[1,"row"],[1,"col-6"],[1,"datepicker-wrap","cr-single-datepicker","mb-4"],[1,"input-group"],["placeholder","Select Start Date","name","dp","ngbDatepicker","","container","modal-body","formControlName","hired_start_date",1,"cr-form-control","control-medium",3,"dateSelect"],["type","button",1,"btn","bi","bi-calendar3","p-1","d-flex","align-items-center","justify-content-end","cr-single-datepicke-btn",3,"click"],[1,"material-icons-outlined","px-2"],["placeholder","Select End Date","name","dp","ngbDatepicker","","container","modal-body","formControlName","hired_end_date",1,"cr-form-control","control-medium",3,"dateSelect"],["class","control-error mb-4","style","margin-top: -7px",4,"ngIf"],[1,"modal-footer"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click","disabled"],[1,"error"],["class","text-danger",4,"ngIf"],[1,"text-danger"],[1,"control-error","mb-4",2,"margin-top","-7px"],["class","err-container",4,"ngIf"],[1,"err-container"],[1,"material-icons","control-error-icon"],[1,"rec-detail-img","round"],["alt","recruiter",1,"round","img-inherit","img-cover",3,"src"],[1,"fw-600"],[1,"cr-btn-flushed","color-teal-blue","fw-500","h5"],["value","click to copy",1,"material-icons-outlined","h4",3,"click"],[1,"paragraph","color-gray-2","fw-500","mb-5"],[1,"d-flex","align-items-center","justify-content-center"],[1,"cr-btn","cr-btn-blue",3,"click"],["id","modal-basic-title",1,"modal-title"],["class","mb-5",4,"ngIf"],[1,"mb-4"],["bindLabel","name","bindValue","id","placeholder","Team Member",1,"cr-select","ng-select","control-medium",3,"ngModelChange","items","searchable","closeOnSelect","hideSelected","ngModel","multiple"],[1,"mb-5"],[1,"position-relative","custom-owl-date-picker","custom-owl-date-picker-modal","mb-5"],["placeholder","Select date & time",1,"e-custom-datetimepicker","cr-form-control",3,"ngModelChange","ngModel","min","owlDateTime","owlDateTimeTrigger"],[3,"stepMinute","hour12Timer"],["class","text-danger mt-1 small",4,"ngIf"],["type","button",1,"cr-btn","cr-btn-blue","ml-auto","d-block",3,"click","disabled"],[1,"color-alice-blue"],[1,"text-danger","mt-1","small"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"],[1,"start-rating-lists"],[1,"start-rating-list"],[1,"mb-1"],[3,"rateChange","max","rate","readonly"],[1,"cr-input-wrap",2,"margin-top","20px"],["name","overviewInput","rows","4","placeholder","Add a review....",1,"cr-form-control","control-medium",3,"ngModelChange","ngModel"],[1,"modal-footer","p-5","d-flex","justify-content-end"],[1,"cr-btn","cr-btn-blue",3,"click","disabled"],[1,"bi-heart-fill"],["class","bi-heart-fill filled",3,"width",4,"ngIf"],[1,"bi-heart-fill","filled"],[1,"star"],[1,"half"]],template:function(o,i){1&o&&(e.nrm(0,"app-loading-spinner",14),e.DNE(1,pu,77,32,"div",15)(2,mu,7,1,"ng-template",null,0,e.C5r)(4,ku,34,5,"ng-template",null,1,e.C5r)(6,ju,20,9,"ng-template",null,2,e.C5r)(8,wu,20,16,"ng-template",null,3,e.C5r)(10,xu,9,1,"ng-template",null,4,e.C5r)(12,Fu,9,1,"ng-template",null,5,e.C5r)(14,$u,35,11,"ng-template",null,6,e.C5r)),2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(),e.Y8G("ngIf",i.isAllDetails))},dependencies:[y.MD,y.Sq,y.bT,y.PV,y.vh,g.YN,g.qT,g.me,g.Zm,g.BC,g.cb,g.vS,E.iI,g.X1,g.j4,g.JD,N.M
1Q,N.vr,ne.H,ne._,v.Pv,v.Um,v.X9,v.sy,v.Gx,v.Ri,v.WA,v.m_,Ce.N,J.Yz,J.H$,J.BK,J.P_,J.Zb,S._B,Ke.l,Ge._,Ge.d,v.IQ,v.cw,v.Ny,v.hC],styles:[".job-title[_ngcontent-%COMP%]{max-width:1000px}.job-details-wrap[_ngcontent-%COMP%]{padding:20px;border:1px solid var(--cr-gray-tint-7);background-color:var(--pure-white);border-radius:10px;font-weight:500;display:grid;grid-template-columns:1fr 400px;grid-gap:20px}.job-detail-title[_ngcontent-%COMP%], .job-desc[_ngcontent-%COMP%]{color:var(--cr-gray-tint-2)}.job-desc[_ngcontent-%COMP%]{margin-bottom:15px}.job-details-column[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.job-detail-value[_ngcontent-%COMP%]{color:var(--pure-black)}.job-details-list[_ngcontent-%COMP%]{flex-wrap:wrap;margin-bottom:10px}.job-details-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:5px}.job-details-list[_ngcontent-%COMP%], .job-details-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center}.job-detail-title[_ngcontent-%COMP%]{margin-right:5px}.job-details-wrap[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:15px}.job-details-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-right:25px}.job-applicants[_ngcontent-%COMP%]{overflow:hidden;border-radius:10px;background-color:var(--pure-white);border:1px solid var(--cr-gray-tint-7)}.job-applicants[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%]{min-height:300px}.job-details-extra[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-end}.star[_ngcontent-%COMP%]{height:30px;position:relative;display:inline-block;font-size:28px;padding-top:3px;color:#ecf1f8}.full[_ngcontent-%COMP%]{color:#fbc431}.starClass[_ngcontent-%COMP%]{position:absolute;display:inline-block;bottom:30%;padding-top:4px;height:30px;color:#fbc431;overflow:hidden}.start-rating-lists[_ngcontent-%COMP%]{min-height:425px;max-height:320px;overflow-y:auto}.start-rating-lists[_ngcontent-%COMP%] .start-rating-list[_ngcontent-%COMP%]{margin-bottom:25px}.start-rating-lists[_ngcontent-%COMP%] .start-rating-list[_ngcontent-%COMP%]:last-child{margin-bottom:0}.candidate-select[_ngcontent-%COMP%] .control-small[_ngcontent-%COMP%], ng-select.control-small[_ngcontent-%COMP%]{height:40px;border-radius:10px;font-size:14px}@media screen and (max-width: 1199px){.job-details-wrap[_ngcontent-%COMP%]{grid-template-columns:1fr 250px}.job-details-extra[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:flex-start;flex-direction:column}.job-details-extra[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:10px}}@media screen and (max-width: 767px){.job-details-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column}.job-details-extra[_ngcontent-%COMP%]{align-items:center;flex-direction:row;justify-content:center}.nav-tabs[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6;overflow-x:auto;flex-wrap:nowrap}.nav-tabs[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{white-space:nowrap}}@media screen and (max-width: 413px){.job-details-extra[_ngcontent-%COMP%]{flex-direction:column;justify-content:flex-start;align-items:center}.job-details-extra[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:10px;margin-left:0!important}}.e-custom-datetimepicker[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]{border:1px solid #ced4da;border-radius:4px;background-color:#fff}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]:hover{border-color:#80bdff}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group.e-focus[_ngcontent-%COMP%]{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]{padding:10px 12px;font-size:14px;color:#495057}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]::placeholder{color:#6c757d}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group-icon[_ngcontent-%COMP%]{color:#6c757d} .confirm-modal .modal-content{max-width:520px!important}.candidates-description[_ngcontent-%COMP%]{word-break:break-word}"]})}return n})();var Pu=x(12283),Nu=x(88952);const Yu=()=>["/"],Vu=()=>["(regions)"],Ju=n=>({country:n}),Xu=(n,a)=>({types:n,componentRestrictions:a}),Au=()=>["/login"],Bu=()=>["/terms-conditions"],qu=()=>["/privacy-policy"];function Lu(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Full Name is required. "),e.k0s())}function Hu(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Full Name must contain only letters. "),e.k0s())}function Uu(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,Lu,4,0,"div",42)(2,Hu,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.contact_name.errors.required),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.contact_name.errors.onlySpaces)}}function zu(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company Name is required. "),e.k0s())}function Qu(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company Name must contain only letters. "),e.k0s())}function Wu(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,zu,4,0,"div",42)(2,Qu,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.name.errors.required),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.name.errors.onlySpaces)}}function Zu(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Contact number is required. "),e.k0s())}function Ku(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Contact number is already in use. "),e.k0s())}function em(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Contact number must be 10 digits. "),e.k0s())}function tm(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,Zu,4,0,"div",42)(2,Ku,4,0,"div",42)(3,em,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.phone.errors.required),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.phone.errors.isUnique),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.phone.errors.isPhoneLength)}}function nm(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Location is required. "),e.k0s())}function im(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,nm,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.address.errors.required)}}function om(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is required. "),e.k0s())}function lm(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email must be a valid email address "),e.k0s())}function am(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email must be a valid email address "),e.k0s())}function sm(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is already in use. Please select another email address "),e.k0s())}function rm(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,om,4,0,"div",42)(2,lm,4,0,"div",42)(3,am,4,0,"div",42)(4,sm,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.email.errors.required),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.email.errors.email),e.R7$(),e.Y8G("ngIf",!t.registerGroup.controls.email.errors.email&&t.registerGroup.controls.email.errors.pattern),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.email.errors.isUnique)}}function cm(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Industry is required. "),e.k0s())}function _m(n,a){if(1&n&&(e.j41(0,"div",41),e.DNE(1,cm,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.industry_type.errors.required)}}function dm(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Company URL is required. "),e.k0s())}function pm(n,a){1&n&&(e.j41(0,"div",43)(1,"i",44),e.EFF(2,"warning"),e.k0s(),e.EFF(3," URL must be valid (E.g. https://www.example.com) "),e.k0s())}function um(n,a){if(1&n&&(e.j41(0,"div",45),e.DNE(1,dm,4,0,"div",42)(2,pm,4,0,"div",42),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.company_url.errors.required),e.R7$(),e.Y8G("ngIf",t.registerGroup.controls.company_url.errors.pattern)}}let mm=(()=>{class n{nav;titleService;meta;fb;_router;cs;common;errorHandler;http;modalService;globals;_sanitizer;toastr;activatedRoute;countryLocalizeService;navigationService;registerGroup;OtpGroup;is_pass_visible=!1;_baseURL;phone_code=[];country="";$="";loading=!1;show=!1;htmlStr="";modalReference;check_email=0;check_phone=0;isLoggedin;imageChangedEvent="";croppedImage="";utl_regex=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#()?&//=]*)/;fileUploadInput;isEnableSubmit=!1;constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T,P){this.nav=t,this.titleService=o,this.meta=i,this.fb=l,this._router=s,this.cs=_,this.common=p,this.errorHandler=u,this.http=b,this.modalService=f,this.globals=C,this._sanitizer=w,this.toastr=I,this.activatedRoute=X,this.countryLocalizeService=T,this.navigationService=P,this.country=this.countryLocalizeService.getCountryCode(),this.phone_code="in"===this.country?[{name:"+91",value:"+91"}]:[{name:"+1",value:"+1"}],this.nav.show(),this.createForm(),this._baseURL=Pu.D.baseURL}
1passwordToggle(){this.is_pass_visible=!this.is_pass_visible}noOnlySpacesValidator(t){const o=t.value;return"string"!=typeof o?null:0===o.trim().length&&o.length>0?{onlySpaces:!0}:null}trimControl(t){const o=this.registerGroup.get(t),i=o?.value;if("string"!=typeof i)return;const l=i.trim();l!==i&&o?.setValue(l,{emitEvent:!1}),o?.updateValueAndValidity({emitEvent:!1})}createForm(){this.registerGroup=this.fb.group({name:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],contact_name:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],email:["",[g.k0.required,g.k0.email,g.k0.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]],phone_code:["in"===this.country?"+91":"+1",g.k0.required],phone:["",g.k0.required],address:["",g.k0.required],industry_type:["",g.k0.required],company_url:["",[g.k0.required,g.k0.pattern(this.utl_regex)]]})}ngOnInit(){}handleAddressChange(t){const o=t.formatted_address||"";this.registerGroup.get("address")?.setValue(o)}requestForm(){if(new FormData,this.globals.loading=!0,this.registerGroup.valid){const o=this.registerGroup.value;console.log("obj",o),this.common.add_client_request(o).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode?(this.toastr.success(i.ResponseText),this.navigationService.navigateToHome(this.activatedRoute),this.globals.loading=!1):(this.toastr.error(i.ResponseText),this.globals.loading=!1)},i=>{this.globals.loading=!1,this.errorHandler.handleError(i)})}else for(let o in this.registerGroup.controls)this.registerGroup.controls[o].markAsTouched()}checkUniqEmail(t){const o=this.registerGroup.get("email");o.valid&&this.common.checkUniqEmail({email:t.target.value}).subscribe(s=>{0==s.ResponseCode&&o.setErrors({isUnique:!0}),this.check_email=s.ResponseCode},s=>{console.log({error:s}),this.errorHandler.handleError(s)}),o.value.match(/^(?!\d+@)[\w.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/g)||o.setErrors({email:!0})}validatePhone(t){const o=this.registerGroup.get("phone");12!=t.target.value.length&&o.setErrors({isValidPhone:!0})}checkUniqPhone(t){this.isEnableSubmit=!1;const o=this.registerGroup.get("phone");o.valid&&this.common.checkAvailPhone({phone:t.target.value.replace(/-/g,""),code:this.registerGroup.get("phone_code").value}).subscribe(i=>{console.log(i),this.isEnableSubmit=!0,0==i.ResponseCode&&o.setErrors({isUnique:!0}),this.check_phone=i.ResponseCode},i=>{console.log("mobile",i),this.errorHandler.handleError(i)})}keyPressNumbers(t){var o=t.which?t.which:t.keyCode;return!(o<48||o>57)||(t.preventDefault(),!1)}charactersOnly(t){var o=new RegExp("^[a-zA-Z ]+$"),i=String.fromCharCode(t.charCode?t.charCode:t.which);return!!o.test(i)||(t.preventDefault(),!1)}alphaNumberOnly(t){var o=new RegExp("^[a-zA-Z0-9 ]+$"),i=String.fromCharCode(t.charCode?t.charCode:t.which);return!!o.test(i)||(t.preventDefault(),!1)}static \u0275fac=function(o){return new(o||n)(e.rXU(Nu.q),e.rXU(fe.hE),e.rXU(fe.W8),e.rXU(g.ok),e.rXU(E.Ix),e.rXU(le.X),e.rXU(_e.h),e.rXU(oe.c),e.rXU(Pe.Qq),e.rXU(v.Bq),e.rXU(ie.E),e.rXU(fe.up),e.rXU(S.tw),e.rXU(E.nX),e.rXU(B.z),e.rXU(ae.o))};static \u0275cmp=e.VBU({type:n,selectors:[["app-client-register"]],standalone:!0,features:[e.aNF],decls:64,vars:30,consts:[["code",""],[3,"loading"],[2,"margin-top","-65px"],[1,"auth-page-wrapper","d-flex","flex-xl-row","flex-column","page-body"],[1,"auth-page-left"],[1,"auth-text-content-wrap"],[1,"auth-header-logo",2,"cursor","pointer",3,"countryRouterLink"],["src","../../../../assets/front-assets/images/logo.svg","alt","logo"],[1,"auth-text-content"],[1,"f-h1","medium","fw-600","mb-2","f-text-navy-blue","text-break"],[1,"fw-400"],[1,"f-p","fw-500","f-text-gray","mb-0"],[1,"auth-page-right","f-bg-pure-white"],[1,"auth-title"],[1,"f-h3","mb-2"],[1,"f-p"],[1,"authentication-form",3,"formGroup"],[1,"d-flex","align-items-start","justify-content-start","sub-input-wrap"],[1,"input-wrap","mb-0"],["type","text","placeholder","Full Name","formControlName","contact_name",1,"custom-input",3,"blur"],["class","control-error",4,"ngIf"],[1,"input-wrap"],["type","text","placeholder","Company Name","formControlName","name",1,"custom-input",3,"blur"],[1,"d-flex","align-items-start","justify-content-start","country-code-input-wrap","sub-input-wrap"],[1,"input-wrap","d-flex","align-items-center","justify-content-start"],[1,"country-code-number-select"],["bindLabel","name","bindValue","name","placeholder","Code","formControlName","phone_code",1,"select-country-code","country-code-disable",3,"items","hideSelected","clearable","searchable","placeholder"],[1,"input-wrap","mb
1-0","phone-number-input"],["type","text","formControlName","phone","placeholder","Phone Number","mask","000-000-0000",1,"custom-input",3,"keyup","change"],["type","text","placeholder","Location","formControlName","address","googlePlacesAutocomplete","",1,"custom-input",3,"onAddressChange","keypress","blur","options"],["type","email","placeholder","Email","formControlName","email",1,"custom-input",3,"focusout"],["type","text","placeholder","Industry","formControlName","industry_type",1,"custom-input",3,"blur"],["type","text","placeholder","Company URL","formControlName","company_url",1,"custom-input"],["class","control-error mb-4",4,"ngIf"],["href","javascript:void(0)",1,"f-btn","d-block","f-h6","small","text-uppercase","f-btn-theme-blue","login-btn","w-100",3,"click","disabled"],[1,"auth-text-footer"],[1,"f-text-gray","small-font","fw-500","register-link"],[1,"blue-link","fw-500","cursor-pointer",3,"countryRouterLink"],[1,"small-font","f-text-gray","fw-500","mb-0"],[1,"fw-600","dark-link",3,"countryRouterLink"],[1,"dark-link","fw-600",3,"countryRouterLink"],[1,"control-error"],["class","err-container",4,"ngIf"],[1,"err-container"],[1,"material-icons","control-error-icon"],[1,"control-error","mb-4"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",1),e.j41(1,"section",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"a",6),e.nrm(6,"img",7),e.k0s(),e.j41(7,"div",8)(8,"h1",9)(9,"span",10),e.EFF(10,"Get The Best Talent For The "),e.k0s(),e.EFF(11," Job "),e.k0s(),e.j41(12,"p",11),e.EFF(13," Connect with skilled professionals who will add value to your organization and keep you ahead of the curve. "),e.k0s()()()(),e.j41(14,"div",12)(15,"div",13)(16,"h3",14),e.EFF(17,"Create An Account"),e.k0s(),e.j41(18,"p",15),e.EFF(19,"Please fill the details to continue with us"),e.k0s()(),e.j41(20,"form",16)(21,"div",17)(22,"div",18)(23,"input",19),e.bIt("blur",function(){return e.eBV(l),e.Njj(i.trimControl("contact_name"))}),e.k0s(),e.DNE(24,Uu,3,2,"div",20),e.k0s(),e.j41(25,"div",21)(26,"input",22),e.bIt("blur",function(){return e.eBV(l),e.Njj(i.trimControl("name"))}),e.k0s(),e.DNE(27,Wu,3,2,"div",20),e.k0s()(),e.j41(28,"div",23)(29,"div")(30,"div",24)(31,"div",25),e.nrm(32,"ng-select",26,0),e.k0s(),e.j41(34,"div",27)(35,"input",28),e.bIt("keyup",function(_){return e.eBV(l),e.Njj(i.checkUniqPhone(_))})("change",function(_){return e.eBV(l),e.Njj(i.validatePhone(_))}),e.k0s()()(),e.DNE(36,tm,4,3,"div",20),e.k0s(),e.j41(37,"div",21)(38,"input",29),e.bIt("onAddressChange",function(_){return e.eBV(l),e.Njj(i.handleAddressChange(_))})("keypress",function(_){return e.eBV(l),e.Njj(i.alphaNumberOnly(_))})("blur",function(){return e.eBV(l),e.Njj(i.trimControl("address"))}),e.k0s(),e.DNE(39,im,2,1,"div",20),e.k0s()(),e.j41(40,"div",17)(41,"div",18)(42,"input",30),e.bIt("focusout",function(_){return e.eBV(l),e.Njj(i.checkUniqEmail(_))}),e.k0s(),e.DNE(43,rm,5,4,"div",20),e.k0s(),e.j41(44,"div",21)(45,"input",31),e.bIt("blur",function(){return e.eBV(l),e.Njj(i.trimControl("industry_type"))}),e.k0s(),e.DNE(46,_m,2,1,"div",20),e.k0s()(),e.j41(47,"div",21),e.nrm(48,"input",32),e.k0s(),e.DNE(49,um,3,2,"div",33),e.j41(50,"button",34),e.bIt("click",function(){return e.eBV(l),e.Njj(i.requestForm())}),e.EFF(51," Register "),e.k0s()(),e.j41(52,"div",35)(53,"p",36),e.EFF(54," Already have an Account? "),e.j41(55,"a",37),e.EFF(56,"Login"),e.k0s()(),e.j41(57,"p",38),e.EFF(58," By clicking Login, I agree to CloudRek\u2019s "),e.j41(59,"a",39),e.EFF(60,"Terms of Use"),e.k0s(),e.EFF(61," and "),e.j41(62,"a",40),e.EFF(63,"Privacy Policy."),e.k0s()()()()()()}2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(5),e.Y8G("countryRouterLink",e.lJ4(20,Yu)),e.R7$(15),e.Y8G("formGroup",i.registerGroup),e.R7$(4),e.Y8G("ngIf",i.registerGroup.controls.contact_name.invalid&&(i.registerGroup.controls.contact_name.dirty||i.registerGroup.controls.contact_name.touched)),e.R7$(3),e.Y8G("ngIf",i.registerGroup.controls.name.invalid&&(i.registerGroup.controls.name.dirty||i.registerGroup.controls.name.touched)),e.R7$(5),e.FS9("placeholder","in"==i.country?"+91":"+1"),e.Y8G("items",i.phone_code)("hideSelected",!0)("clearable",!1)("searchable",!1),e.R7$(4),e.Y8G("ngIf",i.registerGroup.controls.phone.invalid&&(i.registerGroup.controls.phone.dirty||i.registerGroup.controls.phone.touched)),e.R7$(2),e.Y8G("options",e.l_i(24,Xu,e.lJ4(21,Vu),e.eq3(22,Ju,i.country))),e.R7$(),e.Y8G("ngIf",i.registerGroup.controls.address.invalid&&(i.registerGroup.controls.address.dirty||i.registerGroup.controls.address.touched)),e.R7$(4),e.Y8G("ngIf",i.registerGroup.controls.email.invalid&&(i.registerGroup.controls.email.dirty||i.registerGroup.controls.email.touched)),e.R7$(3),e.Y8G("ngIf",i.registerGroup.controls.industry_type.invalid&&(i.registerGroup.controls.industry_type.dirty||i.registerGroup.controls.industry_type.touched)),e.R7$(3),e.Y8G("ngIf",i.registerGroup.controls.company_url.invali
1d&&(i.registerGroup.controls.company_url.dirty||i.registerGroup.controls.company_url.touched)),e.R7$(),e.Y8G("disabled",i.registerGroup.invalid||!i.isEnableSubmit),e.R7$(5),e.Y8G("countryRouterLink",e.lJ4(27,Au)),e.R7$(4),e.Y8G("countryRouterLink",e.lJ4(28,Bu)),e.R7$(3),e.Y8G("countryRouterLink",e.lJ4(29,qu)))},dependencies:[y.MD,y.bT,g.YN,g.qT,g.me,g.BC,g.cb,E.iI,g.X1,g.j4,g.JD,v.UN,N.MQ,N.vr,Ce.N,Xn.Zr,L.j,L.P,S._B,Ke.l],styles:['.auth-page-wrapper[_ngcontent-%COMP%]{background-color:var(--f-pure-white)}.auth-page-left[_ngcontent-%COMP%]{width:100%;max-width:57%;background:#eaf6fc url(authentication-bg.e57280340b54d254.png) no-repeat bottom;height:100vh;object-fit:contain}.auth-page-right[_ngcontent-%COMP%]{width:100%;max-width:43%;padding:100px 100px 0;height:100vh;overflow:auto}.auth-text-content[_ngcontent-%COMP%]{max-width:760px}.auth-text-content-wrap[_ngcontent-%COMP%]{position:relative;display:flex;padding:0 150px;justify-content:center;flex-direction:column;height:100vh}.auth-header-logo[_ngcontent-%COMP%]{position:absolute;top:50px;left:150px}.auth-title[_ngcontent-%COMP%]{margin-bottom:24px}.auth-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;color:var(--f-black-tint-1)}.input-wrap[_ngcontent-%COMP%]:not(:last-child){margin-bottom:12px}.sub-input-wrap[_ngcontent-%COMP%]{margin-bottom:12px}.custom-input[_ngcontent-%COMP%]{width:100%;border:1px solid var(--f-gray-tint-4);border-radius:40px;outline:none;padding:18px 24px;transition:.3s all;font-size:18px;color:var(--f-navy-blue);font-weight:500;box-shadow:none}.password-input.custom-input[_ngcontent-%COMP%]{padding:18px 50px 18px 24px}.custom-input[_ngcontent-%COMP%]:focus{border:1px solid var(--f-navy-blue)}.custom-input[_ngcontent-%COMP%]::placeholder{color:var(--f-gray);font-weight:500}.input-wrap[_ngcontent-%COMP%]{position:relative}.eye-icon[_ngcontent-%COMP%]{position:absolute;right:24px;top:50%;padding:6x;transform:translateY(-50%);cursor:pointer}.checkbox-content-wrap[_ngcontent-%COMP%]{margin:20px 0 50px;padding:0 20px}.checkbox-wrap[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:var(--f-black-tint-1);font-size:16px}.checkbox-content-wrap[_ngcontent-%COMP%] .pwd-text[_ngcontent-%COMP%]{color:var(--f-green);font-size:16px}input[type=checkbox][_ngcontent-%COMP%]{height:24px;width:24px;margin:0 5px 0 0;padding:0;opacity:1;-webkit-appearance:none;appearance:none;border:2px solid var(--f-gray-tint-7);border-radius:6px;background:#fff;position:relative}input[type=checkbox][_ngcontent-%COMP%]:checked{border:2px solid var(--f-gray-tint-7);background:var(--f-gray-tint-7)}input[type=checkbox][_ngcontent-%COMP%]:checked:before, input[type=checkbox][_ngcontent-%COMP%]:checked:after{content:"";position:absolute;height:2px;background:var(--f-pure-white)}input[type=checkbox][_ngcontent-%COMP%]:checked:before{width:8px;top:11px;left:2px;transform:rotate(44deg)}input[type=checkbox][_ngcontent-%COMP%]:checked:after{width:14px;top:8px;left:5px;transform:rotate(-55deg)}input[type=checkbox][_ngcontent-%COMP%]:focus{outline:none}.login-btn[_ngcontent-%COMP%]{margin-bottom:40px}.login-btn.f-btn[_ngcontent-%COMP%]{height:auto;padding:22px 0;font-weight:700}.login-btn[_ngcontent-%COMP%]:disabled{background-color:var(--cr-gray-tint-6);color:var(--cr-gray-tint-2);border-color:transparent;cursor:not-allowed}.connect-text[_ngcontent-%COMP%]{color:var(--f-gray-tint-8);letter-spacing:.08em}.social-links[_ngcontent-%COMP%]{min-width:214px;width:100%;font-weight:500;padding:15px 29px;background:#f5f7fb;border-radius:10px;color:var(--f-black-tint-1);transition:.3s all}.social-links[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}.social-links[_ngcontent-%COMP%]:hover{background-color:var(--f-gray-tint-4)}.social-links[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:25px;height:25px}.auth-text-footer[_ngcontent-%COMP%]{max-width:441px;margin:0 auto;text-align:center}.auth-text-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{letter-spacing:.02em}.links-wrap[_ngcontent-%COMP%]{margin-bottom:25px}.small-font[_ngcontent-%COMP%]{font-size:16px}.blue-link[_ngcontent-%COMP%]{text-decoration:underline;color:var(--f-theme-blue);transition:.3s all}.blue-link[_ngcontent-%COMP%]:hover{color:var(--f-navy-blue);text-decoration:none}.dark-link[_ngcontent-%COMP%]{color:var(--f-navy-blue);transition:.3s all;text-decoration:underline}.dark-link[_ngcontent-%COMP%]:hover{text-decoration:none;color:var(--f-theme-blue)}.register-link[_ngcontent-%COMP%]{margin:32px 0}.green-link[_ngcontent-%COMP%]:hover{color:#09947c;text-decoration:underline}.sub-input-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%}.sub-input-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){margin-right:11px}.phone-number-input[_ngcontent-%COMP%]{width:100%;margin-left:11px}.country-code-input-wrap[_ngcontent-%COMP%]{margin-bottom:12px}@media only screen and (max-width:1799px){.auth-page-left[_ngcontent-%COMP%] .f-h1.medium[_ng
1content-%COMP%]{font-size:67px}.auth-text-content-wrap[_ngcontent-%COMP%]{padding:0 120px}.auth-page-right[_ngcontent-%COMP%]{padding:60px 50px}.auth-page-right[_ngcontent-%COMP%] .f-h3[_ngcontent-%COMP%]{font-size:32px}}@media only screen and (max-width:1599px){.auth-page-left[_ngcontent-%COMP%] .f-h1.medium[_ngcontent-%COMP%]{font-size:58px}.auth-text-content-wrap[_ngcontent-%COMP%]{padding:0 80px}.custom-input[_ngcontent-%COMP%]{padding:15px 21px;font-size:16px}.login-btn.f-btn[_ngcontent-%COMP%]{padding:19px 0}.social-links[_ngcontent-%COMP%]{min-width:180px;padding:12px 23px}.auth-text-footer[_ngcontent-%COMP%]{max-width:380px}.auth-page-right[_ngcontent-%COMP%]{padding:40px}.auth-header-logo[_ngcontent-%COMP%]{left:80px;top:40px}.password-input.custom-input[_ngcontent-%COMP%]{padding:15px 50px 15px 21px}}@media only screen and (max-width:1439px){.auth-text-content-wrap[_ngcontent-%COMP%]{padding:0 60px}.auth-header-logo[_ngcontent-%COMP%]{left:60px}}@media only screen and (max-width:1365px){.auth-page-left[_ngcontent-%COMP%] .f-h1.medium[_ngcontent-%COMP%]{font-size:50px}.auth-text-content[_ngcontent-%COMP%]{max-width:100%}.auth-text-content-wrap[_ngcontent-%COMP%]{padding:0 40px}.auth-header-logo[_ngcontent-%COMP%]{left:40px}.custom-input[_ngcontent-%COMP%]{padding:13px 18px}.password-input.custom-input[_ngcontent-%COMP%]{padding:13px 50px 13px 18px}.login-btn[_ngcontent-%COMP%]{margin-bottom:25px}.register-link[_ngcontent-%COMP%]{margin:25px 0}}@media only screen and (max-width:1199px){.auth-page-right[_ngcontent-%COMP%]{max-width:70%;margin:0 auto;padding:0}.auth-page-wrapper[_ngcontent-%COMP%]{padding:15px}.auth-page-left[_ngcontent-%COMP%]{max-width:70%;margin:0 auto 25px;background:unset;height:auto}.auth-text-content-wrap[_ngcontent-%COMP%]{padding:0;height:auto}.auth-page-left[_ngcontent-%COMP%] .f-h1.medium[_ngcontent-%COMP%]{font-size:40px}.auth-page-right[_ngcontent-%COMP%] .f-h3[_ngcontent-%COMP%]{font-size:29px}.auth-header-logo[_ngcontent-%COMP%]{position:unset;margin-bottom:15px}.sub-input-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{max-width:100%;width:100%}}@media only screen and (max-width:767px){.auth-page-left[_ngcontent-%COMP%] .f-h1.medium[_ngcontent-%COMP%]{font-size:34px}.auth-title[_ngcontent-%COMP%]{margin-bottom:20px}.auth-page-right[_ngcontent-%COMP%] .f-h3[_ngcontent-%COMP%]{font-size:26px}.auth-page-left[_ngcontent-%COMP%], .auth-page-right[_ngcontent-%COMP%]{max-width:100%}}@media only screen and (max-width:575px){.auth-page-left[_ngcontent-%COMP%], .auth-page-right[_ngcontent-%COMP%]{max-width:100%}.sub-input-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.sub-input-wrap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){margin-right:0;margin-bottom:12px!important}}@media only screen and (max-width:480px){.auth-page-left[_ngcontent-%COMP%] .f-h1.medium[_ngcontent-%COMP%]{font-size:31px}.custom-input[_ngcontent-%COMP%]{font-size:15px}.login-btn.f-btn[_ngcontent-%COMP%]{padding:17px 0}.auth-header-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:140px}.auth-page-right[_ngcontent-%COMP%] .f-h3[_ngcontent-%COMP%]{font-size:23px}.checkbox-content-wrap[_ngcontent-%COMP%]{margin:20px 0 30px;padding:0}.checkbox-content-wrap[_ngcontent-%COMP%] .pwd-text[_ngcontent-%COMP%], .checkbox-wrap[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:15px}.social-links[_ngcontent-%COMP%]{min-width:150px;padding:10px 15px}.links-wrap[_ngcontent-%COMP%] .f-p[_ngcontent-%COMP%]{font-size:15px}.social-links[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:21px;height:21px}}@media only screen and (max-width:414px){.login-btn.f-btn[_ngcontent-%COMP%]{padding:14px 0;font-size:15px}}']})}return n})();const gm=["videoElement"];function bm(n,a){if(1&n){const t=e.RV6();e.j41(0,"li",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=i.$implicit,s=i.index,_=e.XpG().index,p=e.XpG(2);return e.Njj(p.show_video(null==l?null:l.id,l,_,s))}),e.j41(1,"div",24),e.EFF(2),e.k0s(),e.j41(3,"div",25)(4,"div",26),e.EFF(5),e.k0s(),e.j41(6,"div",27),e.EFF(7),e.k0s()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index,l=e.XpG().index,s=e.XpG(2);e.STu("h4 sub-grp inner-panel-",l,"-",i,""),e.AVh("vid-active",s.activeQuestion==(null==o?null:o.id)),e.R7$(2),e.SpI("",i+1,"."),e.R7$(3),e.SpI(" ",(null==o?null:o.question_name)||"-"," "),e.R7$(2),e.SpI(" Answer Length: ",null!=o&&o.video_time?o.video_time:"0"," minutes ")}}function fm(n,a){if(1&n&&(e.qex(0),e.DNE(1,bm,8,9,"li",22),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",t&&t.id)}}function hm(n,a){if(1&n&&(e.j41(0,"div",10)(1,"div",11)(2,"h2",12)(3,"button",13)(4,"div",14)(5,"span",15),e.EFF(6," keyboard_arrow_down "),e.k0s(),e.j41(7,"div",16)(8,"h6",17),e.EFF(9),e.k0s()()()()(),e.j41(10,"div",18)(11,"div",19)(12,"ul",20),e.DNE(13,fm,2,1,"ng-container",21),e.k0s()()()()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(2);e.Mz_("id","panel-",o,""),e.Y8G("closeOthers",!0)("activeIds",i.activeIds),e.R7$(),e.Mz_("id","config-panel-",o,""),e.R7$(8),e.JRh(t.key),e.R7$(4),e.Y8G("ngForOf",t.value)}}function vm(n,a){if(1&n&&(e.j41(0,"div",8)(1,"div"),e.DNE(2,hm,14,8,"div",9),e.nI1(3,"keyvalue"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",e.bMT(3,1,t.allQueData))}}function km(n,a){if(1&n&&(e.j41(0,"div",28)(1,"video",29,0),e.nrm(3,"source",30),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("src",t.video_path,e.B4B)}}let jm=(()=>{class n{route;clientService;location;globals;jobseeker_id;completed_video;job_title;video_path;activeQuestion;allQueData={};data=[];jobId;skillId=[];videoElement;constructor(t,o,i,l){this.route=t,this.clientService=o,this.location=i,this.globals=l}ngOnInit(){this.route.queryParams.subscribe(t=>{t.skill_id&&(this.skillId=t.skill_id.split(",")),t.job_id&&(this.jobId=t.job_id)}),this.route.paramMap.subscribe(t=>{let o=+t.get("jobseeker_id");this.getAllClientVideo(o)})}getAllClientVideo(t){var o=this;return(0,j.A)(function*(){let i={jobseeker_id:t};0!=o.skillId.length&&(i.skill_id=o.skillId),o.jobId&&(i.job_id=o.jobId),o.globals.loading=!0,yield o.clientService.getAllVideoDetails(i).subscribe(function(){var l=(0,j.A)(function*(s){o.globals.loading=!1,console.log(s.ResponseData);const _=s.ResponseData||{};o.allQueData=Object.keys(_).reduce((b,f)=>{const C=Array.isArray(_[f])?_[f]:[];return b[f]=C.filter(w=>w&&null!=w.id),b},{});let p=Object.keys(o.allQueData)[0];const u=o.allQueData[p];u&&u.length&&(o.video_path=u[0].video,o.activeQuestion=u[0].id)});return function(s){return l.apply(this,arguments)}}())})()}show_video(t,o){console.log(o),this.activeQuestion=t,this.videoElement.nativeElement.load(),this.video_path=o?.video}isObjectEmpty(t){return 0===Object.keys(t).length}back(){this.location.back()}static \u0275fac=function(o){return new(o||n)(e.rXU(E.nX),e.rXU(le.X),e.rXU(y.aZ),e.rXU(ie.E
1))};static \u0275cmp=e.VBU({type:n,selectors:[["app-review-video"]],viewQuery:function(o,i){if(1&o&&e.GBs(gm,5),2&o){let l;e.mGM(l=e.lsd())&&(i.videoElement=l.first)}},standalone:!0,features:[e.aNF],decls:9,vars:3,consts:[["videoElement",""],[3,"loading"],[1,"video-interview-page","main-content-wrap"],[1,"interview-grid"],[1,"qn-panel"],["class","qn-panel-body",4,"ngIf"],[1,"cr-btn","cr-btn-blue","mt-auto","d-inline-block","mr-auto",3,"click"],["class","cam-container",4,"ngIf"],[1,"qn-panel-body"],["ngbAccordion","","class","sub-qn-acc",3,"id","closeOthers","activeIds",4,"ngFor","ngForOf"],["ngbAccordion","",1,"sub-qn-acc",3,"id","closeOthers","activeIds"],["ngbAccordionItem","",3,"id"],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"custom-acc-head","sub-qn-head","w-100"],[1,"d-flex","align-items-center"],[1,"custom-acc-arrow","material-icons-outlined","mr-2"],[1,"submitted-qn-title"],[1,"mb-0"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"sub-qn-list"],[4,"ngFor","ngForOf"],[3,"class","vid-active","click",4,"ngIf"],[3,"click"],[1,"sub-qn-num"],[1,"sub-qn-wrap"],[1,"sub-qn"],[1,"color-gray-3","paragraph-md"],[1,"cam-container"],["controls","","autoplay","",1,"cam-video",2,"border-radius","15px"],["type","video/mp4",3,"src"]],template:function(o,i){1&o&&(e.nrm(0,"app-loading-spinner",1),e.j41(1,"section",2)(2,"div",3)(3,"div",4),e.qex(4),e.DNE(5,vm,4,3,"div",5),e.j41(6,"button",6),e.bIt("click",function(){return i.back()}),e.EFF(7," Back "),e.k0s(),e.bVm(),e.k0s(),e.DNE(8,km,4,1,"div",7),e.k0s()()),2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(5),e.Y8G("ngIf",!i.isObjectEmpty(i.allQueData)),e.R7$(3),e.Y8G("ngIf",i.video_path))},dependencies:[y.MD,y.Sq,y.bT,y.lG,v.UN,v.WP,v.r6,v.tW,v.x7,v.UA,v.$R,v._f],styles:['.video-interview-page[_ngcontent-%COMP%]{height:100%}.interview-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:700px 1fr;grid-gap:15px;height:100%}.interview-grid[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;border-radius:10px}.qn-panel[_ngcontent-%COMP%]{background-color:var(--pure-white);padding:30px 25px;border:1px solid var(--cr-gray-tint-8);overflow-y:auto;display:flex;flex-direction:column}.qn-panel-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:40px}.qn-panel-body[_ngcontent-%COMP%]{overflow-y:auto}.qn-count[_ngcontent-%COMP%]{margin-bottom:20px}.skill-qn-options[_ngcontent-%COMP%]{margin:30px 0;display:flex;align-items:center}.skill-qn-options[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:15px}ul.skill-qn-list[_ngcontent-%COMP%]{margin-top:30px;position:relative}ul.skill-qn-list[_ngcontent-%COMP%]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:#ffffff80;z-index:1}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-weight:500;padding:5px 10px;-webkit-user-select:none;user-select:none}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child){border-top:1px solid var(--cr-gray-tint-8)}.sub-qn-head[_ngcontent-%COMP%]{border:none;background:transparent;display:flex;align-items:center}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:8px;margin-bottom:0}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--cr-gray-tint-8);cursor:pointer}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-8)}.sub-qn-list[_ngcontent-%COMP%] li.vid-active[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-7)}.sub-qn-list[_ngcontent-%COMP%] .sub-qn-wrap[_ngcontent-%COMP%]{margin-left:20px}.sub-qn[_ngcontent-%COMP%]{margin-bottom:5px}.cam-container[_ngcontent-%COMP%]{position:relative}.cam-blur[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-color:#031d1f33;z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:inherit}.cam-placeholder[_ngcontent-%COMP%]{height:100%;border-radius:10px;overflow:hidden}.cam-placeholder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.cam-options-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.cam-video[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px)}.interview-countdown[_ngcontent-%COMP%]{position:absolute;
1left:50%;top:50%;font-size:12rem;transform:translate(-50%,-50%);color:var(--pure-white);width:20rem;height:20rem;display:flex;align-items:center;justify-content:center;background-color:#ffffff80;border-radius:50%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-weight:700;-webkit-user-select:none;user-select:none}.cam-actions[_ngcontent-%COMP%]{position:absolute;bottom:20px;width:100%;display:flex;justify-content:center;align-items:center;padding:0 20px}.remaining-time[_ngcontent-%COMP%]{width:80px;height:80px}.cam-action-btn[_ngcontent-%COMP%]{width:70px;height:70px;display:flex;align-items:center;justify-content:center;transition:.3s all;background-color:var(--pure-white);border:1px solid transparent;font-size:30px}.cam-action-btn[_ngcontent-%COMP%]:hover{background-color:#e3e3e3}']})}return n})();const Cm=["cofirmationModal"],ym=["jobseekerRejectModal"],wm=["scheduleInterviewModal"],xm=["jsHiredcofirmationModal"],Fm=["jobCofirmationModal"],Rm=["add_jobseeker_rate_modal"],Dm=["resume_show"],Em=["visa_proof_show"],Im=["showDocsModal"],Tm=["videoElement"],Gm=(n,a)=>({from:n,to:a});function Mm(n,a){if(1&n&&(e.j41(0,"div",69),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,e.l_i(3,Gm,t.from,t.to))," ")}}function Sm(n,a){if(1&n&&(e.j41(0,"div",67)(1,"div",32),e.EFF(2),e.k0s(),e.DNE(3,Mm,3,6,"div",68),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.R7$(2),e.SpI(" ",o.availabilityMap[t.opt]," "),e.R7$(),e.Y8G("ngIf",o.isValidRange(t))}}function Om(n,a){if(1&n&&(e.qex(0),e.DNE(1,Sm,4,2,"div",66),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(),e.Y8G("ngIf",!(null!=o.jobseekerData&&o.jobseekerData.hired_start_date)&&o.availabilityMap[null==t?null:t.opt])}}function $m(n,a){if(1&n&&(e.j41(0,"div",31)(1,"div",32),e.EFF(2,"IN PROJECT"),e.k0s(),e.j41(3,"div",33),e.EFF(4),e.nI1(5,"date"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(4),e.SpI(" ",e.brH(5,1,null==t.jobseekerData?null:t.jobseekerData.hired_end_date,"MMM d, y","UTC")," ")}}function Pm(n,a){if(1&n&&(e.j41(0,"div",29)(1,"i",30),e.EFF(2,"work_outline"),e.k0s(),e.j41(3,"div",63),e.DNE(4,Om,2,1,"ng-container",64)(5,$m,6,5,"div",65),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.avaliability_opt_range),e.R7$(),e.Y8G("ngIf",3===(null==t.jobseekerData?null:t.jobseekerData.avaliability)&&(null==t.jobseekerData?null:t.jobseekerData.hired_end_date))}}function Nm(n,a){if(1&n&&(e.j41(0,"a",71),e.nrm(1,"img",72),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("href",null==t.jobseekerData?null:t.jobseekerData.twitter,e.B4B)}}function Ym(n,a){if(1&n&&(e.j41(0,"a",71),e.nrm(1,"img",73),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("href",null==t.jobseekerData?null:t.jobseekerData.facebook,e.B4B)}}function Vm(n,a){if(1&n&&(e.j41(0,"a",71),e.nrm(1,"img",74),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("href",null==t.jobseekerData?null:t.jobseekerData.linkedin,e.B4B)}}function Jm(n,a){if(1&n&&(e.j41(0,"div",29)(1,"i",30),e.EFF(2,"tag"),e.k0s(),e.j41(3,"div",31)(4,"div",32),e.EFF(5,"SOCIAL MEDIA"),e.k0s(),e.j41(6,"div",33),e.DNE(7,Nm,2,1,"a",70)(8,Ym,2,1,"a",70)(9,Vm,2,1,"a",70),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(7),e.Y8G("ngIf",null==t.jobseekerData?null:t.jobseekerData.twitter),e.R7$(),e.Y8G("ngIf",null==t.jobseekerData?null:t.jobseekerData.facebook),e.R7$(),e.Y8G("ngIf",null==t.jobseekerData?null:t.jobseekerData.linkedin)}}function Xm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",75),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.changeJsStatus("schedule",2))}),e.EFF(1," Schedule Candidate "),e.k0s()}}function Am(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",76),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.changeJsStatus("hire",3))}),e.EFF(1," Hire Candidate "),e.k0s()}}function Bm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",77),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.changeJsStatus("re-schedule",2))}),e.EFF(1," Re-Schedule Candidate "),e.k0s()}}function qm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",78),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.changeJsStatus("shortlist",1))}),e.EFF(1," Shortlist Candidate "),e.k0s()}}function Lm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",79),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.changeJsStatus("reject",4))}),e.EFF(1," Reject Candidate "),e.k0s()}}function Hm(n,a){1&n&&(e.j41(0,"div",80),e.EFF(1," Not Selected "),e.k0s())}function Um(n,a){1&n&&(e.j41(0,"div",81),e.EFF(1," Hired "),e.k0s())}function zm(n,a){if(1&n&&(e.j41(0,"div",82),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t," ")}}function Qm(n,a){1&n&&e.nrm(0,"img",97)}function Wm(n,a){1&n&&e.nrm(0,"img",98)}function Zm(n,a){1&n&&e.nrm(0,"img",99)}function Km(n,a){1&n&&e.nrm(0,"img",100)}function e1(n,a){1&n&&e.nrm(0,"img",101)}function t1(n,a){1&n&&e.nrm(0,"img",102)}function n1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",83),e.bIt("click",function(i){const l=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.openPdfViwer("view_doc",l,i))}),e.j41(1,"div",84),e.DNE(2,Qm,1,0,"img",85)(3,Wm,1,0,"img",86)(4,Zm,1,0,"img",87)(5,Km,1,0,"img",88)(6,e1,1,0,"img",89)(7,t1,1,0,"img",90),e.k0s(),e.j41(8,"div",91)(9,"div",92)(10,"h6",93),e.EFF(11),e.k0s(),e.j41(12,"p",94),e.EFF(13),e.k0s()(),e.j41(14,"a",95),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(2).downloadFile(l),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(15,"i",96),e.EFF(16,"download"),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(2),e.Y8G("ngIf","svg"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","docx"==(null==t?null:t.extension)||"doc"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","jpg"==(null==t?null:t.extension)||"jpeg"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","pdf"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","png"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","Video url"==(null==t?null:t.display_name)||1==(null==t?null:t.document_type)),e.R7$(4),e.SpI(" ","Video url"===(null==t?null:t.display_name)?"Link":null==t?null:t.display_name," "),e.R7$(2),e.JRh(null==t?null:t.file_size)}}function i1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",104)(1,"button",105),e.nrm(2,"img",106),e.j41(3,"div",107)(4,"span",108),e.EFF(5," play_circle "),e.k0s()()(),e.j41(6,"div",109)(7,"h6",110),e.EFF(8),e.k0s(),e.j41(9,"div",55)(10,"a",111),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.redirectVideoInterview(i))}),e.EFF(11," Full Interview "),e.k0s(),e.j41(12,"a",112),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(3),s=e.sdS(15);return e.Njj(l.openCondencedModal(s,"medium",i))}
1),e.EFF(13," Condensed Interview "),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(8),e.SpI(" ",null==t?null:t.job_title," ")}}function o1(n,a){if(1&n&&(e.j41(0,"div",48)(1,"div",49)(2,"i",50),e.EFF(3," video_camera_front "),e.k0s(),e.EFF(4," Submitted Interviews "),e.k0s(),e.j41(5,"div",51)(6,"div",52),e.DNE(7,i1,14,1,"div",103),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(7),e.Y8G("ngForOf",t.showVideoDetails)("ngForTrackBy",t.trackByVideoData)}}function l1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"div",17)(2,"aside",18)(3,"div",19)(4,"div",20),e.nrm(5,"img",21),e.k0s(),e.j41(6,"div",22),e.nrm(7,"img",23),e.k0s(),e.j41(8,"div",24)(9,"h3",25),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"titlecase"),e.k0s(),e.j41(13,"a",26),e.EFF(14),e.k0s()()(),e.j41(15,"div",27)(16,"div",28)(17,"div",29)(18,"i",30),e.EFF(19,"smartphone"),e.k0s(),e.j41(20,"div",31)(21,"div",32),e.EFF(22,"Phone"),e.k0s(),e.j41(23,"div",33)(24,"a",34),e.EFF(25),e.k0s()()()(),e.j41(26,"div",29)(27,"i",30),e.EFF(28,"public"),e.k0s(),e.j41(29,"div",31)(30,"div",32),e.EFF(31,"Location"),e.k0s(),e.j41(32,"div",33),e.EFF(33),e.k0s()()(),e.DNE(34,Pm,6,2,"div",35)(35,Jm,10,3,"div",35),e.k0s()(),e.j41(36,"div",36)(37,"div",37)(38,"div",38),e.DNE(39,Xm,2,0,"button",39)(40,Am,2,0,"button",40)(41,Bm,2,0,"button",41)(42,qm,2,0,"button",42)(43,Lm,2,0,"button",43)(44,Hm,2,0,"div",44)(45,Um,2,0,"div",45),e.k0s()()()(),e.j41(46,"div",46)(47,"h1",47),e.EFF(48,"Jobseeker's Profile"),e.k0s(),e.j41(49,"div")(50,"div",48)(51,"div",49)(52,"i",50),e.EFF(53," feedback "),e.k0s(),e.EFF(54," ABOUT "),e.k0s(),e.j41(55,"div",51)(56,"p"),e.EFF(57),e.k0s()()(),e.j41(58,"div",48)(59,"div",49)(60,"i",50),e.EFF(61," psychology "),e.k0s(),e.EFF(62," Key Skills "),e.k0s(),e.j41(63,"div",51)(64,"div",52),e.DNE(65,zm,2,1,"div",53),e.k0s()()(),e.j41(66,"div",48)(67,"div",49)(68,"i",50),e.EFF(69,"link"),e.k0s(),e.EFF(70," Profile Link "),e.k0s(),e.j41(71,"div",51)(72,"div",54)(73,"div",55)(74,"a",56),e.EFF(75),e.k0s(),e.j41(76,"div",57)(77,"i",58),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.shareJobseekerLink))}),e.EFF(78,"content_copy"),e.k0s()()()()()(),e.j41(79,"div",48)(80,"div",49)(81,"i",50),e.EFF(82," description "),e.k0s(),e.EFF(83," Documents "),e.k0s(),e.j41(84,"div",51)(85,"div",59),e.DNE(86,n1,17,8,"div",60),e.k0s()()(),e.DNE(87,o1,8,2,"div",61),e.k0s()(),e.j41(88,"div",62),e.nrm(89,"app-loading-spinner",14),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(7),e.Y8G("src",t.isAnonymous?null==t.jobseekerData?null:t.jobseekerData.anonymous_profile:null==t.jobseekerData?null:t.jobseekerData.profile,e.B4B),e.R7$(3),e.Lme(" ",e.bMT(11,26,null==t.jobseekerData?null:t.jobseekerData.first_name)," ",e.bMT(12,28,null==t.jobseekerData?null:t.jobseekerData.last_name)," "),e.R7$(3),e.Mz_("href","mailTo:",null==t.jobseekerData?null:t.jobseekerData.email,"",e.B4B),e.R7$(),e.JRh(null==t.jobseekerData?null:t.jobseekerData.email),e.R7$(10),e.Mz_("href","tel:",(null==t.jobseekerData?null:t.jobseekerData.phone_code)+""+(null==t.jobseekerData?null:t.jobseekerData.phone),"",e.B4B),e.R7$(),e.JRh((null==t.jobseekerData?null:t.jobseekerData.phone_code)+" "+(null==t.jobseekerData?null:t.jobseekerData.phone)),e.R7$(8),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.current_location," "),e.R7$(),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.avaliability_opt_range?null:t.jobseekerData.avaliability_opt_range.length)||3===(null==t.jobseekerData?null:t.jobseekerData.avaliability)),e.R7$(),e.Y8G("ngIf",!t.isAnonymous&&((null==t.jobseekerData?null:t.jobseekerData.linkedin)||(null==t.jobseekerData?null:t.jobseekerData.facebook)||(null==t.jobseekerData?null:t.jobseekerData.twitter))),e.R7$(4),e.Y8G("ngIf",1==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(),e.Y8G("ngIf",2==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(),e.Y8G("ngIf",2==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(),e.Y8G("ngIf",5==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(),e.Y8G("ngIf",5==(null==t.jsAvailable?null:t.jsAvailable.status)||1==(null==t.jsAvailable?null:t.jsAvailable.status)||2==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(),e.Y8G("ngIf",4==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(),e.Y8G("ngIf",3==(null==t.jsAvailable?null:t.jsAvailable.status)),e.R7$(12),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.overview," "),e.R7$(8),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.skill_name),e.R7$(9),e.FS9("href",t.shareJobseekerLink,e.B4B),e.R7$(),e.JRh(t.shareJobseekerLink),e.R7$(11),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.documents),e.R7$(),e.Y8G("ngIf",t.showVideoDetails&&t.showVideoDetails.length>0),e.R7$(2),e.Y8G("loading",t.globals.loading)}}function a1(n,a){if(1&n&&(e.nrm(0,"iframe",121),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src),e.f$h)}}function s1(n,a){if(1&n&&e.nrm(0,"img",122),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function r1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",114),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",115),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",30),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(7,"div",117)(8,"div",118),e.DNE(9,a1,2,3,"iframe",119)(10,s1,1,1,"img",120),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(9),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function c1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2),e.k0s(),e.j41(3,"button",124),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",125)(5,"button",126),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmSelect())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function _1(n,a){if(1&n&&(e.j41(0,"h5",139),e.EFF(1," Schedule Interview for "),e.j41(2,"span",140),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.job_title,"")}}function d1(n,a){if(1&n&&(e.j41(0,"div",141),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.dateTimeError," ")}}function p1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2,"Schedule Interview"),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}
1),e.k0s()(),e.j41(4,"div",128),e.DNE(5,_1,4,1,"h5",129),e.j41(6,"div",130)(7,"ng-select",131),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.selected_client_persons,i)||(l.selected_client_persons=i),e.Njj(i)}),e.k0s()(),e.j41(8,"div",132)(9,"input",133),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateTime,i)||(l.dateTime=i),e.Njj(i)}),e.bIt("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.onDateTimeChange(i))}),e.k0s(),e.nrm(10,"owl-date-time",134,12),e.DNE(12,d1,2,1,"div",135),e.k0s()(),e.j41(13,"div",136)(14,"div",55)(15,"button",137),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(16," Cancel "),e.k0s(),e.j41(17,"button",138),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add_js_interview())}),e.EFF(18," Set Interview "),e.k0s()()()}if(2&n){const t=e.sdS(11),o=e.XpG();e.R7$(5),e.Y8G("ngIf",o.job_title),e.R7$(2),e.Y8G("items",o.client_persons)("closeOnSelect",!1)("hideSelected",!0),e.R50("ngModel",o.selected_client_persons),e.Y8G("multiple",!0),e.R7$(2),e.R50("ngModel",o.dateTime),e.Y8G("min",o.todayDate)("owlDateTime",t)("owlDateTimeTrigger",t),e.R7$(),e.Y8G("stepMinute",30)("hour12Timer",!0),e.R7$(2),e.Y8G("ngIf",o.dateTimeError),e.R7$(5),e.Y8G("disabled",o.dateTimeError)}}function u1(n,a){if(1&n&&(e.nrm(0,"iframe",121),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src),e.f$h)}}function m1(n,a){if(1&n&&e.nrm(0,"img",122),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function g1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",114),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",142),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",30),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",117)(8,"div",118),e.DNE(9,u1,2,3,"iframe",119)(10,m1,1,1,"img",120),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function b1(n,a){if(1&n&&(e.nrm(0,"iframe",121),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.visa_proof_src),e.f$h)}}function f1(n,a){if(1&n&&e.nrm(0,"img",122),2&n){const t=e.XpG(2);e.FS9("src",t.visa_proof_src,e.B4B)}}function h1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",114),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",142),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.visa_proof_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",30),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",117)(8,"div",118),e.DNE(9,b1,2,3,"iframe",119)(10,f1,1,1,"img",120),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.visa_proof_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function v1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",114),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",142),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",30),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",117),e.nrm(8,"ngx-doc-viewer",143),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(5),e.Y8G("url",t.resume_src)}}function k1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",144),e.EFF(2,"Condensed Interview"),e.k0s(),e.j41(3,"button",116),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",145)(5,"video",146,13),e.nrm(7,"source",147),e.k0s()(),e.j41(8,"div",136)(9,"button",148),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.gotoFullScreen())}),e.EFF(10," Go To Full Interview "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(7),e.Y8G("src",null==t.prevVideoCheck?null:t.prevVideoCheck.videoCheck,e.B4B)}}function j1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2,"Full Interview"),e.k0s(),e.j41(3,"button",124),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",128)(5,"section",149)(6,"div",150)(7,"div",151),e.qex(8),e.j41(9,"div",152)(10,"div")(11,"div",153)(12,"div",154)(13,"h2",155)(14,"button",156)(15,"div",55)(16,"span",157),e.EFF(17," keyboard_arrow_down "),e.k0s(),e.j41(18,"div",158)(19,"h6",159),e.EFF(20,"UI/UX Designer"),e.k0s()()()()(),e.j41(21,"div",160)(22,"div",161)(23,"ul",162)(24,"li",163)(25,"div",164),e.EFF(26,"1."),e.k0s(),e.j41(27,"div",165)(28,"div",166),e.EFF(29,"What is UX design?"),e.k0s(),e.j41(30,"div",167),e.EFF(31," Answer Length: 85 second "),e.k0s()()(),e.j41(32,"li",163)(33,"div",164),e.EFF(34,"2."),e.k0s(),e.j41(35,"div",165)(36,"div",166),e.EFF(37,"What is UX design?"),e.k0s(),e.j41(38,"div",167),e.EFF(39," Answer Length: 85 second "),e.k0s()()(),e.j41(40,"li",163)(41,"div",164),e.EFF(42,"3."),e.k0s(),e.j41(43,"div",165)(44,"div",166),e.EFF(45,"What is UX design?"),e.k0s(),e.j41(46,"div",167),e.EFF(47," Answer Length: 85 second "),e.k0s()()()()()()()()()(),e.j41(48,"div",168)(49,"button",169),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(50," Back "),e.k0s()(),e.bVm(),e.k0s(),e.j41(51,"div",170)(52,"video",171,13),e.nrm(54,"source",172),e.k0s()()()()()}2&n&&(e.R7$(11),e.Y8G("closeOthers",!0)("activeIds","submitted-qn-1"))}function C1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2),e.k0s(),e.j41(3,"button",124),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",125)(5,"button",126),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmShortlisted())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function y1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2),e.k0s(),e.j41(3,"button",124),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",125)(5,"button",126),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.rejectJobseeker())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function w1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2),e.k0s(),e.j41(3,"button",124),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",125)(5,"button",126),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",127),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmHired())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function x1(n,a){1&n&&(e.j41(0,"div",181),e.EFF(1," Rate is required. "),e.k0s())}function F1(n,a){1&n&&(e.j41(0,"div",181),e.EFF(1," Enter numeric value "),e.k0s())}function R1(n,a){if(1&n&&(e.j41(0,"div",179),e.DNE(1,x1,2,0,"div",180)(2,F1,2,0,"div",180),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.required),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.pattern)}}function D1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"h3",123),e.EFF(2,"Add Rate "),e.k0s(),e.j41(3,"button",173),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"form",174)(5,"div",128)(6,"div",175),e.nrm(7,"input",176),e.k0s(),e.DNE(8,R1,3,2,"div",177),e.k0s(),e.j41(9,"div",178)(10,"button",126),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(11," Cancel "),e.k0s(),e.j41(12,"button",138),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.set_jobseeker_final_rate())}),e.EFF(13," Submit "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("formGroup",t.js_rate_form),e.R7$(3),e.Y8G("placeholder","Enter Jobseeker Rate ("+t.currencySymbol+")"),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.invali
1d&&(t.js_rate_form.controls.jobseeker_rate.dirty||t.js_rate_form.controls.jobseeker_rate.touched)),e.R7$(4),e.Y8G("disabled",t.js_rate_form.invalid)}}let E1=(()=>{class n{globals;modalService;activateRoute;clientService;errorHandler;toastr;NotificationService;router;changeDetector;GlobalServiceService;fb;http;navigationService;route;currencyService;countryLocalizeService;jobseeker_data;clientDetails;checkValue;resume_src;jsAvailable;js_rate_form;displayData=!1;jobseekerId;jobId;applyId;jobseekerData;applied_job_id;isAnonymous=!1;closeResult="";document_type_array=["doc","docx","pdf"];visa_proof_src="";docExtension;jobList;job_title;selected_jobID;client_persons=[];selected_client_persons=[];dateFormat="";timeFormat1="";timeFormat2="";today;todayDate=new Date;dateTime;dateTimeError=null;swal;selected_jobseeker=null;selected_avail_date=null;login_user=[];showVideoDetails=[];prevVideoCheck;statusInText="";shareJobseekerLink="";country="";status;cofirmationModal;jobseekerRejectModal;scheduleInterviewModal;jsHiredcofirmationModal;jobCofirmationModal;add_jobseeker_rate_modal;resume_show;visa_proof_show;showDocsModal;videoElement;availabilityMap={1:"FULL TIME",2:"PART TIME",3:"REMOTE",5:"CONTRACT"};constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T,P){this.globals=t,this.modalService=o,this.activateRoute=i,this.clientService=l,this.errorHandler=s,this.toastr=_,this.NotificationService=p,this.router=u,this.changeDetector=b,this.GlobalServiceService=f,this.fb=C,this.http=w,this.navigationService=I,this.route=X,this.currencyService=T,this.countryLocalizeService=P,this.country=this.countryLocalizeService.getCountryCode()}get currencySymbol(){return this.currencyService.getCurrencySymbol()}walk(){console.log("walk 2 steps")}ngOnInit(){this.jobseekerId=this.activateRoute.snapshot.paramMap.get("candidate_id"),this.jobId=this.activateRoute.snapshot.paramMap.get("job_id"),this.todayDate=this.roundToNextInterval(new Date,30),console.log(this.jobseekerId),console.log(this.jobId),this.activateRoute.queryParamMap.subscribe(t=>{t.params.application&&(this.applyId=atob(t.params.application),this.applyId)&&this.clientService.job_application_detail({application_id:this.applyId}).subscribe(i=>{1==i.ResponseCode&&(this.applied_job_id=i.ResponseData.application_detail.job_id,console.log("xyz",i.ResponseData),this.job_title=i.ResponseData.application_detail.job_title)}),1==t.params.anonymous&&(this.isAnonymous=!0)}),this.js_rate_form=this.fb.group({jobseeker_rate:["",[g.k0.required,g.k0.pattern(/^-?(0|[1-9]\d*)?$/)]],jobseeker_id:["",g.k0.required]}),this.getJobseekerDetail(),this.jobpost_list(),this.get_client_person(),this.login_user=JSON.parse(localStorage.getItem("CR_PREF"))}roundToNextInterval(t,o){const i=new Date(t),l=60*o*1e3;return i.setTime(Math.ceil(i.getTime()/l)*l),i}onDateTimeChange(t){this.dateTimeError=null;const o=void 0!==t?t:this.dateTime;if(null==o)return;const i=new Date("object"==typeof o&&o instanceof Date&&o.getTime?o.getTime():new Date(o).getTime());if(isNaN(i.getTime()))return;const l=this.roundToNextInterval(i,30);this.dateTime=l,l.getTime()<this.todayDate.getTime()&&(this.dateTimeError="Please select a date and time in the future."),this.changeDetector.detectChanges()}gotoFullScreen(){if(this.modalService.dismissAll(),this.showVideoDetails&&this.showVideoDetails.length>0&&this.showVideoDetails[0]){const t=this.showVideoDetails[0].skill_id.pop(),o=this.showVideoDetails[0].skill_id.join(",")+","+t;this.navigationService.navigate(`client/preview-interview/${this.jobseekerId}`,this.route,{queryParams:{skill_id:o,job_id:this.showVideoDetails[0].job_id}})}else console.warn("No video details available for full screen view")}getJobseekerDetail(){let t={jobseeker_id:this.jobseekerId};this.globals.loading=!0,this.clientService.get_candidate_profile(t).subscribe(o=>{this.globals.loading=!1,this.displayData=!0,this.jobseekerData=o.ResponseData||{},this.jobseekerData.is_hired=!1,this.jobseekerData.is_scheduled=!1,this.jobseekerData.unique_user_name&&(this.shareJobseekerLink=this.navigationService.redirectUrl()+"/shared/"+this.jobseekerData.unique_user_name),this.showVideoDetail(),this.jobseekerData.jobpost_apply&&Array.isArray(this.jobseekerData.jobpost_apply)&&this.jobseekerData.jobpost_apply.forEac
1h(i=>{i&&i.job_id==this.jobId&&(console.log("fff",i),this.jsAvailable=i)}),this.jobseekerData.schedule_interview&&Array.isArray(this.jobseekerData.schedule_interview)&&this.jobseekerData.schedule_interview.forEach(i=>{i&&3==i.status&&(this.jobseekerData.is_hired=!0),i&&2==i.status&&(this.jobseekerData.is_scheduled=!0)})})}showVideoDetail(){this.clientService.getVideoDetails({jobseeker_id:this.jobseekerId}).subscribe(o=>{this.globals.loading=!1,console.log("gg",o),this.showVideoDetails=o.ResponseData||[]},o=>{this.globals.loading=!1,this.errorHandler.handleError(o),this.showVideoDetails=[]})}trackByVideoData(t,o){return o&&o.job_id||t}open(t,o,i){this.modalService.open(t,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:`cr-custom-modal modal-${i}`}).result.then(l=>{this.closeResult=`Closed with: ${l}`}),this.get_client_list(o)}get_client_list(t){}add_js_interview(){this.dateTimeError||(null!=this.dateTime?(this.dateFormat=R()(this.dateTime).format("YYYY-MM-DD"),this.timeFormat1=R()(this.dateTime).format("hh:mm A"),this.timeFormat2=R()(this.dateTime).format("hh:mm A")):(this.timeFormat1="",this.timeFormat2="",this.dateFormat=""),null==this.jsAvailable.job_id?this.toastr.error("Please, Select jobpost"):""===this.timeFormat1&&""===this.timeFormat2&&""===this.dateFormat?this.toastr.error("Please, Select interview Datetime"):this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"}))}openCondencedModal(t,o,i){var l=this;return(0,j.A)(function*(){l.prevVideoCheck=i,yield l.modalService.open(t,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"})})()}confirmSelect(){this.globals.loading=!0;const t={jobseeker_id:this.jobseekerId,job_id:this.jsAvailable.job_id,client_persons:this.selected_client_persons,interview_date:this.dateFormat,interview_from:this.timeFormat1,interview_to:this.timeFormat2};console.log(t),this.applyId&&(t.applied_id=this.jsAvailable.id),this.clientService.set_interview_schedule(t).subscribe(o=>{if(this.globals.loading=!1,1==o.ResponseCode){this.toastr.success(o.ResponseText),this.modalService.dismissAll(),this.getJobseekerDetail();let i={type:"scheduled",notification:{notification_type:"edit_jobpost",jobseeker_id:o.ResponseData.jobseeker_id,jobseeker_name:o.ResponseData.jobseeker_name,client_name:o.ResponseData.client_name,job_id:o.ResponseData.job_id,slug:o.ResponseData.slug,sender_type:o.ResponseData.user_type,client_id:o.ResponseData.client_id,client_user_id:o.ResponseData.client_user_id,cp_id:o.ResponseData.cp_id,cp_user_id:o.ResponseData.cp_user_id,job_title:o.ResponseData.job_title,company_name:o.ResponseData.company_name,company_url:o.ResponseData.company_url,status_in_text:o.ResponseData.status_in_text,scheduled_on:R()(this.selected_avail_date).format("MMM DD, YYYY"),datetime:o.ResponseData.datetime.date,country:1===o.ResponseData.is_c_offshore?"in":this.country,is_offshore:1===o.ResponseData.is_c_offshore}};console.log("notif",i),this.NotificationService.sendNotification(i),i.type="scheduled_jobseeker",this.NotificationService.sendNotification(i)}else this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}modalClose(){this.timeFormat1="",this.timeFormat2="",this.dateFormat="",this.dateTime=null,this.dateTimeError=null,this.selected_client_persons=[],this.selected_jobID=null,this.selected_jobseeker=null,this.selected_avail_date=null,this.modalService.dismissAll()}openPdfViwer(t,o,i){console.log(o),"view_doc"==t&&(1==o.document_type?(window.open(o.document_url,"_blank").focus(),console.log("a")):"docx"==o.extension||"doc"==o.extension?(this.resume_src=o.document_url,this.modalService.open(this.showDocsModal,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"})):-1!=this.document_type_array.indexOf(o.extension)?(this.modalService.open(this.resume_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.document_url,console.log("b")):(this.visa_proof_src=o.document_url,this.modalService.open(this.visa_proof_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.document_url,console.log("c")))}
1jobpost_list(){this.clientService.jobpost_list().subscribe(t=>{1==t.ResponseCode&&(this.jobList=t.ResponseData.jobposts,console.log("joblist",this.jobList))},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}get_js_availability(t,o){this.selected_jobseeker=t,this.selected_jobID=this.jobId,this.globals.loading=!1,this.dateTimeError=null,this.onDateTimeChange(),this.modalService.open(o,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})}get_client_person(){this.clientService.get_client_person().subscribe(t=>{console.log("cliPerson",t),1==t.ResponseCode&&0!=t.ResponseData.length&&t.ResponseData.forEach(o=>{this.client_persons.push({id:o.id,name:o.name})})},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}setDate(t,o){console.log("app",o),new Date(o),o.toLocaleString("en-us",{weekday:"long"}),R()(o).format("YYYY-MM-DD hh:mm A");let _=R()(o).format("YYYY-MM-DD"),p=R()(o).format("hh:mm A"),u=R()(o).format("hh:mm A");this.dateFormat=_,this.timeFormat1=p,this.timeFormat2=u}onClientSubmit(){}download(t){const o=t.split("/").pop()||"resume.pdf";this.http.get(t,{responseType:"blob"}).subscribe({next:i=>{const l=window.URL.createObjectURL(i),s=document.createElement("a");s.href=l,s.download=o,document.body.appendChild(s),s.click(),s.remove(),window.URL.revokeObjectURL(l)},error:i=>{console.error("Download failed:",i)}})}contentLoaded(){document.getElementById("progressBar1").style.display="none"}changeJsStatus(t,o){this.status=o,"shortlist"==t&&(this.statusInText="shortlist",this.modalService.open(this.jobCofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"})),("schedule"==t||"re-schedule"==t)&&(this.statusInText="re-schedule"==t?"Re-schedule interview":"schedule interview",this.dateTimeError=null,this.onDateTimeChange(),this.modalService.open(this.scheduleInterviewModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"})),"hire"==t&&(this.statusInText="hired",this.js_rate_form.get("jobseeker_id").setValue(this.jobseekerId),this.modalService.open(this.add_jobseeker_rate_modal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"})),"reject"==t&&(this.statusInText="reject",this.modalService.open(this.jobseekerRejectModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"}))}set_jobseeker_final_rate(){let t=this.js_rate_form.value;this.globals.loading=!0,this.clientService.set_jobseeker_final_rate(t).subscribe(o=>{this.globals.loading=!1,1==o.ResponseCode?(this.modalService.dismissAll(),this.modalService.open(this.jsHiredcofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"})):this.toastr.error(o.ResponseText)},o=>{this.globals.loading=!1,this.errorHandler.handleError(o)})}rejectJobseeker(){var t=this;let o=JSON.parse(localStorage.getItem("CR_PREF"));console.log(o);let i=this.jobseekerData,l={status:this.status,apply_id:this.jsAvailable.id};this.globals.loading=!0,this.clientService.change_candidate_status(l).subscribe(function(){var s=(0,j.A)(function*(_){if(t.globals.loading=!1,1==_.ResponseCode){t.toastr.success(_.ResponseText),t.getJobseekerDetail(),t.modalClose();let p=null;4==t.status&&(p={type:"shortlisted",notification:{datetime:_.ResponseData.datetime.date,jobseeker_name:i.first_name+" "+i.last_name,jobseeker_id:t.jobseekerId,company_name:o.name,company_url:o.company_url,job_id:t.jsAvailable.job_id,slug:i.slug,job_title:t.jsAvailable.job_title,sender_type:_.ResponseData.user_type,client_id:_.ResponseData.client_id,client_user_id:_.ResponseData.client_user_id,cp_id:_.ResponseData.cp_id,cp_user_id:_.ResponseData.cp_user_id,apply_id:t.jsAvailable.id,anonymous_js_name:i.anonymous_name,is_anonymous:i.anonymous,country:1===t.jsAvailable.is_c_offshore?"in":t.country,is_offshore:1===t.jsAvailable.is_c_offshore}},console.log("notif",p),t.NotificationService.sendNotification(p))}else t.toastr.error(_.ResponseText);t.changeDetector.detectChanges(),t.GlobalServiceService.responsiveTable()});return function(_){return s.apply(this,arguments)}}(),s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}confirmShortlisted(){var t=this;console.log(this.jsAvailable.id),console.log(this.jobseekerData),console.log(this.statusInText),console.log(this.status);let o=JSON.parse(localStorage.getItem("CR_PREF"));console.log(o);let i=this.jobseekerData,l={status:this.status,apply_id:this.jsAvailable.id};this.globals.loading=!0,this.clientService.change_candidate_status(l).subscribe(function(){var s=(0,j.A)(function*(_){if(t.globals.loading=!1,1==_.ResponseCode){t.toastr.success(_.ResponseText),t.getJobseekerDetail(),t.modalClose();let p=null;
11==t.status&&(p={type:"shortlisted",notification:{datetime:_.ResponseData.datetime.date,jobseeker_name:i.first_name+" "+i.last_name,jobseeker_id:t.jobseekerId,company_name:o.name,company_url:o.company_url,job_id:t.jsAvailable.job_id,slug:i.slug,job_title:t.jsAvailable.job_title,sender_type:_.ResponseData.user_type,client_id:_.ResponseData.client_id,client_user_id:_.ResponseData.client_user_id,cp_id:_.ResponseData.cp_id,cp_user_id:_.ResponseData.cp_user_id,apply_id:t.jsAvailable.id,anonymous_js_name:i.anonymous_name,is_anonymous:i.anonymous,country:1===t.jsAvailable.is_c_offshore?"in":t.country,is_offshore:1===t.jsAvailable.is_c_offshore}},console.log("notif",p),t.NotificationService.sendNotification(p))}else t.toastr.error(_.ResponseText);t.changeDetector.detectChanges(),t.GlobalServiceService.responsiveTable()});return function(_){return s.apply(this,arguments)}}(),s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}confirmHired(){var t=this;console.log(this.jsAvailable.id),console.log(this.jobseekerData),console.log(this.statusInText),console.log(this.status);let o=JSON.parse(localStorage.getItem("CR_PREF"));console.log(o);let i=this.jobseekerData,l={status:this.status,apply_id:this.jsAvailable.id};this.globals.loading=!0,this.clientService.change_candidate_status(l).subscribe(function(){var s=(0,j.A)(function*(_){if(t.globals.loading=!1,1==_.ResponseCode){t.toastr.success(_.ResponseText),t.getJobseekerDetail(),t.modalClose();let p=null;3==t.status&&(p={type:"hired",notification:{datetime:_.ResponseData.datetime.date,jobseeker_name:i.first_name+" "+i.last_name,jobseeker_id:t.jobseekerId,company_name:o.name,company_url:o.company_url,job_id:t.jsAvailable.job_id,slug:i.slug,job_title:t.jsAvailable.job_title,sender_type:_.ResponseData.user_type,client_id:_.ResponseData.client_id,client_user_id:_.ResponseData.client_user_id,cp_id:_.ResponseData.cp_id,cp_user_id:_.ResponseData.cp_user_id,apply_id:t.jsAvailable.id,anonymous_js_name:i.anonymous_name,is_anonymous:i.anonymous,country:1===t.jsAvailable.is_c_offshore?"in":t.country,is_offshore:1===t.jsAvailable.is_c_offshore}},console.log("notif",p),t.NotificationService.sendNotification(p))}else t.toastr.error(_.ResponseText);t.changeDetector.detectChanges(),t.GlobalServiceService.responsiveTable()});return function(_){return s.apply(this,arguments)}}(),s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}copyMessage(t){const o=document.createElement("textarea");o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.opacity="0",o.value=t,document.body.appendChild(o),o.focus(),o.select(),document.execCommand("copy"),document.body.removeChild(o)}downloadFile(t){"video url"!==t.display_name?.toLowerCase()&&"url"!==t.extension?this.http.get(t.document_url,{responseType:"blob"}).subscribe(o=>{const i=window.URL.createObjectURL(o),l=document.createElement("a");l.href=i,l.download=t.display_name||"download",l.click(),window.URL.revokeObjectURL(i)}):window.open(t.document_url,"_blank")}redirectVideoInterview(t){const o=t.skill_id.pop(),i=t.skill_id.join(",")+","+o;this.navigationService.navigate("client/preview-interview/"+this.jobseekerId,this.route,{queryParams:{skill_id:i,job_id:t.job_id}})}isValidRange(t){return null!=t?.from&&null!=t?.to&&"null"!==t?.from&&"null"!==t?.to}static \u0275fac=function(o){return new(o||n)(e.rXU(ie.E),e.rXU(v.Bq),e.rXU(E.nX),e.rXU(le.X),e.rXU(oe.c),e.rXU(S.tw),e.rXU(ve.J),e.rXU(E.Ix),e.rXU(e.gRc),e.rXU(Fe.m),e.rXU(g.ok),e.rXU(Pe.Qq),e.rXU(ae.o),e.rXU(E.nX),e.rXU(ee.P),e.rXU(B.z))};static \u0275cmp=e.VBU({type:n,selectors:[["app-jobseeker-profile"]],viewQuery:function(o,i){if(1&o&&(e.GBs(Cm,5),e.GBs(ym,5),e.GBs(wm,5),e.GBs(xm,5),e.GBs(Fm,5),e.GBs(Rm,5),e.GBs(Dm,5),e.GBs(Em,5),e.GBs(Im,5),e.GBs(Tm,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.cofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.jobseekerRejectModal=l.first),e.mGM(l=e.lsd())&&(i.scheduleInterviewModal=l.first),e.mGM(l=e.lsd())&&(i.jsHiredcofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.jobCofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.add_jobseeker_rate_modal=l.first),e.mGM(l=e.lsd())&&(i.resume_show=l.first),e.mGM(l=e.lsd())&&(i.visa_proof_show=l.first),e.mGM(l=e.lsd())&&(i.showDocsModal=l.first),e.mGM(l=e.lsd())&&(i.videoElement=l.first)}},standalone:!0,features:[e.aNF],decls:26,vars:2,consts:[["docPreviewModal",""],["cofirmationModal",""],["scheduleInterviewModal",""],["resume_show",""],["visa_proof_show",""],["showDocsModal",""],["vidPreviewModal",""],["fullInterviewModal",""],["jobCofirmationModal",""],["jobseekerRejectModal",""],["jsHiredcofirmationModal",""],["add_jobseeker_rate_modal",""],["dateTimePicker",""],["videoElement",""],[3,"loading"],["class","jobseeker-profile-page main-content-wrap",4,"ngIf"],[1,"jobseeker-profile-page","main-content-wrap"],[1,"j
1obseeker-profile-wrap"],[1,"profile-sidebar"],[1,"profile-side-header"],[1,"profile-cover"],["src","https://picsum.photos/seed/picsum/500/150","alt",""],[1,"jobseeker-def-img","round"],["alt","",1,"img-cover","round","img-inherit",3,"src"],[1,"text-center","px-3"],[1,"fw-600"],[1,"color-teal-blue","fw-400",3,"href"],[1,"profile-side-content"],[1,"profile-side-list"],[1,"profile-side-item"],[1,"material-icons-outlined"],[1,"side-item-inner"],[1,"sidebar-item-title"],[1,"sidebar-item-value"],[2,"color","#031d1f",3,"href"],["class","profile-side-item",4,"ngIf"],[1,"profile-side-footer"],[1,"row"],[1,"col-12"],["class","cr-btn cr-btn-blue w-100 cr-status status-pink","style","border: 2px solid var(--cr-pink); padding: 10px 25px",3,"click",4,"ngIf"],["class","cr-btn cr-btn-blue w-100 cr-status status-green","style","border: 2px solid var(--cr-teal-green); padding: 10px 25px",3,"click",4,"ngIf"],["class","cr-btn cr-btn-blue w-100 mt-3 cr-status status-pink","style","border: 2px solid var(--cr-pink); padding: 10px 25px",3,"click",4,"ngIf"],["class","cr-btn cr-btn-blue w-100 cr-status status-yellow","style","border: 2px solid #a364068a; padding: 10px 25px",3,"click",4,"ngIf"],["class","cr-btn cr-btn-blue w-100 mt-3 cr-status status-red","style","border: 2px solid var(--cr-red); padding: 10px 25px",3,"click",4,"ngIf"],["class","cr-status status-red w-100 d-flex justify-content-center align-items-center","style","padding: 12px 25px",4,"ngIf"],["class","cr-status status-green w-100 d-flex justify-content-center align-items-center","style","padding: 12px 25px",4,"ngIf"],[1,"profile-main"],[1,"profile-main-title","fw-600"],[1,"profile-sub-section"],[1,"profile-sub-title"],[1,"material-icons-outlined","mr-4"],[1,"profile-sub-content"],[1,"cr-skills-wrap"],["class","cr-skill",4,"ngFor","ngForOf"],[1,"mb-4"],[1,"d-flex","align-items-center"],["target","_blank",1,"cr-status","status-green","d-flex","align-items-center","link",3,"href"],[1,"d-flex","ml-3","cr-profile-sharing"],[1,"material-icons-outlined","mr-4","cursor-pointer",3,"click"],[1,"documents-grid"],["class","document-item",3,"click",4,"ngFor","ngForOf"],["class","profile-sub-section",4,"ngIf"],["id","progressBar"],[1,"w-100"],[4,"ngFor","ngForOf"],["class","side-item-inner",4,"ngIf"],["class","side-item-inner mb-3",4,"ngIf"],[1,"side-item-inner","mb-3"],["class","sidebar-item-value color-alice-blue",4,"ngIf"],[1,"sidebar-item-value","color-alice-blue"],["class","side-social",3,"href",4,"ngIf"],[1,"side-social",3,"href"],["src","assets/images/icons/twitter-round.svg","alt","Twitter"],["src","assets/images/icons/facebook-round.svg","alt","Facebook"],["src","assets/images/icons/linkedin-round.svg","alt","LinkedIn"],[1,"cr-btn","cr-btn-blue","w-100","cr-status","status-pink",2,"border","2px solid var(--cr-pink)","padding","10px 25px",3,"click"],[1,"cr-btn","cr-btn-blue","w-100","cr-status","status-green",2,"border","2px solid var(--cr-teal-green)","padding","10px 25px",3,"click"],[1,"cr-btn","cr-btn-blue","w-100","mt-3","cr-status","status-pink",2,"border","2px solid var(--cr-pink)","padding","10px 25px",3,"click"],[1,"cr-btn","cr-btn-blue","w-100","cr-status","status-yellow",2,"border","2px solid #a364068a","padding","10px 25px",3,"click"],[1,"cr-btn","cr-btn-blue","w-100","mt-3","cr-status","status-red",2,"border","2px solid var(--cr-red)","padding","10px 25px",3,"click"],[1,"cr-status","status-red","w-100","d-flex","justify-content-center","align-items-center",2,"padding","12px 25px"],[1,"cr-status","status-green","w-100","d-flex","justify-content-center","align-items-center",2,"padding","12px 25px"],[1,"cr-skill"],[1,"document-item",3,"click"],[1,"doctype-img","flex-shrink-0"],["src","assets/images/icons/doctype-svg.svg","alt","SVG Document","class","img-contain","style","width: 32px; height: 40px",4,"ngIf"],["src","assets/images/icons/doctype-docx.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-jpg.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-pdf.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-png.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-url.svg","alt","","class","img-contain",4,"ngIf"],[1,"docinfo-wrap"],[1,"docinfo"],[1,"small","fw-500","color-dark","clamp-1"],[1,"paragraph-sm","color-gray-3","mb-0"],["title","Download",1,"cr-btn-round","flex-shrink-0",3,"click"],[1,"material-icons-outlined","color-gray-3"],["src","assets/images/icons/doctype-svg.svg","alt","SVG Document",1,"img-contain",2,"width","32px","height","40px"],["src","assets/images/icons/doctype-docx.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-jpg.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-pdf.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-png.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-url.svg","alt","",1,"img-contain"],["class","interview-vid-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"interview-vid-item"],[1,"interview-vid-thumb"],["src","./../../../../assets/images/interview-vid-thumb.jpg","alt","interview 1",1,"img-cover"],[1,"interview-play-btn"],[1,"material-icons","color-pure-white"],[1,"interview-vid-content"],[1,"fw-500","mb-1",2,"font-weight","bold !important"],[1,"link","color-alice-blue","mr-3","cursor-pointer",3,"click"],["href","javascript:void(0)",1,"link","color-alice-blue","cursor-pointer",3,"click"],[1,"modal-header"],["id","document-preview-modal",1,"modal-title"],["href","javascript:void(0)",1,"cr-modal-head-button","ml-auto","mr-3",3,"click"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","p-4","pt-0","overflow-auto"],[1,"prev-wrap"],["width","100%","height","100%","style","height: 100%",3,"src",4,"ngIf"],["alt","document preview","class","img-contain img-fluid",3,"src",4,"ngIf"],["width","100%","height","100%",2,"height","100%",3,"src"],["alt","document preview",1,"img-contain","img-fluid",3,"src"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"],[1,"modal-body"],["class","fw-600 mb-5",4,"ngIf"],[1,"cr-input-wrap","mb
1-4"],["bindLabel","name","bindValue","id","placeholder","Team Member",1,"cr-select","ng-select","control-medium",3,"ngModelChange","items","closeOnSelect","hideSelected","ngModel","multiple"],[1,"cr-input-wrap"],["placeholder","Select date & time",1,"e-custom-datetimepicker","cr-form-control",3,"ngModelChange","ngModel","min","owlDateTime","owlDateTimeTrigger"],[3,"stepMinute","hour12Timer"],["class","text-danger mt-1 small",4,"ngIf"],[1,"modal-footer","p-4"],[1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click","disabled"],[1,"fw-600","mb-5"],[1,"color-alice-blue"],[1,"text-danger","mt-1","small"],[1,"cr-modal-head-button","ml-auto","mr-3",3,"click","href"],["viewer","google","googleCheckContentLoaded","true","googleCheckInterval","3000","googleMaxChecks","1",1,"doc-viewer",2,"width","100%","height","600px",3,"url"],["id","video-preview-modal",1,"modal-title"],[1,"modal-body","d-flex","justify-content-center","p-5"],["controls","","muted","","autoplay","",1,"condensed-interview-video"],[3,"src"],[1,"cr-btn","cr-btn-filled","cr-btn-blue","d-inline-block",3,"click"],[1,"video-interview-page"],[1,"interview-grid"],[1,"qn-panel"],[1,"qn-panel-body"],["ngbAccordion","",1,"sub-qn-acc",3,"closeOthers","activeIds"],["ngbAccordionItem","","id","submitted-qn-2"],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"custom-acc-head","sub-qn-head","w-100"],[1,"custom-acc-arrow","material-icons-outlined","mr-2"],[1,"submitted-qn-title"],[1,"mb-0"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"sub-qn-list"],[1,"h4"],[1,"sub-qn-num"],[1,"sub-qn-wrap"],[1,"sub-qn"],[1,"color-gray-3","paragraph-md"],[1,"d-flex","align-items-center","mt-auto","mr-auto"],[1,"cr-btn","cr-btn-blue","d-inline-block","mr-3",3,"click"],[1,"cam-container"],["controls","",1,"cam-video"],["src","","type","video/mp4"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],[3,"formGroup"],[1,"cr-input-wrap","mb-2"],["type","text","formControlName","jobseeker_rate",1,"cr-form-control","control-medium",3,"placeholder"],["class","error",4,"ngIf"],[1,"modal-footer"],[1,"error"],["class","text-danger",4,"ngIf"],[1,"text-danger"]],template:function(o,i){1&o&&(e.nrm(0,"app-loading-spinner",14),e.DNE(1,l1,90,30,"div",15)(2,r1,11,2,"ng-template",null,0,e.C5r)(4,c1,9,1,"ng-template",null,1,e.C5r)(6,p1,19,14,"ng-template",null,2,e.C5r)(8,g1,11,3,"ng-template",null,3,e.C5r)(10,h1,11,3,"ng-template",null,4,e.C5r)(12,v1,9,2,"ng-template",null,5,e.C5r)(14,k1,11,1,"ng-template",null,6,e.C5r)(16,j1,55,2,"ng-template",null,7,e.C5r)(18,C1,9,1,"ng-template",null,8,e.C5r)(20,y1,9,1,"ng-template",null,9,e.C5r)(22,w1,9,1,"ng-template",null,10,e.C5r)(24,D1,14,4,"ng-template",null,11,e.C5r)),2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(),e.Y8G("ngIf",i.displayData))},dependencies:[y.MD,y.Sq,y.bT,y.PV,y.vh,g.YN,g.qT,g.me,g.BC,g.cb,g.vS,g.X1,g.j4,g.JD,v.UN,v.WP,v.r6,v.tW,v.x7,v.UA,v.$R,v._f,N.MQ,N.vr,de.EE,de.$j,Ze,et,S._B,Ge.d,J.Yz,J.H$,J.BK,J.P_,J.Zb],styles:[".cr-skill[_ngcontent-%COMP%]{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}"]})}return n})();const I1=(n,a)=>({"col-sm-6":n,"col-sm-4":a});function T1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Job Title is required. "),e.k0s())}function G1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Job Title cannot contain only spaces. "),e.k0s())}function M1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,T1,2,0,"div",40)(2,G1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.ejobtitle||null==t.jobpostEditForm.controls.ejobtitle.errors?null:t.jobpostEditForm.controls.ejobtitle.errors.required),e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.ejobtitle||null==t.jobpostEditForm.controls.ejobtitle.errors?null:t.jobpostEditForm.controls.ejobtitle.errors.onlySpaces)}}function S1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Description is required. "),e.k0s())}function O1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Description cannot contain only spaces. "),e.k0s())}function $1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,S1,2,0,"div",40)(2,O1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.edesc||null==t.jobpostEditForm.controls.edesc.errors?null:t.jobpostEditForm.controls.edesc.errors.required),e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.edesc||null==t.jobpostEditForm.controls.edesc.errors?null:t.jobpostEditForm.controls.edesc.errors.onlySpaces)}}function P1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Employment Type is required. "),e.k0s())}function N1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,P1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eavail||null==t.jobpostEditForm.controls.eavail.errors?null:t.jobpostEditForm.controls.eavail.errors.required)}}function Y1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Min Rate is required. "),e.k0s())}function V1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,Y1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eminsalary||null==t.jobpostEditForm.controls.eminsalary.errors?null:t.jobpostEditForm.controls.eminsalary.errors.required)}}function J1(n,a){1&n&&(e.j41(0,"div",39),e.EFF(1," Must be Less than Max Rate. "),e.k0s())}function X1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Max Rate is required. "),e.k0s())}function A1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,X1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.emaxsalary||null==t.jobpostEditForm.controls.emaxsalary.errors?null:t.jobpostEditForm.controls.emaxsalary.errors.required)}}function B1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Total Positions is required. "),e.k0s())}function q1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,B1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.evacancy||null==t.jobpostEditForm.controls.evacancy.errors?null:t.jobpostEditForm.controls.evacancy.errors.required)}}function L1(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",41)(1,"div",42)(2,"input",43),e.bIt("change",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.changeOffshoreCheckbox(i))}),e.k0s(),e.j41(3,"label",44),e.EFF(4," Offshore "),e.k0s()()()}}function H1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Location is required. "),e.k0s())}function U1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Location cannot contain only spaces. "),e.k0s())}function z1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,H1,2,0,"div",40)(2,U1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eloc||null==t.jobpostEditForm.controls.eloc.errors?null:t.jobpostEditForm.controls.eloc.errors.required),e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eloc||null==t.jobpostEditForm.controls.eloc.errors?null:t.jobpostEditForm.controls.eloc.errors.onlySpaces)}}function Q1(n,a){1&n&&(e.j41(0,"div"),e.EFF(1," Skills List is required. "),e.k0s())}function W1(n,a){if(1&n&&(e.j41(0,"div",39),e.DNE(1,Q1,2,0,"div",40),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eskills||null==t.jobpostEditForm.controls.eskills.errors?null:t.jobpostEditForm.controls.eskills.errors.required)}}function Z1(n,a){if(1&n){const t=e.RV6();e.j41(0,"form",17)(1,"div",12)(2,"div",15)(3,"div",18)(4,"input",19,0),e.bIt("selectItem",function(i){e.eBV(t);const l=e.XpG();
1return e.Njj(l.onChangeedit(i))})("keyup",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.convert_into_camelcase(i))})("blur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimControl("ejobtitle"))}),e.k0s(),e.DNE(6,M1,3,2,"div",20),e.k0s()(),e.j41(7,"div",15)(8,"div",18)(9,"quill-editor",21),e.bIt("onEditorBlur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimQuillControl("edesc"))}),e.k0s(),e.DNE(10,$1,3,2,"div",20),e.k0s()(),e.j41(11,"div",22)(12,"div",23),e.nrm(13,"input",24,1),e.j41(15,"label",25),e.EFF(16," Remote "),e.k0s()()(),e.j41(17,"div",15)(18,"div",18)(19,"ng-select",26,2),e.bIt("change",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.change_availability("edit"))}),e.k0s(),e.DNE(21,N1,2,1,"div",20),e.k0s()(),e.j41(22,"div",27)(23,"div",18)(24,"input",28,3),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))}),e.k0s(),e.DNE(26,V1,2,1,"div",20)(27,J1,2,0,"div",20),e.k0s()(),e.j41(28,"div",27)(29,"div",18)(30,"input",29,4),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))})("keyup",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.showRate(i))}),e.k0s(),e.DNE(32,A1,2,1,"div",20),e.k0s()(),e.j41(33,"div",30)(34,"div",18)(35,"input",31,5),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.keyPressNumbers(i))}),e.k0s(),e.DNE(37,q1,2,1,"div",20),e.k0s()(),e.DNE(38,L1,5,0,"div",32),e.j41(39,"div",27)(40,"div",18)(41,"input",33,6),e.bIt("keypress",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.alphaNumberOnly(i))})("onAddressChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.editaddAddressChange(i))})("blur",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.trimControl("eloc"))}),e.k0s(),e.DNE(43,z1,3,2,"div",20),e.k0s()(),e.j41(44,"div",15)(45,"div",34),e.nrm(46,"ng-select",35,7),e.DNE(48,W1,2,1,"div",20),e.k0s()(),e.j41(49,"div",36)(50,"button",37),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.editJobPost())}),e.EFF(51," Update "),e.k0s(),e.j41(52,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.location.back())}),e.EFF(53," Cancel "),e.k0s()()()()}if(2&n){const t=e.XpG();e.Y8G("formGroup",t.jobpostEditForm),e.R7$(4),e.Y8G("maxlength",150)("ngbTypeahead",t.search),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.ejobtitle?null:t.jobpostEditForm.controls.ejobtitle.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.ejobtitle?null:t.jobpostEditForm.controls.ejobtitle.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.ejobtitle?null:t.jobpostEditForm.controls.ejobtitle.touched))),e.R7$(3),e.Y8G("formControlName","edesc")("modules",t.quillConfig),e.R7$(),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.edesc?null:t.jobpostEditForm.controls.edesc.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.edesc?null:t.jobpostEditForm.controls.edesc.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.edesc?null:t.jobpostEditForm.controls.edesc.touched))),e.R7$(3),e.Y8G("checked","true"==t.isRemotedata),e.R7$(6),e.Y8G("items",t.avaliability_arr)("clearable",!1)("searchable",!1),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eavail?null:t.jobpostEditForm.controls.eavail.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eavail?null:t.jobpostEditForm.controls.eavail.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eavail?null:t.jobpostEditForm.controls.eavail.touched))),e.R7$(3),e.Y8G("placeholder",t.currencySymbol+" Min Rate Per Hour"),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eminsalary?null:t.jobpostEditForm.controls.eminsalary.invalid)&&
1((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eminsalary?null:t.jobpostEditForm.controls.eminsalary.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eminsalary?null:t.jobpostEditForm.controls.eminsalary.touched))),e.R7$(),e.Y8G("ngIf",t.rate),e.R7$(3),e.Y8G("placeholder",t.currencySymbol+" Max Rate Per Hour"),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.emaxsalary?null:t.jobpostEditForm.controls.emaxsalary.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.emaxsalary?null:t.jobpostEditForm.controls.emaxsalary.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.emaxsalary?null:t.jobpostEditForm.controls.emaxsalary.touched))),e.R7$(),e.Y8G("ngClass",e.l_i(26,I1,"in"===t.country||"in"!==t.country&&!t.globals.is_offshore_client,"in"!==t.country&&t.globals.is_offshore_client)),e.R7$(2),e.Y8G("maxLength",7),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.evacancy?null:t.jobpostEditForm.controls.evacancy.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.evacancy?null:t.jobpostEditForm.controls.evacancy.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.evacancy?null:t.jobpostEditForm.controls.evacancy.touched))),e.R7$(),e.Y8G("ngIf","in"!==t.country&&t.globals.is_offshore_client),e.R7$(3),e.Y8G("options",t.placeOptions),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eloc?null:t.jobpostEditForm.controls.eloc.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eloc?null:t.jobpostEditForm.controls.eloc.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eloc?null:t.jobpostEditForm.controls.eloc.touched))),e.R7$(3),e.Y8G("items",t.allskills)("multiple",!0),e.R7$(2),e.Y8G("ngIf",(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eskills?null:t.jobpostEditForm.controls.eskills.invalid)&&((null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eskills?null:t.jobpostEditForm.controls.eskills.dirty)||(null==t.jobpostEditForm||null==t.jobpostEditForm.controls||null==t.jobpostEditForm.controls.eskills?null:t.jobpostEditForm.controls.eskills.touched)))}}let K1=(()=>{class n{modalService;fb;cs;http;router;route;common;errorHandler;globals;NotificationService;titleService;meta;location;changeDetector;toastr;countryLocalizeService;navigationService;currencyService;allskills=[];allskillsData=[];jobpostEditForm;isRemotedata="";searching=!1;searchFailed=!1;jobpost="";jobpost_plain="";skillArr=[];avaliability_arr=[{id:4,name:"Contract"},{id:1,name:"Full time"},{id:2,name:"Part time"}];placeholder1="";placeholder2="";rate=!1;skillListSelect;quillConfig={toolbar:{container:[["bold","italic","underline"],[{font:[]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{align:[]}],[{table:"insert"}],["link","image"]]}};country="";countryCode="";placeOptions={};constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T,P,A,W){this.modalService=t,this.fb=o,this.cs=i,this.http=l,this.router=s,this.route=_,this.common=p,this.errorHandler=u,this.globals=b,this.NotificationService=f,this.titleService=C,this.meta=w,this.location=I,this.changeDetector=X,this.toastr=T,this.countryLocalizeService=P,this.navigationService=A,this.currencyService=W,this.country=this.countryLocalizeService.getCountryCode(),this.countryCode=this.country,this.placeOptions={types:["(regions)"],componentRestrictions:{country:this.countryCode}},this.placeholder1=this.currencySymbol+" Min Rate Per Hour",this.placeholder2=this.currencySymbol+" Max Rate Per Hour",localStorage.setItem("Auth_man_todo","cAlive"),this.globals.is_login=!0,this.globals.is_client_login=!0,this.jobpostEditForm=this.fb.group({eid:["",g.k0.required],ejobtitle:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],edesc:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],eskills:["",g.k0.required],eavail:["",g.k0.required],eis_c_offshore:[!1],eloc:["",[g.k0.required,this.noOnlySpacesValidator.bind(this)]],elat:["",g.k0.required],elng:["",g.k0.required],eminsalary:[""],emaxsalary:[""],evacancy:[""],efunctional_area:[""],erole:[null],eremotejob:[""],ejobpost_commission:["",[g.k0.required,g.k0.min(1)]]})}ngOnInit(){localStorage.setItem("Auth_man_todo","cAlive"),this.globals.is_login=null!=localStorage.getItem("CR_PREF"),this.globals.is_client_login=null!=localStorage.getItem("CR_PREF")&&"cAlive"==localStorage.getItem("Auth_man_todo"),console.log("Edit Job Component - Global State:",{is_login:this.globals.is_login,is_client_login:this.globals.is_client_login,Auth_man_todo:localStorage.getItem("Auth_man_todo"),CR_PREF:localStorage.getItem("CR_PREF")}),this.changeDetector.detectChanges(),setTimeout(()=>{this.changeDetector.detectChanges(),setTimeout(()=>{this.changeDetector.detectChanges()},50)},100),this.GetSkills(),this.cs.getjobpostdata().subscribe(t=>{this.jobpost=t},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)}),this.cs.GetJobPost_Plain().subscribe(t=>{this.jobpost_plain=t},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}get currencySymbol(){return this.currencyService.getCurrencySymbol()}noOnlySpacesValidator(t){const o=t.value;if("string"!=typeof o)return null;const i=o.replace(/<[^>]*>/g,"").replace(/ /g," ");return 0===i.trim().length&&i.length>0?{onlySpaces:!0}:null}trimControl(t){const o=this.jobpostEditForm.get(t),i=o?.value;if("string"!=typeof i)return;const l=i.trim();l!==i&&o?.setValue(l,{emitEvent:!1}),o?.updateValueAndValidity({emitEvent:!1})}trimQuillControl(t){const o=this.jobpostEditForm.get(t);if(!o)return;const i=o.value||"",l=document.createElement("div");l.innerHTML=i,l.innerText.trim()?o.setValue(i.trim(),{emitEvent:!1}):o.setValue("",{emitEvent:!1}
1),o.updateValueAndValidity({emitEvent:!1})}GetSkills(){var t=this;return(0,j.A)(function*(){t.globals.loading=!0,yield t.common.GetSkills().subscribe(o=>{t.allskillsData=o.ResponseData.data,t.globals.loading=!1,t.allskills=[],o.ResponseData.data.forEach(l=>{t.allskills.push(l.skill_name)});let i=t.route.snapshot.params.job_id;i&&t.edit(i)},o=>{t.globals.loading=!1,t.errorHandler.handleError(o)})})()}edit(t){var o=this;return(0,j.A)(function*(){o.globals.loading=!0,yield o.cs.getsinglejobpost(t).subscribe(function(){var i=(0,j.A)(function*(l){if(console.log(l),o.globals.loading=!1,1==l.ResponseCode){var s=[];console.log("rex",l.ResponseData),yield o.allskillsData.forEach(function(){var _=(0,j.A)(function*(p){yield l.ResponseData.skills.forEach(u=>{u==p.skill_name&&s.push(p.skill_name),u==p.id&&s.push(p.skill_name)})});return function(p){return _.apply(this,arguments)}}()),o.jobpostEditForm.get("eid").setValue(l.ResponseData.job_id),o.jobpostEditForm.get("ejobtitle").setValue(l.ResponseData.job_title),o.jobpostEditForm.get("edesc").setValue(l.ResponseData.job_desc),o.jobpostEditForm.get("eavail").setValue(l.ResponseData.job_availability),o.jobpostEditForm.get("eis_c_offshore").setValue(l.ResponseData.is_c_offshore),o.jobpostEditForm.get("eloc").setValue(l.ResponseData.job_location),o.jobpostEditForm.get("elat").setValue(l.ResponseData.job_lat),o.jobpostEditForm.get("elng").setValue(l.ResponseData.job_lng),o.jobpostEditForm.get("evacancy").setValue(l.ResponseData.vacancy),console.log({vacancy:o.jobpostEditForm.get("eminsalary")}),o.jobpostEditForm.get("eminsalary").setValue(l.ResponseData.min_salary),o.jobpostEditForm.get("emaxsalary").setValue(l.ResponseData.max_salary),o.jobpostEditForm.get("efunctional_area").setValue(l.ResponseData.functional_area),o.jobpostEditForm.get("erole").setValue(l.ResponseData.job_title_id),o.isRemotedata=l.ResponseData.is_remote,o.jobpostEditForm.get("ejobpost_commission").setValue(l.ResponseData.jobpost_commission?l.ResponseData.jobpost_commission:o.globals.cloudrek_commission),l.ResponseData.is_c_offshore?(o.countryCode="in",o.jobpostEditForm.get("eloc").disable()):(o.countryCode=o.country,o.jobpostEditForm.get("eloc").enable()),o.jobpostEditForm.get("eskills").setValue(s),console.log({jobpost:o.jobpostEditForm})}else o.toastr.error(l.ResponseText)});return function(l){return i.apply(this,arguments)}}(),i=>{o.globals.loading=!1,o.errorHandler.handleError(i)})})()}convert_into_camelcase(t){try{if(t.target.value){let o=t.target.value;this.jobpostEditForm.get("ejobtitle").setValue(o)}}catch{return!1}}search=t=>t.pipe((0,Jt.B)(100),(0,Xt.F)(),(0,H.M)(()=>this.searching=!0),(0,qn.n)(o=>this.cs.get_search_jobpost_title(o).pipe((0,H.M)(()=>this.searchFailed=!1),(0,k.W)(()=>(this.searchFailed=!0,(0,D.of)([]))))),(0,H.M)(()=>this.searching=!1));onChangeedit(t){this.cs.get_search_jobpost_data({job_title:t.item}).subscribe(l=>{let s=l.ResponseData.search_data;if(s&&(s=s.data[0],this.jobpostEditForm.get("edesc").setValue(s.job_desc),s.skills)){let _=[];s.skills.forEach(p=>{_.push(p.skill_name)}),this.jobpostEditForm.get("eskills").setValue(_)}},l=>{this.globals.loading=!1,this.errorHandler.handleError(l)})}change_availability(t){"Full time"==t.name?(this.placeholder1=this.currencySymbol+" Min salary",this.placeholder2=this.currencySymbol+" Max salary"):("Part time"==t.name||"Contract"==t.name)&&(this.placeholder1=this.currencySymbol+" Min Rate Per Hour",this.placeholder2=this.currencySymbol+" Max Rate Per Hour")}keyPressNumbers(t){var o=t.which?t.which:t.keyCode;return!(o<48||o>57)||(t.preventDefault(),!1)}showRate(t){let o=t.target.value,i=Number(this.jobpostEditForm.controls.eminsalary.value);o<i?this.rate=!0:o>i&&(this.rate=!1)}changeOffshoreCheckbox(t){t.target.checked?(this.countryCode="in",this.jobpostEditForm.get("eloc").disable()):(this.countryCode=this.country,this.jobpostEditForm.get("eloc").enable()),this.placeOptions={types:["(regions)"],componentRestrictions:{country:this.countryCode}},this.jobpostEditForm.get("eloc").setValue(""),this.jobpostEditForm.get("elat").setValue(""),this.jobpostEditForm.get("elng").setValue(""),t.target.checked&&(this.jobpostEditForm.get("eloc").setValue("India"),this.jobpostEditForm.get("elat").setValue("20.593684"),this.jobpostEditForm.get("elng").setValue("78.96288"))}editaddAddressChange(t){this.jobpostEditForm.get("eloc").setValue(t.formatted_address),this.jobpostEditForm.get("elat").setValue(t.geometry.location.lat()),this.jobpostEditForm.get("elng").setValue(t.geometry.location.lng())}editJobPost(){var t=this;return(0,j.A)(function*(){if((2==t.jobpostEditForm.value.employment_type||4==t.jobpostEditForm.value.employment_type)&&t.jobpostEditForm.controls.eminsalary.setValue("1"),0==Number(t.
1jobpostEditForm.value.eminsalary)||0==Number(t.jobpostEditForm.value.emaxsalary))return t.toastr.error("Salary must not be zero"),!1;if(t.jobpostEditForm.valid){if(0==Number(t.jobpostEditForm.controls.evacancy.value))return t.toastr.error("Positions must not be zero"),!1;t.globals.loading=!0;var i=t.jobpostEditForm.get("eid").value,l=t.jobpostEditForm.get("ejobtitle").value,s=t.jobpostEditForm.get("edesc").value,_=t.jobpostEditForm.get("eskills").value,p=t.jobpostEditForm.get("eavail").value,u=t.jobpostEditForm.get("eloc").value,b=t.jobpostEditForm.get("elat").value,f=t.jobpostEditForm.get("elng").value,C=t.jobpostEditForm.get("evacancy").value,w=t.jobpostEditForm.get("eminsalary").value,I=t.jobpostEditForm.get("emaxsalary").value,X=t.jobpostEditForm.get("efunctional_area").value,T=t.jobpostEditForm.get("erole").value,P=""!==t.jobpostEditForm.get("eremotejob").value?t.jobpostEditForm.get("eremotejob").value:t.isRemotedata,A=t.jobpostEditForm.get("eis_c_offshore").value,W=t.jobpostEditForm.get("ejobpost_commission").value;if("object"==typeof l)var o=l.title;else o=l;var he=localStorage.CR_Tornado,we=localStorage.C_role;console.log(_),yield t.allskillsData.forEach(function(){var re=(0,j.A)(function*(Vt){yield _.forEach(T4=>{T4==Vt.skill_name&&t.skillArr.push(Vt.id)})});return function(Vt){return re.apply(this,arguments)}}());const Z=new FormData;Z.append("job_id",i),Z.append("description",s),Z.append("skills",t.skillArr),Z.append("avail",p),Z.append("loc",u),Z.append("lat",b),Z.append("lng",f),Z.append("vacancy",C),Z.append("minsalary",w),Z.append("maxsalary",I),Z.append("functional_area",X),Z.append("role",T),Z.append("new_jt",o),Z.append("token",he),Z.append("main",we),Z.append("remote_job",P),Z.append("is_c_offshore",A),Z.append("jobpost_commission",W),t.cs.editjobpost(Z).subscribe(re=>{t.globals.loading=!1,1==re.ResponseCode?(t.toastr.success(re.ResponseText),t.NotificationService.sendNotification({type:"edit_jobpost",notification:{notification_type:"edit_jobpost",company_name:re.ResponseData.Data.company_name,company_url:re.ResponseData.Data.company_url,client_id:re.ResponseData.Data.client_id,client_user_id:re.ResponseData.Data.client_user_id,sender_type:1==we?"C":"CP",cp_id:re.ResponseData.Data.cp_id,cp_user_id:re.ResponseData.Data.cp_user_id,job_title:re.ResponseData.Data.job_title,job_id:re.ResponseData.Data.job_id,slug:re.ResponseData.Data.slug,datetime:re.ResponseData.Data.datetime.date,country:t.jobpostEditForm.controls.eis_c_offshore.value?"in":t.country}}),t.navigationService.navigate("client/dashboard",t.route)):t.toastr.error(re.ResponseText)},re=>{t.globals.loading=!1,t.errorHandler.handleError(re)})}else for(let Z in t.jobpostEditForm.controls)t.jobpostEditForm.controls[Z].markAsTouched()})()}alphaNumberOnly(t){var o=new RegExp("^[a-zA-Z0-9 ]+$"),i=String.fromCharCode(t.charCode?t.charCode:t.which);return!!o.test(i)||(t.preventDefault(),!1)}static \u0275fac=function(o){return new(o||n)(e.rXU(v.Bq),e.rXU(g.ok),e.rXU(le.X),e.rXU(Pe.Qq),e.rXU(E.Ix),e.rXU(E.nX),e.rXU(_e.h),e.rXU(oe.c),e.rXU(ie.E),e.rXU(ve.J),e.rXU(fe.hE),e.rXU(fe.W8),e.rXU(y.aZ),e.rXU(e.gRc),e.rXU(S.tw),e.rXU(B.z),e.rXU(ae.o),e.rXU(ee.P))};static \u0275cmp=e.VBU({type:n,selectors:[["app-edit-job"]],standalone:!0,features:[e.aNF],decls:10,vars:2,consts:[["ejobtitle",""],["eremotejob",""],["eavail",""],["eminsalary",""],["emaxsalary",""],["evacancy",""],["eloc",""],["skillsList",""],[3,"loading"],[1,"main-content-wrap"],[1,"container-fluid"],[1,"bg-white","create-job-form"],[1,"row"],[1,"col-12","text-center"],[1,"fw-600","mb-5"],[1,"col-12"],["novalidate","",3,"formGroup",4,"ngIf"],["novalidate","",3,"formGroup"],[1,"cr-input-wrap","mb-5"],["type","text","name","ejobtitle","placeholder","Job Title","formControlName","ejobtitle",1,"cr-form-control","control-large",3,"selectItem","keyup","blur","maxlength","ngbTypeahead"],["class","control-error",4,"ngIf"],["placeholder","Enter Job Description",1,"cr-rich-control",3,"onEditorBlur","formControlName","modules"],[1,"col-sm-2","d-flex","align-items-center"],[1,"custom-check","mb-2"],["id","remoteCheckbox","type","checkbox","name","remoteCheckbox","formControlName","eremotejob",3,"checked"],["for","remoteCheckbox"],["bindLabel","name","bindValue","id","placeholder","Select Employment Type","formControlName","eavail",1,"cr-select","control-large",3,"change","items","clearable","searchable"],[1,"col-sm-6"],["type","text","name","eminsalary","formControlName","eminsalary",1,"cr-form-control","control-large",3,"keypress","placeholder"],["type","text","name","emaxsalary","formControlName","emaxsalary",1,"cr-form-control","control-large",3,"keypress","keyup","placeholder"],[3,"ngClass"],["type","text","name","evacancy","placeholder","Total Positions","formControlName","evacancy",1,"cr-form-control","control-large",3,"keypress","maxLength"],["class","col-sm-2",4,"ngIf"],["type","text","name","eloc","placeholder","Location","formControlName","eloc","autocomplete","new-address","googlePlacesAutocomplete","",1,"cr-form-control","control-large",3,"keypress","onAddressChange","blur","options"],[1,"mb-5"],["bindLabel","name","bindValue","id","placeholder","Select Skills","formControlName","eskills",1,"cr-select","control-large",3,"items","multiple"],[1,"col-12","d-flex","justify-content-end"],[1,"cr-btn","cr-btn-blue",3,"click"],[1,"cr-btn","cr-btn-red","ml-4",3,"click"],[1,"control-error"],[4,"ngIf"],[1,"col-sm-2"],[1,"custom-check","mt-4"],["id","is_c_offshoreCheckbox","type","checkbox","name","is_c_offshoreCheckbox","formControlName","eis_c_offshore",3,"change"],["for","is_c_offshoreCheckbox"]],template:function(o,i){1&o&&(e.nrm(0,"app-loading-spinner",8),e.j41(1,"div",9)(2,"div",10)(3,"div",11)(4,"div",12)(5,"div",13)(6,"h1",14),e.EFF(7,"Edit Job"),e.k0s()(),e.j41(8,"div",15),e.DNE(9,Z1,54,29,"form",16),e.k0s()()()()()),2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(9),e.Y8G("ngIf",i.jobpostEditForm))},dependencies:[y.MD,y.YU,y.bT,g.YN,g.qT,g.me,g.Zm,g.BC,g.cb,g.tU,g.X1,g.j4,g.JD,v.UN,v.$n,v.h_,N.MQ,N.vr,Ie.Qs,Ie.i9,Ce.N,S._B,L.j,L.P],styles:[".create-job-form[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;width:100%;padding:25px;border-radius:10px;border:1px solid var(--cr-gray-tint-6)}.e-content.e-lib.e-keyboard[_ngcontent-%COMP%]{height:300px!important} ngb-typeahead-window{width:100%!important} ngb-typeahead-window .dropdown-item{white-space:normal;word-break:break-word}@media screen and (max-width: 991px){ ngb-typeahead-window{max-width:200
1px;white-space:pre-wrap}}.suffix-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}.suffix-field[_ngcontent-%COMP%]{position:relative}.suffix-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-right:100px}.suffix-field[_ngcontent-%COMP%] .suffix[_ngcontent-%COMP%]{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#999;pointer-events:none;font-size:14px}.suffix-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:placeholder-shown + .suffix[_ngcontent-%COMP%]{display:none}.suffix-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:placeholder-shown{padding-right:0!important}@media (max-width: 768px){.create-job-form[_ngcontent-%COMP%]{padding:15px}}"]})}return n})();const eg=["videoElement"],tg=["skillModal"],ng=["RecruiterDetailsModal"],ig=["cofirmationModal"],og=["resume_show"],lg=["visa_proof_show"],ag=["showDocsModal"],sg=["fullInterviewModal"],rg=["vidPreviewModal"],cg=["ratingModal"],_g=["videoElementFullInterview"],Fl=(n,a)=>[n,a],Yt=n=>["client",n,"5","candidates"],K=(n,a)=>({from:n,to:a}),An=(n,a,t)=>({itemsPerPage:n,currentPage:a,totalItems:t}),gl=(n,a)=>["client",n,a,"candidate"],bl=(n,a)=>({anonymous:n,application:a});function dg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - Remote"),e.k0s())}function pg(n,a){if(1&n&&(e.j41(0,"div",59)(1,"span",60),e.EFF(2),e.DNE(3,dg,2,0,"span",61),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",null==t?null:t.job_availability," "),e.R7$(),e.Y8G("ngIf","true"==(null==t?null:t.is_remote))}}function ug(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",50),e.bIt("click",function(){const i=e.eBV(t),l=i.$implicit,s=i.index,_=e.XpG(3);return _.jobTableActive=!0,e.Njj(_.joblistChanged(l,l.job_id,_.activejobStatus,s,l.job_title,null))}),e.j41(1,"div",51)(2,"div",52)(3,"h5",53)(4,"a",54),e.EFF(5),e.k0s()(),e.j41(6,"div",55),e.EFF(7),e.k0s()(),e.j41(8,"div",56),e.DNE(9,pg,4,2,"div",57),e.k0s(),e.nrm(10,"div",58),e.k0s()()}if(2&n){const t=a.$implicit,o=a.index;e.Y8G("ngClass",e.l_i(6,Fl,"active-job-"+o,0==o?"active-job":"")),e.R7$(4),e.Y8G("countryRouterLink",e.eq3(9,Yt,t.job_id)),e.R7$(),e.JRh(null==t?null:t.job_title),e.R7$(2),e.SpI(" ",null==t?null:t.status_count," "),e.R7$(2),e.Y8G("ngIf",null==t?null:t.job_availability),e.R7$(),e.Y8G("innerHtml",t.job_desc+"...",e.npT)}}function mg(n,a){1&n&&(e.j41(0,"div",62),e.EFF(1," No Jobs Created "),e.k0s())}function gg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - Remote "),e.k0s())}function bg(n,a){if(1&n&&(e.j41(0,"div",59)(1,"span",60),e.EFF(2),e.DNE(3,gg,2,0,"span",61),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",null==t?null:t.job_availability," "),e.R7$(),e.Y8G("ngIf","true"==(null==t?null:t.is_remote))}}function fg(n,a){if(1&n&&(e.j41(0,"div",51)(1,"div",52)(2,"h5",53)(3,"a",54),e.EFF(4),e.k0s()(),e.j41(5,"div",55),e.EFF(6),e.k0s()(),e.j41(7,"div",56),e.DNE(8,bg,4,2,"div",57),e.k0s(),e.nrm(9,"div",58),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(3),e.Y8G("countryRouterLink",e.eq3(5,Yt,t.job_id)),e.R7$(),e.SpI(" ",null==t?null:t.job_title," "),e.R7$(2),e.SpI(" ",null==t?null:t.status_count," "),e.R7$(2),e.Y8G("ngIf",null==t?null:t.job_availability),e.R7$(),e.Y8G("innerHtml",t.job_desc+"...",e.npT)}}function hg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",50),e.bIt("click",function(){const i=e.eBV(t),l=i.$implicit,s=i.index,_=e.XpG(4);return _.jobTableActive=!0,e.Njj(_.joblistChanged(l,null==l?null:l.job_id,_.activejobStatus,s,null==l?null:l.job_title,"isDeactive"))}),e.DNE(1,fg,10,7,"div",75),e.k0s()}if(2&n){const t=a.$implicit,o=a.index;e.Y8G("ngClass",e.l_i(2,Fl,"deactive-job-"+o,0==o?"deactive-job":"")),e.R7$(),e.Y8G("ngIf",t)}}function vg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",63)(1,"div",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.togalAccordion())}),e.j41(2,"div",65)(3,"h2",66)(4,"button",67)(5,"div",68)(6,"span",69),e.EFF(7,"keyboard_arrow_down"),e.k0s(),e.j41(8,"div",70)(9,"h6",71),e.EFF(10),e.k0s()()()()(),e.j41(11,"div",72)(12,"div",73)(13,"ul",74),e.DNE(14,hg,2,5,"div",47),e.k0s()()()()()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("closeOthers",!0),e.R7$(3),e.AVh("collapsed",!t.opened),e.R7$(6),e.SpI(" Deactivated Jobs (",t.deactiveJobs.length,") "),e.R7$(4),e.Y8G("ngForOf",t.deactiveJobs)}}function kg(n,a){if(1&n&&(e.j41(0,"div",46)(1,"div"),e.DNE(2,ug,11,11,"div",47)(3,mg,2,0,"div",48),e.k0s(),e.DNE(4,vg,15,5,"div",49),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.activeJobs),e.R7$(),e.Y8G("ngIf",0==t.activeJobs.length),e.R7$(),e.Y8G("ngIf",0!=t.deactiveJobs.length)}}function jg(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function Cg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function yg(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" F(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),") ")}}function wg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function xg(n,a){if(1&n&&(e.qex(0),e.DNE(1,yg,5,7,"span",93)(2,wg,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Fg(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" P(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),") ")}}function Rg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Dg(n,a){if(1&n&&(e.qex(0),e.DNE(1,Fg,5,7,"span",93)(2,Rg,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Eg(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function Ig(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" C(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Tg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Gg(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ig,5,7,"span",93)(2,Tg,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Mg(n,a){if(1&n&&(e.j41(0,"div",92),e.DNE(1,xg,3,2,"ng-container",61)(2,Dg,3,2,"ng-container",61)(3,Eg,2,0,"ng-container",61)(4,Gg,3,2,"ng-container",61),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function Sg(n,a){if(1&n&&(e.qex(0),e.DNE(1,Mg,5,4,"div",91),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function Og(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function $g(n,a){if(1&n&&(e.qex(0),e.DNE(1,Sg,2,1,"ng-container",79)(2,Og,2,0,"span",61),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);
1e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function Pg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Ng(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function Yg(n,a){if(1&n&&(e.j41(0,"div",96),e.DNE(1,Ng,2,1,"div",97),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name)}}function Vg(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function Jg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",96),e.DNE(1,Vg,2,1,"div",97),e.j41(2,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2))}}function Xg(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",104),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function Ag(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",101),e.EFF(2," Skills "),e.k0s(),e.j41(3,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",103)(5,"div",96),e.DNE(6,Xg,3,1,"ng-container",79),e.k0s()()}if(2&n){const t=e.XpG(5);e.R7$(6),e.Y8G("ngForOf",t.jobseekerSkill)}}function Bg(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function qg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Lg(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",68)(3,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",81),e.nrm(5,"path",82),e.k0s()(),e.joV(),e.j41(6,"span",83)(7,"a",84),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",85),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",86),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,jg,3,4,"span",61)(21,Cg,2,0,"span",61),e.k0s(),e.j41(22,"td"),e.DNE(23,$g,3,2,"ng-container",61)(24,Pg,2,0,"span",61),e.k0s(),e.j41(25,"td"),e.DNE(26,Yg,2,1,"div",87)(27,Jg,4,1,"div",87),e.k0s(),e.DNE(28,Ag,7,1,"ng-template",null,13,e.C5r),e.j41(30,"td"),e.DNE(31,Bg,3,5,"span",61)(32,qg,2,0,"span",61),e.k0s(),e.j41(33,"td")(34,"a",88),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(35),e.nI1(36,"titlecase"),e.k0s()(),e.j41(37,"td")(38,"div",89)(39,"ng-select",90,16),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4),_=e.sdS(29),p=e.sdS(31);return e.Njj(s.changeStatus(i,l,l.APPLY_ID,l.jobseeker_id,l.job_id,_,p))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(8),e.Lme(" ",e.bMT(9,23,t.jobseeker_detail.first_name)," ",e.bMT(10,25,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(2),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(4),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(36,27,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name)),e.R7$(4),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.submittedData)}}function Hg(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Lg,41,29,"tr",79),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.submittedActiveJobs)}}function Ug(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function zg(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",77)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"
1Email"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",78),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",78),e.k0s()()(),e.DNE(34,Hg,2,1,"tbody",61)(35,Ug,4,0,"tbody",61),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsSubmitted),e.R7$(33),e.Y8G("ngIf",0!=t.submittedActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.submittedActiveJobs.length)}}function Qg(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function Wg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Zg(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" F(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Kg(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function eb(n,a){if(1&n&&(e.qex(0),e.DNE(1,Zg,5,7,"span",93)(2,Kg,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function tb(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" P(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function nb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function ib(n,a){if(1&n&&(e.qex(0),e.DNE(1,tb,5,7,"span",93)(2,nb,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function ob(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function lb(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" C(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function ab(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function sb(n,a){if(1&n&&(e.qex(0),e.DNE(1,lb,5,7,"span",93)(2,ab,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function rb(n,a){if(1&n&&(e.j41(0,"div",92),e.DNE(1,eb,3,2,"ng-container",61)(2,ib,3,2,"ng-container",61)(3,ob,2,0,"ng-container",61)(4,sb,3,2,"ng-container",61),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function cb(n,a){if(1&n&&(e.qex(0),e.DNE(1,rb,5,4,"div",91),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function _b(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function db(n,a){if(1&n&&(e.qex(0),e.DNE(1,cb,2,1,"ng-container",79)(2,_b,2,0,"span",61),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function pb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function ub(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function mb(n,a){if(1&n&&(e.j41(0,"div",96),e.DNE(1,ub,2,1,"div",97),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name)}}function gb(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function bb(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",96),e.DNE(1,gb,2,1,"div",97),e.j41(2,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2))}}function fb(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function hb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function vb(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",68)(3,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",81),e.nrm(5,"path",82),e.k0s()(),e.joV(),e.j41(6,"span",83)(7,"a",84),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}
1),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",85),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",86),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,Qg,3,4,"span",61)(21,Wg,2,0,"span",61),e.k0s(),e.j41(22,"td"),e.DNE(23,db,3,2,"ng-container",61)(24,pb,2,0,"span",61),e.k0s(),e.j41(25,"td"),e.DNE(26,mb,2,1,"div",87)(27,bb,4,1,"div",87),e.k0s(),e.j41(28,"td"),e.DNE(29,fb,3,5,"span",61)(30,hb,2,0,"span",61),e.k0s(),e.j41(31,"td")(32,"a",88),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(33),e.nI1(34,"titlecase"),e.k0s()(),e.j41(35,"td")(36,"div",89)(37,"ng-select",107,16),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4),_=e.sdS(29),p=e.sdS(31);return e.Njj(s.changeStatus(i,l,l.APPLY_ID,l.jobseeker_id,l.job_id,_,p))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(8),e.Lme(" ",e.bMT(9,23,t.jobseeker_detail.first_name)," ",e.bMT(10,25,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(2),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(34,27,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name)),e.R7$(4),e.Y8G("compareWith",o.compareWithStatus)("clearable",!1)("searchable",!1)("items",o.shortlistedData)}}function kb(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,vb,39,29,"tr",79),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.shortlistedActiveJobs)}}function jb(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function Cb(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",77)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",78),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",78),e.k0s()()(),e.DNE(34,kb,2,1,"tbody",61)(35,jb,4,0,"tbody",61),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsShortlisted),e.R7$(33),e.Y8G("ngIf",0!=t.shortlistedActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.shortlistedActiveJobs.length)}}function yb(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function wb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function xb(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" F(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Fb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Rb(n,a){if(1&n&&(e.qex(0),e.DNE(1,xb,5,7,"span",93)(2,Fb,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Db(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" P(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Eb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Ib(n,a){if(1&n&&(e.qex(0),e.DNE(1,Db,5,7,"span",93)(2,Eb,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Tb(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function Gb(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" C(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Mb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Sb(n,a){if(1&n&&(e.qex(0),e.DNE(1,Gb,5,7,"span",93)(2,Mb,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Ob(n,a){if(1&n&&(e.j41(0,"div",92),e.DNE(1,Rb,3,2,"ng-container",61)(2,Ib,3,2,"ng-container",61)(3,Tb,2,0,"ng-container",61)(4,Sb,3,2,"ng-container",61),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function $b(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ob,5,4,"div",91),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function Pb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Nb(n,a){if(1&n&&(e.qex(0),e.DNE(1,$b,2,1,"ng-container",79)(2,Pb,2,0,"span",61),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);
1e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function Yb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Vb(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",98),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function Jb(n,a){if(1&n&&(e.j41(0,"div",96),e.DNE(1,Vb,3,1,"ng-container",79),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skill_name)}}function Xb(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",98),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function Ab(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",96),e.DNE(1,Xb,3,1,"ng-container",79),e.j41(2,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(49);return e.Njj(l.openModal(i.jobseeker_skill_name,s))}),e.EFF(3," View More..."),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.jobseeker_skill_name.slice(0,3))}}function Bb(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function qb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Lb(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",68)(3,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",81),e.nrm(5,"path",82),e.k0s()(),e.joV(),e.j41(6,"span",83)(7,"a",84),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",85),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",86),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,yb,3,4,"span",61)(21,wb,2,0,"span",61),e.k0s(),e.j41(22,"td"),e.DNE(23,Nb,3,2,"ng-container",61)(24,Yb,2,0,"span",61),e.k0s(),e.j41(25,"td"),e.DNE(26,Jb,2,1,"div",87)(27,Ab,4,1,"div",87),e.k0s(),e.j41(28,"td"),e.DNE(29,Bb,3,5,"span",61)(30,qb,2,0,"span",61),e.k0s(),e.j41(31,"td")(32,"a",88),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(33),e.nI1(34,"titlecase"),e.k0s()(),e.j41(35,"td")(36,"div",108)(37,"ng-select",109,16),e.bIt("change",function(i){const l=e.eBV(t).$implicit,s=e.XpG(4),_=e.sdS(29),p=e.sdS(31);return e.Njj(s.changeStatus(i,l,l.APPLY_ID,l.jobseeker_id,l.job_id,_,p))}),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(8),e.Lme(" ",e.bMT(9,23,t.jobseeker_detail.first_name)," ",e.bMT(10,25,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(2),e.Y8G("ngIf",(null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(34,27,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name)),e.R7$(4),e.Y8G("compareWith",o.compareWithStatus)("searchable",!1)("items",o.scheduledData)("clearable",!1)}}function Hb(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Lb,39,29,"tr",79),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.scheduledActiveJobs)}}function Ub(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function zb(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",77)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"
1Email"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",78),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",78),e.k0s()()(),e.DNE(34,Hb,2,1,"tbody",61)(35,Ub,4,0,"tbody",61),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsScheduled),e.R7$(33),e.Y8G("ngIf",0!=t.scheduledActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.scheduledActiveJobs.length)}}function Qb(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function Wb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Zb(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" F(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Kb(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function ef(n,a){if(1&n&&(e.qex(0),e.DNE(1,Zb,5,7,"span",93)(2,Kb,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function tf(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" P(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function nf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function of(n,a){if(1&n&&(e.qex(0),e.DNE(1,tf,5,7,"span",93)(2,nf,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function lf(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function af(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" C(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function sf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function rf(n,a){if(1&n&&(e.qex(0),e.DNE(1,af,5,7,"span",93)(2,sf,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function cf(n,a){if(1&n&&(e.j41(0,"div",92),e.DNE(1,ef,3,2,"ng-container",61)(2,of,3,2,"ng-container",61)(3,lf,2,0,"ng-container",61)(4,rf,3,2,"ng-container",61),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function _f(n,a){if(1&n&&(e.qex(0),e.DNE(1,cf,5,4,"div",91),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function df(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function pf(n,a){if(1&n&&(e.qex(0),e.DNE(1,_f,2,1,"ng-container",79)(2,df,2,0,"span",61),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function uf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function mf(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function gf(n,a){if(1&n&&(e.j41(0,"div",96),e.DNE(1,mf,2,1,"div",97),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name)}}function bf(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function ff(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",96),e.DNE(1,bf,2,1,"div",97),e.j41(2,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2))}}function hf(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function vf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function kf(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",68)(3,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",81),e.nrm(5,"path",82),e.k0s()(),e.joV(),e.j41(6,"span",83)(7,"a",84),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}
1),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",85),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",86),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,Qb,3,4,"span",61)(21,Wb,2,0,"span",61),e.k0s(),e.j41(22,"td"),e.DNE(23,pf,3,2,"ng-container",61)(24,uf,2,0,"span",61),e.k0s(),e.j41(25,"td"),e.DNE(26,gf,2,1,"div",87)(27,ff,4,1,"div",87),e.k0s(),e.j41(28,"td"),e.DNE(29,hf,3,5,"span",61)(30,vf,2,0,"span",61),e.k0s(),e.j41(31,"td")(32,"a",88),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(33),e.nI1(34,"titlecase"),e.k0s()(),e.j41(35,"td")(36,"div",89)(37,"div",110),e.EFF(38,"Hired"),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(8),e.Lme(" ",e.bMT(9,19,t.jobseeker_detail.first_name)," ",e.bMT(10,21,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(2),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(34,23,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function jf(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,kf,39,25,"tr",79),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.hiredActiveJobs)}}function Cf(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function yf(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",77)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",78),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",78),e.k0s()()(),e.DNE(34,jf,2,1,"tbody",61)(35,Cf,4,0,"tbody",61),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHired),e.R7$(33),e.Y8G("ngIf",0!=t.hiredActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.hiredActiveJobs.length)}}function wf(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.applied_at,"MMM d,y"))}}function xf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Ff(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" F(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Rf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Df(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ff,5,7,"span",93)(2,Rf,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Ef(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" P(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function If(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Tf(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ef,5,7,"span",93)(2,If,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function Gf(n,a){1&n&&(e.qex(0),e.EFF(1," Remote "),e.bVm())}function Mf(n,a){if(1&n&&(e.j41(0,"span",94)(1,"i",95),e.EFF(2,"info"),e.k0s(),e.EFF(3),e.nI1(4,"currencyRange"),e.k0s()),2&n){const t=e.XpG(3).$implicit,o=e.XpG(6);e.R7$(),e.Y8G("ngbTooltip",o.getRateTooltip(t.to)),e.R7$(2),e.SpI(" C(",e.bMT(4,2,e.l_i(4,K,t.from,t.to)),")")}}function Sf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Of(n,a){if(1&n&&(e.qex(0),e.DNE(1,Mf,5,7,"span",93)(2,Sf,2,0,"span",61),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.from&&t.to&&"null"!=t.from&&"null"!=t.to&&""!=t.from&&""!=t.to),e.R7$(),e.Y8G("ngIf",!t.from||"null"==t.from||""==t.from||!t.to||"null"==t.to||""==t.to)}}function $f(n,a){if(1&n&&(e.j41(0,"div",92),e.DNE(1,Df,3,2,"ng-container",61)(2,Tf,3,2,"ng-container",61)(3,Gf,2,0,"ng-container",61)(4,Of,3,2,"ng-container",61),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",1==t.opt),e.R7$(),e.Y8G("ngIf",2==t.opt),e.R7$(),e.Y8G("ngIf",3==t.opt),e.R7$(),e.Y8G("ngIf",5==t.opt)}}function Pf(n,a){if(1&n&&(e.qex(0),e.DNE(1,$f,5,4,"div",91),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.opt==o.job_availability)}}function Nf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Yf(n,a){if(1&n&&(e.qex(0),e.DNE(1,Pf,2,1,"ng-container",79)(2,Nf,2,0,"span",61),e.bVm()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);
1e.R7$(),e.Y8G("ngForOf",t.jobseeker_avail_type),e.R7$(),e.Y8G("ngIf",!o.hasMatchingAvailabilityType(t))}}function Vf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Jf(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function Xf(n,a){if(1&n&&(e.j41(0,"div",96),e.DNE(1,Jf,2,1,"div",97),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name)}}function Af(n,a){if(1&n&&(e.j41(0,"div",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t.skill_name," ")}}function Bf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",96),e.DNE(1,Af,2,1,"div",97),e.j41(2,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.openSkillModal(null==i?null:i.jobseeker_skill_name))}),e.EFF(3," View More... "),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.jobseeker_skill_name.slice(0,2))}}function qf(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Lme(" ",e.i5U(2,2,t.date,"MMM d,y")," ",t.from_time," ")}}function Lf(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function Hf(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"div",68)(3,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(4,"svg",81),e.nrm(5,"path",82),e.k0s()(),e.joV(),e.j41(6,"span",83)(7,"a",111),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(35);return e.Njj(l.openJobseekerDetailsModal(s,null==i?null:i.jobseeker_detail.jobseeker_id,null==i?null:i.job_id))}),e.EFF(8),e.nI1(9,"titlecase"),e.nI1(10,"titlecase"),e.k0s()()()(),e.j41(11,"td")(12,"a",85),e.EFF(13),e.k0s()(),e.j41(14,"td")(15,"a",86),e.EFF(16),e.k0s()(),e.j41(17,"td"),e.EFF(18),e.k0s(),e.j41(19,"td"),e.DNE(20,wf,3,4,"span",61)(21,xf,2,0,"span",61),e.k0s(),e.j41(22,"td"),e.DNE(23,Yf,3,2,"ng-container",61)(24,Vf,2,0,"span",61),e.k0s(),e.j41(25,"td"),e.DNE(26,Xf,2,1,"div",87)(27,Bf,4,1,"div",87),e.k0s(),e.j41(28,"td"),e.DNE(29,qf,3,5,"span",61)(30,Lf,2,0,"span",61),e.k0s(),e.j41(31,"td")(32,"a",88),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(4),s=e.sdS(27);return l.showRecruiterDetail(i.jobseeker_recruiter_detail),e.Njj(l.open(s,"small"))}),e.EFF(33),e.nI1(34,"titlecase"),e.k0s()(),e.j41(35,"td")(36,"div",89)(37,"div",112),e.EFF(38," Not Selected "),e.k0s()()()()}if(2&n){const t=a.$implicit;e.R7$(8),e.Lme(" ",e.bMT(9,19,t.jobseeker_detail.first_name)," ",e.bMT(10,21,t.jobseeker_detail.last_name)," "),e.R7$(4),e.Mz_("href","mailTo:",t.jobseeker_detail.email,"",e.B4B),e.R7$(),e.JRh(t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngIf",t.applied_at),e.R7$(),e.Y8G("ngIf",!t.applied_at),e.R7$(2),e.Y8G("ngIf",null!=(null==t?null:t.JS_AVAILABILITY)&&""!=(null==t?null:t.JS_AVAILABILITY)&&null!=(null==t?null:t.job_availability)&&""!=(null==t?null:t.job_availability)&&"null"!=(null==t?null:t.job_availability)),e.R7$(),e.Y8G("ngIf",null==(null==t?null:t.JS_AVAILABILITY)||""==(null==t?null:t.JS_AVAILABILITY)||null==(null==t?null:t.job_availability)||""==(null==t?null:t.job_availability)||"null"==(null==t?null:t.job_availability)),e.R7$(2),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)<=2),e.R7$(),e.Y8G("ngIf",(null==t||null==t.jobseeker_skill_name?null:t.jobseeker_skill_name.length)>2),e.R7$(2),e.Y8G("ngIf",null!=t.date&&null!=t.from_time),e.R7$(),e.Y8G("ngIf",null==t.date&&null==t.from_time),e.R7$(3),e.JRh(e.bMT(34,23,null==t||null==t.jobseeker_recruiter_detail?null:t.jobseeker_recruiter_detail.first_name))}}function Uf(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Hf,39,25,"tr",79),e.k0s()),2&n){const t=e.XpG(3);
1e.R7$(),e.Y8G("ngForOf",t.notSelectedActiveJobs)}}function zf(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function Qf(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",77)(2,"thead")(3,"tr")(4,"th"),e.EFF(5," Jobseeker"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"Email"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Phone"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14," Location"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17," Submitted On"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20,"Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23,"Skills"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26," Interview Date"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Recruiter"),e.nrm(30,"span",78),e.k0s(),e.j41(31,"th"),e.EFF(32,"Status"),e.nrm(33,"span",78),e.k0s()()(),e.DNE(34,Uf,2,1,"tbody",61)(35,zf,4,0,"tbody",61),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsNotSelected),e.R7$(33),e.Y8G("ngIf",0!=t.notSelectedActiveJobs.length),e.R7$(),e.Y8G("ngIf",0==t.notSelectedActiveJobs.length)}}function Wf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",36)(1,"aside",37),e.DNE(2,kg,5,3,"div",38),e.k0s(),e.j41(3,"button",39),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.jobTableActive=!0)}),e.qSk(),e.j41(4,"svg",40),e.nrm(5,"path",41),e.k0s()(),e.joV(),e.j41(6,"div",42)(7,"button",43),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.jobTableActive=!1)}),e.EFF(8," Back "),e.k0s(),e.j41(9,"ul",44,0),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.activeJobApplicantTab,i)||(l.activeJobApplicantTab=i),e.Njj(i)}),e.j41(11,"li",29)(12,"a",45),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(11,5))}),e.EFF(13,"Submitted "),e.j41(14,"span"),e.EFF(15),e.k0s()(),e.DNE(16,zg,36,3,"ng-template",31),e.k0s(),e.j41(17,"li",29)(18,"a",45),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(22,1))}),e.EFF(19,"Shortlisted "),e.j41(20,"span"),e.EFF(21),e.k0s()(),e.DNE(22,Cb,36,3,"ng-template",31),e.k0s(),e.j41(23,"li",29)(24,"a",45),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(33,2))}),e.EFF(25,"Scheduled "),e.j41(26,"span"),e.EFF(27),e.k0s()(),e.DNE(28,zb,36,3,"ng-template",31),e.k0s(),e.j41(29,"li",29)(30,"a",45),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(44,3))}),e.EFF(31,"Hired "),e.j41(32,"span"),e.EFF(33),e.k0s()(),e.DNE(34,yf,36,3,"ng-template",31),e.k0s(),e.j41(35,"li",29)(36,"a",45),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabChanged(55,4))}),e.EFF(37,"Not Selected "),e.j41(38,"span"),e.EFF(39),e.k0s()(),e.DNE(40,Qf,36,3,"ng-template",31),e.k0s()(),e.nrm(41,"div",34),e.k0s()()}if(2&n){const t=e.sdS(10),o=e.XpG();e.R7$(2),e.Y8G("ngIf",1==o.isShowJobs),e.R7$(4),e.AVh("job-active",o.jobTableActive),e.Y8G("formGroup",o.candidateForm),e.R7$(3),e.R50("activeId",o.activeJobApplicantTab),e.R7$(2),e.Y8G("ngbNavItem",11),e.R7$(4),e.SpI("(",o.submittedCount,")"),e.R7$(2),e.Y8G("ngbNavItem",22),e.R7$(4),e.SpI("(",o.shortlistedCount,")"),e.R7$(2),e.Y8G("ngbNavItem",33),e.R7$(4),e.SpI("(",o.scheduledCount,")"),e.R7$(2),e.Y8G("ngbNavItem",44),e.R7$(4),e.SpI("(",o.hiredCount,")"),e.R7$(2),e.Y8G("ngbNavItem",55),e.R7$(4),e.SpI("(",o.notSelectedCount,")"),e.R7$(2),e.Y8G("ngbNavOutlet",t)}}function Zf(n,a){if(1&n&&(e.j41(0,"p",121),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" F(",e.bMT(2,1,e.l_i(3,K,null==t?null:t.from,null==t?null:t.to)),") ")}}function Kf(n,a){if(1&n&&(e.j41(0,"p",121),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" C(",e.bMT(2,1,e.l_i(3,K,null==t?null:t.from,null==t?null:t.to)),") ")}}function eh(n,a){if(1&n&&(e.j41(0,"p",121),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" P(",e.bMT(2,1,e.l_i(3,K,null==t?null:t.from,null==t?null:t.to)),") ")}}function th(n,a){1&n&&(e.j41(0,"p",121),e.EFF(1,"Remote"),e.k0s())}function nh(n,a){if(1&n&&(e.qex(0),e.DNE(1,Zf,3,6,"p",120)(2,Kf,3,6,"p",120)(3,eh,3,6,"p",120)(4,th,2,0,"p",120),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.opt)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",5==(null==t?null:t.opt)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.opt)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.opt))}}function ih(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",122),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(25);return l.showRecruiterDetail(null==i.jobseeker_detail?null:i.jobseeker_detail.recruiter_data),e.Njj(l.open(s,"small"))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name)," ")}}function oh(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function lh(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"button",116),e.EFF(3),e.k0s()(),e.j41(4,"td")(5,"div",68)(6,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(7,"svg",81),e.nrm(8,"path",82),e.k0s()(),e.joV(),e.j41(9,"a",117),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"titlecase"),e.k0s()()(),e.j41(13,"td")(14,"a",118),e.EFF(15),e.k0s()(),e.j41(16,"td")(17,"a",86),e.EFF(18),e.k0s()(),e.j41(19,"td"),e.EFF(20),e.k0s(),e.j41(21,"td"),e.DNE(22,nh,5,4,"ng-container",79),e.k0s(),e.j41(23,"td"),e.EFF(24),e.k0s(),e.j41(25,"td"),e.DNE(26,ih,3,3,"button",119)(27,oh,2,0,"span",61),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(2),e.Y8G("countryRouterLink",e.eq3(23,Yt,null==t?null:t.job_id)),e.R7$(),e.Lme(" ",null==t?null:t.job_id," ",null==t?null:t.job_title," "),e.R7$(6),e.Y8G("countryRouterLink",e.l_i(25,gl,null==t?null:t.jobseeker_id,null==t?null:t.job_id))("queryParams",e.l_i(28,bl,null==t?null:t.anonymous,o.encode_base64(null==t?null:t.APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(11,19,null==t?null:t.JS_FNAME)," ",e.bMT(12,21,null==t?null:t.JS_LNAME),""),e.R7$(4),e.Mz_("href","mailto:",null!=t&&t.anonymous?"-":null==t?null:t.email,"",e.B4B),e.R7$(),e.JRh(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.email),e.R7$(2),e.Mz_("href","tel:",(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone_code)+(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone),"",e.B4B),e.R7$(),e.Lme("",null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone_code," ",null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.phone,""),e.R7$(2),e.JRh(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.address),e.R7$(2),e.Y8G("ngForOf",null==t?null:t.avaliability_opt),e.R7$(2),e.SpI(" ",(null==t?null:t.date)+" "+(null==t?null:t.from_time)," "),e.R7$(2),e.Y8G("ngIf",null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_detail&&null!=t.jobseeker_detail.recruiter_data&&t.jobseeker_detail.recruiter_data.rec_name))}}function ah(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,lh,28,31,"tr",79),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.upcomingInterviewsList,e.sMw(4,An,t.upcomingInterviewsTotalItems,t.upcomingInterviewsPage,t.upcomingInterviewsTotal)))}}function sh(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function rh(n,a){if(1&n&&(e.j41(0,"table",115)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Job Title"),e.nrm(5,"span",78),e.k0s(),e.j41(6,"th"),e.EFF(7,"Jobseeker"),e.nrm(8,"span",78),e.k0s(),e.j41(9,"th"),e.EFF(10,"Email"),e.nrm(11,"span",78),e.k0s(),e.j41(12,"th"),e.EFF(13,"Phone"),e.nrm(14,"span",78),e.k0s(),e.j41(15,"th"),e.EFF(16,"Location"),e.nrm(17,"span",78),e.k0s(),e.j41(18,"th"),e.EFF(19,"Rate"),e.nrm(20,"span",78),e.k0s(),e.j41(21,"th"),e.EFF(22,"Interview Date"),e.nrm(23,"span",78),e.k0s(),e.j41(24,"th"),e.EFF(25,"Recruiter"),e.nrm(26,"span",78),e.k0s()()(),e.DNE(27,ah,3,8,"tbody",61)(28,sh,4,0,"tbody",61),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("dtOptions",t.dtOptionsUpcomingInterviews),e.R7$(27),e.Y8G("ngIf",0!=t.upcomingInterviewsList.length),e.R7$(),e.Y8G("ngIf",0==t.upcomingInterviewsList.length)}}function ch(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",123),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.getPage(i,l.activeId))}),e.k0s()}}function _h(n,a){if(1&n&&(e.j41(0,"div",76),e.DNE(1,rh,29,3,"table",113)(2,ch,1,0,"pagination-controls",114),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0!=t.upcomingInterviewsList.length),e.R7$(),e.Y8G("ngIf",0!==(null==t.upcomingInterviewsList?null:t.upcomingInterviewsList.length)&&t.upcomingInterviewsTotal>t.upcomingInterviewsTotalItems)}}function dh(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",122),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(25);return l.showRecruiterDetail(null==i.jobseeker_detail?null:i.jobseeker_detail.recruiter_data),e.Njj(l.open(s,"small"))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name)," ")}}function ph(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function uh(n,a){1&n&&(e.j41(0,"span",130),e.EFF(1,"Pending"),e.k0s())}function mh(n,a){1&n&&(e.j41(0,"span",110),e.EFF(1,"Onboarded"),e.k0s())}function gh(n,a){1&n&&(e.j41(0,"span",131),e.EFF(1,"Inprogress"),e.k0s())}function bh(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",132),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.startJobseekerOnboarding(null==i?null:i.job_id,null==i?null:i.jobseeker_id,1))}),e.EFF(1," Start Onboarding "),e.k0s()}}function fh(n,a){}function hh(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"button",116),e.EFF(3),e.k0s()(),e.j41(4,"td")(5,"div",68)(6,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(7,"svg",81),e.nrm(8,"path",82),e.k0s()(),e.joV(),e.j41(9,"a",117),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"titlecase"),e.k0s()()(),e.j41(13,"td")(14,"a",118),e.EFF(15),e.k0s()(),e.j41(16,"td")(17,"a",86),e.EFF(18),e.k0s()(),e.j41(19,"td"),e.EFF(20),e.k0s(),e.j41(21,"td"),e.EFF(22),e.nI1(23,"countryCurrency"),e.k0s(),e.j41(24,"td"),e.EFF(25),e.nI1(26,"date"),e.k0s(),e.j41(27,"td"),e.DNE(28,dh,3,3,"button",119)(29,ph,2,0,"span",61),e.k0s(),e.j41(30,"td"),e.DNE(31,uh,2,0,"span",126)(32,mh,2,0,"span",127)(33,gh,2,0,"span",128),e.k0s(),e.j41(34,"td"),e.DNE(35,bh,2,0,"button",129)(36,fh,0,0,"ng-template",null,18,e.C5r),e.k0s()()}if(2&n){const t=a.$implicit,o=e.sdS(37),i=e.XpG(4);e.R7$(2),e.Y8G("countryRouterLink",e.eq3(33,Yt,null==t?null:t.job_id)),e.R7$(),e.Lme(" ",t.job_id," ",t.job_title," "),e.R7$(6),e.Y8G("countryRouterLink",e.l_i(35,gl,t.jobseeker_id,t.job_id))("queryParams",e.l_i(38,bl,null==t?null:t.anonymous,i.encode_base64(null==t?null:t.APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(11,24,null==t?null:t.JS_FNAME)," ",e.bMT(12,26,null==t?null:t.JS_LNAME)," "),e.R7$(4),e.Mz_("href","mailto:",null!=t&&t.anonymous?"-":null==t?null:t.email,"",e.B4B),e.R7$(),e.JRh(t.js_email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.js_phone,""),e.R7$(2),e.JRh(t.address),e.R7$(2),e.SpI(" ",null!=t&&t.final_rate?e.bMT(23,28,null==t?null:t.final_rate):""," "),e.R7$(3),e.SpI(" ",null!=t&&t.hired_start_date?e.i5U(26,30,null==t?null:t.hired_start_date,"MMM d, y"):"-"," "),e.R7$(3),e.Y8G("ngIf",null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_detail&&null!=t.jobseeker_detail.recruiter_data&&t.jobseeker_detail.recruiter_data.rec_name)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.is_started_onboarding)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding))("ngIfElse",o)}}function vh(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,hh,38,41,"tr",79),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.hiredCandidateFulltimeList,e.sMw(4,An,t.hiredCandidateFulltimeTotalItems,t.hiredCandidateFulltimePage,t.hiredCandidateFulltimeCounter)))}}function kh(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function jh(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",123),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.getPage(i,l.activeId,1))}),e.k0s()}}function Ch(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",115)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Job Title"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"Jobseeker"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Email"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14,"Phone"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17,"Location"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20," Hired Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23," Hired Date"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26,"Recruiter"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Onboarding Status"),e.nrm(30,"span",78),e.k0s(),e.nrm(31,"th"),e.k0s()(),e.DNE(32,vh,3,8,"tbody",61)(33,kh,4,0,"tbody",61),e.k0s(),e.DNE(34,jh,1,0,"pagination-controls",114),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHiredFulltime),e.R7$(31),e.Y8G("ngIf",0!=t.hiredCandidateFulltimeList.length),e.R7$(),e.Y8G("ngIf",0==t.hiredCandidateFulltimeList.length),e.R7$(),e.Y8G("ngIf",0!==(null==t.hiredCandidateFulltimeList?null:t.hiredCandidateFulltimeList.length)&&t.hiredCandidateFulltimeCounter>t.hiredCandidateFulltimeTotalItems)}}function yh(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",122),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4),s=e.sdS(25);return l.showRecruiterDetail(null==i.jobseeker_detail?null:i.jobseeker_detail.recruiter_data),e.Njj(l.open(s,"small"))}),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name)," ")}}function wh(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," - "),e.k0s())}function xh(n,a){1&n&&(e.j41(0,"span",130),e.EFF(1,"Pending"),e.k0s())}function Fh(n,a){1&n&&(e.j41(0,"span",110),e.EFF(1,"Onboarded"),e.k0s())}function Rh(n,a){1&n&&(e.j41(0,"span",131),e.EFF(1,"Inprogress"),e.k0s())}function Dh(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",132),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.startJobseekerOnboarding(null==i?null:i.job_id,null==i?null:i.jobseeker_id,0))}),e.EFF(1," Start Onboarding "),e.k0s()}}function Eh(n,a){}function Ih(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"button",116),e.EFF(3),e.k0s()(),e.j41(4,"td")(5,"div",68)(6,"a",80),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(4).initiate_chatroom(null==l||null==l.jobseeker_detail?null:l.jobseeker_detail.user_id,null==l?null:l.job_id,null==l?null:l.job_title,null==l?null:l.anonymous,null==l?null:l.anonymous_name,null==l?null:l.external_recruiter),i.preventDefault(),e.Njj(i.stopPropagation())}),e.qSk(),e.j41(7,"svg",81),e.nrm(8,"path",82),e.k0s()(),e.joV(),e.j41(9,"a",117),e.EFF(10),e.nI1(11,"titlecase"),e.nI1(12,"title
1case"),e.k0s()()(),e.j41(13,"td")(14,"a",118),e.EFF(15),e.k0s()(),e.j41(16,"td")(17,"a",86),e.EFF(18),e.k0s()(),e.j41(19,"td"),e.EFF(20),e.k0s(),e.j41(21,"td"),e.EFF(22),e.nI1(23,"countryCurrency"),e.k0s(),e.j41(24,"td"),e.EFF(25),e.nI1(26,"date"),e.k0s(),e.j41(27,"td"),e.DNE(28,yh,3,3,"button",119)(29,wh,2,0,"span",61),e.k0s(),e.j41(30,"td"),e.DNE(31,xh,2,0,"span",126)(32,Fh,2,0,"span",127)(33,Rh,2,0,"span",128),e.k0s(),e.j41(34,"td"),e.DNE(35,Dh,2,0,"button",129)(36,Eh,0,0,"ng-template",null,18,e.C5r),e.k0s()()}if(2&n){const t=a.$implicit,o=e.sdS(37),i=e.XpG(4);e.R7$(2),e.Y8G("countryRouterLink",e.eq3(33,Yt,null==t?null:t.job_id)),e.R7$(),e.Lme(" ",t.job_id," ",t.job_title," "),e.R7$(6),e.Y8G("countryRouterLink",e.l_i(35,gl,t.jobseeker_id,t.job_id))("queryParams",e.l_i(38,bl,null==t?null:t.anonymous,i.encode_base64(null==t?null:t.APPLY_ID))),e.R7$(),e.Lme(" ",e.bMT(11,24,t.JS_FNAME)," ",e.bMT(12,26,null==t?null:t.JS_LNAME)," "),e.R7$(4),e.Mz_("href","mailto:",null!=t&&t.anonymous?"-":null==t?null:t.email,"",e.B4B),e.R7$(),e.JRh(t.js_email),e.R7$(2),e.Mz_("href","tel:",t.jobseeker_detail.phone_code+t.jobseeker_detail.phone,"",e.B4B),e.R7$(),e.Lme("",t.jobseeker_detail.phone_code," ",t.js_phone,""),e.R7$(2),e.JRh(t.address),e.R7$(2),e.SpI(" ",null!=t&&t.final_rate?e.bMT(23,28,null==t?null:t.final_rate):""," "),e.R7$(3),e.SpI(" ",null!=t&&t.hired_start_date?e.i5U(26,30,null==t?null:t.hired_start_date,"MMM d, y"):"-"," "),e.R7$(3),e.Y8G("ngIf",null==t||null==t.jobseeker_detail||null==t.jobseeker_detail.recruiter_data?null:t.jobseeker_detail.recruiter_data.rec_name),e.R7$(),e.Y8G("ngIf",!(null!=t&&null!=t.jobseeker_detail&&null!=t.jobseeker_detail.recruiter_data&&t.jobseeker_detail.recruiter_data.rec_name)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.is_started_onboarding)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.is_started_onboarding)),e.R7$(2),e.Y8G("ngIf",0==(null==t?null:t.is_started_onboarding))("ngIfElse",o)}}function Th(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Ih,38,41,"tr",79),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.hiredCandidateContractList,e.sMw(4,An,t.hiredCandidateContractTotalItems,t.hiredCandidateContractPage,t.hiredCandidateContractCounter)))}}function Gh(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function Mh(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",123),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(3);return e.Njj(l.getPage(i,l.activeId,0))}),e.k0s()}}function Sh(n,a){if(1&n&&(e.j41(0,"div",76)(1,"table",115)(2,"thead")(3,"tr")(4,"th"),e.EFF(5,"Job Title"),e.nrm(6,"span",78),e.k0s(),e.j41(7,"th"),e.EFF(8,"Jobseeker"),e.nrm(9,"span",78),e.k0s(),e.j41(10,"th"),e.EFF(11,"Email"),e.nrm(12,"span",78),e.k0s(),e.j41(13,"th"),e.EFF(14,"Phone"),e.nrm(15,"span",78),e.k0s(),e.j41(16,"th"),e.EFF(17,"Location"),e.nrm(18,"span",78),e.k0s(),e.j41(19,"th"),e.EFF(20," Hired Rate"),e.nrm(21,"span",78),e.k0s(),e.j41(22,"th"),e.EFF(23," Hired Date"),e.nrm(24,"span",78),e.k0s(),e.j41(25,"th"),e.EFF(26,"Recruiter"),e.nrm(27,"span",78),e.k0s(),e.j41(28,"th"),e.EFF(29," Onboarding Status"),e.nrm(30,"span",78),e.k0s(),e.nrm(31,"th"),e.k0s()(),e.DNE(32,Th,3,8,"tbody",61)(33,Gh,4,0,"tbody",61),e.k0s(),e.DNE(34,Mh,1,0,"pagination-controls",114),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("dtOptions",t.dtOptionsHiredContract),e.R7$(31),e.Y8G("ngIf",0!=t.hiredCandidateContractList.length),e.R7$(),e.Y8G("ngIf",0==t.hiredCandidateContractList.length),e.R7$(),e.Y8G("ngIf",0!==(null==t.hiredCandidateContractList?null:t.hiredCandidateContractList.length)&&t.hiredCandidateContractCounter>t.hiredCandidateContractTotalItems)}}function Oh(n,a){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"ul",124,17),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.hiredSelectContent,i)||(l.hiredSelectContent=i),e.Njj(i)}),e.j41(3,"li",29)(4,"a",125),e.EFF(5),e.k0s(),e.DNE(6,Ch,35,4,"ng-template",31),e.k0s(),e.j41(7,"li",29)(8,"a",125),e.EFF(9),e.k0s(),e.DNE(10,Sh,35,4,"ng-template",31),e.k0s()(),e.nrm(11,"div",34),e.k0s()}if(2&n){const t=e.sdS(2),o=e.XpG();e.R7$(),e.R50("activeId",o.hiredSelectContent),e.R7$(2),e.Y8G("ngbNavItem",61),e.R7$(2),e.SpI(" ",o.hiredCandidateFulltimeCounter," Full time "),e.R7$(2),e.Y8G("ngbNavItem",62),e.R7$(2),e.SpI(" ",o.hiredCandidateContractCounter," Contract "),e.R7$(2),e.Y8G("ngbNavOutlet",t)}}function $h(n,a){if(1&n){const t=e.RV6();e.j41(0,"img",135),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(4);return e.Njj(l.reminderVideoInterview(null==i?null:i.jobseeker_id))}),e.k0s()}}function Ph(n,a){1&n&&(e.j41(0,"span",112),e.EFF(1,"Not Registered"),e.k0s())}function Nh(n,a){1&n&&(e.j41(0,"span",110),e.EFF(1,"Registered"),e.k0s())}function Yh(n,a){1&n&&(e.j41(0,"span",112),e.EFF(1,"Not Completed"),e.k0s())}function Vh(n,a){1&n&&(e.j41(0,"span",110),e.EFF(1,"Completed"),e.k0s())}function Jh(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function Xh(n,a){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td")(4,"div",68)(5,"span"),e.EFF(6),e.k0s(),e.DNE(7,$h,1,0,"img",133),e.k0s()(),e.j41(8,"td"),e.EFF(9),e.nI1(10,"titlecase"),e.nI1(11,"titlecase"),e.k0s(),e.j41(12,"td"),e.EFF(13),e.k0s(),e.j41(14,"td"),e.DNE(15,Ph,2,0,"span",134)(16,Nh,2,0,"span",127),e.k0s(),e.j41(17,"td"),e.DNE(18,Yh,2,0,"span",134)(19,Vh,2,0,"span",127)(20,Jh,2,0,"span",61),e.k0s()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(4);e.R7$(2),e.JRh(o+i.videoInterviewJsData.from),e.R7$(4),e.JRh(null==t?null:t.jobseeker_email),e.R7$(),e.Y8G("ngIf",!(null!=t&&t.jobseeker_detail)),e.R7$(2),e.SpI(" ",null!=t&&t.jobseeker_detail?e.bMT(10,10,null==t?null:t.jobseeker_detail.first_name)+" "+e.bMT(11,12,null==t?null:t.jobseeker_detail.last_name):"-"," "),e.R7$(4),e.JRh(null==t||null==t.jobtitle?null:t.jobtitle.job_title),e.R7$(2),e.Y8G("ngIf",!(null!=t&&t.jobseeker_detail)),e.R7$(),e.Y8G("ngIf",null==t?null:t.jobseeker_detail),e.R7$(2),e.Y8G("ngIf",0==(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.finish_interview)),e.R7$(),e.Y8G("ngIf",1==(null==t||null==t.jobseeker_detail?null:t.jobseeker_detail.finish_interview)),e.R7$(),e.Y8G("ngIf",!(null!=t&&t.jobseeker_detail))}}function Ah(n,a){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,Xh,21,14,"tr",79),e.nI1(2,"paginate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.videoInterviewJsData.data,e.sMw(4,An,t.videoInterviewTotalItems,t.videoInterviewPage,t.videoInterviewTotal)))}}function Bh(n,a){1&n&&(e.j41(0,"tbody")(1,"tr",105)(2,"td",106),e.EFF(3,"No Record Found"),e.k0s()()())}function qh(n,a){if(1&n&&(e.j41(0,"table",115)(1,"thead")(2,"tr")(3,"th"),e.EFF(4,"Sr No."),e.nrm(5,"span",78),e.k0s(),e.j41(6,"th"),e.EFF(7,"Jobseeker Email"),e.nrm(8,"span",78),e.k0s(),e.j41(9,"th"),e.EFF(10,"Jobseeker Name"),e.nrm(11,"span",78),e.k0s(),e.j41(12,"th"),e.EFF(13,"Jobtitle"),e.nrm(14,"span",78),e.k0s(),e.j41(15,"th"),e.EFF(16,"Status"),e.nrm(17,"span",78),e.k0s(),e.j41(18,"th"),e.EFF(19,"Video Interview"),e.nrm(20,"span",78),e.k0s()()(),e.DNE(21,Ah,3,8,"tbody",61)(22,Bh,4,0,"tbody",61),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("dtOptions",t.dtOptionsVideoInterview),e.R7$(21),e.Y8G("ngIf",0!=(null==t.videoInterviewJsData.data?null:t.videoInterviewJsData.data.length)),e.R7$(),e.Y8G("ngIf",0==(null==t.videoInterviewJsData.data?null:t.videoInterviewJsData.data.length))}}function Lh(n,a){if(1&n){const t=e.RV6();e.j41(0,"pagination-controls",123),e.bIt("pageChange",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.getPage(i,l.activeId))}),e.k0s()}}function Hh(n,a){if(1&n&&(e.j41(0,"div",76),e.DNE(1,qh,23,3,"table",113)(2,Lh,1,0,"pagination-controls",114),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.isShowVideoInterviewTable),e.R7$(),e.Y8G("ngIf",0!==(null==t.videoInterviewJsData.data?null:t.videoInterviewJsData.data.length)&&t.videoInterviewTotal>t.videoInterviewTotalItems)}}function Uh(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",136)(1,"div",137)(2,"ng-select",138),e.bIt("change",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.changeVideoInterviewStatus(i))}),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.videoInterviewStatusId,i)||(l.videoInterviewStatusId=i),e.Njj(i)}),e.bIt("clear",function(){e.eBV(t);const i=e.XpG();return i.videoInterviewStatusId=null,e.Njj(i.getJsVideoInterviewDetail(1))}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("items",t.videoInterviewStatus)("clearable",!0)("searchable",!1),e.R50("ngModel",t.videoInterviewStatusId)}}function zh(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",101),e.EFF(2,"Recruiter Details"),e.k0s(),e.j41(3,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",103)(5,"div",139),e.nrm(6,"img",140),e.k0s(),e.j41(7,"h3",141),e.EFF(8),e.nI1(9,"t
1itlecase"),e.k0s(),e.j41(10,"button",142),e.EFF(11),e.j41(12,"span",143),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.newJobseekerRecData.rec_email))}),e.EFF(13," content_copy "),e.k0s()(),e.j41(14,"p",144),e.EFF(15),e.k0s(),e.j41(16,"div",145)(17,"button",132),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.initiate_chatroom_with_recruiter(i.newJobseekerRecData))}),e.EFF(18," Chat "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("src",t.newJobseekerRecData.rec_profile,e.B4B),e.R7$(2),e.JRh(e.bMT(9,5,t.newJobseekerRecData.rec_name)),e.R7$(3),e.SpI(" ",t.newJobseekerRecData.rec_email," "),e.R7$(4),e.Lme(" ",t.newJobseekerRecData.rec_phone_code," ",t.newJobseekerRecData.rec_phone," ")}}function Qh(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",101),e.EFF(2,"Recruiter Details"),e.k0s(),e.j41(3,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",103)(5,"div",139),e.nrm(6,"img",140),e.k0s(),e.j41(7,"h3",141),e.EFF(8),e.nI1(9,"titlecase"),e.k0s(),e.j41(10,"button",142),e.EFF(11),e.j41(12,"span",143),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.newJobseekerRecData.email))}),e.EFF(13," content_copy "),e.k0s()(),e.j41(14,"p",144),e.EFF(15),e.k0s(),e.j41(16,"div",145)(17,"button",132),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.initiate_chatroom_with_recruiter_activejob(i.newJobseekerRecData))}),e.EFF(18," Chat "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("src",t.newJobseekerRecData.rec_profile,e.B4B),e.R7$(2),e.JRh(e.bMT(9,5,t.newJobseekerRecData.first_name)),e.R7$(3),e.SpI(" ",t.newJobseekerRecData.email," "),e.R7$(4),e.Lme(" ",t.newJobseekerRecData.phone_code," ",t.newJobseekerRecData.phone," ")}}function Wh(n,a){if(1&n&&(e.j41(0,"h4",150),e.EFF(1," Schedule Interview for "),e.j41(2,"span",156),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.jobTitle)}}function Zh(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",157)(1,"h6"),e.EFF(2,"Select Team Member:"),e.k0s(),e.j41(3,"ng-select",158),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG(2);return e.DH7(l.selected_client_persons,i)||(l.selected_client_persons=i),e.Njj(i)}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("items",t.client_persons)("searchable",!1)("closeOnSelect",!1)("hideSelected",!0),e.R50("ngModel",t.selected_client_persons),e.Y8G("multiple",!0)}}function Kh(n,a){if(1&n&&(e.j41(0,"div",159),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.dateTimeError," ")}}function e0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h4",146),e.EFF(2),e.k0s(),e.j41(3,"button",102),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",147),e.DNE(5,Wh,4,1,"h4",148)(6,Zh,4,6,"div",149),e.j41(7,"div",150)(8,"h6"),e.EFF(9,"Availability Date :"),e.k0s(),e.j41(10,"div",151)(11,"input",152),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dateTime,i)||(l.dateTime=i),e.Njj(i)}),e.bIt("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.onDateTimeChange(i))}),e.k0s(),e.nrm(12,"owl-date-time",153,19),e.DNE(14,Kh,2,1,"div",154),e.k0s()(),e.j41(15,"button",155),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add_js_interview())}),e.EFF(16," Set Interview "),e.k0s()()}if(2&n){const t=e.sdS(13),o=e.XpG();e.R7$(2),e.JRh(o.setModalHead),e.R7$(3),e.Y8G("ngIf",o.jobTitle),e.R7$(),e.Y8G("ngIf","CP"!=o.clientProfileData.user_type),e.R7$(5),e.R50("ngModel",o.dateTime),e.Y8G("min",o.todayDate)("owlDateTime",t)("owlDateTimeTrigger",t),e.R7$(),e.Y8G("stepMinute",30)("hour12Timer",!0),e.R7$(2),e.Y8G("ngIf",o.dateTimeError),e.R7$(),e.Y8G("disabled",o.dateTimeError)}}function t0(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Rate is required. "),e.k0s())}function n0(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Enter numeric value "),e.k0s())}function i0(n,a){if(1&n&&(e.j41(0,"div",180),e.DNE(1,t0,2,0,"div",181)(2,n0,2,0,"div",181),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.required),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.errors.pattern)}}function o0(n,a){1&n&&(e.j41(0,"div",185)(1,"i",186),e.EFF(2,"warning"),e.k0s(),e.EFF(3," End date must be greater. "),e.k0s())}function l0(n,a){if(1&n&&(e.j41(0,"div",183),e.DNE(1,o0,4,0,"div",184),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.hired_start_date.errors.isWrongDate)}}function a0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",160),e.EFF(2,"Add Rate"),e.k0s(),e.j41(3,"button",161),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"form",162)(5,"div",147)(6,"div",163)(7,"div",164)(8,"div",165),e.nrm(9,"input",166),e.k0s(),e.DNE(10,i0,3,2,"div",167),e.k0s()(),e.j41(11,"div",168)(12,"div",169)(13,"div",170)(14,"div",171)(15,"input",172,20),e.bIt("dateSelect",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onStartDateSelected())}),e.k0s(),e.j41(17,"button",173),e.bIt("click",function(){e.eBV(t);const i=e.sdS(16);return e.Njj(i.toggle())}),e.j41(18,"span",174),e.EFF(19," calendar_month "),e.k0s()()()()(),e.j41(20,"div",169)(21,"div",170)(22,"div",171)(23,"input",175,21),e.bIt("dateSelect",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onStartDateSelected())}),e.k0s(),e.j41(25,"button",173),e.bIt("click",function(){e.eBV(t);const i=e.sdS(24);return e.Njj(i.toggle())}),e.j41(26,"span",174),e.EFF(27," calendar_month "),e.k0s()()()()()(),e.DNE(28,l0,2,1,"div",176),e.k0s(),e.j41(29,"div",177)(30,"button",178),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(31," Cancel "),e.k0s(),e.j41(32,"button",179),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.set_jobseeker_final_rate())}),e.EFF(33," Submit "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("formGroup",t.js_rate_form),e.R7$(5),e.Y8G("placeholder","Enter Jobseeker Rate ("+t.currencySymbol+")"),e.R7$(),e.Y8G("ngIf",t.js_rate_form.controls.jobseeker_rate.invali
1d&&(t.js_rate_form.controls.jobseeker_rate.dirty||t.js_rate_form.controls.jobseeker_rate.touched)),e.R7$(18),e.Y8G("ngIf",t.js_rate_form.controls.hired_start_date.invalid&&(t.js_rate_form.controls.hired_start_date.dirty||t.js_rate_form.controls.hired_start_date.touched)),e.R7$(4),e.Y8G("disabled",t.js_rate_form.invalid)}}function s0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",160),e.EFF(2),e.k0s(),e.j41(3,"button",187),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",188)(5,"button",178),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",189),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(4==i.status?i.openRatingModal():i.confirmSelect())}),e.EFF(8," Yes "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("Are you sure you want to ",t.statusInText,"?")}}function r0(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Full-Time (",e.bMT(2,1,e.l_i(3,K,null==t?null:t.from,null==t?null:t.to)),") ")}}function c0(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Contract (",e.bMT(2,1,e.l_i(3,K,null==t?null:t.from,null==t?null:t.to)),") ")}}function _0(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.nI1(2,"currencyRange"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Part-Time (",e.bMT(2,1,e.l_i(3,K,null==t?null:t.from,null==t?null:t.to)),") ")}}function d0(n,a){1&n&&(e.j41(0,"li"),e.EFF(1," Remote "),e.k0s())}function p0(n,a){if(1&n&&(e.qex(0),e.DNE(1,r0,3,6,"li",61)(2,c0,3,6,"li",61)(3,_0,3,6,"li",61)(4,d0,2,0,"li",61),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&1==(null==t?null:t.opt)&&(null==t?null:t.from)&&(null==t?null:t.to)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&5==(null==t?null:t.opt)&&(null==t?null:t.from)&&(null==t?null:t.to)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&2==(null==t?null:t.opt)&&(null==t?null:t.from)&&(null==t?null:t.to)&&"null"!=(null==t?null:t.from)&&"null"!=(null==t?null:t.to)&&""!=(null==t?null:t.from)&&""!=(null==t?null:t.to)),e.R7$(),e.Y8G("ngIf",(null==t?null:t.opt)==(null==o.jobseekerData?null:o.jobseekerData.job_availability)&&3==(null==t?null:t.opt))}}function u0(n,a){if(1&n&&(e.j41(0,"div",197)(1,"div",198)(2,"span",217),e.EFF(3," work_outline "),e.k0s(),e.j41(4,"ul",218),e.DNE(5,p0,5,4,"ng-container",79),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(5),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.avaliability_opt_range)}}function m0(n,a){if(1&n&&(e.j41(0,"span",98),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.SpI(" ",t," ")}}function g0(n,a){1&n&&e.nrm(0,"img",233)}function b0(n,a){1&n&&e.nrm(0,"img",234)}function f0(n,a){1&n&&e.nrm(0,"img",235)}function h0(n,a){1&n&&e.nrm(0,"img",236)}function v0(n,a){1&n&&e.nrm(0,"img",237)}function k0(n,a){1&n&&e.nrm(0,"img",238)}function j0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",219),e.bIt("click",function(i){const l=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.document_clicked("view_doc",l,i))}),e.j41(1,"div",220),e.DNE(2,g0,1,0,"img",221)(3,b0,1,0,"img",222)(4,f0,1,0,"img",223)(5,h0,1,0,"img",224)(6,v0,1,0,"img",225)(7,k0,1,0,"img",226),e.k0s(),e.j41(8,"div",227)(9,"div",228)(10,"h6",229),e.EFF(11),e.k0s(),e.j41(12,"p",230),e.EFF(13),e.k0s()(),e.j41(14,"a",231),e.bIt("click",function(i){const l=e.eBV(t).$implicit;return e.XpG(2).downloadFile(l),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(15,"i",232),e.EFF(16,"download"),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(2),e.Y8G("ngIf","svg"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","docx"==(null==t?null:t.extension)||"doc"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","jpg"==(null==t?null:t.extension)||"jpeg"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","pdf"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","png"==(null==t?null:t.extension)),e.R7$(),e.Y8G("ngIf","Video url"==(null==t?null:t.display_name)||1==(null==t?null:t.document_type)),e.R7$(4),e.SpI(" ","Video url"===(null==t?null:t.display_name)?"Link":null==t?null:t.display_name," "),e.R7$(2),e.SpI(" ",null==t?null:t.file_size," "),e.R7$(),e.Y8G("href",o.resume_src,e.B4B)}}function C0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",205)(1,"h4",206),e.EFF(2,"Submitted Interviews"),e.k0s(),e.j41(3,"div",239)(4,"div",240)(5,"div",241)(6,"span",242),e.EFF(7," video_camera_front "),e.k0s()(),e.j41(8,"div",243)(9,"h6",244),e.EFF(10),e.k0s(),e.j41(11,"div",68)(12,"a",245),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(2);return e.Njj(l.openFullScreen(i))}),e.EFF(13," Full Interview "),e.k0s(),e.j41(14,"a",99),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(2),s=e.sdS(45);return e.Njj(l.openCondencedModal(s,"medium",i))}),e.EFF(15," Condensed Interview "),e.k0s()()()()()()}if(2&n){const t=a.$implicit;e.R7$(10),e.JRh(null==t?null:t.job_title)}}function y0(n,a){if(1&n&&(e.j41(0,"div",248)(1,"div",249),e.EFF(2),e.k0s(),e.j41(3,"div",250)(4,"h6",251),e.EFF(5),e.nI1(6,"titlecase"),e.k0s(),e.j41(7,"p",252),e.EFF(8),e.nI1(9,"t
1itlecase"),e.k0s()()()),2&n){const t=a.$implicit;e.R7$(2),e.Lme(" ",null==t?null:t.date_from," - ",null==t?null:t.date_to," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,null==t?null:t.school)," "),e.R7$(3),e.SpI(" ",e.bMT(9,6,null==t?null:t.degree)," ")}}function w0(n,a){if(1&n&&(e.j41(0,"div",205)(1,"h4",206),e.EFF(2,"Education"),e.k0s(),e.j41(3,"div",246),e.DNE(4,y0,10,8,"div",247),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.education)}}function x0(n,a){if(1&n&&(e.j41(0,"p",255),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.recruiterNotes," ")}}function F0(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.recruiterNotes.slice(0,400),"... ")}}function R0(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.recruiterNotes," ")}}function D0(n,a){if(1&n){const t=e.RV6();e.j41(0,"p",255),e.DNE(1,F0,2,1,"span",61)(2,R0,2,1,"span",61),e.j41(3,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.isShowFullText=!i.isShowFullText)}),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.isShowFullText),e.R7$(),e.Y8G("ngIf",t.isShowFullText),e.R7$(2),e.SpI(" ",t.isShowFullText?"View Less":"View More"," ")}}function E0(n,a){if(1&n&&(e.j41(0,"div",253)(1,"h4",206),e.EFF(2,"Recruiter Notes"),e.k0s(),e.DNE(3,x0,2,1,"p",254)(4,D0,5,3,"p",254),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.recruiterNotes?null:t.jobseekerData.recruiterNotes.length)<=400),e.R7$(),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.recruiterNotes?null:t.jobseekerData.recruiterNotes.length)>400)}}function I0(n,a){if(1&n&&(e.j41(0,"p",255),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.ai_note," ")}}function T0(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.ai_note.slice(0,400),"... ")}}function G0(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.ai_note," ")}}function M0(n,a){if(1&n){const t=e.RV6();e.j41(0,"p",255),e.DNE(1,T0,2,1,"span",61)(2,G0,2,1,"span",61),e.j41(3,"a",99),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.isShowFullText=!i.isShowFullText)}),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.isShowFullText),e.R7$(),e.Y8G("ngIf",t.isShowFullText),e.R7$(2),e.SpI(" ",t.isShowFullText?"View Less":"View More"," ")}}function S0(n,a){if(1&n&&(e.j41(0,"div",256)(1,"h4",206),e.EFF(2,"AI Notes"),e.k0s(),e.DNE(3,I0,2,1,"p",254)(4,M0,5,3,"p",254),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.ai_note?null:t.jobseekerData.ai_note.length)<=400),e.R7$(),e.Y8G("ngIf",(null==t.jobseekerData||null==t.jobseekerData.ai_note?null:t.jobseekerData.ai_note.length)>400)}}function O0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",160),e.EFF(2,"Jobseeker Details"),e.k0s(),e.j41(3,"button",187),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",188)(5,"div",190)(6,"div",191)(7,"div",192),e.nrm(8,"img",193),e.k0s(),e.j41(9,"div",194)(10,"h2",195),e.EFF(11),e.nI1(12,"titlecase"),e.nI1(13,"titlecase"),e.k0s(),e.j41(14,"div",196)(15,"div",168)(16,"div",197)(17,"div",198)(18,"span",199),e.EFF(19," place "),e.k0s(),e.EFF(20),e.k0s()(),e.j41(21,"div",197)(22,"div",198)(23,"span",199),e.EFF(24," email "),e.k0s(),e.j41(25,"div",68)(26,"a",200),e.EFF(27),e.k0s(),e.j41(28,"button",201),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(null==i.jobseekerData?null:i.jobseekerData.email))}),e.EFF(29," content_copy "),e.k0s()()()(),e.DNE(30,u0,6,1,"div",202),e.j41(31,"div",197)(32,"div",198)(33,"span",199),e.EFF(34," call "),e.k0s(),e.j41(35,"a",203),e.EFF(36),e.k0s()()()()()()(),e.j41(37,"div",204)(38,"div",205)(39,"h4",206),e.EFF(40,"About"),e.k0s(),e.j41(41,"p",207),e.EFF(42),e.k0s()(),e.j41(43,"div",205)(44,"h4",206),e.EFF(45,"Key Skills"),e.k0s(),e.j41(46,"div",96),e.DNE(47,m0,2,1,"span",97),e.k0s()(),e.j41(48,"div",205)(49,"h4",206),e.EFF(50,"Profile Link"),e.k0s(),e.j41(51,"div",96)(52,"div",52)(53,"a",208),e.EFF(54),e.k0s(),e.j41(55,"div",209)(56,"i",210),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyMessage(i.shareJobseekerLink))}),e.EFF(57,"content_copy"),e.k0s()()()()(),e.j41(58,"div",205)(59,"h4",206),e.EFF(60,"Documents"),e.k0s(),e.j41(61,"div",211),e.DNE(62,j0,17,9,"div",212),e.k0s()(),e.DNE(63,C0,16,1,"div",213)(64,w0,5,1,"div",214)(65,E0,5,2,"div",215)(66,S0,5,2,"div",216),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(8),e.Y8G("src",null!=t.jobseekerData&&t.jobseekerData.profile?null==t.jobseekerData?null:t.jobseekerData.profile:null==t.jobseekerData?null:t.jobseekerData.anonymous_profile,e.B4B),e.R7$(3),e.Lme(" ",e.bMT(12,20,null==t.jobseekerData?null:t.jobseekerData.first_name)," ",e.bMT(13,22,null==t.jobseekerData?null:t.jobseekerData.last_name)," "),e.R7$(9),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.current_location," "),e.R7$(6),e.Mz_("href","mailTo:",null==t.jobseekerData?null:t.jobseekerData.email,"",e.B4B),e.R7$(),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.email," "),e.R7$(3),e.Y8G("ngIf",null!=(null==t.jobseekerData?null:t.jobseekerData.avaliability)&&""!=(null==t.jobseekerData?null:t.jobseekerData.avaliability)&&null!=(null==t.jobseekerData?null:t.jobseekerData.job_availability)&&""!=(null==t.jobseekerData?null:t.jobseekerData.job_availability)&&"null"!=(null==t.jobseekerData?null:t.jobseekerData.job_availability)&&null==(null==t.jobseekerData?null:t.jobseekerData.hired_start_date)&&t.hasMatchingAvailabilityTypeInModal(t.jobseekerData)),e.R7$(5),e.Mz_("href","tel:",(null==t.jobseekerData?null:t.jobseekerData.phone_code)+(null==t.jobseekerData?null:t.jobseekerData.phone),"",e.B4B),e.R7$(),e.JRh((null==t.jobseekerData?null:t.jobseekerData.phone_code)+" "+(null==t.jobseekerData?null:t.jobseekerData.phone)),e.R7$(6),e.SpI(" ",null==t.jobseekerData?null:t.jobseekerData.overview," "),e.R7$(5),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.skill_name),e.R7$(6),e.FS9("href",t.shareJobseekerLink,e.B4B),e.R7$(),e.JRh(t.shareJobseekerLink),e.R7$(8),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.documents),e.R7$(),e.Y8G("ngForOf",null==t.jobseekerData?null:t.jobseekerData.video_interview),e.R7$(),e.Y8G("ngIf",0!=(null==t.jobseekerData||null==t.jobseekerData.education?null:t.jobseekerData.education.length)),e.R7$(),e.Y8G("ngIf",null!=(null==t.jobseekerData?null:t.jobseekerData.recruiterNotes)&&""!=(null==t.jobseekerData?null:t.jobseekerData.recruiterNotes)),e.R7$(),e.Y8G("ngIf",null!=(null==t.jobseekerData?null:t.jobseekerData.ai_note)&&""!=(null==t.jobseekerData?null:t.jobseekerData.ai_note))}}function $0(n,a){if(1&n&&(e.nrm(0,"iframe",263),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src+"#toolbar=1&navpanes=0&scrollbar=0&view=FitH"),e.f$h)}}function P0(n,a){if(1&n&&e.nrm(0,"img",264),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function N0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",257),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",258),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",242),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",259)(8,"div",260),e.DNE(9,$0,2,3,"iframe",261)(10,P0,1,1,"img",262),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function Y0(n,a){if(1&n&&(e.nrm(0,"iframe",263),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src+"#toolbar=1&navpanes=0&scrollbar=0&view=FitH"),e.f$h)}}function V0(n,a){if(1&n&&e.nrm(0,"img",264),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function J0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",257),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",258),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",242),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",259)(8,"div",260),e.DNE(9,Y0,2,3,"iframe",261)(10,V0,1,1,"img",262),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function X0(n,a){if(1&n&&(e.nrm(0,"iframe",263),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.visa_proof_src+"#toolbar=1&navpanes=0&scrollbar=0&view=FitH"),e.f$h)}}function A0(n,a){if(1&n&&e.nrm(0,"img",264),2&n){const t=e.XpG(2);e.FS9("src",t.visa_proof_src,e.B4B)}}function B0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",257),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",258),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.visa_proof_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",242),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",259)(8,"div",260),e.DNE(9,X0,2,3,"iframe",261)(10,A0,1,1,"img",262),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.visa_proof_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function q0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",257),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",258),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",242),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",259),e.nrm(8,"ngx-doc-viewer",265),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(5),e.Y8G("url",t.resume_src)}}function L0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",266),e.EFF(2,"Condensed Interview"),e.k0s(),e.j41(3,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",267)(5,"div",68)(6,"video",268,22),e.nrm(8,"source",269),e.k0s()()(),e.j41(9,"div",270)(10,"button",271),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openFullScreen(i.prevVideoCheck))}),e.EFF(11," Go To Full Interview "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(8),e.Y8G("src",null==t.prevVideoCheck?null:t.prevVideoCheck.videoCheck,e.B4B)}}function H0(n,a){if(1&n){const t=e.RV6();e.j41(0,"li",288),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=i.$implicit,s=i.index,_=e.XpG().index,p=e.XpG(2);return e.Njj(p.show_video(l.id,l,_,s))}),e.j41(1,"div",289),e.EFF(2),e.k0s(),e.j41(3,"div",290)(4,"div",291),e.EFF(5),e.k0s(),e.j41(6,"div",292),e.EFF(7),e.k0s()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index,l=e.XpG().index,s=e.XpG(2);e.STu("h4 sub-grp inner-panel-",l,"-",i,""),e.AVh("vid-active",s.activeQuestion==o.id),e.R7$(2),e.SpI("",i+1,"."),e.R7$(3),e.SpI(" ",null==o?null:o.question_name," "),e.R7$(2),e.SpI(" Answer Length: ",null==o?null:o.video_time," minutes ")}}function U0(n,a){if(1&n&&(e.qex(0),e.DNE(1,H0,8,9,"li",287),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",t&&t.id)}}function z0(n,a){if(1&n&&(e.j41(0,"div",285)(1,"div",286)(2,"h2",66)(3,"button",67)(4,"div",68)(5,"span",69),e.EFF(6," keyboard_arrow_down "),e.k0s(),e.j41(7,"div",70)(8,"h6",121),e.EFF(9),e.k0s()()()()(),e.j41(10,"div",72)(11,"div",73)(12,"ul",74),e.DNE(13,U0,2,1,"ng-container",79),e.k0s()()()()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(2);e.Mz_("id","panel-",o,""),e.Y8G("closeOthers",!0)("activeIds",i.activeIds),e.R7$(),e.Mz_("id","config-panel-",o,""),e.R7$(8),e.JRh(t.key),e.R7$(4),e.Y8G("ngForOf",t.value)}}function Q0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",160),e.EFF(2,"Full Interview"),e.k0s(),e.j41(3,"button",187),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",147)(5,"section",272)(6,"div",273)(7,"div",274),e.qex(8),e.j41(9,"div",275)(10,"div"),e.DNE(11,z0,14,8,"div",276),e.nI1(12,"keyvalue"),e.k0s()(),e.j41(13,"div",277)(14,"button",278),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(15," Back "),e.k0s(),e.j41(16,"button",271),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=e.sdS(45);return e.Njj(i.checkAlreadyOpenedModal(l))}),e.EFF(17," Go To Condensed Interview "),e.k0s()(),e.bVm(),e.k0s(),e.j41(18,"div",279)(19,"div",280)(20,"a",281),e.nrm(21,"img",282),e.k0s()(),e.j41(22,"video",283,23),e.nrm(24,"source",284),e.k0s()()()()()}if(2&n){const t=e.XpG();e.R7$(11),e.Y8G("ngForOf",e.bMT(12,2,t.allQueData)),e.R7$(13),e.Y8G("src",t.video_path,e.B4B)}}function W0(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",104),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=a.$implicit;e.R7$(2),e.SpI(" ",t.skill_name," ")}}function Z0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",101),e.EFF(2,"Skills"),e.k0s(),e.j41(3,"button",102),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(4,"div",103)(5,"div",96),e.DNE(6,W0,3,1,"ng-container",79),e.k0s()()}if(2&n){const t=e.XpG();
1e.R7$(6),e.Y8G("ngForOf",t.jobseekerSkill)}}function K0(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",160),e.EFF(2,"Introduction"),e.k0s(),e.j41(3,"button",161),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.k0s()(),e.j41(4,"div",147)(5,"div"),e.nrm(6,"p",293),e.k0s()(),e.j41(7,"div",294)(8,"button",132),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.EFF(9,"Close"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("innerHtml",t.jobseekerDesc,e.npT)}}function e2(n,a){if(1&n&&e.nrm(0,"i",303),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function t2(n,a){if(1&n&&(e.j41(0,"i",301),e.DNE(1,e2,1,2,"i",302),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function n2(n,a){if(1&n&&(e.j41(0,"span",304)(1,"span",305),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function i2(n,a){if(1&n&&e.nrm(0,"i",303),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function o2(n,a){if(1&n&&(e.j41(0,"i",301),e.DNE(1,i2,1,2,"i",302),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function l2(n,a){if(1&n&&(e.j41(0,"span",304)(1,"span",305),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function a2(n,a){if(1&n&&e.nrm(0,"i",303),2&n){const t=e.XpG().fill;e.xc7("width",t,"%")}}function s2(n,a){if(1&n&&(e.j41(0,"i",301),e.DNE(1,a2,1,2,"i",302),e.k0s()),2&n){const t=a.fill;e.R7$(),e.Y8G("ngIf",t>0)}}function r2(n,a){if(1&n&&(e.j41(0,"span",304)(1,"span",305),e.EFF(2,"\u2605"),e.k0s()()),2&n){const t=a.fill;e.AVh("full",100===t),e.R7$(),e.xc7("width",t,"%")}}function c2(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",100)(1,"h3",160),e.EFF(2,"FeedBack"),e.k0s(),e.j41(3,"button",161),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",147)(5,"ul",295)(6,"li",296)(7,"h5",255),e.EFF(8,"1. What is UX Design?"),e.k0s(),e.DNE(9,t2,2,1,"ng-template",null,24,e.C5r),e.j41(11,"ngb-rating",297),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate1,i)||(l.currentRate1=i),e.Njj(i)}),e.DNE(12,n2,3,4,"ng-template"),e.k0s()(),e.j41(13,"li",296)(14,"h5",255),e.EFF(15,"2. How can we use in background erase tool ?"),e.k0s(),e.DNE(16,o2,2,1,"ng-template",null,24,e.C5r),e.j41(18,"ngb-rating",297),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate2,i)||(l.currentRate2=i),e.Njj(i)}),e.DNE(19,l2,3,4,"ng-template"),e.k0s()(),e.j41(20,"li",296)(21,"h5"),e.EFF(22,"3. What is Java?"),e.k0s(),e.DNE(23,s2,2,1,"ng-template",null,24,e.C5r),e.j41(25,"ngb-rating",297),e.mxI("rateChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.currentRate3,i)||(l.currentRate3=i),e.Njj(i)}),e.DNE(26,r2,3,4,"ng-template"),e.k0s()(),e.j41(27,"li",296)(28,"h5"),e.EFF(29,"4. Comments.."),e.k0s(),e.j41(30,"div",298)(31,"textarea",299),e.mxI("ngModelChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.feedbackNotes,i)||(l.feedbackNotes=i),e.Njj(i)}),e.k0s()()()()(),e.j41(32,"div",294)(33,"button",300),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.confirmSelect())}),e.EFF(34," Submit "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(11),e.Y8G("max",5),e.R50("rate",t.currentRate1),e.Y8G("readonly",!1),e.R7$(7),e.Y8G("max",5),e.R50("rate",t.currentRate2),e.Y8G("readonly",!1),e.R7$(7),e.Y8G("max",5),e.R50("rate",t.currentRate3),e.Y8G("readonly",!1),e.R7$(6),e.R50("ngModel",t.feedbackNotes),e.R7$(2),e.Y8G("disabled",""==t.feedbackNotes.trim()||0==t.currentRate1||0==t.currentRate2||0==t.currentRate3)}}let _2=(()=>{class n{modalService;clientService;location;globals;router;errorHandler;chatService;changeDetector;GlobalServiceService;NotificationService;fb;activeRoute;common;authService;toastr;http;navigationService;currencyService;countryLocalizeService;groupDataSubscription=null;dtOptions={};dtOptionsSubmitted={};dtOptionsShortlisted={};dtOptionsScheduled={};dtOptionsHired={};dtOptionsNotSelected={};dtOptionsUpcomingInterviews={};dtOptionsHiredFulltime={};dtOptionsHiredContract={};dtOptionsVideoInterview={};dashSelectedContent=1;hiredSelectContent=61;activeJobApplicantTab=11;activeId=0;jobDetail;activeJobIndex;activeIds=[];country="";activeJobs=[];deactiveJobs=[];js_rate_form;newJobseekerList=[];newJobseekerRecData;newJobseekerCounter;newJobseekerPage;newJobseekerTotalItems=10;newJobseekerTotal;upcomingInterviewsList=[];upcomingInterviewCounter;upcomingInterviewsPage;upcomingInterviewsTotalItems=10;upcomingInterviewsTotal;hiredCandidateFulltimeList=[];hiredCandidatesCounter;hiredCandidateFulltimePage;hiredCandidateFulltimeTotalItems=10;hiredcandidateTotal;hiredCandidateContractList=[];hiredCandidateContractPage;hiredCandidateContractTotalItems=10;hiredCandidateContractCounter;hiredCandidateFulltimeCounter;submittedActiveJobs=[];shortlistedActiveJobs=[];hiredActiveJobs=[];notSelectedActiveJobs=[];scheduledActiveJobs=[];selectedCalculation=[];singleJsDetail;clientProfileData;activeJobId;activeStatus=5;activejobStatus=5;jobTitle;client_persons=[];selected_client_persons=[];jobseekerSkill=[];videoInterviewJsData=[];videoInterviewPage=1;videoInterviewCounter;videoInterviewTotalItems=15;videoInterviewTotal;videoInterviewStatusId;jobseekerDesc="";setModalHead="";today;jobseekerId;jobseeker_detail;applyId;status;closeResult="";docExtension;resume_src;document_type_array=["doc","docx","pdf"];visa_proof_src="";dateFormat="";timeFormat1="";timeFormat2="";searchText;statusInText;candidateForm;statusData="";allQueData={};video_path="";activeQuestion;notSelectedCount=0;submittedCount=0;scheduledCount=0;shortlistedCount=0;hiredCount=0;isShowJobs=!1;jobTableActive=!1;isShowVideoInterviewTable=!1;jobAllData;jobseekerData;checkPreviousJobFlag=!1;prevVideoCheck;modalReference;showModalData=!1;isShowFullText=!1;panelId="open-Acc-1";currentRate1=0;currentRate2=0;currentRate3=0;fill=0;feedbackNotes="";dateTime;todayDate=new Date;dateTimeError=null;shareJobseekerLink;videoElement;videoElementFullInterview;
1skillModal;dtElement;RecruiterDetailsModal;ngSelectComponent;cofirmationModal;resume_show;visa_proof_show;showDocsModal;fullInterviewModal;vidPreviewModal;ratingModal;submittedData=[{id:1,name:"Shortlisted"},{id:4,name:"Not Selected"}];shortlistedData=[{id:2,name:"Scheduled"},{id:4,name:"Not Selected"}];scheduledData=[{id:3,name:"Hired"},{id:4,name:"Not Selected"},{id:2,name:"Re-Scheduled"}];hiredData=[{id:3,name:"Hired"}];videoInterviewStatus=[{id:1,name:"Registered"},{id:2,name:"Not Registered"},{id:3,name:"Complete Video interview"},{id:4,name:"Incomplete Video interview"}];constructor(t,o,i,l,s,_,p,u,b,f,C,w,I,X,T,P,A,W,he){this.modalService=t,this.clientService=o,this.location=i,this.globals=l,this.router=s,this.errorHandler=_,this.chatService=p,this.changeDetector=u,this.GlobalServiceService=b,this.NotificationService=f,this.fb=C,this.activeRoute=w,this.common=I,this.authService=X,this.toastr=T,this.http=P,this.navigationService=A,this.currencyService=W,this.countryLocalizeService=he,this.country=this.countryLocalizeService.getCountryCode(),this.js_rate_form=this.fb.group({jobseeker_rate:["",[g.k0.required,g.k0.pattern(/^-?(0|[1-9]\d*)?$/)]],jobseeker_id:["",g.k0.required],hired_start_date:["",g.k0.required],hired_end_date:["",g.k0.required]}),this.candidateForm=this.fb.group({submitted:[""],scheduled:[""],shortlisted:[""]}),this.candidateForm.controls.submitted.setValue({id:null,name:"Submitted"}),this.candidateForm.controls.scheduled.setValue({id:null,name:"Scheduled"}),this.candidateForm.controls.shortlisted.setValue({id:null,name:"Shortlisted"})}ngOnInit(){this.clientProfileData=JSON.parse(localStorage.getItem("CR_PREF")),this.todayDate=this.roundToNextInterval(new Date,30),this.common.isDeletedUser().subscribe(o=>{1==o.ResponseCode&&(this.toastr.info(o.ResponseText),setTimeout(()=>{this.authService.logout()},1e3))}),this.dtOptions={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"}},this.dtOptionsSubmitted={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsShortlisted={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsScheduled={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsHired={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsNotSelected={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Jobseeker",orderable:!1},{title:"Email",orderable:!1},{title:"Phone",orderable:!1},{title:"Location",orderable:!1},{title:"Submitted On",orderable:!1},{title:"Rate",orderable:!1},{title:"Skills",orderable:!1},{title:"Interview Date",orderable:!1},{title:"Recruiter",orderable:!1},{title:"Status",orderable:!1}]},this.dtOptionsUpcomingInterviews={info:!1,searching:!1,paging:!1,order:[[6,"asc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Job Title"},{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Rate"},{title:"Interview Date"},{title:"Recruiter"}],columnDefs:[{targets:6,type:"date"}]},this.dtOptionsHiredFulltime={info:!1,searching:!1,paging:!1,order:[[6,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Job Title"},{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Hired Rate"},{title:"Hired Date"},{title:"Recruiter"},{title:"Onboarding Status"},{title:"",orderable:!1}],columnDefs:[{targets:6,type:"date"}]},this.dtOptionsHiredContract={info:!1,searching:!1,paging:!1,order:[[6,"desc"]],language:{emptyTable:"No Record Found"},columns:[{title:"Job Title"},{title:"Jobseeker"},{title:"Email"},{title:"Phone"},{title:"Location"},{title:"Hired Rate"},{title:"Hired Date"},{title:"Recruiter"},{title:"Onboarding Status"},{title:"",orderable:!1}],columnDefs:[{targets:6,type:"date"}]},this.dtOptionsVideoInterview={info:!1,searching:!1,paging:!1,order:[],language:{emptyTable:"No Record Found"},columns:[{title:"Sr No."},{title:"Jobseeker Email"},{title:"Jobseeker Name"},{title:"Jobtitle"},{title:"Status"},{title:"Video Interview"}]},this.globals.loading=!0,(0,Xe.p)([this.newJobseeker(1),this.upcomingInterviews(1),this.getAllJobList(),this.get_client_person(),this.getJsVideoInterviewDetail(1),this.getDashboardCounter()]).subscribe({next:()=>{this.globals.loading=!1},error:o=>{this.globals.loading=!1,this.errorHandler.handleError(o)}});let t=Number(this.activeRoute.snapshot.queryParamMap.get("activeId"));0!=t?(this.getActiveId(1,t),this.dashSelectedContent=t+1):this.dashSelectedContent=1}roundToNextInterval(t,o){const i=new Date(t),l=60*o*1e3;return i.setTime(Math.ceil(i.getTime()/l)*l),i}get currencySymbol(){return this.currencyService.getCurrencySymbol()}getClientCommissionPercent(){const t=Number(this.globals?.cloudrek_commission);return Number.isFinite(t)?t:0}formatTooltipCurrency(t){return`${this.currencySymbol}${new Intl.NumberFormat("en-US",{minimumFractionDigits:0,maximumFractionDigits:2}).format(t)}`}getRateTooltip(t){const o=Number(t);if(!Number.isFinite(o))return"";const i=this.getClientCommissionPercent(),l=o*i/100,s=o+l,_={jobseeker:"Jobseeker Rate:",cloudrek:`CloudRek Fee (${i}%):`,total:"Total Rate:"},p=Math.max(...Object.values(_).map(u=>u.length))+1;return[`${_.jobseeker.padEnd(p)}${this.formatTooltipCurrency(o)}`,`${_.cloudrek.padEnd(p)}${this.formatTooltipCurrency(l)}`,`${_.total.padEnd(p)}${this.formatTooltipCurrency(s)}`].join("\n")}compareWithStatus(t,o){return null!=t&&null!=o&&t.id===o.id}activeJobsClick(){this.navigationService.navigate(["client","offshore-dashboard"],this.activeRoute)}openCondencedModal(t,o,i){var l=this;return(0,j.A)(function*(){l.modalService.dismissAll(),l.prevVideoCheck=i,yield l.modalService.open(t,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"})})()}open(t,o){this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`})}openFullScreen(t){var o=this;return(0,j.A)(function*(){o.modalService.dismissAll(),o.prevVideoCheck=t;let i={jobseeker_id:o.jobseekerId,skill_id:t.skill_id,job_id:t.job_id};o.globals.loading=!0,yield o.clientService.getAllVideoDetails(i).subscribe(function(){var l=(0,j.A)(function*(s){o.globals.loading=!1;const _=s.ResponseData||{};o.allQueData=Object.keys(_).reduce((b,f)=>{const C=Array.isArray(_[f])?_[f]:[];return b[f]=C.filter(w=>w&&null!=w.id),b},{});let p=Object.keys(o.allQueData)[0];const u=o.allQueData[p];u&&u.length&&(o.video_path=u[0].video,o.activeQuestion=u[0].id),o.modalReference=o.modalService.open(o.fullInterviewModal,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"}),o.activeIds=["config-panel-0"],setTimeout(()=>{$(".inner-panel-0-0").addClass("vid-active")},500)});return function(s){return l.apply(this,arguments)}}())})()}openModal(t,o){this.jobseekerSkill=t,this.modalService.open(o,{centered:!0,windowClass:"cr-custom-modal modal-small"})}openDescModal(t,o){this.jobseekerDesc=t,this.modalService.open(o,{centered:!0,windowClass:"cr-custom-modal modal-small"})}checkAlreadyOpenedModal(t){this.modalService.dismissAll(),this.modalReference=this.modalService.open(this.vidPreviewModal,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"})}show_video(t,o,i,l){this.modalService.dismissAll(),this.modalService.open(this.fullInterviewModal,{centered:!0,windowClass:"cr-custom-modal modal-fullscreen"}),this.video_path=o.video,this.activeIds=["config-panel-"+i],$(".sub-grp").removeClass("vid-active"),setTimeout(()=>{$(`.inner-panel-${i}-${l}`).addClass("vid-active")},500)}openJobseekerDetailsModal(t,o,i){var l=this;this.isShowFullText=!1;let s={jobseeker_id:o,job_id:i};this.jobseekerId=o,this.globals.loading=!0,this.clientService.get_candidate_profile(s).subscribe(function(){var _=(0,j.A)(function*(p){l.globals.loading=!1,l.jobseekerData=p.ResponseData,yield p.ResponseData.jobpost_apply.forEac
1h(u=>{u.job_id==l.activeJobId&&(l.jobseekerData.recruiterNotes=u.recruiter_notes)}),l.shareJobseekerLink=l.navigationService.redirectUrl()+"/shared/"+l.jobseekerData.unique_user_name,l.modalService.open(t,{centered:!0,scrollable:!0,windowClass:"cr-custom-modal modal-large"})});return function(p){return _.apply(this,arguments)}}())}getPage(t,o,i){this.globals.loading=!0,1==o?(this.newJobseekerPage=t,this.newJobseeker(this.newJobseekerPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):2==o?(this.upcomingInterviewsPage=t,this.upcomingInterviews(this.upcomingInterviewsPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):3==o?1==i?(this.hiredCandidateFulltimePage=t,this.hiredCandidate(this.hiredCandidateFulltimePage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):0==i&&(this.hiredCandidateContractPage=t,this.hiredCandidate(this.hiredCandidateContractPage,"contract").subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):4==o&&(this.videoInterviewPage=t,this.getJsVideoInterviewDetail(this.videoInterviewPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1}))}setDate(t,o){o.toLocaleString("en-us",{weekday:"long"});let l=R()(o).format("YYYY-MM-DD"),s=R()(o).format("hh:mm A"),_=R()(o).format("hh:mm A");this.dateFormat=l,this.timeFormat1=s,this.timeFormat2=_}newJobseeker(t){return this.clientService.getDashboardJobCandidates({page:t=t||1}).pipe((0,H.M)(i=>{this.newJobseekerCounter=i.ResponseData.jobpost_apply.total,1==i.ResponseCode&&(this.newJobseekerList=i.ResponseData.jobpost_apply.data,this.newJobseekerPage=i.ResponseData.jobpost_apply.current_page,this.newJobseekerTotalItems=i.ResponseData.jobpost_apply.per_page,this.newJobseekerTotal=i.ResponseData.jobpost_apply.total)},i=>{this.errorHandler.handleError(i)}))}showRecruiterDetail(t){this.newJobseekerRecData=t}contentLoaded(){document.getElementById("progressBar").style.display="none"}copyMessage(t){const o=document.createElement("textarea");o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.opacity="0",o.value=t,document.body.appendChild(o),o.focus(),o.select(),document.execCommand("copy"),document.body.removeChild(o),this.toastr.success(t+" copy to clipboard")}upcomingInterviews(t){return this.clientService.getDashboardUpcomingInterviews({page:t,is_offshore:1}).pipe((0,H.M)(i=>{1==i.ResponseCode?(this.upcomingInterviewsList=i.ResponseData.upcoming_interviews.data,this.upcomingInterviewsPage=i.ResponseData.upcoming_interviews.current_page,this.upcomingInterviewsTotalItems=i.ResponseData.upcoming_interviews.per_page,this.upcomingInterviewsTotal=i.ResponseData.upcoming_interviews.total):this.toastr.error(i.ResponseText)},i=>{this.errorHandler.handleError(i)}))}hiredCandidate(t,o){let i={page:t,is_offshore:1};return i.type=null==o?"full_time":"contract",this.clientService.getDashboardHiredCandidate(i).pipe((0,H.M)(l=>{if(1==l.ResponseCode){let s=l.ResponseData.hired_candidate.data;"full_time"===i.type?(this.hiredCandidateFulltimeCounter=l.ResponseData.hired_candidate.total,this.hiredCandidateFulltimeList=s,this.hiredCandidateFulltimePage=l.ResponseData.hired_candidate.current_page,this.hiredCandidateFulltimeTotalItems=l.ResponseData.hired_candidate.per_page):(this.hiredCandidateContractCounter=l.ResponseData.hired_candidate.total,this.hiredCandidateContractList=s,this.hiredCandidateContractPage=l.ResponseData.hired_candidate.current_page,this.hiredCandidateContractTotalItems=l.ResponseData.hired_candidate.per_page)}else this.toastr.error(l.ResponseText)},l=>{this.errorHandler.handleError(l)}))}getActiveId(t,o){let i={activeId:o,page:t};this.activeId=o;const l={};
1Object.keys(i).forEach(s=>{l[s]=i[s]}),this.navigationService.navigate("/client/offshore-dashboard",this.activeRoute,{queryParams:l}),this.globals.loading=!0,1==o&&this.newJobseeker(this.newJobseekerPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1}),2==o&&this.upcomingInterviews(this.upcomingInterviewsPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1}),3==o&&(0,Xe.p)([this.hiredCandidate(this.hiredCandidateFulltimePage),this.hiredCandidate(this.hiredCandidateContractPage,"contract")]).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1}),4==o&&this.getJsVideoInterviewDetail(this.videoInterviewPage).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})}encode_base64(t){return btoa(t)}initiate_chatroom(t,o,i){var l=this;return(0,j.A)(function*(s,_,p,u=0,b=null,f=0){let C=JSON.parse(localStorage.getItem("CR_PREF")),w={jobseeker_user_id:s,job_id:_,friendly_name:p,js_anonymous:u,initiated_by:C.user_id};0!=f&&(w.external_recruiter_user_id=f),1==w.js_anonymous&&(w.js_anonymous_name=b),"CP"==C.user_type||"cp"==C.user_type?(w.client_person_user_id=C.user_id,w.client_user_id=C.company_user_id):w.client_user_id=C.user_id,yield l.chatService.initiate_chat(w),l.groupDataSubscription&&(l.groupDataSubscription.unsubscribe(),l.groupDataSubscription=null),l.groupDataSubscription=l.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(I=>{setTimeout(()=>{l.navigationService.navigate("/client/messages",l.activeRoute,{queryParams:{unique_id:btoa(I.unique_id)}}),l.modalService.dismissAll()},1e3)},I=>{l.globals.loading=!1,l.errorHandler.handleError(I)})}).apply(this,arguments)}getAllJobList(){return this.clientService.getAllJobList({is_offshore:1}).pipe((0,H.M)(o=>{this.activeJobs=o.ResponseData.active_jobs,this.deactiveJobs=o.ResponseData.deactive_jobs,this.activeJobId=o.ResponseData.active_jobs[0]?.job_id,this.jobAllData=o.ResponseData.active_jobs[0],$(".active-job-0").addClass("active-job"),this.activeJobIndex=0,this.isShowJobs=!0,this.setCandidateCount(o.ResponseData.active_jobs[0]?.job_id),this.globals.is_offshore_client||(this.navigationService.navigate("client/dashboard",this.activeRoute),this.toastr.info("Offshore dashboard is not available at this time."))},o=>{this.errorHandler.handleError(o)}))}setCandidateCount(t){var o=this;return(0,j.A)(function*(){let i={job_id:t};yield o.clientService.setCandidateCount(i).subscribe(function(){var l=(0,j.A)(function*(s){o.notSelectedCount=s.ResponseData.RejectedCount,o.hiredCount=s.ResponseData.hiredCount,o.submittedCount=s.ResponseData.client_submit_Count,o.scheduledCount=s.ResponseData.scheduledCount,o.shortlistedCount=s.ResponseData.shortlistCount,o.activeJobs[o.activeJobIndex].status_count=s.ResponseData.status_count,0==s.ResponseData.client_submit_Count?(o.activeJobApplicantTab=22,yield o.allShortlistedCandidatesList(t,1),0==s.ResponseData.shortlistCount&&(o.activeJobApplicantTab=33,yield o.allScheduledCandidatesList(t,2),0==s.ResponseData.scheduledCount&&(o.activeJobApplicantTab=44,yield o.allHiredCandidatesList(t,3),0==s.ResponseData.hiredCount&&(o.activeJobApplicantTab=55,yield o.allNotselectedCandidatesList(t,4),0==s.ResponseData.RejectedCount&&(o.activeJobApplicantTab=11))))):(o.activeJobApplicantTab=11,yield o.allSubmittedCandidatesList(t,5))});return function(s){return l.apply(this,arguments)}}())})()}allSubmittedCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.submittedActiveJobs.push(u)}),i.submittedActiveJobs=i.submittedActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}allShortlistedCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.shortlistedActiveJobs.push(u)}),i.shortlistedActiveJobs=i.shortlistedActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}allScheduledCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.scheduledActiveJobs.push(u)}),i.scheduledActiveJobs=i.scheduledActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}allHiredCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.scheduledActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.hiredActiveJobs.push(u)}),i.hiredActiveJobs=i.hiredActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}())})()}allNotselectedCandidatesList(t,o){var i=this;return(0,j.A)(function*(){i.activejobStatus=o,i.activeJobId=t,i.shortlistedActiveJobs=[],i.scheduledActiveJobs=[],i.notSelectedActiveJobs=[],i.hiredActiveJobs=[],i.submittedActiveJobs=[];let l={job_id:t,status:o};yield i.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){yield _.ResponseData.forEach(u=>{i.notSelectedActiveJobs.push(u)}),i.notSelectedActiveJobs=i.notSelectedActiveJobs.map(u=>({...u,jobseeker_skill_name:u.jobseeker_skill_name.sort((b,f)=>b.skill_name.length-f.skill_name.length)})),i.globals.loading=!1});return function(_){return s.apply(this,arguments)}}(),s=>{i.globals.loading=!1,i.errorHandler.handleError(s)})})()}tabChanged(t,o){var i=this;return(0,j.A)(function*(){i.activeStatus=o,11==t&&5==o?(yield i.allSubmittedCandidatesList(i.activeJobId,5),i.activejobStatus=o):22==t&&1==o?(yield i.allShortlistedCandidatesList(i.activeJobId,1
1),i.activejobStatus=o):33==t&&2==o?(yield i.allScheduledCandidatesList(i.activeJobId,2),i.activejobStatus=o):44==t&&3==o?(yield i.allHiredCandidatesList(i.activeJobId,3),i.activejobStatus=o):55==t&&4==o&&(yield i.allNotselectedCandidatesList(i.activeJobId,4),i.activejobStatus=o)})()}joblistChanged(t,o,i,l,s){var _=this;return(0,j.A)(function*(p,u,b,f,C,w=null){_.jobTitle=C,_.activeJobIndex=f,_.jobAllData=p,_.globals.loading=!0,yield _.setCandidateCount(u),"isDeactive"==w?($(".job-item").removeClass("active-job"),$(`.deactive-job-${f}`).addClass("active-job")):($(".job-item").removeClass("active-job"),$(`.active-job-${f}`).addClass("active-job"))}).apply(this,arguments)}show_recruiter_detail(t,o){this.singleJsDetail=t,this.modalService.open(o)}changeStatus(t,o,i,l,s,_,p){if(this.applyId=i,this.jobseeker_detail=o,this.status=t.id,this.setModalHead="Re-Scheduled"==t.name?"Re-Scheduled Interview":"Scheduled Interview",3==t.id){let u=l;this.js_rate_form.get("jobseeker_id").setValue(u),this.modalService.open(p,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-large add-jobseeker-rate-model"})}else if(2==t.id){let u={backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small"};this.dateTimeError=null,this.onDateTimeChange(),this.modalService.open(_,u)}else this.fetchJsdata(t.id,o,i)}fetchJsdata(t,o,i){let l="";1==t&&(l="shortlist",this.statusInText="shortlist"),3==t&&(l="Hire",this.statusInText="hire"),4==t&&(l="reject",this.statusInText="reject"),this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})}confirmSelect(){var t=this;let o=this.timeFormat1.split(" "),i="";if("PM"==o[1]){let l=o[0].split(":");i=Number(l[0])+12+":"+l[1]}else{let l=o[0].split(":");i=Number(l[0])+":"+l[1]}if(2==this.status){const l={jobseeker_id:this.jobseeker_detail.jobseeker_id,job_id:this.jobseeker_detail.job_id,client_persons:this.selected_client_persons,interview_date:this.dateFormat,interview_from:i,interview_to:i,applied_id:this.jobseeker_detail.APPLY_ID};this.globals.loading=!0,this.clientService.set_interview_schedule(l).subscribe(function(){var s=(0,j.A)(function*(_){if(t.setCandidateCount(t.jobAllData.job_id),t.getDashboardCounter().subscribe(),t.globals.loading=!1,t.tabChanged(22,1),1==_.ResponseCode){t.toastr.success(_.ResponseText),t.modalClose(),t.upcomingInterviews(1).subscribe();let u={type:"scheduled",notification:{notification_type:"edit_jobpost",jobseeker_id:_.ResponseData.jobseeker_id,jobseeker_name:_.ResponseData.jobseeker_name,client_name:_.ResponseData.company_name,job_id:_.ResponseData.job_id,slug:_.ResponseData.slug,sender_type:_.ResponseData.user_type,client_id:_.ResponseData.client_id,client_user_id:_.ResponseData.client_user_id,cp_id:_.ResponseData.cp_id,cp_user_id:_.ResponseData.cp_user_id,job_title:_.ResponseData.job_title,company_name:_.ResponseData.company_name,company_url:_.ResponseData.company_url,status_in_text:_.ResponseData.status_in_text,scheduled_on:R()(t.dateFormat).format("MMM DD, YYYY"),datetime:_.ResponseData.datetime.date,country:"in",is_offshore:!0}};t.NotificationService.sendNotification(u),u.type="scheduled_jobseeker",t.NotificationService.sendNotification(u),t.modalService.dismissAll()}else t.toastr.error(_.ResponseText)});return function(_){return s.apply(this,arguments)}}(),s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}else{let l=this.jobseeker_detail,s={status:this.status,apply_id:this.applyId};if(4==this.status){let _=JSON.parse(localStorage.getItem("CR_PREF")),p={};p.question_note=this.feedbackNotes,p.client_id=_.client_id,p.job_id=this.jobseeker_detail.job_id,p.jobseeker_id=this.jobseeker_detail.jobseeker_id,p.question_rate=String(this.currentRate1)+","+String(this.currentRate2)+","+String(this.currentRate3),s.feedback_details=p}this.globals.loading=!0,this.clientService.change_candidate_status(s).subscribe(function(){var _=(0,j.A)(function*(p){if(t.setCandidateCount(t.jobAllData.job_id),t.getDashboardCounter().subscribe(),t.globals.loading=!1,1==t.status?yield t.tabChanged(11,5):3==t.status?yield t.tabChanged(33,2):4==t.status&&(yield t.tabChanged(11,5),yield t.tabChanged(22,1)),1==p.ResponseCode){t.toastr.success(p.ResponseText),t.modalClose();let u=null;
11==t.status?(u={type:"shortlisted",notification:{datetime:p.ResponseData.datetime.date,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,jobseeker_id:l.jobseeker_id,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,apply_id:l.APPLY_ID,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:"in",is_offshore:!0}},t.NotificationService.sendNotification(u)):3==t.status?(u={type:"hired",notification:{sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,jobseeker_id:l.jobseeker_id,schduled_id:l.SCHEDULE_ID,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:"in",is_offshore:!0}},t.NotificationService.sendNotification(u)):4==t.status&&(u={type:"rejected",notification:{sender_type:p.ResponseData.user_type,client_id:p.ResponseData.client_id,client_user_id:p.ResponseData.client_user_id,cp_id:p.ResponseData.cp_id,cp_user_id:p.ResponseData.cp_user_id,datetime:p.ResponseData.datetime.date,jobseeker_id:l.jobseeker_id,schduled_id:l.SCHEDULE_ID,jobseeker_name:l.JS_FNAME+" "+l.JS_LNAME,company_name:l.C_FNAME,company_url:l.company_url,job_id:l.job_id,slug:l.slug,job_title:l.job_title,anonymous_js_name:l.anonymous_name,is_anonymous:l.anonymous,country:"in",is_offshore:!0}},t.NotificationService.sendNotification(u))}else t.toastr.error(p.ResponseText);t.changeDetector.detectChanges(),t.GlobalServiceService.responsiveTable()});return function(p){return _.apply(this,arguments)}}(),_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}}get_client_person(){return this.clientService.get_client_person().pipe((0,H.M)(t=>{1==t.ResponseCode&&0!=t.ResponseData.length&&t.ResponseData.forEach(o=>{this.client_persons.push({id:o.id,name:o.name})})},t=>{this.errorHandler.handleError(t)}))}onDateTimeChange(t){this.dateTimeError=null;const o=void 0!==t?t:this.dateTime;if(null==o)return;const i=new Date("object"==typeof o&&o instanceof Date&&o.getTime?o.getTime():new Date(o).getTime());if(isNaN(i.getTime()))return;const l=this.roundToNextInterval(i,30);this.dateTime=l,l.getTime()<this.todayDate.getTime()&&(this.dateTimeError="Please select a date and time in the future."),this.changeDetector.detectChanges()}add_js_interview(){this.dateTimeError||(null!=this.dateTime?(this.dateFormat=R()(this.dateTime).format("YYYY-MM-DD"),this.timeFormat1=R()(this.dateTime).format("HH:mm"),this.timeFormat2=R()(this.dateTime).format("HH:mm")):(this.timeFormat1="",this.timeFormat2="",this.dateFormat=""),""==this.timeFormat1&&""==this.timeFormat2&&""==this.dateFormat?this.toastr.error("Please, Select interview Datetime"):(this.statusInText="schedule interview",this.modalService.open(this.cofirmationModal,{backdrop:"static",centered:!0,keyboard:!1,windowClass:"cr-custom-modal modal-small confirm-modal"})))}set_jobseeker_final_rate(){let t=2!=String(this.js_rate_form.value.hired_start_date.month).length?"0"+this.js_rate_form.value.hired_start_date.month:this.js_rate_form.value.hired_start_date.month,o=2!=String(this.js_rate_form.value.hired_start_date.day).length?"0"+this.js_rate_form.value.hired_start_date.day:this.js_rate_form.value.hired_start_date.day,i=2!=String(this.js_rate_form.value.hired_end_date.month).length?"0"+this.js_rate_form.value.hired_end_date.month:this.js_rate_form.value.hired_end_date.month,l=2!=String(this.js_rate_form.value.hired_end_date.day).length?"0"+this.js_rate_form.value.hired_end_date.day:this.js_rate_form.value.hired_end_date.day,s={jobseeker_id:this.js_rate_form.get("jobseeker_id").value,jobseeker_rate:this.js_rate_form.get("jobseeker_rate").value,hired_start_date:this.js_rate_form.value.hired_start_date.year+"-"+t+"-"+
1o,hired_end_date:this.js_rate_form.value.hired_end_date.year+"-"+i+"-"+l};this.globals.loading=!0,this.clientService.set_jobseeker_final_rate(s).subscribe(_=>{this.globals.loading=!1,1==_.ResponseCode?(this.modalService.dismissAll(),this.fetchJsdata(3,this.jobseeker_detail,this.applyId)):this.toastr.error(_.ResponseText)},_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}onStartDateSelected(){this.js_rate_form.value.hired_start_date.year>this.js_rate_form.value.hired_end_date.year||this.js_rate_form.value.hired_start_date.year==this.js_rate_form.value.hired_end_date.year&&this.js_rate_form.value.hired_start_date.month>this.js_rate_form.value.hired_end_date.month||this.js_rate_form.value.hired_start_date.year==this.js_rate_form.value.hired_end_date.year&&this.js_rate_form.value.hired_start_date.month==this.js_rate_form.value.hired_end_date.month&&this.js_rate_form.value.hired_start_date.day>this.js_rate_form.value.hired_end_date.day||this.js_rate_form.value.hired_start_date.year==this.js_rate_form.value.hired_end_date.year&&this.js_rate_form.value.hired_start_date.month==this.js_rate_form.value.hired_end_date.month&&this.js_rate_form.value.hired_start_date.day==this.js_rate_form.value.hired_end_date.day?this.js_rate_form.get("hired_start_date").setErrors({isWrongDate:!0}):this.js_rate_form.get("hired_start_date").setErrors(null)}selectedSearchItem(t){var o=this;return(0,j.A)(function*(){let i={search:t.target.value};if(1==o.dashSelectedContent){if(11==o.activeJobApplicantTab&&5==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.submittedActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.submittedActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(22==o.activeJobApplicantTab&&1==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.shortlistedActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.shortlistedActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(33==o.activeJobApplicantTab&&2==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.scheduledActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.scheduledActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(44==o.activeJobApplicantTab&&3==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.hiredActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.hiredActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}if(55==o.activeJobApplicantTab&&4==o.activeStatus){let l={job_id:o.activeJobId,status:o.activeStatus};yield o.clientService.getAllJobseekerList(l).subscribe(function(){var s=(0,j.A)(function*(_){o.notSelectedActiveJobs=[],yield _.ResponseData.forEach(function(){var p=(0,j.A)(function*(u){(u.JS_FNAME+" "+u.JS_LNAME).toLowerCase().match(t.target.value.toLowerCase())&&o.notSelectedActiveJobs.push(u)});return function(u){return p.apply(this,arguments)}}())});return function(_){return s.apply(this,arguments)}}())}}1==o.activeId&&(yield o.clientService.getDashboardJobCandidates(i).subscribe(l=>{o.newJobseekerList=l.ResponseData.jobpost_apply.data})),2==o.activeId&&(yield o.clientService.getDashboardUpcomingInterviews({...i,is_offshore:1}).subscribe(l=>{o.upcomingInterviewsList=l.ResponseData.upcoming_interviews.data})),3==o.activeId&&(yield o.clientService.getDashboardHiredCandidate({...i,is_offshore:1}).subscribe(l=>{o.hiredCandidateFulltimeList=l.ResponseData.hired_candidate.data}))})()}initiate_chatroom_with_recruiter_activejob(t){let i=JSON.parse(localStorage.getItem("CR_PREF")).user_id;this.chatService.initiate_chat({recruiter_user_id:t.user_id,client_user_id:i,initiated_by:i}),this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null),this.groupDataSubscription=this.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(s=>{setTimeout(()=>{this.navigationService.navigate("/client/messages",this.activeRoute,{queryParams:{unique_id:btoa(s.unique_id)}}),this.modalService.dismissAll()},1e3)},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}initiate_chatroom_with_recruiter(t){let i=JSON.parse(localStorage.getItem("CR_PREF")).user_id;this.chatService.initiate_chat({recruiter_user_id:t.rec_user_id,client_user_id:i,initiated_by:i}),this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null),this.groupDataSubscription=this.chatService.get_group_data().pipe((0,Ee.s)(1)).subscribe(s=>{setTimeout(()=>{this.navigationService.navigate("/client/messages",this.activeRoute,{queryParams:{unique_id:btoa(s.unique_id)}}),this.modalService.dismissAll()},1e3)},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}modalClose(){this.dateTimeError=null,this.dateTime=null,this.selected_client_persons=null,this.js_rate_form.reset(),this.candidateForm.reset(),this.candidateForm.controls.submitted.setValue({id:null,name:"Submitted"}),this.candidateForm.controls.scheduled.setValue({id:null,name:"Scheduled"}),this.candidateForm.controls.shortlisted.setValue({id:null,name:"Shortlisted"}),this.modalService.dismissAll()}document_clicked(t,o,i){"view_doc"==t&&(1==o.document_type?window.open(o.document_url,"_blank").focus():"docx"==o.extension||"doc"==o.extension?(this.resume_src=o.document_url,this.modalService.open(this.showDocsModal,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"})):-1!=this.document_type_array.indexOf(o.extension)?(this.modalService.open(this.resume_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.document_url):(this.visa_proof_src=o.document_url,this.modalService.open(this.visa_proof_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.document_url))}download(t){const o=t.split("/").pop()||"resume.pdf";this.http.get(t,{responseType:"blob"}).subscribe({next:i=>{const l=window.URL.createObjectURL(i),s=document.createElement("a");s.href=l,s.download=o,document.body.appendChild(s),s.click(),s.remove(),window.URL.revokeObjectURL(l)},error:i=>{console.error("Download failed:",i)}})}downloadFile(t){"video url"!==t.display_name?.toLowerCase()&&"url"!==t.extension?this.http.get(t.document_url,{responseType:"blob"}).subscribe(o=>{const i=window.URL.createObjectURL(o),l=document.createElement("a");l.href=i,l.download=t.display_name||"download",l.click(),window.URL.revokeObjectURL(i)}):window.open(t.document_url,"_blank")}openRatingModal(){this.feedbackNotes="",this.currentRate1=0,this.currentRate2=0,this.currentRate3=0,this.modalService.open(this.ratingModal,{centered:!0,windowClass:"cr-custom-modal modal-medium"})}getJsVideoInterviewDetail(t){this.isShowVideoInterviewTable=!1;let o={page:t,is_offshore:1};return null!=this.videoInterviewStatusId&&(o.status=this.videoInterviewStatusId),this.clientService.getJsVideoInterviewDetail(o).pipe((0,H.M)(i=>{1==i.ResponseCode&&(this.videoInterviewJsData=i.ResponseData,this.videoInterviewPage=i.ResponseData.current_page,this.videoInterviewTotalItems=i.ResponseData.per_page,this.videoInterviewTotal=i.ResponseData.total,this.isShowVideoInterviewTable=!0)},i=>{this.errorHandler.handleError(i)}))}
1changeVideoInterviewStatus(t){this.videoInterviewStatusId=t.id,this.globals.loading=!0,this.getJsVideoInterviewDetail(1).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})}getDashboardCounter(){return this.clientService.getDashboardCounters({is_offshore:1}).pipe((0,H.M)(o=>{o.ResponseCode&&(this.videoInterviewCounter=o.ResponseData.count_data.video_interview_count,this.upcomingInterviewCounter=o.ResponseData.count_data.upcoming_interviews_count,this.hiredCandidatesCounter=o.ResponseData.count_data.hired_candidate_count)},o=>{this.errorHandler.handleError(o)}))}reminderVideoInterview(t){let o={jobseekerId:t};this.globals.loading=!0,this.clientService.reminderVideoInterview(o).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode?this.toastr.success(i.ResponseText):this.toastr.error(i.ResponseText)},i=>{this.globals.loading=!1,this.errorHandler.handleError(i)})}startJobseekerOnboarding(t,o,i){let l={jobseeker_id:o,availability_type:i,job_id:t};this.globals.loading=!0,this.clientService.startJobseekerOnboarding(l).subscribe(s=>{1==s.ResponseCode?(this.toastr.success(s.ResponseText),(0,Xe.p)([this.hiredCandidate(this.hiredCandidateFulltimePage),this.hiredCandidate(this.hiredCandidateContractPage,"contract")]).subscribe({next:()=>this.globals.loading=!1,error:()=>this.globals.loading=!1})):(this.globals.loading=!1,this.toastr.error(s.ResponseText))},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}togalAccordion(){$(".job-item-height").toggleClass("deactive-job-accordion-show")}openSkillModal(t){this.jobseekerSkill=t,this.modalService.open(this.skillModal,{centered:!0,windowClass:"cr-custom-modal modal-small"})}hasMatchingAvailabilityType(t){return!(!t?.job_availability||!t.jobseeker_avail_type)&&t.jobseeker_avail_type.some(o=>o.opt==t.job_availability)}hasMatchingAvailabilityTypeInModal(t){return!(!t?.job_availability||!t?.avaliability_opt_range)&&t.avaliability_opt_range.some(o=>o.opt==t.job_availability)}ngOnDestroy(){this.groupDataSubscription&&(this.groupDataSubscription.unsubscribe(),this.groupDataSubscription=null)}static \u0275fac=function(o){return new(o||n)(e.rXU(v.Bq),e.rXU(le.X),e.rXU(y.aZ),e.rXU(ie.E),e.rXU(E.Ix),e.rXU(oe.c),e.rXU(Ae.m),e.rXU(e.gRc),e.rXU(Fe.m),e.rXU(ve.J),e.rXU(g.ok),e.rXU(E.nX),e.rXU(_e.h),e.rXU(ye.u),e.rXU(S.tw),e.rXU(Pe.Qq),e.rXU(ae.o),e.rXU(ee.P),e.rXU(B.z))};static \u0275cmp=e.VBU({type:n,selectors:[["app-offshore-dashboard"]],viewQuery:function(o,i){if(1&o&&(e.GBs(eg,5),e.GBs(tg,5),e.GBs(ne._,5),e.GBs(ng,5),e.GBs(N.vr,5),e.GBs(ig,5),e.GBs(og,5),e.GBs(lg,5),e.GBs(ag,5),e.GBs(sg,5),e.GBs(rg,5),e.GBs(cg,5),e.GBs(_g,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.videoElement=l.first),e.mGM(l=e.lsd())&&(i.skillMod
1al=l.first),e.mGM(l=e.lsd())&&(i.dtElement=l.first),e.mGM(l=e.lsd())&&(i.RecruiterDetailsModal=l.first),e.mGM(l=e.lsd())&&(i.ngSelectComponent=l.first),e.mGM(l=e.lsd())&&(i.cofirmationModal=l.first),e.mGM(l=e.lsd())&&(i.resume_show=l.first),e.mGM(l=e.lsd())&&(i.visa_proof_show=l.first),e.mGM(l=e.lsd())&&(i.showDocsModal=l.first),e.mGM(l=e.lsd())&&(i.fullInterviewModal=l.first),e.mGM(l=e.lsd())&&(i.vidPreviewModal=l.first),e.mGM(l=e.lsd())&&(i.ratingModal=l.first),e.mGM(l=e.lsd())&&(i.videoElementFullInterview=l)}},standalone:!0,features:[e.aNF],decls:54,vars:12,consts:[["nav","ngbNav"],["RecruiterDetailsModal",""],["activeJobRecModal",""],["scheduleInterviewModal",""],["add_jobseeker_rate_modal",""],["cofirmationModal",""],["jobseekerDetailsModal",""],["docPreviewModal",""],["resume_show",""],["visa_proof_show",""],["showDocsModal",""],["vidPreviewModal",""],["fullInterviewModal",""],["skillModal",""],["descriptionModal",""],["ratingModal",""],["selectDropdown",""],["nav2","ngbNav"],["other_content",""],["dateTimePicker",""],["d","ngbDatepicker"],["d1","ngbDatepicker"],["videoElement",""],["videoElementFullInterview",""],["t",""],[3,"loading"],[1,"dashboard-page","main-content-wrap","cr-body-sm"],[1,"head-top-bar"],["ngbNav","",1,"cr-head-nav",3,"activeIdChange","activeId"],[3,"ngbNavItem"],["ngbNavLink","",1,"cr-head-nav-item",3,"click"],["ngbNavContent",""],["class","d-flex align-items-start flex-column-reverse flex-lg-row align-items-lg-center",4,"ngIf"],[1,"cr-main-content"],[3,"ngbNavOutlet"],[1,"add-jobseeker-rate-model"],[1,"active-jobs-grid","active-jobs-grid-client","h-100"],[1,"active-joblist",2,"position","relative"],["class","job-item-height",4,"ngIf"],[1,"d-lg-none","active-sales-person-btn",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","width","20","height","20"],["d","M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z"],[1,"active-jobs-table",3,"formGroup"],[1,"d-lg-none","back-active-sales-person-btn",3,"click"],["ngbNav","",1,"cr-tablist","nav-tabs",3,"activeIdChange","activeId"],["ngbNavLink","",3,"click"],[1,"job-item-height"],["class","job-item flex-column",3,"ngClass","click",4,"ngFor","ngForOf"],["style","text-align: center; padding: 10px; font-weight: 500",4,"ngIf"],["class","client-deactivated-jobs client-deactive-height",4,"ngIf"],[1,"job-item","flex-column",3,"click","ngClass"],[1,"j
1ob-item-details"],[1,"d-flex"],[1,"fw-500","mb-0"],[1,"job-item-page-link",3,"countryRouterLink"],[1,"job-applicant-count","mr-1"],[1,"job-extra-details","job-extra-details-gap","d-flex","mb-2"],["class","d-flex align-items-center flex-wrap",4,"ngIf"],[1,"paragraph","par-data","word-wrap",3,"innerHtml"],[1,"d-flex","align-items-center","flex-wrap"],[1,"cr-pill","pill-gray"],[4,"ngIf"],[2,"text-align","center","padding","10px","font-weight","500"],[1,"client-deactivated-jobs","client-deactive-height"],["ngbAccordion","","id","panel-1",1,"sub-qn-acc",3,"click","closeOthers"],["ngbAccordionItem","",1,"bg-teal-blue"],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"custom-acc-head","sub-qn-head","w-100"],[1,"d-flex","align-items-center"],[1,"custom-acc-arrow","material-icons-outlined","mr-2"],[1,"submitted-qn-title"],[1,"mb-0","fw-600"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"sub-qn-list"],["class","job-item-details",4,"ngIf"],[1,"table-responsive"],["datatable","",1,"row-border","hover","cr-data-table","w-100","radius-0","overflow-auto",3,"dtOptions"],[1,"sorting-arrows"],[4,"ngFor","ngForOf"],["href","javascript:void(0)",1,"link","color-teal-green","cr-line-height1","mr-3",3,"click"],["height","16","width","16","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#10957e"],["d","M6.45455 19L2 22.5V4C2 3.44772 2.44772 3 3 3H21C21.5523 3 22 3.44772 22 4V18C22 18.5523 21.5523 19 21 19H6.45455ZM7 10V12H9V10H7ZM11 10V12H13V10H11ZM15 10V12H17V10H15Z"],[1,"fw-400"],["href","javascript:void(0)",1,"fw-400","link","color-teal-blue",3,"click"],[1,"link","color-teal-blue",3,"href"],[1,"white-space-nowrap",2,"color","#031d1f",3,"href"],["class","cr-skills-wrap",4,"ngIf"],[1,"link","color-teal-blue",2,"cursor","pointer",3,"click"],[1,"cr-input-wrap"],["bindLabel","name","bindValue","id","placeholder","Submitted","appendTo","body","formControlName","submitted",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],["style","white-space: nowrap",4,"ngIf"],[2,"white-space","nowrap"],["class","d-flex align-items-center gap-5",4,"ngIf"],[1,"d-flex","align-items-center","gap-5"],["container","body","placement","top","tooltipClass","rate-info-tooltip",1,"material-icons-outlined","rate-info-icon",3,"ngbTooltip"],[1,"cr-skills-wrap"],["class","cr-skill",4,"ngFor","ngForOf"],[1,"cr-skill"],["href","javascript:void(0)",1,"link","color-alice-blue",3,"click"],[1,"modal-header"],["id","video-call-modal",1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","text-center"],[1,"cr-skill-details"],[1,"text-center"],["colspan","9"],["bindLabel","name","bindValue","id","placeholder","Shortlisted","appendTo","body","formControlName","shortlisted",1,"cr-select","control-small",3,"change","compareWith","clearable","searchable","items"],[1,"cr-input-wrap","client-offsoure-select"],["bindLabel","name","bindValue","id","placeholder","Scheduled","appendTo","body","formControlName","scheduled",1,"cr-select","control-small",3,"change","compareWith","searchable","items","clearable"],[1,"cr-status","status-green"],[1,"fw-400","link","color-teal-blue",3,"click"],[1,"cr-status","status-red"],["class","row-border hover cr-data-table w-100","datatable","",3,"dtOptions",4,"ngIf"],["class","custom-pagination","aria-label","Default pagination",3,"pageChange",4,"ngIf"],["datatable","",1,"row-border","hover","cr-data-table","w-100",3,"dtOptions"],[1,"link","color-teal-blue",3,"countryRouterLink"],[1,"fw-500","link","color-teal-blue",3,"countryRouterLink","queryParams"],[1,"fw-500","link","color-alice-blue",3,"href"],["class","link color-alice-blue",3,"click",4,"ngIf"],["class","mb-0",4,"ngIf"],[1,"mb-0"],[1,"link","color-alice-blue",3,"click"],["aria-label","Default pagination",1,"custom-pagination",3,"pageChange"],["ngbNav","",1,"cr-head-nav","mb-3",3,"activeIdChange","activeId"],["ngbNavLink","",1,"cr-head-nav-item"],["class","cr-status status-purple",4,"ngIf"],["class","cr-status status-green",4,"ngIf"],["class","cr-status status-yellow",4,"ngIf"],["class","cr-btn cr-btn-blue",3,"click",4,"ngIf","ngIfElse"],[1,"cr-status","status-purple"],[1,"cr-status","status-yellow"],[1,"cr-btn","cr-btn-blue",3,"click"],["src","../../../../assets/images/resend2.png","class","ml-4 cursor-pointer","style","width: 20p
1x",3,"click",4,"ngIf"],["class","cr-status status-red",4,"ngIf"],["src","../../../../assets/images/resend2.png",1,"ml-4","cursor-pointer",2,"width","20px",3,"click"],[1,"d-flex","align-items-start","flex-column-reverse","flex-lg-row","align-items-lg-center"],[1,"onboarding-question-edit",2,"max-width","300px"],["bindLabel","name","bindValue","id","placeholder","Status",1,"cr-select","control-medium",3,"change","ngModelChange","clear","items","clearable","searchable","ngModel"],[1,"rec-detail-img","round"],["alt","recruiter",1,"round","img-inherit","img-cover",3,"src"],[1,"fw-600"],[1,"cr-btn-flushed","color-teal-blue","fw-500","h5"],["value","click to copy",1,"material-icons-outlined","h4",3,"click"],[1,"paragraph","color-gray-2","fw-500","mb-5"],[1,"d-flex","align-items-center","justify-content-center"],["id","modal-basic-title",1,"modal-title"],[1,"modal-body"],["class","mb-5",4,"ngIf"],["class","mb-4",4,"ngIf"],[1,"mb-5"],[1,"position-relative","custom-owl-date-picker","custom-owl-date-picker-modal","mb-5"],["placeholder","Select date & time",1,"e-custom-datetimepicker","cr-form-control",3,"ngModelChange","ngModel","min","owlDateTime","owlDateTimeTrigger"],[3,"stepMinute","hour12Timer"],["class","text-danger mt-1 small",4,"ngIf"],["type","button",1,"cr-btn","cr-btn-blue","ml-auto","d-block",3,"click","disabled"],[1,"color-alice-blue"],[1,"mb-4"],["bindLabel","name","bindValue","id","placeholder","Team Member","appendTo","body",1,"cr-select","ng-select","control-medium",3,"ngModelChange","items","searchable","closeOnSelect","hideSelected","ngModel","multiple"],[1,"text-danger","mt-1","small"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],[3,"formGroup"],[1,"row","mb-4"],[1,"col-lg-12"],[1,"cr-input-wrap","mb-2"],["type","text","formControlName","jobseeker_rate",1,"cr-form-control","control-medium",3,"placeholder"],["class","error",4,"ngIf"],[1,"row"],[1,"col-12","col-lg-6"],[1,"datepicker-wrap","cr-single-datepicker","mb-4"],[1,"input-group"],["placeholder","Select Start Date","name","dp","ngbDatepicker","","container","modal-body","formControlName","hired_start_date",1,"cr-form-control","control-medium",3,"dateSelect"],["type","button",1,"btn","bi","bi-calendar3","p-1","d-flex","align-items-center","justify-content-end","cr-single-datepicke-btn",3,"click"],[1,"material-icons-outlined","px-2"],["placeholder","Select End Date","name","dp","ngbDatepicker","","container","modal-body","formControlName","hired_end_date",1,"cr-form-control","control-medium",3,"dateSelect"],["class","control-error mb-4","style","margin-top: -7px",4,"ngIf"],[1,"modal-footer"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click","disabled"],[1,"error"],["class","text-danger",4,"ngIf"],[1,"text-danger"],[1,"control-error","mb-4",2,"margin-top","-7px"],["class","err-container",4,"ngIf"],[1,"err-container"],[1,"material-icons","control-error-icon"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"],[1,"js-detail-wrap"],[1,"js-main-details","mb-4"],[1,"js-img"],["alt","",1,"round","img-fluid",3,"src"],[1,"js-main-details-content"],[1,"fw-700"],[1,"w-75"],[1,"col-6"],[1,"js-main-detail-row"],[1,"js-main-detail-icon","material-icons-outlined"],[1,"link","color-alice-blue",3,"href"],[1,"js-main-detail-icon","material-icons-outlined","d-none","d-lg-block","ml-2","cr-btn-flushed",3,"click"],["class","col-6",4,"ngIf"],[1,"link","color-alice-blue","white-space-nowrap",3,"href"],[1,"js-full-details"],[1,"js-full-detail-row","mb-5"],[1,"fw-600","mb-3"],[1,"mb-2"],["target","_blank",1,"cr-status","status-green","d-flex","align-items-center","link",3,"href"],[1,"d-flex","ml-3","cr-profile-sharing"],[1,"material-icons-outlined","mr-4","cursor-pointer",3,"click"],[1,"documents-grid"],["class","document-item",3,"click",4,"ngFor","ngForOf"],["class","js-full-detail-row mb-5",4,"ngFor","ngForOf"],["class","js-full-detail-row mb
1-5",4,"ngIf"],["class","js-full-detail-row pb-5 mb-5",4,"ngIf"],["class","js-full-detail-row pb-5",4,"ngIf"],[1,"js-main-detail-icon","material-icons-outlined","me-3"],[1,"list-unstyled"],[1,"document-item",3,"click"],[1,"doctype-img","flex-shrink-0"],["src","assets/images/icons/doctype-svg.svg","alt","SVG Document","class","img-contain","style","width: 32px; height: 40px",4,"ngIf"],["src","assets/images/icons/doctype-docx.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-jpg.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-pdf.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-png.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-url.svg","alt","","class","img-contain",4,"ngIf"],[1,"docinfo-wrap"],[1,"docinfo"],[1,"small","fw-500","color-dark","clamp-1"],[1,"paragraph-sm","color-gray-3","mb-0"],[1,"cr-btn-round","flex-shrink-0",3,"click","href"],[1,"material-icons-outlined","color-gray-3"],["src","assets/images/icons/doctype-svg.svg","alt","SVG Document",1,"img-contain",2,"width","32px","height","40px"],["src","assets/images/icons/doctype-docx.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-jpg.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-pdf.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-png.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-url.svg","alt","",1,"img-contain"],[1,"mt-4"],[1,"interview-vid-item"],[1,"interview-vid-thumb"],[1,"material-icons-outlined"],[1,"interview-vid-content"],[1,"fw-500","mb-1"],["href","javascript:void(0)",1,"link","color-alice-blue","mr-3",3,"click"],[1,"ed-timeline"],["class","ed-tl-row",4,"ngFor","ngForOf"],[1,"ed-tl-row"],[1,"ed-year"],[1,"ed-info"],[1,"small","fw-500","mb-0"],[1,"paragraph-md","gray-3","fw-400","mb-0"],[1,"js-full-detail-row","pb-5","mb-5"],["class","mb-1",4,"ngIf"],[1,"mb-1"],[1,"js-full-detail-row","pb-5"],["id","document-preview-modal",1,"modal-title"],[1,"cr-modal-head-button","ml-auto","mr-3",3,"click","href"],[1,"modal-body","p-4","pt-0","overflow-auto"],[1,"prev-wrap"],["width","100%","height","100%","style","height: 100%",3,"src",4,"ngIf"],["alt","document preview","class","img-contain img-fluid",3,"src",4,"ngIf"],["width","100%","height","100%",2,"height","100%",3,"src"],["alt","document preview",1,"img-contain","img-fluid",3,"src"],["viewer","google","googleCheckContentLoaded","true","googleCheckInterval","3000","googleMaxChecks","1",1,"doc-viewer",2,"width","100%","height","600px",3,"url"],["id","video-preview-modal",1,"modal-title"],[1,"modal-body","d-flex","justify-content-center","p-4"],["controls","","muted","","autoplay","",1,"condensed-interview-video"],[3,"src"],[1,"modal-footer","p-5"],[1,"cr-btn","cr-btn-filled","cr-btn-blue","d-inline-block",3,"click"],[1,"video-interview-page"],[1,"interview-grid"],[1,"qn-panel"],[1,"qn-panel-body"],["ngbAccordion","","class","sub-qn-acc",3,"id","closeOthers","activeIds",4,"ngFor","ngForOf"],[1,"d-flex","align-items-center","mt-auto","mr-auto"],[1,"cr-btn","cr-btn-blue","d-inline-block","mr-3",3,"click"],[1,"cam-container"],[1,"logo-wrapper","logo-wrapper-video"],[1,"f-logo"],["alt","Cloud Rek","src","../../../../assets/front-assets/images/logo.svg",1,"img-fluid"],["id","videoSrc","controls","","autoplay","",1,"cam-video"],["type","video/mp4",3,"src"],["ngbAccordion","",1,"sub-qn-acc",3,"id","closeOthers","activeIds"],["ngbAccordionItem","",3,"id"],[3,"class","vid-active","click",4,"ngIf"],[3,"click"],[1,"sub-qn-num"],[1,"sub-qn-wrap"],[1,"sub-qn"],[1,"color-gray-3","paragraph-md"],[1,"fw-500",3,"innerHtml"],[1,"modal-footer","p-5","d-flex","justify-content-end"],[1,"start-rating-lists"],[1,"start-rating-list"],[3,"rateChange","max","rate","readonly"],[1,"cr-input-wrap",2,"margin-top","20px"],["name","overviewInput","rows","4","placeholder","Add a review....",1,"cr-form-control","control-medium",3,"ngModelChange","ngModel"],[1,"cr-btn","cr-btn-blue",3,"click","disabled"],[1,"bi-heart-fill"],["class","bi-heart-fill filled",3,"width",4,"ngIf"],[1,"bi-heart-fill","filled"],[1,"star"],[1,"half"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",25),e.j41(1,"section",26)(2,"div",27)(3,"ul",28,0),e.mxI("activeIdChange",function(_){return e.eBV(l),e.DH7(i.dashSelectedContent,_)||(i.dashSelectedContent=_),e.Njj(_)}),e.j41(5,"li",29)(6,"a",30),e.bIt("click",function(){return e.eBV(l),e.Njj(i.activeJobsClick())}),e.EFF(7),e.k0s(),e.DNE(8,Wf,42,16,"ng-template",31),e.k0s(),e.j41(9,"li",29)(10,"a",30),e.bIt("click",function(){return e.eBV(l),e.Njj(i.getActiveId(1,2))}),e.EFF(11),e.k0s(),e.DNE(12,_h,3,2,"ng-template",31),e.k0s(),e.j41(13,"li",29)(14,"a",30),e.bIt("click",function(){return e.eBV(l),e.Njj(i.getActiveId(1,3))}),e.EFF(15),e.k0s(),e.DNE(16,Oh,12,6,"ng-template",31),e.k0s(),e.j41(17,"li",29)(18,"a",30),e.bIt("click",function(){return e.eBV(l),i.videoInterviewStatusId=null,e.Njj(i.getActiveId(1,4))}),e.EFF(19),e.k0s(),e.DNE(20,Hh,3,2,"ng-template",31),e.k0s()(),e.DNE(21,Uh,3,4,"div",32),e.k0s(),e.j41(22,"div",33),e.nrm(23,"div",34),e.k0s()(),e.DNE(24,zh,19,7,"ng-template",null,1,e.C5r)(26,Qh,19,7,"ng-template",null,2,e.C5r)(28,e0,17,11,"ng-template",null,3,e.C5r)(30,a0,34,5,"ng-template",35,4,e.C5r)(32,s0,9,1,"ng-template",null,5,e.C5r)(34,O0,67,24,"ng-template",null,6,e.C5r)(36,N0,11,3,"ng-template",null,7,e.C5r)(38,J0,11,3,"ng-template",null,8,e.C5r)(40,B0,11,3,"ng-template",null,9,e.C5r)(42,q0,9,2,"ng-template",null,10,e.C5r)(44,L0,12,1,"ng-template",null,11,e.C5r)(46,Q0,25,4,"ng-template",null,12,e.C5r)(48,Z0,7,1,"ng-template",null,13,e.C5r)(50,K0,10,1,"ng-template",null,14,e.C5r)(52,c2,35,11,"ng-template",null,15,e.C5r)}if(2&o){const l=e.sdS(4);e.Y8G("loading",i.globals.loading),e.R7$(3),e.R50("activeId",i.dashSelectedContent),e.R7$(2),e.Y8G("ngbNavItem",1),e.R7$(2),e.SpI(" ",null==i.activeJobs?null:i.activeJobs.length," Active Jobs "),e.R7$(2),e.Y8G("ngbNavItem",3),e.R7$(2),e.SpI(" ",i.upcomingInterviewCounter," Scheduled Interviews "),e.R7$(2),e.Y8G("ngbNavItem",4),e.R7$(2),e.SpI(" ",i.hiredCandidatesCounter," Hired Candidates "),e.R7$(2),e.Y8G("ngbNavItem",5),e.R7$(2),e.SpI(" ",i.videoInterviewCounter," Video Interview "),e.R7$(2),e.Y8G("ngIf",4===i.activeId),e.R7$(2),e.Y8G("ngbNavOutlet",l)}},dependencies:[y.MD,y.YU,y.Sq,y.bT,y.PV,y.vh,y.lG,g.YN,g.qT,g.me,g.BC,g.cb,g.vS,g.X1,g.j4,g.JD,E.iI,N.MQ,N.vr,ne.H,ne._,de.EE,de.$j,Ze,et,v.Pv,v.Um,v.X9,v.sy,v.Gx,v.Ri,v.WA,v.m_,v._f,v.WP,v.r6,v.tW,v.x7,v.UA,v.$R,v.IQ,v.cw,v.Ny,v.hC,J.Yz,J.H$,J.BK,J.P_,J.Zb,S._B,pe.ed,pe.kf,pe.ej,Ce.N,Ge._,Ge.d,Ke.l,v.n8,v.md],styles:['.sticky-table-head[_ngcontent-%COMP%] .dataTables_wrapper[_ngcontent-%COMP%]{max-height:80vh}.active-jobs-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:380px 1fr;grid-gap:15px;height:80vh}.active-joblist[_ngcontent-%COMP%]{background-color:var(--pure-white);border-radius:10px;border:1px solid var(--cr-gray-tint-7);height:100%;max-height:calc(100vh - 150px);overflow-y:auto}.job-item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;transition:.3s all;background-color:#fff;padding:10px}.job-item[_ngcontent-%COMP%]:hover{cursor:pointer}
1.job-item.active-job[_ngcontent-%COMP%]{background-color:var(--cr-alice-blue-tint-8)}.job-item[_ngcontent-%COMP%] .job-item-page-link[_ngcontent-%COMP%]{text-decoration:underline;color:var(--cr-alice-blue-tint-2)}.job-item[_ngcontent-%COMP%] .job-item-page-link[_ngcontent-%COMP%]:hover{color:var(--cr-alice-blue)}.job-item[_ngcontent-%COMP%] .job-applicant-count[_ngcontent-%COMP%]{min-width:20px;height:20px;aspect-ratio:1/1;display:inline-flex;align-items:center;justify-content:center;background-color:var(--cr-yellow);border-radius:50%;margin-left:10px}.job-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-7)}.job-item-details[_ngcontent-%COMP%] .paragraph[_ngcontent-%COMP%]{color:var(--cr-gray-tint-2);margin-bottom:0}.job-item-details[_ngcontent-%COMP%] .paragraph[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.cr-tablist[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;background-color:var(--pure-white)}.active-jobs-table[_ngcontent-%COMP%]{background-color:var(--pure-white);border:1px solid var(--cr-gray-tint-7);overflow-y:auto;height:100%}.active-jobs-table[_ngcontent-%COMP%] .cr-tablist[_ngcontent-%COMP%]{flex-wrap:nowrap;overflow-x:auto}.active-jobs-table[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{white-space:nowrap}.job-extra-details-gap[_ngcontent-%COMP%]{margin-top:10px}.job-extra-details-gap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-left:20px}.job-extra-details-gap[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-left:0}.star[_ngcontent-%COMP%]{height:30px;position:relative;display:inline-block;font-size:28px;padding-top:3px;color:#ecf1f8}.full[_ngcontent-%COMP%]{color:#fbc431}.starClass[_ngcontent-%COMP%]{position:absolute;display:inline-block;bottom:30%;padding-top:4px;height:30px;color:#fbc431;overflow:hidden}.start-rating-lists[_ngcontent-%COMP%]{min-height:425px;max-height:320px;overflow-y:auto}.start-rating-lists[_ngcontent-%COMP%] .start-rating-list[_ngcontent-%COMP%]{margin-bottom:25px}.start-rating-lists[_ngcontent-%COMP%] .start-rating-list[_ngcontent-%COMP%]:last-child{margin-bottom:0}.client-deactivated-jobs[_ngcontent-%COMP%]{position:sticky;bottom:0;left:0}.deactive-job-accordion-show[_ngcontent-%COMP%] .client-deactivated-jobs[_ngcontent-%COMP%]{position:static}.ng-select[_ngcontent-%COMP%] .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%]{padding:10px 25px!important}.video-interview-page[_ngcontent-%COMP%]{height:100%}.interview-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:700px 1fr;grid-gap:15px;height:100%}.interview-grid[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;border-radius:10px}.qn-panel[_ngcontent-%COMP%]{background-color:var(--pure-white);padding:30px 25px;border:1px solid var(--cr-gray-tint-8);overflow-y:auto;display:flex;flex-direction:column}.qn-panel-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:40px}.qn-count[_ngcontent-%COMP%]{margin-bottom:20px}.skill-qn-options[_ngcontent-%COMP%]{margin:30px 0;display:flex;align-items:center}.skill-qn-options[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-left:15px}ul.skill-qn-list[_ngcontent-%COMP%]{margin-top:30px;position:relative}ul.skill-qn-list[_ngcontent-%COMP%]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:#ffffff80;z-index:1}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-weight:500;padding:5px 10px;-webkit-user-select:none;user-select:none}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px}ul.skill-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child){border-top:1px solid var(--cr-gray-tint-8)}.sub-qn-head[_ngcontent-%COMP%]{border:none;padding:10px;background:#9de8ff;display:flex;align-items:center}.qn-panel-body[_ngcontent-%COMP%]{height:100%;overflow-y:auto}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:8px;margin-bottom:0}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--cr-gray-tint-8);cursor:pointer}.sub-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-8)}.sub-qn-list[_ngcontent-%COMP%] li.vid-active[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-7)}.sub-qn-list[_ngcontent-%COMP%] .sub-qn-wrap[_ngcontent-%COMP%]{margin-left:20px}.sub-qn[_ngcontent-%COMP%]{margin-bottom:5px}.cam-container[_ngcontent-%COMP%]{position:relative;overflow:hidden}.cam-blur[_ngcontent-%COMP%]:after{content:"";position:absolute;
1left:0;top:0;width:100%;height:100%;background-color:#031d1f33;z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:inherit}.cam-placeholder[_ngcontent-%COMP%]{height:100%;border-radius:10px;overflow:hidden}.cam-placeholder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.cam-options-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.cam-video[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px)}.interview-countdown[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;font-size:12rem;transform:translate(-50%,-50%);color:var(--pure-white);width:20rem;height:20rem;display:flex;align-items:center;justify-content:center;background-color:#ffffff80;border-radius:50%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-weight:700;-webkit-user-select:none;user-select:none}.cam-actions[_ngcontent-%COMP%]{position:absolute;bottom:20px;width:100%;display:flex;justify-content:center;align-items:center;padding:0 20px}.remaining-time[_ngcontent-%COMP%]{width:80px;height:80px}.cam-action-btn[_ngcontent-%COMP%]{width:70px;height:70px;display:flex;align-items:center;justify-content:center;transition:.3s all;background-color:var(--pure-white);border:1px solid transparent;font-size:30px}.cam-action-btn[_ngcontent-%COMP%]:hover{background-color:#e3e3e3}.logo-wrapper-video[_ngcontent-%COMP%]{position:absolute;right:40px;top:30px;z-index:6}.client-deactive-height[_ngcontent-%COMP%]{min-height:44px;flex-shrink:0}.job-item-height[_ngcontent-%COMP%]{max-height:100%;overflow-y:auto;display:flex;justify-content:space-between;flex-direction:column;min-height:100%}.active-joblist[_ngcontent-%COMP%]{display:flex;flex-direction:column}.e-custom-datetimepicker[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]{border:1px solid #ced4da;border-radius:4px;background-color:#fff}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group[_ngcontent-%COMP%]:hover{border-color:#80bdff}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group.e-focus[_ngcontent-%COMP%]{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]{padding:10px 12px;font-size:14px;color:#495057}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input[_ngcontent-%COMP%]::placeholder{color:#6c757d}.e-custom-datetimepicker[_ngcontent-%COMP%] .e-input-group-icon[_ngcontent-%COMP%]{color:#6c757d} .add-jobseeker-rate-model .modal-dialog{max-width:650px}.client-offsoure-select[_ngcontent-%COMP%] .control-small[_ngcontent-%COMP%], ng-select.control-small[_ngcontent-%COMP%]{height:45px;border-radius:10px}.word-wrap[_ngcontent-%COMP%]{word-wrap:break-word;overflow-wrap:anywhere}@media screen and (max-width: 1699px){.active-jobs-grid[_ngcontent-%COMP%]{height:75vh}}@media (max-width: 1439px){.active-jobs-grid[_ngcontent-%COMP%]{grid-template-columns:330px 1fr}}@media screen and (max-width: 1365px){.active-jobs-grid[_ngcontent-%COMP%]{height:70vh}.job-item[_ngcontent-%COMP%] .job-applicant-count[_ngcontent-%COMP%]{width:20px;height:20px;font-size:12px}.job-item-details[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:14px}.job-item-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px}.job-extra-details[_ngcontent-%COMP%] .cr-pill[_ngcontent-%COMP%]{padding:4px 6px}.active-jobs-grid-client.active-jobs-grid[_ngcontent-%COMP%]{grid-template-columns:320px 1fr}}@media (max-width: 1199px){.active-jobs-grid[_ngcontent-%COMP%]{grid-template-columns:300px 1fr}}@media screen and (max-width: 991px){.active-jobs-grid[_ngcontent-%COMP%]{display:flex}.job-item[_ngcontent-%COMP%]{justify-content:space-between}.active-joblist[_ngcontent-%COMP%]{width:100%}.active-jobs-table[_ngcontent-%COMP%]{position:fixed;right:0;transform:translate(110%);height:calc(100svh - var(--header-height-md));top:var(--header-height-md);width:100%;transition:.3s all;z-index:4;overflow-y:auto}.active-jobs-table.job-active[_ngcontent-%COMP%]{transform:translate(0)}} .confirm-modal .modal-content{max-width:520px!important} .rate-info-tooltip .tooltip-inner{max-width:360px;min-width:300px;padding:16px 18px;text-align:left;white-space:pre!important;line-height:1.6;font-size:13px;font-family:SF Mono,Menlo,Monaco,Consolas,Courier New,monospace!important;background-color:#1a2b3c;color:#fff;border-radius:10px;box-shadow:0 8px 24px #00000026;border:1px solid rgba(255,255,255,.1)} .rate-info-tooltip .tooltip-arrow:before{border-top-color:#1a2b3c} .rate-info-tooltip.bs-tooltip-bottom .tooltip-arrow:before{border-bottom-color:#1a2b3c} .rate-info-tooltip.bs-tooltip-start .tooltip-arrow:before{border-left-color:#1a2b3c}
1 .rate-info-tooltip.bs-tooltip-end .tooltip-arrow:before{border-right-color:#1a2b3c}.rate-info-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;font-size:14px;color:#0d6efd;background-color:#0d6efd1a;border-radius:50%;cursor:pointer;transition:all .2s ease}.rate-info-icon[_ngcontent-%COMP%]:hover{background-color:#0d6efd33;transform:scale(1.05)}']})}return n})();var Rl=x(13967);const d2=(n,a,t,o,i,l,s,_)=>({"video-call-page":!0,"two-video-call alternate-call":n,"three-video-call":a,"four-video-call":t,"five-video-call":o,"six-video-call":i,"eighth-video-call":l,"twelve-video-call":s,"sixteen-video-call":_});function p2(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",11),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.videoOff())}),e.j41(1,"span",9),e.EFF(2," videocam "),e.k0s()()}}let u2=(()=>{class n{NotificationService;errorHandler;globals;toastr;common;chatservice;calling_data;user_data;name="";apiKey;sessionId;token;session;subscriberOptions;subscriber;publisherOptions;publisher;connectionCount=0;is_video=!1;time=0;waiting=!0;constructor(t,o,i,l,s,_){this.NotificationService=t,this.errorHandler=o,this.globals=i,this.toastr=l,this.common=s,this.chatservice=_}ngOnInit(){let t=localStorage.getItem("calling_data");null!=t&&(this.calling_data=JSON.parse(t));let o=localStorage.getItem("CR_PREF");null!=o&&(this.user_data=JSON.parse(o),this.user_data.hasOwnProperty("name")&&(this.name=this.user_data.name+" (Client)")),this.calling_data&&this.user_data&&(this.sessionId=this.calling_data.calling_data.call_data.session_id,this.calling_data.calling_data.call_data.tokens.forEach(l=>{this.user_data.user_id==l.user_id&&(this.token=l.token,this.initializeSession())}),this.request_to_receiver_call_action(),this.get_receiver_call_action(),this.get_receiver_reject_action(),this.get_receiver_not_answered_action())}initializeSession(){this.apiKey=this.globals.apiKey,this.session=Rl.initSession(this.apiKey,this.sessionId),this.session.on("streamCreated",t=>{this.subscriberOptions={insertMode:"append"},this.subscriber=this.session.subscribe(t.stream,"subscriber",this.subscriberOptions,o=>{o&&console.log(o)})}),this.publisherOptions={insertMode:"append",width:"100%",height:"100%",name:this.name,publishVideo:"1"!=this.calling_data.calling_data.call_data.call_type},this.publisher=Rl.initPublisher("subscriber",this.publisherOptions,t=>{t&&console.log(t)}),this.session.connect(this.token,t=>{t?console.log(t):this.session.publish(this.publisher,o=>{o&&console.log(o)})}),this.session.on({connectionCreated:t=>{0==this.connectionCount&&this.call_response_timer(),this.connectionCount++,t.connection.connectionId!=this.session.connection.connectionId&&(console.log("Another client connected. "+this.connectionCount+" total."),this.connectionCount>1&&(this.waiting=!1))},connectionDestroyed:t=>{this.connectionCount--,console.log("A client disconnected. "+this.connectionCount+" total."),(1==this.connectionCount||this.connectionCount<=1)&&setTimeout(()=>{this.disconnectSession()},2e3)}}),this.session.on("signal:message",t=>{console.log(t),console.log(t.data)}),this.session.on("signal:disconnect_by_receiver",t=>{console.log(t),console.log(t.data)})}call_response_timer(){this.time=0;let t=setInterval(()=>{this.time=this.time+1,console.log("time",this.time),this.time>30?(this.toastr.error("Nobody Answered the call."),setTimeout(()=>{this.disconnectCall()},1e3),clearInterval(t)):this.connectionCount>1&&clearInterval(t)},1e3)}request_to_receiver_call_action(){this.chatservice.ot_request_receiver_call_action({calling_id:this.calling_data.calling_data.call_data.calling_id})}get_receiver_call_action(){this.chatservice.ot_get_receiver_call_action().subscribe(t=>{"no_receiver_action"==t.type?setTimeout(()=>{this.connectionCount<=1&&this.request_to_receiver_call_action()},1e3):"single_reject"==t.type?setTimeout(()=>{this.connectionCount<=1?(this.toastr.error(t.receiver_detail.first_name+" "+t.receiver_detail.last_name+" rejected call"),this.request_to_receiver_call_action()):(this.toastr.error(t.receiver_detail.first_name+" "+t.receiver_detail.last_name+" rejected call"),this.disconnectCall())},1e3):"all_reject"==t.type&&setTimeout(()=>{this.disconnectCall(),this.toastr.error("Nobody Answered the call.")},1e3)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}get_receiver_reject_action(){this.chatservice.ot_receiver_reject_action().subscribe(t=>{"single_reject"==t.type&&t.calling_id==this.calling_data.calling_data.call_data.calling_id?(this.toastr.error(1==t.receiver_detail.is_received?this.connectionCount<2?t.receiver_detail.first_name+" disconnected the call.":t.receiver_detail.first_name+" has left the call.":t.receiver_detail.first_name+" rejected the call."),setTimeout(()=>this.disconnectCall(),1e3)):"all_reject"==t.type&&t.calling_id==this.calling_data.calling_data.call_data.calling_id&&(this.toastr.error("Everyone rejected your call"),setTimeout(()=>this.disconnectCall(),1e3))})}get_receiver_not_answered_action(){this.chatservice.ot_get_receiver_not_answered_action().subscribe(t=>{console.log({res:t}),t.calling_id==this.calling_data.calling_data.call_data.calling_id&&this.connectionCount>1&&this.toastr.error(t.user_details+" not answered the call.")})}call_btn(){}disconnectCall(){let t=this.calling_data.calling_data.call_data.calling_id,o=this.calling_data.calling_data.call_data.caller_id,i=this.calling_data.calling_data.call_data.tokens;this.connectionCount<=2||o==this.user_data.user_id?this.common.call_disconnect_by_host({calling_id:t}).subscribe(s=>
1{0!=i.length&&i.forEach(_=>{_.user_id!=o&&this.chatservice.ot_cancel_call_by_host({data:{user_id:_.user_id,calling_id:t}})}),this.disconnectSession()},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)}):this.session.signal({type:"message",data:{type:"disconnect",data:this.calling_data}},s=>{s?console.log("Error sending signal:",s.name,s.message):this.disconnectSession()})}videoOff(){this.is_video=!this.is_video,this.publisher.publishVideo(this.is_video)}disconnectSession(){this.session.disconnect(),this.clear_localData();var t=window.self;t.opener=window.self,t.close()}clear_localData(){localStorage.removeItem("calling_data")}static \u0275fac=function(o){return new(o||n)(e.rXU(ve.J),e.rXU(oe.c),e.rXU(ie.E),e.rXU(S.tw),e.rXU(_e.h),e.rXU(Ae.m))};static \u0275cmp=e.VBU({type:n,selectors:[["app-c-calling"]],standalone:!0,features:[e.aNF],decls:15,vars:14,consts:[[1,"call-wrap",2,"margin-top","-65px"],[1,"",3,"hidden"],["id","subscriber",3,"ngClass"],[1,"call-content"],[1,"call-text",3,"hidden"],[1,"dot-flashing"],[1,"h1","mb-0"],[1,"call-button-list"],[1,"call-btn","call-end",3,"click"],[1,"material-icons"],["class","call-btn",3,"click",4,"ngIf"],[1,"call-btn",3,"click"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"div",2),e.k0s(),e.j41(3,"div",3)(4,"div",4)(5,"h3"),e.EFF(6," Waiting for reciever to pick up the call "),e.nrm(7,"div",5),e.k0s(),e.j41(8,"p",6),e.EFF(9),e.k0s()(),e.j41(10,"div",7)(11,"button",8),e.bIt("click",function(){return i.disconnectCall()}),e.j41(12,"span",9),e.EFF(13," call_end "),e.k0s()(),e.DNE(14,p2,3,0,"button",10),e.k0s()()()),2&o&&(e.R7$(),e.Y8G("hidden",i.connectionCount<=1),e.R7$(),e.Y8G("ngClass",e.lV(5,d2,0==i.connectionCount||2==i.connectionCount,3==i.connectionCount,4==i.connectionCount,5==i.connectionCount,6==i.connectionCount,i.connectionCount>6&&i.connectionCount<=8,i.connectionCount>8&&i.connectionCount<=16,i.connectionCount>16)),e.R7$(2),e.Y8G("hidden",i.connectionCount>1||!i.waiting),e.R7$(5),e.SpI(" (If call doesn't connect in ",i.time>30?"0":30-i.time," seconds, it will automatically disconnect.) "),e.R7$(5),e.Y8G("ngIf","1"!=(null==i.calling_data||null==i.calling_data.calling_data||null==i.calling_data.calling_data.call_data?null:i.calling_data.calling_data.call_data.call_type)))},dependencies:[y.MD,y.YU,y.bT,S._B],styles:['.call-wrap[_ngcontent-%COMP%]{width:100%;height:100vh;position:relative;overflow:hidden;background-color:var(--cr-gray-tint-3)}.call-screen[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.call-content[_ngcontent-%COMP%]{position:absolute;text-align:center;top:50%;left:50%;transform:translate(-50%,-50%);height:100%;display:flex;flex-direction:column;justify-content:center;width:100%;z-index:100}.call-text[_ngcontent-%COMP%]{color:#fff}.call-text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:40px;font-weight:800;margin-bottom:25px;display:flex;align-items:baseline;justify-content:center}.call-button-list[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:20px;position:absolute;left:50%;transform:translate(-50%);bottom:5%}.call-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:50px;height:50px;border:none;box-shadow:0 4px 10px #0000007f;transition:.3s all}.call-btn[_ngcontent-%COMP%]:hover{background-color:#d8d8d8}.call-btn[_ngcontent-%COMP%]:active{background-color:silver;box-shadow:0 2px 10px #0000007f}.call-btn.call-end[_ngcontent-%COMP%]{background-color:red;color:#fff}.call-btn.call-end[_ngcontent-%COMP%]:hover{background-color:#e60000}.call-btn.call-end[_ngcontent-%COMP%]:active{background-color:#c00}.dot-flashing[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#fff;color:#fff;animation:_ngcontent-%COMP%_dotFlashing 1s infinite linear alternate;animation-delay:.5s;margin-left:20px}.dot-flashing[_ngcontent-%COMP%]:before, .dot-flashing[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-flashing[_ngcontent-%COMP%]:before{left:-15px;width:10px;height:10px;border-radius:5px;background-color:#fff;color:#fff;
1animation:_ngcontent-%COMP%_dotFlashing 1s infinite alternate;animation-delay:0s}.dot-flashing[_ngcontent-%COMP%]:after{left:15px;width:10px;height:10px;border-radius:5px;background-color:#fff;color:#fff;animation:_ngcontent-%COMP%_dotFlashing 1s infinite alternate;animation-delay:1s}@keyframes _ngcontent-%COMP%_dotFlashing{0%{background-color:#f4f4f4}50%,to{background-color:#c2c2c2}}']})}return n})();const m2=(n,a,t,o,i,l,s,_)=>({"video-call-page":!0,"two-video-call alternate-call":n,"three-video-call":a,"four-video-call":t,"five-video-call":o,"six-video-call":i,"eighth-video-call":l,"twelve-video-call":s,"sixteen-video-call":_});function g2(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.videoOff())}),e.j41(1,"span",7),e.EFF(2," videocam "),e.k0s()()}}let b2=(()=>{class n{NotificationService;errorHandler;globals;toastr;common;chatservice;calling_data;user_data;name="";apiKey;sessionId;token;session;subscriberOptions;subscriber;publisherOptions;publisher;connectionCount=0;is_video=!1;waiting=!0;constructor(t,o,i,l,s,_){this.NotificationService=t,this.errorHandler=o,this.globals=i,this.toastr=l,this.common=s,this.chatservice=_}ngOnInit(){let t=localStorage.getItem("calling_data");null!=t&&(this.calling_data=JSON.parse(t));let o=localStorage.getItem("CR_PREF");null!=o&&(this.user_data=JSON.parse(o),this.user_data.hasOwnProperty("name")&&(this.name=this.user_data.name+" (Client)")),this.calling_data&&this.user_data&&(this.sessionId=this.calling_data.session_id,this.calling_data.tokens.forEach(l=>{this.user_data.user_id==l.user_id&&(this.token=l.token,this.initializeSession(),setTimeout(()=>{let s=this.chatservice.ot_get_socket_data();this.common.action_call({action:1,calling_id:this.calling_data.calling_id,socket_id:s.id}).subscribe(p=>{},p=>{this.globals.loading=!1,this.errorHandler.handleError(p)})},500))})),this.ot_cancel_call_by_host_receiving(),this.ot_get_cancel_call_by_host()}initializeSession(){this.apiKey=this.globals.apiKey,this.session=OT.initSession(this.apiKey,this.sessionId),this.session.on("streamCreated",t=>{console.log("stream created event",t),this.subscriberOptions={insertMode:"append"},this.subscriber=this.session.subscribe(t.stream,"subscriber",this.subscriberOptions,o=>{o&&console.log(o)})}),this.session.on("streamDestroyed",t=>{this.calling_data.caller_id!=t.stream.connection.data&&this.toastr.error(t.stream.name+" has left the call.")}),console.log("this.calling_data",this.calling_data),this.publisherOptions={insertMode:"append",width:"100%",height:"100%",name:this.name,publishVideo:"1"!=this.calling_data.call_type},this.publisher=OT.initPublisher("subscriber",this.publisherOptions,t=>{t&&console.log(t)}),this.session.connect(this.token,t=>{t?console.log(t):this.session.publish(this.publisher,o=>{o&&console.log(o)})}),this.session.on("signal:message",t=>{setTimeout(()=>{this.disconnectSession()},2e3),this.toastr.error("Call disconnected by host")}),this.session.on({connectionCreated:t=>{this.connectionCount++,t.connection.connectionId!=this.session.connection.connectionId&&(console.log("Another client connected. "+this.connectionCount+" total."),this.connectionCount>1&&(this.waiting=!1))},connectionDestroyed:t=>{this.connectionCount--,(1==this.connectionCount||this.connectionCount<=1)&&setTimeout(()=>{this.disconnectSession()},2e3)}})}call_btn(){}ot_cancel_call_by_host_receiving(){this.chatservice.ot_cancel_call_by_host_receiving().subscribe(t=>{this.toastr.error("Call disconnected by host"),setTimeout(()=>{this.disconnectSession()},2e3)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}disconnectCall(){let t=this.calling_data.calling_id,o=this.calling_data.caller_id,i=this.calling_data.tokens;null!=t&&localStorage.setItem("call_ended_by_me",String(t));const l={calling_id:t},s={action:2,calling_id:t};let _=!1;const p=()=>{_||(_=!0,this.disconnectSession())},u=setTimeout(p,5e3);2==this.connectionCount?(this.session.signal({type:"disconnect_by_receiver",data:{type:"disconnect_by_receiver"}},f=>{f&&console.log("Error sending signal:",f.name,f.message)}),this.common.call_disconnect_by_host(l).subscribe(f=>
1{0!=i.length&&i.forEach(C=>{C.user_id!=o&&3==C.device_type&&this.chatservice.ot_cancel_call_by_host({data:{user_id:C.user_id,calling_id:t}})}),this.chatservice.ot_request_receiver_reject_action(l)},f=>{this.globals.loading=!1,this.errorHandler.handleError(f)}),this.common.action_call(s).subscribe(f=>{clearTimeout(u),p()},f=>{clearTimeout(u),this.globals.loading=!1,this.errorHandler.handleError(f),p()})):this.common.action_call(s).subscribe(b=>{clearTimeout(u),this.chatservice.ot_request_receiver_reject_action(l),p()},b=>{clearTimeout(u),this.globals.loading=!1,this.errorHandler.handleError(b),p()})}videoOff(){this.publisher.publishVideo(this.is_video),this.is_video=!this.is_video}disconnectSession(){this.session.disconnect(),this.clear_localData();var t=window.self;t.opener=window.self,t.close()}ot_get_cancel_call_by_host(){this.chatservice.ot_get_cancel_call_by_host().subscribe(t=>{this.toastr.error("Call disconnected by host"),setTimeout(()=>{this.disconnectSession()},2e3)},t=>{this.globals.loading=!1,this.errorHandler.handleError(t)})}clear_localData(){localStorage.removeItem("calling_data")}static \u0275fac=function(o){return new(o||n)(e.rXU(ve.J),e.rXU(oe.c),e.rXU(ie.E),e.rXU(S.tw),e.rXU(_e.h),e.rXU(Ae.m))};static \u0275cmp=e.VBU({type:n,selectors:[["app-c-receiving"]],standalone:!0,features:[e.aNF],decls:10,vars:13,consts:[[1,"call-wrap",2,"margin-top","-65px"],[1,"",3,"hidden"],["id","subscriber",3,"ngClass"],[1,"call-content"],[1,"call-text",3,"hidden"],[1,"call-button-list"],[1,"call-btn","call-end",3,"click"],[1,"material-icons"],["class","call-btn",3,"click",4,"ngIf"],[1,"call-btn",3,"click"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"div",2),e.k0s(),e.j41(3,"div",3),e.nrm(4,"div",4),e.j41(5,"div",5)(6,"button",6),e.bIt("click",function(){return i.disconnectCall()}),e.j41(7,"span",7),e.EFF(8," call_end "),e.k0s()(),e.DNE(9,g2,3,0,"button",8),e.k0s()()()),2&o&&(e.R7$(),e.Y8G("hidden",i.connectionCount<=1),e.R7$(),e.Y8G("ngClass",e.lV(4,m2,0==i.connectionCount||2==i.connectionCount,3==i.connectionCount,4==i.connectionCount,5==i.connectionCount,6==i.connectionCount,i.connectionCount>6&&i.connectionCount<=8,i.connectionCount>8&&i.connectionCount<=16,i.connectionCount>16)),e.R7$(2),e.Y8G("hidden",i.connectionCount>1||!i.waiting),e.R7$(5),e.Y8G("ngIf","1"!=i.calling_data.calling_data.call_data.call_type))},dependencies:[y.MD,y.YU,y.bT,S._B],styles:['.call-wrap[_ngcontent-%COMP%]{width:100%;height:100vh;position:relative;overflow:hidden;background-color:var(--cr-gray-tint-3)}.call-screen[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.call-content[_ngcontent-%COMP%]{position:absolute;text-align:center;top:50%;left:50%;transform:translate(-50%,-50%);height:100%;display:flex;flex-direction:column;justify-content:center;width:100%;z-index:100}.call-text[_ngcontent-%COMP%]{color:#fff}.call-text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:40px;font-weight:800;margin-bottom:25px;display:flex;align-items:baseline;justify-content:center}.call-button-list[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:20px;position:absolute;left:50%;transform:translate(-50%);bottom:5%}.call-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:50px;height:50px;border:none;box-shadow:0 4px 10px #0000007f;transition:.3s all}.call-btn[_ngcontent-%COMP%]:hover{background-color:#d8d8d8}.call-btn[_ngcontent-%COMP%]:active{background-color:silver;box-shadow:0 2px 10px #0000007f}.call-btn.call-end[_ngcontent-%COMP%]{background-color:red;color:#fff}.call-btn.call-end[_ngcontent-%COMP%]:hover{background-color:#e60000}.call-btn.call-end[_ngcontent-%COMP%]:active{background-color:#c00}.dot-flashing[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#fff;color:#fff;animation:_ngcontent-%COMP%_dotFlashing 1s infinite linear alternate;animation-delay:.5s;margin-left:20px}.dot-flashing[_ngcontent-%COMP%]:before, .dot-flashing[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-flashing[_ngcontent-%COMP%]:before{left:-15px;width:10px;height:10px;border-radius:5px;background-color:#fff;color:#fff;
1animation:_ngcontent-%COMP%_dotFlashing 1s infinite alternate;animation-delay:0s}.dot-flashing[_ngcontent-%COMP%]:after{left:15px;width:10px;height:10px;border-radius:5px;background-color:#fff;color:#fff;animation:_ngcontent-%COMP%_dotFlashing 1s infinite alternate;animation-delay:1s}@keyframes _ngcontent-%COMP%_dotFlashing{0%{background-color:#f4f4f4}50%,to{background-color:#c2c2c2}}']})}return n})(),me=(()=>{class n{router;cs;http;toastr;authenticationService;navigationService;constructor(t,o,i,l,s,_){this.router=t,this.cs=o,this.http=i,this.toastr=l,this.authenticationService=s,this.navigationService=_}canActivate(t,o){return localStorage.CR_Tornado?(this.cs.clientverifytoken().subscribe(i=>{if(0==i.Flag)return this.authenticationService.logout(),this.navigationService.navigateToHome(),!1}),!0):(this.toastr.error("Invalid token or access."),this.navigationService.navigateToLogin(),this.authenticationService.destroy_global_sessions(),!1)}static \u0275fac=function(o){return new(o||n)(e.KVO(E.Ix),e.KVO(le.X),e.KVO(Pe.Qq),e.KVO(S.tw),e.KVO(ye.u),e.KVO(ae.o))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),f2=(()=>{class n{constructor(){}ngOnInit(){}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=e.VBU({type:n,selectors:[["app-client-new-password"]],decls:0,vars:0,template:function(o,i){}})}return n})();var h2=x(15788),Bn=x(39327);const v2=["stepAnsModal"],k2=["resume_show"],j2=["visa_proof_show"],C2=["showDocsModal"],y2=()=>({cursor:"default"}),w2=()=>({cursor:"pointer"}),x2=(n,a,t,o,i)=>({"a-bg-white":n,"a-bg-green":a,"a-bg-red":t,"a-bg-yellow":o,"a-bg-purple":i});function F2(n,a){1&n&&(e.j41(0,"li",29)(1,"a",18),e.EFF(2,"Create Custom steps"),e.k0s()())}function R2(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",30),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return i.isShowCustomSteps=!0,e.Njj(i.getQuestionsData())}),e.EFF(1," Create a Custom steps "),e.k0s()}}function D2(n,a){1&n&&(e.j41(0,"div",33)(1,"h5",34),e.EFF(2,"Jobseeker Name"),e.k0s()())}function E2(n,a){if(1&n&&(e.j41(0,"div",31),e.DNE(1,D2,3,0,"div",32),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0!=(null==t.jobseekerList?null:t.jobseekerList.length))}}function I2(n,a){1&n&&(e.j41(0,"span",54),e.EFF(1," (Offshore)"),e.k0s())}function T2(n,a){1&n&&(e.j41(0,"div",79),e.qSk(),e.j41(1,"svg",71),e.nrm(2,"path",80),e.k0s()())}function G2(n,a){1&n&&(e.j41(0,"span",81),e.EFF(1,"Rejected"),e.k0s())}function M2(n,a){1&n&&(e.j41(0,"span",82),e.EFF(1,"Inprogress"),e.k0s())}function S2(n,a){1&n&&(e.j41(0,"span",83),e.EFF(1,"Completed"),e.k0s())}function O2(n,a){1&n&&(e.j41(0,"span",84),e.EFF(1,"Pending"),e.k0s())}function $2(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Jobseeker"),e.k0s())}function P2(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Ext. Rec."),e.k0s())}function N2(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Int. Rec."),e.k0s())}function Y2(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Vendor"),e.k0s())}function V2(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",56),e.bIt("click",function(){e.eBV(t);const i=e.XpG(),l=i.$implicit,s=i.index,_=e.XpG(),p=_.$implicit,u=_.index,b=e.XpG(3),f=e.sdS(24);return e.Njj(b.openQuestionModal(f,"medium",l,s+1,u,null==p?null:p.jobseekerData))}),e.j41(1,"div",57)(2,"div",58)(3,"div",59),e.DNE(4,T2,3,0,"div",60),e.j41(5,"div",61),e.EFF(6),e.k0s()(),e.DNE(7,G2,2,0,"span",62)(8,M2,2,0,"span",63)(9,S2,2,0,"span",64)(10,O2,2,0,"span",65),e.k0s()(),e.nrm(11,"div",66),e.j41(12,"div",67)(13,"h6",68),e.EFF(14),e.k0s(),e.j41(15,"div",69)(16,"div",70),e.qSk(),e.j41(17,"svg",71),e.nrm(18,"path",72),e.k0s(),e.joV(),e.j41(19,"span",73),e.EFF(20),e.k0s()(),e.j41(21,"div",74),e.qSk(),e.j41(22,"svg",71),e.nrm(23,"path",75),e.k0s(),e.joV(),e.j41(24,"span",73),e.EFF(25),e.k0s()()(),e.j41(26,"h6",76),e.EFF(27," Assign to: "),e.DNE(28,$2,2,0,"span",77)(29,P2,2,0,"span",77)(30,N2,2,0,"span",77)(31,Y2,2,0,"span",77),e.j41(32,"span",78),e.EFF(33),e.k0s()()()()}if(2&n){const t=e.XpG(),o=t.$implicit,i=t.index;e.Y8G("ngStyle",0==(null==o?null:o.status)?e.lJ4(16,y2):e.lJ4(17,w2))("ngClass",e.s1E(18,x2,0==(null==o?null:o.status),2==(null==o?null:o.status)||1==(null==o?null:o.status),3==(null==o?null:o.status),4==(null==o?null:o.status),1==(null==o?null:o.isPending))),e.R7$(4),e.Y8G("ngIf",2==(null==o?null:o.status)),e.R7$(2),e.SpI("step ",i+1,""),e.R7$(),e.Y8G("ngIf",3==(null==o?null:o.status)),e.R7$(),e.Y8G("ngIf",4==(null==o?null:o.status)),e.R7$(),e.Y8G("ngIf",1==(null==o?null:o.status)||2==(null==o?null:o.status)),e.R7$(),e.Y8G("ngIf",1==(null==o?null:o.isPending)),e.R7$(4),e.SpI(" ",null==o?null:o.question," "),e.R7$(6),e.JRh(null==o?null:o.agoTime),e.R7$(5),e.JRh(null==o?null:o.createdDate),e.R7$(3),e.Y8G("ngIf",1==(null==o?null:o.assign_to)),e.R7$(),e.Y8G("ngIf",2==(null==o?null:o.assign_to)),e.R7$(),e.Y8G("ngIf",3==(null==o?null:o.assign_to)),e.R7$(),e.Y8G("ngIf",4==(null==o?null:o.assign_to)),e.R7$(2),e.SpI(" ",1==(null==o?null:o.assign_to)?(null==o||null==o.jobseeker_name?null:o.jobseeker_name.length)<13?"("+(null==o?null:o.jobseeker_name)+")":"("+(null==o?null:o.jobseeker_name.slice(0,13))+"...)":2==(null==o?null:o.assign_to)?(null==o||null==o.ext_rec_name?null:o.ext_rec_name.length)<13?"("+(null==o?null:o.ext_rec_name)+")":"("+(null==o?null:o.ext_rec_name.slice(0,13))+"...)":3==(null==o?null:o.assign_to)?(null==o||null==o.rec_name?null:o.rec_name.length)<13?"("+(null==o?null:o.rec_name)+")":"("+(null==o?null:o.rec_name.slice(0,13))+"...)":4==(null==o?null:o.assign_to)?(null==o||null==o.vendor_name?null:o.vendor_name.length)<13?"("+(null==o?null:o.vendor_name)+")":"("+(null==o?null:o.vendor_name.slice(0,13))+"...)":""," ")}}function J2(n,a){1&n&&e.DNE(0,V2,34,24,"ng-template",55)}function X2(n,a){1&n&&(e.j41(0,"div",85)(1,"span",86),e.EFF(2,"handshake"),e.k0s(),e.j41(3,"div",87),e.EFF(4," Onboarded "),e.k0s()())}function A2(n,a){1&n&&e.DNE(0,X2,5,0,"ng-template",55)}function B2(n,a){if(1&n&&(e.j41(0,"div",39)(1,"div",40)(2,"div",41),e.EFF(3),e.nI1(4,"titlecase"),e.nI1(5,"titlecase"),e.k0s(),e.j41(6,"div",42)(7,"div",43)(8,"div",44)(9,"span",45),e.EFF(10,"work_outline"),e.k0s(),e.j41(11,"span",46),e.EFF(12,"Job TItle"),e.k0s()(),e.j41(13,"div",47),e.EFF(14),e.DNE(15,I2,2,0,"span",48),e.k0s()(),e.j41(16,"div",43)(17,"div",44)(18,"span",45),e.EFF(19,"mail_outline"),e.k0s(),e.j41(20,"span",46),e.EFF(21,"EMAIL"),e.k0s()(),e.j41(22,"a",49),e.EFF(23),e.k0s()(),e.j41(24,"div",43)(25,"div",44)(26,"span",45),e.EFF(27,"call"),e.k0s(),e.j41(28,"span",46),e.EFF(29,"PHONE"),e.k0s()(),e.j41(30,"div",47),e.EFF(31),e.k0s()()()(),e.j41(32,"div",50)(33,"div",51)(34,"owl-carousel-o",52,4),e.DNE(36,J2,1,0,null,53)(37,A2,1,0,null,28),e.k0s()()()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(3);e.R7$(3),e.E5c(" ",e.bMT(4,12,null==t||null==t.jobseekerData?null:t.jobseekerData.first_name)," ",e.bMT(5,14,null==t||null==t.jobseekerData?null:t.jobseekerData.last_name)," ",1==(null==t?null:t.jobpost_applied.job_availability)?"(Full time)":"(Contract)"," "),e.R7$(11),e.SpI(" ",null==t||null==t.jobpost_data?null:t.jobpost_data.job_title," "),e.R7$(),e.Y8G("ngIf",1===(null==t||null==t.jobpost_data?null:t.jobpost_data.is_c_offshore)),e.R7$(7),e.Mz_("href","mailto:",null==t||null==t.jobseekerData?null:t.jobseekerData.email,"",e.B4B),e.R7$(),e.JRh(null==t||null==t.jobseekerData?null:t.jobseekerData.email),e.R7$(8),e.SpI(" ",(null==t||null==t.jobseekerData?null:t.jobseekerData.phone_code)+" "+(null==t||null==t.jobseekerData?null:t.jobseekerData.phone)," "),e.R7$(3),e.Y8G("options",i.onboardingSlider[o]),e.R7$(2),e.Y8G("ngForOf",null==t?null:t.questionsList),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.isCompleted))}}function q2(n,a){1&n&&(e.j41(0,"div")(1,"div",88)(2,"div",89)(3,"div",90),e.nrm(4,"img",91),e.k0s(),e.j41(5,"h3",92),e.EFF(6,"No Onboarding yet"),e.k0s(),e.j41(7,"h5",93),e.EFF(8," Your onboarding list is currently empty. "),e.k0s(),e.j41(9,"p",94),e.EFF(10," Once a client initiates onboarding, it will appear here automatically. "),e.k0s()()()())}function L2(n,a){if(1&n&&(e.j41(0,"div",37),e.DNE(1,B2,38,16,"div",38)(2,q2,11,0,"div",28),e.k0s()),2&n){const t=e.XpG(2);
1e.R7$(),e.Y8G("ngForOf",t.jobseekerList),e.R7$(),e.Y8G("ngIf",0==(null==t.jobseekerList?null:t.jobseekerList.length))}}function H2(n,a){if(1&n&&(e.j41(0,"div",35),e.DNE(1,L2,3,2,"div",36),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.isShowpage)}}function U2(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",132),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);return e.Njj(l.fulltimeQuestionList.splice(i,1))}),e.EFF(1,"delete"),e.k0s()}}function z2(n,a){1&n&&(e.j41(0,"div",133)(1,"div",134)(2,"i",135),e.EFF(3,"warning"),e.k0s(),e.EFF(4," Please enter instructions "),e.k0s()())}function Q2(n,a){if(1&n&&(e.j41(0,"div",136),e.nrm(1,"img",137),e.j41(2,"div",138),e.EFF(3),e.k0s()()),2&n){const t=a.item;e.R7$(),e.Y8G("src",t.avatar,e.B4B),e.R7$(2),e.JRh(t.name)}}function W2(n,a){if(1&n&&(e.j41(0,"div",136),e.nrm(1,"img",137),e.j41(2,"div",138),e.EFF(3),e.k0s()()),2&n){const t=a.item;e.R7$(),e.Y8G("src",t.avatar,e.B4B),e.R7$(2),e.JRh(t.name)}}function Z2(n,a){1&n&&(e.j41(0,"div",133)(1,"div",134)(2,"i",135),e.EFF(3,"warning"),e.k0s(),e.EFF(4," Please select option "),e.k0s()())}function K2(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",143)(1,"span",150),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2).index,s=e.XpG(3);return e.Njj(s.fulltimeQuestionList[l].options.splice(i,1))}),e.EFF(2," close "),e.k0s()()}}function ev(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",140)(1,"div",141)(2,"div",142)(3,"div",143)(4,"span",144),e.EFF(5," check_box_outline_blank "),e.k0s()(),e.j41(6,"div",145)(7,"input",146),e.bIt("click",function(i){return e.eBV(t),e.Njj(i.target.select())})("change",function(i){const l=e.eBV(t).index,s=e.XpG(2).index,_=e.XpG(3);return e.Njj(_.questionCheckbox(i,s,l))}),e.k0s(),e.nrm(8,"div",147)(9,"div",148),e.k0s(),e.DNE(10,K2,3,0,"div",149),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(7),e.FS9("value",t),e.R7$(3),e.Y8G("ngIf",(null==o?null:o.options.length)>1)}}function tv(n,a){if(1&n&&(e.j41(0,"div",103),e.DNE(1,ev,11,2,"div",139),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.options)}}function nv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);return e.Njj(l.addquestionOption(i))}),e.j41(2,"span",109),e.EFF(3," add "),e.k0s(),e.EFF(4,"Add Option "),e.k0s()()}}function iv(n,a){1&n&&(e.j41(0,"div",152),e.nrm(1,"textarea",153),e.k0s())}function ov(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",143)(1,"span",150),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2).index,s=e.XpG(3);return e.Njj(s.fulltimeQuestionList[l].options.splice(i,1))}),e.EFF(2," close "),e.k0s()()}}function lv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",140)(1,"div",141)(2,"div",142)(3,"div",143)(4,"span",144),e.EFF(5," radio_button_unchecked "),e.k0s()(),e.j41(6,"div",145)(7,"input",146),e.bIt("click",function(i){return e.eBV(t),e.Njj(i.target.select())})("change",function(i){const l=e.eBV(t).index,s=e.XpG(2).index,_=e.XpG(3);return e.Njj(_.questionCheckbox(i,s,l))}),e.k0s(),e.nrm(8,"div",147)(9,"div",148),e.k0s(),e.DNE(10,ov,3,0,"div",149),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(7),e.FS9("value",t),e.R7$(3),e.Y8G("ngIf",(null==o?null:o.options.length)>1)}}function av(n,a){if(1&n&&(e.j41(0,"div",103),e.DNE(1,lv,11,2,"div",139),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.options)}}function sv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);return e.Njj(l.addquestionOption(i))}),e.j41(2,"span",109),e.EFF(3," add "),e.k0s(),e.EFF(4,"Add Option "),e.k0s()()}}function rv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",143)(1,"span",150),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2).index,s=e.XpG(3);return e.Njj(s.fulltimeQuestionList[l].options.splice(i,1))}),e.EFF(2," close "),e.k0s()()}}function cv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",140)(1,"div",141)(2,"div",142)(3,"div",143)(4,"span",144),e.EFF(5," assignment "),e.k0s()(),e.j41(6,"div",145)(7,"input",154),e.bIt("click",function(i){return e.eBV(t),e.Njj(i.target.select())})("change",function(i){const l=e.eBV(t).index,s=e.XpG(2).index,_=e.XpG(3);return e.Njj(_.questionCheckbox(i,s,l))}),e.k0s(),e.nrm(8,"div",147)(9,"div",148),e.k0s(),e.DNE(10,rv,3,0,"div",149),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(7),e.FS9("value",t),e.R7$(3),e.Y8G("ngIf",(null==o?null:o.options.length)>1)}}function _v(n,a){if(1&n&&(e.j41(0,"div",103),e.DNE(1,cv,11,2,"div",139),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.options)}}function dv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);return e.Njj(l.addquestionOption(i))}),e.j41(2,"span",109),e.EFF(3," add "),e.k0s(),e.EFF(4,"Add Document Name "),e.k0s()()}}function pv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",112)(1,"div",113)(2,"h3",114)(3,"i",115),e.EFF(4,"drag_indicator"),e.k0s(),e.EFF(5," Step: "),e.j41(6,"span",116),e.EFF(7),e.k0s()(),e.j41(8,"div",117)(9,"span",118),e.EFF(10,"Assign to:"),e.k0s(),e.j41(11,"ng-select",119),e.mxI("ngModelChange",function(i){const l=e.eBV(t).$implicit;return e.DH7(l.assignTo,i)||(l.assignTo=i),e.Njj(i)}),e.k0s(),e.DNE(12,U2,2,0,"span",120),e.k0s()(),e.j41(13,"div",121)(14,"div",122)(15,"div",123)(16,"input",124),e.bIt("keyup",function(i){const l=e.eBV(t).index,s=e.XpG(3);return e.Njj(s.questionChange(i,l))}
1),e.k0s(),e.DNE(17,z2,5,0,"div",125),e.k0s()(),e.j41(18,"div",126)(19,"ng-select",127),e.bIt("change",function(i){const l=e.eBV(t).index,s=e.XpG(3);return e.Njj(s.selectQuestionType(i,l))}),e.mxI("ngModelChange",function(i){const l=e.eBV(t).$implicit;return e.DH7(l.selectedOption,i)||(l.selectedOption=i),e.Njj(i)}),e.DNE(20,Q2,4,2,"ng-template",128)(21,W2,4,2,"ng-template",129),e.k0s(),e.DNE(22,Z2,5,0,"div",125),e.k0s()(),e.j41(23,"div",102),e.DNE(24,tv,2,1,"div",130)(25,nv,5,0,"div",32)(26,iv,2,0,"div",131)(27,av,2,1,"div",130)(28,sv,5,0,"div",32)(29,_v,2,1,"div",130)(30,dv,5,0,"div",32),e.k0s()()}if(2&n){const t=a.$implicit,o=a.index,i=e.XpG(3);e.R7$(7),e.SpI(" ",o+1,""),e.R7$(4),e.Y8G("items",i.assignedTo)("clearable",!1),e.R50("ngModel",t.assignTo),e.R7$(),e.Y8G("ngIf",i.fulltimeQuestionList.length>1),e.R7$(4),e.FS9("value",null!=t&&t.question?null==t?null:t.question:null),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.isQuestionError)),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1)("items",i.onboardOptions),e.R50("ngModel",t.selectedOption),e.R7$(3),e.Y8G("ngIf",1==(null==t?null:t.isOptionError)),e.R7$(2),e.Y8G("ngIf",1==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",4==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",4==(null==t?null:t.questionType))}}function uv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",102)(1,"div",103)(2,"div",104)(3,"div",105,6),e.bIt("cdkDropListDropped",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.drop(i))}),e.DNE(5,pv,31,19,"div",106),e.k0s(),e.j41(6,"div",107)(7,"button",108),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.addQuestion())}),e.j41(8,"span",109),e.EFF(9," add "),e.k0s(),e.EFF(10,"Add New Questions "),e.k0s()()(),e.j41(11,"div",110)(12,"a",111),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.submitOnboardQuestions(1))}),e.EFF(13," Submit "),e.k0s()()()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("cdkDropListData",t.fulltimeQuestionList),e.R7$(2),e.Y8G("ngForOf",t.fulltimeQuestionList)}}function mv(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",132),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);return e.Njj(l.contractQuestionList.splice(i,1))}),e.EFF(1,"delete"),e.k0s()}}function gv(n,a){1&n&&(e.j41(0,"div",133)(1,"div",134)(2,"i",135),e.EFF(3,"warning"),e.k0s(),e.EFF(4," Please enter instructions "),e.k0s()())}function bv(n,a){if(1&n&&(e.j41(0,"div",136),e.nrm(1,"img",137),e.j41(2,"div",138),e.EFF(3),e.k0s()()),2&n){const t=a.item;e.R7$(),e.Y8G("src",t.avatar,e.B4B),e.R7$(2),e.JRh(t.name)}}function fv(n,a){if(1&n&&(e.j41(0,"div",136),e.nrm(1,"img",137),e.j41(2,"div",138),e.EFF(3),e.k0s()()),2&n){const t=a.item;e.R7$(),e.Y8G("src",t.avatar,e.B4B),e.R7$(2),e.JRh(t.name)}}function hv(n,a){1&n&&(e.j41(0,"div",133)(1,"div",134)(2,"i",135),e.EFF(3,"warning"),e.k0s(),e.EFF(4," Please select option "),e.k0s()())}function vv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",143)(1,"span",150),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2).index,s=e.XpG(3);return e.Njj(s.contractQuestionList[l].options.splice(i,1))}),e.EFF(2," close "),e.k0s()()}}function kv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",140)(1,"div",141)(2,"div",142)(3,"div",143)(4,"span",144),e.EFF(5," check_box_outline_blank "),e.k0s()(),e.j41(6,"div",145)(7,"input",146),e.bIt("click",function(i){return e.eBV(t),e.Njj(i.target.select())})("change",function(i){const l=e.eBV(t).index,s=e.XpG(2).index,_=e.XpG(3);return e.Njj(_.cquestionCheckbox(i,s,l))}),e.k0s(),e.nrm(8,"div",147)(9,"div",148),e.k0s(),e.DNE(10,vv,3,0,"div",149),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(7),e.FS9("value",t),e.R7$(3),e.Y8G("ngIf",(null==o?null:o.options.length)>1)}}function jv(n,a){if(1&n&&(e.j41(0,"div",103),e.DNE(1,kv,11,2,"div",139),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.options)}}function Cv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);
1return e.Njj(l.caddquestionOption(i))}),e.j41(2,"span",109),e.EFF(3," add "),e.k0s(),e.EFF(4,"Add Option "),e.k0s()()}}function yv(n,a){1&n&&(e.j41(0,"div",152),e.nrm(1,"textarea",153),e.k0s())}function wv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",143)(1,"span",150),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2).index,s=e.XpG(3);return e.Njj(s.contractQuestionList[l].options.splice(i,1))}),e.EFF(2," close "),e.k0s()()}}function xv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",140)(1,"div",141)(2,"div",142)(3,"div",143)(4,"span",144),e.EFF(5," radio_button_unchecked "),e.k0s()(),e.j41(6,"div",145)(7,"input",146),e.bIt("click",function(i){return e.eBV(t),e.Njj(i.target.select())})("change",function(i){const l=e.eBV(t).index,s=e.XpG(2).index,_=e.XpG(3);return e.Njj(_.cquestionCheckbox(i,s,l))}),e.k0s(),e.nrm(8,"div",147)(9,"div",148),e.k0s(),e.DNE(10,wv,3,0,"div",149),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(7),e.FS9("value",t),e.R7$(3),e.Y8G("ngIf",(null==o?null:o.options.length)>1)}}function Fv(n,a){if(1&n&&(e.j41(0,"div",103),e.DNE(1,xv,11,2,"div",139),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.options)}}function Rv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);
1return e.Njj(l.caddquestionOption(i))}),e.j41(2,"span",109),e.EFF(3," add "),e.k0s(),e.EFF(4,"Add Option "),e.k0s()()}}function Dv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",143)(1,"span",150),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(2).index,s=e.XpG(3);return e.Njj(s.contractQuestionList[l].options.splice(i,1))}),e.EFF(2," close "),e.k0s()()}}function Ev(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",140)(1,"div",141)(2,"div",142)(3,"div",143)(4,"span",144),e.EFF(5," assignment "),e.k0s()(),e.j41(6,"div",145)(7,"input",154),e.bIt("click",function(i){return e.eBV(t),e.Njj(i.target.select())})("change",function(i){const l=e.eBV(t).index,s=e.XpG(2).index,_=e.XpG(3);return e.Njj(_.cquestionCheckbox(i,s,l))}),e.k0s(),e.nrm(8,"div",147)(9,"div",148),e.k0s(),e.DNE(10,Dv,3,0,"div",149),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(7),e.FS9("value",t),e.R7$(3),e.Y8G("ngIf",(null==o?null:o.options.length)>1)}}function Iv(n,a){if(1&n&&(e.j41(0,"div",103),e.DNE(1,Ev,11,2,"div",139),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",null==t?null:t.options)}}function Tv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"button",151),e.bIt("click",function(){e.eBV(t);const i=e.XpG().index,l=e.XpG(3);
1return e.Njj(l.caddquestionOption(i))}),e.j41(2,"span",109),e.EFF(3," add "),e.k0s(),e.EFF(4,"Add Document Name "),e.k0s()()}}function Gv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",112)(1,"div",113)(2,"h3",114)(3,"i",115),e.EFF(4,"drag_indicator"),e.k0s(),e.EFF(5," Step: "),e.j41(6,"span",116),e.EFF(7),e.k0s()(),e.j41(8,"div",117)(9,"span",118),e.EFF(10,"Assign to:"),e.k0s(),e.j41(11,"ng-select",119),e.mxI("ngModelChange",function(i){const l=e.eBV(t).$implicit;return e.DH7(l.assignTo,i)||(l.assignTo=i),e.Njj(i)}),e.k0s(),e.DNE(12,mv,2,0,"span",120),e.k0s()(),e.j41(13,"div",121)(14,"div",122)(15,"div",123)(16,"input",124),e.bIt("keyup",function(i){const l=e.eBV(t).index,s=e.XpG(3);return e.Njj(s.cquestionChange(i,l))}),e.k0s(),e.DNE(17,gv,5,0,"div",125),e.k0s()(),e.j41(18,"div",126)(19,"ng-select",127),e.bIt("change",function(i){const l=e.eBV(t).index,s=e.XpG(3);return e.Njj(s.cselectQuestionType(i,l))}),e.mxI("ngModelChange",function(i){const l=e.eBV(t).$implicit;return e.DH7(l.selectedOption,i)||(l.selectedOption=i),e.Njj(i)}),e.DNE(20,bv,4,2,"ng-template",128)(21,fv,4,2,"ng-template",129),e.k0s(),e.DNE(22,hv,5,0,"div",125),e.k0s()(),e.j41(23,"div",102),e.DNE(24,jv,2,1,"div",130)(25,Cv,5,0,"div",32)(26,yv,2,0,"div",131)(27,Fv,2,1,"div",130)(28,Rv,5,0,"div",32)(29,Iv,2,1,"div",130)(30,Tv,5,0,"div",32),e.k0s()()}if(2&n){const t=a.$implicit,o=a.index,i=e.XpG(3);e.R7$(7),e.SpI(" ",o+1,""),e.R7$(4),e.Y8G("items",i.assignedTo)("clearable",!1),e.R50("ngModel",t.assignTo),e.R7$(),e.Y8G("ngIf",i.contractQuestionList.length>1),e.R7$(4),e.FS9("value",null!=t&&t.question?null==t?null:t.question:null),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.isQuestionError)),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1)("items",i.onboardOptions),e.R50("ngModel",t.selectedOption),e.R7$(3),e.Y8G("ngIf",1==(null==t?null:t.isOptionError)),e.R7$(2),e.Y8G("ngIf",1==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",4==(null==t?null:t.questionType)),e.R7$(),e.Y8G("ngIf",4==(null==t?null:t.questionType))}}function Mv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",102)(1,"div",103)(2,"div",104)(3,"div",105,6),e.bIt("cdkDropListDropped",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.drop(i))}),e.DNE(5,Gv,31,19,"div",106),e.k0s(),e.j41(6,"div",107)(7,"button",108),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.caddQuestion())}),e.j41(8,"span",109),e.EFF(9," add "),e.k0s(),e.EFF(10,"Add New Questions "),e.k0s()()(),e.j41(11,"div",110)(12,"a",111),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.submitOnboardQuestions(0))}),e.EFF(13," Submit "),e.k0s()()()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("cdkDropListData",t.contractQuestionList),e.R7$(2),e.Y8G("ngForOf",t.contractQuestionList)}}function Sv(n,a){if(1&n){const t=e.RV6();e.j41(0,"section")(1,"div",95)(2,"ul",96,5),e.mxI("activeIdChange",function(i){e.eBV(t);const l=e.XpG();return e.DH7(l.dashSelectedContent,i)||(l.dashSelectedContent=i),e.Njj(i)}),e.j41(4,"li",97)(5,"a",98),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabchange())}),e.EFF(6," Full time "),e.k0s(),e.DNE(7,uv,14,2,"ng-template",99),e.k0s(),e.j41(8,"li",97)(9,"a",98),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.tabchange())}),e.EFF(10," Contract "),e.k0s(),e.DNE(11,Mv,14,2,"ng-template",99),e.k0s()()(),e.j41(12,"div",100),e.nrm(13,"div",101),e.k0s()()}if(2&n){const t=e.sdS(3),o=e.XpG();e.R7$(2),e.R50("activeId",o.dashSelectedContent),e.R7$(2),e.Y8G("ngbNavItem",1),e.R7$(4),e.Y8G("ngbNavItem",2),e.R7$(5),e.Y8G("ngbNavOutlet",t)}}function Ov(n,a){1&n&&(e.j41(0,"span",81),e.EFF(1,"Rejected"),e.k0s())}function $v(n,a){1&n&&(e.j41(0,"span",82),e.EFF(1,"Inprogress"),e.k0s())}function Pv(n,a){1&n&&(e.j41(0,"span",83),e.EFF(1,"Completed"),e.k0s())}function Nv(n,a){1&n&&(e.j41(0,"span",84),e.EFF(1,"Pending"),e.k0s())}function Yv(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Jobseeker"),e.k0s())}function Vv(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"External Recruiter"),e.k0s())}function Jv(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Internal Recruiter"),e.k0s())}function Xv(n,a){1&n&&(e.j41(0,"span",78),e.EFF(1,"Vendor"),e.k0s())}function Av(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Approved "),e.k0s())}function Bv(n,a){1&n&&(e.j41(0,"div",184),e.EFF(1," Rejected "),e.k0s())}function qv(n,a){if(1&n&&e.DNE(0,Bv,2,0,"div",183),2&n){const t=e.XpG().$implicit,o=e.sdS(5);e.Y8G("ngIf",3==(null==t?null:t.response_status))("ngIfElse",o)}}function Lv(n,a){1&n&&(e.j41(0,"div",186),e.EFF(1," Pending Approval "),e.k0s())}function Hv(n,a){if(1&n&&e.DNE(0,Lv,2,0,"div",185),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",1==(null==t?null:t.response_status))}}function Uv(n,a){if(1&n&&(e.j41(0,"h6",187),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t?null:t.reject_reason," ")}}function zv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",188)(1,"button",189),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);
1return e.Njj(l.questionStatus(l.questionData,i,1))}),e.EFF(2," Approve "),e.k0s(),e.j41(3,"button",190),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit;return e.Njj(i.reject=!0)}),e.EFF(4," Reject "),e.k0s()()}}function Qv(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",191)(1,"div",123)(2,"input",192),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.textfieldAnswer=i.target.value)}),e.k0s()(),e.j41(3,"button",193),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.questionStatus(l.questionData,i,2))}),e.j41(4,"span",109),e.EFF(5,"send"),e.k0s()()()}}function Wv(n,a){if(1&n&&(e.j41(0,"div",167),e.DNE(1,Av,2,0,"div",168)(2,qv,1,2,"ng-template",null,7,e.C5r)(4,Hv,1,1,"ng-template",null,8,e.C5r),e.j41(6,"div",169)(7,"div",170),e.nrm(8,"div",171)(9,"div",172),e.k0s()(),e.j41(10,"div",173)(11,"div",174)(12,"div",175)(13,"span",176),e.EFF(14,"schedule"),e.k0s(),e.j41(15,"span"),e.EFF(16),e.k0s()(),e.j41(17,"div",177)(18,"span",176),e.EFF(19,"calendar_today"),e.k0s(),e.j41(20,"span"),e.EFF(21),e.k0s()()(),e.j41(22,"div")(23,"h5",178)(24,"span",78),e.EFF(25," Ans: "),e.k0s(),e.EFF(26),e.k0s()(),e.DNE(27,Uv,2,1,"h6",179)(28,zv,5,0,"div",180)(29,Qv,6,0,"div",181),e.k0s()()),2&n){const t=a.$implicit,o=e.sdS(3),i=e.XpG(3);e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.response_status))("ngIfElse",o),e.R7$(6),e.Y8G("ngClass",2==(null==t?null:t.response_status)?"green":3==(null==t?null:t.response_status)?"red":""),e.R7$(9),e.JRh(null==t?null:t.agoTime),e.R7$(5),e.JRh(null==t?null:t.createdDate),e.R7$(5),e.SpI("",null==t?null:t.response," "),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",0!=(null==i.questionData?null:i.questionData.status)&&2!=(null==t?null:t.response_status)&&3!=(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.reject))}}function Zv(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Wv,30,9,"div",166),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",null==t.questionData?null:t.questionData.jobseeker_responses)}}function Kv(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Approved "),e.k0s())}function ek(n,a){1&n&&(e.j41(0,"div",184),e.EFF(1," Rejected "),e.k0s())}function tk(n,a){if(1&n&&e.DNE(0,ek,2,0,"div",183),2&n){const t=e.XpG().$implicit,o=e.sdS(5);e.Y8G("ngIf",3==(null==t?null:t.response_status))("ngIfElse",o)}}function nk(n,a){1&n&&(e.j41(0,"div",186),e.EFF(1," Pending Approval "),e.k0s())}function ik(n,a){if(1&n&&e.DNE(0,nk,2,0,"div",185),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",1==(null==t?null:t.response_status))}}function ok(n,a){1&n&&e.nrm(0,"img",208)}function lk(n,a){1&n&&e.nrm(0,"img",209)}function ak(n,a){1&n&&e.nrm(0,"img",210)}function sk(n,a){1&n&&(e.j41(0,"a",211)(1,"i",212),e.EFF(2,"close"),e.k0s()())}function rk(n,a){if(1&n&&(e.j41(0,"div",198)(1,"div",199),e.DNE(2,ok,1,0,"img",200)(3,lk,1,0,"img",201)(4,ak,1,0,"img",202),e.k0s(),e.j41(5,"div",203)(6,"div",204)(7,"h6",205),e.EFF(8),e.k0s(),e.j41(9,"p",206),e.EFF(10),e.k0s()(),e.DNE(11,sk,3,0,"a",207),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("ngIf","docx"==(null==t?null:t.document_type)||"doc"==(null==t?null:t.document_type)),e.R7$(),e.Y8G("ngIf","jpg"==(null==t?null:t.document_type)||"jpeg"==(null==t?null:t.document_type)||"png"==(null==t?null:t.document_type)),e.R7$(),e.Y8G("ngIf","pdf"==(null==t?null:t.document_type)),e.R7$(4),e.SpI(" ",null==t?null:t.response," "),e.R7$(2),e.SpI(" ",null==t?null:t.file_size," "),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.response_status))}}function ck(n,a){if(1&n&&(e.j41(0,"h6",187),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t?null:t.reject_reason," ")}}function _k(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",188)(1,"button",189),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.questionStatus(l.questionData,i,1,!0))}),e.EFF(2," Approve "),e.k0s(),e.j41(3,"button",190),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit;return e.Njj(i.reject=!0)}),e.EFF(4," Reject "),e.k0s()()}}function dk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",191)(1,"div",123)(2,"input",192),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.textfieldAnswer=i.target.value)}),e.k0s()(),e.j41(3,"button",193),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.questionStatus(l.questionData,i,2,!0))}),e.j41(4,"span",109),e.EFF(5,"send"),e.k0s()()()}}function pk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167),e.DNE(1,Kv,2,0,"div",168)(2,tk,1,2,"ng-template",null,7,e.C5r)(4,ik,1,1,"ng-template",null,8,e.C5r),e.j41(6,"div",169)(7,"div",170),e.nrm(8,"div",171)(9,"div",172),e.k0s()(),e.j41(10,"div",194)(11,"div",174)(12,"div",175)(13,"span",176),e.EFF(14,"schedule"),e.k0s(),e.j41(15,"span"),e.EFF(16),e.k0s()(),e.j41(17,"div",177)(18,"span",176),e.EFF(19,"calendar_today"),e.k0s(),e.j41(20,"span"),e.EFF(21),e.k0s()()(),e.j41(22,"div",195)(23,"div",196),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.openPdfViwer("view_doc",i))}),e.DNE(24,rk,12,6,"div",197),e.k0s()(),e.DNE(25,ck,2,1,"h6",179)(26,_k,5,0,"div",180)(27,dk,6,0,"div",181),e.k0s()()}if(2&n){const t=a.$implicit,o=e.sdS(3),i=e.XpG(3);e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.response_status))("ngIfElse",o),e.R7$(6),e.Y8G("ngClass",2==(null==t?null:t.response_status)?"green":3==(null==t?null:t.response_status)?"red":""),e.R7$(9),e.JRh(null==t?null:t.agoTime),e.R7$(5),e.JRh(null==t?null:t.createdDate),e.R7$(3),e.Y8G("ngIf",null!=(null==t?null:t.document_url)),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",0!=(null==i.questionData?null:i.questionData.status)&&2!=(null==t?null:t.response_status)&&3!=(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.reject))}}function uk(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,pk,28,9,"div",166),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",null==t.questionData?null:t.questionData.jobseeker_responses)}}function mk(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Approved "),e.k0s())}function gk(n,a){1&n&&(e.j41(0,"div",184),e.EFF(1," Rejected "),e.k0s())}function bk(n,a){if(1&n&&e.DNE(0,gk,2,0,"div",183),2&n){const t=e.XpG().$implicit,o=e.sdS(5);e.Y8G("ngIf",3==(null==t?null:t.response_status))("ngIfElse",o)}}function fk(n,a){1&n&&(e.j41(0,"div",186),e.EFF(1," Pending Approval "),e.k0s())}function hk(n,a){if(1&n&&e.DNE(0,fk,2,0,"div",185),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",1==(null==t?null:t.response_status))}}function vk(n,a){if(1&n&&(e.j41(0,"div",214),e.nrm(1,"input",215),e.j41(2,"label",216),e.EFF(3),e.k0s()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(),l=i.$implicit,s=i.index;e.R7$(),e.FCK("id","radiobtn-",o,"-",s,""),e.FS9("value",null==t?null:t.id),e.Y8G("disabled",!0)("checked",(null==t?null:t.id)==l.question_option_id),e.R7$(),e.FCK("for","radiobtn-",o,"-",s,""),e.R7$(),e.SpI(" ",null==t?null:t.option_name," ")}}function kk(n,a){if(1&n&&(e.j41(0,"h6",187),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t?null:t.reject_reason," ")}}function jk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",188)(1,"button",189),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);
1return e.Njj(l.questionStatus(l.questionData,i,1))}),e.EFF(2," Approve "),e.k0s(),e.j41(3,"button",190),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit;return e.Njj(i.reject=!0)}),e.EFF(4," Reject "),e.k0s()()}}function Ck(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",191)(1,"div",123)(2,"input",192),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.textfieldAnswer=i.target.value)}),e.k0s()(),e.j41(3,"button",193),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.questionStatus(l.questionData,i,2))}),e.j41(4,"span",109),e.EFF(5,"send"),e.k0s()()()}}function yk(n,a){if(1&n&&(e.j41(0,"div",167),e.DNE(1,mk,2,0,"div",168)(2,bk,1,2,"ng-template",null,7,e.C5r)(4,hk,1,1,"ng-template",null,8,e.C5r),e.j41(6,"div",169)(7,"div",170),e.nrm(8,"div",171)(9,"div",172),e.k0s()(),e.j41(10,"div",173)(11,"div",174)(12,"div",175)(13,"span",176),e.EFF(14,"schedule"),e.k0s(),e.j41(15,"span"),e.EFF(16),e.k0s()(),e.j41(17,"div",177)(18,"span",176),e.EFF(19,"calendar_today"),e.k0s(),e.j41(20,"span"),e.EFF(21),e.k0s()()(),e.j41(22,"div"),e.DNE(23,vk,4,10,"div",213),e.k0s(),e.DNE(24,kk,2,1,"h6",179)(25,jk,5,0,"div",180)(26,Ck,6,0,"div",181),e.k0s()()),2&n){const t=a.$implicit,o=e.sdS(3),i=e.XpG(3);e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.response_status))("ngIfElse",o),e.R7$(6),e.Y8G("ngClass",2==(null==t?null:t.response_status)?"green":3==(null==t?null:t.response_status)?"red":""),e.R7$(9),e.JRh(null==t?null:t.agoTime),e.R7$(5),e.JRh(null==t?null:t.createdDate),e.R7$(2),e.Y8G("ngForOf",null==i.questionData?null:i.questionData.onboard_question_options),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",0!=(null==i.questionData?null:i.questionData.status)&&2!=(null==t?null:t.response_status)&&3!=(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.reject))}}function wk(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,yk,27,9,"div",166),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",null==t.questionData?null:t.questionData.jobseeker_responses)}}function xk(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Approved "),e.k0s())}function Fk(n,a){1&n&&(e.j41(0,"div",184),e.EFF(1," Rejected "),e.k0s())}function Rk(n,a){if(1&n&&e.DNE(0,Fk,2,0,"div",183),2&n){const t=e.XpG().$implicit,o=e.sdS(5);e.Y8G("ngIf",3==(null==t?null:t.response_status))("ngIfElse",o)}}function Dk(n,a){1&n&&(e.j41(0,"div",186),e.EFF(1," Pending Approval "),e.k0s())}function Ek(n,a){if(1&n&&e.DNE(0,Dk,2,0,"div",185),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",1==(null==t?null:t.response_status))}}function Ik(n,a){if(1&n&&(e.j41(0,"div",218),e.nrm(1,"input",219),e.j41(2,"label",216),e.EFF(3),e.k0s()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG(),l=i.$implicit,s=i.index;e.R7$(),e.FCK("id","questionCheck",o,"-",s,""),e.FS9("value",null==t?null:t.id),e.Y8G("disabled",!0)("checked",!!l.response.includes(null==t?null:t.id)),e.R7$(),e.FCK("for","questionCheck",o,"-",s,""),e.R7$(),e.SpI(" ",null==t?null:t.option_name," ")}}function Tk(n,a){if(1&n&&(e.j41(0,"h6",187),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==t?null:t.reject_reason," ")}}function Gk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",188)(1,"button",189),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.questionStatus(l.questionData,i,1))}),e.EFF(2," Approve "),e.k0s(),e.j41(3,"button",190),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit;return e.Njj(i.reject=!0)}),e.EFF(4," Reject "),e.k0s()()}}function Mk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",191)(1,"div",123)(2,"input",192),e.bIt("keyup",function(i){e.eBV(t);const l=e.XpG(4);return e.Njj(l.textfieldAnswer=i.target.value)}),e.k0s()(),e.j41(3,"button",193),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.questionStatus(l.questionData,i,2))}),e.j41(4,"span",109),e.EFF(5,"send"),e.k0s()()()}}function Sk(n,a){if(1&n&&(e.j41(0,"div",167),e.DNE(1,xk,2,0,"div",168)(2,Rk,1,2,"ng-template",null,7,e.C5r)(4,Ek,1,1,"ng-template",null,8,e.C5r),e.j41(6,"div",169)(7,"div",170),e.nrm(8,"div",171)(9,"div",172),e.k0s()(),e.j41(10,"div",173)(11,"div",174)(12,"div",175)(13,"span",176),e.EFF(14,"schedule"),e.k0s(),e.j41(15,"span"),e.EFF(16),e.k0s()(),e.j41(17,"div",177)(18,"span",176),e.EFF(19,"calendar_today"),e.k0s(),e.j41(20,"span"),e.EFF(21),e.k0s()()(),e.j41(22,"div"),e.DNE(23,Ik,4,10,"div",217),e.k0s(),e.DNE(24,Tk,2,1,"h6",179)(25,Gk,5,0,"div",180)(26,Mk,6,0,"div",181),e.k0s()()),2&n){const t=a.$implicit,o=e.sdS(3),i=e.XpG(3);e.R7$(),e.Y8G("ngIf",2==(null==t?null:t.response_status))("ngIfElse",o),e.R7$(6),e.Y8G("ngClass",2==(null==t?null:t.response_status)?"green":3==(null==t?null:t.response_status)?"red":""),e.R7$(9),e.JRh(null==t?null:t.agoTime),e.R7$(5),e.JRh(null==t?null:t.createdDate),e.R7$(2),e.Y8G("ngForOf",null==i.questionData?null:i.questionData.onboard_question_options),e.R7$(),e.Y8G("ngIf",3==(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",0!=(null==i.questionData?null:i.questionData.status)&&2!=(null==t?null:t.response_status)&&3!=(null==t?null:t.response_status)),e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.reject))}}function Ok(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,Sk,27,9,"div",166),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",null==t.questionData?null:t.questionData.jobseeker_responses)}}function $k(n,a){1&n&&(e.j41(0,"div",182),e.EFF(1," Signed "),e.k0s())}function Pk(n,a){1&n&&(e.j41(0,"div",186),e.EFF(1," Pending Sign "),e.k0s())}function Nk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",167),e.DNE(1,$k,2,0,"div",168)(2,Pk,2,0,"ng-template",null,8,e.C5r),e.j41(4,"div",169)(5,"div",170),e.nrm(6,"div",171)(7,"div",172),e.k0s()(),e.j41(8,"div",194)(9,"div",174)(10,"div",175)(11,"span",176),e.EFF(12,"schedule"),e.k0s(),e.j41(13,"span"),e.EFF(14),e.k0s()(),e.j41(15,"div",177)(16,"span",176),e.EFF(17,"calendar_today"),e.k0s(),e.j41(18,"span"),e.EFF(19),e.k0s()()(),e.j41(20,"div",195)(21,"div",196),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.openPdfViwer("view_doc",i))}),e.j41(22,"div",198)(23,"div",199),e.nrm(24,"img",210),e.k0s(),e.j41(25,"div",203)(26,"div",204)(27,"h6",205),e.EFF(28),e.k0s(),e.j41(29,"p",206),e.EFF(30),e.k0s()()()()()()()()}if(2&n){const t=a.$implicit,o=e.sdS(3),i=e.XpG(3);e.R7$(),e.Y8G("ngIf",1==(null==t?null:t.envelope_status))("ngIfElse",o),e.R7$(4),e.Y8G("ngClass",1==(null==t?null:t.envelope_status)?"green":""),e.R7$(9),e.JRh(null==i.questionData?null:i.questionData.agoTime),e.R7$(5),e.JRh(null==i.questionData?null:i.questionData.createdDate),e.R7$(9),e.SpI(" ",null==t?null:t.response," "),e.R7$(2),e.SpI(" ",null==t?null:t.file_size," ")}}function Yk(n,a){if(1&n&&(e.j41(0,"div")(1,"div",220)(2,"h3",221),e.EFF(3,"Signed Document"),e.k0s()(),e.DNE(4,Nk,31,7,"div",166),e.k0s()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",null==t.questionData?null:t.questionData.signedDocuments)}}function Vk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",155)(1,"div",156)(2,"div",157)(3,"h3",158),e.EFF(4),e.k0s(),e.DNE(5,Ov,2,0,"span",62)(6,$v,2,0,"span",63)(7,Pv,2,0,"span",64)(8,Nv,2,0,"span",65),e.k0s(),e.j41(9,"button",159),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss())}),e.k0s()(),e.j41(10,"h6",160),e.EFF(11," Assign to: "),e.DNE(12,Yv,2,0,"span",77)(13,Vv,2,0,"span",77)(14,Jv,2,0,"span",77)(15,Xv,2,0,"span",77),e.j41(16,"span",78),e.EFF(17),e.k0s()(),e.j41(18,"h5",161),e.EFF(19),e.k0s()(),e.j41(20,"div",162)(21,"div",163)(22,"div",33)(23,"div",164),e.DNE(24,Zv,2,1,"div",28)(25,uk,2,1,"div",28)(26,wk,2,1,"div",28)(27,Ok,2,1,"div",28)(28,Yk,5,1,"div",28),e.k0s()()()(),e.nrm(29,"div",165)}if(2&n){const t=e.XpG();e.R7$(4),e.SpI("Step ",t.queIndex,""),e.R7$(),e.Y8G("ngIf",3==(null==t.questionData?null:t.questionData.status)),e.R7$(),e.Y8G("ngIf",4==(null==t.questionData?null:t.questionData.status)),e.R7$(),e.Y8G("ngIf",1==(null==t.questionData?null:t.questionData.status)||2==(null==t.questionData?null:t.questionData.status)),e.R7$(),e.Y8G("ngIf",1==(null==t.questionData?null:t.questionData.isPending)),e.R7$(4),e.Y8G("ngIf",1==(null==t.questionData?null:t.questionData.assign_to)),e.R7$(),e.Y8G("ngIf",2==(null==t.questionData?null:t.questionData.assign_to)),e.R7$(),e.Y8G("ngIf",3==(null==t.questionData?null:t.questionData.assign_to)),e.R7$(),e.Y8G("ngIf",4==(null==t.questionData?null:t.questionData.assign_to)),e.R7$(2),e.SpI(" ",1==(null==t.questionData?null:t.questionData.assign_to)?"("+(null==t.questionData?null:t.questionData.jobseeker_name)+")":2==(null==t.questionData?null:t.questionData.assign_to)?"("+(null==t.questionData?null:t.questionData.ext_rec_name)+")":3==(null==t.questionData?null:t.questionData.assign_to)?"("+(null==t.questionData?null:t.questionData.rec_name)+")":4==(null==t.questionData?null:t.questionData.assign_to)?"("+(null==t.questionData?null:t.questionData.vendor_name)+")":""," "),e.R7$(2),e.SpI(" ",null==t.questionData?null:t.questionData.question," "),e.R7$(5),e.Y8G("ngIf",2==(null==t.questionData?null:t.questionData.question_type)),e.R7$(),e.Y8G("ngIf",4==(null==t.questionData?null:t.questionData.question_type)),e.R7$(),e.Y8G("ngIf",3==(null==t.questionData?null:t.questionData.question_type)),e.R7$(),e.Y8G("ngIf",1==(null==t.questionData?null:t.questionData.question_type)),e.R7$(),e.Y8G("ngIf",(null==t.questionData?null:t.questionData.signedDocuments)&&0!=(null==t.questionData||null==t.questionData.signedDocuments?null:t.questionData.signedDocuments.length))}}function Jk(n,a){if(1&n&&(e.nrm(0,"iframe",230),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.resume_src),e.f$h)}}function Xk(n,a){if(1&n&&e.nrm(0,"img",231),2&n){const t=e.XpG(2);e.FS9("src",t.resume_src,e.B4B)}}function Ak(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",222)(1,"h3",223),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",224),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.resume_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",109),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",225),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",226)(8,"div",227),e.DNE(9,Jk,2,3,"iframe",228)(10,Xk,1,1,"img",229),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(9),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function Bk(n,a){if(1&n&&(e.nrm(0,"iframe",230),e.nI1(1,"safe")),2&n){const t=e.XpG(2);e.Y8G("src",e.bMT(1,1,t.visa_proof_src),e.f$h)}}function qk(n,a){if(1&n&&e.nrm(0,"img",231),2&n){const t=e.XpG(2);e.FS9("src",t.visa_proof_src,e.B4B)}}function Lk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",222)(1,"h3",223),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",232),e.bIt("click",function(i){e.eBV(t);const l=e.XpG();return l.download(l.visa_proof_src),i.preventDefault(),e.Njj(i.stopPropagation())}),e.j41(4,"i",109),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",225),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",226)(8,"div",227),e.DNE(9,Bk,2,3,"iframe",228)(10,qk,1,1,"img",229),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.visa_proof_src,e.B4B),e.R7$(6),e.Y8G("ngIf","png"!=t.docExtension&&"jpg"!=t.docExtension),e.R7$(),e.Y8G("ngIf","png"==t.docExtension||"jpg"==t.docExtension)}}function Hk(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",222)(1,"h3",223),e.EFF(2,"Preview"),e.k0s(),e.j41(3,"a",232),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.download(i.resume_src))}),e.j41(4,"i",109),e.EFF(5,"file_download"),e.k0s()(),e.j41(6,"button",225),e.bIt("click",function(){const i=e.eBV(t).$implicit;return e.Njj(i.dismiss("Cross click"))}),e.k0s()(),e.j41(7,"div",226)(8,"ngx-doc-viewer",233),e.bIt("loaded",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.contentLoaded())}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("href",t.resume_src,e.B4B),e.R7$(5),e.Y8G("url",t.resume_src)}}let Uk=(()=>{class n{cs;modalService;toastr;globals;errorHandler;commonService;router;navigationService;route;dashSelectedContent=1;jobseekerId;jobseekerList=[];searchJsData=[];checkboxValue=[];document_type_array=["doc","docx","pdf"];docExtension;questionData={};queIndex;radioValue;textfieldAnswer="";resume_src="";visa_proof_src="";mainJsIndex;sliderJsIndex;isShowCustomSteps=!1;isFirstLoading=!0;isShowCreateQueBtn=!1;isShowpage=!1;dtOptions={};fulltimeQuestionList=[];contractQuestionList=[];id=1;onboardOptions=[{id:1,name:"Checkboxes",avatar:"../../../../assets/images/select-icons/check-box.svg"},{id:2,name:"Short Answer",avatar:"../../../../assets/images/select-icons/list.svg"},{id:3,name:"Multiple Choice",avatar:"../../../../assets/images/select-icons/radio.svg"},{id:4,name:"Documents",avatar:"../../../../assets/images/select-icons/segment.svg"}];onboardingSlider=[];assignedTo=[{id:1,name:"Jobseeker"},{id:2,name:"External Recruiter"},{id:3,name:"Internal Recruiter"},{id:4,name:"Vendor"}];stepAnsModal;resume_show;visa_proof_show;showDocsModal;constructor(t,o,i,l,s,_,p,u,b){this.cs=t,this.modalService=o,this.toastr=i,this.globals=l,this.errorHandler=s,this.commonService=_,this.router=p,this.navigationService=u,this.route=b}ngOnInit(){this.dtOptions={info:!1,searching:!1,paging:!1,order:[]},this.getOnboardingJobseekerList(),this.getOnboardSocketReesponse()}addQuestion(){this.setQuestionError();let t=this.fulltimeQuestionList.length-1;console.log(this.fulltimeQuestionList),console.log(this.fulltimeQuestionList[t].questionType),console.log(this.fulltimeQuestionList[t].options.length);let o=this.fulltimeQuestionList.filter(function(i){return""===i.question.trim()});0==o.length&&0!=this.fulltimeQuestionList[t].questionType&&0!=this.fulltimeQuestionList[t].options.length&&this.fulltimeQuestionList.push({question:"",questionType:0,options:["Option 1"],assignTo:1}),0==o.length&&2==this.fulltimeQuestionList[t].questionType&&this.fulltimeQuestionList.push({question:"",questionType:0,options:["Option 1"],assignTo:1})}caddQuestion(){this.setQuestionError();let t=this.contractQuestionList.length-1;console.log(this.contractQuestionList);let o=this.contractQuestionList.filter(function(i){return""===i.question.trim()});0==o.length&&0!=this.contractQuestionList[t].questionType&&0!=this.contractQuestionList[t].options.length&&this.contractQuestionList.push({question:"",questionType:0,options:["Option 1"],assignTo:1}),0==o.length&&2==this.contractQuestionList[t].questionType&&this.contractQuestionList.push({question:"",questionType:0,options:["Option 1"],assignTo:1})}setQuestionError(){this.fulltimeQuestionList.forEach(t=>
1{t.isQuestionError=""==t.question,t.isOptionError=0==t.questionType})}addquestionOption(t){console.log(this.fulltimeQuestionList),console.log(this.fulltimeQuestionList[t].options.length),0==this.fulltimeQuestionList[t].options.filter(function(i){return""===i.trim()}).length&&this.fulltimeQuestionList[t].options.push(4==this.fulltimeQuestionList[t].questionType?"Document "+(Number(this.fulltimeQuestionList[t].options.length)+1):"Option "+(Number(this.fulltimeQuestionList[t].options.length)+1))}caddquestionOption(t){console.log(this.contractQuestionList[t].options.length),0==this.contractQuestionList[t].options.filter(function(i){return""===i.trim()}).length&&this.contractQuestionList[t].options.push(4==this.contractQuestionList[t].questionType?"Document "+(Number(this.contractQuestionList[t].options.length)+1):"Option "+(Number(this.contractQuestionList[t].options.length)+1))}questionChange(t,o){this.fulltimeQuestionList[o].question=t.target.value,this.fulltimeQuestionList.forEach(i=>{i.isQuestionError=""==i.question})}cquestionChange(t,o){this.contractQuestionList[o].question=t.target.value,this.contractQuestionList.forEach(i=>{i.isQuestionError=""==i.question})}selectQuestionType(t,o){console.log(t),this.fulltimeQuestionList[o].options=4==t.id?["Document 1"]:["Option 1"],this.fulltimeQuestionList[o].questionType=t.id,this.fulltimeQuestionList.forEach(i=>{i.isOptionError=0==i.questionType})}cselectQuestionType(t,o){console.log(t),this.contractQuestionList[o].options=4==t.id?["Document 1"]:["Option 1"],this.contractQuestionList[o].questionType=t.id,this.contractQuestionList.forEach(i=>{i.isOptionError=0==i.questionType})}questionCheckbox(t,o,i){console.log(typeof t.target.value),""==t.target.value.trim()?(console.log(this.fulltimeQuestionList[o].options),t.target.value=this.fulltimeQuestionList[o].options[i]):this.fulltimeQuestionList[o].options[i]=t.target.value}cquestionCheckbox(t,o,i){console.log(typeof t.target.value),""==t.target.value.trim()?(console.log(this.contractQuestionList[o].options),t.target.value=this.contractQuestionList[o].options[i]):this.contractQuestionList[o].options[i]=t.target.value}drop(t){t.previousContainer===t.container?(0,je.HD)(t.container.data,t.previousIndex,t.currentIndex):(0,je.eg)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}getOnboardingJobseekerList(){1==this.isFirstLoading&&(this.globals.loading=!0),this.cs.getClientOnboardJobseekerList().subscribe(t=>{if(this.globals.loading=!1,this.isFirstLoading=!1,t&&1==t.ResponseCode){this.jobseekerList=t.ResponseData||[],this.searchJsData=t.ResponseData||[],this.isShowCreateQueBtn=1==t.clientCreateQuestion,this.globals.hasClientOnboardingAccess=this.jobseekerList&&this.jobseekerList.length>0||1==t.clientCreateQuestion,this.globals.hasClientOnboardingAccess||(this.navigationService.navigate("client/dashboard",this.route),this.toastr.info("Onboarding is not available at this time."));let l=[];if(this.jobseekerList&&this.jobseekerList.length>0&&this.jobseekerList.forEach((s,_)=>{let p=0;s&&s.questionsList&&0!=s.questionsList.length&&(s.questionsList.forEach(u=>{if(5==u.status?(u.isPending=!0,u.isDisabeSubmit=!1):(u.isDisabeSubmit=!0,u.isPending=!1),u.agoTime=R()(u.created_at).fromNow(),u.createdDate=R()(u.created_at).format("DD-MM-YYYY"),u.jobseeker_responses&&0!=u.jobseeker_responses.length){let b=[],f=[];u.jobseeker_responses.forEach(C=>{null==C.envelope_id?(b.push(C),C.agoTime=R()(C.created_at).fromNow(),C.createdDate=R()(C.created_at).format("DD-MM-YYYY")):f.push(C)}),u.jobseeker_responses=b,u.signedDocuments=f}}),p=s.questionsList.findIndex(u=>2!==u.status),s.questionsList[0]&&0==s.questionsList[0].status&&(s.questionsList[0].isPending=!0,s.questionsList[0].isDisabeSubmit=!1)),l.push({loop:!1,mouseDrag:!1,touchDrag:!1,pullDrag:!1,dots:!1,navSpeed:700,autoHeight:!1,autoplay:!1,responsive:{0:{items:1,margin:34,slideBy:1},576:{items:2,margin:34,slideBy:2},740:{items:3,margin:34,slideBy:3},940:{items:3,margin:34,slideBy:3},1200:{items:4,margin:34,slideBy:4}},nav:!0,navText:["‹","›"],navClass:["custom-prev","custom-next"],startPosition:p}
1),console.log("stepIndex",p)}),this.onboardingSlider=l,this.isShowpage=!0,0!=Object.keys(this.questionData).length){if(this.questionData.stepNo=this.queIndex,this.questionData=t.ResponseData[this.mainJsIndex].questionsList[this.sliderJsIndex],console.log("this.questionData this.questionData ",this.questionData),this.questionData.jobseeker_responses&&0!=this.questionData.jobseeker_responses.length){let s=[];this.questionData.jobseeker_responses.forEach((_,p)=>{2==_.response_status&&s.push(p)}),s.length==this.questionData.jobseeker_responses.length&&(this.questionData.isShowField=!0)}(!this.questionData.jobseeker_responses||0==this.questionData.jobseeker_responses.length)&&(this.questionData.isShowField=!0),1==this.questionData.question_type&&this.questionData.jobseeker_responses.forEach(s=>{s.response="string"==typeof s.response?JSON.parse(s.response):s.response}),4==this.questionData.question_type&&this.questionData.onboard_question_options.forEach(s=>{0!=this.questionData.jobseeker_responses.filter(p=>p.question_option_id==s.id&&3!=p.response_status).length&&(s.isDisabled=!0)})}}else this.jobseekerList=[],this.searchJsData=[],this.globals.hasClientOnboardingAccess=!1,this.navigationService.navigate("client/dashboard",this.route),this.toastr.info("Onboarding is not available at this time.");this.isShowpage=!0},t=>{this.globals.loading=!1,this.jobseekerList=[],this.searchJsData=[],this.globals.hasClientOnboardingAccess=!1,this.navigationService.navigate("client/dashboard",this.route),this.toastr.info("Onboarding is not available at this time."),this.errorHandler.handleError(t)})}openQuestionModal(t,o,i,l,s,_,p){if(console.log("onboardingOwl",p),this.mainJsIndex=s,this.sliderJsIndex=l-1,this.textfieldAnswer="",this.checkboxValue=[],this.questionData={},this.radioValue=null,this.questionData=i,this.jobseekerId=_.jobseeker_id,0!=i.jobseeker_responses.length){if(0!=i.jobseeker_responses.length){let u=[];i.jobseeker_responses.forEach((b,f)=>{2==b.response_status&&u.push(f)}),u.length==i.jobseeker_responses.length&&(this.questionData.isShowField=!0)}0==i.jobseeker_responses.length&&(this.questionData.isShowField=!0),1==i.question_type&&this.questionData.jobseeker_responses.forEach(u=>{u.response="string"==typeof u.response?JSON.parse(u.response):u.response}),4==i.question_type&&this.questionData.onboard_question_options.forEach(u=>{0!=this.questionData.jobseeker_responses.filter(f=>f.question_option_id==u.id&&3!=f.response_status).length&&(u.isDisabled=!0)}),this.questionData.stepNo=l,this.queIndex=l,console.log(this.radioValue),console.log(this.questionData),this.modalService.open(t,{centered:!0,windowClass:`cr-custom-modal modal-${o}`}),this.questionData.signedDocuments&&0!=this.questionData.signedDocuments.length&&this.questionData.signedDocuments.forEach(u=>{1==u.envelope_status?1!=u.envelope_download_status&&this.commonService.isCheckSignDocument({envelope_id:u.envelope_id,id:u.id,is_sign:1,is_download:0,document_url:u.document_url}).subscribe(f=>{this.getOnboardingJobseekerList()}):this.commonService.isCheckSignDocument({envelope_id:u.envelope_id,id:u.id,is_sign:0,is_download:0,document_url:u.document_url}).subscribe(f=>{"completed"==f.ResponseData.envelope_status&&this.getOnboardingJobseekerList()})})}}openPdfViwer(t,o){"view_doc"==t&&("docx"==o.document_type||"doc"==o.document_type?(this.resume_src=o.doc_url,this.modalService.open(this.showDocsModal,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"})):-1!=this.document_type_array.indexOf(o.extension)?(this.modalService.open(this.resume_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.doc_url,console.log("b")):(this.visa_proof_src=o.doc_url,this.modalService.open(this.visa_proof_show,{ariaLabelledBy:"modal-basic-title",centered:!0,windowClass:"cr-custom-modal modal-medium"}),this.resume_src=o.doc_url,console.log("c")))}questionStatus(t,o,i,l){if(2==i&&""==this.textfieldAnswer.trim())return this.toastr.error("Please fill reason of reject"),!1;if(2==i&&null==this.textfieldAnswer)return this.toastr.error("Please fill reason of reject"),!1;
1let s={question_id:t.id,question_option_id:o.question_option_id,rejected_reason:2==i?this.textfieldAnswer:null,jobseeker_id:this.jobseekerId,question_type:t.question_type,job_id:t.job_id};if(1==i?s.is_approved=1:s.is_rejected=1,1==l){s.isDocument=1;let _=0,p=[];t.jobseeker_responses.forEach(b=>{1==b.response_status&&(_+=1),p.includes(b.question_option_id)||p.push(b.question_option_id)});let u=[];t.onboard_question_options.forEach(b=>{1==b.isDisabled&&u.push(b)}),console.log("count",u),1==_&&4==t.question_type&&1==i&&t.jobseeker_responses.length>=t.onboard_question_options.length&&p.length==t.onboard_question_options.length&&u.length==t.onboard_question_options.length&&(s.is_all_approved_document=!0),1==_&&4==t.question_type&&2==i&&t.jobseeker_responses.length>=t.onboard_question_options.length&&p.length!=t.onboard_question_options.length&&u.length==t.onboard_question_options.length&&(s.is_all_reject_document=!0),console.log(p)}console.log(s),this.globals.loading=!0,this.cs.clientApproveRejectOnboardSteps(s).subscribe(_=>{if(1==_.ResponseCode){this.toastr.success(_.ResponseText);let p={};this.questionData.jobseeker_id&&0!=this.questionData.jobseeker_id&&(p.jobseeker_id=this.questionData.jobseeker_id),this.questionData.external_recruiter_id&&0!=this.questionData.external_recruiter_id&&(p.external_recruiter_id=this.questionData.external_recruiter_id),this.questionData.recruiter_id&&0!=this.questionData.recruiter_id&&(p.recruiter_id=this.questionData.recruiter_id),this.questionData.vendor_id&&0!=this.questionData.vendor_id&&(p.vendor_id=this.questionData.vendor_id),this.questionData.sales_id&&(p.sales_id=this.questionData.sales_id),this.questionData.client_id&&(p.client_id=this.questionData.client_id),this.questionData.client_person_id&&(p.client_person_id=this.questionData.client_person_id),console.log("obj",p),this.textfieldAnswer="",this.checkboxValue=[],this.radioValue=null,this.cs.sendOnboardingSocketResponse(p),this.getOnboardingJobseekerList()}},_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})}getQuestionsData(){this.globals.loading=!0,this.cs.getOnboardClientSteps().subscribe(t=>{if(this.globals.loading=!1,1==t.ResponseCode){let o=[];t.ResponseData.fulltime.forEach(l=>{var s=[];l.onboard_question_options?l.onboard_question_options.forEach(p=>{2!=l.question_type&&s.push(p.option_name)}):s.push(4==l.question_type?"Document 1":"Option 1"),o.push({question:l.question,questionType:l.question_type,selectedOption:1==l.question_type?"Checkboxes":2==l.question_type?"Short Answer":3==l.question_type?"Multiple Choice":"Documents",assignTo:l.assign_to?l.assign_to:1,options:s})}),this.fulltimeQuestionList=o,console.log("this.fulltimeQuestionList",this.fulltimeQuestionList);let i=[];t.ResponseData.contract.forEach(l=>{var s=[];l.onboard_question_options?l.onboard_question_options.forEach(p=>{2!=l.question_type&&s.push(p.option_name)}):s.push(4==l.question_type?"Document 1":"Option 1"),i.push({question:l.question,questionType:l.question_type,selectedOption:1==l.question_type?"Checkboxes":2==l.question_type?"Short Answer":3==l.question_type?"Multiple Choice":"Documents",assignTo:l.assign_to?l.assign_to:1,options:s})}),this.contractQuestionList=i}})}submitOnboardQuestions(t){if(1==t){this.fulltimeQuestionList.forEach(l=>{const s=l?.question?.trim()||"";l.isQuestionError=""===s,l.isOptionError=0===l.questionType}),console.log(this.fulltimeQuestionList);const o=this.fulltimeQuestionList.filter(l=>!l?.question?.trim());let i=!1;if(this.fulltimeQuestionList.forEach(l=>{1==l.isOptionError&&(i=!0)}),0==o.length&&0==i){console.log("Api call"),this.globals.loading=!0;let l={availability:1,questions:[]};this.fulltimeQuestionList.forEach((s,_)=>{l.questions.push({question:s.question,question_type:s.questionType,options:2==s.questionType?null:s.options,position:_+1,assign_to:s.assignTo})}),console.log(l),this.cs.addOnboardingSteps(l).subscribe(s=>{this.globals.loading=!1,1==s.ResponseCode&&this.toastr.success(s.ResponseText)},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}}else{this.contractQuestionList.forEach(l=>{l.isQuestionError=""==l.question,l.isOptionError=0==l.questionType}),console.log(this.contractQuestionList);let o=this.contractQuestionList.filter(l=>""==l.question.trim()),i=!1;if(this.contractQuestionList.forEach(l=>{1==l.isOptionError&&(i=!0)}),0==o.length&&0==i){console.log("Api call"),this.globals.loading=!0;let l={availability:0,questions:[]};this.contractQuestionList.forEach((s,_)=>{l.questions.push({question:s.question,question_type:s.questionType,options:2==s.questionType?null:s.options,position:_+1,assign_to:s.assignTo})}),console.log(l),this.cs.addOnboardingSteps(l).subscribe(s=>{this.globals.loading=!1,1==s.ResponseCode&&this.toastr.success(s.ResponseText)},s=>{this.globals.loading=!1,this.errorHandler.handleError(s)})}}}tabchange(){this.globals.loading=!0,setTimeout(()=>{this.globals.loading=!1},500)}download(t){const o=document.createElement("a");o.setAttribute("href",t),o.setAttribute("download",t),document.body.appendChild(o),o.click(),o.remove()}getOnboardSocketReesponse(){this.cs.getOnboardingSocketResponse().subscribe(t=>{1==t.responseCode&&this.getOnboardingJobseekerList()})}contentLoaded(){document.getElementById("progressBar1").style.display="none"}searchOnboardJobseekers(t){this.jobseekerList=""!=t?this.jobseekerList.filter(o=>{let i=o.jobseekerData.first_name+o.jobseekerData.last_name;return i.toLowerCase().includes(t.toLowerCase())?i.toLowerCase().includes(t.toLowerCase()):o.jobpost_data.job_title.toLowerCase().includes(t.toLowerCase())}):this.searchJsData}static \u0275fac=function(o){return new(o||n)(e.rXU(le.X),e.rXU(v.Bq),e.rXU(S.tw),e.rXU(ie.E
1),e.rXU(oe.c),e.rXU(_e.h),e.rXU(E.Ix),e.rXU(ae.o),e.rXU(E.nX))};static \u0275cmp=e.VBU({type:n,selectors:[["app-client-onboarding"]],viewQuery:function(o,i){if(1&o&&(e.GBs(v2,5),e.GBs(k2,5),e.GBs(j2,5),e.GBs(C2,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.stepAnsModal=l.first),e.mGM(l=e.lsd())&&(i.resume_show=l.first),e.mGM(l=e.lsd())&&(i.visa_proof_show=l.first),e.mGM(l=e.lsd())&&(i.showDocsModal=l.first)}},standalone:!0,features:[e.aNF],decls:31,vars:6,consts:[["stepAnsModal",""],["resume_show",""],["visa_proof_show",""],["showDocsModal",""],["onboardingOwl",""],["nav","ngbNav"],["todoList","cdkDropList"],["statusReject",""],["statusInprogress",""],[3,"loading"],[1,"main-content-wrap","dark"],[1,"onboarding-list-main-box","bg-white"],[1,"row","mb-3"],[1,"col-lg-5"],["aria-label","breadcrumb"],[1,"breadcrumb","pl-0","mb-0"],["aria-current","page",1,"breadcrumb-item","active"],[1,"breadcrumb-item","cursor-pointer",3,"click"],[1,""],["class","breadcrumb-item cursor-pointer",4,"ngIf"],[1,"col-lg-7","d-flex","justify-content-end","flex-wrap","gap-10"],[1,"cr-head-search"],[1,"cr-input-wrap","input-icon-prepend"],[1,"material-icons","cr-input-icon","icon-first"],["id","txt","type","text","placeholder","Search by Jobseeker or Job title",1,"cr-form-control","control-medium",3,"keyup"],["class","cr-btn cr-btn-blue ml-4",3,"click",4,"ngIf"],["class","row mb-5",4,"ngIf"],["class","onboarding-list-main-flex",4,"ngIf"],[4,"ngIf"],[1,"breadcrumb-item","cursor-pointer"],[1,"cr-btn","cr-btn-blue","ml-4",3,"click"],[1,"row","mb-5"],["class","col-12",4,"ngIf"],[1,"col-12"],[1,"fw-500","text-uppercase","gray-4"],[1,"onboarding-list-main-flex"],["class","onboarding-list-flex",4,"ngIf"],[1,"onboarding-list-flex"],["class","row mb-4",4,"ngFor","ngForOf"],[1,"row","mb-4"],[1,"col-xl-3","mb-xl-0","mb-5"],[1,"h4","fw-500","a-title","mb-4"],[1,"flex","flex-column","onboarding-list-sub-title-flex"],[1,"d-flex","align-items-center","onboarding-sub-title-list"],[1,"d-flex","align-items-center","mr-3","h6","small","mb-0","onboarding-list-sub-title","color-gray-2"],[1,"material-icons"],[1,"ml-2","fw-500"],[1,"h6","small","mb-0","a-title","fw-500"],["class","text-black-50",4,"ngIf"],[1,"h6","small","mb-0","fw-500","link","color-alice-blue","word-break-break-all",3,"href"],[1,"col-xl-9"],[1,"position-relative","w-100","max-w-100","owl-industries-wrapper"],[1,"onboarding-owl-slider",3,"options"],[4,"ngFor","ngForOf"],[1,"text-black-50"],["carouselSlide",""],[1,"step-display-box",3,"click","ngStyle","ngClass"],[1,"step-display-box-header"],[1,"d-flex","align-items-center","justify-content-between"],[1,"h5","small","fw-500","mb-0","step-display-title","d-inline-flex","align-items-center"],["class","d-flex align-items-center mr-2",4,"ngIf"],[1,"text-uppercase"],["class","cr-status status-red a-status-display fw-500 text-capitalize fw-500 mx-3",4,"ngIf"],["class","cr-status status-yellow a-status-display fw-500 text-capitalize fw-500 mx-3",4,"ngIf"],["class","cr-status status-green a-status-display fw-500 text-capitalize fw-500 mx-3",4,"ngIf"],["class","cr-status status-purple a-status-display fw-500 text-capitalize fw-500 mx-3",4,"ngIf"],[1,"step-display-box-line","my-3"],[1,"step-display-box-body"],[1,"fw-500","mb-3","color-dark"],[1,"d-flex","align-items-center","mb-3","flex-wrap","gap-5"],[1,"d-flex","align-items-center","mr-3","h6","small","color-gray-2"],["height","16","width","16","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["d","M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM13 12H17V14H11V7H13V12Z"],[1,"ml-2","white-space-nowrap"],[1,"d-flex","align-items-center","h6","small","color-gray-2"],["d","M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"],[1,"small","fw-400","mb-0","color-gray-2","lh-inherit"],["class","color-dark fw-500",4,"ngIf"],[1,"color-dark","fw-500"],[1,"d-flex","align-items-center","mr-2"],["d","M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z"],[1,"cr-status","status-red","a-status-display","fw-
1500","text-capitalize","fw-500","mx-3"],[1,"cr-status","status-yellow","a-status-display","fw-500","text-capitalize","fw-500","mx-3"],[1,"cr-status","status-green","a-status-display","fw-500","text-capitalize","fw-500","mx-3"],[1,"cr-status","status-purple","a-status-display","fw-500","text-capitalize","fw-500","mx-3"],[1,"step-display-box","a-bg-powder-blue","d-flex","flex-column","align-items-center","justify-content-center",2,"cursor","default"],[1,"material-icons","onboarded-icon","mb-2","color-teal-blue"],[1,"h5","small","fw-500","mb-0","color-teal-blue"],[1,"text-center","d-flex","align-items-center","justify-content-center","text-center","mt-5","pt-5"],[1,"onboarding-empty"],[1,"mx-auto","onboarding-empty-img-container","mb-5"],["src","../../../../assets/images/icons/empty.svg","alt","empty",1,"img-fluid","d-block","contain"],[1,"fw-600","mb-3"],[1,"fw-500","gray-3","mb-2","pb-2"],[1,"mb-5","gray-3"],[1,"head-top-bar","mb-5"],["ngbNav","",1,"cr-head-nav",3,"activeIdChange","activeId"],[3,"ngbNavItem"],["ngbNavLink","",1,"cr-head-nav-item",3,"click"],["ngbNavContent",""],[1,"cr-main-content"],[3,"ngbNavOutlet"],[1,"row"],[1,"col-lg-12"],[1,"onboarding-question-box-wrapper"],["cdkDropList","",1,"mb-5","example-list",3,"cdkDropListDropped","cdkDropListData"],["class","bg-gray-tint-8 onboarding-question-box example-box","cdkDrag","",4,"ngFor","ngForOf"],[1,"onboarding-question-box","p-0","mb-4"],[1,"cr-btn","cr-btn-blue","d-inline-flex","align-items-center","justify-content-start","mr-2","w-100","control-large",3,"click"],[1,"material-icons-outlined"],[1,"d-flex","justify-content-end","align-items-center"],[1,"cr-btn","cr-btn-filled","cr-btn-blue","cr-btn-sm","cursor-pointer",3,"click"],["cdkDrag","",1,"bg-gray-tint-8","onboarding-question-box","example-box"],[1,"onboarding-question-box-title","mb-4","pb-4","d-flex","align-items-center","justify-content-between"],[1,"fw-500","d-inline-flex","align-items-center","mb-0","max-w-100"],[1,"material-icons-outlined","mr-3","gray-4",2,"cursor","move"],[1,"ml-1"],[1,"onboarding-question-edit","justify-content-end"],[1,"white-space-normal","mr-2"],["bindLabel","name","bindValue","id","placeholder","Job Title",1,"cr-select","control-medium",3,"ngModelChange","items","clearable","ngModel"],["class","color-red material-icons-outlined onboarding-icon onboarding-icon-red ml-3",3,"click",4,"ngIf"],[1,"row","mb-lg-4","mb-3"],[1,"col-xl-8","mb-xl-0","mb-3"],[1,"cr-input-wrap"],["type","text","placeholder","Enter your Instructions",1,"cr-form-control","control-large",3,"keyup","value"],["class","control-error",4,"ngIf"],[1,"col-xl-4"],["appearance","outline","labelForId","heroId","placeholder","Select option type","bindLabel","name","bindValue","name",1,"cr-custom-select-md",3,"change","ngModelChange","searchable","clearable","items","ngModel"],["ng-label-tmp",""],["ng-option-tmp",""],["class","col-lg-12",4,"ngIf"],["class","col-12 mb-4",4,"ngIf"],[1,"color-red","material-icons-outlined","onboarding-icon","onboarding-icon-red","ml-3",3,"click"],[1,"control-error"],[1,"err-container"],[1,"material-icons","control-error-icon"],[1,"d-flex","align-items-center"],[1,"cr-custom-select-md-img",3,"src"],[1,"ml-2"],["class","onboarding-question-lists",4,"ngFor","ngForOf"],[1,"onboarding-question-lists"],[1,"custom-input-transparent-main-wrapper"],[1,"custom-input-transparent-wrapper","d-flex","align-items-center"],[1,"custom-input-transparent-icon"],[1,"material-icons-outlined","gray-4"],[1,"custom-input-transparent-container","position-relative"],["type","text","placeholder","Enter Option",1,"custom-input-transparent",3,"click","change","value"],[1,"custom-input-transparent-line"],[1,"custom-input-transparent-line-2"],["class","custom-input-transparent-icon",4,"ngIf"],[1,"material-icons-outlined","cursor-pointer","onboarding-icon-gray",3,"click"],[1,"cr-btn","cr-btn-text","cr-btn-blue","border-0","p-0","d-inline-flex","align-items-center",3,"click"],[1,"col-12","mb-4"],["placeholder","Your Response:","disabled","true",1,"cr-custom-text-area"],["type","text","placeholder","Enter Document Name",1,"custom-input-transparent",3,"click","change","value"],[1,"modal-header","flex-column","justify-content-between","pb-4"],[1,"d-flex","w-100","justify-content-between","mb-3"],[1,"d-flex","justify-content-between","max-w-100","w-100","align-items-center"],[1,"modal-title","mb-0"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close",3,"click"],[1,"small","fw-400","mb-3","color-gray-2","align-self-start"],[1,"align-self-start","fw-500","mb-0"],[1,"modal-body",2,"padding-top","15px","padding-bottom","15px"],[1,"row","align-items-stretch"],[1,"custom-radio-step-main-wrapper"],[1,"modal-footer","p-5","d-flex","justify-content-end"],["class","custom-radio-step-wrapper flex-wrap gap-5",4,"ngFor","ngForOf"],[1,"custom-radio-step-wrapper","flex-wrap","gap-5"],["class","mr-4 custom-radio-step-title fw-500 text-capitalize color-teal-green-shade-2",4,"ngIf","ngIfElse"],[1,"custom-radio-line","mr-4"],[1,"custom-radio-step",3,"ngClass"],[1,"custom-radio-step-circle"],[1,"custom-radio-step-circle-border"],[1,"custom-radio-step-content","w-auto"],[1,"d-flex","mb-3","align-items-center"],[1,"d-inline-flex","align-items-center","color-gray-2","h6","small","mb-0"],[1,"material-icons-outlined","mr-2","color-rock-gray","h4","mb-0"],[1,"d-inline-flex","align-items-center","color-gray-2","h6","small","mb-0","ml-4"],[1,"fw-500","mb-3","color-gray-2","align-self-start"],["class","color-red mb-0 font-italic fw-400",4,"ngIf"],["class","d-flex mb-4",4,"ngIf"],["class","d-flex",4,"ngIf"],[1,"mr-4","custom-radio-step-title","fw-500","text-capitalize","color-teal-green-shade-2"],["class","mr-4 custom-radio-step-title fw-500 text-capitalize color-red",4,"ngIf","ngIfElse"],[1,"mr-4","custom-radio-step-title","fw-500","text-capitalize","color-red"],["class","mr-4 custom-radio-step-title fw-500 text-capitalize color-yellow-shade-9",4,"ngIf"],[1,"mr-4","custom-radio-step-title","fw-500","text-capitalize","color-yellow-shade-9"],[1,"color-red","mb-0","font-italic","fw-400"],[1,"d-flex","mb-4"],[1,"cr-btn","cr-btn-blue",3,"click"],[1,"cr-btn","cr-custom-btn-red","cr-custom-btn-filled","ml-3",3,"click"],[1,"d-flex"],["placeholder","Enter Your Comments here...","type","text",1,"cr-form-control","control-medium",3,"keyup"],[1,"cr-btn","cr-btn-filled","flex-shrink-0","cr-btn-blue","fw-600","ml-3","d-flex","align-items-center","justify-content-center",3,"click"],[1,"custom-radio-step-content",2,"padding-bottom","20px"],[1,"documents-grid","custom-radio-step-documents-grid","mb-4",2,"grid-template-columns","none"],[3,"click"],["class","document-item ng-star-inserted",4,"ngIf"],[1,"document-item","ng-star-inserted"],[1,"doctype-img","flex-shrink-0"],["src","assets/images/icons/doctype-docx.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-jpg.svg","alt","","class","img-contain",4,"ngIf"],["src","assets/images/icons/doctype-pdf.svg","alt","","class","img-contain",4,"ngIf"],[1,"docinfo-wrap"],[1,"docinfo"],[1,"small","fw-500","color-dark","clamp-1"],[1,"paragraph-sm","color-gray-3","mb-0"],["class","cr-btn-round flex-shrink-0 bg-white border-0 p-0","title","Download",4,"ngIf"],["src","assets/images/icons/doctype-docx.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-jpg.svg","alt","",1,"img-contain"],["src","assets/images/icons/doctype-pdf.svg","alt","",1,"img-contain"],["title","Download",1,"cr-btn-round","flex-shrink-0","bg-white","border-0","p-0"],[1,"material-icons-outlined","color-red"],["class","custom-radio mb-3",4,"ngFor","ngForOf"],[1,"custom-radio","mb-3"],["type","radio",3,"id","disabled","value","checked"],[3,"for"],["class","custom-check mb-3",4,"ngFor","ngForOf"],[1,"custom-check","mb-3"],["type","checkbox",3,"id","disabled","checked","value"],[1,"pt-5","mt-4","pb-2",2,"border-top","1px solid var(--cr-gray-tint-6)"],[2,"font-weight","500"],[1,"modal-header"],["id","document-preview-modal",1,"modal-title"],[1,"cr-modal-head-button","ml-auto","mr-3",3,"click"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-3",3,"click"],[1,"modal-body","p-4","pt-0","overflow-auto"],[1,"prev-wrap"],["class","document-image","width","100%","height","100%","style","height: 100%",3,"src",4,"ngIf"],["alt","document preview","class","img-contain img-fluid",3,"src",4,"ngIf"],["width","100%","height","100%",1,"document-image",2,"height","100%",3,"src"],["alt","document preview",1,"img-contain","img-fluid",3,"src"],[1,"cr-modal-head-button","ml-auto","mr-3",3,"click","href"],["viewer","url","googleCheckContentLoaded","true","googleCheckInterval","3000","googleMaxChecks","1",1,"doc-viewer",2,"width","100%","height","600px",3,"loaded","url"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",9),e.j41(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",13)(5,"nav",14)(6,"ol",15)(7,"li",16),e.EFF(8," Onboarding "),e.k0s(),e.j41(9,"li",17),e.bIt("click",function(){return e.eBV(l),i.isShowCustomSteps=!1,e.Njj(i.getOnboardingJobseekerList())}),e.j41(10,"a",18),e.EFF(11,"Onboarding Jobseeker list"),e.k0s()(),e.DNE(12,F2,3,0,"li",19),e.k0s()()(),e.j41(13,"div",20)(14,"div",21)(15,"div",22)(16,"i",23),e.EFF(17,"search"),e.k0s(),e.j41(18,"input",24),e.bIt("keyup",function(_){return e.eBV(l),e.Njj(i.searchOnboardJobseekers(_.target.value))}),e.k0s()()(),e.DNE(19,R2,2,0,"button",25),e.k0s()(),e.DNE(20,E2,2,1,"div",26)(21,H2,2,1,"div",27)(22,Sv,14,4,"section",28),e.k0s()(),e.DNE(23,Vk,30,16,"ng-template",null,0,e.C5r)(25,Ak,11,2,"ng-template",null,1,e.C5r)(27,Lk,11,3,"ng-template",null,2,e.C5r)(29,Hk,9,2,"ng-template",null,3,e.C5r)}2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(12),e.Y8G("ngIf",1==i.isShowCustomSteps),e.R7$(7),e.Y8G("ngIf",1==i.isShowCreateQueBtn),e.R7$(),e.Y8G("ngIf",0==i.isShowCustomSteps),e.R7$(),e.Y8G("ngIf",0==i.isShowCustomSteps),e.R7$(),e.Y8G("ngIf",1==i.isShowCustomSteps))},dependencies:[y.MD,y.YU,y.Sq,y.bT,y.B3,y.PV,g.YN,g.BC,g.vS,g.X1,E.iI,N.MQ,N.vr,N.Uq,N.ZZ,ne.H,de.EE,de.$j,je.ad,je.O7,je.T1,Ze,et,v.Pv,v.Um,v.X9,v.sy,v.Gx,v.Ri,v.WA,v.m_,Ce.N,Bn.Rl,Bn.gU,Bn.NA,S._B],styles:['.step-display-box[_ngcontent-%COMP%]{border-radius:15px;padding:20px;height:100%}.step-display-title[_ngcontent-%COMP%]{width:calc(100% - 100px)}.step-display-box[_ngcontent-%COMP%] .a-status-display[_ngcontent-%COMP%]{min-width:72px;max-width:100px;height:24px;display:flex;align-items:center;justify-content:center}.step-display-box[_ngcontent-%COMP%]{position:relative;width:100%}.step-display-box[_ngcontent-%COMP%]:after{content:"";position:absolute;right:0;top:50%;width:30px;height:30px;background:url(arrow.cb45bf50fe4345fd.svg);background-size:contain;background-repeat:no-repeat;transform:translate(100%);display:flex;align-items:center}.step-display-box-grid[_ngcontent-%COMP%] .step-display-box[_ngcontent-%COMP%]:last-child:after{content:unset}.step-display-box-line[_ngcontent-%COMP%]{display:block;height:1px}.swiper-slide[_ngcontent-%COMP%]{height:auto}.onboarding-list-flex[_ngcontent-%COMP%]{border-bottom:1px solid #eaeaea;padding-bottom:20px;padding-top:20px}.onboarding-list-main-box[_ngcontent-%COMP%] .onboarding-list-flex[_ngcontent-%COMP%]:last-child{border-bottom:0;padding-bottom:0}.onboarding-list-main-box[_ngcontent-%COMP%] .onboarding-list-flex[_ngcontent-%COMP%]:first-child{padding-top:0}.onboarding-list-main-box[_ngcontent-%COMP%]{border-radius:26px}.step-display-box[_ngcontent-%COMP%]{cursor:pointer;border:1px solid}.step-display-box.a-bg-powder-blue[_ngcontent-%COMP%]{border-color:#e9f6fd;background:#e9f6fd}.step-display-box.a-bg-white[_ngcontent-%COMP%]{border-color:#e0e0e0}.step-display-box.a-bg-red[_ngcontent-%COMP%]{border-color:#fff1f1;background:#fff1f1}.step-display-box.a-bg-red[_ngcontent-%COMP%] .step-display-title[_ngcontent-%COMP%]{color:#eb5757}.step-display-box.a-bg-red[_ngcontent-%COMP%] .step-display-box-line[_ngcontent-%COMP%]{background-color:#fbcccc}.step-display-box.a-bg-green[_ngcontent-%COMP%]{border-color:#f2fef0;background:#f2fef0}.step-display-box.a-bg-green[_ngcontent-%COMP%] .step-display-title[_ngcontent-%COMP%]{color:#03706c}.step-display-box.a-bg-green[_ngcontent-%COMP%] .step-display-box-line[_ngcontent-%COMP%]{background-color:#c6e9c0}.step-display-box.a-bg-yellow[_ngcontent-%COMP%]{border-color:#fbc431;background:#fdf7e9}.step-display-box.a-bg-yellow[_ngcontent-%COMP%] .step-display-title[_ngcontent-%COMP%]{color:#a36406}.step-display-box.a-bg-yellow[_ngcontent-%COMP%] .step-display-box-line[_ngcontent-%COMP%]{background-color:#fde298}.step-display-box.a-bg-white[_ngcontent-%COMP%]{border-color:#e0e0e0;background:#fff}.step-display-box.a-bg-white[_ngcontent-%COMP%] .step-display-title[_ngcontent-%COMP%]{color:#031d1f}.step-display-box.a-bg-white[_ngcontent-%COMP%] .step-display-box-line[_ngcontent-%COMP%]{background-color:#eaeaea}.onBoardListSlider[_ngcontent-%COMP%] .step-display-box[_ngcontent-%COMP%]:after{content:unset}.step-display-box.a-bg-purple[_ngcontent-%COMP%] .step-display-title[_ngcontent-%COMP%]{color:#8536c3}.step-display-box.a-bg-purple[_ngcontent-%COMP%]{border-color:#8536c3;background:#e7def369}.step-display-box.a-bg-purple[_ngcontent-%COMP%] .step-display-box-line[_ngcontent-%COMP%]{background-color:#8536c3}.white-space-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.step-display-box[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}.step-display-box-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:34px}.step-display-box-spacing[_ngcontent-%COMP%]{padding:4rem}.step-display-box-main[_ngcontent-%COMP%]{background:#fbfbfb;height:100%;padding:40px 7rem;border-radius:32px}.step-display-box-main-title[_ngcontent-%COMP%]{border-bottom:1px solid #eaeaea}.max-w-100[_ngcontent-%COMP%]{max-width:100%}.onboarding-list-main-box[_ngcontent-%COMP%]{border-radius:15px;padding:4.5rem;height:100%;overflow-y:auto}.onboarding-list-sub-title[_ngcontent-%COMP%]{min-width:100px;max-width:100px}.onboarding-list-sub-title-flex[_ngcontent-%COMP%] .onboarding-sub-title-list[_ngcontent-%COMP%]{margin-bottom:12px}.onboarding-list-sub-title-flex[_ngcontent-%COMP%] .onboarding-sub-title-list[_ngcontent-%COMP%]:last-child{margin-bottom:0}.word-break-break-all[_ngcontent-%COMP%]{word-break:break-all}.main-content-wrap.dark[_ngcontent-%COMP%]{padding:15px;background-color:var(--cr-gray-tint-7);height:calc(100vh - 80px)}.owl-industries-nav[_ngcontent-%COMP%]{position:absolute!important;background:#36a4c3;border:1px solid;border-color:#36a4c3;min-width:32px;min-height:32px;max-width:32px;max-height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;top:50%;transform:translateY(-50%)}.owl-industries-nav-next[_ngcontent-%COMP%]{right:0}.owl-industries-nav.owl-industries-nav-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:rotate(180deg);position:relative}.owl-industries-nav-prev[_ngcontent-%COMP%]{left:0}.owl-industries-wrapper[_ngcontent-%COMP%]{padding:0 40px}.onboarding-list-main-flex[_ngcontent-%COMP%] .onboarding-list-flex[_ngcontent-%COMP%]{border-bottom:1px solid #eaeaea;padding-bottom:20px;padding-top:20px}.onboarding-list-main-flex[_ngcontent-%COMP%] .onboarding-list-flex[_ngcontent-%COMP%]:first-child{padding-top:0}.step-display-box[_ngcontent-%COMP%] .onboarded-icon[_ngcontent-%COMP%]{font-size:28px!important}.onboarding-empty[_ngcontent-%COMP%]{max-width:42%}.onboarding-empty-img-container[_ngcontent-%COMP%]{min-width:80px;min-height:80px;max-width:80px;display:flex;justify-content:center;align-items:center}.onboarding-empty-img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .onboarding-empty-img-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:100%}.onboarding-question-box-wrapper[_ngcontent-%COMP%] .onboarding-question-box[_ngcontent-%COMP%]{margin-bottom:20px}.onboarding-question-box-wrapper[_ngcontent-%COMP%] .onboarding-question-box[_ngcontent-%COMP%]:last-child{margin-bottom:0}.onboarding-question-box[_ngcontent-%COMP%]{padding:24px 20px;border:1px solid #f4f4f4;border-radius:12px}.onboarding-question-box-title[_ngcontent-%COMP%]{border-bottom:1px solid #eaeaea}.onboarding-question-edit[_ngcontent-%COMP%]{min-width:62px;max-width:62px;display:flex;align-items:center}.onboarding-icon[_ngcontent-%COMP
1%]{cursor:pointer;transition:.3s all}.onboarding-icon-blue[_ngcontent-%COMP%]{color:var(--cr-teal-blue)}.onboarding-icon-blue[_ngcontent-%COMP%]:hover{color:var(--cr-teal-blue-shade-1)}.onboarding-icon-red[_ngcontent-%COMP%]{color:var(--cr-red)}.onboarding-icon-red[_ngcontent-%COMP%]:hover{color:var(--cr-red-shade-1)}.onboarding-icon-gray[_ngcontent-%COMP%]{color:var(--cr-gray-tint-3)}.onboarding-icon-gray[_ngcontent-%COMP%]:hover{color:var(--cr-teal-blue)}.onboarding-question-lists[_ngcontent-%COMP%] .custom-input-transparent-main-wrapper[_ngcontent-%COMP%]{margin-bottom:6px}.custom-input-transparent-main-wrapper[_ngcontent-%COMP%]:last-child{margin-bottom:0}.custom-file-input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0}.custom-file-input-wrapper[_ngcontent-%COMP%]{align-items:center;display:flex;min-height:73px;padding:15px 20px;background-color:#fff;border:1px solid #e0e0e0;border-radius:15px}.custom-file-input-wrapper.disabled[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-6);color:var(--cr-gray-tint-2);border-color:transparent;cursor:not-allowed;-webkit-user-select:none;user-select:none}.upload-icon-wrapper[_ngcontent-%COMP%], .custom-file-input-wrapper[_ngcontent-%COMP%] .upload-icon[_ngcontent-%COMP%]{color:var(--cr-alice-blue)}.custom-file-input-wrapper[_ngcontent-%COMP%] .upload-icon-wrapper[_ngcontent-%COMP%]{border-left:1px solid #e0e0e0;padding-left:20px}.custom-file-input-wrapper[_ngcontent-%COMP%] .custom-file-input-title[_ngcontent-%COMP%]{width:100%;max-width:100%}.white-space-normal[_ngcontent-%COMP%]{white-space:nowrap}.icon-size-small[_ngcontent-%COMP%]{height:14px;width:14px}@media screen and (max-width: 1599px){.step-display-box-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr);grid-gap:30px}.step-display-box-main[_ngcontent-%COMP%]{border-radius:20px}}@media screen and (max-width: 1199px){.step-display-box-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);grid-gap:20px}.step-display-box-main[_ngcontent-%COMP%]{border-radius:18px}.step-display-box-spacing[_ngcontent-%COMP%]{padding:20px 44px}.onboarding-list-main-box[_ngcontent-%COMP%]{border-radius:8px;padding:20px}.owl-industries-nav[_ngcontent-%COMP%]{min-width:26px;min-height:26px;max-width:26px;max-height:26px}.onboarding-list-sub-title-flex[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:18px}}@media screen and (max-width: 991px){.onboarding-empty-img-container[_ngcontent-%COMP%]{min-width:60px;min-height:60px;max-width:60px}.onboarding-question-box[_ngcontent-%COMP%]{padding:20px 18px;border-radius:8px}}@media screen and (max-width: 767px){.step-display-box-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);grid-gap:20px}.step-display-box-main[_ngcontent-%COMP%]{padding:15px;border-radius:8px}.step-display-box-spacing[_ngcontent-%COMP%]{padding:20px}.onboarding-empty[_ngcontent-%COMP%]{max-width:100%}.onboarding-empty-img-container[_ngcontent-%COMP%]{min-width:50px;min-height:50px;max-width:50px}}@media screen and (max-width: 575px){.step-display-box-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr);grid-gap:30px}.step-display-box[_ngcontent-%COMP%]:after{right:unset;left:50%;top:100%;width:30px;height:30px;transform:translate(-50%) rotate(90deg);justify-content:center;align-items:center}.step-display-box-spacing[_ngcontent-%COMP%]{padding:20px 10px}.owl-industries-nav[_ngcontent-%COMP%]{position:static!important}.owl-industries-wrapper[_ngcontent-%COMP%]{padding:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.onboarding-owl-slider[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.owl-industries-nav-prev[_ngcontent-%COMP%]{order:2;margin-right:5px}.owl-industries-nav-next[_ngcontent-%COMP%]{order:3}.owl-industries-nav[_ngcontent-%COMP%]{transform:unset}.step-display-box[_ngcontent-%COMP%]{border-radius:8px;padding:12px}.step-display-box[_ngcontent-%COMP%]:after{content:unset}.onboarding-question-box[_ngcontent-%COMP%]{padding:16px 14px;border-radius:6px}}@media screen and (max-width: 414px){.time-select-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}}']}
1)}return n})();var Dl=x(62288),zk=x(6939);const Qk=["removaAllQuestionModal"],Wk=["removeOneQuestionModal"],Zk=["fileInput"],Kk=n=>({"pointer-events":n});function e4(n,a){1&n&&(e.j41(0,"div",49)(1,"i",50),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Jobtitle is required. "),e.k0s())}function t4(n,a){if(1&n&&(e.j41(0,"div",47),e.DNE(1,e4,4,0,"div",48),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.addQuestionForm.controls.jobTitle.errors.required)}}function n4(n,a){1&n&&(e.j41(0,"div",47)(1,"div",49)(2,"i",50),e.EFF(3,"warning"),e.k0s(),e.EFF(4," Jobtitle does not exist. "),e.k0s()())}function i4(n,a){1&n&&(e.j41(0,"div",49)(1,"i",50),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Question is required. "),e.k0s())}function o4(n,a){if(1&n&&(e.j41(0,"div",47),e.DNE(1,i4,4,0,"div",48),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.addQuestionForm.controls.question.errors.required&&t.isFormErr)}}function l4(n,a){if(1&n&&(e.j41(0,"h6",66),e.EFF(1),e.k0s()),2&n){const t=e.XpG(),o=t.$implicit,i=t.index;e.R7$(),e.Lme(" ",i+1,".",null==o?null:o.questions," ")}}function a4(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",67),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG().$implicit,s=e.XpG();return e.Njj(s.addSkill(null==i?null:i.id,l.id))}),e.EFF(1," + Add "),e.k0s()}}function s4(n,a){if(1&n&&(e.j41(0,"div",63),e.DNE(1,l4,2,2,"h6",64)(2,a4,2,0,"button",65),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",t),e.R7$(),e.Y8G("ngIf",t)}}function r4(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",51)(1,"h6",52)(2,"button",53)(3,"div",54)(4,"span",55),e.EFF(5,"keyboard_arrow_down"),e.k0s(),e.j41(6,"div",56)(7,"h6",57),e.EFF(8),e.k0s(),e.j41(9,"p",58),e.EFF(10),e.k0s()()(),e.j41(11,"div",59),e.bIt("click",function(){const i=e.eBV(t).$implicit,l=e.XpG();return e.Njj(l.addAllSuggestSkill(i.id,i))})("click",function(i){return e.eBV(t),e.Njj(i.stopPropagation())}),e.EFF(12," + Add All "),e.k0s()()(),e.j41(13,"div",60)(14,"div",61),e.DNE(15,s4,3,2,"div",62),e.k0s()()()}if(2&n){const t=a.$implicit;e.Mz_("id","suggested-qn-",a.index,""),e.R7$(8),e.JRh(t.skill_name),e.R7$(2),e.SpI("",t.length," Questions"),e.R7$(5),e.Y8G("ngForOf",t.interview_question)}}function c4(n,a){1&n&&(e.qex(0),e.j41(1,"div",89)(2,"div",49)(3,"i",50),e.EFF(4,"warning"),e.k0s(),e.EFF(5," Time Limit is required. "),e.k0s()(),e.bVm())}function _4(n,a){1&n&&(e.qex(0),e.j41(1,"div",89)(2,"div",49)(3,"i",50),e.EFF(4,"warning"),e.k0s(),e.EFF(5," Time must not be zero. "),e.k0s()(),e.bVm())}function d4(n,a){if(1&n){const t=e.RV6();e.j41(0,"li",78)(1,"button",79),e.EFF(2," drag_indicator "),e.k0s(),e.j41(3,"div",80)(4,"h6"),e.EFF(5),e.k0s(),e.j41(6,"div",81)(7,"input",82,6),e.bIt("change",function(i){e.eBV(t);const l=e.XpG(),s=l.$implicit,_=l.index,p=e.XpG(),u=p.$implicit,b=p.index,f=e.XpG(2);return e.Njj(f.addtimeLimit(i.target.value,null==s?null:s.id,u.id,b,_))})("keyup",function(){e.eBV(t);const i=e.sdS(8);return e.Njj(i.value)})("keydown",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.isShowSaveBtn())}),e.k0s(),e.DNE(9,c4,6,0,"ng-container",83)(10,_4,6,0,"ng-container",83),e.k0s(),e.j41(11,"div",84)(12,"div",85)(13,"input",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.addQueTime("02:00",120,i))}),e.k0s(),e.j41(14,"label",87),e.EFF(15,"2 min "),e.k0s()(),e.j41(16,"div",85)(17,"input",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.addQueTime("03:00",180,i))}),e.k0s(),e.j41(18,"label",87),e.EFF(19,"3 min "),e.k0s()(),e.j41(20,"div",85)(21,"input",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.addQueTime("05:00",300,i))}),e.k0s(),e.j41(22,"label",87),e.EFF(23,"5 min "),e.k0s()()()(),e.j41(24,"button",88),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,l=e.XpG(),s=l.$implicit,_=l.index,p=e.XpG(2);return e.Njj(p.removeSingleQuestion(null==i?null:i.id,s.id,_))}),e.EFF(25," Remove "),e.k0s()()}if(2&n){const t=e.sdS(8),o=e.XpG(),i=o.$implicit,l=o.index,s=e.XpG().index,_=e.XpG(2);e.R7$(5),e.Lme(" ",l+1,". ",null==i?null:i.questions," "),e.R7$(2),e.Mz_("id","time_limit",l,""),e.Y8G("value",null==i?null:i.time),e.R7$(2),e.Y8G("ngIf",!t.value&&_.time_limit_val
1id_flag),e.R7$(),e.Y8G("ngIf",1==(null==i?null:i.invalid)),e.R7$(3),e.FCK("id","cr-qnt-time-1",l,"-",s,""),e.Y8G("checked","02:00"==(null==i?null:i.time)),e.R7$(),e.FCK("for","cr-qnt-time-1",l,"-",s,""),e.R7$(3),e.FCK("id","cr-qnt-time-2",l,"-",s,""),e.Y8G("checked","03:00"==(null==i?null:i.time)),e.R7$(),e.FCK("for","cr-qnt-time-2",l,"-",s,""),e.R7$(3),e.FCK("id","cr-qnt-time-3",l,"-",s,""),e.Y8G("checked","05:00"==(null==i?null:i.time)),e.R7$(),e.FCK("for","cr-qnt-time-3",l,"-",s,"")}}function p4(n,a){if(1&n&&(e.qex(0),e.DNE(1,d4,26,28,"li",77),e.bVm()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf",t)}}function u4(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",70)(1,"div",71)(2,"h5",72),e.nrm(3,"img",73),e.k0s(),e.j41(4,"button",74),e.bIt("click",function(){const i=e.eBV(t).index,l=e.XpG(2);return e.Njj(l.removeAllSkill(i))}),e.EFF(5," Remove All "),e.k0s()(),e.j41(6,"div",75)(7,"ul",68,5),e.bIt("cdkDropListDropped",function(i){e.eBV(t);const l=e.XpG(2);return e.Njj(l.drop(i))}),e.DNE(9,p4,2,1,"ng-container",76),e.k0s()()()}if(2&n){const t=a.$implicit;e.R7$(7),e.Y8G("cdkDropListData",t.interview_question),e.R7$(2),e.Y8G("ngForOf",t.interview_question)}}function m4(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",22)(1,"form",11)(2,"div",68,5),e.bIt("cdkDropListDropped",function(i){e.eBV(t);const l=e.XpG();return e.Njj(l.drop(i))}),e.DNE(4,u4,10,2,"div",69),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.myQueForm),e.R7$(),e.Y8G("cdkDropListData",t.select_skill_data),e.R7$(2),e.Y8G("ngForOf",t.select_skill_data)}}function g4(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",90),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.saveQuestion())}),e.EFF(1," Save "),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("disabled",t.clickedSaveBtn)}}function b4(n,a){1&n&&(e.j41(0,"div",49)(1,"i",50),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email must be a valid email address "),e.k0s())}function f4(n,a){1&n&&(e.j41(0,"div",49)(1,"i",50),e.EFF(2,"warning"),e.k0s(),e.EFF(3," Email is already in use. Please select another email address "),e.k0s())}function h4(n,a){if(1&n&&(e.j41(0,"div",91),e.DNE(1,b4,4,0,"div",48)(2,f4,4,0,"div",48),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.emailForm.controls.email.errors.pattern),e.R7$(),e.Y8G("ngIf",t.emailForm.controls.email.errors.isUnique)}}function v4(n,a){if(1&n){const t=e.RV6();e.j41(0,"p",92)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"i",93),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return i.jobseekerEmailData=[],i.isDisableSave=!1,i.isDisableEmail=!1,i.chooseFileText="",e.Njj(i.isEmailExist=[])}),e.EFF(4,"close"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh((null==t.chooseFileText?null:t.chooseFileText.length)<13?t.chooseFileText:t.chooseFileText.slice(0,13)+"...")}}function k4(n,a){1&n&&(e.j41(0,"span"),e.EFF(1,","),e.k0s())}function j4(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.DNE(2,k4,2,0,"span",83),e.k0s()),2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(),e.SpI(" ",t,""),e.R7$(),e.Y8G("ngIf",1!=o.isEmailExist.length)}}function C4(n,a){if(1&n&&(e.j41(0,"div",94),e.EFF(1," Email: "),e.DNE(2,j4,3,2,"span",76),e.EFF(3," already exists please reupload file. "),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.isEmailExist)}}function y4(n,a){1&n&&(e.j41(0,"div",95)(1,"div",96)(2,"div",97),e.EFF(3,"No."),e.k0s(),e.j41(4,"div",98),e.EFF(5,"Email"),e.k0s()()())}function w4(n,a){if(1&n){const t=e.RV6();e.j41(0,"li",101)(1,"div",96)(2,"div",102)(3,"span",103),e.EFF(4),e.k0s()(),e.j41(5,"div",104)(6,"div",105)(7,"span",106),e.EFF(8),e.k0s(),e.j41(9,"i",107),e.bIt("click",function(){const i=e.eBV(t).index,l=e.XpG(2);return e.Njj(l.deleteEmail(i))}),e.EFF(10,"close"),e.k0s()()()()()}if(2&n){const t=a.$implicit,o=a.index;e.R7$(4),e.JRh(o+1),e.R7$(4),e.JRh(t)}}function x4(n,a){if(1&n&&(e.j41(0,"ul",99),e.DNE(1,w4,11,2,"li",100),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.jobseekerEmailData)}}function F4(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",108)(1,"h3",109),e.EFF(2,"Are you sure you want to remove all questions?"),e.k0s(),e.j41(3,"button",110),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",111)(5,"button",112),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.removeAllQuestion())}),e.EFF(8," Yes "),e.k0s()()}}function R4(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",108)(1,"h3",109),e.EFF(2,"Are you sure you want to remove?"),e.k0s(),e.j41(3,"button",110),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.k0s()(),e.j41(4,"div",111)(5,"button",112),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.modalClose())}),e.EFF(6," Cancel "),e.k0s(),e.j41(7,"button",113),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.removeOneQuestion())}),e.EFF(8," Yes "),e.k0s()()}}const D4=[{path:"register",component:mm},{path:"create-job",component:yt,canActivate:[me]},{path:"dashboard",component:Na,canActivate:[me]},{path:"offshore-dashboard",component:_2,canActivate:[me]},{path:"my-jobs",component:bd,canActivate:[me]},{path:"upcoming-interviews",component:Ha,canActivate:[me]},{path:"messages",component:Ls,canActivate:[me]},{path:"job-details",component:xl,canActivate:[me]},{path:"settings",component:G_,canActivate:[me]},{path:"onboarding",component:Uk,canActivate:[me]},{path:"preview-interview/:jobseeker_id",component:jm,canActivate:[me]},{path:":candidate_id/:job_id/candidate",component:E1,canActivate:[me]},{path:":job_id/:status_id/candidates",component:xl,canActivate:[me]},{path:"job-details/:job_id/edit",component:K1,canActivate:[me]},{path:"create-questions",component:(()=>{class n{globals;modalService;titleService;meta;toastr;fb;common;authService;rs;renderer;cs;errorHandler;jobtitle_error;job_id;removeAllQueId;search_skill_list;skill_question_data;job_title;inputCheck=0;skillIndex;removeOneQuestionId;excelFile;chooseFileText="";fileValidation="";previousNameFilter="";importTableData=[];skill_id=[];select_skill_data=[];suggest_skill_list=[];jobseekerEmailData=[];isEmailExist=[];jobTitleList=[];clickedSaveBtn=!1;save_questionarie_error=!1;isFormErr=!0;
1time_limit_valid_flag=!1;searching=!1;searchFailed=!1;confirm_type=!1;isDisableSave=!1;isDisableEmail=!1;validateEmailErr=!1;addQuestionForm;myQueForm;searchForm;emailForm;removaAllQuestionModal;removeOneQuestionModal;fileInput;constructor(t,o,i,l,s,_,p,u,b,f,C,w){this.globals=t,this.modalService=o,this.titleService=i,this.meta=l,this.toastr=s,this.fb=_,this.common=p,this.authService=u,this.rs=b,this.renderer=f,this.cs=C,this.errorHandler=w,this.addQuestionForm=this.fb.group({jobTitle:[null,[g.k0.required]],question:["",[g.k0.required]]}),this.myQueForm=this.fb.group({question:[""]}),this.searchForm=this.fb.group({searchField:[""]}),this.emailForm=this.fb.group({email:["",[g.k0.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]]})}ngOnInit(){this.suggestQuestionList(""),this.getAllJobList()}getAllJobList(){var t=this;return(0,j.A)(function*(){t.globals.loading=!0,yield t.cs.getAllJobList({}).subscribe(o=>{if(t.globals.loading=!1,1==o.ResponseCode){let i=[];o.ResponseData.active_jobs.forEach(l=>{i.push({job_id:l.job_id,job_title:l.job_title})}),t.jobTitleList=i}},o=>{t.globals.loading=!1,t.errorHandler.handleError(o)})})()}suggestQuestionList(t){if(t&&t.length>0){let o={skill_id:t};this.globals.loading=!0,this.rs.suggested_question_list(o).subscribe(i=>{this.globals.loading=!1,console.log("a",i.ResponseData),1==i.ResponseCode&&(this.suggest_skill_list=(i.ResponseData||[]).map(s=>({...s,interview_question:(s.interview_question||[]).filter(_=>null!=_)})),console.log({suggest:this.suggest_skill_list}),this.skill_question_data=this.suggest_skill_list,this.search_skill_list=this.suggest_skill_list)},i=>{this.globals.loading=!1})}else this.rs.suggested_question_list({skill_id:t||""}).subscribe(i=>{console.log("suggested_question_list",i.ResponseData),1==i.ResponseCode&&(this.suggest_skill_list=(i.ResponseData||[]).map(s=>({...s,interview_question:(s.interview_question||[]).filter(_=>null!=_)})),this.skill_question_data=this.suggest_skill_list,this.search_skill_list=this.suggest_skill_list)},i=>{this.globals.loading=!1})}filterByName(t){const o=t.target.value;""!==o?(this.previousNameFilter=o,this.suggest_skill_list=this.filterRows(this.previousNameFilter)):this.rs.suggested_question_list({skill_id:this.skill_id?this.skill_id:""}).subscribe(l=>{1==l.ResponseCode&&(this.suggest_skill_list=l.ResponseData,this.search_skill_list=l.ResponseData)},l=>{this.globals.loading=!1})}filterRows(t){return t=t.toLowerCase(),this.search_skill_list.filter(o=>{const l=-1!==o.skill_name.toLowerCase().indexOf(t)||!t;if(l)return l})}selectJobpost(t){var o=this;console.log("ttt",t),this.inputCheck=0,this.clickedSaveBtn=!1;let i=t.job_title;this.select_skill_data=[],this.skill_id=[],this.globals.loading=!0;const l=i;l?(this.job_title=l,this.rs.get_search_jobpost_data({job_title:l}).subscribe(function(){var _=(0,j.A)(function*(p){if(1==p.ResponseCode){o.globals.loading=!1;let u=p.ResponseData.search_data;console.log(p),u&&(u=u.data[0],o.job_id=u.job_id,o.addQuestionForm.get("jobTitle").setErrors(null),u.skills&&(u.skills.forEach(b=>{o.skill_id.push(b.id)}),o.suggestQuestionList(o.skill_id)),p.ResponseData.job_question)&&(o.save_questionarie_error=!1,console.log("rs",p.ResponseData),yield p.ResponseData.job_question.forEach(function(){var f=(0,j.A)(function*(C){C&&C.interview_question&&(yield C.interview_question.forEach(w=>{if(w&&null!=w.time){let T=function(A){return A.toString().padStart(2,"0")};w.time_limit=Number(w.time);const I=Math.floor(Number(w.time)/60),X=Number(w.time)%60,P=`${T(I)}:${T(X)}`;w.time=P}}))});return function(C){return f.apply(this,arguments)}}()),o.select_skill_data=(p.ResponseData.job_question||[]).map(f=>({...f,interview_question:(f.interview_question||[]).filter(C=>null!=C)})),console.log("this.select_skill_data",o.select_skill_data))}});return function(p){return _.apply(this,arguments)}}(),_=>{this.globals.loading=!1,this.errorHandler.handleError(_)})):this.job_title=""}addQuestion(){var t=this;return(0,j.A)(function*(){if(t.save_questionarie_error=!0,console.log(t.addQuestionForm),t.addQuestionForm.invalid)t.addQuestionForm.markAllAsTouched();else{if(null==t.job_id)return t.addQuestionForm.get("jobTitle").setErrors({notExist:!0}),!1;if(t.addQuestionForm.get("jobTitle").setErrors(null),t.clickedSaveBtn=!1,t.addQuestionForm.valid&&""!=t.addQuestionForm.get("jobTitle").value){t.globals.loading=!0,t.isFormErr=!0;var o=t.addQuestionForm.get("question").value;const i=new FormData;i.append("skills",3391),i.append("questions",o),t.job_id&&i.append("job_id",t.job_id),t.rs.add_question(i).subscribe(function(){var l=(0,j.A)(function*(s){if(t.globals.loading=!1,1==s.ResponseCode){if(0==t.select_skill_data.length)t.select_skill_data=s.ResponseData;else{let p,u,_=!1;if(yield t.select_skill_data.forEach(function(){var b=(0,j.A)(function*(f,C){yield s.ResponseData.forEach(w=>{w.id==f.id&&(_=!0,p=C,u=w.interview_question[0])})});return function(f,C){return b.apply(this,arguments)}}()),_)t.select_skill_data[p].interview_question.push(u);else{let f,b=!1;yield t.select_skill_data.forEach(function(){var C=(0,j.A)(function*(w,I){yield s.ResponseData.forEach(X=>{X.id!=w.id&&(b=!0,f=X)})});return function(w,I){return C.apply(this,arguments)}}()),f&&t.select_skill_data.push(f)}}t.suggestQuestionList(""),t.toastr.success(s.ResponseText),t.addQuestionForm.controls.question.setValue(""),console.log(t.addQuestionForm),t.isFormErr=!1}else t.globals.loading=!1,t.toastr.error(s.ResponseText)});return function(s){return l.apply(this,arguments)}}(),l=>{t.globals.loading=!1,t.toastr.error(l.error.ResponseData.errors[0])})}else""==t.addQuestionForm.get("jobTitle").value?t.toastr.error("Please Enter jobtitle"):t.jobtitle_error?t.toastr.error(t.jobtitle_error):t.addQuestionForm.invali
1d&&(console.log("dfdsf"),t.addQuestionForm.markAllAsTouched())}})()}addAllSuggestSkill(t,o){this.clickedSaveBtn=!1;let i={skill_id:t?[t]:""};console.log({skill_id:t});let l=[];this.save_questionarie_error=!0,this.suggest_skill_list.forEach(s=>{l.push(s.id)}),this.select_skill_data&&this.rs.suggested_question_list(i).subscribe(s=>{if(1==s.ResponseCode){if(0==this.select_skill_data.length)this.select_skill_data=s.ResponseData.filter(_=>_.id==t);else{let _=this.select_skill_data.filter(p=>p.id==t);if(0==_.length){let p=s.ResponseData.filter(u=>u.id==t);console.log("xy",p),this.select_skill_data.push(p[0])}else{console.log("sdsdsdf");let p=s.ResponseData.filter(u=>u.id==t);if(p.length>0&&p[0].interview_question.length!=_[0].interview_question.length){let u;console.log({abc:_,def:p}),console.log("sl",this.select_skill_data);const b=this.select_skill_data.findIndex(f=>f.id==o.id);console.log("ind",b),o.interview_question.length!=this.select_skill_data[b].interview_question.length||-1!=b?this.select_skill_data[b]=o:(_[0].interview_question.forEach(f=>{u=p[0].interview_question.filter(C=>C.id!==f.id)}),console.log(o),u.forEach(f=>{this.select_skill_data.forEach((C,w)=>{C.id==t&&C.interview_question.push(f)})}))}}}this.select_skill_data.forEach(_=>{_&&_.interview_question&&_.interview_question.forEach(p=>{p&&(""==p.time&&(p.time="03:00",p.time_limit=180),p.invalid="00:00"==p.time)})}),this.time_limit_valid_flag=!1}},s=>{this.globals.loading=!1})}isShowSaveBtn(){this.clickedSaveBtn=!1}addtimeLimit(t,o,i,l,s){var _=this;return(0,j.A)(function*(){_.save_questionarie_error=!0,console.log(t);const p=t.split(":");let u=p[0],b=p[1];console.log(u+" "+b),_.select_skill_data[l].interview_question[s].invalid="00:00"==t;let f=0;1==t.length?(_.select_skill_data[l].interview_question[s].time=`00:0${t}`,f=Number(t)):"00"==u&&null==b?(_.select_skill_data[l].interview_question[s].time="00:00",_.select_skill_data[l].interview_question[s].invalid=!0):"00"==u?(f=Number(b),_.select_skill_data[l].interview_question[s].time=`${t}`):"00"==b?(f=60*Number(u),_.select_skill_data[l].interview_question[s].time=`${t}`):null!=u&&null!=b?(f=60*Number(u)+Number(b),_.select_skill_data[l].interview_question[s].time=`${t}`):null==b&&""!=u&&(f=Number(u),_.select_skill_data[l].interview_question[s].time=`00:${t}`),console.log("od",f),""==t&&(_.time_limit_valid_flag=!0),yield _.select_skill_data.forEach(C=>{C&&C.interview_question&&C.interview_question.forEach(w=>{w&&w.id==o&&(w.time_limit=0!=f?Number(f):0)})}),console.log("sk",_.select_skill_data)})()}removeAllSkill(t){this.clickedSaveBtn=!1,this.modalService.open(this.removaAllQuestionModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"}),this.removeAllQueId=t}modalClose(){this.modalService.dismissAll()}removeAllQuestion(){this.select_skill_data.forEach((o,i)=>{i==this.removeAllQueId&&this.select_skill_data.splice(i,1)}),this.modalService.dismissAll()}removeOneQuestion(){var t=this;return(0,j.A)(function*(){1==t.select_skill_data[t.skillIndex].interview_question.length?(t.select_skill_data.splice(t.skillIndex,1),t.modalService.dismissAll(),yield t.suggestQuestionList("")):(console.log(t.select_skill_data),t.select_skill_data.forEach((o,i)=>{o&&o.interview_question&&o.interview_question.forEach((l,s)=>{l&&l.id==t.removeOneQuestionId&&(o.interview_question.splice(s,1),o.deleteData=!0)})}),t.modalService.dismissAll(),yield t.suggestQuestionList(""))})()}removeSingleQuestion(t,o,i){this.skillIndex=i,this.clickedSaveBtn=!1,this.modalService.open(this.removeOneQuestionModal,{backdrop:"static",keyboard:!1,centered:!0,windowClass:"cr-custom-modal modal-small"}),this.removeOneQuestionId=t}addSkill(t,o){var i=this;return(0,j.A)(function*(){i.save_questionarie_error=!0;let l=i.skill_question_data.filter(_=>_.id==o)[0],s=[];if(l.interview_question&&(s=l.interview_question.filter(_=>_.id==t)[0]),0===i.select_skill_data.length)i.select_skill_data.push(l),i.select_skill_data[0].interview_question=[],i.select_skill_data[0].interview_question.push(s),yield i.suggestQuestionList("");else if(0===i.select_skill_data.filter(p=>p.id==o).length)i.select_skill_data.push(l),i.select_skill_data[i.select_skill_data.length-1].interview_question=[],i.select_skill_data[i.select_skill_data.length-1].interview_question.push(s),yield i.suggestQuestionList("");else{let p=0;i.select_skill_data.map((f,C)=>{f.id==o&&(p=C)});let u=i.select_skill_data[p].interview_question.filter(f=>f.id==t),b=i.select_skill_data[p].interview_question.filter(f=>f.question_id==t);
10===u.length&&0===b.length?i.select_skill_data[p].interview_question.push(s):i.toastr.warning("Already added question!")}i.select_skill_data.forEach(_=>{_&&_.interview_question&&_.interview_question.forEach(p=>{p&&(""==p.time&&(p.time="03:00",p.time_limit=180),p.invalid="00:00"==p.time)})})})()}drop(t){t.previousContainer===t.container?(0,je.HD)(t.container.data,t.previousIndex,t.currentIndex):(0,je.eg)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}clickEmailFile(){this.fileInput.nativeElement.value=null}excelSheetUpload(t){var o=this;return(0,j.A)(function*(){o.importTableData=[],o.validateEmailErr=!1;let i=t.target.files[0].name.substring(t.target.files[0].name.lastIndexOf(".")+1,t.target.files[0].name.length);if(0==["xls","xlsx","csv"].includes(i))return o.toastr.error("File must be a excel"),t.target.value=null,!1;const s=t.target;if(1!==s.files.length)throw new Error("Cannot use multiple files");const _=new FileReader;_.onload=function(){var p=(0,j.A)(function*(u){const f=Dl.LF(u.target.result,{type:"binary"});let I=Dl.Wp.sheet_to_json(f.Sheets[f.SheetNames[0]],{header:1});if(console.log(I),1!=I[0].length)return t.target.value=null,o.toastr.error("Please download sample file and set format"),o.chooseFileText="",!1;o.chooseFileText=t.target.files[0].name,o.importTableData=I,o.excelFile=t.target.files[0];let X=[];var T=[];yield o.importTableData.forEach(function(){var P=(0,j.A)(function*(A,W){if(0!=W&&A.forEach((he,we)=>{T.push(he)}),A.length<=0)X.push(W+1);else{let he=[];yield A.forEach((we,Z)=>{he.push({name:we})}),he.length<=0&&X.push(W+1)}});return function(A,W){return P.apply(this,arguments)}}()),console.log(X.sort().toString()),console.log("emailData",T),o.isDisableEmail=!0,o.fileValidation=X.sort().toString(),o.globals.loading=!0,yield o.rs.existingUsersCsv({email:T}).subscribe(P=>{if(o.globals.loading=!1,1==P.ResponseCode)if(console.log(P),0!=P.ResponseData.emails.length)t.target.value=null,o.jobseekerEmailData=[],o.isEmailExist=P.ResponseData.emails;else{o.isEmailExist=[];let A=T.filter((W,he)=>T.indexOf(W)===he);o.jobseekerEmailData=A;for(let W=0;W<o.jobseekerEmailData.length;W++)0!=A.length&&0==o.validateEmail(A[W])&&(o.validateEmailErr=!0,t.target.value=null)}})});return function(u){return p.apply(this,arguments)}}(),_.readAsBinaryString(s.files[0])})()}validateEmailAddress(t){if(this.emailForm.valid)if(this.jobseekerEmailData=[],""==t.target.value)this.jobseekerEmailData=[];else{let o=[t.target.value];this.globals.loading=!0,this.rs.existingUsersCsv({email:o}).subscribe(i=>{this.globals.loading=!1,1==i.ResponseCode&&(this.globals.loading=!1,0!=i.ResponseData.emails.length?(this.jobseekerEmailData=[],this.isEmailExist=i.ResponseData.emails):(this.isEmailExist=[],this.jobseekerEmailData=o))})}}validateEmail(t){return/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/.test(t)}addQueTime(t,o,i){i.time=t,i.time_limit=o,i.invalid=!1}deleteEmail(t){this.emailForm.controls.email.value==this.jobseekerEmailData[t]&&(console.log(this.emailForm.controls.email.value),this.emailForm.controls.email.setValue("")),this.jobseekerEmailData.splice(t,1),0==this.jobseekerEmailData.length&&(this.isDisableSave=!1,this.isDisableEmail=!1,this.chooseFileText="");let o=0;for(let i=0;i<this.jobseekerEmailData.length;i++)0!=this.jobseekerEmailData.length&&0==this.validateEmail(this.jobseekerEmailData[i])&&(this.validateEmailErr=!0,o++);0==o&&(this.validateEmailErr=!1)}downloadExcelFile(){const t=this.renderer.createElement("a");t.setAttribute("target","_blank"),t.setAttribute("href","../../../../assets/files/sample_email.xlsx"),t.setAttribute("download","sample_email.xlsx"),t.click(),t.remove()}saveQuestion(){var t=this;return(0,j.A)(function*(){t.time_limit_valid_flag=!1;let o=!1;if(yield t.select_skill_data.forEach(function(){var i=(0,j.A)(function*(l){l&&l.interview_question&&(yield l.interview_question.forEach(s=>{s&&((null==s.time_limit||""==s.time_limit||0==s.time_limit)&&(t.time_limit_valid_flag=!0,o=!0),1==s.invalid&&(o=!0))}))});return function(l){return i.apply(this,arguments)}}()),o)console.log("fetch Data");else if(console.log("else part"),null!=t.job_title&&""!=t.addQuestionForm.controls.jobTitle.value){if(0==t.select_skill_data.length)return t.toastr.error("Please add questions"),!1;t.globals.loading=!0;let i={questiondata:t.select_skill_data,job_title:t.job_title,job_id:t.job_id};console.log("save obj",i),t.cs.add_questionnarie(i).subscribe(function(){var l=(0,j.A)(function*(s){console.log("hh",s),t.globals.loading=!1,1==s.ResponseCode?(t.time_limit_val
1id_flag=!1,t.toastr.success(s.ResponseText),t.clickedSaveBtn=!0,t.save_questionarie_error=!1):t.toastr.error("Please enter job title!")});return function(s){return l.apply(this,arguments)}}(),l=>{t.globals.loading=!1,t.toastr.error(l.error.ResponseData.errors[0])})}else t.toastr.error("Please enter job title!")})()}sendQuestion(){var t=this;return(0,j.A)(function*(){if(t.time_limit_valid_flag=!1,1==t.validateEmailErr)return t.toastr.error("Please set valid email address"),!1;if(1==t.save_questionarie_error)return t.toastr.error("Please save the Questionnaire"),!1;let o=!1;if(yield t.select_skill_data.forEach(function(){var i=(0,j.A)(function*(l){l&&l.interview_question&&(yield l.interview_question.forEach(s=>{s&&((null==s.time_limit||""==s.time_limit||0==s.time_limit)&&(t.time_limit_valid_flag=!0,o=!0),1==s.invalid&&(o=!0))}))});return function(l){return i.apply(this,arguments)}}()),o)console.log("fetch Data");else if(console.log("else part"),null!=t.job_title&&""!=t.addQuestionForm.controls.jobTitle.value){if(0==t.select_skill_data.length)return t.toastr.error("Please add questions"),!1;if(0==t.jobseekerEmailData.length)return t.toastr.error("Please add email address"),!1;t.globals.loading=!0;let i={skill_details:t.select_skill_data.map(l=>l.id),job_title:t.job_title,job_id:t.job_id,jobseeker_mails:t.jobseekerEmailData};console.log("obj",i),t.cs.add_questionnarie(i).subscribe(function(){var l=(0,j.A)(function*(s){console.log("hh",s),t.globals.loading=!1,1==s.ResponseCode?(t.time_limit_valid_flag=!1,t.toastr.success(s.ResponseText),t.clickedSaveBtn=!0,t.s
1ave_questionarie_error=!1,t.jobseekerEmailData=[],t.chooseFileText="",t.emailForm.controls.email.setValue(""),t.isDisableEmail=!1,t.isDisableSave=!1,t.addQuestionForm.reset(),t.addQuestionForm.get("jobTitle").setErrors(null),t.select_skill_data=[]):t.toastr.error("Please enter job title!")});return function(s){return l.apply(this,arguments)}}(),l=>{t.globals.loading=!1,t.toastr.error(l.error.ResponseData.errors[0])})}else t.toastr.error("Please enter job title!")})()}static \u0275fac=function(o){return new(o||n)(e.rXU(ie.E),e.rXU(v.Bq),e.rXU(fe.hE),e.rXU(fe.W8),e.rXU(S.tw),e.rXU(g.ok),e.rXU(_e.h),e.rXU(ye.u),e.rXU(zk.T),e.rXU(e.sFG),e.rXU(le.X),e.rXU(oe.c))};static \u0275cmp=e.VBU({type:n,selectors:[["app-client-create-questions"]],viewQuery:function(o,i){if(1&o&&(e.GBs(Qk,5),e.GBs(Wk,5),e.GBs(Zk,5)),2&o){let l;e.mGM(l=e.lsd())&&(i.removaAllQuestionModal=l.first),e.mGM(l=e.lsd())&&(i.removeOneQuestionModal=l.first),e.mGM(l=e.lsd())&&(i.fileInput=l.first)}},standalone:!0,features:[e.aNF],decls:63,vars:23,consts:[["question",""],["searchQuestionnaire",""],["fileInput",""],["removaAllQuestionModal",""],["removeOneQuestionModal",""],["todoList","cdkDropList"],["inputVal",""],[3,"loading"],[1,"create-qn-page","main-content-wrap","cr-body-sm"],[1,"qn-grid"],[1,"qn-column","sec1"],["novalidate","",3,"formGroup"],[1,"cr-input-wrap","mb-4"],["bindLabel","job_title","bindValue","job_id","formControlName","jobTitle","placeholder","Job Title",1,"cr-select","control-medium",3,"change","items","clearable"],["class","control-error",4,"ngIf"],["name","questionInput","id","qnInput","rows","6","formControlName","question","placeholder","Type your question here",1,"cr-form-control","control-medium"],[1,"cr-btn","cr-btn-blue",3,"click"],[1,"qn-section","suggested-qn-section"],[1,"qn-section-head"],[1,"qn-section-title","mb-0"],[1,"cr-input-wrap"],["type","search","name","searchQuestionnaire","placeholder","Search",1,"cr-form-control","py-2","px-4",3,"keyup"],[1,"qn-section-body"],["ngbAccordion","","activeId","suggested-qn-0",1,"qn-group-acc",3,"closeOthers"],["ngbAccordionItem","",3,"id",4,"ngFor","ngForOf"],[1,"qn-column","sec2"],[1,"qn-section","questionnaire-sec"],["class","qn-section-body",4,"ngIf"],[1,"text-right","p-5"],["class","cr-btn cr-btn-blue",3,"disabled","click",4,"ngIf"],[1,"qn-column","sec3"],[1,"qn-section","share-qn-section","p-4",3,"formGroup"],["placeholder","Email address","formControlName","email",1,"cr-form-control","control-medium",3,"keyup","change","readonly","ngStyle"],["class","control-error mb-4",4,"ngIf"],[1,"d-flex","mb-3","justify-content-btween"],[1,"h4","mb-2","color-cr-green","fw-700"],[1,"h6","fw-500","mb-0","color-teal-blue"],[1,"custom-file-upload-btn","mt-auto","ml-auto"],["data-id","2","id","add-csv-file","type","file",3,"click","change","disabled"],["for","add-csv-file",1,"cr-btn","cr-btn-flushed","c-btn-border-dashed","mb-0"],[1,"d-flex","justify-content-between","align-items-center","mb-4"],[1,"fw-400","link","color-teal-blue","a-link","cursor-pointer",3,"click"],["class","mb-0 d-flex align-items-center",4,"ngIf"],["class","cr-status status-red mb-3",4,"ngIf"],["class","mb-2",4,"ngIf"],["class","py-2 px-0 d-flex flex-column create-questions-email-list",4,"ngIf"],[1,"mt-auto","text-right","pt-5","ml-auto"],[1,"control-error"],["class","err-container",4,"ngIf"],[1,"err-container"],[1,"material-icons","control-error-icon"],["ngbAccordionItem","",3,"id"],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"custom-acc-head","suggested-qn-head","w-100","d-flex","justify-content-between","align-items-start"],[1,"d-flex","align-items-start"],[1,"custom-acc-arrow","material-icons-outlined"],[1,"suggested-qn-title","ms-2"],[1,"mb-1"],[1,"small","mb-0"],[1,"fw-700","link","color-teal-blue","flex-shrink-0",3,"click"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],["class","suggested-qn",4,"ngFor","ngForOf"],[1,"suggested-qn"],["class","small fw-500 mb-0",4,"ngIf"],["class","link color-teal-blue bg-transparent border-0",3,"click",4,"ngIf"],[1,"small","fw-500","mb-0"],[1,"link","color-teal-blue","bg-transparent","border-0",3,"click"],["cdkDropList","",1,"example-list",3,"cdkDropListDropped","cdkDropListData"],["class","main-qn-group example-box","cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag","",1,"main-qn-group","example-box"],[1,"main-qn-group-head"],[1,"fw-600","mb-0","d-flex","align-items-center"],["src","../../../../assets/images/swipe_down.png","alt","",1,"curs
1or-pointer"],[1,"link","color-red",3,"click"],[1,"main-qn-group-body"],[4,"ngFor","ngForOf"],["cdkDrag","","class","main-createque-li example-box",4,"ngIf"],["cdkDrag","",1,"main-createque-li","example-box"],[1,"qn-dragger","material-icons-outlined","bg-transparent","border-0","color-gray-2"],[1,"main-qn-info"],[1,"cr-form-input"],["type","text","placeholder","Time (MM:SS)","max","5","mask","00:00","name","time_limit[]","autocomplete","off",1,"cr-form-control","main-qn-time",3,"change","keyup","keydown","value","id"],[4,"ngIf"],[1,"cr-time-wrap","mt-3"],[1,"cr-qnt-time-radio-wrapper"],["type","radio",1,"cr-qnt-time-radio-input",3,"click","checked","id"],[1,"cr-qnt-time-radio-label","cursor-pointer",3,"for"],[1,"link","color-red","bg-transparent","border-0","ml-auto",3,"click"],[1,"control-error",2,"white-space","nowrap"],[1,"cr-btn","cr-btn-blue",3,"click","disabled"],[1,"control-error","mb-4"],[1,"mb-0","d-flex","align-items-center"],[1,"material-icons-outlined","color-red","cursor-pointer","ml-2",2,"font-size","14px",3,"click"],[1,"cr-status","status-red","mb-3"],[1,"mb-2"],[1,"row"],[1,"col-2","fw-600"],[1,"col-10","fw-600"],[1,"py-2","px-0","d-flex","flex-column","create-questions-email-list"],["class","d-block",4,"ngFor","ngForOf"],[1,"d-block"],[1,"col-md-2"],[1,"ml-3"],[1,"col-md-10"],[1,"d-flex","align-items-center","justify-content-between"],[1,"color-teal-blue"],[1,"material-icons-outlined","color-red","cursor-pointer",2,"font-size","14px",3,"click"],[1,"modal-header"],[1,"modal-title"],["type","button","aria-label","Close",1,"cr-modal-head-button","btn-close","ml-auto",3,"click"],[1,"modal-body","d-flex","justify-content-center"],["type","button",1,"cr-btn","cr-btn-red",3,"click"],["type","button",1,"cr-btn","cr-btn-blue","ml-4",3,"click"]],template:function(o,i){if(1&o){const l=e.RV6();e.nrm(0,"app-loading-spinner",7),e.j41(1,"section",8)(2,"div",9)(3,"section",10)(4,"form",11)(5,"div",12)(6,"ng-select",13),e.bIt("change",function(_){return e.eBV(l),e.Njj(i.selectJobpost(_))}),e.k0s(),e.DNE(7,t4,2,1,"div",14)(8,n4,5,0,"div",14),e.k0s(),e.j41(9,"div",12),e.nrm(10,"textarea",15,0),e.DNE(12,o4,2,1,"div",14),e.k0s(),e.j41(13,"button",16),e.bIt("click",function(){return e.eBV(l),e.Njj(i.addQuestion())}),e.EFF(14," + Add Question "),e.k0s()(),e.j41(15,"section",17)(16,"div",18)(17,"h3",19),e.EFF(18,"Suggested Questionnaire"),e.k0s(),e.j41(19,"div",20)(20,"input",21,1),e.bIt("keyup",function(_){return e.eBV(l),e.Njj(i.filterByName(_))}),e.k0s()()(),e.j41(22,"div",22)(23,"div",23),e.DNE(24,r4,16,5,"div",24),e.k0s()()()(),e.j41(25,"section",25)(26,"div",26)(27,"div",18)(28,"h3",19),e.EFF(29,"Questionnaire"),e.k0s()(),e.DNE(30,m4,5,3,"div",27),e.j41(31,"div",28),e.DNE(32,g4,2,1,"button",29),e.k0s()()(),e.j41(33,"section",30)(34,"section",31)(35,"div",12)(36,"input",32),e.bIt("keyup",function(_){return e.eBV(l),e.Njj(i.isDisableSave=""!=_.target.value)})("change",function(_){return e.eBV(l),e.Njj(i.validateEmailAddress(_))})("keyup",function(_){return e.eBV(l),e.Njj(""==_.target.value?i.jobseekerEmailData=[]:"")}),e.k0s(),e.DNE(37,h4,3,2,"div",33),e.k0s(),e.j41(38,"div",34)(39,"div")(40,"div",35),e.EFF(41),e.k0s(),e.j41(42,"div",36),e.EFF(43,"Uploaded CSV Data"),e.k0s()(),e.j41(44,"div",37)(45,"input",38,2),e.bIt("click",function(){return e.eBV(l),e.Njj(i.clickEmailFile())})("change",function(_){return e.eBV(l),e.Njj(i.excelSheetUpload(_))}),e.k0s(),e.j41(47,"label",39),e.EFF(48," + Add CSV File"),e.k0s()()(),e.j41(49,"div",40)(50,"a",41),e.bIt("click",function(){return e.eBV(l),e.Njj(i.downloadExcelFile())}),e.EFF(51," Download sample file "),e.k0s(),e.DNE(52,v4,5,1,"p",42),e.k0s(),e.DNE(53,C4,4,1,"div",43)(54,y4,6,0,"div",44)(55,x4,2,1,"ul",45),e.j41(56,"div",46)(57,"button",16),e.bIt("click",function(){return e.eBV(l),e.Njj(i.sendQuestion())}),e.EFF(58," Send "),e.k0s()()()()()(),e.DNE(59,F4,9,0,"ng-template",null,3,e.C5r)(61,R4,9,0,"ng-template",null,4,e.C5r)}2&o&&(e.Y8G("loading",i.globals.loading),e.R7$(4),e.Y8G("formGroup",i.addQuestionForm),e.R7$(2),e.Y8G("items",i.jobTitleList)("clearable",!1),e.R7$(),e.Y8G("ngIf",i.addQuestionForm.controls.jobTitle.invali
1d&&(i.addQuestionForm.controls.jobTitle.dirty||i.addQuestionForm.controls.jobTitle.touched)),e.R7$(),e.Y8G("ngIf",null==i.addQuestionForm.controls.jobTitle.errors?null:i.addQuestionForm.controls.jobTitle.errors.notExist),e.R7$(4),e.Y8G("ngIf",i.addQuestionForm.controls.question.invalid&&(i.addQuestionForm.controls.question.dirty||i.addQuestionForm.controls.question.touched)),e.R7$(11),e.Y8G("closeOthers",!0),e.R7$(),e.Y8G("ngForOf",i.suggest_skill_list),e.R7$(6),e.Y8G("ngIf",i.select_skill_data.length>0),e.R7$(2),e.Y8G("ngIf",i.select_skill_data.length>0),e.R7$(2),e.Y8G("formGroup",i.emailForm),e.R7$(2),e.Y8G("readonly",1==i.isDisableEmail)("ngStyle",e.eq3(21,Kk,1==i.isDisableEmail?"none":"initial")),e.R7$(),e.Y8G("ngIf",i.emailForm.controls.email.invalid&&(i.emailForm.controls.email.dirty||i.emailForm.controls.email.touched)),e.R7$(4),e.SpI(" ",null==i.jobseekerEmailData?null:i.jobseekerEmailData.length," "),e.R7$(4),e.Y8G("disabled",1==i.isDisableSave),e.R7$(7),e.Y8G("ngIf",""!=i.chooseFileText),e.R7$(),e.Y8G("ngIf",0!=i.isEmailExist.length),e.R7$(),e.Y8G("ngIf",0!=(null==i.jobseekerEmailData?null:i.jobseekerEmailData.length)),e.R7$(),e.Y8G("ngIf",0!=(null==i.jobseekerEmailData?null:i.jobseekerEmailData.length)))},dependencies:[y.MD,y.Sq,y.bT,y.B3,g.YN,g.qT,g.me,g.BC,g.cb,g.X1,g.j4,g.JD,v._f,v.WP,v.r6,v.tW,v.x7,v.UA,v.$R,je.ad,je.O7,je.T1,v.UN,N.MQ,N.vr],styles:['.create-qn-page[_ngcontent-%COMP%]{height:100%}.qn-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:450px 1fr 400px;align-items:flex-start;grid-gap:15px;height:100%}.qn-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;height:100%}.qn-section[_ngcontent-%COMP%]{background-color:var(--pure-white);border:1px solid var(--cr-gray-tint-8);border-radius:10px}.qn-section-head[_ngcontent-%COMP%]{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--cr-gray-tint-8);flex-shrink:0}.qn-section-head[_ngcontent-%COMP%] .qn-section-title[_ngcontent-%COMP%]{font-weight:600}.qn-section-head[_ngcontent-%COMP%] .cr-input-wrap[_ngcontent-%COMP%]{max-width:240px}.suggested-qn-section[_ngcontent-%COMP%]{overflow:hidden;display:flex;flex-direction:column;height:100%}.suggested-qn-section[_ngcontent-%COMP%] .qn-section-body[_ngcontent-%COMP%]{flex:1 1 0;overflow-y:auto}.main-qn-group[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--cr-gray-tint-8)}.main-qn-group-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;padding:15px 35px 15px 11px}.main-qn-group-head[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{flex-shrink:0}.questionnaire-sec[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.questionnaire-sec[_ngcontent-%COMP%] .qn-section-body[_ngcontent-%COMP%]{overflow-y:auto;flex:1 1 0}.main-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;padding:15px 35px 15px 5px}.main-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child){border-top:1px solid var(--cr-gray-tint-8)}.main-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .qn-dragger[_ngcontent-%COMP%]{margin-right:10px;flex-shrink:0}.main-qn-info[_ngcontent-%COMP%]{padding-right:5px}.main-qn-info[_ngcontent-%COMP%] .cr-form-input[_ngcontent-%COMP%]{max-width:150px;margin-top:10px}.main-qn-info[_ngcontent-%COMP%] .cr-form-control[_ngcontent-%COMP%]{padding:8px 14px;border-radius:8px}.share-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;padding:4px 30px}.share-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child) > label[_ngcontent-%COMP%]{border-top:1px solid var(--cr-gray-tint-8)}.share-qn-list[_ngcontent-%COMP%] .list-check[_ngcontent-%COMP%]{margin:unset;flex-shrink:0}.share-qn-link[_ngcontent-%COMP%]{border-bottom:1px solid var(--cr-gray-tint-8)}.share-qn-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.share-qn-section[_ngcontent-%COMP%] .qn-section-body[_ngcontent-%COMP%]{flex:1 1 0;overflow-y:auto}.share-qn-search[_ngcontent-%COMP%]{flex-shrink:0}.share-qn-link[_ngcontent-%COMP%], .share-qn-section[_ngcontent-%COMP%] .share-qn-search[_ngcontent-%COMP%]{padding:20px 30px}.share-qn-section[_ngcontent-%COMP%] .share-qn-btn[_ngcontent-%COMP%]{padding:15px 30px}
1.share-qn-to-name[_ngcontent-%COMP%]{font-weight:500;margin-right:auto}.cr-time-wrap[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}@media screen and (max-width: 1699px){.qn-section-head[_ngcontent-%COMP%]{padding:20px}.qn-section-head[_ngcontent-%COMP%] .qn-section-title[_ngcontent-%COMP%]{font-size:18px}.qn-section-head[_ngcontent-%COMP%] .cr-input-wrap[_ngcontent-%COMP%]{max-width:180px}.share-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding:4px 20px}.share-qn-link[_ngcontent-%COMP%], .main-qn-group-head[_ngcontent-%COMP%], .share-qn-section[_ngcontent-%COMP%] .share-qn-search[_ngcontent-%COMP%], .share-qn-section[_ngcontent-%COMP%] .share-qn-btn[_ngcontent-%COMP%]{padding:20px}.suggested-qn[_ngcontent-%COMP%]{padding:10px}.main-qn-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:15px 20px 15px 5px}.qn-group-acc[_ngcontent-%COMP%] .suggested-qn-head[_ngcontent-%COMP%]{padding-inline:10px}}@media screen and (max-width: 1439px){.qn-column[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{height:100px}.qn-column[_ngcontent-%COMP%] .cr-btn[_ngcontent-%COMP%]{padding:5px 15px;font-size:14px;border-radius:8px}.control-medium[_ngcontent-%COMP%], ng-select.control-medium[_ngcontent-%COMP%]{font-size:14px}.qn-section-head[_ngcontent-%COMP%] .qn-section-title[_ngcontent-%COMP%]{font-size:16px}.main-qn-group-head[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:14px}}@media screen and (max-width: 1279px){.qn-grid[_ngcontent-%COMP%]{grid-template-columns:350px 1fr 300px}}@media screen and (max-width: 991px){.qn-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);grid-gap:10px;grid-template-areas:"sec1 sec2 sec2" "sec1 sec2 sec2" "sec1 sec3 sec3"}.sec1[_ngcontent-%COMP%]{grid-area:sec1}.sec2[_ngcontent-%COMP%]{grid-area:sec2}.sec3[_ngcontent-%COMP%]{grid-area:sec3}.share-qn-list[_ngcontent-%COMP%]{max-height:200px}}@media screen and (max-width: 575px){.qn-grid[_ngcontent-%COMP%]{display:block;grid-template-areas:unset}.qn-column[_ngcontent-%COMP%] .cr-btn[_ngcontent-%COMP%]{margin-left:auto;display:block}.qn-grid[_ngcontent-%COMP%] .qn-column[_ngcontent-%COMP%]{margin-bottom:10px;height:auto}.suggested-qn-section[_ngcontent-%COMP%] .qn-section-body[_ngcontent-%COMP%]{flex:0 1 auto;height:300px}.share-qn-section[_ngcontent-%COMP%] .qn-section-body[_ngcontent-%COMP%]{height:250px;flex:0 1 auto}.sec2[_ngcontent-%COMP%], .questionnaire-sec[_ngcontent-%COMP%]{height:auto}.questionnaire-sec[_ngcontent-%COMP%] .qn-section-body[_ngcontent-%COMP%]{max-height:unset;flex:0 1 auto;height:300px}}.cr-qnt-time-radio-label[_ngcontent-%COMP%]{position:absolute;left:0;top:0;padding:5px;background-color:var(--cr-teal-blue-tint-11);border-radius:6px;font-weight:500;margin-bottom:5px;text-align:left;border:1px solid;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-color:transparent;font-size:12px;color:#b2b2b2}.cr-qnt-time-radio-input[_ngcontent-%COMP%]{opacity:0;width:100%;height:100%;left:0;top:0}.cr-qnt-time-radio-wrapper[_ngcontent-%COMP%]{position:relative;min-width:50px;max-width:50px;min-height:30px;max-height:30px;text-align:center;display:flex;align-items:center;justify-content:center}.cr-time-wrap[_ngcontent-%COMP%] .cr-qnt-time-radio-wrapper[_ngcontent-%COMP%]:not(:last-child){margin-right:5px}.cr-qnt-time-radio-wrapper[_ngcontent-%COMP%] .cr-qnt-time-radio-input[_ngcontent-%COMP%]:checked + .cr-qnt-time-radio-label[_ngcontent-%COMP%]{background:#36a4c31f;border-color:#36a4c3;color:#36a4c3}.cr-time-wrap[_ngcontent-%COMP%] .cr-qnt-time.white[_ngcontent-%COMP%]{background:#fff;border-color:#f4f4f4;color:#b2b2b2}.create-questions-email-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:10px}.create-questions-email-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.create-questions-email-list[_ngcontent-%COMP%]{flex:1 1 0;overflow-y:auto;overflow-x:hidden;min-height:300px}#add-csv-file[_ngcontent-%COMP%]:disabled + .cr-btn.c-btn-border-dashed[_ngcontent-%COMP%]{background-color:var(--cr-gray-tint-6);color:var(--cr-gray-tint-2);border-color:transparent;cursor:not-allowed}']})}return n})(),canActivate:[me]},{path:"calling",component:u2,canActivate:[me]},{path:"receiving",component:b2,canActivate:[me]},{path:"reset-password",component:f2}
1],E4={thousandSeparator:"'"};let I4=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=e.$C({type:n});static \u0275inj=e.G2t({providers:[(0,Xn.Dw)(),y.aZ],imports:[y.MD,v.UN,v.Pv,ne.H,N.MQ,cl.E,M_.rz.forRoot({renderOnClick:!1,showSubtitle:!1,maxPercent:100,titleFontSize:"55",titleFontWeight:"bold",unitsFontSize:"55",unitsFontWeight:"bold",space:-20,outerStrokeWidth:20,outerStrokeColor:"#10957E",innerStrokeWidth:20,innerStrokeColor:"#F2F2F2",backgroundStrokeWidth:5}),E.iI.forChild(D4),g.X1,g.YN,pe.ed,de.EE,Ie.Qs.forRoot(),_l.xv,h2.Ph,v.Ny,je.ad,Bn.Rl,dl.f,v._f]})}return n})()},48032:function(fl){fl.exports=function(){"use strict";function Se(r,c,d){if("function"==typeof r?r===c:r.has(c))return arguments.length<3?c:d;throw new TypeError("Private element is not present on this object")}function y(r,c){return r.get(Se(r,c))}function v(r,c,d){(function x(r,c){if(c.has(r))throw new TypeError("Cannot initialize the same private elements twice on an object")})(r,c),c.set(r,d)}const D={},Xt=r=>new Promise(c=>{if(!r)return c();const d=window.scrollX,m=window.scrollY;D.restoreFocusTimeout=setTimeout(()=>{D.previousActiveElement instanceof HTMLElement?(D.previousActiveElement.focus(),D.previousActiveElement=null):document.body&&document.body.focus(),c()},100),window.scrollTo(d,m)}),H="swal2-",k=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((r,c)=>(r[c]=H+c,r),{}),Ie=["success","warning","info","question","error"].reduce((r,c)=>(r[c]=H+c,r),{}),Ce="SweetAlert2:",S=r=>r.charAt(0).toUpperCase()+r.slice(1),L=r=>{console.warn(`${Ce} ${"object"==typeof r?r.join(" "):r}`)},e=r=>{console.error(`${Ce} ${r}`)},_e=[],oe=(r,c=null)=>{(r=>{_e.includes(r)||(_e.push(r),L(r))})(`"${r}" is deprecated and will be removed in the next major release.${c?` Use "${c}" instead.`:""}`)},le=r=>"function"==typeof r?r():r,ve=r=>r&&"function"==typeof r.toPromise,E=r=>ve(r)?r.toPromise():Promise.resolve(r),ye=r=>r&&Promise.resolve(r)===r,B=()=>document.body.querySelector(`.${k.container}`),ae=r=>{const c=B();return c?c.querySelector(r):null},ee=r=>ae(`.${r}`),M=()=>ee(k.popup),Ye=()=>ee(k.icon),At=()=>ee(k.title),ht=()=>ee(k["html-container"]),Bt=()=>ee(k.image),vt=()=>ee(k["progress-steps"]),ot=()=>ee(k["validation-message"]),xe=()=>ae(`.${k.actions} .${k.confirm}`),Ve=()=>ae(`.${k.actions} .${k.cancel}`),Oe=()=>ae(`.${k.actions} .${k.deny}`),Je=()=>ae(`.${k.loader}`),Qe=()=>ee(k.actions),qt=()=>ee(k.footer),lt=()=>ee(k["timer-progress-bar"]),kt=()=>ee(k.close),jt=()=>{const r=M();if(!r)return[];const c=r.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),d=Array.from(c).sort((F,G)=>{const V=parseInt(F.getAttribute("tabindex")||"0"),q=parseInt(G.getAttribute("tabindex")||"0");return V>q?1:V<q?-1:0}),m=r.querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n'),h=Array.from(m).filter(F=>"-1"!==F.getAttribute("tabindex"));return[...new Set(d.concat(h))].filter(F=>R(F))},Ct=()=>De(document.body,k.shown)&&!De(document.body,k["toast-shown"])&&!De(document.body,k["no-backdrop"]),at=()=>{const r=M();return!!r&&De(r,k.toast)},ge=(r,c)=>{if(r.textContent="",c){const m=(new DOMParser).parseFromString(c,"text/html"),h=m.querySelector("head");
1h&&Array.from(h.childNodes).forEach(G=>{r.appendChild(G)});const F=m.querySelector("body");F&&Array.from(F.childNodes).forEach(G=>{G instanceof HTMLVideoElement||G instanceof HTMLAudioElement?r.appendChild(G.cloneNode(!0)):r.appendChild(G)})}},De=(r,c)=>{if(!c)return!1;const d=c.split(/\s+/);for(let m=0;m<d.length;m++)if(!r.classList.contains(d[m]))return!1;return!0},be=(r,c,d)=>{if(((r,c)=>{Array.from(r.classList).forEach(d=>{!Object.values(k).includes(d)&&!Object.values(Ie).includes(d)&&!Object.values(c.showClass||{}).includes(d)&&r.classList.remove(d)})})(r,c),!c.customClass)return;const m=c.customClass[d];if(m){if("string"!=typeof m&&!m.forEach)return void L(`Invalid type of customClass.${d}! Expected string or iterable object, got "${typeof m}"`);O(r,m)}},st=(r,c)=>{if(!c)return null;switch(c){case"select":case"textarea":case"file":return r.querySelector(`.${k.popup} > .${k[c]}`);case"checkbox":return r.querySelector(`.${k.popup} > .${k.checkbox} input`);case"radio":return r.querySelector(`.${k.popup} > .${k.radio} input:checked`)||r.querySelector(`.${k.popup} > .${k.radio} input:first-child`);case"range":return r.querySelector(`.${k.popup} > .${k.range} input`);default:return r.querySelector(`.${k.popup} > .${k.input}`)}},Lt=r=>{if(r.focus(),"file"!==r.type){const c=r.value;r.value="",r.value=c}},Ht=(r,c,d)=>{!r||!c||("string"==typeof c&&(c=c.split(/\s+/).filter(Boolean)),c.forEach(m=>{Array.isArray(r)?r.forEach(h=>{d?h.classList.add(m):h.classList.remove(m)}):d?r.classList.add(m):r.classList.remove(m)}))},O=(r,c)=>{Ht(r,c,!0)},ke=(r,c)=>{Ht(r,c,!1)},Te=(r,c)=>{const d=Array.from(r.children);for(let m=0;m<d.length;m++){const h=d[m];if(h instanceof HTMLElement&&De(h,c))return h}},$e=(r,c,d)=>{d===`${parseInt(d)}`&&(d=parseInt(d)),d||0===parseInt(d)?r.style.setProperty(c,"number"==typeof d?`${d}px`:d):r.style.removeProperty(c)},te=(r,c="flex")=>{r&&(r.style.display=c)},se=r=>{r&&(r.style.display="none")},yt=(r,c="block")=>{r&&new MutationObserver(()=>{We(r,r.innerHTML,c)}).observe(r,{childList:!0,subtree:!0})},ne=(r,c,d,m)=>{const h=r.querySelector(c);h&&h.style.setProperty(d,m)},We=(r,c,d="flex")=>{c?te(r,d):se(r)},R=r=>!(!r||!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)),de=r=>r.scrollHeight>r.clientHeight,pe=r=>{const c=window.getComputedStyle(r),d=parseFloat(c.getPropertyValue("animation-duration")||"0"),m=parseFloat(c.getPropertyValue("transition-duration")||"0");return d>0||m>0},J=(r,c=!1)=>{const d=lt();d&&R(d)&&(c&&(d.style.transition="none",d.style.width="100%"),setTimeout(()=>{d.style.transition=`width ${r/1e3}s linear`,d.style.width="0%"},10))},Ee=`\n <div aria-labelledby="${k.title}" aria-describedby="${k["html-container"]}" class="${k.popup}" tabindex="-1">\n <button type="button" class="${k.close}"></button>\n <ul class="${k["progress-steps"]}"></ul>\n <div class="${k.icon}"></div>\n <img class="${k.image}" />\n <h2 class="${k.title}" id="${k.title}"></h2>\n <div class="${k["html-container"]}" id="${k["html-container"]}"></div>\n <input class="${k.input}" id="${k.input}" />\n <input type="file" class="${k.file}" />\n <div class="${k.range}">\n <input type="range" />\n <output></output>\n </div>\n <select class="${k.select}" id="${k.select}"></select>\n <div class="${k.radio}"></div>\n <label class="${k.checkbox}">\n <input type="checkbox" id="${k.checkbox}" />\n <span class="${k.label}"></span>\n </label>\n <textarea class="${k.textarea}" id="${k.textarea}"></textarea>\n <div class="${k["validation-message"]}" id="${k["validation-message"]}"></div>\n <div class="${k.actions}">\n <div class="${k.loader}"></div>\n <button type="button" class="${k.confirm}"></button>\n <button type="button" class="${k.deny}"></button>\n <button type="button" class="${k.cancel}"></button>\n </div>\n <div class="${k.footer}"></div>\n <div class="${k["timer-progress-bar-container"]}">\n <div class="${k["timer-progress-bar"]}"></div>\n </div>\n </div>\n`.replace(/(^|\n)\s*/g,""),Fe=()=>{D.currentInstance.resetValidationMessage()},Zn=r=>{const c=(()=>{const r=B();return!!r&&(r.remove(),ke([document.documentElement,document.body],[k["no-backdrop"],k["toast-shown"],k["has-column"]]),!0)})();if(typeof window>"u"||typeof document>"u")return void e("SweetAlert2 requires document to initialize");const d=document.createElement("div");d.className=k.container,c&&O(d,k["no-transition"]),ge(d,Ee),d.dataset.swal2Theme=r.theme;const m=(r=>"string"==typeof r?document.querySelector(r):r)(r.target);m.appendChild(d),r.topLayer&&(d.setAttribute("popover",""),d.showPopover()),(r=>{const c=M();c.setAttribute("role",r.toast?"alert":"dialog"),c.setAttribute("aria-live",r.toast?"polite":"assertive"),r.toast||c.setAttribute("aria-modal","true")})(r),(r=>{"rtl"===window.getComputedStyle(r).direction&&O(B(),k.rtl)})(m),(()=>{const r=M(),c=Te(r,k.input),d=Te(r,k.file),m=r.querySelector(`.${k.range} input`),h=r.querySelector(`.${k.range} output`),F=Te(r,k.select),G=r.querySelector(`.${k.checkbox} input`),V=Te(r,k.textarea);c.oninput=Fe,d.onchange=Fe,F.onchange=Fe,G.onchange=Fe,V.oninput=Fe,m.oninput=()=>{Fe(),h.value=m.value},m.onchange=()=>{Fe(),h.value=m.value}})()},wt=(r,c)=>{r instanceof HTMLElement?c.appendChild(r):"object"==typeof r?Kn(r,c):r&&ge(c,r)},Kn=(r,c)=>{r.jquery?ei(c,r):ge(c,r.toString())},ei=(r,c)=>{if(r.textContent="",0 in c)for(let d=0;d in c;d++)r.appendChild(c[d].cloneNode(!0));else r.appendChild(c.cloneNode(!0))},ti=(r,c)=>{const d=Qe(),m=Je();!d||!m||(c.showConfirmButton||c.showDenyButton||c.showCancelButton?te(d):se(d),be(d,c,"actions"),function ni(r,c,d){const m=xe(),h=Oe(),F=Ve();!m||!h||!F||(Ft(m,"confirm",d),Ft(h,"deny",d),Ft(F,"cancel",d),function ii(r,c,d,m){m.buttonsStyling?(O([r,c,d],k.styled),m.confirmButtonColor&&r.style.setProperty("--swal2-confirm-button-background-color",m.confirmButtonColor),m.denyButtonColor&&c.style.setProperty("--swal2-deny-button-background-color",m.denyButtonColor),m.cancelButtonColor&&d.style.setProperty("--swal2-cancel-button-background-color",m.cancelButtonColor),xt(r),xt(c),xt(d)):ke([r,c,d],k.styled)}(m,h,F,d),d.reverseButtons&&(d.toast?(r.insertBefore(F,m),r.insertBefore(h,m)):(r.insertBefore(F,c),r.insertBefore(h,c),r.insertBefore(m,c))))}(d,m,c),ge(m,c.loaderHtml||""),be(m,c,"loader"))};function xt(r){const c=window.getComputedStyle(r);
1if(c.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;const d=c.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");r.style.setProperty("--swal2-action-button-focus-box-shadow",c.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${d}`))}function Ft(r,c,d){const m=S(c);We(r,d[`show${m}Button`],"inline-block"),ge(r,d[`${c}ButtonText`]||""),r.setAttribute("aria-label",d[`${c}ButtonAriaLabel`]||""),r.className=k[c],be(r,d,`${c}Button`)}const Ut=(r,c)=>{const d=B();d&&(function tt(r,c){"string"==typeof c?r.style.background=c:c||O([document.documentElement,document.body],k["no-backdrop"])}(d,c.backdrop),function ce(r,c){c&&(c in k?O(r,k[c]):(L('The "position" parameter is not valid, defaulting to "center"'),O(r,k.center)))}(d,c.position),function U(r,c){c&&O(r,k[`grow-${c}`])}(d,c.grow),be(d,c,"container"))};var Y={innerParams:new WeakMap,domCache:new WeakMap};const Rt=["input","file","range","select","radio","checkbox","textarea"],li=r=>{if(!r.input)return;if(!z[r.input])return void e(`Unexpected type of input! Expected ${Object.keys(z).join(" | ")}, got "${r.input}"`);const c=zt(r.input);if(!c)return;const d=z[r.input](c,r);te(c),r.inputAutoFocus&&setTimeout(()=>{Lt(d)})},si=(r,c)=>{const d=M();if(!d)return;const m=st(d,r);if(m){(r=>{for(let c=0;c<r.attributes.length;c++){const d=r.attributes[c].name;["id","type","value","style"].includes(d)||r.removeAttribute(d)}})(m);for(const h in c)m.setAttribute(h,c[h])}},ri=r=>{if(!r.input)return;const c=zt(r.input);c&&be(c,r,"input")},Et=(r,c)=>{!r.placeholder&&c.inputPlaceholder&&(r.placeholder=c.inputPlaceholder)},nt=(r,c,d)=>{if(d.inputLabel){const m=document.createElement("label"),h=k["input-label"];m.setAttribute("for",r.id),m.className=h,"object"==typeof d.customClass&&O(m,d.customClass.inputLabel),m.innerText=d.inputLabel,c.insertAdjacentElement("beforebegin",m)}},zt=r=>{const c=M();if(c)return Te(c,k[r]||k.input)},rt=(r,c)=>{["string","number"].includes(typeof c)?r.value=`${c}`:ye(c)||L(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof c}"`)},z={};z.text=z.email=z.password=z.number=z.tel=z.url=z.search=z.date=z["datetime-local"]=z.time=z.week=z.month=(r,c)=>(rt(r,c.inputValue),nt(r,r,c),Et(r,c),r.type=c.input,r),z.file=(r,c)=>(nt(r,r,c),Et(r,c),r),z.range=(r,c)=>{const d=r.querySelector("input"),m=r.querySelector("output");return rt(d,c.inputValue),d.type=c.input,rt(m,c.inputValue),nt(d,r,c),r},z.select=(r,c)=>{if(r.textContent="",c.inputPlaceholder){const d=document.createElement("option");ge(d,c.inputPlaceholder),d.value="",d.disabled=!0,d.selected=!0,r.appendChild(d)}return nt(r,r,c),r},z.radio=r=>(r.textContent="",r),z.checkbox=(r,c)=>{const d=st(M(),"checkbox");d.value="1",d.checked=!!c.inputValue;const m=r.querySelector("span");return ge(m,c.inputPlaceholder||c.inputLabel),d},z.textarea=(r,c)=>{rt(r,c.inputValue),Et(r,c),nt(r,r,c);return setTimeout(()=>{if("MutationObserver"in window){const m=parseInt(window.getComputedStyle(M()).width);new MutationObserver(()=>{if(!document.body.contains(r))return;const F=r.offsetWidth+(m=>parseInt(window.getComputedStyle(m).marginLeft)+parseInt(window.getComputedStyle(m).marginRight))(r);F>m?M().style.width=`${F}px`:$e(M(),"width",c.width)}).observe(r,{attributes:!0,attributeFilter:["style"]})}}),r};const ci=(r,c)=>{const d=ht();d&&(yt(d),be(d,c,"htmlContainer"),c.html?(wt(c.html,d),te(d,"block")):c.text?(d.textContent=c.text,te(d,"block")):se(d),((r,c)=>{const d=M();if(!d)return;const m=Y.innerParams.get(r),h=!m||c.input!==m.input;Rt.forEach(F=>{const G=Te(d,k[F]);G&&(si(F,c.inputAttributes),G.className=k[F],h&&se(G))}),c.input&&(h&&li(c),ri(c))})(r,c))},Qt=(r,c)=>{for(const[d,m]of Object.entries(Ie))c.icon!==d&&ke(r,m);O(r,c.icon&&Ie[c.icon]),mi(r,c),Wt(),be(r,c,"icon")},Wt=()=>{const r=M();if(!r)return;const c=window.getComputedStyle(r).getPropertyValue("background-color"),d=r.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let m=0;m<d.length;m++)d[m].style.backgroundColor=c},Zt=(r,c)=>{if(!c.icon&&!c.iconHtml)return;let d=r.innerHTML,m="";c.iconHtml?m=Kt(c.iconHtml):"success"===c.icon?(m=(r=>`\n ${r.animation?'<div class="swal2-success-circular-line-left"></div>':""}\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div>\n ${r.animation?'<div class="swal2-success-fix"></div>':""}\n ${r.animation?'<div class="swal2-success-circular-line-right"></div>':""}\n`)(c),d=d.replace(/ style=".*?"/g,"")):"error"===c.icon?m='\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n':c.icon&&(m=Kt({question:"?",warning:"!",info:"i"}[c.icon])),d.trim()!==m.trim()&&ge(r,m)},mi=(r,c)=>{if(c.iconColor){r.style.color=c.iconColor,r.style.borderColor=c.iconColor;for(const d of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ne(r,d,"background-color",c.iconColor);ne(r,".swal2-success-ring","border-color",c.iconColor)}},Kt=r=>`<div class="${k["icon-content"]}">${r}</div>`;let It=!1,en=0,tn=0,nn=0,on=0;const ct=r=>{const c=M();if(r.target===c||Ye().contains(r.target)){It=!0;const d=ln(r);en=d.clientX,tn=d.clientY,nn=parseInt(c.style.insetInlineStart)||0,on=parseInt(c.style.insetBlockStart)||0,O(c,"swal2-dragging")}},_t=r=>{const c=M();if(It){let{clientX:d,clientY:m}=ln(r);c.style.insetInlineStart=`${nn+(d-en)}px`,c.style.insetBlockStart=`${on+(m-tn)}px`}},dt=()=>{const r=M();It=!1,ke(r,"swal2-dragging")},ln=r=>{let c=0,d=0;return r.type.startsWith("mouse")?(c=r.clientX,d=r.clientY):r.type.startsWith("touch")&&(c=r.touches[0].clientX,d=r.touches[0].clientY),{clientX:c,clientY:d}},hi=(r,c)=>{const d=B(),m=M();if(d&&m){if(c.toast){$e(d,"width",c.width),m.style.width="100%";const h=Je();h&&m.insertBefore(h,Ye())}else $e(m,"width",c.width);$e(m,"padding",c.padding),c.color&&(m.style.color=c.color),c.background&&(m.style.background=c.background),se(ot()),vi(m,c),c.draggable&&!c.toast?(O(m,k.draggable),(r=>{r.addEventListener("mousedown",ct),document.body.addEventListener("mousemove",_t),r.addEventListener("mouseup",dt),r.addEventListener("touchstart",ct),document.body.addEventListener("touchmove",_t),r.addEventListener("touchend",dt)})(m)):(ke(m,k.draggable),(r=>{r.removeEventListener("mousedown",ct),document.body.removeEventListener("mousemove",_t),r.removeEventListener("mouseup",dt),r.removeEventListener("touchstart",ct),document.body.removeEventListener("touchmove",_t),r.removeEventListener("touchend",dt)})(m))}},vi=(r,c)=>{const d=c.showClass||{};r.className=`${k.popup} ${R(r)?d.popup:""}`,c.toast?(O([document.documentElement,document.body],k["toast-shown"]),O(r,k.toast)):O(r,k.modal),be(r,c,"popup"),"string"==typeof c.customClass&&O(r,c.customClass),c.icon&&O(r,k[`icon-${c.icon}`])},ji=r=>{const c=document.createElement("li");return O(c,k["progress-step"]),ge(c,r),c},Ci=r=>{const c=document.createElement("li");return O(c,k["progress-step-line"]),r.progressStepsDistance&&$e(c,"width",r.progressStepsDistance),c},an=(r,c)=>{hi(0,c),Ut(0,c),((r,c)=>{const d=vt();if(!d)return;const{progressSteps:m,currentProgressStep:h}=c;m&&0!==m.length&&void 0!==h?(te(d),d.textContent="",h>=m.length&&L("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),m.forEach((F,G)=>{const V=ji(F);if(d.appendChild(V),G===h&&O(V,k["active-progress-step"]),G!==m.length-1){const q=Ci(c);d.appendChild(q)}})):se(d)})(0,c),((r,c)=>{const d=Y.innerParams.get(r),m=Ye();if(m){if(d&&c.icon===d.icon)return Zt(m,c),void Qt(m,c);if(c.icon||c.iconHtml)return c.icon&&-1===Object.keys(Ie).indexOf(c.icon)?(e(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${c.icon}"`),void se(m)):(te(m),Zt(m,c),Qt(m,c),O(m,c.showClass&&c.showClass.icon),void window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Wt));se(m)}})(r,c),((r,c)=>{const d=Bt();if(d){if(!c.imageUrl)return void se(d);te(d,""),d.setAttribute("src",c.imageUrl),d.setAttribute("alt",c.imageAlt||""),$e(d,"width",c.imageWidth),$e(d,"height",c.imageHeight),d.className=k.image,be(d,c,"image")}})(0,c),((r,c)=>{const d=At();d&&(yt(d),We(d,c.title||c.titleText,"block"),c.title&&wt(c.title,d),c.titleText&&(d.innerText=c.titleText),be(d,c,"title"))})(0,c),((r,c)=>{const d=kt();d&&(ge(d,c.closeButtonHtml||""),be(d,c,"closeButton"),We(d,c.showCloseButton),d.setAttribute("aria-label",c.closeButtonAriaLabel||""))})(0,c),ci(r,c),ti(0,c),((r,c)=>{const d=qt();d&&(yt(d),We(d,c.footer,"block"),c.footer&&wt(c.footer,d),be(d,c,"footer"))})(0,c);const d=M();"function"==typeof c.didRender&&d&&c.didRender(d),D.eventEmitter.emit("didRender",d)},sn=()=>{var r;return null===(r=xe())||void 0===r?void 0:r.click()},Be=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),rn=r=>{r.keydownTarget&&r.keydownHandlerAdded&&(r.keydownTarget.removeEventListener("keydown",r.keydownHandler,{capture:r.keydownListenerCapture}),r.keydownHandlerAdded=!1)},Tt=(r,c)=>{var d;const m=jt();if(m.length)return-2===(r+=c)&&(r=m.length-1),r===m.length?r=0:-1===r&&(r=m.length-1),void m[r].focus();null===(d=M())||void 0===d||d.focus()},cn=["ArrowRight","ArrowDown"],Di=["ArrowLeft","ArrowUp"],Ei=(r,c,d)=>{r&&(c.isComposing||229===c.keyCode||(r.stopKeydownPropagation&&c.stopPropagation(),"Enter"===c.key?Ii(c,r):"Tab"===c.key?Ti(c):[...cn,...Di].includes(c.key)?Gi(c.key):"Escape"===c.key&&Mi(c,r,d)))},Ii=(r,c)=>{if(!le(c.allowEnterKey))return;const d=st(M(),c.input);if(r.target&&d&&r.target instanceof HTMLElement&&r.target.outerHTML===d.outerHTML){if(["textarea","file"].includes(c.input))return;sn(),r.preventDefault()}},Ti=r=>{const c=r.target,d=jt();let m=-1;for(let h=0;h<d.length;h++)if(c===d[h]){m=h;break}Tt(m,r.shiftKey?-1:1),r.stopPropagation(),r.preventDefault()},Gi=r=>{const c=Qe(),d=xe(),m=Oe(),h=Ve();if(!(c&&d&&m&&h))return;if(document.activeElement instanceof HTMLElement&&![d,m,h].includes(document.activeElement))return;const G=cn.includes(r)?"nextElementSibling":"previousElementSibling";let V=document.activeElement;if(V){for(let q=0;q<c.children.length;q++){if(V=V[G],!V)return;if(V instanceof HTMLButtonElement&&R(V))break}V instanceof HTMLButtonElement&&V.focus()}},Mi=(r,c,d)=>{r.preventDefault(),le(c.allowEscapeKey)&&d(Be.esc)};
1var qe={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const _n=()=>{Array.from(document.body.children).forEach(c=>{c.hasAttribute("data-previous-aria-hidden")?(c.setAttribute("aria-hidden",c.getAttribute("data-previous-aria-hidden")||""),c.removeAttribute("data-previous-aria-hidden")):c.removeAttribute("aria-hidden")})},dn=typeof window<"u"&&!!window.GestureEvent,$i=()=>{const r=B();if(!r)return;let c;r.ontouchstart=d=>{c=Pi(d)},r.ontouchmove=d=>{c&&(d.preventDefault(),d.stopPropagation())}},Pi=r=>{const c=r.target,d=B(),m=ht();return!(!d||!m||Ni(r)||Yi(r)||c!==d&&(de(d)||!(c instanceof HTMLElement)||((r,c)=>{let d=r;for(;d&&d!==c;){if(de(d))return!0;d=d.parentElement}return!1})(c,m)||"INPUT"===c.tagName||"TEXTAREA"===c.tagName||de(m)&&m.contains(c)))},Ni=r=>r.touches&&r.touches.length&&"stylus"===r.touches[0].touchType,Yi=r=>r.touches&&r.touches.length>1;let Le=null;const Xi=r=>{null===Le&&(document.body.scrollHeight>window.innerHeight||"scroll"===r)&&(Le=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Le+(()=>{const r=document.createElement("div");r.className=k["scrollbar-measure"],document.body.appendChild(r);const c=r.getBoundingClientRect().width-r.clientWidth;return document.body.removeChild(r),c})()}px`)};function pn(r,c,d,m){at()?mn(r,m):(Xt(d).then(()=>mn(r,m)),rn(D)),dn?(c.setAttribute("style","display:none !important"),c.removeAttribute("class"),c.innerHTML=""):c.remove(),Ct()&&(null!==Le&&(document.body.style.paddingRight=`${Le}px`,Le=null),(()=>{if(De(document.body,k.iosfix)){const r=parseInt(document.body.style.top,10);ke(document.body,k.iosfix),document.body.style.top="",document.body.scrollTop=-1*r}})(),_n()),function Bi(){ke([document.documentElement,document.body],[k.shown,k["height-auto"],k["no-backdrop"],k["toast-shown"]])}()}function Me(r){r=Li(r);const c=qe.swalPromiseResolve.get(this),d=qi(this);this.isAwaitingPromise?r.isDismissed||(it(this),c(r)):d&&c(r)}const qi=r=>{const c=M();if(!c)return!1;const d=Y.innerParams.get(r);if(!d||De(c,d.hideClass.popup))return!1;ke(c,d.showClass.popup),O(c,d.hideClass.popup);const m=B();return ke(m,d.showClass.backdrop),O(m,d.hideClass.backdrop),Hi(r,c,d),!0};function un(r){const c=qe.swalPromiseReject.get(this);it(this),c&&c(r)}const it=r=>{r.isAwaitingPromise&&(delete r.isAwaitingPromise,Y.innerParams.get(r)||r._destroy())},Li=r=>typeof r>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},r),Hi=(r,c,d)=>{var m;const h=B(),F=pe(c);"function"==typeof d.willClose&&d.willClose(c),null===(m=D.eventEmitter)||void 0===m||m.emit("willClose",c),F?Ui(r,c,h,d.returnFocus,d.didClose):pn(r,h,d.returnFocus,d.didClose)},Ui=(r,c,d,m,h)=>{D.swalCloseEventFinishedCallback=pn.bind(null,r,d,m,h);const F=function(G){var V;G.target===c&&(null===(V=D.swalCloseEventFinishedCallback)||void 0===V||V.call(D),delete D.swalCloseEventFinishedCallback,c.removeEventListener("animationend",F),c.removeEventListener("transitionend",F))};c.addEventListener("animationend",F),c.addEventListener("transitionend",F)},mn=(r,c)=>{setTimeout(()=>{var d;"function"==typeof c&&c.bind(r.params)(),null===(d=D.eventEmitter)||void 0===d||d.emit("didClose"),r._destroy&&r._destroy()})},He=r=>{let c=M();if(c||new ft,c=M(),!c)return;const d=Je();at()?se(Ye()):zi(c,r),te(d),c.setAttribute("data-loading","true"),c.setAttribute("aria-busy","true"),c.focus()},zi=(r,c)=>{const d=Qe(),m=Je();!d||!m||(!c&&R(xe())&&(c=xe()),te(d),c&&(se(c),m.setAttribute("data-button-to-replace",c.className),d.insertBefore(m,c)),O([r,d],k.loading))},Zi=r=>r.checked?1:0,Ki=r=>r.checked?r.value:null,eo=r=>r.files&&r.files.length?null!==r.getAttribute("multiple")?r.files:r.files[0]:null,to=(r,c)=>{const d=M();if(!d)return;const m=h=>{"select"===c.input?function io(r,c,d){const m=Te(r,k.select);if(!m)return;const h=(F,G,V)=>{const q=document.createElement("option");q.value=V,ge(q,G),q.selected=gn(V,d.inputValue),F.appendChild(q)};c.forEach(F=>{const G=F[0],V=F[1];if(Array.isArray(V)){const q=document.createElement("optgroup");
1q.label=G,q.disabled=!1,m.appendChild(q),V.forEach(ze=>h(q,ze[1],ze[0]))}else h(m,V,G)}),m.focus()}(d,pt(h),c):"radio"===c.input&&function oo(r,c,d){const m=Te(r,k.radio);if(!m)return;c.forEach(F=>{const G=F[0],V=F[1],q=document.createElement("input"),ze=document.createElement("label");q.type="radio",q.name=k.radio,q.value=G,gn(G,d.inputValue)&&(q.checked=!0);const $t=document.createElement("span");ge($t,V),$t.className=k.label,ze.appendChild(q),ze.appendChild($t),m.appendChild(ze)});const h=m.querySelectorAll("input");h.length&&h[0].focus()}(d,pt(h),c)};ve(c.inputOptions)||ye(c.inputOptions)?(He(xe()),E(c.inputOptions).then(h=>{r.hideLoading(),m(h)})):"object"==typeof c.inputOptions?m(c.inputOptions):e("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof c.inputOptions)},no=(r,c)=>{const d=r.getInput();d&&(se(d),E(c.inputValue).then(m=>{d.value="number"===c.input?`${parseFloat(m)||0}`:`${m}`,te(d),d.focus(),r.hideLoading()}).catch(m=>{e(`Error in inputValue promise: ${m}`),d.value="",te(d),d.focus(),r.hideLoading()}))};const pt=r=>{const c=[];return r instanceof Map?r.forEach((d,m)=>{let h=d;"object"==typeof h&&(h=pt(h)),c.push([m,h])}):Object.keys(r).forEach(d=>{let m=r[d];"object"==typeof m&&(m=pt(m)),c.push([d,m])}),c},gn=(r,c)=>!!c&&c.toString()===r.toString(),bn=(r,c)=>{const d=Y.innerParams.get(r);if(!d.input)return void e(`The "input" parameter is needed to be set when using returnInputValueOn${S(c)}`);const m=r.getInput(),h=((r,c)=>{const d=r.getInput();if(!d)return null;switch(c.input){case"checkbox":return Zi(d);case"radio":return Ki(d);case"file":return eo(d);default:return c.inputAutoTrim?d.value.trim():d.value}})(r,d);d.inputValidator?ro(r,h,c):m&&!m.checkValidity()?(r.enableButtons(),r.showValidationMessage(d.validationMessage||m.validationMessage)):"deny"===c?Gt(r,h):Mt(r,h)},ro=(r,c,d)=>{const m=Y.innerParams.get(r);r.disableInput(),Promise.resolve().then(()=>E(m.inputValidator(c,m.validationMessage))).then(F=>{r.enableButtons(),r.enableInput(),F?r.showValidationMessage(F):"deny"===d?Gt(r,c):Mt(r,c)})},Gt=(r,c)=>{const d=Y.innerParams.get(r||void 0);d.showLoaderOnDeny&&He(Oe()),d.preDeny?(r.isAwaitingPromise=!0,Promise.resolve().then(()=>E(d.preDeny(c,d.validationMessage))).then(h=>{!1===h?(r.hideLoading(),it(r)):r.close({isDenied:!0,value:typeof h>"u"?c:h})}).catch(h=>hn(r||void 0,h))):r.close({isDenied:!0,value:c})},fn=(r,c)=>{r.close({isConfirmed:!0,value:c})},hn=(r,c)=>{r.rejectPromise(c)},Mt=(r,c)=>{const d=Y.innerParams.get(r||void 0);d.showLoaderOnConfirm&&He(),d.preConfirm?(r.resetValidationMessage(),r.isAwaitingPromise=!0,Promise.resolve().then(()=>E(d.preConfirm(c,d.validationMessage))).then(h=>{R(ot())||!1===h?(r.hideLoading(),it(r)):fn(r,typeof h>"u"?c:h)}).catch(h=>hn(r||void 0,h))):fn(r,c)};function ut(){const r=Y.innerParams.get(this);if(!r)return;const c=Y.domCache.get(this);se(c.loader),at()?r.icon&&te(Ye()):co(c),ke([c.popup,c.actions],k.loading),c.popup.removeAttribute("aria-busy"),c.popup.removeAttribute("data-loading"),c.confirmButton.disabled=!1,c.denyButton.disabled=!1,c.cancelButton.disabled=!1}const co=r=>{const c=r.popup.getElementsByClassName(r.loader.getAttribute("data-button-to-replace"));c.length?te(c[0],"inline-block"):!R(xe())&&!R(Oe())&&!R(Ve())&&se(r.actions)};function vn(){const r=Y.innerParams.get(this),c=Y.domCache.get(this);return c?st(c.popup,r.input):null}function kn(r,c,d){const m=Y.domCache.get(r);
vendor: 6,925 bytes, line 1
1c.forEach(h=>{m[h].disabled=d})}function jn(r,c){const d=M();if(d&&r)if("radio"===r.type){const m=d.querySelectorAll(`[name="${k.radio}"]`);for(let h=0;h<m.length;h++)m[h].disabled=c}else r.disabled=c}function Cn(){kn(this,["confirmButton","denyButton","cancelButton"],!1)}function yn(){kn(this,["confirmButton","denyButton","cancelButton"],!0)}function wn(){jn(this.getInput(),!1)}function xn(){jn(this.getInput(),!0)}function Fn(r){const c=Y.domCache.get(this),d=Y.innerParams.get(this);ge(c.validationMessage,r),c.validationMessage.className=k["validation-message"],d.customClass&&d.customClass.validationMessage&&O(c.validationMessage,d.customClass.validationMessage),te(c.validationMessage);const m=this.getInput();m&&(m.setAttribute("aria-invalid","true"),m.setAttribute("aria-describedby",k["validation-message"]),Lt(m),O(m,k.inputerror))}function Rn(){const r=Y.domCache.get(this);r.validationMessage&&se(r.validationMessage);const c=this.getInput();c&&(c.removeAttribute("aria-invalid"),c.removeAttribute("aria-describedby"),ke(c,k.inputerror))}const Ue={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},_o=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],po={allowEnterKey:void 0},uo=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Dn=r=>Object.prototype.hasOwnProperty.call(Ue,r),En=r=>-1!==_o.indexOf(r),In=r=>po[r],mo=r=>{Dn(r)||L(`Unknown parameter "${r}"`)},go=r=>{uo.includes(r)&&L(`The parameter "${r}" is incompatible with toasts`)},bo=r=>{const c=In(r);c&&oe(r,c)},Tn=r=>{!1===r.backdrop&&r.allowOutsideClick&&L('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),r.theme&&!["light","dark","auto","minimal","borderless","embed-iframe","bulma","bulma-light","bulma-dark"].includes(r.theme)&&L(`Invalid theme "${r.theme}"`);for(const c in r)mo(c),r.toast&&go(c),bo(c)};function Gn(r){const c=B(),d=M(),m=Y.innerParams.get(this);if(!d||De(d,m.hideClass.popup))return void L("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const h=fo(r),F=Object.assign({},m,h);Tn(F),c.dataset.swal2Theme=F.theme,an(this,F),Y.innerParams.set(this,F),Object.defineProperties(this,{params:{value:Object.assign({},this.params,r),writable:!1,enumerable:!0}})}const fo=r=>{const c={};return Object.keys(r).forEach(d=>{En(d)?c[d]=r[d]:L(`Invalid parameter to update: ${d}`)}),c};function Mn(){const r=Y.domCache.get(this),c=Y.innerParams.get(this);c?(r.popup&&D.swalCloseEventFinishedCallback&&(D.swalCloseEventFinishedCallback(),delete D.swalCloseEventFinishedCallback),"function"==typeof c.didDestroy&&c.didDestroy(),D.eventEmitter.emit("didDestroy"),ho(this)):Sn(this)}const ho=r=>{Sn(r),delete r.params,delete D.keydownHandler,delete D.keydownTarget,delete D.currentInstance},Sn=r=>{r.isAwaitingPromise?(St(Y,r),r.isAwaitingPromise=!0):(St(qe,r),St(Y,r),delete r.isAwaitingPromise,delete r.disableButtons,delete r.enableButtons,delete r.getInput,delete r.disableInput,delete r.enableInput,delete r.hideLoading,delete r.disableLoading,delete r.showValidationMessage,delete r.resetValidationMessage,delete r.close,delete r.closePopup,delete r.closeModal,delete r.closeToast,delete r.rejectPromise,delete r.update,delete r._destroy)},St=(r,c)=>{for(const d in r)r[d].delete(c)};var vo=Object.freeze({__proto__:null,_destroy:Mn,close:Me,closeModal:Me,closePopup:Me,closeToast:Me,disableButtons:yn,disableInput:xn,disableLoading:ut,enableButtons:Cn,enableInput:wn,getInput:vn,handleAwaitingPromise:it,hideLoading:ut,rejectPromise:un,resetValidationMessage:Rn,showValidationMessage:Fn,update:Gn});const jo=(r,c,d)=>{c.popup.onclick=()=>{r&&(Co(r)||r.timer||r.input)||d(Be.close)}},Co=r=>!!(r.showConfirmButton||r.showDenyButton||r.showCancelButton||r.showCloseButton);let mt=!1;const yo=r=>{r.popup.onmousedown=()=>{r.container.onmouseup=function(c){r.container.onmouseup=()=>{},c.target===r.container&&(mt=!0)}}},wo=r=>{r.container.onmousedown=c=>{c.target===r.container&&c.preventDefault(),r.popup.onmouseup=function(d){r.popup.onmouseup=()=>{},(d.target===r.popup||d.target instanceof HTMLElement&&r.popup.contains(d.target))&&(mt=!0)}}},xo=(r,c,d)=>{c.container.onclick=m=>{mt?mt=!1:m.target===c.container&&le(r.allowOutsideClick)&&d(Be.backdrop)}},On=r=>r instanceof Element||(r=>"object"==typeof r&&r.jquery)(r);const $n=()=>{if(D.timeout)return(()=>{const r=lt();if(!r)return;const c=parseInt(window.getComputedStyle(r).width);r.style.removeProperty("transition"),r.style.width="100%";const d=parseInt(window.getComputedStyle(r).width);r.style.width=c/d*100+"%"})(),D.timeout.stop()},Pn=()=>
1{if(D.timeout){const r=D.timeout.start();return J(r),r}};let Nn=!1;const Ot={};const Oo=r=>{for(let c=r.target;c&&c!==document;c=c.parentNode)for(const d in Ot){const m=c.getAttribute(d);if(m)return void Ot[d].fire({template:m})}};D.eventEmitter=new class $o{constructor(){this.events={}}_getHandlersByEventName(c){return typeof this.events[c]>"u"&&(this.events[c]=[]),this.events[c]}on(c,d){const m=this._getHandlersByEventName(c);m.includes(d)||m.push(d)}once(c,d){const m=(...h)=>{this.removeListener(c,m),d.apply(this,h)};this.on(c,m)}emit(c,...d){this._getHandlersByEventName(c).forEach(m=>{try{m.apply(this,d)}catch(h){console.error(h)}})}removeListener(c,d){const m=this._getHandlersByEventName(c),h=m.indexOf(d);h>-1&&m.splice(h,1)}removeAllListeners(c){void 0!==this.events[c]&&(this.events[c].length=0)}reset(){this.events={}}};var Po=Object.freeze({__proto__:null,argsToParams:r=>{const c={};return"object"!=typeof r[0]||On(r[0])?["title","html","icon"].forEach((d,m)=>{const h=r[m];"string"==typeof h||On(h)?c[d]=h:void 0!==h&&e(`Unexpected type of ${d}! Expected "string" or "Element", got ${typeof h}`)}):Object.assign(c,r[0]),c},bindClickHandler:function So(r="data-swal-template"){Ot[r]=this,Nn||(document.body.addEventListener("click",Oo),Nn=!0)},clickCancel:()=>{var r;return null===(r=Ve())||void 0===r?void 0:r.click()},clickConfirm:sn,clickDeny:()=>{var r;return null===(r=Oe())||void 0===r?void 0:r.click()},enableLoading:He,fire:function Do(...r){return new this(...r)},getActions:Qe,getCancelButton:Ve,getCloseButton:kt,getConfirmButton:xe,getContainer:B,getDenyButton:Oe,getFocusableElements:jt,getFooter:qt,getHtmlContainer:ht,getIcon:Ye,getIconContent:()=>ee(k["icon-content"]),getImage:Bt,getInputLabel:()=>ee(k["input-label"]),getLoader:Je,getPopup:M,getProgressSteps:vt,getTimerLeft:()=>D.timeout&&D.timeout.getTimerLeft(),getTimerProgressBar:lt,getTitle:At,getValidationMessage:ot,increaseTimer:r=>{if(D.timeout){const c=D.timeout.increase(r);return J(c,!0),c}},isDeprecatedParameter:In,isLoading:()=>{const r=M();return!!r&&r.hasAttribute("data-loading")},isTimerRunning:()=>!(!D.timeout||!D.timeout.isRunning()),isUpdatableParameter:En,isValidParameter:Dn,isVisible:()=>R(M()),mixin:function Eo(r){return class c extends(this){_main(m,h){return super._main(m,Object.assign({},r,h))}}},off:(r,c)=>{r?c?D.eventEmitter.removeListener(r,c):D.eventEmitter.removeAllListeners(r):D.eventEmitter.reset()},on:(r,c)=>{D.eventEmitter.on(r,c)},once:(r,c)=>{D.eventEmitter.once(r,c)},resumeTimer:Pn,showLoading:He,stopTimer:$n,toggleTimer:()=>{const r=D.timeout;return r&&(r.running?$n():Pn())}});class No{constructor(c,d){this.callback=c,this.remaining=d,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(c){const d=this.running;return d&&this.stop(),this.remaining+=c,d&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Yn=["swal-title","swal-html","swal-footer"],Vo=r=>{const c={};return Array.from(r.querySelectorAll("swal-param")).forEach(m=>{Ne(m,["name","value"]);const h=m.getAttribute("name"),F=m.getAttribute("value");!h||!F||(c[h]="boolean"==typeof Ue[h]?"false"!==F:"object"==typeof Ue[h]?JSON.parse(F):F)}),c},Jo=r=>{const c={};return Array.from(r.querySelectorAll("swal-function-param")).forEach(m=>{const h=m.getAttribute("name"),F=m.getAttribute("value");!h||!F||(c[h]=new Function(`return ${F}`)())}),c},Xo=r=>{const c={};return Array.from(r.querySelectorAll("swal-button")).forEach(m=>{Ne(m,["type","color","aria-label"]);const h=m.getAttribute("type");!h||!["confirm","cancel","deny"].includes(h)||(c[`${h}ButtonText`]=m.innerHTML,c[`show${S(h)}Button`]=!0,m.hasAttribute("color")&&(c[`${h}ButtonColor`]=m.getAttribute("color")),m.hasAttribute("aria-label")&&(c[`${h}ButtonAriaLabel`]=m.getAttribute("aria-label")))}),c},Ao=r=>{const c={},d=r.querySelector("swal-image");return d&&(Ne(d,["src","width","height","alt"]),d.hasAttribute("src")&&(c.imageUrl=d.getAttribute("src")||void 0),d.hasAttribute("width")&&(c.imageWidth=d.getAttribute("width")||void 0),d.hasAttribute("height")&&(c.imageHeight=d.getAttribute("height")||void 0),d.hasAttribute("alt")&&(c.imageAlt=d.getAttribute("alt")||void 0)),c},Bo=r=>{const c={},d=r.querySelector("swal-icon");return d&&(Ne(d,["type","color"]),d.hasAttribute("type")&&(c.icon=d.getAttribute("type")),d.hasAttribute("color")&&(c.iconColor=d.getAttribute("color")),c.iconHtml=d.innerHTML),c},qo=r=>{const c={},d=r.querySelector("swal-input");d&&(Ne(d,["type","label","placeholder","value"]),c.input=d.getAttribute("type")||"text",d.hasAttribute("label")&&(c.inputLabel=d.getAttribute("label")),d.hasAttribute("placeholder")&&(c.inputPlaceholder=d.getAttribute("placeholder")),d.hasAttribute("value")&&(c.inputValue=d.getAttribute("value")));const m=Array.from(r.querySelectorAll("swal-input-option"));return m.length&&(c.inputOptions={},m.forEach(h=>{Ne(h,["value"]);const F=h.getAttribute("value");F&&(c.inputOptions[F]=h.innerHTML)})),c},Lo=(r,c)=>{const d={};for(const m in c){const h=c[m],F=r.querySelector(h);F&&(Ne(F,[]),d[h.replace(/^swal-/,"")]=F.innerHTML.trim())}return d},Ho=r=>{const c=Yn.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);
1Array.from(r.children).forEach(d=>{const m=d.tagName.toLowerCase();c.includes(m)||L(`Unrecognized element <${m}>`)})},Ne=(r,c)=>{Array.from(r.attributes).forEach(d=>{-1===c.indexOf(d.name)&&L([`Unrecognized attribute "${d.name}" on <${r.tagName.toLowerCase()}>.`,c.length?`Allowed attributes are: ${c.join(", ")}`:"To set the value, use HTML within the element."])})},Uo=r=>{const c=B(),d=M();"function"==typeof r.willOpen&&r.willOpen(d),D.eventEmitter.emit("willOpen",d);const h=window.getComputedStyle(document.body).overflowY;Wo(c,d,r),setTimeout(()=>{zo(c,d)},10),Ct()&&(Qo(c,r.scrollbarPadding,h),(()=>{const r=B();Array.from(document.body.children).forEach(d=>{d.contains(r)||(d.hasAttribute("aria-hidden")&&d.setAttribute("data-previous-aria-hidden",d.getAttribute("aria-hidden")||""),d.setAttribute("aria-hidden","true"))})})()),!at()&&!D.previousActiveElement&&(D.previousActiveElement=document.activeElement),"function"==typeof r.didOpen&&setTimeout(()=>r.didOpen(d)),D.eventEmitter.emit("didOpen",d),ke(c,k["no-transition"])},gt=r=>{const c=M();if(r.target!==c)return;const d=B();c.removeEventListener("animationend",gt),c.removeEventListener("transitionend",gt),d.style.overflowY="auto"},zo=(r,c)=>{pe(c)?(r.style.overflowY="hidden",c.addEventListener("animationend",gt),c.addEventListener("transitionend",gt)):r.style.overflowY="auto"},Qo=(r,c,d)=>{(()=>{if(dn&&!De(document.body,k.iosfix)){const r=document.body.scrollTop;document.body.style.top=-1*r+"px",O(document.body,k.iosfix),$i()}})(),c&&"hidden"!==d&&Xi(d),setTimeout(()=>{r.scrollTop=0})},Wo=(r,c,d)=>{O(r,d.showClass.backdrop),d.animation?(c.style.setProperty("opacity","0","important"),te(c,"grid"),setTimeout(()=>{O(c,d.showClass.popup),c.style.removeProperty("opacity")},10)):te(c,"grid"),O([document.documentElement,document.body],k.shown),d.heightAuto&&d.backdrop&&!d.toast&&O([document.documentElement,document.body],k["height-auto"])};var Jn={email:(r,c)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(r)?Promise.resolve():Promise.resolve(c||"Invalid email address"),url:(r,c)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(r)?Promise.resolve():Promise.resolve(c||"Invalid URL")};function el(r){(function Zo(r){r.inputValidator||("email"===r.input&&(r.inputValidator=Jn.email),"url"===r.input&&(r.inputValidator=Jn.url))})(r),r.showLoaderOnConfirm&&!r.preConfirm&&L("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function Ko(r){(!r.target||"string"==typeof r.target&&!document.querySelector(r.target)||"string"!=typeof r.target&&!r.target.appendChild)&&(L('Target parameter is not valid, defaulting to "body"'),r.target="body")}(r),"string"==typeof r.title&&(r.title=r.title.split("\n").join("<br />")),Zn(r)}let Re;var bt=new WeakMap;class Q{constructor(...c){if(v(this,bt,void 0),typeof window>"u")return;Re=this;const d=Object.freeze(this.constructor.argsToParams(c));this.params=d,this.isAwaitingPromise=!1,function j(r,c,d){return r.set(Se(r,c),d),d}(bt,this,this._main(Re.params))}_main(c,d={}){if(Tn(Object.assign({},d,c)),D.currentInstance){const F=qe.swalPromiseResolve.get(D.currentInstance),{isAwaitingPromise:G}=D.currentInstance;D.currentInstance._destroy(),G||F({isDismissed:!0}),Ct()&&_n()}D.currentInstance=Re;const m=nl(c,d);el(m),Object.freeze(m),D.timeout&&(D.timeout.stop(),delete D.timeout),clearTimeout(D.restoreFocusTimeout);const h=il(Re);return an(Re,m),Y.innerParams.set(Re,m),tl(Re,h,m)}then(c){return y(bt,this).then(c)}finally(c){return y(bt,this).finally(c)}}const tl=(r,c,d)=>new Promise((m,h)=>{const F=G=>{r.close({isDismissed:!0,dismiss:G})};qe.swalPromiseResolve.set(r,m),qe.swalPromiseReject.set(r,h),c.confirmButton.onclick=()=>{(r=>{const c=Y.innerParams.get(r);r.disableButtons(),c.input?bn(r,"confirm"):Mt(r,!0)})(r)},c.denyButton.onclick=()=>{(r=>{const c=Y.innerParams.get(r);r.disableButtons(),c.returnInputValueOnDeny?bn(r,"deny"):Gt(r,!1)})(r)},c.cancelButton.onclick=()=>{((r,c)=>{r.disableButtons(),c(Be.cancel)})(r,F)},c.closeButton.onclick=()=>{F(Be.close)},((r,c,d)=>{r.toast?jo(r,c,d):(yo(c),wo(c),xo(r,c,d))})(d,c,F),((r,c,d)=>{rn(r),c.toast||(r.keydownHandler=m=>Ei(c,m,d),r.keydownTarget=c.keydownListenerCapture?window:M(),r.keydownListenerCapture=c.keydownListenerCapture,r.keydownTarget.addEventListener("keydown",r.keydownHandler,{capture:r.keydownListenerCapture}),r.keydownHandlerAdded=!0)})(D,d,F),((r,c)=>{"select"===c.input||"radio"===c.input?to(r,c):["text","email","number","tel","textarea"].some(d=>d===c.input)&&(ve(c.inputValue)||ye(c.inputValue))&&(He(xe()),no(r,c)
1)})(r,d),Uo(d),ol(D,d,F),ll(c,d),setTimeout(()=>{c.container.scrollTop=0})}),nl=(r,c)=>{const d=(r=>{const c="string"==typeof r.template?document.querySelector(r.template):r.template;if(!c)return{};const d=c.content;return Ho(d),Object.assign(Vo(d),Jo(d),Xo(d),Ao(d),Bo(d),qo(d),Lo(d,Yn))})(r),m=Object.assign({},Ue,c,d,r);return m.showClass=Object.assign({},Ue.showClass,m.showClass),m.hideClass=Object.assign({},Ue.hideClass,m.hideClass),!1===m.animation&&(m.showClass={backdrop:"swal2-noanimation"},m.hideClass={}),m},il=r=>{const c={popup:M(),container:B(),actions:Qe(),confirmButton:xe(),denyButton:Oe(),cancelButton:Ve(),loader:Je(),closeButton:kt(),validationMessage:ot(),progressSteps:vt()};return Y.domCache.set(r,c),c},ol=(r,c,d)=>{const m=lt();se(m),c.timer&&(r.timeout=new No(()=>{d("timer"),delete r.timeout},c.timer),c.timerProgressBar&&(te(m),be(m,c,"timerProgressBar"),setTimeout(()=>{r.timeout&&r.timeout.running&&J(c.timer)})))},ll=(r,c)=>{if(!c.toast){if(!le(c.allowEnterKey))return oe("allowEnterKey"),void rl();al(r)||sl(r,c)||Tt(-1,1)}},al=r=>{const c=Array.from(r.popup.querySelectorAll("[autofocus]"));for(const d of c)if(d instanceof HTMLElement&&R(d))return d.focus(),!0;return!1},sl=(r,c)=>c.focusDeny&&R(r.denyButton)?(r.denyButton.focus(),!0):c.focusCancel&&R(r.cancelButton)?(r.cancelButton.focus(),!0):!(!c.focusConfirm||!R(r.confirmButton)||(r.confirmButton.focus(),0)),rl=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const r=new Date,c=localStorage.getItem("swal-initiation");c?(r.getTime()-Date.parse(c))/864e5>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const d=document.createElement("audio");d.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",d.loop=!0,document.body.appendChild(d),setTimeout(()=>{d.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${r}`)}Q.prototype.disableButtons=yn,Q.prototype.enableButtons=Cn,Q.prototype.getInput=vn,Q.prototype.disableInput=xn,Q.prototype.enableInput=wn,Q.prototype.hideLoading=ut,Q.prototype.disableLoading=ut,Q.prototype.showValidationMessage=Fn,Q.prototype.resetValidationMessage=Rn,Q.prototype.close=Me,Q.prototype.closePopup=Me,Q.prototype.closeModal=Me,Q.prototype.closeToast=Me,Q.prototype.rejectPromise=un,Q.prototype.update=Gn,Q.prototype._destroy=Mn,Object.assign(Q,Po),Object.keys(vo).forEach(r=>{Q[r]=function(...c){return Re&&Re[r]?Re[r](...c):null}}),Q.DismissReason=Be,Q.version="11.22.2";const ft=Q;return ft.default=ft,ft}(),typeof this<"u"&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),typeof document<"u"&&function(Se,x){var y=Se.createElement("style");if(Se.getElementsByTagName("head")[0].appendChild(y),y.styleSheet)y.styleSheet.disabled||(y.styleSheet.cssText=x);else try{y.innerHTML=x}catch{y.innerText=x}}(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.1s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px $swal2-outline-color;--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;
1--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;
1align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);
1box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word
vendor: 12,726 bytes, line 1
1-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:
1scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}
1100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}')}}]);
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.