PageSourceSearch

https://nofluffjobs.com/6186.8ec790f9b9fc255f.js

js nofluffjobs.com collected 2026-09-24 19:43:32 UTC 10,829 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknfj=self.webpackChunknfj||[]).push([[6186],{91666($,x,n){n.d(x,{E:()=>l});var E=n(15215),D=n(67306),S=n(30335),y=n(32661),T=n(21413),P=n(84412),M=n(84572),I=n(7673),C=n(18810),u=n(99437),p=n(96354),O=n(44668),d=n(25558),t=n(88141),m=n(65943),A=n(45656),U=n(69902),b=n(19031),F=n(78942),g=n(47266),V=n(91413),w=n(37702),G=n(47802),N=n(31839),k=n(8830),X=n(99952),r=n(69817),h=n(18254),c=n(97163),f=n(1989);let l=(()=>{var j;class v{constructor(e,s,i,o,a,_,B,R,W,K,J){this.http=e,this.router=s,this.postingsApi=i,this.postingsService=o,this.region=a,this.cookie=_,this.currencyPipe=B,this.postingSalaryPipe=R,this.applyBoxService=W,this.measurementGlobalData=K,this.measurementService=J,this.isLoading$=new P.t(!1),this.appliedOnOfferId$=new T.B,this.siblingPostings=new P.t([]),this.searchPage=new P.t(null),this.searchResponse=new P.t(null),this.searchResponse$=this.searchResponse.asObservable(),this.searchPage$=this.searchPage.asObservable(),this.currentRegion=this.region.getCurrentRegion().country,this.jobOfferCookieStorage=new b.W6("JOB_OFFER_RATE_SURVEY",this.cookie),this.salaryMatchRatedCookie=new b.W6("SALARY_MATCH_SURVEY2",this.cookie),this._externalRedirectCache=new Map,this.lastUrl$=(0,M.z)([this.postingsService.lastUrl$,this.searchPage$,this.searchResponse$]).pipe((0,D.Ry)((0,p.T)(([L,Y,H])=>{const z=Y?Y>1?Y:null:L.queryParams?.page?L.queryParams.page:null,Q={...L.queryParams,...z?{page:z}:{}};return{routerLink:L.routerLink||"/",criteria:Q,searchResponse:H}}))),this.postingMeasurement=this.measurementService.posting}getPostingStatus(e){return this.postingsApi.getPostingStatus(e)}setPostingStatus(e,s){return this.postingsApi.setPostingStatus(e,s)}getPostingByIdCached(e,s,i,o=!1){return this.getPostingById(e,s,i,o)}getPostingById(e,s,i,o=!1){return this.postingsApi.getPostingById(e,s,i,o).pipe((0,p.T)(a=>this.isPostingExpired(a)?{...a,...a.jobOffer?{jobOffer:this.transformPosting(a.jobOffer)}:{}}:this.transformPosting(a)))}transformPosting(e){return{...e,essentials:{...e.essentials,salary:this.transformSalary(this.postingSalaryPipe.transform(e))},formattedLocations:this.getFormattedPostingPlaces(e.location.places)}}isPostingExpired(e){return!e||e.status===A.X.Expired||"DISABLED"===e.status}apply(e){const s=new FormData;e.files?.attachment&&("string"!=typeof e.files.attachment?s.append("cv",e.files.attachment):e.resumeName=e.files.attachment),e.files?.video&&("string"!=typeof e.files.video?s.append("video",e.files.video):e.videoName=e.files.video),delete e.files,e.token=(new Date).getTime();const{currentConsent:i,futureConsent:o,customConsent:a}=e.consents;return s.append("application",JSON.stringify({...e,consents:{...e.consents,...i,...o,...a}})),e.offerVersion&&s.append("offerVersion",e.offerVersion),this.postingsApi.apply(s).pipe((0,t.M)(()=>{e.postingId&&(this.applyBoxService.setPostingAppliedCookie(e.postingId),this.appliedOnOfferId$.next(e.postingId))}))}refer(e){const s=new FormData;return e.token=(new Date).getTime(),s.append("referral",JSON.stringify(e)),this.postingsApi.refer(s)}getShare(e){return this.postingsApi.getShare(e)}postShare(e,s){return this.postingsApi.postShare(e,s)}getFormattedPostingPlaces(e){const s=(e||[]).filter(_=>!_.provinceOnly),i=(0,S.A)(s,_=>_.city.toLowerCase()),o=(0,y.A)(s,_=>_.city.toLowerCase()),a=[];return o.forEach(_=>{const B=i[_.city.toLowerCase()];if(B.length>1)B.forEach(R=>{const{city:W,street:K}=R,J=W?.charAt(0).toUpperCase()+W.slice(1),L=K?` - ${K.charAt(0).toUpperCase()}${K.slice(1)}`:"";a.push(`${J}${L}`)});else{let R=_.city;R=R.charAt(0).toUpperCase()+R.slice(1),a.push(R)}}),a}reloadPostingDetails(e,s,i=!1){return e.pipe((0,t.M)(()=>this.isLoading$.next(!0)),(0,t.M)(()=>window.scrollTo({top:0})),(0,p.T)(o=>o.get("id")),(0,d.n)(o=>this.getPostingById(o,s.get("token"),void 0,i).pipe((0,p.T)(a=>this.isPostingExpired(a)?{...a,id:o}:a),(0,t.M)(a=>this.lastVisitedPosting=a))),(0,t.M)(()=>this.isLoading$.next(!1)),(0,u.W)(o=>((400===o.status||404===o.status)&&this.router.navigateByUrl("/404"),this.isLoading$.next(!1),(0,C.$)(o))),(0,O.t)({bufferSize:1,refCount:!0}))}setSiblingPostingsExplicitly(e,s){this.siblingPostings.next(e),this.searchResponse.next(s?.searchResponse??null),this.searchPage.next(s?.page??null),this.searchMetadata=s}getSiblingPostings(){return this.siblingPostings.getValue().length?(0,I.of)({postings:this.siblingPostings.getValue(),searchMetadata:this.searchMetadata}):null}transformSalary(e){let s="";const i=Object.keys(e.types).filter(o=>!!e.types[o]).reduce((o,a)=>{const _=a;return{...o,[_]:{...e.types[_],range:(e.types[_].range||[]).map(B=>this.currentRegion===F.eC.Hungary&&"PLN"===e.currency?(s="USD",Math.round(B/4)):this.currencyPipe.transform(B,e.currency))}}},{});return{...e,currency:s||e.currency,types:i}}buildExternalRedirectUrl(e,s){return`/api/posting/${e}/redirect/${s}?nfjGlobalContext=${encodeURIComponent(JSON.stringify(this.measurementGlobalData.globalContextData.global_context))}
1&${this.region.getCurrentRegion(!1).requestParams}`}get requiresPreOpenedTab(){const e=navigator.userAgent,s=/iPad|iPhone|iPod/.test(e),i=/Version\/[\d._]+.*Safari/.test(e)&&!/Chrom|Android|Edg|OPR/.test(e);return s||i}handleExternalApplyRedirect(e,s,i){const o=this.buildExternalRedirectUrl(e,s);i?i.location.href=new URL(o,window.location.origin).toString():this.requiresPreOpenedTab?window.location.replace(o):window.open(o,"_blank")}verifyCaptchaCall(e,s){const i=(0,U.Z0)(this.applyBoxService.get().posting);return this.measurementService.refreshCookies(),this.http.post(`/api/posting/${i}/redirect?${this.region.getCurrentRegion().requestParams}`,{gRecaptchaCode:e,gRecaptchaVersion:s}).pipe((0,t.M)(o=>this._externalRedirectCache.set(i,o)))}getExternalRedirectCache(e){return this._externalRedirectCache.get(e)}preOpenExternalTab(){return window.open("","_blank")}goToExternalForm(e,s,i,o){this.handleExternalApplyRedirect((0,U.Z0)(i),e,o??void 0),s&&this.postingMeasurement.redirectSent(i,e)}sendLead(e,s){return this.postingsApi.sendLead({...e,...s})}static#t=j=()=>(this.\u0275fac=function(s){return new(s||v)(g.KVO(V.Qq),g.KVO(w.Ix),g.KVO(G.z),g.KVO(N.z),g.KVO(k.S),g.KVO(X.O1),g.KVO(r.Q),g.KVO(h.F),g.KVO(U.Nr),g.KVO(f.L),g.KVO(c.G))},this.\u0275prov=g.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return j(),(0,E.Cg)([(0,m.R)({maxAge:18e4,maxCacheCount:100})],v.prototype,"getPostingStatus",null),(0,E.Cg)([(0,m.R)({maxAge:18e4,maxCacheCount:100})],v.prototype,"getPostingByIdCached",null),v})()},66186($,x,n){n.d(x,{nfjFeatureStatusRoutes:()=>X});var E=n(49769),D=n(68018),S=n(84412),y=n(21413),T=n(57786),P=n(983),M=n(25558),I=n(99437),C=n(9300),u=n(17723),p=n(42822),O=n(28776),d=n(23005),t=n(35547),m=n(47266),A=n(37702),U=n(91666);const b=r=>({date:r});function F(r,h){if(1&r&&(t.j41(0,"h3",3),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&r){const c=h.ngIf;t.R7$(),t.SpI(" ",t.bMT(2,1,c),"\n")}}function g(r,h){if(1&r&&(t.j41(0,"a",9),t.nrm(1,"inline-icon",10),t.j41(2,"span"),t.EFF(3),t.nI1(4,"translate"),t.k0s()()),2&r){const c=t.XpG(3);t.Y8G("href",c.panelLink+"/"+c.id,t.B4B),t.R7$(3),t.JRh(t.bMT(4,2,"status.Go back to job offer"))}}function V(r,h){1&r&&(t.j41(0,"span",11),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&r&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"status.Enabled")," "))}function w(r,h){if(1&r&&(t.j41(0,"div",12)(1,"span",13),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.EFF(4),t.nI1(5,"date"),t.nI1(6,"translate"),t.k0s()),2&r){const c=t.XpG().ngIf;t.R7$(2),t.JRh(t.bMT(3,2,"status.Disabled")),t.R7$(2),t.SpI(" ",t.i5U(6,7,"status.ON",t.eq3(10,b,t.i5U(5,4,c.lastDisabled,"d.MM.y")))," ")}}function G(r,h){if(1&r){const c=t.RV6();t.qex(0),t.DNE(1,g,5,4,"a",5),t.j41(2,"div",6)(3,"h2"),t.EFF(4),t.k0s(),t.DNE(5,V,3,3,"span",7)(6,w,7,12,"ng-template",null,1,t.C5r),t.j41(8,"button",8),t.bIt("click",function(){const l=m.eBV(c).ngIf,j=t.XpG(2);return m.Njj(j.toggleStatus.next(!l.disabled))}),t.EFF(9),t.nI1(10,"translate"),t.k0s()(),t.bVm()}if(2&r){const c=h.ngIf,f=t.sdS(7);t.R7$(4),t.JRh(c.fullTitle),t.R7$(),t.Y8G("ngIf",!c.disabled)("ngIfElse",f),t.R7$(3),t.AVh("tw-btn-primary",c.disabled)("tw-btn-error",!c.disabled),t.R7$(),t.SpI(" ",t.bMT(10,8,c.disabled?"status.Enable":"status.Disable")," ")}}function N(r,h){if(1&r&&(t.DNE(0,G,11,10,"ng-container",4),t.nI1(1,"async")),2&r){const c=t.XpG();t.Y8G("ngIf",t.bMT(1,1,c.status$))}}const X=[{path:"",component:(()=>{var r;class h{constructor(f,l){this.route=f,this.postingService=l,this.error=new S.t(""),this.toggleStatus=new y.B,(0,C.r)([u.mdIconsArrowBack])}get panelLink(){return window.location.origin+"/panel/postings"}ngOnInit(){const{id:f}=this.route.snapshot.queryParams;f?(this.id=f.toUpperCase(),this.status$=(0,T.h)(this.postingService.getPostingStatus(this.id),this.toggleStatus.pipe((0,M.n)(l=>this.postingService.setPostingStatus(this.id,l)))).pipe((0,I.W)(l=>(this.error.next(l.error?.message?l.error.message:"status.Wrong token"),P.w)))):this.error.next("status.Wrong token")}static#t=r=()=>(this.\u0275fac=function(l){return new(l||h)(t.rXU(A.nX),t.rXU(U.E))},this.\u0275cmp=t.VBU({type:h,selectors:[["nfj-status"]],decls:4,vars:4,consts:[["status",""],["enabled",""],["class","tw-mt-12 tw-text-center",4,"ngIf","ngIfElse"],[1,"tw-mt-12","tw-text-center"],[4,"ngIf"],["class","go-back tw-flex tw-items-center",3,"href",4,"isBrowser"],[1,"tw-mt-6","tw-text-center"],["class","green tw-block",4,"ngIf","ngIfElse"],[1,"tw-mt-6","tw-btn-lg","tw-mx-auto","tw-btn",3,"click"],[1,"go-back","tw-flex","tw-items-center",3,"href"],["matIcon","arrow_back"],[1,"green","tw-block"],[1,"disabled-on"],[1,"red"]],template:function(l,j){if(1&l&&(t.DNE(0,F,3,3,"h3",2),t.nI1(1,"async"),t.DNE(2,N,2,3,"ng-template",null,0,t.C5r)),2&l){const v=t.sdS(3);t.Y8G("ngIf",t.bMT(1,2,j.error))("ngIfElse",v)}},dependencies:[E.bT,d.S,p.W,O.w,D.h,E.Jj,E.vh,D.D9],styles:["[_nghost-%COMP%]{display:block}.go-back[_ngcontent-%COMP%]{color:#757575;margin-left:30px;margin-top:30px}.go-back[_ngcontent-%COMP%]   inline-icon[_ngcontent-%COMP%]{border:2px solid #eee;padding:2px;background-color:#fff;color:#757575;margin-right:10px}h2[_ngcontent-%COMP%]{font-weight:700;letter-spacing:.22px}.green[_ngcontent-%COMP%], .disabled-on[_ngcontent-%COMP%]{font-size:18px}.red[_ngcontent-%COMP%]{color:#f45958}.green[_ngcontent-%COMP%]{color:#19a59a}"]}))}return r(),h})()}]},35528($,x,n){n.d(x,{A:()=>C});const D=function E(u,p,O,d){for(var t=-1,m=null==u?0:u.length;++t<m;){var A=u[t];p(d,A,O(A),u)}return d};var S=n(29617);const T=function y(u,p,O,d){return(0,S.A)(u,function(t,m,A){p(d,t,O(t),A)}),d};var P=n(86219),M=n(43744);const C=function I(u,p){return function(O,d){var t=(0,M.A)(O)?D:T,m=p?p():{};return t(O,u,(0,P.A)(d,2),m)}}},30335($,x,n){var E=n(1827),D=n(35528),y=Object.prototype.hasOwnProperty,T=(0,D.A)(function(M,I,C){y.call(M,C)?M[C].push(I):(0,E.A)(M,C,[I])});n.d(x,["A",0,T])}}]);

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.