1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9705],{4132:(e,t,o)=>{"use strict";o.d(t,{x:()=>E});var r=o(29266),l=o(99578),i=o(5699),n=o(26075),d=o(58453),a=o(931);let s=d.Ay.div.withConfig({componentId:"sc-5e93bf41-0"})(["height:100%;display:flex;flex-direction:column;align-items:center;max-height:inherit;& > div{gap:16px;}"]),c=(0,d.Ay)(n.pA).withConfig({componentId:"sc-5e93bf41-1"})(["width:100%;margin-bottom:16px;"]),u=(0,d.AH)(["position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto;overflow-x:hidden;@media (min-width:769px){&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-track{background:",";border-radius:4px;}&::-webkit-scrollbar-thumb{background:",";border-radius:4px;&:hover{background:",";}}}scrollbar-width:thin;scrollbar-color:"," ",";& > *{flex:0 0 auto;}"],a.A.light.color.gray[50],a.A.light.color.gray[300],a.A.light.color.gray[400],a.A.light.color.gray[300],a.A.light.color.gray[50]),_=d.Ay.div.withConfig({componentId:"sc-5e93bf41-2"})(["width:100%;display:flex;flex-direction:column;align-items:stretch;gap:16px;@media (min-width:1025px){","}"],u),h=d.Ay.div.withConfig({componentId:"sc-5e93bf41-3"})(["cursor:pointer;@media (min-width:1025px){border:",";border-radius:",";}"],e=>e.$isStyled?"1px solid ".concat(a.A.light.color.purple[500]):"1px solid transparent",e=>e.$isStyled&&"4px"),p=d.Ay.div.withConfig({componentId:"sc-5e93bf41-4"})(["display:flex;justify-content:center;margin-top:16px;flex-shrink:0;& > button{min-width:160px;height:48px;padding:8px 24px;white-space:nowrap;}@media (max-width:481px){width:100%;& > button{width:100%;}}"]);var g=o(81367),b=o(33966),v=o(96943),x=o(33554),m=o(99092),f=o(55682),y=o(16760),j=o(449),w=o(2557),C=o(67783),k=o(7069),A=o(13503),L=o.n(A);let S=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:L().gridContentWrapper,children:t})},M=e=>{let{children:t}=e;return(0,r.jsx)(n.pA,{className:L().gridTitle,children:t})},N=e=>{let{$stacked:t,children:o,...l}=e;return(0,r.jsx)("div",{className:L().gridListRelatedJobs,"data-stacked":t?"true":void 0,...l,children:o})},I=e=>{let{$isStyled:t,children:o,...l}=e;return(0,r.jsx)("div",{className:L().gridStyledLink,"data-selected":t?"true":void 0,...l,children:o})},R=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:L().gridStyledButtonWrapper,children:t})},E=e=>{let{jobs:t,showSnippet:o=!1,isStyled:n=!1,numOfVisibleJobs:d,customCardTitle:a,tShowLess:u,tShowMore:A,onCardClick:E,handleJobCardClick:T,getShowMoreHref:W,useJDLayout:B=!1,searchRequestId:D,stacked:H,triggerFrom:J="related_jobs",eventContext:z="related_jobs_click"}=e,O=B?h:I,[P,U]=(0,l.useState)(!1),$=P?t:t.slice(0,d),[F,Y]=(0,l.useState)(0),Q=(0,i.c)("job_description"),Z=(0,i.c)("serp_jobs"),q=Q("internal_linking.similar_jobs"),G=q.charAt(0).toUpperCase()+q.slice(1),K=(0,v.useSearchParams)(),{sendEvents:V}=(0,g.Y4)(),X=(0,g.Il)(),{prefix:ee}=(0,m.E)(),et=B?t:function(e){let t=null==e?void 0:e.length;return 10===t||t%2==0||null==e||e.pop(),e}(t),eo={lessThanOneHour:"last_updated.last_updated_less",oneHourAgo:"last_updated.last_updated_1_hour",hours:"last_updated.last_updated_variable_hours",oneDayAgo:"last_updated.last_updated_1_day",daysAgo:"last_updated.last_updated_variable_days",moreDaysAgo:"last_updated.last_updated_30"},er=Z("internal_linking.show_more"),el=Z("job_card.promoted"),ei=Z("job_card.new"),en=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(en.current)return;en.current=!0;let e=performance.now();V({event_type:"related_jobs_displayed",pageloadtime_millisec:Math.round(performance.now()-e),...D&&{search_id:D},...K.get("trigger_from")&&{trigger_from:K.get("trigger_from")}},{},X)},[]);let ed=async(e,t)=>{T||await V(((e,t)=>{var o;return{event_type:"job_card_clicked",job_id:null!=(o=e.id)?o:"not_set",job_title:null==e?void 0:e.source_title,job_location:null==e?void 0:e.source_location,job_country:null==e?void 0:e.enrich_geo_country,job_latitude:null==e?void 0:e.enrich_geo_lat,job_longitude:null==e?void 0:e.enrich_geo_lon,job_card_rank:t,page:1,context:z,enrich_soc_onetsoc_code:null==e?void 0:e.enrich_soc_onetsoc_code,trigger_from:J,ui_component:"job_card"}})(e,t),{},X),null==E||E(e)};return(0,r.jsxs)(B?s:S,{children:[(0,r.jsx)(B?c:M,{children:null!=a?a:G}),(0,r.jsx)(B?_:N,{$stacked:H,"data-testid":"ListRelatedJobs",children:null==$?void 0:$.map((e,t)=>{var i,d;let a,s=(0,k.bR)({cb:(e,t)=>
1Z("".concat(e),{variable:null!=t?t:0}),dateFound:null==e?void 0:e.system_date_found,translationDate:eo}),c=W?W(e):void 0,u={event_type:"job_card_clicked",job_id:null!=(i=e.id)?i:"not_set",job_title:null==e?void 0:e.source_title,job_location:null==e?void 0:e.source_location,job_country:null==e?void 0:e.enrich_geo_country,job_latitude:null==e?void 0:e.enrich_geo_lat,job_longitude:null==e?void 0:e.enrich_geo_lon,job_card_rank:t,page:1,context:z,trigger_from:J,ui_component:"view_more",enrich_soc_onetsoc_code:null==e?void 0:e.enrich_soc_onetsoc_code},{handleClick:_,handleContextMenu:h}=(0,C.c)({sendEvents:V,payload:u,searchData:X}),p=e=>{_(e),e.stopPropagation()};if(c){let t=c.startsWith("/redirect"),o=[];((null==e?void 0:e.seo_indexable)===!1||t)&&o.push("nofollow"),t&&o.push("noopener");let l=o.length?o.join(" "):void 0;a=(0,r.jsx)(j.Link,{href:c,prefetch:!1,rel:l,target:t?"_blank":void 0,onClick:p,onContextMenu:h,className:L().readMoreLink,children:er})}else if(!W){let t=(0,w.U)({job:e,prefix:ee});a=(0,r.jsx)(j.Link,{href:t,prefetch:!1,rel:(null==e?void 0:e.seo_indexable)===!1?"nofollow":void 0,onClick:p,onContextMenu:h,className:L().readMoreLink,children:er})}return(0,r.jsx)(l.Fragment,{children:(0,r.jsx)(O,{onClick:()=>{ed(e,t),n&&Y(t)},$isStyled:n&&t===F,children:(0,r.jsx)(x.o,{jobData:e,timeText:s,flagLabels:{promoted:el,new:ei},showSnippet:o,logoLoading:"lazy",favoriteButtonSlot:(0,r.jsx)(f.A,{shouldStopClickEventBubbling:!0,jobId:null!=(d=null==e?void 0:e.id)?d:""}),tagsSlot:(0,r.jsx)(y.r,{jobData:e,version:"short"}),readMoreSlot:a,dataTestId:"JobCard"})})},e.id)})}),d&&(null==et?void 0:et.length)>d&&(0,r.jsx)(B?p:R,{children:(0,r.jsx)(b.H,{label:P?u||"Show less":A||"Show more",onClick:()=>U(!P)})})]})}},13503:e=>{e.exports={gridContentWrapper:"styles_gridContentWrapper__5xRCE",gridTitle:"styles_gridTitle__yu_QY",gridListRelatedJobs:"styles_gridListRelatedJobs__cirzz",gridStyledLink:"styles_gridStyledLink__eTbiP",gridStyledButtonWrapper:"styles_gridStyledButtonWrapper__HtA6w",readMoreLink:"styles_readMoreLink__7U59v"}},33966:(e,t,o)=>{"use strict";o.d(t,{H:()=>s});var r=o(29266),l=o(26075),i=o(58453),n=o(931),d=o(61632);let a=(0,i.Ay)(d.S).withConfig({componentId:"sc-338654de-0"})(["background-color:",";border-color:",";color:",";&:hover{border-color:",";}&:disabled{background-color:",";border-color:",";color:",";}"],n.A.light.color.white,n.A.light.color.gray[400],n.A.light.color.gray[400],n.A.light.color.purple[100],n.A.light.color.gray[250],n.A.light.color.gray[250],n.A.light.color.white),s=e=>{let{size:t="middle",...o}=e;return(0,r.jsx)(a,{...o,size:t,children:(0,r.jsx)(l.Nx,{children:o.label})})}},78968:(e,t,o)=>{"use strict";o.d(t,{D:()=>l});var r=o(90669);let l=(0,r.createServerReference)("7f652df25dbb031708d3236805e21188f25a6e206f",r.callServer,void 0,r.findSourceMapURL,"fetchJobMetaAction")},81515:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var r,l=o(99578);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(null,arguments)}let n=function(e){return l.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=l.createElement("path",{d:"M6.23273 4.90234L8.76492 2.37015C8.91544 2.21963 9 2.01548 9 1.80262C9 1.58975 8.91544 1.3856 8.76492 1.23508C8.6144 1.08456 8.41025 1 8.19738 1C7.98452 1 7.78037 1.08456 7.62985 1.23508L5 3.87292L2.37015 1.23508C2.29562 1.16055 2.20714 1.10143 2.10977 1.0611C2.01239 1.02076 1.90802 1 1.80262 1C1.69722 1 1.59285 1.02076 1.49547 1.0611C1.39809 1.10143 1.30961 1.16055 1.23508 1.23508C1.16055 1.30961 1.10143 1.39809 1.0611 1.49547C1.02076 1.59285 1 1.69722 1 1.80262C1 1.90802 1.02076 2.01239 1.0611 2.10976C1.10143 2.20714 1.16055 2.29562 1.23508 2.37015L3.76727 4.90234L1.23508 7.43454C1.08456 7.58505 1 7.7892 1 8.00207C1 8.21494 1.08456 8.41909 1.23508 8.56961C1.3856 8.72013 1.58975 8.80469 1.80262 8.80469C2.01548 8.80469 2.21963 8.72013 2.37015 8.56961L5 5.93177L7.62985 8.56961C7.70438 8.64414 7.79286 8.70326 7.89023 8.74359C7.98761 8.78393 8.09198 8.80469 8.19738 8.80469C8.30278 8.80469 8.40715 8.78393 8.50453 8.74359C8.60191 8.70326 8.69039 8.64414 8.76492 8.56961C8.83945 8.49508 8.89857 8.4066 8.9389 8.30922C8.97924 8.21184 9 8.10747 9 8.00207C9 7.89667 8.97924 7.7923 8.9389 7.69492C8.89857 7.59754 8.83945 7.50907 8.76492 7.43454L6.23273 4.90234Z",fill:"currentColor"})))}}}]);
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.