1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BIkFxP27.js","./C-Tu12K8.js","./BaDZMlhL.js","./B1PtWEQd.js","./Cp2ysxOb.js","./CjH9UrrJ.js","./BPvN1X9m.js","./C5EeRGv0.js","./D7TG8w0f.js","./dZ0rqICS.js","./B8xFkYCm.js","./lLUarE9T.js","./Br7xXqFU.js","./CLC8zCN6.js","./cjemX7BB.js","./9JOnsL5L.js","./DrqQD9kp.js","./Bu67Bfg2.js","./BjINn70h.js","./kHhnQaNI.js","./_nuxt.CrIqMMdn.css","./DNbxb--t.js","./CGccEDqc.js","./ba15Tu-O.js","./BuTIDxQR.js","./DJ-f5Mo9.js","./DBMhTt3R.js","./CB0V-m2z.js","./BbJtVHbr.js","./entry.yGEzjCbu.css","./instantsearch.O1K3F9oh.css","./custom-link.DrO6QDeT.css"])))=>i.map(i=>d[i]); 2import{_ as E}from"./kHhnQaNI.js";import J from"./DLnrNl_f.js";import P from"./yzuYS14v.js";import S from"./vnFH5Hrh.js";import{k as z}from"./C-Tu12K8.js";import{h as c,f as m,c as j,o as l,l as u,_ as v,k as q,z as C,x as d,y as x,u as t,Y as F,a7 as I,m as k,Z as R,a0 as D,d as H,ad as Y}from"./B1PtWEQd.js";import"./D7TG8w0f.js";import"./cjemX7BB.js";import"./BaDZMlhL.js";import"./DrqQD9kp.js";import"./Bu67Bfg2.js";import"./B8xFkYCm.js";import"./DpZkynuY.js";import"./DBMhTt3R.js";import"./CB0V-m2z.js";import"./BbJtVHbr.js";import"./ml2uImYv.js";import"./BjINn70h.js";/* empty css */import"./Cp2ysxOb.js";import"./CjH9UrrJ.js";import"./BPvN1X9m.js";import"./C5EeRGv0.js";import"./dZ0rqICS.js";import"./lLUarE9T.js";import"./Br7xXqFU.js";import"./CLC8zCN6.js";import"./9JOnsL5L.js";import"./DNbxb--t.js";import"./CGccEDqc.js";import"./ba15Tu-O.js";import"./BuTIDxQR.js";import"./DJ-f5Mo9.js";import"./CpBdLWn4.js";import"./DgyD5FFJ.js";import"./R68YNQ6A.js";import"./D__2QcCf.js";import"./DEBw29sO.js";import"./B_0xY4gW.js";import"./Dl3aYAR2.js";import"./C9t-WfhT.js";import"./D8-Kj_4N.js";const Z={class:"job-openings__inner"},G={class:"job-openings__list"},K={class:"job-openings__dropdown-list"},Se={__name:"job-openings",props:{theme:Object,heading:[String,null],cities:Array,numberOfJobs:[Number,String],borders:Boolean},setup(r){const w=H(()=>E(()=>import("./BIkFxP27.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]),import.meta.url)),o=r,_=c(null),s=c(!1),i=c(null),y=m(()=>o.heading.length?o.heading:`${o.numberOfJobs} job opportunities in <br>${o.cities.length} locations`),{toCSS:T}=z({element:_,theme:o.theme}),a=m(()=>o.cities.map(e=>({text:`${e.numberOfJobs} jobs in ${e.title}`,tags:[{title:e.title,url:`/join-us/jobs?location=${e.title.toLowerCase()}`}]}))),$=e=>{i.value=e==null?void 0:e.item},A=e=>{s.value==e?s.value=null:s.value=e},L=m(()=>{let e=o.cities;return e.some(n=>n.title==="All locations")||e.unshift({id:1,title:"All locations",numberOfJobs:o.numberOfJobs}),e}),O=m(()=>[{id:"locations",allTag:"All locations",items:L.value,selectFirstItem:!0,selected:i.value}]);return(e,n)=>{var b,f,g,h;const B=J,N=P,V=S;return l(),j("div",{class:"job-openings",ref_key:"element",ref:_,style:Y({...t(T)(r.theme)})},[u("div",Z,[C(B,d(x({heading:t(y),tag:"h2",headingClass:"ts-h2",animated:!0})),null,16),u("div",G,[u("div",K,[(l(!0),j(F,null,I(t(O),p=>(l(),v(N,k({ref_for:!0},p,{expanded:t(s)==p.id,onChange:$,onToggleExpanded:A,hideAllTag:!0,key:p.id}),null,16,["expanded"]))),128))]),C(t(w),d(x({variant:r.theme.textName=="white"?"default":"reversed",customClass:"btn",url:(f=(b=t(i))==null?void 0:b.title)!=null&&f.toLowerCase()&&((g=t(i))==null?void 0:g.title.toLowerCase())!=="all locations"?"/join-us/jobs?location="+((h=t(i))==null?void 0:h.title.toLowerCase()):"/join-us/jobs"})),{default:R(()=>[...n[0]||(n[0]=[D(" View jobs ",-1)])]),_:1},16)])]),t(a)&&t(a).length?(l(),v(V,d(k({key:0},{items:t(a),useTheme:!0,borderBottom:r.borders,borderTop:r.borders})),null,16)):q("",!0)],4)}}};export{Se as default};
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.