1import{_ as f}from"./CDs_bgk3.js";import{_ as v}from"./B1P3VFzd.js";import{A as b,c as L,J as i,L as g,d as T,D as w,e as A,a as _,b as h,W as I,f as E}from"./BZZMGZ7A.js";import{d as k,B as O,ch as D,a as S,e as V,f as u,t as C,h as n,b as l,w as N,R}from"./BgOPsrZ5.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new s.Error().stack;d&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[d]="a84b1a1d-5897-4821-a265-97d5c1fa8ccf",s._sentryDebugIdIdentifier="sentry-dbid-a84b1a1d-5897-4821-a265-97d5c1fa8ccf")}catch{}})();const q={class:"flex flex-wrap items-end pt-10 px-6 pb-4 lg:pt-12 lg:px-8 bg-gradient-black-01 rounded-xl ring-1 ring-gray-200/10"},x={class:"grid w-full md:grid-cols-2 lg:grid-cols-3 gap-y-6 gap-x-8"},z={class:"self-center ml-2 md:ml-4 text-2xl text-white md:text-3xl"},M=k({__name:"filter",props:{title:{},area:{},location:{},division:{},employmentType:{},workTypes:{}},setup(s,{expose:d}){const p=O(),y=D();d({clearFilter:c});function c(){y.push({query:{...p.query,area:void 0,location:void 0,division:void 0,employmentType:void 0,workType:[]}})}function r(e,o){const t={query:{...p.query}};e?Array.isArray(e)?t.query[o]=e.map(m=>m.key).join(","):t.query[o]=e.key:t.query[o]=void 0,y.push(t)}return(e,o)=>{const t=f,m=v;return S(),V("div",q,[u("div",x,[u("h2",z,C(e.title),1),n(t,{items:l(b),"model-value":e.area,placeholder:l(L).ALL,class:"z-[12]","onUpdate:modelValue":o[0]||(o[0]=a=>r(a,l(i).AREA))},null,8,["items","model-value","placeholder"]),n(t,{items:l(g),"model-value":e.location,placeholder:l(T).ALL,class:"z-[11]","onUpdate:modelValue":o[1]||(o[1]=a=>r(a,l(i).LOCATION))},null,8,["items","model-value","placeholder"]),n(t,{items:l(w),"model-value":e.division,placeholder:l(A).ALL,class:"z-10","onUpdate:modelValue":o[2]||(o[2]=a=>r(a,l(i).DIVISION))},null,8,["items","model-value","placeholder"]),n(t,{items:l(_),"model-value":e.employmentType,placeholder:l(h).ALL,class:"z-10","onUpdate:modelValue":o[3]||(o[3]=a=>r(a,l(i).EMPLOYMENT_TYPE))},null,8,["items","model-value","placeholder"]),n(t,{items:l(I),"model-value":e.workTypes,placeholder:l(E).ALL,multiple:"",class:"z-9","onUpdate:modelValue":o[4]||(o[4]=a=>r(a,l(i).WORK_TYPE))},null,8,["items","model-value","placeholder"])]),n(m,null,{default:N(()=>{var a;return[u("button",{class:R(["relative ml-auto mt-4 pb-0.5 text-sm text-white bottom-line-inverted duration-500",e.area||e.location||e.division||e.employmentType||(a=e.workTypes)!=null&&a.length?"":"opacity-0 pointer-events-none"]),onClick:c}," Clear filters ",2)]}),_:1})])}}});export{M as _}; 2//# sourceMappingURL=DZKG6iIg.js.map
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.