@inploi/plugin-job-search 0.23.2 → 0.23.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cdn/index.js CHANGED
@@ -14,7 +14,7 @@ var yy=Object.defineProperty;var by=(be,me,jt)=>me in be?yy(be,me,{enumerable:!0
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ac;function Pf(){return ac||(ac=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=oc,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(x){{for(var y=arguments.length,b=new Array(y>1?y-1:0),k=1;k<y;k++)b[k-1]=arguments[k];r("error",x,b)}}function r(x,y,b){{var k=t.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(y+="%s",b=b.concat([C]));var $=b.map(function(O){return String(O)});$.unshift("Warning: "+y),Function.prototype.apply.call(console[x],console,$)}}function o(x,y){return x===y&&(x!==0||1/x===1/y)||x!==x&&y!==y}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(x,y,b){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=y();if(!c){var C=y();i(k,C)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:y}}),O=$[0].inst,j=$[1];return l(function(){O.value=k,O.getSnapshot=y,d(O)&&j({inst:O})},[x,k,y]),s(function(){d(O)&&j({inst:O});var D=function(){d(O)&&j({inst:O})};return x(D)},[x]),u(k),k}function d(x){var y=x.getSnapshot,b=x.value;try{var k=y();return!i(b,k)}catch{return!0}}function v(x,y,b){return y()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,m=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;Io.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Io}process.env.NODE_ENV==="production"?Lo.exports=Tf():Lo.exports=Pf();var Rf=Lo.exports;const vt=()=>{},ye=vt(),Fo=Object,H=e=>e===ye,Fe=e=>typeof e=="function",_t=(e,t)=>({...e,...t}),Df=e=>Fe(e.then),pr=new WeakMap;let Nf=0;const An=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Fo(e)===e&&!r&&n!=RegExp){if(o=pr.get(e),o)return o;if(o=++Nf+"~",pr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=An(e[i])+",";pr.set(e,o)}if(n==Fo){o="#";const a=Fo.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+An(e[i])+",");pr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},qe=new WeakMap,Ho={},hr={},Uo="undefined",vr=typeof window!=Uo,Vo=typeof document!=Uo,Lf=()=>vr&&typeof window.requestAnimationFrame!=Uo,sc=(e,t)=>{const n=qe.get(e);return[()=>!H(t)&&e.get(t)||Ho,r=>{if(!H(t)){const o=e.get(t);t in hr||(hr[t]=o),n[5](t,_t(o,r),o||Ho)}},n[6],()=>!H(t)&&t in hr?hr[t]:!H(t)&&e.get(t)||Ho]};let zo=!0;const Mf=()=>zo,[Wo,Bo]=vr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[vt,vt],If=()=>{const e=Vo&&document.visibilityState;return H(e)||e!=="hidden"},Ff=e=>(Vo&&document.addEventListener("visibilitychange",e),Wo("focus",e),()=>{Vo&&document.removeEventListener("visibilitychange",e),Bo("focus",e)}),Hf=e=>{const t=()=>{zo=!0,e()},n=()=>{zo=!1};return Wo("online",t),Wo("offline",n),()=>{Bo("online",t),Bo("offline",n)}},Uf={isOnline:Mf,isVisible:If},Vf={initFocus:Ff,initReconnect:Hf},cc=!dr.useId,Tn=!vr||"Deno"in window,zf=e=>Lf()?window.requestAnimationFrame(e):setTimeout(e,1),Yo=Tn?_e:pt,Ko=typeof navigator<"u"&&navigator.connection,lc=!Tn&&Ko&&(["slow-2g","2g"].includes(Ko.effectiveType)||Ko.saveData),qo=e=>{if(Fe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?An(e):"",[e,t]};let Wf=0;const Go=()=>++Wf,uc=0,dc=1,fc=2;var Pn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:uc,MUTATE_EVENT:fc,RECONNECT_EVENT:dc};async function pc(...e){const[t,n,r,o]=e,i=_t({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Fe(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=qo(p);if(!d)return;const[v,h]=sc(t,d),[g,_,m,x]=qe.get(t),y=()=>{const L=g[d];return(Fe(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete m[d],delete x[d],L&&L[0])?L[0](fc).then(()=>v().data):v().data};if(e.length<3)return y();let b=r,k;const C=Go();_[d]=[C,0];const $=!H(l),O=v(),j=O.data,D=O._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,h({data:l,_c:I})),Fe(b))try{b=b(I)}catch(L){k=L}if(b&&Df(b))if(b=await b.catch(L=>{k=L}),C!==_[d][0]){if(k)throw k;return b}else k&&$&&u(k)&&(a=!0,h({data:I,_c:ye}));if(a&&!k)if(Fe(a)){const L=a(b,I);h({data:L,error:ye,_c:ye})}else h({data:b,error:ye,_c:ye});if(_[d][1]=Go(),Promise.resolve(y()).then(()=>{h({_c:ye})}),k){if(f)throw k;return}return b}}const hc=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Bf=(e,t)=>{if(!qe.has(e)){const n=_t(Vf,t),r={},o=pc.bind(ye,e);let i=vt;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const v of d)v(c,p)},u=()=>{if(!qe.has(e)&&(qe.set(e,[r,{},{},{},o,l,s]),!Tn)){const f=n.initFocus(setTimeout.bind(ye,hc.bind(ye,r,uc))),c=n.initReconnect(setTimeout.bind(ye,hc.bind(ye,r,dc)));i=()=>{f&&f(),c&&c(),qe.delete(e)}}};return u(),[e,o,u,i]}return[e,qe.get(e)[4]]},Yf=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},Kf=(e,t)=>An(e)==An(t),[vc,qf]=Bf(new Map),Gf=_t({onLoadingSlow:vt,onSuccess:vt,onError:vt,onErrorRetry:Yf,onDiscarded:vt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:lc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:lc?5e3:3e3,compare:Kf,isPaused:()=>!1,cache:vc,mutate:qf,fallback:{}},Uf),Xf=(e,t)=>{const n=_t(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=_t(o,a))}return n},Zf=io({}),Jf="$inf$",_c=vr&&window.__SWR_DEVTOOLS_USE__,Qf=_c?window.__SWR_DEVTOOLS_USE__:[],ep=()=>{_c&&(window.__SWR_DEVTOOLS_REACT__=dr)},tp=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],np=()=>_t(Gf,or(Zf)),rp=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=qo(t),[,,,s]=qe.get(vc);if(a.startsWith(Jf))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),op=Qf.concat(rp),ip=e=>function(...n){const r=np(),[o,i,a]=tp(n),s=Xf(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(op);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},ap=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};ep();const gc=dr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Xo={dedupe:!0},Zo=ip((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,v,h,g]=qe.get(r),[_,m]=qo(e),x=ke(!1),y=ke(!1),b=ke(_),k=ke(t),C=ke(n),$=()=>C.current,O=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=sc(r,_),N=ke({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const de in N){const Z=de;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(it,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},E=Ie(()=>{const G=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=ve=>{const De=_t(ve);return delete De._k,G?{isValidating:!0,isLoading:!0,...De}:De},de=j(),Z=L(),Se=X(de),$t=de===Z?Se:X(Z);let ce=Se;return[()=>{const ve=X(j());return S(ve,ce)?(ce.data=ve.data,ce.isLoading=ve.isLoading,ce.isValidating=ve.isValidating,ce.error=ve.error,ce):(ce=ve,ve)},()=>$t]},[r,_]),U=Rf.useSyncExternalStore(ht(G=>I(_,(X,de)=>{S(de,X)||G()}),[r,_]),E[0],E[1]),z=!x.current,q=d[_]&&d[_].length>0,se=U.data,ue=H(se)?M:se,Ht=U.error,qr=ke(ue),it=p?H(se)?qr.current:se:ue,at=(()=>q&&!H(Ht)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Xn=!!(_&&t&&z&&at),ha=H(U.isValidating)?Xn:U.isValidating,gn=H(U.isLoading)?Xn:U.isLoading,Ut=ht(async G=>{const X=k.current;if(!_||!X||y.current||$().isPaused())return!1;let de,Z,Se=!0;const $t=G||{},ce=!h[_]||!$t.dedupe,ve=()=>cc?!y.current&&_===b.current&&x.current:_===b.current,De={isValidating:!1,isLoading:!1},Vt=()=>{D(De)},ad=()=>{const Ae=h[_];Ae&&Ae[1]===Z&&delete h[_]},sd={isValidating:!0};H(j().data)&&(sd.isLoading=!0);try{if(ce&&(D(sd),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{Se&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(m),Go()]),[de,Z]=h[_],de=await de,ce&&setTimeout(ad,n.dedupingInterval),!h[_]||h[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;De.error=ye;const Ae=v[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return Vt(),ce&&ve()&&$().onDiscarded(_),!1;const st=j().data;De.data=o(st,de)?st:de,ce&&ve()&&$().onSuccess(de,_,n)}catch(Ae){ad();const st=$(),{shouldRetryOnError:va}=st;st.isPaused()||(De.error=Ae,ce&&ve()&&(st.onError(Ae,_,st),(va===!0||Fe(va)&&va(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||O())&&st.onErrorRetry(Ae,_,st,my=>{const _a=d[_];_a&&_a[0]&&_a[0](Pn.ERROR_REVALIDATE_EVENT,my)},{retryCount:($t.retryCount||0)+1,dedupe:!0})))}return Se=!1,Vt(),!0},[_,r]),Gr=ht((...G)=>pc(r,b.current,...G),[]);if(Yo(()=>{k.current=t,C.current=n,H(se)||(qr.current=se)}),Yo(()=>{if(!_)return;const G=Ut.bind(ye,Xo);let X=0;const Z=ap(_,d,(Se,$t={})=>{if(Se==Pn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&O()&&(X=ce+$().focusThrottleInterval,G())}else if(Se==Pn.RECONNECT_EVENT)$().revalidateOnReconnect&&O()&&G();else{if(Se==Pn.MUTATE_EVENT)return Ut();if(Se==Pn.ERROR_REVALIDATE_EVENT)return Ut($t)}});return y.current=!1,b.current=_,x.current=!0,D({_k:m}),at&&(H(ue)||Tn?G():zf(G)),()=>{y.current=!0,Z()}},[_]),Yo(()=>{let G;function X(){const Z=Fe(u)?u(j().data):u;Z&&G!==-1&&(G=setTimeout(de,Z))}function de(){!j().error&&(f||$().isVisible())&&(c||$().isOnline())?Ut(Xo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,f,c,_]),ir(it),i&&H(ue)&&_){if(!cc&&Tn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,C.current=n,y.current=!1;const G=g[_];if(!H(G)){const X=Gr(G);gc(X)}if(H(Ht)){const X=Ut(Xo);H(it)||(X.status="fulfilled",X.value=!0),gc(X)}else throw Ht}return{mutate:Gr,get data(){return N.data=!0,it},get error(){return N.error=!0,Ht},get isValidating(){return N.isValidating=!0,ha},get isLoading(){return N.isLoading=!0,gn}}}),Ge=Te({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),sp=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return me(i),w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:be(e)}},cp=44,lp=6,up=12,dp=8,wc=Te({base:"fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-copy-accent-icon ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),fp=Te({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),pp=Te({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),hp=Te({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),vp=Te({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),_p=({children:e,colorScheme:t})=>w("span",{class:vp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),gp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},mc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},wp=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=mc(r.value),a=mc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},mp=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},yp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},bp=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=ho(r()),l=Ie(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const v=s.data[t.key]??[];return Object.fromEntries(v.map(h=>[h.value,h.jobs]))}default:be(s)}},[s,t.key]),u=bc(e),f=u.length>0,[c,p]=we(),d=uf("(pointer: coarse)");return _e(()=>{a()}),s.state==="error"?w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"search",class:wc(),value:c,onInput:v=>p(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Ge({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=i.data[t.key]??[],h=c&&c.length>1?v.filter(y=>y.label.toLowerCase().includes(c.toLowerCase())):v,g=[];for(const y of h){if(y.label.length<1)continue;const b={...y,results:yp(l,y),disabled:mp(l,y)};switch(t.results){case"only-available":b.disabled==!1&&g.push(b);break;default:g.push(b)}}if(!g.find(y=>!y.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const x=(v.length>up||v.some(y=>y.label.length>24))&&!d;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":cp*(lp+.5)+2*dp+"px"},class:fp({type:x?"long":"short"}),children:wp(g,t.sortSuggestions).map(y=>{const b=u.includes(y.value);return w("li",{class:pp({type:x?"line":"pill"}),children:w("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":b?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=gp(u,y.value);o({select:"many",value:k});break}case"one":o({select:"one",value:y.value});break;default:be(e)}},class:x?hp({active:b,disabled:y.disabled}):Ge({size:"lg",variant:b?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:y.label})," ",w(_p,{colorScheme:b?"accentStrong":"neutralStrong",children:y.results})]})},y.value)})})})}default:be(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:$n({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(Ye,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:$n({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(Ye,{name:"chevron-right"})]},f?"done":"skip")})]})]})},yc={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},xp=Te({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),kp=Te({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),$p=Te({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),jp=e=>{const t=ke(null),[n,r]=we(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return pt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},bc=e=>typeof e.value=="string"?[e.value]:e.value??[],Sp=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=jt(r.key,yc)?yc[r.key]:void 0,u=r.icon??l??"filter",f=bc(t),{height:c,ref:p,updateHeight:d}=jp([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:xp({hasValue:v}),onTouchStart:Ap,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:kp({state:e?"active":v?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(Ye,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(bp,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(sp,{property:r,query:a,selectedValues:f})}),w(Ye,{"aria-hidden":!0,class:$p(),name:"chevron-right"})]})]})},Ep=e=>{const t=ke();return _e(()=>{t.current=e},[e]),t.current},Cp=(e,t)=>{var o;const n=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(me(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Op=(e,t)=>{const n=Ep(e);_e(()=>{if(n===e)return;const r=e??n;r&&Cp(r,t)},[e,n,t])};function Ap(){}const Tp=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},Pp=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:be(t)}},Rp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=we((c=e[0])==null?void 0:c.key);Op(a,t);const l=Ie(()=>ii(e,"value"),[e]),u=ho(Zo(lr({filter:l,baseKey:"filters",keyword:void 0}),()=>is({apiClient:o,logger:i,filters:l,keyword:void 0}),vo)),f=ht(p=>()=>{const d={...n,[p]:l[p]};return Zo(lr({filter:d,baseKey:"filters",keyword:Pt.keyword$.value}),()=>is({apiClient:o,logger:i,filters:d,keyword:Pt.keyword$.value}),vo)},[o,n,l,i]);return u.state==="error"?w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=n[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&Tp(v,h);const g=x=>{const{newActiveKey:y,newValue:b}=Pp({property:p,activeKey:a,value:x??h,properties:e,appliedFilters:n});return s(y),r(p.key,b)},_=x=>s(x?p.key:void 0),m=f(p.key);return w(jn,{Fallback:ft,children:w(Sp,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var b;const x=e.findIndex(k=>k.key===a),y=x!==-1?(b=e[x+1])==null?void 0:b.key:void 0;s(y)},useQuery:m,onValueChange:g})},p.key)})})})},Dp=2,Np=({onKeywordChange:e})=>{const{keyword$:t}=Pt,[n,r]=we(t.value??""),o=n!==""&&n===t.value;return _e(()=>{let i=n.trim();if(i.length<=Dp&&(i=null),i===null){t.value="";return}const a=setTimeout(()=>{t.value=i},300);return()=>clearTimeout(a)},[n,t,e]),w("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:w("div",{class:"relative",children:[w("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[w(Ye,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:cs({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),w("span",{class:"sr-only",children:"Keyword"})]}),w("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:wc({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:"Type to search jobs",value:n,onChange:i=>{r(i.currentTarget.value),e==null||e(i.currentTarget.value)}}),w("button",{class:$n({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:w(Ye,{name:"x"})})]})})};var Lp=Array.isArray,Jo=Lp,Mp=typeof fr=="object"&&fr&&fr.Object===Object&&fr,Ip=Mp,Fp=Ip,Hp=typeof self=="object"&&self&&self.Object===Object&&self,Up=Fp||Hp||Function("return this")(),Qo=Up,Vp=Qo,zp=Vp.Symbol,ei=zp,xc=ei,kc=Object.prototype,Wp=kc.hasOwnProperty,Bp=kc.toString,Rn=xc?xc.toStringTag:void 0;function Yp(e){var t=Wp.call(e,Rn),n=e[Rn];try{e[Rn]=void 0;var r=!0}catch{}var o=Bp.call(e);return r&&(t?e[Rn]=n:delete e[Rn]),o}var Kp=Yp,qp=Object.prototype,Gp=qp.toString;function Xp(e){return Gp.call(e)}var Zp=Xp,$c=ei,Jp=Kp,Qp=Zp,eh="[object Null]",th="[object Undefined]",jc=$c?$c.toStringTag:void 0;function nh(e){return e==null?e===void 0?th:eh:jc&&jc in Object(e)?Jp(e):Qp(e)}var Sc=nh;function rh(e){return e!=null&&typeof e=="object"}var oh=rh,ih=Sc,ah=oh,sh="[object Symbol]";function ch(e){return typeof e=="symbol"||ah(e)&&ih(e)==sh}var ti=ch,lh=Jo,uh=ti,dh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fh=/^\w*$/;function ph(e,t){if(lh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||uh(e)?!0:fh.test(e)||!dh.test(e)||t!=null&&e in Object(t)}var hh=ph;function vh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ec=vh,_h=Sc,gh=Ec,wh="[object AsyncFunction]",mh="[object Function]",yh="[object GeneratorFunction]",bh="[object Proxy]";function xh(e){if(!gh(e))return!1;var t=_h(e);return t==mh||t==yh||t==wh||t==bh}var kh=xh,$h=Qo,jh=$h["__core-js_shared__"],Sh=jh,ni=Sh,Cc=function(){var e=/[^.]+$/.exec(ni&&ni.keys&&ni.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Eh(e){return!!Cc&&Cc in e}var Ch=Eh,Oh=Function.prototype,Ah=Oh.toString;function Th(e){if(e!=null){try{return Ah.call(e)}catch{}try{return e+""}catch{}}return""}var Ph=Th,Rh=kh,Dh=Ch,Nh=Ec,Lh=Ph,Mh=/[\\^$.*+?()[\]{}|]/g,Ih=/^\[object .+?Constructor\]$/,Fh=Function.prototype,Hh=Object.prototype,Uh=Fh.toString,Vh=Hh.hasOwnProperty,zh=RegExp("^"+Uh.call(Vh).replace(Mh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Wh(e){if(!Nh(e)||Dh(e))return!1;var t=Rh(e)?zh:Ih;return t.test(Lh(e))}var Bh=Wh;function Yh(e,t){return e==null?void 0:e[t]}var Kh=Yh,qh=Bh,Gh=Kh;function Xh(e,t){var n=Gh(e,t);return qh(n)?n:void 0}var Oc=Xh,Zh=Oc,Jh=Zh(Object,"create"),_r=Jh,Ac=_r;function Qh(){this.__data__=Ac?Ac(null):{},this.size=0}var ev=Qh;function tv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nv=tv,rv=_r,ov="__lodash_hash_undefined__",iv=Object.prototype,av=iv.hasOwnProperty;function sv(e){var t=this.__data__;if(rv){var n=t[e];return n===ov?void 0:n}return av.call(t,e)?t[e]:void 0}var cv=sv,lv=_r,uv=Object.prototype,dv=uv.hasOwnProperty;function fv(e){var t=this.__data__;return lv?t[e]!==void 0:dv.call(t,e)}var pv=fv,hv=_r,vv="__lodash_hash_undefined__";function _v(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=hv&&t===void 0?vv:t,this}var gv=_v,wv=ev,mv=nv,yv=cv,bv=pv,xv=gv;function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=wv,Xt.prototype.delete=mv,Xt.prototype.get=yv,Xt.prototype.has=bv,Xt.prototype.set=xv;var kv=Xt;function $v(){this.__data__=[],this.size=0}var jv=$v;function Sv(e,t){return e===t||e!==e&&t!==t}var Ev=Sv,Cv=Ev;function Ov(e,t){for(var n=e.length;n--;)if(Cv(e[n][0],t))return n;return-1}var gr=Ov,Av=gr,Tv=Array.prototype,Pv=Tv.splice;function Rv(e){var t=this.__data__,n=Av(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Pv.call(t,n,1),--this.size,!0}var Dv=Rv,Nv=gr;function Lv(e){var t=this.__data__,n=Nv(t,e);return n<0?void 0:t[n][1]}var Mv=Lv,Iv=gr;function Fv(e){return Iv(this.__data__,e)>-1}var Hv=Fv,Uv=gr;function Vv(e,t){var n=this.__data__,r=Uv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var zv=Vv,Wv=jv,Bv=Dv,Yv=Mv,Kv=Hv,qv=zv;function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=Wv,Zt.prototype.delete=Bv,Zt.prototype.get=Yv,Zt.prototype.has=Kv,Zt.prototype.set=qv;var Gv=Zt,Xv=Oc,Zv=Qo,Jv=Xv(Zv,"Map"),Qv=Jv,Tc=kv,e_=Gv,t_=Qv;function n_(){this.size=0,this.__data__={hash:new Tc,map:new(t_||e_),string:new Tc}}var r_=n_;function o_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var i_=o_,a_=i_;function s_(e,t){var n=e.__data__;return a_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var wr=s_,c_=wr;function l_(e){var t=c_(this,e).delete(e);return this.size-=t?1:0,t}var u_=l_,d_=wr;function f_(e){return d_(this,e).get(e)}var p_=f_,h_=wr;function v_(e){return h_(this,e).has(e)}var __=v_,g_=wr;function w_(e,t){var n=g_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var m_=w_,y_=r_,b_=u_,x_=p_,k_=__,$_=m_;function Jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jt.prototype.clear=y_,Jt.prototype.delete=b_,Jt.prototype.get=x_,Jt.prototype.has=k_,Jt.prototype.set=$_;var j_=Jt,Pc=j_,S_="Expected a function";function ri(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(S_);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ri.Cache||Pc),n}ri.Cache=Pc;var E_=ri,C_=E_,O_=500;function A_(e){var t=C_(e,function(r){return n.size===O_&&n.clear(),r}),n=t.cache;return t}var T_=A_,P_=T_,R_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,D_=/\\(\\)?/g,N_=P_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(R_,function(n,r,o,i){t.push(o?i.replace(D_,"$1"):r||n)}),t}),L_=N_;function M_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var I_=M_,Rc=ei,F_=I_,H_=Jo,U_=ti,V_=1/0,Dc=Rc?Rc.prototype:void 0,Nc=Dc?Dc.toString:void 0;function Lc(e){if(typeof e=="string")return e;if(H_(e))return F_(e,Lc)+"";if(U_(e))return Nc?Nc.call(e):"";var t=e+"";return t=="0"&&1/e==-V_?"-0":t}var z_=Lc,W_=z_;function B_(e){return e==null?"":W_(e)}var Y_=B_,K_=Jo,q_=hh,G_=L_,X_=Y_;function Z_(e,t){return K_(e)?e:q_(e,t)?[e]:G_(X_(e))}var J_=Z_,Q_=ti,eg=1/0;function tg(e){if(typeof e=="string"||Q_(e))return e;var t=e+"";return t=="0"&&1/e==-eg?"-0":t}var ng=tg,rg=J_,og=ng;function ig(e,t){t=rg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[og(t[n++])];return n&&n==r?e:void 0}var ag=ig,sg=ag;function cg(e,t,n){var r=e==null?void 0:sg(e,t);return r===void 0?n:r}var lg=cg;const ug=Of(lg),mr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Mc=Te({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),oi=({job:e,property:t})=>{if(!t)return null;const n=ug(e.raw,t.key);return t.transform?t.transform(n):n},dg=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Ic=e=>Array.isArray(e)?e:[e],fg=1e3*60*60*24*7,pg=({job:e,config:t,onJobClick:n})=>{var c,p,d;const r=t.subheading?oi({job:e,property:t.subheading}):null,o=t.infoTags.flatMap(v=>Ic(oi({job:e,property:v}))).filter(Boolean),i=Ic((c=t.overrides)!=null&&c.salary?oi({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),a=t.postedDate??"show",s=(p=t.overrides)!=null&&p.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,l=t.newUnderDays??7,u=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-l*fg:!1,f=v=>{var h,g;n==null||n(e),(g=(h=t.overrides)==null?void 0:h.onClick)==null||g.call(h,v)};return w("a",{onMouseEnter:(d=t.overrides)==null?void 0:d.onMouseEnter,onClick:f,href:s,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Mc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(dg,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),u&&a!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),r?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),a==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:i.map((v,h)=>w("span",{class:Ge({variant:"monetaryWeak",size:"xs"}),children:v},h))}),o.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map(v=>w("li",{class:Ge({size:"xs",class:"max-w-full truncate"}),children:v},v))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Fc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:Mc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(mr,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(mr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(mr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},hg=({state:e,fetchNextPage:t,config:n,remainingItems:r})=>{const o=Math.min(At,r);return e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:At}).map((i,a)=>w("li",{children:w(Fc,{seed:a,animationDelay:(a-4)*.1,config:n})},a))}):w("button",{class:$n({variant:"neutral",class:"py-2"}),onClick:t,children:["Load ",o," more of ",r," remaining"]})},vg=({pagination:e})=>(me(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),_g=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a,onPaginate:s})=>{const[l,u]=we(1);return w(F,{children:Array.from({length:l}).map((f,c)=>{const p=c===l-1;return w(jn,{Fallback:ft,children:w(gg,{appliedFilters:e,apiClient:t,logger:n,page:c+1,isFirst:c===0,isLast:p,fetchNextPage:()=>{u(l+1),s(l+1)},jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a},c)},c)})})},gg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l,onResultsUpdate:u,onJobClick:f})=>{const c=r===1?l:void 0,{keyword$:p}=Pt,{data:d,error:v,state:h,swr:g}=ho(Zo(lr({filter:e,baseKey:r.toString(),keyword:p.value}),()=>as({apiClient:t,logger:n,filters:e,page:r,keyword:p.value}),{...vo,fallbackData:c}));switch(_e(()=>{d&&o&&u&&u({totalCount:d.pagination.total})},[d,o,u]),h){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(mr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:At}).map((_,m)=>w("li",{children:w(Fc,{seed:m,animationDelay:(m-At)*.1,config:s})},m))})]});case"error":return w(ft,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:v}),resetError:()=>g.mutate()});case"revalidating":case"loaded":{if(me(d.pagination.current_page===r,"Received wrong page from server"),d.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(Ye,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=d.pagination.last_page!==d.pagination.current_page,m=r*At,x=Math.max(d.pagination.total-m,0);return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:vg({pagination:d.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:d.results.map(y=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:h==="revalidating"?.33:1},children:w(pg,{job:y,onJobClick:f,config:s})},y.id))}),_&&i&&w(hg,{state:h,fetchNextPage:a,config:s,remainingItems:x})]})}default:be(h)}},ii=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],i=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:i};break}case"many":{const o=r[t],i=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:i};break}default:be(r.select)}return n},{}),Hc=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=n==null?void 0:n.value;return[t,Array.isArray(r)?r:r?[r]:[]]}).filter(([,t])=>t!==void 0&&t.length>0)),wg=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=ke(null),f=ii(n,"defaultValue"),[c,p]=we(()=>({default:!0,filters:f})),[d,v]=we(0),{keyword$:h}=Pt,g=Hc(f),_=Hc(c.filters),m=ht(()=>({query:h.value||void 0,filters:_,default_filters:g,total_count:d,page_size:At}),[h.value,_,g,d]);df(u,{minViewTime:2e3,onView:()=>{o.log({event:"VIEW_SEARCH",properties:null})}}),_e(()=>{const b=window.setTimeout(()=>{c.default===!0&&!h.value||!h.value&&!Object.keys(_).length||d===0||o.log({event:"SEARCH_SETTLE",properties:m()})},5e3);return()=>{clearTimeout(b)}},[o,c.default,_,m,h.value,d]);const x=b=>{o.log({event:"SEARCH_JOB_CLICK",properties:{job_id:b.id,...m()}})},y=b=>{o.log({event:"SEARCH_PAGINATE",properties:{page:b,...m()}}),console.log("onPaginate",b,m())};return w("div",{ref:u,class:r,id:ns,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w(jn,{Fallback:ft,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Np,{onKeywordChange:s}),w(Rp,{appliedFilters:c.filters,onFilterValueChange:(b,k)=>{p(C=>(a==null||a({...C.filters,[b]:k}),{default:!1,filters:{...C.filters,[b]:k}}))},properties:n,parentRef:u,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(pf,{appliedFilters:c.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(jn,{Fallback:ft,children:w(_g,{appliedFilters:c.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:c.default?i==null?void 0:i.jobs:void 0,onResultsUpdate:b=>{v(b.totalCount)},onJobClick:x,onPaginate:y},lr({filter:c.filters,baseKey:"resultsSection",keyword:h.value}))})})})]})})},mg=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-10{padding-left:2.5rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent-icon{color:var(--i-copy-accent-icon)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
17
+ */var ac;function Pf(){return ac||(ac=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=oc,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(x){{for(var y=arguments.length,b=new Array(y>1?y-1:0),k=1;k<y;k++)b[k-1]=arguments[k];r("error",x,b)}}function r(x,y,b){{var k=t.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(y+="%s",b=b.concat([C]));var $=b.map(function(O){return String(O)});$.unshift("Warning: "+y),Function.prototype.apply.call(console[x],console,$)}}function o(x,y){return x===y&&(x!==0||1/x===1/y)||x!==x&&y!==y}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(x,y,b){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=y();if(!c){var C=y();i(k,C)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:y}}),O=$[0].inst,j=$[1];return l(function(){O.value=k,O.getSnapshot=y,d(O)&&j({inst:O})},[x,k,y]),s(function(){d(O)&&j({inst:O});var D=function(){d(O)&&j({inst:O})};return x(D)},[x]),u(k),k}function d(x){var y=x.getSnapshot,b=x.value;try{var k=y();return!i(b,k)}catch{return!0}}function v(x,y,b){return y()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,m=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;Io.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Io}process.env.NODE_ENV==="production"?Lo.exports=Tf():Lo.exports=Pf();var Rf=Lo.exports;const vt=()=>{},ye=vt(),Fo=Object,H=e=>e===ye,Fe=e=>typeof e=="function",_t=(e,t)=>({...e,...t}),Df=e=>Fe(e.then),pr=new WeakMap;let Nf=0;const An=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Fo(e)===e&&!r&&n!=RegExp){if(o=pr.get(e),o)return o;if(o=++Nf+"~",pr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=An(e[i])+",";pr.set(e,o)}if(n==Fo){o="#";const a=Fo.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+An(e[i])+",");pr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},qe=new WeakMap,Ho={},hr={},Uo="undefined",vr=typeof window!=Uo,Vo=typeof document!=Uo,Lf=()=>vr&&typeof window.requestAnimationFrame!=Uo,sc=(e,t)=>{const n=qe.get(e);return[()=>!H(t)&&e.get(t)||Ho,r=>{if(!H(t)){const o=e.get(t);t in hr||(hr[t]=o),n[5](t,_t(o,r),o||Ho)}},n[6],()=>!H(t)&&t in hr?hr[t]:!H(t)&&e.get(t)||Ho]};let zo=!0;const Mf=()=>zo,[Wo,Bo]=vr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[vt,vt],If=()=>{const e=Vo&&document.visibilityState;return H(e)||e!=="hidden"},Ff=e=>(Vo&&document.addEventListener("visibilitychange",e),Wo("focus",e),()=>{Vo&&document.removeEventListener("visibilitychange",e),Bo("focus",e)}),Hf=e=>{const t=()=>{zo=!0,e()},n=()=>{zo=!1};return Wo("online",t),Wo("offline",n),()=>{Bo("online",t),Bo("offline",n)}},Uf={isOnline:Mf,isVisible:If},Vf={initFocus:Ff,initReconnect:Hf},cc=!dr.useId,Tn=!vr||"Deno"in window,zf=e=>Lf()?window.requestAnimationFrame(e):setTimeout(e,1),Yo=Tn?_e:pt,Ko=typeof navigator<"u"&&navigator.connection,lc=!Tn&&Ko&&(["slow-2g","2g"].includes(Ko.effectiveType)||Ko.saveData),qo=e=>{if(Fe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?An(e):"",[e,t]};let Wf=0;const Go=()=>++Wf,uc=0,dc=1,fc=2;var Pn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:uc,MUTATE_EVENT:fc,RECONNECT_EVENT:dc};async function pc(...e){const[t,n,r,o]=e,i=_t({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Fe(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=qo(p);if(!d)return;const[v,h]=sc(t,d),[g,_,m,x]=qe.get(t),y=()=>{const L=g[d];return(Fe(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete m[d],delete x[d],L&&L[0])?L[0](fc).then(()=>v().data):v().data};if(e.length<3)return y();let b=r,k;const C=Go();_[d]=[C,0];const $=!H(l),O=v(),j=O.data,D=O._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,h({data:l,_c:I})),Fe(b))try{b=b(I)}catch(L){k=L}if(b&&Df(b))if(b=await b.catch(L=>{k=L}),C!==_[d][0]){if(k)throw k;return b}else k&&$&&u(k)&&(a=!0,h({data:I,_c:ye}));if(a&&!k)if(Fe(a)){const L=a(b,I);h({data:L,error:ye,_c:ye})}else h({data:b,error:ye,_c:ye});if(_[d][1]=Go(),Promise.resolve(y()).then(()=>{h({_c:ye})}),k){if(f)throw k;return}return b}}const hc=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Bf=(e,t)=>{if(!qe.has(e)){const n=_t(Vf,t),r={},o=pc.bind(ye,e);let i=vt;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const v of d)v(c,p)},u=()=>{if(!qe.has(e)&&(qe.set(e,[r,{},{},{},o,l,s]),!Tn)){const f=n.initFocus(setTimeout.bind(ye,hc.bind(ye,r,uc))),c=n.initReconnect(setTimeout.bind(ye,hc.bind(ye,r,dc)));i=()=>{f&&f(),c&&c(),qe.delete(e)}}};return u(),[e,o,u,i]}return[e,qe.get(e)[4]]},Yf=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},Kf=(e,t)=>An(e)==An(t),[vc,qf]=Bf(new Map),Gf=_t({onLoadingSlow:vt,onSuccess:vt,onError:vt,onErrorRetry:Yf,onDiscarded:vt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:lc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:lc?5e3:3e3,compare:Kf,isPaused:()=>!1,cache:vc,mutate:qf,fallback:{}},Uf),Xf=(e,t)=>{const n=_t(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=_t(o,a))}return n},Zf=io({}),Jf="$inf$",_c=vr&&window.__SWR_DEVTOOLS_USE__,Qf=_c?window.__SWR_DEVTOOLS_USE__:[],ep=()=>{_c&&(window.__SWR_DEVTOOLS_REACT__=dr)},tp=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],np=()=>_t(Gf,or(Zf)),rp=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=qo(t),[,,,s]=qe.get(vc);if(a.startsWith(Jf))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),op=Qf.concat(rp),ip=e=>function(...n){const r=np(),[o,i,a]=tp(n),s=Xf(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(op);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},ap=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};ep();const gc=dr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Xo={dedupe:!0},Zo=ip((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,v,h,g]=qe.get(r),[_,m]=qo(e),x=ke(!1),y=ke(!1),b=ke(_),k=ke(t),C=ke(n),$=()=>C.current,O=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=sc(r,_),N=ke({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const de in N){const Z=de;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(it,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},E=Ie(()=>{const G=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=ve=>{const De=_t(ve);return delete De._k,G?{isValidating:!0,isLoading:!0,...De}:De},de=j(),Z=L(),Se=X(de),$t=de===Z?Se:X(Z);let ce=Se;return[()=>{const ve=X(j());return S(ve,ce)?(ce.data=ve.data,ce.isLoading=ve.isLoading,ce.isValidating=ve.isValidating,ce.error=ve.error,ce):(ce=ve,ve)},()=>$t]},[r,_]),U=Rf.useSyncExternalStore(ht(G=>I(_,(X,de)=>{S(de,X)||G()}),[r,_]),E[0],E[1]),z=!x.current,q=d[_]&&d[_].length>0,se=U.data,ue=H(se)?M:se,Ht=U.error,qr=ke(ue),it=p?H(se)?qr.current:se:ue,at=(()=>q&&!H(Ht)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Xn=!!(_&&t&&z&&at),ha=H(U.isValidating)?Xn:U.isValidating,gn=H(U.isLoading)?Xn:U.isLoading,Ut=ht(async G=>{const X=k.current;if(!_||!X||y.current||$().isPaused())return!1;let de,Z,Se=!0;const $t=G||{},ce=!h[_]||!$t.dedupe,ve=()=>cc?!y.current&&_===b.current&&x.current:_===b.current,De={isValidating:!1,isLoading:!1},Vt=()=>{D(De)},ad=()=>{const Ae=h[_];Ae&&Ae[1]===Z&&delete h[_]},sd={isValidating:!0};H(j().data)&&(sd.isLoading=!0);try{if(ce&&(D(sd),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{Se&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(m),Go()]),[de,Z]=h[_],de=await de,ce&&setTimeout(ad,n.dedupingInterval),!h[_]||h[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;De.error=ye;const Ae=v[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return Vt(),ce&&ve()&&$().onDiscarded(_),!1;const st=j().data;De.data=o(st,de)?st:de,ce&&ve()&&$().onSuccess(de,_,n)}catch(Ae){ad();const st=$(),{shouldRetryOnError:va}=st;st.isPaused()||(De.error=Ae,ce&&ve()&&(st.onError(Ae,_,st),(va===!0||Fe(va)&&va(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||O())&&st.onErrorRetry(Ae,_,st,my=>{const _a=d[_];_a&&_a[0]&&_a[0](Pn.ERROR_REVALIDATE_EVENT,my)},{retryCount:($t.retryCount||0)+1,dedupe:!0})))}return Se=!1,Vt(),!0},[_,r]),Gr=ht((...G)=>pc(r,b.current,...G),[]);if(Yo(()=>{k.current=t,C.current=n,H(se)||(qr.current=se)}),Yo(()=>{if(!_)return;const G=Ut.bind(ye,Xo);let X=0;const Z=ap(_,d,(Se,$t={})=>{if(Se==Pn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&O()&&(X=ce+$().focusThrottleInterval,G())}else if(Se==Pn.RECONNECT_EVENT)$().revalidateOnReconnect&&O()&&G();else{if(Se==Pn.MUTATE_EVENT)return Ut();if(Se==Pn.ERROR_REVALIDATE_EVENT)return Ut($t)}});return y.current=!1,b.current=_,x.current=!0,D({_k:m}),at&&(H(ue)||Tn?G():zf(G)),()=>{y.current=!0,Z()}},[_]),Yo(()=>{let G;function X(){const Z=Fe(u)?u(j().data):u;Z&&G!==-1&&(G=setTimeout(de,Z))}function de(){!j().error&&(f||$().isVisible())&&(c||$().isOnline())?Ut(Xo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,f,c,_]),ir(it),i&&H(ue)&&_){if(!cc&&Tn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,C.current=n,y.current=!1;const G=g[_];if(!H(G)){const X=Gr(G);gc(X)}if(H(Ht)){const X=Ut(Xo);H(it)||(X.status="fulfilled",X.value=!0),gc(X)}else throw Ht}return{mutate:Gr,get data(){return N.data=!0,it},get error(){return N.error=!0,Ht},get isValidating(){return N.isValidating=!0,ha},get isLoading(){return N.isLoading=!0,gn}}}),Ge=Te({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),sp=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return me(i),w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:be(e)}},cp=44,lp=6,up=12,dp=8,wc=Te({base:"fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-copy-accent-icon ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),fp=Te({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),pp=Te({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),hp=Te({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),vp=Te({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),_p=({children:e,colorScheme:t})=>w("span",{class:vp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),gp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},mc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},wp=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=mc(r.value),a=mc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},mp=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},yp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},bp=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=ho(r()),l=Ie(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const v=s.data[t.key]??[];return Object.fromEntries(v.map(h=>[h.value,h.jobs]))}default:be(s)}},[s,t.key]),u=bc(e),f=u.length>0,[c,p]=we(),d=uf("(pointer: coarse)");return _e(()=>{a()}),s.state==="error"?w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"search",class:wc(),value:c,onInput:v=>p(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Ge({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=i.data[t.key]??[],h=c&&c.length>1?v.filter(y=>y.label.toLowerCase().includes(c.toLowerCase())):v,g=[];for(const y of h){if(y.label.length<1)continue;const b={...y,results:yp(l,y),disabled:mp(l,y)};switch(t.results){case"only-available":b.disabled==!1&&g.push(b);break;default:g.push(b)}}if(!g.find(y=>!y.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const x=(v.length>up||v.some(y=>y.label.length>24))&&!d;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":cp*(lp+.5)+2*dp+"px"},class:fp({type:x?"long":"short"}),children:wp(g,t.sortSuggestions).map(y=>{const b=u.includes(y.value);return w("li",{class:pp({type:x?"line":"pill"}),children:w("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":b?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=gp(u,y.value);o({select:"many",value:k});break}case"one":o({select:"one",value:y.value});break;default:be(e)}},class:x?hp({active:b,disabled:y.disabled}):Ge({size:"lg",variant:b?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:y.label})," ",w(_p,{colorScheme:b?"accentStrong":"neutralStrong",children:y.results})]})},y.value)})})})}default:be(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:$n({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(Ye,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:$n({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(Ye,{name:"chevron-right"})]},f?"done":"skip")})]})]})},yc={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},xp=Te({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),kp=Te({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),$p=Te({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),jp=e=>{const t=ke(null),[n,r]=we(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return pt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},bc=e=>typeof e.value=="string"?[e.value]:e.value??[],Sp=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=jt(r.key,yc)?yc[r.key]:void 0,u=r.icon??l??"filter",f=bc(t),{height:c,ref:p,updateHeight:d}=jp([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:xp({hasValue:v}),onTouchStart:Ap,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:kp({state:e?"active":v?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(Ye,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(bp,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(sp,{property:r,query:a,selectedValues:f})}),w(Ye,{"aria-hidden":!0,class:$p(),name:"chevron-right"})]})]})},Ep=e=>{const t=ke();return _e(()=>{t.current=e},[e]),t.current},Cp=(e,t)=>{var o;const n=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(me(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Op=(e,t)=>{const n=Ep(e);_e(()=>{if(n===e)return;const r=e??n;r&&Cp(r,t)},[e,n,t])};function Ap(){}const Tp=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},Pp=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:be(t)}},Rp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=we((c=e[0])==null?void 0:c.key);Op(a,t);const l=Ie(()=>ii(e,"value"),[e]),u=ho(Zo(lr({filter:l,baseKey:"filters",keyword:void 0}),()=>is({apiClient:o,logger:i,filters:l,keyword:void 0}),vo)),f=ht(p=>()=>{const d={...n,[p]:l[p]};return Zo(lr({filter:d,baseKey:"filters",keyword:Pt.keyword$.value}),()=>is({apiClient:o,logger:i,filters:d,keyword:Pt.keyword$.value}),vo)},[o,n,l,i]);return u.state==="error"?w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=n[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&Tp(v,h);const g=x=>{const{newActiveKey:y,newValue:b}=Pp({property:p,activeKey:a,value:x??h,properties:e,appliedFilters:n});return s(y),r(p.key,b)},_=x=>s(x?p.key:void 0),m=f(p.key);return w(jn,{Fallback:ft,children:w(Sp,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var b;const x=e.findIndex(k=>k.key===a),y=x!==-1?(b=e[x+1])==null?void 0:b.key:void 0;s(y)},useQuery:m,onValueChange:g})},p.key)})})})},Dp=2,Np=({onKeywordChange:e})=>{const{keyword$:t}=Pt,[n,r]=we(t.value??""),o=n!==""&&n===t.value;return _e(()=>{let i=n.trim();if(i.length<=Dp&&(i=null),i===null){t.value="";return}const a=setTimeout(()=>{t.value=i},300);return()=>clearTimeout(a)},[n,t,e]),w("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:w("div",{class:"relative",children:[w("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[w(Ye,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:cs({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),w("span",{class:"sr-only",children:"Keyword"})]}),w("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:wc({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:"Type to search jobs",value:n,onChange:i=>{r(i.currentTarget.value),e==null||e(i.currentTarget.value)}}),w("button",{class:$n({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:w(Ye,{name:"x"})})]})})};var Lp=Array.isArray,Jo=Lp,Mp=typeof fr=="object"&&fr&&fr.Object===Object&&fr,Ip=Mp,Fp=Ip,Hp=typeof self=="object"&&self&&self.Object===Object&&self,Up=Fp||Hp||Function("return this")(),Qo=Up,Vp=Qo,zp=Vp.Symbol,ei=zp,xc=ei,kc=Object.prototype,Wp=kc.hasOwnProperty,Bp=kc.toString,Rn=xc?xc.toStringTag:void 0;function Yp(e){var t=Wp.call(e,Rn),n=e[Rn];try{e[Rn]=void 0;var r=!0}catch{}var o=Bp.call(e);return r&&(t?e[Rn]=n:delete e[Rn]),o}var Kp=Yp,qp=Object.prototype,Gp=qp.toString;function Xp(e){return Gp.call(e)}var Zp=Xp,$c=ei,Jp=Kp,Qp=Zp,eh="[object Null]",th="[object Undefined]",jc=$c?$c.toStringTag:void 0;function nh(e){return e==null?e===void 0?th:eh:jc&&jc in Object(e)?Jp(e):Qp(e)}var Sc=nh;function rh(e){return e!=null&&typeof e=="object"}var oh=rh,ih=Sc,ah=oh,sh="[object Symbol]";function ch(e){return typeof e=="symbol"||ah(e)&&ih(e)==sh}var ti=ch,lh=Jo,uh=ti,dh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fh=/^\w*$/;function ph(e,t){if(lh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||uh(e)?!0:fh.test(e)||!dh.test(e)||t!=null&&e in Object(t)}var hh=ph;function vh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ec=vh,_h=Sc,gh=Ec,wh="[object AsyncFunction]",mh="[object Function]",yh="[object GeneratorFunction]",bh="[object Proxy]";function xh(e){if(!gh(e))return!1;var t=_h(e);return t==mh||t==yh||t==wh||t==bh}var kh=xh,$h=Qo,jh=$h["__core-js_shared__"],Sh=jh,ni=Sh,Cc=function(){var e=/[^.]+$/.exec(ni&&ni.keys&&ni.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Eh(e){return!!Cc&&Cc in e}var Ch=Eh,Oh=Function.prototype,Ah=Oh.toString;function Th(e){if(e!=null){try{return Ah.call(e)}catch{}try{return e+""}catch{}}return""}var Ph=Th,Rh=kh,Dh=Ch,Nh=Ec,Lh=Ph,Mh=/[\\^$.*+?()[\]{}|]/g,Ih=/^\[object .+?Constructor\]$/,Fh=Function.prototype,Hh=Object.prototype,Uh=Fh.toString,Vh=Hh.hasOwnProperty,zh=RegExp("^"+Uh.call(Vh).replace(Mh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Wh(e){if(!Nh(e)||Dh(e))return!1;var t=Rh(e)?zh:Ih;return t.test(Lh(e))}var Bh=Wh;function Yh(e,t){return e==null?void 0:e[t]}var Kh=Yh,qh=Bh,Gh=Kh;function Xh(e,t){var n=Gh(e,t);return qh(n)?n:void 0}var Oc=Xh,Zh=Oc,Jh=Zh(Object,"create"),_r=Jh,Ac=_r;function Qh(){this.__data__=Ac?Ac(null):{},this.size=0}var ev=Qh;function tv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nv=tv,rv=_r,ov="__lodash_hash_undefined__",iv=Object.prototype,av=iv.hasOwnProperty;function sv(e){var t=this.__data__;if(rv){var n=t[e];return n===ov?void 0:n}return av.call(t,e)?t[e]:void 0}var cv=sv,lv=_r,uv=Object.prototype,dv=uv.hasOwnProperty;function fv(e){var t=this.__data__;return lv?t[e]!==void 0:dv.call(t,e)}var pv=fv,hv=_r,vv="__lodash_hash_undefined__";function _v(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=hv&&t===void 0?vv:t,this}var gv=_v,wv=ev,mv=nv,yv=cv,bv=pv,xv=gv;function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=wv,Xt.prototype.delete=mv,Xt.prototype.get=yv,Xt.prototype.has=bv,Xt.prototype.set=xv;var kv=Xt;function $v(){this.__data__=[],this.size=0}var jv=$v;function Sv(e,t){return e===t||e!==e&&t!==t}var Ev=Sv,Cv=Ev;function Ov(e,t){for(var n=e.length;n--;)if(Cv(e[n][0],t))return n;return-1}var gr=Ov,Av=gr,Tv=Array.prototype,Pv=Tv.splice;function Rv(e){var t=this.__data__,n=Av(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Pv.call(t,n,1),--this.size,!0}var Dv=Rv,Nv=gr;function Lv(e){var t=this.__data__,n=Nv(t,e);return n<0?void 0:t[n][1]}var Mv=Lv,Iv=gr;function Fv(e){return Iv(this.__data__,e)>-1}var Hv=Fv,Uv=gr;function Vv(e,t){var n=this.__data__,r=Uv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var zv=Vv,Wv=jv,Bv=Dv,Yv=Mv,Kv=Hv,qv=zv;function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=Wv,Zt.prototype.delete=Bv,Zt.prototype.get=Yv,Zt.prototype.has=Kv,Zt.prototype.set=qv;var Gv=Zt,Xv=Oc,Zv=Qo,Jv=Xv(Zv,"Map"),Qv=Jv,Tc=kv,e_=Gv,t_=Qv;function n_(){this.size=0,this.__data__={hash:new Tc,map:new(t_||e_),string:new Tc}}var r_=n_;function o_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var i_=o_,a_=i_;function s_(e,t){var n=e.__data__;return a_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var wr=s_,c_=wr;function l_(e){var t=c_(this,e).delete(e);return this.size-=t?1:0,t}var u_=l_,d_=wr;function f_(e){return d_(this,e).get(e)}var p_=f_,h_=wr;function v_(e){return h_(this,e).has(e)}var __=v_,g_=wr;function w_(e,t){var n=g_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var m_=w_,y_=r_,b_=u_,x_=p_,k_=__,$_=m_;function Jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jt.prototype.clear=y_,Jt.prototype.delete=b_,Jt.prototype.get=x_,Jt.prototype.has=k_,Jt.prototype.set=$_;var j_=Jt,Pc=j_,S_="Expected a function";function ri(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(S_);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ri.Cache||Pc),n}ri.Cache=Pc;var E_=ri,C_=E_,O_=500;function A_(e){var t=C_(e,function(r){return n.size===O_&&n.clear(),r}),n=t.cache;return t}var T_=A_,P_=T_,R_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,D_=/\\(\\)?/g,N_=P_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(R_,function(n,r,o,i){t.push(o?i.replace(D_,"$1"):r||n)}),t}),L_=N_;function M_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var I_=M_,Rc=ei,F_=I_,H_=Jo,U_=ti,V_=1/0,Dc=Rc?Rc.prototype:void 0,Nc=Dc?Dc.toString:void 0;function Lc(e){if(typeof e=="string")return e;if(H_(e))return F_(e,Lc)+"";if(U_(e))return Nc?Nc.call(e):"";var t=e+"";return t=="0"&&1/e==-V_?"-0":t}var z_=Lc,W_=z_;function B_(e){return e==null?"":W_(e)}var Y_=B_,K_=Jo,q_=hh,G_=L_,X_=Y_;function Z_(e,t){return K_(e)?e:q_(e,t)?[e]:G_(X_(e))}var J_=Z_,Q_=ti,eg=1/0;function tg(e){if(typeof e=="string"||Q_(e))return e;var t=e+"";return t=="0"&&1/e==-eg?"-0":t}var ng=tg,rg=J_,og=ng;function ig(e,t){t=rg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[og(t[n++])];return n&&n==r?e:void 0}var ag=ig,sg=ag;function cg(e,t,n){var r=e==null?void 0:sg(e,t);return r===void 0?n:r}var lg=cg;const ug=Of(lg),mr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Mc=Te({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),oi=({job:e,property:t})=>{if(!t)return null;const n=ug(e.raw,t.key);return t.transform?t.transform(n):n},dg=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Ic=e=>Array.isArray(e)?e:[e],fg=1e3*60*60*24*7,pg=({job:e,config:t,onJobClick:n})=>{var c,p,d;const r=t.subheading?oi({job:e,property:t.subheading}):null,o=t.infoTags.flatMap(v=>Ic(oi({job:e,property:v}))).filter(Boolean),i=Ic((c=t.overrides)!=null&&c.salary?oi({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),a=t.postedDate??"show",s=(p=t.overrides)!=null&&p.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,l=t.newUnderDays??7,u=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-l*fg:!1,f=v=>{var h,g;n==null||n(e),(g=(h=t.overrides)==null?void 0:h.onClick)==null||g.call(h,v)};return w("a",{onMouseEnter:(d=t.overrides)==null?void 0:d.onMouseEnter,onClick:f,href:s,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Mc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(dg,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),u&&a!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),r?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),a==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:i.map((v,h)=>w("span",{class:Ge({variant:"monetaryWeak",size:"xs"}),children:v},h))}),o.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map(v=>w("li",{class:Ge({size:"xs",class:"max-w-full truncate"}),children:v},v))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Fc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:Mc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(mr,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(mr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(mr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},hg=({state:e,fetchNextPage:t,config:n,remainingItems:r})=>{const o=Math.min(At,r);return e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:At}).map((i,a)=>w("li",{children:w(Fc,{seed:a,animationDelay:(a-4)*.1,config:n})},a))}):w("button",{class:$n({variant:"neutral",class:"py-2"}),onClick:t,children:["Load ",o," more of ",r," remaining"]})},vg=({pagination:e})=>(me(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),_g=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a,onPaginate:s})=>{const[l,u]=we(1);return w(F,{children:Array.from({length:l}).map((f,c)=>{const p=c===l-1;return w(jn,{Fallback:ft,children:w(gg,{appliedFilters:e,apiClient:t,logger:n,page:c+1,isFirst:c===0,isLast:p,fetchNextPage:()=>{u(l+1),s(l+1)},jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a},c)},c)})})},gg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l,onResultsUpdate:u,onJobClick:f})=>{const c=r===1?l:void 0,{keyword$:p}=Pt,{data:d,error:v,state:h,swr:g}=ho(Zo(lr({filter:e,baseKey:r.toString(),keyword:p.value}),()=>as({apiClient:t,logger:n,filters:e,page:r,keyword:p.value}),{...vo,fallbackData:c}));switch(_e(()=>{d&&o&&u&&u({totalCount:d.pagination.total})},[d,o,u]),h){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(mr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:At}).map((_,m)=>w("li",{children:w(Fc,{seed:m,animationDelay:(m-At)*.1,config:s})},m))})]});case"error":return w(ft,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:v}),resetError:()=>g.mutate()});case"revalidating":case"loaded":{if(me(d.pagination.current_page===r,"Received wrong page from server"),d.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(Ye,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=d.pagination.last_page!==d.pagination.current_page,m=r*At,x=Math.max(d.pagination.total-m,0),y=b=>{f(b,r)};return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:vg({pagination:d.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:d.results.map(b=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:h==="revalidating"?.33:1},children:w(pg,{job:b,onJobClick:y,config:s})},b.id))}),_&&i&&w(hg,{state:h,fetchNextPage:a,config:s,remainingItems:x})]})}default:be(h)}},ii=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],i=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:i};break}case"many":{const o=r[t],i=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:i};break}default:be(r.select)}return n},{}),Hc=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=n==null?void 0:n.value;return[t,Array.isArray(r)?r:r?[r]:[]]}).filter(([,t])=>t!==void 0&&t.length>0)),wg=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=ke(null),f=ii(n,"defaultValue"),[c,p]=we(()=>({default:!0,filters:f})),[d,v]=we(0),{keyword$:h}=Pt,g=Hc(f),_=Hc(c.filters),m=ht((b=1)=>({query:h.value||void 0,filters:_,default_filters:g,total_count:d,page_size:At,page:b}),[h.value,_,g,d]);df(u,{minViewTime:2e3,onView:()=>{o.log({event:"VIEW_SEARCH",properties:m()})}}),_e(()=>{const b=window.setTimeout(()=>{c.default===!0&&!h.value||!h.value&&!Object.keys(_).length||d===0||o.log({event:"SEARCH_SETTLE",properties:m()})},5e3);return()=>{clearTimeout(b)}},[o,c.default,_,m,h.value,d]);const x=(b,k)=>{o.log({event:"SEARCH_JOB_CLICK",properties:{job_id:b.id,...m(k)}})},y=b=>{o.log({event:"SEARCH_PAGINATE",properties:m(b)})};return w("div",{ref:u,class:r,id:ns,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w(jn,{Fallback:ft,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Np,{onKeywordChange:s}),w(Rp,{appliedFilters:c.filters,onFilterValueChange:(b,k)=>{p(C=>(a==null||a({...C.filters,[b]:k}),{default:!1,filters:{...C.filters,[b]:k}}))},properties:n,parentRef:u,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(pf,{appliedFilters:c.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(jn,{Fallback:ft,children:w(_g,{appliedFilters:c.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:c.default?i==null?void 0:i.jobs:void 0,onResultsUpdate:b=>{v(b.totalCount)},onJobClick:x,onPaginate:y},lr({filter:c.filters,baseKey:"resultsSection",keyword:h.value}))})})})]})})},mg=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-10{padding-left:2.5rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent-icon{color:var(--i-copy-accent-icon)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
18
18
  `;var yg=["1","2","3","4","5","6","7","8","9","10","11","12"],bg={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},xg=(e,t=1,n)=>r=>{const[o,i]=bg[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ai=e=>{const t=xg(e.hue,e.chroma,e.mode);return Object.fromEntries(yg.map(n=>[e.prefix+n,e.transform(t(n))]))},si=e=>e,kg=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},yr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),ci=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(yr(e)&&yr(n))for(const r in n){const o=n[r];if(yr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];yr(i)&&ci(i,o)}else Object.assign(e,{[r]:n[r]})}return ci(e,...t)},$g=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},jg=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=kg(ci(s,l,u)),c=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const Ce=e=>{const t=[],n=r=>({with:(o,i)=>(t.push({pattern:o,fn:i}),n(r)),otherwise:o=>{e:for(const{fn:i,pattern:a}of t){for(const s in a)if(a[s]!==r[s])continue e;return i(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(e)},[li,ui,Xe]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Sg=jg().core(({theme:e})=>{var t,n,r,o;return{color:{black:li,white:ui,lowest:e.mode==="light"?ui:li,highest:e.mode==="light"?li:ui,...ai({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:si}),...ai({prefix:"n-",hue:((t=e.neutral)==null?void 0:t.hue)??e.accent.hue,chroma:((n=e.neutral)==null?void 0:n.chroma)??.05,mode:e.mode,transform:si}),...ai({prefix:"m-",hue:((r=e.monetary)==null?void 0:r.hue)??140,chroma:((o=e.monetary)==null?void 0:o.chroma)??1,mode:e.mode,transform:si})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,f,c,p,d,v,h,g,_,m,x,y,b,k,C,$,O,j,D;const r=(I,L)=>n.core.color[I].replace(")",` / ${L})`),{typography:o,highlights:i}=t,a=((s=t.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=t.typography.jobHeading)==null?void 0:u.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((v=(d=o.filter)==null?void 0:d.weight)==null?void 0:v.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((x=(m=o.tag)==null?void 0:m.weight)==null?void 0:x.toString())??((y=o.weight)==null?void 0:y.toString())??"inherit","weight-job-heading":((k=(b=o.jobHeading)==null?void 0:b.weight)==null?void 0:k.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(O=o.input)==null?void 0:O.weight)==null?void 0:j.toString())??((D=o.weight)==null?void 0:D.toString())??"inherit","app-bg":e("color.lowest"),copy:e(a?"color.highest":"color.n-12"),"copy-lowcontrast":e("color.n-11"),"copy-info":e(a?"color.n-11":"color.n-10"),"copy-icon":e(a?"color.n-12":"color.n-11"),"copy-accent":e(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":e(a?"color.a-12":"color.a-11"),"copy-accent-icon":e(a?"color.a-12":"color.a-11"),"copy-inverted":e("color.lowest"),"copy-inverted-lowcontrast":e("color.n-4"),"copy-inverted-icon":e("color.n-3"),"tag-neutral-weak-bg":i==="fill"?e("color.n-2"):Xe,"tag-neutral-weak-copy":e("color.n-12"),"tag-neutral-weak-stroke-color":e(i==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":i==="fill"?e("color.n-12"):Xe,"tag-neutral-strong-copy":e(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":r(a?"n-12":"n-4",i==="stroke"?1:0),"tag-monetary-weak-bg":e("color.m-3"),"tag-monetary-weak-copy":e("color.m-11"),"tag-monetary-weak-stroke-color":e("color.m-4"),"tag-accent-strong-bg":t.mode==="dark"?e("color.a-9"):e("color.a-11"),"tag-accent-strong-copy":e("color.white"),"tag-accent-strong-stroke-color":Xe,"radius-app":Ce(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Ce(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Ce(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Ce(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Ce(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Ce(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Ce(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(a?"n-5":"n-4",.01),"interactive-neutral-bg-hover":e(a?"color.n-5":"color.n-4"),"interactive-neutral-text":e("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":e(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":e("color.a-11"),"radius-interactive":Ce(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Xe,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Xe,"section-weak-stroke-color":i==="fill"?Xe:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Xe:e(a?"color.n-11":"color.n-4"),"section-stroke-width":Ce(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Ce(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Xe),"job-card-bg-active":Ce(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Xe),"job-card-stroke-color":e(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":e("color.a-9"),"job-card-stroke-width":Ce(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Eg=$g({prefix:"i-"}),Cg=e=>{const t=Sg.from({theme:e,getToken:Eg}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ns} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
package/dist/index.cjs CHANGED
@@ -5706,6 +5706,9 @@ const ResultsPage = ({
5706
5706
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
5707
5707
  const alreadyDisplayedItems = page * PAGE_SIZE;
5708
5708
  const remainingItems = Math.max(data.pagination.total - alreadyDisplayedItems, 0);
5709
+ const handleJobClick = (job) => {
5710
+ onJobClick(job, page);
5711
+ };
5709
5712
  return /* @__PURE__ */ u$2(k$3, { children: [
5710
5713
  isFirst && /* @__PURE__ */ u$2("p", { class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center", children: getResultsCount({ pagination: data.pagination }) }),
5711
5714
  /* @__PURE__ */ u$2("ul", { "aria-label": `Page ${page}`, class: "flex flex-col gap-3", children: data.results.map((job) => {
@@ -5714,7 +5717,7 @@ const ResultsPage = ({
5714
5717
  {
5715
5718
  class: "ease-expo-out duration-slow transition-opacity",
5716
5719
  style: { opacity: state === "revalidating" ? 0.33 : 1 },
5717
- children: /* @__PURE__ */ u$2(JobCard, { job, onJobClick, config: jobCardConfig })
5720
+ children: /* @__PURE__ */ u$2(JobCard, { job, onJobClick: handleJobClick, config: jobCardConfig })
5718
5721
  },
5719
5722
  job.id
5720
5723
  );
@@ -5792,19 +5795,20 @@ const JobSearch = ({
5792
5795
  const defaultFiltersPayload = filtersToPayload(defaultFilters);
5793
5796
  const currentFiltersPayload = filtersToPayload(appliedFilters.filters);
5794
5797
  const getSearchProperties = q$1(
5795
- () => ({
5798
+ (page = 1) => ({
5796
5799
  query: keyword$.value || void 0,
5797
5800
  filters: currentFiltersPayload,
5798
5801
  default_filters: defaultFiltersPayload,
5799
5802
  total_count: totalCount,
5800
- page_size: PAGE_SIZE
5803
+ page_size: PAGE_SIZE,
5804
+ page
5801
5805
  }),
5802
5806
  [keyword$.value, currentFiltersPayload, defaultFiltersPayload, totalCount]
5803
5807
  );
5804
5808
  useViewTracking(appRef, {
5805
5809
  minViewTime: 2e3,
5806
5810
  onView: () => {
5807
- analytics.log({ event: "VIEW_SEARCH", properties: null });
5811
+ analytics.log({ event: "VIEW_SEARCH", properties: getSearchProperties() });
5808
5812
  }
5809
5813
  });
5810
5814
  y$1(() => {
@@ -5821,24 +5825,20 @@ const JobSearch = ({
5821
5825
  clearTimeout(timer);
5822
5826
  };
5823
5827
  }, [analytics, appliedFilters.default, currentFiltersPayload, getSearchProperties, keyword$.value, totalCount]);
5824
- const onJobClick = (job) => {
5828
+ const onJobClick = (job, page) => {
5825
5829
  analytics.log({
5826
5830
  event: "SEARCH_JOB_CLICK",
5827
5831
  properties: {
5828
5832
  job_id: job.id,
5829
- ...getSearchProperties()
5833
+ ...getSearchProperties(page)
5830
5834
  }
5831
5835
  });
5832
5836
  };
5833
5837
  const onPaginate = (page) => {
5834
5838
  analytics.log({
5835
5839
  event: "SEARCH_PAGINATE",
5836
- properties: {
5837
- page,
5838
- ...getSearchProperties()
5839
- }
5840
+ properties: getSearchProperties(page)
5840
5841
  });
5841
- console.log("onPaginate", page, getSearchProperties());
5842
5842
  };
5843
5843
  return /* @__PURE__ */ u$2("div", { ref: appRef, class: className, id: JOB_SEARCH_SCOPE_ELEMENT_ID, children: /* @__PURE__ */ u$2("div", { class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4", children: [
5844
5844
  /* @__PURE__ */ u$2(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$2("div", { class: "flex flex-col gap-2", children: [
package/dist/index.js CHANGED
@@ -5704,6 +5704,9 @@ const ResultsPage = ({
5704
5704
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
5705
5705
  const alreadyDisplayedItems = page * PAGE_SIZE;
5706
5706
  const remainingItems = Math.max(data.pagination.total - alreadyDisplayedItems, 0);
5707
+ const handleJobClick = (job) => {
5708
+ onJobClick(job, page);
5709
+ };
5707
5710
  return /* @__PURE__ */ u$2(k$3, { children: [
5708
5711
  isFirst && /* @__PURE__ */ u$2("p", { class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center", children: getResultsCount({ pagination: data.pagination }) }),
5709
5712
  /* @__PURE__ */ u$2("ul", { "aria-label": `Page ${page}`, class: "flex flex-col gap-3", children: data.results.map((job) => {
@@ -5712,7 +5715,7 @@ const ResultsPage = ({
5712
5715
  {
5713
5716
  class: "ease-expo-out duration-slow transition-opacity",
5714
5717
  style: { opacity: state === "revalidating" ? 0.33 : 1 },
5715
- children: /* @__PURE__ */ u$2(JobCard, { job, onJobClick, config: jobCardConfig })
5718
+ children: /* @__PURE__ */ u$2(JobCard, { job, onJobClick: handleJobClick, config: jobCardConfig })
5716
5719
  },
5717
5720
  job.id
5718
5721
  );
@@ -5790,19 +5793,20 @@ const JobSearch = ({
5790
5793
  const defaultFiltersPayload = filtersToPayload(defaultFilters);
5791
5794
  const currentFiltersPayload = filtersToPayload(appliedFilters.filters);
5792
5795
  const getSearchProperties = q$1(
5793
- () => ({
5796
+ (page = 1) => ({
5794
5797
  query: keyword$.value || void 0,
5795
5798
  filters: currentFiltersPayload,
5796
5799
  default_filters: defaultFiltersPayload,
5797
5800
  total_count: totalCount,
5798
- page_size: PAGE_SIZE
5801
+ page_size: PAGE_SIZE,
5802
+ page
5799
5803
  }),
5800
5804
  [keyword$.value, currentFiltersPayload, defaultFiltersPayload, totalCount]
5801
5805
  );
5802
5806
  useViewTracking(appRef, {
5803
5807
  minViewTime: 2e3,
5804
5808
  onView: () => {
5805
- analytics.log({ event: "VIEW_SEARCH", properties: null });
5809
+ analytics.log({ event: "VIEW_SEARCH", properties: getSearchProperties() });
5806
5810
  }
5807
5811
  });
5808
5812
  y$1(() => {
@@ -5819,24 +5823,20 @@ const JobSearch = ({
5819
5823
  clearTimeout(timer);
5820
5824
  };
5821
5825
  }, [analytics, appliedFilters.default, currentFiltersPayload, getSearchProperties, keyword$.value, totalCount]);
5822
- const onJobClick = (job) => {
5826
+ const onJobClick = (job, page) => {
5823
5827
  analytics.log({
5824
5828
  event: "SEARCH_JOB_CLICK",
5825
5829
  properties: {
5826
5830
  job_id: job.id,
5827
- ...getSearchProperties()
5831
+ ...getSearchProperties(page)
5828
5832
  }
5829
5833
  });
5830
5834
  };
5831
5835
  const onPaginate = (page) => {
5832
5836
  analytics.log({
5833
5837
  event: "SEARCH_PAGINATE",
5834
- properties: {
5835
- page,
5836
- ...getSearchProperties()
5837
- }
5838
+ properties: getSearchProperties(page)
5838
5839
  });
5839
- console.log("onPaginate", page, getSearchProperties());
5840
5840
  };
5841
5841
  return /* @__PURE__ */ u$2("div", { ref: appRef, class: className, id: JOB_SEARCH_SCOPE_ELEMENT_ID, children: /* @__PURE__ */ u$2("div", { class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4", children: [
5842
5842
  /* @__PURE__ */ u$2(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$2("div", { class: "flex flex-col gap-2", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-job-search",
3
- "version": "0.23.2",
3
+ "version": "0.23.4",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-job-search.js",
6
6
  "types": "dist/index.d.ts",
@@ -53,10 +53,10 @@
53
53
  "vite": "^4.5.3",
54
54
  "vite-plugin-dts": "^3.9.1",
55
55
  "vite-tsconfig-paths": "^4.3.2",
56
- "@inploi/core": "1.14.3",
56
+ "@inploi/core": "1.14.4",
57
57
  "@inploi/design-tokens": "0.2.1",
58
58
  "@inploi/plugin-job-alerts": "0.3.0",
59
- "@inploi/sdk": "1.14.5",
59
+ "@inploi/sdk": "1.14.7",
60
60
  "eslint-config-custom": "0.1.0"
61
61
  },
62
62
  "msw": {