PageSourceSearch

https://medvocation.com/541.4f39d10125488ec2.js

js medvocation.com collected 2026-10-08 23:19:12 UTC 23,773 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmedvo_front=self.webpackChunkmedvo_front||[]).push([[541],{49657:(b,m,i)=>{i.d(m,{g:()=>s});var t=i(4025),o=i(94650),g=i(80529);let s=(()=>{class h extends t.D{constructor(c){super(c,"employer")}rate(c,l){this.http.post("employer/"+c+"/rate",{rate:l}).toPromise()}getEmployerProfile(){return this.http.get("employer")}getEmployersNames(c){return this.http.get("employer/recommended",c?{params:{Phrase:c}}:{})}}return h.\u0275fac=function(c){return new(c||h)(o.LFG(g.eN))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},5210:(b,m,i)=>{i.d(m,{D:()=>t});const t=o=>g=>!/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(g.value)&&g.value?{message:o}:null},73224:(b,m,i)=>{i.d(m,{C:()=>t});const t=(o="shared.form.validation.field-required",g=!1)=>s=>g||s.value&&0!==s.value.length?null:{message:o}},67997:(b,m,i)=>{i.d(m,{x:()=>c});var t=i(65412),o=i(94650),g=i(4859),s=i(91612),h=i(89383);const _=["link"];let c=(()=>{class l{constructor(r){this.data=r}ngAfterViewInit(){this.link.nativeElement.select()}}return l.\u0275fac=function(r){return new(r||l)(o.Y36(t.WI))},l.\u0275cmp=o.Xpm({type:l,selectors:[["app-share-dialog"]],viewQuery:function(r,d){if(1&r&&o.Gf(_,5),2&r){let y;o.iGM(y=o.CRH())&&(d.link=y.first)}},decls:20,vars:12,consts:[["header","",1,"header"],[1,"fas","fa-share-alt"],["mat-dialog-content","",1,"text"],["body","",1,"content"],["readonly","",1,"link",3,"value"],["link",""],[1,"buttonWrapper"],["target","_blank",3,"href"],["mat-button","","mat-dialog-close","",1,"buttonSocial","twiterButton"],[1,"fab","fa-twitter"],["mat-button","","mat-dialog-close","",1,"buttonSocial","facebookbutton"],[1,"fab","fa-facebook-f"]],template:function(r,d){1&r&&(o.TgZ(0,"app-dialog-container")(1,"div",0),o._UZ(2,"i",1),o.TgZ(3,"div",2),o._uU(4),o.ALo(5,"translate"),o.qZA()(),o.TgZ(6,"div",3),o._UZ(7,"input",4,5),o.TgZ(9,"div",6)(10,"a",7)(11,"button",8),o._UZ(12,"i",9),o._uU(13),o.ALo(14,"translate"),o.qZA()(),o.TgZ(15,"a",7)(16,"button",10),o._UZ(17,"i",11),o._uU(18),o.ALo(19,"translate"),o.qZA()()()()()),2&r&&(o.xp6(4),o.Oqu(o.lcZ(5,6,d.data.label)),o.xp6(3),o.Q6J("value",d.data.url),o.xp6(3),o.Q6J("href","http://www.twitter.com/intent/tweet?url="+d.data.url,o.LSH),o.xp6(3),o.hij(" ",o.lcZ(14,8,"blog.common.share-tt")," "),o.xp6(2),o.Q6J("href","https://www.facebook.com/sharer/sharer.php?u=#"+d.data.url,o.LSH),o.xp6(3),o.hij(" ",o.lcZ(19,10,"blog.common.share-fb")," "))},dependencies:[t.ZT,t.xY,g.lW,s.w,h.X$],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:center}[_nghost-%COMP%]   .icon[_ngcontent-%COMP%]{font-size:30px;margin-bottom:5px;cursor:pointer;align-self:flex-end}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]{width:90vw;max-width:710px;display:grid;justify-content:center;grid-auto-flow:column}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .fa-share-alt[_ngcontent-%COMP%]{font-size:2rem;display:initial;margin:0 10px 0 0;z-index:1000}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{margin:5px 0;font-size:2rem;line-height:2rem;overflow:initial}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]{padding:24px 17px 32px;display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%]   .link[_ngcontent-%COMP%]{font-size:17px;font-family:Red Hat Text;width:100%;text-align:center}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]{padding-top:18px;display:flex}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .buttonSocial[_ngcontent-%COMP%]{height:40px;border-radius:20px;color:#fff;padding:2px 14px 0;font-family:Red Hat Text;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .twiterButton[_ngcontent-%COMP%]{background-color:#01abee;margin-right:8px}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .twiterButton[_ngcontent-%COMP%]   .fa-twitter[_ngcontent-%COMP%]{font-size:2rem}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .facebookbutton[_ngcontent-%COMP%]{background-color:#495ea4}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .facebookbutton[_ngcontent-%COMP%]   .fa-facebook-f[_ngcontent-%COMP%]{font-size:2rem}"]}),l})()},31292:(b,m,i)=>{i.d(m,{L:()=>_});var t=i(94650),o=i(36895),g=i(71371);function s(c,l){if(1&c&&(t.TgZ(0,"div",2),t._UZ(1,"i",3),t.TgZ(2,"p"),t._uU(3),t.ALo(4,"enum"),t.qZA()()),2&c){const f=t.oxw();
1t.xp6(3),t.Oqu(t.xi3(4,1,f.employerType,"EmployerType"))}}function h(c,l){1&c&&(t.TgZ(0,"div",4),t._UZ(1,"i",5),t.TgZ(2,"p"),t._uU(3),t.ALo(4,"enum"),t.qZA()()),2&c&&(t.xp6(3),t.Oqu(t.xi3(4,1,2,"EmployerType")))}let _=(()=>{class c{}return c.\u0275fac=function(f){return new(f||c)},c.\u0275cmp=t.Xpm({type:c,selectors:[["app-employer-type"]],inputs:{employerType:"employerType"},decls:2,vars:2,consts:[["class","container colorDirect",4,"ngIf"],["class","container colorStaffing",4,"ngIf"],[1,"container","colorDirect"],[1,"fas","fa-clinic-medical"],[1,"container","colorStaffing"],[1,"fas","fa-users"]],template:function(f,r){1&f&&(t.YNc(0,s,5,4,"div",0),t.YNc(1,h,5,4,"div",1)),2&f&&(t.Q6J("ngIf",1===r.employerType),t.xp6(1),t.Q6J("ngIf",1!==r.employerType))},dependencies:[o.O5,g.z],styles:[".container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;border-radius:100px;padding:.6em 16px;display:grid;gap:.7rem;grid-auto-flow:column}p[_ngcontent-%COMP%]{font-weight:500;font-size:unset}.colorDirect[_ngcontent-%COMP%]{background-color:#040a29;color:#6ea8dd}.colorStaffing[_ngcontent-%COMP%]{background-color:#dbdeeb;color:#040a29}"]}),c})()},15781:(b,m,i)=>{i.d(m,{f:()=>X});var t=i(94650),o=i(39646),g=i(50590),s=i(70262),h=i(67997),_=i(24006),c=i(65412),l=i(4025),f=i(80529);let r=(()=>{class e extends l.D{constructor(n){super(n,"jobseeker/")}saveJob(n){return this.http.put("jobseeker/job/"+n+"/save",{})}applyJob(n,a=[]){return this.http.put("jobseeker/job/"+n+"/apply",a)}cancelJob(n){return this.http.delete("jobseeker/job/"+n+"/cancel",{})}reject(n){return this.http.put("jobseeker/job/"+n+"/reject",{})}}return e.\u0275fac=function(n){return new(n||e)(t.LFG(f.eN))},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var d=i(36895),y=i(71948),x=i(3238),P=i(91612),C=i(89383);function M(e,p){if(1&e&&(t.TgZ(0,"mat-radio-button",10),t._uU(1),t.qZA()),2&e){const n=p.$implicit;t.Q6J("value",n.id),t.xp6(1),t.hij(" ",n.answer," ")}}function w(e,p){if(1&e&&(t.TgZ(0,"div",6)(1,"h3",7),t._uU(2),t.qZA(),t.TgZ(3,"mat-radio-group",8),t.YNc(4,M,2,2,"mat-radio-button",9),t.qZA()()),2&e){const n=p.$implicit,a=p.index,u=t.oxw();
1t.xp6(2),t.Oqu(u.questions[a].question),t.xp6(1),t.Q6J("formControl",n),t.xp6(1),t.Q6J("ngForOf",u.questions[a].answers)}}const T=function(e){return{btnPrimaryDisabled:e}};let Z=(()=>{class e{constructor(n,a,u,O){this.dialogRef=n,this.data=a,this.jobSeekerService=u,this.fb=O,this.questions=a.questions}onApply(){this.form.invalid||(this.jobSeekerService.applyJob(this.data.jobId,this.form.value),this.dialogRef.close(!0))}ngOnInit(){this.form=this.fb.array([...this.questions.map(()=>[null,_.kI.required])])}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(c.so),t.Y36(c.WI),t.Y36(r),t.Y36(_.QS))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-application-question"]],decls:13,vars:13,consts:[["header",""],["body","",2,"overflow-y","auto","max-height","calc(100vh - 150px)"],["class","question",4,"ngFor","ngForOf"],[1,"buttonWrapper","flexCenter"],["matRipple","",1,"btn","btnPrimary","applyButton",3,"ngClass","click"],["matRipple","","mat-dialog-close","",1,"btn","btnOutline"],[1,"question"],["id","questionLabel"],["aria-labelledby","questionLabel",1,"radioGroup",3,"formControl"],["disableRipple","","class","radioButton",3,"value",4,"ngFor","ngForOf"],["disableRipple","",1,"radioButton",3,"value"]],template:function(n,a){1&n&&(t.TgZ(0,"app-dialog-container")(1,"div",0),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",1),t.YNc(5,w,5,3,"div",2),t.TgZ(6,"div",3)(7,"button",4),t.NdJ("click",function(){return a.onApply()}),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"button",5),t._uU(11),t.ALo(12,"translate"),t.qZA()()()()),2&n&&(t.xp6(2),t.hij(" ",t.lcZ(3,5,"shared.dialog.applicationQuestion.header-title")," "),t.xp6(3),t.Q6J("ngForOf",a.form.controls),t.xp6(2),t.Q6J("ngClass",t.VKq(11,T,a.form.invalid)),t.xp6(1),t.hij(" ",t.lcZ(9,7,"shared.dialog.applicationQuestion.apply")," "),t.xp6(3),t.hij(" ",t.lcZ(12,9,"shared.dialog.applicationQuestion.cancel")," "))},dependencies:[d.mk,d.sg,_.JJ,_.oH,c.ZT,y.VQ,y.U0,x.wG,P.w,C.X$],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   .radioGroup[_ngcontent-%COMP%]{display:grid;gap:1rem;justify-items:center;font-size:15px}@media (min-width: 1184px){[_nghost-%COMP%]   .radioGroup[_ngcontent-%COMP%]{font-size:17px}}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]{height:78px;font-size:1.6rem}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .applyButton[_ngcontent-%COMP%]{margin-right:8px}[_nghost-%COMP%]   .buttonWrapper[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:108px}[_nghost-%COMP%]   .question[_ngcontent-%COMP%]{width:100vw;max-width:814px;padding:2rem 3rem;border-bottom:1px solid #dbdeeb;display:grid;justify-items:center;grid-gap:1rem}"]}),e})();var A=i(36806),S=i(58835),k=i(57173);const J=function(){return["/","job-seeker","profile"]};let I=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-complete-your-profile"]],decls:16,vars:13,consts:[["header","",1,"titleWrapper"],[1,"fas","fa-exclamation-circle",2,"margin-right","1rem"],["mat-dialog-content","",1,"text"],["body","",1,"contentWrapper"],[3,"routerLink"],[1,"btnPrimary",3,"mat-dialog-close"],[1,"fas","fa-edit"]],template:function(n,a){1&n&&(t.TgZ(0,"app-dialog-container")(1,"div",0),t._UZ(2,"i",1),t.TgZ(3,"div",2),t._uU(4),t.ALo(5,"translate"),t.qZA()(),t.TgZ(6,"div",3)(7,"h3"),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"a",4),t.ALo(11,"localize"),t.TgZ(12,"button",5),t._UZ(13,"i",6),t._uU(14),t.ALo(15,"translate"),t.qZA()()()()),2&n&&(t.xp6(4),t.Oqu(t.lcZ(5,4,"shared.dialog.completeProfile.title")),t.xp6(4),t.hij(" ",t.lcZ(9,6,"shared.dialog.completeProfile.info")," "),t.xp6(2),t.Q6J("routerLink",t.lcZ(11,8,t.DdM(12,J))),t.xp6(4),t.hij("",t.lcZ(15,10,"shared.dialog.completeProfile.edit-profile")," "))},dependencies:[A.yS,S.QV,c.ZT,c.xY,P.w,k.lO,C.X$],styles:["[_nghost-%COMP%]{display:block}.titleWrapper[_ngcontent-%COMP%]{display:flex}.contentWrapper[_ngcontent-%COMP%]{margin:2rem;display:grid;gap:3rem;justify-items:center}"]}),e})();var j=i(99614),E=i(32925),U=i(87599);function B(e,p){1&e&&(t.TgZ(0,"div",3),t._UZ(1,"app-spinner"),t.qZA())}function L(e,p){1&e&&t._UZ(0,"i",12)}function R(e,p){1&e&&t._UZ(0,"i",13)}const v=function(){return{"grid-column":"span 2"}};function D(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"div",4)(1,"button",5),t.NdJ("click",function(){t.CHM(n);const u=t.oxw();return t.KtG(u.clickApply())}),t._UZ(2,"i",6),t.qZA(),t.TgZ(3,"button",7),t.NdJ("click",function(){t.CHM(n);const u=t.oxw();return t.KtG(u.toggleSaved())}),t.YNc(4,L,1,0,"i",8),t.YNc(5,R,1,0,"i",9),t.qZA(),t.TgZ(6,"button",10),t.NdJ("click",function(){t.CHM(n);const u=t.oxw();return t.KtG(u.reject())}),t._UZ(7,"i",11),t.qZA()()}if(2&e){const n=t.oxw();
1t.xp6(4),t.Q6J("ngIf",!n.saved),t.xp6(1),t.Q6J("ngIf",n.saved),t.xp6(1),t.Q6J("ngClass",t.DdM(3,v))}}const Q=function(e){return{color:e}};function N(e,p){if(1&e&&(t.TgZ(0,"span",20)(1,"app-tooltip-round",21),t._UZ(2,"i",22),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()),2&e){const n=t.oxw(2);t.Q6J("ngStyle",t.VKq(5,Q,n.red?"#f0476b":"")),t.xp6(1),t.Q6J("text",n.statusInfoLong),t.xp6(2),t.hij(" ",t.lcZ(4,3,n.statusInfo),"")}}function Y(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"button",23),t.NdJ("click",function(){t.CHM(n);const u=t.oxw(2);return t.KtG(u.clickApply())}),t._UZ(1,"i",6),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&e&&(t.xp6(2),t.hij("",t.lcZ(3,1,"job.apply")," "))}function W(e,p){1&e&&t._UZ(0,"i",12)}function F(e,p){1&e&&t._UZ(0,"i",13)}function G(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"button",24),t.NdJ("click",function(){t.CHM(n);const u=t.oxw(2);return t.KtG(u.toggleSaved())}),t.YNc(1,W,1,0,"i",8),t.YNc(2,F,1,0,"i",9),t._uU(3),t.ALo(4,"translate"),t.qZA()}if(2&e){const n=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!n.saved),t.xp6(1),t.Q6J("ngIf",n.saved),t.xp6(1),t.hij(" ",t.lcZ(4,3,"job.save")," ")}}function z(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"button",24),t.NdJ("click",function(){t.CHM(n);const u=t.oxw(2);return t.KtG(u.cancel())}),t._UZ(1,"i",11),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&e&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"job.restore")," "))}function K(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"button",25),t.NdJ("click",function(){t.CHM(n);const u=t.oxw(2);return t.KtG(u.reject())}),t._UZ(1,"i",11),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&e&&(t.Q6J("ngClass",t.DdM(4,v)),t.xp6(2),t.hij("",t.lcZ(3,2,"job.reject")," "))}function q(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"button",26),t.NdJ("click",function(){t.CHM(n);const u=t.oxw(2);return t.KtG(u.share())}),t._UZ(1,"i",27),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&e&&(t.Q6J("ngClass",t.DdM(4,v)),t.xp6(2),t.hij("",t.lcZ(3,2,"job.share")," "))}function $(e,p){if(1&e){const n=t.EpF();t.TgZ(0,"div",28)(1,"button",29),t.NdJ("click",function(){t.CHM(n);const u=t.oxw(2);return t.KtG(u.scrollUp())}),t._UZ(2,"i",30),t._uU(3),t.ALo(4,"translate"),t.qZA()()}2&e&&(t.xp6(3),t.hij("",t.lcZ(4,1,"job.go-up")," "))}function H(e,p){if(1&e&&(t.TgZ(0,"div",3),t.YNc(1,N,5,7,"span",14),t.YNc(2,Y,4,3,"button",15),t.YNc(3,G,5,5,"button",16),t.YNc(4,z,4,3,"button",16),t.YNc(5,K,4,5,"button",17),t.YNc(6,q,4,5,"button",18),t.YNc(7,$,5,3,"div",19),t.qZA()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("ngIf",n.showInfo),t.xp6(1),t.Q6J("ngIf",n.showApply),t.xp6(1),t.Q6J("ngIf",n.showApply),t.xp6(1),t.Q6J("ngIf",n.showCancel),t.xp6(1),t.Q6J("ngIf",n.allowReject&&n.showReject),t.xp6(1),t.Q6J("ngIf",n.showShare),t.xp6(1),t.Q6J("ngIf",n.showGoUp)}}function V(e,p){if(1&e&&(t.TgZ(0,"div",31),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&e){const n=t.oxw();t.xp6(1),t.Oqu(t.lcZ(2,1,n.serverError))}}let X=(()=>{class e{constructor(n,a,u,O){this.roleService=n,this.jobSeekerService=a,this.dialog=u,this.scroller=O,this.showShare=!1,this.showGoUp=!1,this.allowReject=!1,this.roundedVariant=!1,this.changedApplicationStatus=new t.vpe,this.loading=!0,this.red=!1,this.clickedEmit=new t.vpe}ngOnInit(){this.roleSubscription=this.roleService.isJobSeekerOrNone().subscribe(n=>{n?this.applicationStatusSubscription=this.applicationStatus.subscribe(a=>{this.updateStatus(a)}):this.updateStatus(5),this.loading=!1})}scrollUp(){setTimeout(()=>{this.scroller.scrollToPosition([0,0])})}ngOnDestroy(){this.roleSubscription&&this.roleSubscription.unsubscribe(),this.applicationStatusSubscription&&this.applicationStatusSubscription.unsubscribe()}share(){let n;n=this.shareLink?"https://medvocation.com"+this.shareLink:window.location.href,this.dialog.open(h.x,{data:{url:n,label:"job.share-dialog"}})}updateStatus(n){switch(n){case 0:this.showApply=!0,this.showCancel=!1,this.showInfo=!1,this.showReject=!0,this.saved=!1;break;case 1:this.showInfo=!1,this.showApply=!0,this.showCancel=!1,this.showReject=!0,this.saved=!0;break;case 2:this.showApply=!1,this.showCancel=!0,this.showInfo=!0,this.showReject=!1,this.red=!0,this.statusInfo="job.rejected",this.statusInfoLong="job.rejected-long";break;case 3:this.showApply=!1,this.showCancel=!0,this.showInfo=!0,this.showReject=!1,this.statusInfo="job.applied",this.statusInfoLong="job.applied-long";break;case 4:this.showApply=!1,this.showCancel=!1,this.showInfo=!0,this.showReject=!1,this.statusInfo="job.
1shortlisted",this.statusInfoLong="job.shortlisted-long";break;case 5:this.showApply=!1,this.showCancel=!1,this.showInfo=!0,this.showReject=!1,this.statusInfo="job.log-in-as-jobseeker",this.statusInfoLong="job.log-in-as-jobseeker-long";break;case-1:this.showApply=!1,this.showCancel=!1,this.showInfo=!0,this.showReject=!1,this.statusInfo="job.error",this.statusInfoLong="job.error-long"}}toggleSaved(){this.clickedEmit.emit(!0),this.roleService.checkIfLoggedIn().pipe((0,g.P)()).subscribe(n=>{!0===n&&(this.saved?this.cancel():this.save())})}save(){this.loading=!0,this.jobSeekerService.saveJob(this.id).pipe((0,g.P)(),(0,s.K)(()=>(0,o.of)(!1))).subscribe(n=>{if(this.loading=!1,!n)return this.changedApplicationStatus.emit(-1);this.changedApplicationStatus.emit(1)})}cancel(){this.loading=!0,this.jobSeekerService.cancelJob(this.id).pipe((0,g.P)(),(0,s.K)(()=>(0,o.of)(!1))).subscribe(n=>{if(this.loading=!1,!n)return this.changedApplicationStatus.emit(-1);this.changedApplicationStatus.emit(0)})}reject(){this.jobSeekerService.reject(this.id).pipe((0,g.P)(),(0,s.K)(()=>(0,o.of)(!1))).subscribe(n=>{if(this.loading=!1,!n)return this.changedApplicationStatus.emit(-1);this.changedApplicationStatus.emit(2)})}apply(n=[]){this.loading=!0,this.jobSeekerService.applyJob(this.id,n).pipe((0,g.P)()).subscribe(()=>{this.loading=!1,this.changedApplicationStatus.emit(3)},a=>(this.loading=!1,"profile-not-complete"===a.error.message?this.dialog.open(I):"forbiden-country"===a.error.message?this.serverError="job.error-forbiden-country":this.changedApplicationStatus.emit(-1)))}clickApply(){this.clickedEmit.emit(!0),this.roleService.checkIfLoggedIn().pipe((0,g.P)()).subscribe(n=>{if(n)return 0===this.questions.length?this.apply():void this.dialog.open(Z,{data:{jobId:this.id,questions:this.questions}}).afterClosed().subscribe(u=>{if(u)return this.apply(u)})})}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(j.N),t.Y36(r),t.Y36(c.uw),t.Y36(d.EM))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-job-buttons"]],inputs:{applicationStatus:"applicationStatus",questions:"questions",id:"id",shareLink:"shareLink",showShare:"showShare",showGoUp:"showGoUp",allowReject:"allowReject",roundedVariant:"roundedVariant"},outputs:{changedApplicationStatus:"changedApplicationStatus",clickedEmit:"clickedEmit"},decls:4,vars:4,consts:[["class","container",4,"ngIf"],["class","container roundedButtons noselect",4,"ngIf"],["class","serverError",4,"ngIf"],[1,"container"],[1,"container","roundedButtons","noselect"],["matRipple","",1,"btn","btnPrimary","buttonBig","boxShadow",3,"click"],[1,"fas","fa-paper-plane"],["matRipple","",1,"btn","btnOutline","buttonSmall","boxShadow",3,"click"],["class","far fa-heart",4,"ngIf"],["class","fas fa-heart","style","color: #f0476b",4,"ngIf"],["matRipple","",1,"btn","btnOutline","buttonBig","boxShadow",3,"ngClass","click"],[1,"fas","fa-times"],[1,"far","fa-heart"],[1,"fas","fa-heart",2,"color","#f0476b"],["class","info",3,"ngStyle",4,"ngIf"],["class","btn btnPrimary applyButton darkTxt","matRipple","",3,"click",4,"ngIf"],["class","btn btnOutline","matRipple","",3,"click",4,"ngIf"],["class","btn btnOutline btnShare","matRipple","",3,"ngClass","click",4,"ngIf"],["class","btn btnOutline btnShare",3,"ngClass","click",4,"ngIf"],["class","goUpWrapper",4,"ngIf"],[1,"info",3,"ngStyle"],["maxWidth","200px",3,"text"],[1,"fas","fa-info-circle"],["matRipple","",1,"btn","btnPrimary","applyButton","darkTxt",3,"click"],["matRipple","",1,"btn","btnOutline",3,"click"],["matRipple","",1,"btn","btnOutline","btnShare",3,"ngClass","click"],[1,"btn","btnOutline","btnShare",3,"ngClass","click"],["matRipple","",1,"fas","fa-share-alt"],[1,"goUpWrapper"],[1,"btn","btnOutline",3,"click"],["matRipple","",1,"fas","fa-arrow-up"],[1,"serverError"]],template:function(n,a){1&n&&(t.YNc(0,B,2,0,"div",0),t.YNc(1,D,8,4,"div",1),t.YNc(2,H,8,7,"div",0),t.YNc(3,V,3,3,"div",2)),2&n&&(t.Q6J("ngIf",a.loading),t.xp6(1),t.Q6J("ngIf",a.roundedVariant&&!a.loading),t.xp6(1),t.Q6J("ngIf",!a.roundedVariant&&!a.loading),t.xp6(1),t.Q6J("ngIf",a.serverError))},dependencies:[d.mk,d.O5,d.PC,x.wG,E.O,U.R,C.X$],styles:["[_nghost-%COMP%]{display:grid;position:relative;height:100%;align-self:center}.container[_ngcontent-%COMP%]{height:100%;display:grid;flex-wrap:wrap;justify-content:center;align-content:center;place-items:center}.btn[_ngcontent-%COMP%]{width:100%}.info[_ngcontent-%COMP%]{grid-column:span 2;display:flex;text-align:center;flex-wrap:wrap;justify-self:center;align-content:center;justify-content:center}.info[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:5px}.applyButton[_ngcontent-%COMP%]{grid-column:span 2}.goUpWrapper[_ngcontent-%COMP%]{display:none}@media (min-width: 1184px){.goUpWrapper[_ngcontent-%COMP%]{display:flex;border-left:1px solid #dbdeeb;padding-left:15px}}.verticalDivider[_ngcontent-%COMP%]{display:none;width:1px;background-color:#dbdeeb;margin:9px 0}@media (min-width: 1184px){.verticalDivider[_ngcontent-%COMP%]{display:grid}}
1.roundedButtons[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;max-width:360px;width:100%;justify-content:space-evenly;align-items:center;margin:auto;padding:22px 10px}.roundedButtons[_ngcontent-%COMP%]   .buttonBig[_ngcontent-%COMP%]{width:80px;height:80px;font-size:25px}@media (min-width: 1184px){.roundedButtons[_ngcontent-%COMP%]   .buttonBig[_ngcontent-%COMP%]{width:96px;height:96px}}.roundedButtons[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:flex;place-content:center;justify-items:center;margin-right:0}.roundedButtons[_ngcontent-%COMP%]   .buttonSmall[_ngcontent-%COMP%]{width:56px;padding:0;height:56px;font-size:20px}@media (min-width: 1184px){.roundedButtons[_ngcontent-%COMP%]   .buttonSmall[_ngcontent-%COMP%]{width:62px;height:62px}}.roundedButtons[_ngcontent-%COMP%]   .btnOutline[_ngcontent-%COMP%]{color:#8b8fa9}.serverError[_ngcontent-%COMP%]{background-color:#fff2f2;color:#f0476b;font-size:13px;border-radius:8px;padding:3px 8px;margin:10px 0;display:flex;align-items:center}@media (max-width: 767px){.serverError[_ngcontent-%COMP%]{padding:10px;justify-content:center;width:70%;margin:10px auto}}"]}),e})()},69308:(b,m,i)=>{i.d(m,{d:()=>c});var t=i(94650),o=i(36895);let g=(()=>{class l{constructor(r){this.locale=r}transform(r,d,y=!1){const x=(0,o.jK)(d,"narrow");return"INR"===d?r.toLocaleString("en-IN",{style:"currency",currency:d,minimumFractionDigits:0,maximumFractionDigits:2}):(0,o.xG)(r,this.locale,y||!x?"":x,d,"1.0-2")}}return l.\u0275fac=function(r){return new(r||l)(t.Y36(t.soG,16))},l.\u0275pipe=t.Yjl({name:"currencyCustom",type:l,pure:!0}),l})();var s=i(71371);function h(l,f){if(1&l&&(t.ynx(0),t._uU(1),t.ALo(2,"currencyCustom"),t.BQk()),2&l){const r=t.oxw();
1t.xp6(1),t.hij(" ",t.xi3(2,1,r.salaryValue,r.currencyAbbreviation),"\n")}}function _(l,f){if(1&l&&(t.ynx(0),t._uU(1),t.ALo(2,"currencyCustom"),t.ALo(3,"currencyCustom"),t.BQk()),2&l){const r=t.oxw();t.xp6(1),t.AsE(" ",t.xi3(2,2,r.salaryRangeMin,r.currencyAbbreviation)," - ",t.Dn7(3,5,r.salaryRangeMax,r.currencyAbbreviation,!0),"\n")}}let c=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-salary-display"]],inputs:{salaryType:"salaryType",salaryValue:"salaryValue",salaryRangeMin:"salaryRangeMin",salaryRangeMax:"salaryRangeMax",currencyAbbreviation:"currencyAbbreviation",salaryFrequency:"salaryFrequency"},decls:4,vars:6,consts:[[4,"ngIf"]],template:function(r,d){1&r&&(t.YNc(0,h,3,4,"ng-container",0),t.YNc(1,_,4,9,"ng-container",0),t._uU(2),t.ALo(3,"enum")),2&r&&(t.Q6J("ngIf",1===d.salaryType),t.xp6(1),t.Q6J("ngIf",2===d.salaryType),t.xp6(1),t.hij("\n",t.xi3(3,3,d.salaryFrequency,"JobSalaryFrequency"),"\n"))},dependencies:[o.O5,g,s.z],styles:["[_nghost-%COMP%]{display:block}"]}),l})()},7885:(b,m,i)=>{i.d(m,{x:()=>o});var t=i(79038);const o=s=>`/job/for-${(0,t.E)(s.employerName)}${s.specializationGeneral?"/"+(0,t.E)(s.specializationGeneral.name):""}/in-${(0,t.E)(s.country?.name)}/${s.region?(0,t.E)(s.region.name):""}/${s.city?(0,t.E)(s.city.name):""}/${s.id}`}}]);

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.