https://www.turijobs.com/_next/static/chunks/pages/offer/[region]/[title]/[slug]-c4184d71f09c8f5a.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[823],{85572:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/offer/[region]/[title]/[slug]",function(){return l(9909)}])},1860:function(e,t,l){"use strict";l.d(t,{r:function(){return n}});var a=l(4102),o=l(2784),r=l(94449),i=l(34613);let n=()=>{let e=(0,r.v9)(a.PRA),{data:t,refetch:l}=(0,a.VPs)(void 0,{skip:!(null==e?void 0:e.userId)}),[n]=(0,a.Bch)(),[s]=(0,a.JD1)(),[c,d]=(0,o.useState)({}),u=(0,o.useCallback)(async a=>{if((null==e?void 0:e.userId)&&(null==a?void 0:a.id))try{let o=null==t?void 0:t.some(e=>e.offerId===a.id),r=c[a.id],u=void 0!==r?r:o;d(e=>({...e,[a.id]:!u})),u?await s({offerId:a.id}):await n({userId:e.userId,offerId:a.id}),(0,i.QK)("job_offer_favorited",{job_offer_id:String(a.id),action:u?"remove":"add"}),await l(),d(e=>{let t={...e};return delete t[a.id],t})}catch(e){console.error("Error managing favorite:",e),d(e=>{let t={...e};return delete t[a.id],t})}},[e,t,c,n,s,l]),f=(0,o.useCallback)(e=>void 0!==c[e]?c[e]:null==t?void 0:t.some(t=>t.offerId===e),[t,c]);return{favorites:t,handleFavorite:u,isFavorite:f,isLoggedIn:!!(null==e?void 0:e.userId)}}},86668:function(e,t,l){"use strict";l.d(t,{w:function(){return u}});var a=l(2784),o=l(5632),r=l(4102),i=l(68201),n=l(11122),s=l(76413),c=l(94449),d=l(56133);function u(){let{redirectToLoginOnFail:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.useRouter)(),l=(0,r.TL5)(),[u]=(0,r.C9n)(),{i18n:{language:f}}=(0,n.$G)(),m=(0,c.v9)(r.etS),v=(0,c.v9)(r.H2M);(0,a.useEffect)(()=>{if(!t.isReady)return;let a=(0,i.Mi)(t.query);if(!a||(null==m?void 0:m.userId))return;let o=d.EN.getItem("jwt");if(o&&!v)return;d.EN.removeItem("jwt"),l((0,r.VEE)());let n=async()=>{let l=!1;try{let e=await u({jaToken:a}).unwrap();l=!!(null==e?void 0:e.isLoginOk)}catch(e){l=!1}if(!l&&e){let[e=""]=t.asPath.split("#"),[l,a]=e.split("?"),o=new URLSearchParams(a||"");o.delete("jaToken"),o.delete("jatoken");let r=o.toString(),i=r?"".concat(l,"?").concat(r):l,n=t.asPath.includes("#")?t.asPath.slice(t.asPath.indexOf("#")):"",c=encodeURIComponent("".concat(i).concat(n)),d=s.LR.path[f]||s.LR.path.es;t.replace("".concat(d,"?returnUrl=").concat(c))}};n()},[t.isReady,t.query,u,l,e,f,null==m?void 0:m.userId,v])}},30338:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});var a=l(2784),o=l(4102),r=l(76413);let i=()=>{let{data:e}=(0,o.bLT)(),t=(0,a.useMemo)(()=>{if(!e)return null;let t=new Map;e.jobs.forEach(e=>{t.set(e.id,e)});let l=new Map;return e.locations.forEach(e=>{l.set(e.id,e)}),{jobsIndex:t,locationsIndex:l}},[e]),l=(l,a)=>{var o,i;let n=r.mt.path[a].replace(":slug*","");if(!(null==l?void 0:l.offerDetail)||!e||!t)return n;let s=l.offerDetail.titleId,c=null===(o=l.offerDetail.location)||void 0===o?void 0:o.cityId,d=l.offerDetail.title,u=null===(i=l.offerDetail.location)||void 0===i?void 0:i.cityName,f=s&&t.jobsIndex.get(s)||null,m=c&&t.locationsIndex.get(c)||null,v=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.map(e=>e.replace(/^\/+|\/+$/g,"")).filter(Boolean).join("/")},p=n;if(f&&m)p="/".concat(v(n,f.searchUrl,m.searchUrl));else if(f)p="/".concat(v(n,f.searchUrl));else if(m)p="/".concat(v(n,m.searchUrl));else{let e=e=>e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").trim(),t="";d&&(t=e(d)),u&&(t+=t?"/".concat(e(u)):e(u)),t&&(p="/".concat(v(n,t)))}return p};return{buildSearchUrlWithContext:l,isReady:!!t}}},9909:function(e,t,l){"use strict";l.r(t),l.d(t,{Index:function(){return W},__N_SSP:function(){return B},default:function(){return $}});var a=l(52322),o=l(4102),r=l(10055),i=l(5153),n=l(15613),s=l(38648),c=l(45484),d=l(93808),u=l(86668),f=l(55544),m=l(2784),v=l(94449),p=l(5632),h=l(60359),g=l(35747),y=l(11122),b=l(1860),I=l(65992),x=l(25237),w=l.n(x),P=l(95617),j=l(9559);let D=w()(()=>Promise.resolve().then(l.bind(l,9559)).then(e=>e.OfferCard),{loadableGenerated:{webpack:()=>[9559]},loading:()=>(0,a.jsx)(h.s,{}),ssr:!1}),N=e=>{var t;let{title:l,companyId:r,companyOffers:i,hasRelatedOffers:n=!1}=e,{t:s}=(0,y.$G)(),{handleViewOffer:c,handleViewCompany:d}=(0,g.L)(),u=(0,v.v9)(o.PRA),{data:f}=(0,o.w8m)({userId:null==u?void 0:u.userId},{skip:!(null==u?void 0:u.userId)}),[p,{data:x,isLoading:w}]=(0,o.Uwf)(),{isLoggedIn:N,isFavorite:k,handleFavorite:O}=(0,b.r)();return((0,m.useEffect)(()=>
1{if(r){let e={userId:null,page:{index:1},filter:{idValues:{[o.QaA.COMPANY.toString()]:[r]}}};p(e)}},[r,p]),(0,m.useEffect)(()=>{},[null==x?void 0:x.offers]),i||!w&&x)?(null===(t=(i||x).offers)||void 0===t?void 0:t.length)&&1!==i.offers.length?(0,a.jsx)(P.Z,{className:"".concat(n?"":"pt-10 md:pt-20"," pb-10 md:pb-20"),title:l,titleAlign:"left",items:(i||x).offers,viewAll:!0,viewAllLabel:s("viewAll"),onViewAllClick:()=>d(x.offers[0]),ariaLeftLabel:"Scroll left",ariaRightLabel:"Scroll right",showIndicatorsOnMobile:!0,renderItem:e=>i?(0,a.jsx)(j.OfferCard,{offer:e,isApplied:null==f?void 0:f.some(t=>t.offerId===e.id),onView:c,bookmark:N,bookmarkActive:k(e.id),onBookmarkClick:()=>O(e),showButtons:!0,originFlow:I.Qo.OfferPageCompany,hideRecommendedInDesktop:!0,hideRecommendedInMobile:!0}):(0,a.jsx)(D,{offer:e,isApplied:null==f?void 0:f.some(t=>t.offerId===e.id),onView:c,bookmark:N,bookmarkActive:k(e.id),onBookmarkClick:()=>O(e),showButtons:!0,originFlow:I.Qo.OfferPageCompany,hideRecommendedInDesktop:!0,hideRecommendedInMobile:!0})}):null:(0,a.jsx)(h.s,{})};var k=l(56606),O=l(39097),R=l.n(O);let S=e=>{let{items:t}=e;return(0,a.jsx)("nav",{className:"w-full",children:(0,a.jsx)("ol",{className:"flex flex-wrap items-center text-sm text-gray-500",children:t.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-center hover:text-gray-900",children:[t>0&&(0,a.jsx)("span",{className:"mx-1 sm:mx-2 shrink-0",children:">"}),(0,a.jsx)(R(),{href:e.url,className:"break-words",children:(0,a.jsx)("span",{className:"inline-block",children:e.text})})]},t))})})};var L=l(76413),_=l(97729),T=l.n(_),K=l(30338),C=l(23950),E=l(56133);let U=e=>{let{offerData:t,language:l,buildSearchUrlWithContext:a}=e,o=(0,p.useRouter)(),r=["en","en-es","en-mx","en-pt","es","es-es","es-mx","pt-pt"],i=e=>{let t=e.split("/").filter(Boolean);return t.length>0&&r.includes(t[0])?"/"+t.slice(1).join("/"):e},n=e=>{let t=Object.values(L.Dm.path).map(e=>e.split("/:")[0]);return t.some(t=>{let l=t.replace(/\/$/,""),a=e.replace(/\/$/,"");return a.startsWith(l+"/")})},s=e=>{let t=Object.values(L.mt.path).map(e=>e.replace("/:slug*","").replace(":slug*",""));return t.some(t=>{let l=t.replace(/\/$/,""),a=e.replace(/\/$/,"");return a===l||a.startsWith(l+"/")})},c=e=>{let a=L.mt.path[l].replace(":slug*",""),o=(0,C.Tr)(l,a),r=new URL(o,window.location.origin);return e&&e.forEach((e,t)=>{"selectedOfferId"!==t&&r.searchParams.set(t,e)}),r.searchParams.set("selectedOfferId",t.offerDetail.id.toString()),"".concat(r.pathname).concat(r.search)},d=e=>{null==e||e.preventDefault();let r="true"===E.KK.getItem("fromSearchPanel"),d=E.KK.getItem("searchPanelPage"),u=E.KK.getItem("searchPanelOfferId"),f=E.KK.getItem("searchPanelUrl"),m=E.KK.getItem("searchPanelScrollPosition");if(r&&d&&u&&f)try{let e=new URL(f,window.location.origin);e.searchParams.set("page",d),e.searchParams.set("selectedOfferId",u);let t="".concat(e.pathname).concat(e.search).concat(e.hash);if(E.KK.removeItem("fromSearchPanel"),E.KK.removeItem("searchPanelPage"),E.KK.removeItem("searchPanelOfferId"),E.KK.removeItem("searchPanelScrollPosition"),E.KK.removeItem("searchPanelUrl"),m){let e=parseInt(m,10);isNaN(e)||E.KK.setItem("restoreScrollPosition",e.toString())}o.push(t);return}catch(e){console.error("Error building return URL:",e),E.KK.removeItem("fromSearchPanel"),E.KK.removeItem("searchPanelPage"),E.KK.removeItem("searchPanelOfferId"),E.KK.removeItem("searchPanelScrollPosition"),E.KK.removeItem("searchPanelUrl"),o.push(f);return}if(r&&m&&f){E.KK.removeItem("fromSearchPanel"),E.KK.removeItem("searchPanelScrollPosition"),E.KK.removeItem("searchPanelUrl");try{let e=new URL(f,window.location.origin),t=e.pathname,a=i(t),r=n(a),d=s(a);if(r||d){let t=c(e.searchParams),l=parseInt(m,10);isNaN(l)||E.KK.setItem("restoreScrollPosition",l.toString()),o.push(t);return}{let t=(0,C.Tr)(l,a),r="".concat(t).concat(e.search).concat(e.hash),i=parseInt(m,10);isNaN(i)||E.KK.setItem("restoreScrollPosition",i.toString()),o.push(r);return}}catch(i){let e=a(t,l),r=(0,C.Tr)(l,e);o.push(r);return}}if(window.history.length>1){o.back();return}let v=document.referrer,p=window.location.origin,h=v&&v.startsWith(p);if(h)try{let e=new URL(v),a=e.pathname,r=i(a),d=n(r),u=s(r);if(d||u){let t=c(e.searchParams);o.push(t)}else{let a=(0,C.Tr)(l,r),i=new URL(a,window.location.origin);i.searchParams.set("selectedOfferId",t.offerDetail.id.toString()),e.searchParams.forEac
1h((e,t)=>{"selectedOfferId"!==t&&i.searchParams.set(t,e)});let n="".concat(i.pathname).concat(i.search).concat(e.hash);o.push(n)}}catch(i){let e=a(t,l),r=(0,C.Tr)(l,e);o.push(r)}else{let e=a(t,l),r=(0,C.Tr)(l,e);o.push(r)}};return{handleGoBack:d}};var A=l(49654),M=l(34613);let V={Area:"0",Degree:"1",Experience:"2",Contract:"3",Workday:"4",JobCategory:"5",Language:"6",Date:"7",City:"8",Region:"9",Country:"10",Outstanding:"11",BrandId:"13",TitleId:"14",JobSector:"15",JobBrand:"16",OfferId:"17",SalaryType:"18"};var J=l(19338),B=!0;function W(e){var t,l,c,h,g,b,x,w,P,j,D,O;let{offerData:R,relatedOffers:_,companyOffers:E}=e,{t:B,i18n:{language:W}}=(0,y.$G)(),{t:$}=(0,y.$G)("offerDescription"),{t:F}=(0,y.$G)("buttons"),z=(0,o.TL5)(),q=(0,p.useRouter)(),Q=R.offerDetail.id,G=L.mt.path[W].replace(":slug*",""),Z=(0,v.v9)(o.PRA),H=(0,v.v9)(o.Ng8),X=(0,v.v9)(o.etS),{utm_source:Y,utm_medium:ee,utm_campaign:et}=(0,d.f)(),el=(0,f.C)(),[ea]=(0,o.iOC)(),[eo]=(0,o.z9E)(),er=(0,m.useRef)(null),ei=(0,m.useRef)(null),en=!!(null==Z?void 0:Z.userId),es=q.query.token,ec=H===J.FW.b2c;(0,m.useEffect)(()=>{0===R.offerDetail.id&&q.push(G)},[R.offerDetail.id,q,G]),(0,m.useEffect)(()=>{!en&&es&&eo({token:es}).unwrap().then(e=>{"b2b"===e.userType&&z((0,o.TYv)())}).catch(e=>{console.error("Token login failed on client:",e)})},[es,en,eo,z]);let{data:ed}=(0,o.w8m)({userId:null==Z?void 0:Z.userId},{skip:!(null==Z?void 0:Z.userId)}),eu=null==ed?void 0:ed.some(e=>{var t;return e.offerId===(null==R?void 0:null===(t=R.offerDetail)||void 0===t?void 0:t.id)}),{buildSearchUrlWithContext:ef}=(0,K.Z)(),{handleGoBack:em}=U({offerData:R,language:W,buildSearchUrlWithContext:ef}),[ev]=(0,o.CFl)();(0,u.w)();let ep=(0,m.useMemo)(()=>o.zI_.find(e=>e.locale===W),[W]),eh=(0,m.useMemo)(()=>{var e,t;let l=null==R?void 0:null===(e=R.offerDetail)||void 0===e?void 0:null===(t=e.location)||void 0===t?void 0:t.countryId;return l!=o.odl.SPAIN.id&&l!=o.odl.PORTUGAL.id&&l!=o.odl.MEXICO.id&&(l=o.odl.SPAIN.id),l},[null==R?void 0:null===(t=R.offerDetail)||void 0===t?void 0:null===(l=t.location)||void 0===l?void 0:l.countryId]),eg=(0,m.useMemo)(()=>!!ep&&ep.isMainSite&&ep.country==eh,[ep,eh]);(0,m.useEffect)(()=>{var e,t,l,a,r,i,n,s,c,d,u,f,m;(null==R?void 0:R.offerDetail)&&ec&&(null===(e=ei.current)||void 0===e?void 0:e.idjobVacancy)!==R.offerDetail.id&&(z((0,o.oAS)(R.offerDetail)),ei.current={idjobVacancy:R.offerDetail.id},(0,M.L9)(I.tV.B2CViewItemDetail,{flow:I.hm.B2CJobApplication,step:I.Md.Visit,origin:I.Qo.OfferPage,origin_source:Y,origin_medium:ee,origin_campaign:et,id_candidate:null!==(m=null==X?void 0:X.candidateId)&&void 0!==m?m:0,id_job_vacancy:null==R?void 0:R.offerDetail.id,applied_job_vacancy:null!=eu&&eu,_dl_source:"undefined"!=typeof sessionStorage&&"true"===sessionStorage.getItem("fromSearchPanel")?"search":"direct_link",_dl_is_blind:(null==R?void 0:null===(t=R.offerDetail)||void 0===t?void 0:null===(l=t.company)||void 0===l?void 0:l.companyId)===0,items:[{item_id:null==R?void 0:R.offerDetail.id,item_name:null==R?void 0:R.offerDetail.title,item_brand:(null==R?void 0:null===(a=R.offerDetail)||void 0===a?void 0:null===(r=a.company)||void 0===r?void 0:r.brandName)||(null==R?void 0:null===(i=R.offerDetail)||void 0===i?void 0:null===(n=i.company)||void 0===n?void 0:n.enterpriseName),...((null==R?void 0:null===(s=R.offerDetail)||void 0===s?void 0:s.cardTags)||[]).reduce((e,t,l)=>(e["item_category".concat(0===l?"":l+1)]=t,e),{}),item_city:null==R?void 0:null===(c=R.offerDetail)||void 0===c?void 0:null===(d=c.location)||void 0===d?void 0:d.cityName,location_id:"".concat(null===(u=null==R?void 0:R.offerDetail.location)||void 0===u?void 0:u.countryName,"-").concat(null===(f=null==R?void 0:R.offerDetail.location)||void 0===f?void 0:f.regionName),price:0,quantity:1}]}))},[null==R?void 0:R.offerDetail,z,Y,ee,et,null==X?void 0:X.candidateId,ec]),(0,m.useEffect)(()=>{if((null==R?void 0:R.offerDetail)&&ec){var e;let t=Date.now();er.current&&er.current.idjobVacancy===R.offerDetail.id&&t-er.current.timestamp<500||(er.current={idjobVacancy:R.offerDetail.id,timestamp:t},ea({idjobVacancy:R.offerDetail.id,idcandidate:null!==(e=null==X?void 0:X.candidateId)&&void 0!==e?e:0,logged:!!Z,clickDate:new Date().toISOString(),utm_Source:Y,utm_Medium:ee,utm_Campaign:et,device:el?I.AS.Desktop:I.AS.Mobile}))}},[null==R?void 0:R.offerDetail,el,Y,ee,et,ec,null==X?void 0:X.candidateId,Z,ea]),(0,m.useEffect)(()=>
1{if(!ec||!(null==Z?void 0:Z.email))return;let e={page:1,email:Z.email};ev(e)},[ec,null==Z?void 0:Z.email,ev]);let ey=[{url:(0,C.Tr)(W,G),text:L.mt.label[W]},...(null===(c=null==R?void 0:R.offerDetail.breadcrumbs)||void 0===c?void 0:c.map(e=>({url:(0,C.Tr)(W,"".concat(G).concat(e.key)),text:e.value})))||[]],eb=()=>{let e=[],t=R.offerDetail.features[V.Contract],l=R.offerDetail.features[V.Workday];if(null==l?void 0:l.id)switch(l.id){case 3:e.push("FULL_TIME");break;case 4:e.push("PART_TIME")}if(null==t?void 0:t.id)switch(t.id){case 1:e.push("INTERN");break;case 2:e.push("TEMPORARY");break;case 5:e.push("CONTRACTOR");break;case 9:e.push("VOLUNTEER")}return e},eI=e=>e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim(),ex=!!(null==_?void 0:null===(h=_.offers)||void 0===h?void 0:h.length),ew=!!(null==R?void 0:null===(g=R.offerDetail)||void 0===g?void 0:null===(b=g.company)||void 0===b?void 0:b.companyUrl)&&(null!==(O=null==E?void 0:null===(x=E.offers)||void 0===x?void 0:x.length)&&void 0!==O?O:0)>1,eP=(()=>{var e,t,l,a,r,i;let n=R.offerDetail,s=eb();if(!n.location)return console.warn("JobPosting schema: Missing required jobLocation"),null;let c=(0,A.Cm)(n.company,!!n.isBlind,$("company.confidentialName"));if(!c)return console.warn("JobPosting schema: Missing required company name"),null;if(!(null===(e=n.dates)||void 0===e?void 0:e.publicationDate)||!(null===(t=n.dates)||void 0===t?void 0:t.finishDate))return console.warn("JobPosting schema: Missing required dates"),null;let d=e=>{if(!e||""===e.trim())return!1;let t=new Date(e);return!isNaN(t.getTime())};if(!d(n.dates.publicationDate)||!d(n.dates.finishDate))return console.warn("JobPosting schema: Invalid date format"),null;let u="";if(null===(l=n.company)||void 0===l?void 0:l.companyUrl)try{(u=(0,C.Tr)(W,n.company.companyUrl)).startsWith("http://")||u.startsWith("https://")?new URL(u):u.startsWith("/")||(u="")}catch(e){u=""}let f=n.location,m=s.filter(e=>"OTHER"!==e),v={"@context":"https://schema.org/","@type":"JobPosting",title:eI(n.title||""),description:eI(n.description||""),identifier:{"@type":"PropertyValue",name:c,value:(null===(a=n.id)||void 0===a?void 0:a.toString())||""},datePosted:n.dates.publicationDate,validThrough:n.dates.finishDate,hiringOrganization:{"@type":"Organization",name:c,sameAs:u},jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:f.cityName||"",addressRegion:f.regionName||"",postalCode:f.zipCode||"",addressCountry:f.countryISO||""}}};if(m.length>0&&(v.employmentType=m),(null===(r=n.company)||void 0===r?void 0:r.logoUrl)&&""!==n.company.logoUrl.trim())try{let e=n.company.logoUrl.trim().replace(/ /g,"-");if(e.startsWith("http://")||e.startsWith("https://")){let t=e;try{new URL(e)}catch(a){let l=e.match(/^(https?:\/\/[^/]+)(\/.*)$/);if(l){let[,e,a]=l,o=a.split("/").map(e=>e?encodeURIComponent(e):"").join("/");t="".concat(e).concat(o),new URL(t)}else throw Error("Invalid URL format")}v.hiringOrganization.logo=t}else console.warn("JobPosting schema: Logo URL must be absolute")}catch(e){console.warn("JobPosting schema: Invalid logo URL")}return f.address&&(0,o.J6E)(f.address)&&(v.jobLocation.address.streetAddress=f.address),(null===(i=n.salary)||void 0===i?void 0:i.salaryMin)&&n.salary.salaryMin>0&&(v.baseSalary={"@type":"MonetaryAmount",currency:(()=>{var e,t;let l=null===(e=n.location)||void 0===e?void 0:null===(t=e.countryISO)||void 0===t?void 0:t.toUpperCase();return"MX"===l?"MXN":"EUR"})(),value:{"@type":"QuantitativeValue",minValue:n.salary.salaryMin,maxValue:n.salary.salaryMax||n.salary.salaryMin,unitText:n.salary.salaryType||"MONTH"}}),v})(),ej={"@context":"https://schema.org/","@type":"BreadcrumbList",itemListElement:ey.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.text,item:e.url}))},eD=e=>JSON.stringify(e).replace(/</g,"\\u003c"),eN=eg&&eP?eD(eP):null,ek=eD(ej);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(T(),{children:[eN&&(0,a.jsx)("script",{id:"google-job-posting",type:"application/ld+json",dangerouslySetInnerHTML:{__html:eN}}),(0,a.jsx)("script",{id:"google-breadcrumbs",type:"application/ld+json",dangerouslySetInnerHTML:{__html:ek}})]}),(0,a.jsx)("div",{className:"flex flex-row gap-10",children:(0,a.jsxs)("section",{className:"w-full",children:[(0,a.jsxs)("div",{className:"flex flex-col md:px-4 gap-6 md:gap-0 md:px-22",children:[(0,a.jsxs)("div",{className:"flex flex-col md:hidden",children:[(0,a.jsx)("div",{children:(0,a.jsxs)(r.z,{color:"primary",fill:"clear",className:"px-0",onClick:em,children:[(0,a.jsx)(n.JO,{name:"chevronLeft"}),(()=>{if(!document.referrer)return $("navigation.backToList");let e=new URL(document.referrer).pathname,t=L.n.path[W].replace(/:region/g,"[^/]+").replace(/:title/g,"[^/]+").replace(/:slug/g,"[^/]+"),l=RegExp("^".concat(t,"$"));return l.test(e)?$("navigation.backToOffer"):$("navigation.backToList")})()]})}),(0,a.jsx)(i.i,{})]}),(0,a.jsx)("div",{className:"hidden md:flex mb-4",children:(0,a.jsxs)(r.z,{color:"primary",fill:"clear",className:"px-0",onClick:em,children:[(0,a.jsx)(n.JO,{name:"chevronLeft"}),F("goBack")]})}),(null==R?void 0:R.offerDetail.breadcrumbs)&&(0,a.jsx)(S,{items:ey}),(0,a.jsx)(s.Z,{mainApplyFullWidth:!1,twoColsTasks:!0,offer:null==R?void 0:R.offerDetail,isApplied:eu,originFlow:I.Qo.OfferPage,isSearchPage:!1,headingLevel:1})]}),(ex||ew)&&(0,a.jsxs)("div",{className:"full-bleed-container",children:[(0,a.jsx)("div",{className:"full-bleed-bg bg-alabaster-50"}),(0,a.jsxs)("section",{className:"full-bleed-content flex flex-col",children:[(0,a.jsx)(k.Z,{title:$("sections.relatedOffers"),offerId:Number(Q),originalOffer:null==R?void 0:R.offerDetail,originFlow:I.Qo.OfferPageRecommendations,relatedOffers:_,showOneClickApplyControl
1s:!0}),ew&&(0,a.jsx)(N,{title:$("sections.offersFrom",{enterpriseName:null==R?void 0:null===(w=R.offerDetail)||void 0===w?void 0:null===(P=w.company)||void 0===P?void 0:P.enterpriseName}),companyId:null==R?void 0:null===(j=R.offerDetail)||void 0===j?void 0:null===(D=j.company)||void 0===D?void 0:D.companyId,companyOffers:E,hasRelatedOffers:ex})]})]})]})})]})}var $=(0,c.Z)(W)},68201:function(e,t,l){"use strict";function a(e){let t=new URLSearchParams(e.startsWith("?")?e:"?".concat(e));return t.get("jatoken")||t.get("jaToken")}function o(e){return null!==a(e)}function r(e){var t;let l=null!==(t=e.jatoken)&&void 0!==t?t:e.jaToken;return"string"==typeof l&&l?l:Array.isArray(l)&&l[0]?l[0]:null}l.d(t,{Mi:function(){return r},O:function(){return a},xq:function(){return o}})},39141:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var a=l(52322);function o(e){let{on:t,label:l,onChange:o,inverse:r=!1,disabled:i=!1,className:n="",...s}=e,c=()=>{!i&&o&&o(!t)};return(0,a.jsxs)("div",{className:"flex gap-2 items-center ".concat(r?"flex-row-reverse":""," ").concat(i?"cursor-not-allowed opacity-60":"cursor-pointer"," ").concat(n),onClick:c,...s,children:[l&&(0,a.jsx)("span",{className:"text-sm ".concat(t?"text-carbon-800":"text-carbon-700"," ").concat(i?"text-carbon-700":""),children:l}),(0,a.jsxs)("div",{className:"relative inline-block w-[36px] h-[20px]",children:[(0,a.jsx)("div",{className:"absolute inset-0 transition-colors duration-300 ease-in-out ".concat(t?"bg-tangaroa-950":"bg-carbon-600"," ").concat(i?"bg-carbon-300":""," rounded-full")}),(0,a.jsx)("div",{className:"absolute left-[2px] bottom-[2px] w-[16px] h-[16px] bg-white-50 rounded-full transition-transform duration-300 ease-in-out ".concat(t?"translate-x-[16px]":"translate-x-0")})]})]})}}},function(e){e.O(0,[4304,6753,6672,9e3,2391,2342,8648,6606,9774,2888,179],function(){return e(e.s=85572)}),_N_E=e.O()}]);
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.