1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7a815429-08e8-4c7a-8e32-595e84e933f0",e._sentryDebugIdIdentifier="sentry-dbid-7a815429-08e8-4c7a-8e32-595e84e933f0")}()}catch(e){}!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];if(null!=t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:sentry-js-hh-filter-key":!0})}catch(e){}}(),function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"12fd6fed7c1986f676c8235e8bbe92d7eda1b57d"}}catch(e){}}(),(globalThis.__xhh_LOADABLE_LOADED_CHUNKS__=globalThis.__xhh_LOADABLE_LOADED_CHUNKS__||[]).push([["3127"],{918901:function(e,r,t){t.d(r,{$$:()=>g,l:()=>h,pg:()=>w});var a=t(787953),n=t(390506),i=t(261679),o=t(969067),c=t(49924),l=t(166122),s=t(529319),d=t(730311),u=t(627678),p=t(594948),y=t(389806),m=t(145342),f=t(642053),v=t(471365);const b=()=>{const e=(0,n.useDispatch)(),{addNotification:r}=(0,l.lm)(),t=(0,s.x)(),{isMobile:a}=(0,o.G)();return{dispatch:e,addNotification:r,abortAndGetUpdatedSignal:t,isMobile:a,employerId:(0,p.v)(({employerInfo:e})=>e.id)}},h=()=>{const e=(0,d.l)(),{dispatch:r,addNotification:t,abortAndGetUpdatedSignal:n,isMobile:o}=b(),c=(0,a.useCallback)(a=>{const c=i.j.stringify({...e,...a}),l=n();r((0,v.ZP)({query:c,abortSignal:l,isMobile:o,addNotification:t})).catch(console.error)},[n,t,r,o,e]);return{setVacanciesByPageNumber:(0,a.useCallback)(e=>{c({[f.Kz.Page]:e})},[c]),setVacanciesByCriteria:c}},g=()=>{const{dispatch:e,addNotification:r,abortAndGetUpdatedSignal:t,isMobile:n,employerId:o}=b();return{setEmployerVacancyFilter:(0,a.useCallback)((a={})=>{if(!o)return void c.default.log("out error",new Error("employerId is missing"));const l=i.j.stringify({...a,[f.Kz.CurrentEmployerId]:a[f.Kz.CurrentEmployerId]?a[f.Kz.CurrentEmployerId]:o,getVacancyCount:!0,[f.Ps.SourceLabel]:"employer_vacancy_search_list"}),s=t();e((0,v.ZP)({query:l,abortSignal:s,isMobile:n,addNotification:r})).catch(console.error)},[t,r,e,o,n])}},w=()=>{const e=(0,n.useDispatch)(),{setEmployerVacancyFilter:r}=g(),t=(0,u.C)(),i=(0,p.v)(e=>e.employerVacancyTemplateFilter),o=(0,p.v)(e=>e.locale.domainAreaId);return{setEmployerVacancyListDefault:(0,a.useCallback)((a=!0)=>{e((0,y.VS)("")),t(!1),r({...i,[f.Kz.HiddenFilters]:(0,m.p)(i),[f.Kz.Area]:a?[Number(o)]:void 0})},[e,o,r,i,t])}}},740413:function(e,r,t){t.d(r,{h:()=>d});var a=t(787953),n=t(49924),i=t(552089),o=t(887166),c=t(606179);const l={};[...document.querySelectorAll(".HH-ContainerForStarticMarkup")].forEach(e=>{e instanceof HTMLElement&&e.dataset.place&&(l[e.dataset.place]=e.innerHTML)});const s=({place:e,styleClass:r=""})=>{var t,s;const d=(0,a.useRef)(null),u=((0,a.useContext)(o.n5),`.HH-ContainerForStarticMarkup-Hidden-${e}`),p=`HH-ContainerForStarticMarkup-${e}`;return(0,a.useLayoutEffect)(()=>{var r,t;if(!d.current)return;const a=document.querySelector(u);null!=a&&a.classList.contains("g-invisible")&&(a.classList.remove("g-invisible"),d.current.appendChild(a)),(null===(r=d.current.firstElementChild)||void 0===r||null===(r=r.tagName)||void 0===r||null===(t=r.toLowerCase)||void 0===t?void 0:t.call(r))===o.TW&&l[e]&&(d.current.innerHTML=l[e],(0,i.default)()||n.default.log("error out",new Error(`ContainerForStaticMarkup hydration warning. Place ${e}`)))}),(0,c.jsx)("div",{ref:d,className:`${r} HH-ContainerForStarticMarkup ${p}`,"data-place":e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:null!==(t=null===(s=document.querySelector(`.${p}`))||void 0===s?void 0:s.innerHTML)&&void 0!==t?t:(0,o.pz)(e)}})};
1s.displayName="components/CodeInjector/ContainerForStaticMarkup/ContainerForStaticMarkup";const d=(0,a.memo)(s,()=>!0)},732797:function(e,r,t){t.d(r,{DL:()=>i,JU:()=>n,W2:()=>o,uB:()=>c});var a=t(787953);let n=function(e){return e.Description="DESCRIPTION",e.Vacancies="VACANCIES",e}({});const i=e=>Object.values(n).includes(e),o=(0,a.createContext)(null),c=()=>{const e=(0,a.useContext)(o);if(!e)throw new Error("PageTabs context requested outside of provider");return e}},673575:function(e,r,t){t.d(r,{m:()=>M});var a=t(787953),n=t(647059),i=t.n(n),o=t(732797),c=t(594948),l=t(154839),s=t(86391);var d=t(390506),u=t(419010),p=t(862043),y=t(365128),m=t(255717),f=t(471365);const v=(0,p.g)("professionalRoleTree"),b=(0,p.g)("industriesTree"),h=(0,p.g)("enableVacancySnippets"),g=(0,p.g)("searchSettings"),w=(0,p.g)("vacancySearchDictionaries"),E=(0,p.g)("currencies"),C=e=>{var r;return(null===(r=e.searchSettings)||void 0===r?void 0:r.actionPath)===f.MJ};var S=t(918901),k=t(166122);const _=(e,r)=>{const t=new URLSearchParams(r);t.set("tab",e),window.history.replaceState(window.history.state,"",`?${t.toString()}`)},T=()=>{var e,r;const t=(0,u.useLocation)(),n=(0,d.useDispatch)(),{addNotification:i}=(0,k.lm)(),l=(0,a.useRef)(null),s=(0,c.v)(e=>e.activeEmployerVacancyCount),p=(0,c.v)(C),{setEmployerVacancyListDefault:f}=(0,S.pg)(),T=(0,c.v)(({employerVacancySearch:e})=>e.isLoading),V=(0,c.v)(({employerVacancySearch:e})=>void 0===e.resultsFound),L=(null===(r=new URLSearchParams(null!==(e=null==t?void 0:t.search)&&void 0!==e?e:"").get("tab"))||void 0===r?void 0:r.toUpperCase())||"",M=(0,o.DL)(L)?L:o.JU.Description,[N,P]=(0,a.useState)(M);(0,a.useEffect)(()=>{var e,r;const a=null!==(e=null==t?void 0:t.search)&&void 0!==e?e:"";(null===(r=new URLSearchParams(a).get("tab"))||void 0===r?void 0:r.toUpperCase())!==M&&_(M,a)},[]),(0,a.useEffect)(()=>{if(N!==o.JU.Vacancies||!s||T||!V)return;(async()=>{p||(null===l.current&&(l.current=n((({addNotification:e})=>async r=>{try{const e=await m._i.get("/shards/employerview/get_employer_vacancy_search_dictionaries",{params:void 0,signal:void 0});r([v(e.professionalRoleTree),b(e.industriesTree),h(e.enableVacancySnippets),g(e.searchSettings),w(e.vacancySearchDictionaries),E(e.currencies)])}catch(r){(0,y.ZP)(r,e)}})({addNotification:i})).finally(()=>{l.current=null})),await l.current),f()})()},[i,N,s,n,T,V,p,f]);const D=(0,a.useCallback)(e=>{const r=e.toUpperCase();(0,o.DL)(r)&&r!==N&&(P(r),_(r,window.location.search))},[N]);return(0,a.useMemo)(()=>({currentTab:N,setCurrentTab:D}),[N,D])};var V=t(606179);const L=({children:e})=>((()=>{const e=(0,c.v)(e=>e.viewDuration),{currentTab:r}=(0,o.uB)();(0,a.useEffect)(()=>{if(e)return(0,s.MM)({eventType:l.C.EmployerPageViewDuration,params:{...e.params,currentTab:r}}),()=>{(0,s.Dk)(!0)}},[r,e])})(),(0,V.jsx)(V.Fragment,{children:e}));
1L.displayName="Employer/PageTabs/PageTabsProvider/PageTabsViewDurationTracking";const M=({children:e})=>{const{currentTab:r,setCurrentTab:t}=T(),[c,l]=(0,a.useState)(()=>new Set([o.JU.Description,r])),s=[n.Breakpoint.XS,n.Breakpoint.S].includes(i()());(0,a.useEffect)(()=>{l(e=>{if(e.has(r))return e;const t=new Set(e);return t.add(r),t})},[r]);const d=(0,a.useCallback)(e=>r===e,[r]),u=(0,a.useCallback)(e=>c.has(e),[c]),p=(0,a.useMemo)(()=>({currentTab:r,setCurrentTab:t,isMobileView:s,showContentForTab:d,isTabVisited:u}),[r,s,u,t,d]);return(0,V.jsx)(o.W2.Provider,{value:p,children:(0,V.jsx)(L,{children:e})})};M.displayName="Employer/PageTabs/PageTabsProvider/PageTabsProvider"},627678:function(e,r,t){t.d(r,{C:()=>o});var a=t(787953),n=t(390506);const i=(0,t(862043).g)("searchPreference"),o=()=>{const e=(0,n.useDispatch)();return(0,a.useCallback)(r=>{e(i({isShown:r}))},[e])}},968862:function(e,r,t){t.r(r),t.d(r,{default:()=>I});var a=t(787953),n=t(514378),i=t.n(n),o=t(678305),c=t(740413),l=t(673575),s=t(390506),d=t(395280),u=t.n(d),p=t(918901),y=t(365128),m=t(166122),f=t(594948),v=t(389806),b=t(599181),h=t(145342),g=t(642053),w=t(606179);const E=({children:e,isWebView:r})=>{const t=(0,a.useRef)(!1),n=(0,s.useDispatch)(),{setEmployerVacancyFilter:i}=(0,p.$$)(),o=(0,f.v)(({employerInfo:e})=>e.id),{addNotification:c}=(0,m.lm)(),l=(0,a.useCallback)(e=>{let t;if(e&&(t=(e=>Object.keys(e).reduce((r,t)=>b.n7.includes(t)?{...r,[t]:e[t]}:r,{}))(e),n((0,b.uG)(t))),r)return void n((0,v.YF)(!1));const{currentEmployerId:a}=null!=e?e:{};i(t?{...t,[g.Kz.CurrentEmployerId]:a,[g.Kz.HiddenFilters]:(0,h.p)(t)}:void 0)},[n,i,r]),d=(0,a.useCallback)(()=>{var e;const r=u().getItem("VacancyBlockFilter");let t;try{t=JSON.parse(r||"{}")}catch(e){(0,y.ZP)(e,c)}const a=null!==(e=t)&&void 0!==e&&e.detail&&Number(o)===Number(t.detail.currentEmployerId)?t.detail:void 0;l(a)},[c,o,l]),E=(0,a.useCallback)(()=>d(),[d]);return(0,a.useEffect)(()=>(window.addEventListener("VacancyBlockFilter",E),()=>{window.removeEventListener("VacancyBlockFilter",E)}),[E]),(0,a.useEffect)(()=>{t.current||(d(),t.current=!0)},[d]),(0,w.jsx)(w.Fragment,{children:e})};E.displayName="Employer/VacancySearch/TemplateFilterProvider/TemplateFilterProvider";var C=t(261679);const S=()=>{const e=(0,f.v)(({employerInfo:e})=>e.id),r=(0,f.v)(e=>e.employerVacancyTemplateFilter),t=(0,f.v)(e=>e.topLevelDomain),n=(0,a.useCallback)(()=>{const a=u().getItem("VacancyBlockFilter"),n=JSON.parse(a||'{ "detail": null }');if(null==n||!n.detail||Number(e)!==Number(n.detail.currentEmployerId))return;const i=(0,h.p)(r),o=(0,C.j)(`https://${t}/template_custom_filter_click`);o.params={...r,...n.detail,[g.Kz.CurrentEmployerId]:Number(e),[g.Kz.HiddenFilters]:i};const c=document.createElement("a");c.href=o.href,c.rel="noopener noreferrer",c.click()},[e,r,t]);return(0,a.useEffect)(()=>(window.addEventListener("VacancyBlockFilter",n),()=>{window.removeEventListener("VacancyBlockFilter",n)}),[n]),null};var k=t(892068),_=t.n(k),T=t(70013),V=t(977403),L=t(322815);const M="employer.view.chameleon.vacancies.filtered.link",N=({trls:e})=>{const r=(0,f.v)(({employerInfo:e})=>e.id),t=(0,f.v)(e=>e.employerVacancyTemplateFilter),a=(0,f.v)(e=>e.topLevelDomain),n=(0,h.p)(t),i=(0,f.v)(e=>e.employerVacancySearch.isLoading),o=`/employer/${String(r)}/vacancies/`,c=(0,C.j)(`https://${a}${o}`);return c.params={...t,[g.Kz.CurrentEmployerId]:Number(r),[g.Kz.HiddenFilters]:n},(0,w.jsx)(L.z,{Element:T.u,to:c.href,target:"_blank",size:"medium",style:"neutral",loading:i,mode:"secondary",additionalQueryParams:{hhtmFromLabel:"vacancies_in_selected_section_link"},stretched:!0,"data-qa":"employer-page-tabs-xs-go-filtered-vacancies",onClick:()=>{_().sendHHEventButtonClick("vacancies_in_current_department_button_click",{employerId:r,isWebview:!0})},children:e[M]})};N.displayName="Employer/VacancySearch/VacanciesLinkWebView/VacanciesLinkWebViewComponent";const P=(0,V.x)(N),D="makeup-webview--KhgnWJxrzQ1P4Pd2",F=()=>{const e=(0,f.v)(e=>e.isVacanciesLinkAllowedOnWebView),r=(0,f.v)(e=>e.chameleomEmployerEnableFilterLinks);return(0,w.jsx)(a.StrictMode,{children:(0,w.jsx)(l.m,{children:(0,w.jsxs)("div",{className:i()(D,"branded-employer-page-rendered"),children:[(0,w.jsx)(c.h,{place:"chameleon-employer"}),e?(0,w.jsxs)(E,{isWebView:!0,children:[(0,w.jsx)(o.X,{default:16}),(0,w.jsx)(P,{}),(0,w.jsx)(o.X,{default:16})]}):null,r&&(0,w.jsx)(S,{})]})})})};F.displayName="pages/EmployerMakeupWebView/EmployerMakeupWebView.route/EmployerMakeupWebViewRoute";const I=F}}]); 2//# sourceMappingURL=EmployerMakeupWebView-route.cb207f299c76f461.js.map 3//# debugId=7a815429-08e8-4c7a-8e32-595e84e933f0
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.