@inploi/plugin-job-search 0.20.0 → 0.21.0

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
@@ -15,7 +15,7 @@ var wy=Object.defineProperty;var my=(me,ge,$t)=>ge in me?wy(me,ge,{enumerable:!0
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
17
  */var ac;function Od(){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(b){{for(var m=arguments.length,x=new Array(m>1?m-1:0),k=1;k<m;k++)x[k-1]=arguments[k];r("error",b,x)}}function r(b,m,x){{var k=t.ReactDebugCurrentFrame,O=k.getStackAddendum();O!==""&&(m+="%s",x=x.concat([O]));var $=x.map(function(C){return String(C)});$.unshift("Warning: "+m),Function.prototype.apply.call(console[b],console,$)}}function o(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,d=!1,c=!1;function p(b,m,x){d||e.startTransition!==void 0&&(d=!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=m();if(!c){var O=m();i(k,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:m}}),C=$[0].inst,j=$[1];return l(function(){C.value=k,C.getSnapshot=m,f(C)&&j({inst:C})},[b,k,m]),s(function(){f(C)&&j({inst:C});var D=function(){f(C)&&j({inst:C})};return b(D)},[b]),u(k),k}function f(b){var m=b.getSnapshot,x=b.value;try{var k=m();return!i(x,k)}catch{return!0}}function h(b,m,x){return m()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!v,_=g?h:p,y=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;Io.useSyncExternalStore=y,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=Cd():Lo.exports=Od();var Ad=Lo.exports;const ht=()=>{},we=ht(),Fo=Object,H=e=>e===we,Fe=e=>typeof e=="function",vt=(e,t)=>({...e,...t}),Td=e=>Fe(e.then),pr=new WeakMap;let Pd=0;const On=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=++Pd+"~",pr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=On(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+":"+On(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,Rd=()=>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,vt(o,r),o||Ho)}},n[6],()=>!H(t)&&t in hr?hr[t]:!H(t)&&e.get(t)||Ho]};let zo=!0;const Dd=()=>zo,[Wo,Bo]=vr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ht,ht],Nd=()=>{const e=Vo&&document.visibilityState;return H(e)||e!=="hidden"},Ld=e=>(Vo&&document.addEventListener("visibilitychange",e),Wo("focus",e),()=>{Vo&&document.removeEventListener("visibilitychange",e),Bo("focus",e)}),Md=e=>{const t=()=>{zo=!0,e()},n=()=>{zo=!1};return Wo("online",t),Wo("offline",n),()=>{Bo("online",t),Bo("offline",n)}},Id={isOnline:Dd,isVisible:Nd},Fd={initFocus:Ld,initReconnect:Md},cc=!fr.useId,An=!vr||"Deno"in window,Hd=e=>Rd()?window.requestAnimationFrame(e):setTimeout(e,1),Yo=An?xe:pt,Ko=typeof navigator<"u"&&navigator.connection,lc=!An&&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)?On(e):"",[e,t]};let Ud=0;const Go=()=>++Ud,uc=0,fc=1,dc=2;var Tn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:uc,MUTATE_EVENT:dc,RECONNECT_EVENT:fc};async function pc(...e){const[t,n,r,o]=e,i=vt({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,d=i.throwOnError;if(Fe(n)){const p=n,f=[],h=t.keys();for(const v of h)!/^\$(inf|sub)\$/.test(v)&&p(t.get(v)._k)&&f.push(v);return Promise.all(f.map(c))}return c(n);async function c(p){const[f]=qo(p);if(!f)return;const[h,v]=sc(t,f),[g,_,y,b]=qe.get(t),m=()=>{const L=g[f];return(Fe(i.revalidate)?i.revalidate(h().data,p):i.revalidate!==!1)&&(delete y[f],delete b[f],L&&L[0])?L[0](dc).then(()=>h().data):h().data};if(e.length<3)return m();let x=r,k;const O=Go();_[f]=[O,0];const $=!H(l),C=h(),j=C.data,D=C._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,v({data:l,_c:I})),Fe(x))try{x=x(I)}catch(L){k=L}if(x&&Td(x))if(x=await x.catch(L=>{k=L}),O!==_[f][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,v({data:I,_c:we}));if(a&&!k)if(Fe(a)){const L=a(x,I);v({data:L,error:we,_c:we})}else v({data:x,error:we,_c:we});if(_[f][1]=Go(),Promise.resolve(m()).then(()=>{v({_c:we})}),k){if(d)throw k;return}return x}}const hc=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Vd=(e,t)=>{if(!qe.has(e)){const n=vt(Fd,t),r={},o=pc.bind(we,e);let i=ht;const a={},s=(d,c)=>{const p=a[d]||[];return a[d]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(d,c,p)=>{e.set(d,c);const f=a[d];if(f)for(const h of f)h(c,p)},u=()=>{if(!qe.has(e)&&(qe.set(e,[r,{},{},{},o,l,s]),!An)){const d=n.initFocus(setTimeout.bind(we,hc.bind(we,r,uc))),c=n.initReconnect(setTimeout.bind(we,hc.bind(we,r,fc)));i=()=>{d&&d(),c&&c(),qe.delete(e)}}};return u(),[e,o,u,i]}return[e,qe.get(e)[4]]},zd=(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)},Wd=(e,t)=>On(e)==On(t),[vc,Bd]=Vd(new Map),Yd=vt({onLoadingSlow:ht,onSuccess:ht,onError:ht,onErrorRetry:zd,onDiscarded:ht,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:lc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:lc?5e3:3e3,compare:Wd,isPaused:()=>!1,cache:vc,mutate:Bd,fallback:{}},Id),Kd=(e,t)=>{const n=vt(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=vt(o,a))}return n},qd=io({}),Gd="$inf$",_c=vr&&window.__SWR_DEVTOOLS_USE__,Xd=_c?window.__SWR_DEVTOOLS_USE__:[],Zd=()=>{_c&&(window.__SWR_DEVTOOLS_REACT__=fr)},Jd=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Qd=()=>vt(Yd,or(qd)),ep=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=qo(t),[,,,s]=qe.get(vc);if(a.startsWith(Gd))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),tp=Xd.concat(ep),np=e=>function(...n){const r=Qd(),[o,i,a]=Jd(n),s=Kd(r,a);let l=e;const{use:u}=s,d=(u||[]).concat(tp);for(let c=d.length;c--;)l=d[c](l);return l(o,i||s.fetcher||null,s)},rp=(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())}};Zd();const gc=fr.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=np((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:c,keepPreviousData:p}=n,[f,h,v,g]=qe.get(r),[_,y]=qo(e),b=ke(!1),m=ke(!1),x=ke(_),k=ke(t),O=ke(n),$=()=>O.current,C=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=sc(r,_),N=ke({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const fe in N){const Z=fe;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=vt(ve);return delete De._k,G?{isValidating:!0,isLoading:!0,...De}:De},fe=j(),Z=L(),Se=X(fe),kt=fe===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)},()=>kt]},[r,_]),U=Ad.useSyncExternalStore(At(G=>I(_,(X,fe)=>{S(fe,X)||G()}),[r,_]),E[0],E[1]),z=!b.current,q=f[_]&&f[_].length>0,se=U.data,ue=H(se)?M:se,Ft=U.error,qr=ke(ue),it=p?H(se)?qr.current:se:ue,at=(()=>q&&!H(Ft)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Gn=!!(_&&t&&z&&at),ha=H(U.isValidating)?Gn:U.isValidating,_n=H(U.isLoading)?Gn:U.isLoading,Ht=At(async G=>{const X=k.current;if(!_||!X||m.current||$().isPaused())return!1;let fe,Z,Se=!0;const kt=G||{},ce=!v[_]||!kt.dedupe,ve=()=>cc?!m.current&&_===x.current&&b.current:_===x.current,De={isValidating:!1,isLoading:!1},Ut=()=>{D(De)},af=()=>{const Ae=v[_];Ae&&Ae[1]===Z&&delete v[_]},sf={isValidating:!0};H(j().data)&&(sf.isLoading=!0);try{if(ce&&(D(sf),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{Se&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),v[_]=[X(y),Go()]),[fe,Z]=v[_],fe=await fe,ce&&setTimeout(af,n.dedupingInterval),!v[_]||v[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;De.error=we;const Ae=h[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return Ut(),ce&&ve()&&$().onDiscarded(_),!1;const st=j().data;De.data=o(st,fe)?st:fe,ce&&ve()&&$().onSuccess(fe,_,n)}catch(Ae){af();const st=$(),{shouldRetryOnError:va}=st;st.isPaused()||(De.error=Ae,ce&&ve()&&(st.onError(Ae,_,st),(va===!0||Fe(va)&&va(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||C())&&st.onErrorRetry(Ae,_,st,gy=>{const _a=f[_];_a&&_a[0]&&_a[0](Tn.ERROR_REVALIDATE_EVENT,gy)},{retryCount:(kt.retryCount||0)+1,dedupe:!0})))}return Se=!1,Ut(),!0},[_,r]),Gr=At((...G)=>pc(r,x.current,...G),[]);if(Yo(()=>{k.current=t,O.current=n,H(se)||(qr.current=se)}),Yo(()=>{if(!_)return;const G=Ht.bind(we,Xo);let X=0;const Z=rp(_,f,(Se,kt={})=>{if(Se==Tn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&C()&&(X=ce+$().focusThrottleInterval,G())}else if(Se==Tn.RECONNECT_EVENT)$().revalidateOnReconnect&&C()&&G();else{if(Se==Tn.MUTATE_EVENT)return Ht();if(Se==Tn.ERROR_REVALIDATE_EVENT)return Ht(kt)}});return m.current=!1,x.current=_,b.current=!0,D({_k:y}),at&&(H(ue)||An?G():Hd(G)),()=>{m.current=!0,Z()}},[_]),Yo(()=>{let G;function X(){const Z=Fe(u)?u(j().data):u;Z&&G!==-1&&(G=setTimeout(fe,Z))}function fe(){!j().error&&(d||$().isVisible())&&(c||$().isOnline())?Ht(Xo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,d,c,_]),ir(it),i&&H(ue)&&_){if(!cc&&An)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,O.current=n,m.current=!1;const G=g[_];if(!H(G)){const X=Gr(G);gc(X)}if(H(Ft)){const X=Ht(Xo);H(it)||(X.status="fulfilled",X.value=!0),gc(X)}else throw Ft}return{mutate:Gr,get data(){return N.data=!0,it},get error(){return N.error=!0,Ft},get isValidating(){return N.isValidating=!0,ha},get isLoading(){return N.isLoading=!0,_n}}}),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}}),op=({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 ge(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:me(e)}},ip=e=>{const[t,n]=be(!1);return xe(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},ap=44,sp=6,cp=12,lp=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}}),up=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"}}),fp=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"}}}),dp=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}}),pp=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"}}}),hp=({children:e,colorScheme:t})=>w("span",{class:pp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),vp=(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},_p=(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},gp=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},wp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},mp=({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 h=s.data[t.key]??[];return Object.fromEntries(h.map(v=>[v.value,v.jobs]))}default:me(s)}},[s,t.key]),u=bc(e),d=u.length>0,[c,p]=be(),f=ip("(pointer: coarse)");return xe(()=>{a()}),s.state==="error"?w(dt,{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({hasValue:d}),value:c,onInput:h=>p(h.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(dt,{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 h=i.data[t.key]??[],v=c&&c.length>1?h.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):h,g=[];for(const m of v){if(m.label.length<1)continue;const x={...m,results:wp(l,m),disabled:gp(l,m)};switch(t.results){case"only-available":x.disabled==!1&&g.push(x);break;default:g.push(x)}}if(!g.find(m=>!m.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 b=(h.length>cp||h.some(m=>m.label.length>24))&&!f;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":ap*(sp+.5)+2*lp+"px"},class:up({type:b?"long":"short"}),children:_p(g,t.sortSuggestions).map(m=>{const x=u.includes(m.value);return w("li",{class:fp({type:b?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=vp(u,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:me(e)}},class:b?dp({active:x,disabled:m.disabled}):Ge({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.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:m.label})," ",w(hp,{colorScheme:x?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:me(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:d&&w("button",{class:kn({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:kn({variant:d?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[d?"Done":"Skip"," ",w(Ye,{name:"chevron-right"})]},d?"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"},yp=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"}}}),bp=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"}}}),xp=Te({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),kp=e=>{const t=ke(null),[n,r]=be(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??[],$p=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=$t(r.key,yc)?yc[r.key]:void 0,u=r.icon??l??"filter",d=bc(t),{height:c,ref:p,updateHeight:f}=kp([e]),h=d.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:yp({hasValue:h}),onTouchStart:Cp,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:bp({state:e?"active":h?"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(mp,{useQuery:s,onRender:f,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(op,{property:r,query:a,selectedValues:d})}),w(Ye,{"aria-hidden":!0,class:xp(),name:"chevron-right"})]})]})},jp=e=>{const t=ke();return xe(()=>{t.current=e},[e]),t.current},Sp=(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&&(ge(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Ep=(e,t)=>{const n=jp(e);xe(()=>{if(n===e)return;const r=e??n;r&&Sp(r,t)},[e,n,t])};function Cp(){}const Op=(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}},Ap=({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(f=>f.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:me(t)}},Tp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=be((c=e[0])==null?void 0:c.key);Ep(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)),d=At(p=>()=>{const f={...n,[p]:l[p]};return Zo(lr({filter:f,baseKey:"filters",keyword:Tt.keyword$.value}),()=>is({apiClient:o,logger:i,filters:f,keyword:Tt.keyword$.value}),vo)},[o,n,l,i]);return u.state==="error"?w(dt,{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 f=a===p.key,h=n[p.key]??{select:p.select,value:void 0},v=l[p.key];v&&Op(h,v);const g=b=>{const{newActiveKey:m,newValue:x}=Ap({property:p,activeKey:a,value:b??v,properties:e,appliedFilters:n});return s(m),r(p.key,x)},_=b=>s(b?p.key:void 0),y=d(p.key);return w($n,{Fallback:dt,children:w($p,{unfilteredQuery:u,active:f,property:p,onActiveChange:_,value:h,onSkip:()=>{var x;const b=e.findIndex(k=>k.key===a),m=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(m)},useQuery:y,onValueChange:g})},p.key)})})})},Pp=2,Rp=({onKeywordChange:e})=>{const{keyword$:t}=Tt,[n,r]=be(t.value??""),o=n!==""&&n===t.value;return xe(()=>{let i=n.trim();if(i.length<=Pp&&(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:"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:kn({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full",icon:"only"}),onClick:()=>{r("")},children:w(Ye,{name:"x"})})]})})};var Dp=Array.isArray,Jo=Dp,Np=typeof dr=="object"&&dr&&dr.Object===Object&&dr,Lp=Np,Mp=Lp,Ip=typeof self=="object"&&self&&self.Object===Object&&self,Fp=Mp||Ip||Function("return this")(),Qo=Fp,Hp=Qo,Up=Hp.Symbol,ei=Up,xc=ei,kc=Object.prototype,Vp=kc.hasOwnProperty,zp=kc.toString,Pn=xc?xc.toStringTag:void 0;function Wp(e){var t=Vp.call(e,Pn),n=e[Pn];try{e[Pn]=void 0;var r=!0}catch{}var o=zp.call(e);return r&&(t?e[Pn]=n:delete e[Pn]),o}var Bp=Wp,Yp=Object.prototype,Kp=Yp.toString;function qp(e){return Kp.call(e)}var Gp=qp,$c=ei,Xp=Bp,Zp=Gp,Jp="[object Null]",Qp="[object Undefined]",jc=$c?$c.toStringTag:void 0;function eh(e){return e==null?e===void 0?Qp:Jp:jc&&jc in Object(e)?Xp(e):Zp(e)}var Sc=eh;function th(e){return e!=null&&typeof e=="object"}var nh=th,rh=Sc,oh=nh,ih="[object Symbol]";function ah(e){return typeof e=="symbol"||oh(e)&&rh(e)==ih}var ti=ah,sh=Jo,ch=ti,lh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uh=/^\w*$/;function fh(e,t){if(sh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ch(e)?!0:uh.test(e)||!lh.test(e)||t!=null&&e in Object(t)}var dh=fh;function ph(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ec=ph,hh=Sc,vh=Ec,_h="[object AsyncFunction]",gh="[object Function]",wh="[object GeneratorFunction]",mh="[object Proxy]";function yh(e){if(!vh(e))return!1;var t=hh(e);return t==gh||t==wh||t==_h||t==mh}var bh=yh,xh=Qo,kh=xh["__core-js_shared__"],$h=kh,ni=$h,Cc=function(){var e=/[^.]+$/.exec(ni&&ni.keys&&ni.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jh(e){return!!Cc&&Cc in e}var Sh=jh,Eh=Function.prototype,Ch=Eh.toString;function Oh(e){if(e!=null){try{return Ch.call(e)}catch{}try{return e+""}catch{}}return""}var Ah=Oh,Th=bh,Ph=Sh,Rh=Ec,Dh=Ah,Nh=/[\\^$.*+?()[\]{}|]/g,Lh=/^\[object .+?Constructor\]$/,Mh=Function.prototype,Ih=Object.prototype,Fh=Mh.toString,Hh=Ih.hasOwnProperty,Uh=RegExp("^"+Fh.call(Hh).replace(Nh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Vh(e){if(!Rh(e)||Ph(e))return!1;var t=Th(e)?Uh:Lh;return t.test(Dh(e))}var zh=Vh;function Wh(e,t){return e==null?void 0:e[t]}var Bh=Wh,Yh=zh,Kh=Bh;function qh(e,t){var n=Kh(e,t);return Yh(n)?n:void 0}var Oc=qh,Gh=Oc,Xh=Gh(Object,"create"),_r=Xh,Ac=_r;function Zh(){this.__data__=Ac?Ac(null):{},this.size=0}var Jh=Zh;function Qh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ev=Qh,tv=_r,nv="__lodash_hash_undefined__",rv=Object.prototype,ov=rv.hasOwnProperty;function iv(e){var t=this.__data__;if(tv){var n=t[e];return n===nv?void 0:n}return ov.call(t,e)?t[e]:void 0}var av=iv,sv=_r,cv=Object.prototype,lv=cv.hasOwnProperty;function uv(e){var t=this.__data__;return sv?t[e]!==void 0:lv.call(t,e)}var fv=uv,dv=_r,pv="__lodash_hash_undefined__";function hv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=dv&&t===void 0?pv:t,this}var vv=hv,_v=Jh,gv=ev,wv=av,mv=fv,yv=vv;function Gt(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])}}Gt.prototype.clear=_v,Gt.prototype.delete=gv,Gt.prototype.get=wv,Gt.prototype.has=mv,Gt.prototype.set=yv;var bv=Gt;function xv(){this.__data__=[],this.size=0}var kv=xv;function $v(e,t){return e===t||e!==e&&t!==t}var jv=$v,Sv=jv;function Ev(e,t){for(var n=e.length;n--;)if(Sv(e[n][0],t))return n;return-1}var gr=Ev,Cv=gr,Ov=Array.prototype,Av=Ov.splice;function Tv(e){var t=this.__data__,n=Cv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Av.call(t,n,1),--this.size,!0}var Pv=Tv,Rv=gr;function Dv(e){var t=this.__data__,n=Rv(t,e);return n<0?void 0:t[n][1]}var Nv=Dv,Lv=gr;function Mv(e){return Lv(this.__data__,e)>-1}var Iv=Mv,Fv=gr;function Hv(e,t){var n=this.__data__,r=Fv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Uv=Hv,Vv=kv,zv=Pv,Wv=Nv,Bv=Iv,Yv=Uv;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=Vv,Xt.prototype.delete=zv,Xt.prototype.get=Wv,Xt.prototype.has=Bv,Xt.prototype.set=Yv;var Kv=Xt,qv=Oc,Gv=Qo,Xv=qv(Gv,"Map"),Zv=Xv,Tc=bv,Jv=Kv,Qv=Zv;function e_(){this.size=0,this.__data__={hash:new Tc,map:new(Qv||Jv),string:new Tc}}var t_=e_;function n_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var r_=n_,o_=r_;function i_(e,t){var n=e.__data__;return o_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var wr=i_,a_=wr;function s_(e){var t=a_(this,e).delete(e);return this.size-=t?1:0,t}var c_=s_,l_=wr;function u_(e){return l_(this,e).get(e)}var f_=u_,d_=wr;function p_(e){return d_(this,e).has(e)}var h_=p_,v_=wr;function __(e,t){var n=v_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var g_=__,w_=t_,m_=c_,y_=f_,b_=h_,x_=g_;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=w_,Zt.prototype.delete=m_,Zt.prototype.get=y_,Zt.prototype.has=b_,Zt.prototype.set=x_;var k_=Zt,Pc=k_,$_="Expected a function";function ri(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError($_);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 j_=ri,S_=j_,E_=500;function C_(e){var t=S_(e,function(r){return n.size===E_&&n.clear(),r}),n=t.cache;return t}var O_=C_,A_=O_,T_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P_=/\\(\\)?/g,R_=A_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(T_,function(n,r,o,i){t.push(o?i.replace(P_,"$1"):r||n)}),t}),D_=R_;function N_(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 L_=N_,Rc=ei,M_=L_,I_=Jo,F_=ti,H_=1/0,Dc=Rc?Rc.prototype:void 0,Nc=Dc?Dc.toString:void 0;function Lc(e){if(typeof e=="string")return e;if(I_(e))return M_(e,Lc)+"";if(F_(e))return Nc?Nc.call(e):"";var t=e+"";return t=="0"&&1/e==-H_?"-0":t}var U_=Lc,V_=U_;function z_(e){return e==null?"":V_(e)}var W_=z_,B_=Jo,Y_=dh,K_=D_,q_=W_;function G_(e,t){return B_(e)?e:Y_(e,t)?[e]:K_(q_(e))}var X_=G_,Z_=ti,J_=1/0;function Q_(e){if(typeof e=="string"||Z_(e))return e;var t=e+"";return t=="0"&&1/e==-J_?"-0":t}var eg=Q_,tg=X_,ng=eg;function rg(e,t){t=tg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ng(t[n++])];return n&&n==r?e:void 0}var og=rg,ig=og;function ag(e,t,n){var r=e==null?void 0:ig(e,t);return r===void 0?n:r}var sg=ag;const cg=Sd(sg),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=cg(e.raw,t.key);return t.transform?t.transform(n):n},lg=({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],ug=1e3*60*60*24*7,fg=({job:e,config:t})=>{var u,d,c,p;const n=t.subheading?oi({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(f=>Ic(oi({job:e,property:f}))).filter(Boolean),o=Ic((u=t.overrides)!=null&&u.salary?oi({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(d=t.overrides)!=null&&d.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,l=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*ug:!1;return w("a",{onMouseEnter:(c=t.overrides)==null?void 0:c.onMouseEnter,onClick:(p=t.overrides)==null?void 0:p.onClick,href:a,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(lg,{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(),l&&i!=="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"})]})]}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="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:o.map((f,h)=>w("span",{class:Ge({variant:"monetaryWeak",size:"xs"}),children:f},h))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(f=>w("li",{class:Ge({size:"xs",class:"max-w-full truncate"}),children:f},f))})]})]}),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"})})]})},dg=({state:e,fetchNextPage:t,config:n})=>e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:nr}).map((r,o)=>w("li",{children:w(Fc,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:kn({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),pg=({pagination:e})=>(ge(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),hg=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=be(1);return w(F,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return w($n,{Fallback:dt,children:w(vg,{appliedFilters:e,apiClient:t,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},vg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{keyword$:d}=Tt,{data:c,error:p,state:f,swr:h}=ho(Zo(lr({filter:e,baseKey:r.toString(),keyword:d.value}),()=>as({apiClient:t,logger:n,filters:e,page:r,keyword:d.value}),{...vo,fallbackData:u}));switch(f){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:nr}).map((v,g)=>w("li",{children:w(Fc,{seed:g,animationDelay:(g-nr)*.1,config:s})},g))})]});case"error":return w(dt,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:p}),resetError:()=>h.mutate()});case"revalidating":case"loaded":{if(ge(c.pagination.current_page===r,"Received wrong page from server"),c.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 v=c.pagination.last_page!==c.pagination.current_page;return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:pg({pagination:c.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:c.results.map(g=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:f==="revalidating"?.33:1},children:w(fg,{job:g,config:s})},g.id))}),v&&i&&w(dg,{state:f,fetchNextPage:a,config:s})]})}default:me(f)}},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:me(r.select)}return n},{}),_g=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=ke(null),[d,c]=be(()=>({default:!0,filters:ii(n,"defaultValue")})),{keyword$:p}=Tt;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($n,{Fallback:dt,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Rp,{onKeywordChange:s}),w(Tp,{appliedFilters:d.filters,onFilterValueChange:(f,h)=>{c(v=>(a==null||a({...v.filters,[f]:h}),{default:!1,filters:{...v.filters,[f]:h}}))},properties:n,parentRef:u,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(ud,{appliedFilters:d.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($n,{Fallback:dt,children:w(hg,{appliedFilters:d.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:d.default?i==null?void 0:i.jobs:void 0},lr({filter:d.filters,baseKey:"resultsSection",keyword:p.value}))})})})]})})},gg=`#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 .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
- `;var wg=["1","2","3","4","5","6","7","8","9","10","11","12"],mg={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]}},yg=(e,t=1,n)=>r=>{const[o,i]=mg[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ai=e=>{const t=yg(e.hue,e.chroma,e.mode);return Object.fromEntries(wg.map(n=>[e.prefix+n,e.transform(t(n))]))},si=e=>e,bg=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)},xg=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},kg=()=>({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}}),d=bg(ci(s,l,u)),c=([p,f],h)=>{const v=[h,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(g=>c(g,v)):[[r.getToken("declaration",v),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).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"],$g=kg().core(({theme:e})=>{var t,n;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:140,chroma:e.accent.chroma,mode:e.mode,transform:si})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,d,c,p,f,h,v,g,_,y,b,m,x,k,O,$,C,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":((d=o.tag)==null?void 0:d.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":((h=(f=o.filter)==null?void 0:f.weight)==null?void 0:h.toString())??((v=o.weight)==null?void 0:v.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":((b=(y=o.tag)==null?void 0:y.weight)==null?void 0:b.toString())??((m=o.weight)==null?void 0:m.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((O=o.weight)==null?void 0:O.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(C=o.input)==null?void 0:C.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(()=>({})),jg=xg({prefix:"i-"}),Sg=e=>{const t=$g.from({theme:e,getToken:jg}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ns} {
18
+ `;var wg=["1","2","3","4","5","6","7","8","9","10","11","12"],mg={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]}},yg=(e,t=1,n)=>r=>{const[o,i]=mg[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ai=e=>{const t=yg(e.hue,e.chroma,e.mode);return Object.fromEntries(wg.map(n=>[e.prefix+n,e.transform(t(n))]))},si=e=>e,bg=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)},xg=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},kg=()=>({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}}),d=bg(ci(s,l,u)),c=([p,f],h)=>{const v=[h,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(g=>c(g,v)):[[r.getToken("declaration",v),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).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"],$g=kg().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,d,c,p,f,h,v,g,_,y,b,m,x,k,O,$,C,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":((d=o.tag)==null?void 0:d.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":((h=(f=o.filter)==null?void 0:f.weight)==null?void 0:h.toString())??((v=o.weight)==null?void 0:v.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":((b=(y=o.tag)==null?void 0:y.weight)==null?void 0:b.toString())??((m=o.weight)==null?void 0:m.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((O=o.weight)==null?void 0:O.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(C=o.input)==null?void 0:C.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(()=>({})),jg=xg({prefix:"i-"}),Sg=e=>{const t=$g.from({theme:e,getToken:jg}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ns} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
21
21
  }`},Eg=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ts}`);return ge(e,`Element with id ${ts} not found.`),e}}))(),Cg=()=>wa(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return oe($n,{Fallback:Jf},[[oe("style",{id:"inploi-job-search-styles"},gg),oe("style",{id:"inploi-job-search-theme"},Sg(o.theme))],oe(ed,{theme:o.theme}),oe(_g,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,params:o})])};return{prerender:async o=>{o.defaultSearchKeyword&&(Tt.keyword$.value=o.defaultSearchKeyword);const i=o.withData?await as({filters:ii(o.properties),apiClient:e,logger:t,keyword:void 0}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:yf(oe(F,{},oe(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?oo:Vt;o.defaultSearchKeyword&&(Tt.keyword$.value=o.defaultSearchKeyword),ge(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(oe(r,{params:o}),Eg.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Cg;function Hc(e,t){if(!e)throw new Error(t)}var Rn,P,Uc,Vc,Pt,zc,Wc,fi,di,pi,hi,Bc,Dn={},Yc=[],Og=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,br=Array.isArray;function Ze(e,t){for(var n in t)e[n]=t[n];return e}function Kc(e){var t=e.parentNode;t&&t.removeChild(e)}function A(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?Rn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return Nn(e,a,r,o,null)}function Nn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Uc,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function qc(){return{current:null}}function re(e){return e.children}function Oe(e,t){this.props=e,this.context=t}function Rt(e,t){if(t==null)return e.__?Rt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Rt(e):null}function Gc(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Gc(e)}}function vi(e){(!e.__d&&(e.__d=!0)&&Pt.push(e)&&!xr.__r++||zc!==P.debounceRendering)&&((zc=P.debounceRendering)||Wc)(xr)}function xr(){var e,t,n,r,o,i,a,s;for(Pt.sort(fi);e=Pt.shift();)e.__d&&(t=Pt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ze({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),_i(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Rt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,el(a,r,s),r.__e!=i&&Gc(r)),Pt.length>t&&Pt.sort(fi));xr.__r=0}function Xc(e,t,n,r,o,i,a,s,l,u,d){var c,p,f,h,v,g=r&&r.__k||Yc,_=t.length;for(n.__d=l,Ag(n,t,g),l=n.__d,c=0;c<_;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?Dn:g[f.__i]||Dn,f.__i=c,_i(e,f,p,o,i,a,s,l,u,d),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&gi(p.ref,null,f),d.push(f.ref,f.__c||h,f)),v==null&&h!=null&&(v=h),65536&f.__u||p.__k===f.__k?(l&&typeof f.type=="string"&&!e.contains(l)&&(l=Rt(p)),l=Zc(f,l,e)):typeof f.type=="function"&&f.__d!==void 0?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=v}function Ag(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,d=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Nn(null,o,null,null,null):br(o)?Nn(re,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Nn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Tg(o,n,a,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?d>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Rt(i)),wi(i,i,!1),n[a]=null,d--);if(d)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Rt(i)),wi(i,i))}function Zc(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Zc(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Je(e,t){return t=t||[],e==null||typeof e=="boolean"||(br(e)?e.some(function(n){Je(n,t)}):t.push(e)),t}function Tg(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Jc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Og.test(t)?n:n+"px"}function kr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Jc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Jc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=di,e.addEventListener(t,i?hi:pi,i)):e.removeEventListener(t,i?hi:pi,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Qc(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=di++;else if(t.t<n.u)return;return n(P.event?P.event(t):t)}}}function _i(e,t,n,r,o,i,a,s,l,u){var d,c,p,f,h,v,g,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(d=P.__b)&&d(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(d=j.contextType)&&r[d.__c],m=d?b?b.props.value:d.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new Oe(_,m),c.constructor=j,c.render=Rg),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ze({},c.__s)),Ze(c.__s,j.getDerivedStateFromProps(_,c.__s))),f=c.props,h=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,h,v)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=P.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),d=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++O<25);c.state=c.__s,c.getChildContext!=null&&(r=Ze(Ze({},r),c.getChildContext())),y&&!p&&c.getSnapshotBeforeUpdate!=null&&(v=c.getSnapshotBeforeUpdate(f,h)),Xc(e,br(C=d!=null&&d.type===re&&d.key==null?d.props.children:d)?C:[C],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),P.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Pg(n.__e,t,n,r,o,i,a,l,u);(d=P.diffed)&&d(t)}function el(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)gi(n[r],n[++r],n[++r]);P.__c&&P.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function Pg(e,t,n,r,o,i,a,s,l){var u,d,c,p,f,h,v,g=n.props,_=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((f=i[u])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){e=f,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&Rn.call(e.childNodes),g=n.props||Dn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(f=e.attributes[u]).name]=f.value;for(u in g)if(f=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=f;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;kr(e,u,null,f,o)}}for(u in _)f=_[u],u=="children"?p=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?h=f:u=="checked"?v=f:u==="key"||s&&typeof f!="function"||g[u]===f||kr(e,u,f,g[u],o);if(d)s||c&&(d.__html===c.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),Xc(e,br(p)?p:[p],t,n,r,y==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Rt(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Kc(i[u]);s||(u="value",h!==void 0&&(h!==e[u]||y==="progress"&&!h||y==="option"&&h!==g[u])&&kr(e,u,h,g[u],o),u="checked",v!==void 0&&v!==e[u]&&kr(e,u,v,g[u],o))}return e}function gi(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){P.__e(r,n)}}function wi(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||gi(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&wi(r[o],t,n||typeof e.type!="function");n||e.__e==null||Kc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Rg(e,t,n){return this.constructor(e,n)}function Jt(e,t,n){var r,o,i,a;P.__&&P.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],_i(t,e=(!r&&n||t).__k=A(re,null,[e]),o||Dn,Dn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Rn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),el(i,e,a)}function mi(e,t){Jt(e,t,mi)}function Dg(e,t,n){var r,o,i,a,s=Ze({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?Rn.call(arguments,2):n),Nn(e.type,s,r||e.key,o||e.ref,null)}function Ln(e,t){var n={__c:t="__cC"+Bc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,vi(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Rn=Yc.slice,P={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Uc=0,Vc=function(e){return e!=null&&e.constructor==null},Oe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ze({},this.state),typeof e=="function"&&(e=e(Ze({},n),this.props)),e&&Ze(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),vi(this))},Oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),vi(this))},Oe.prototype.render=re,Pt=[],Wc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fi=function(e,t){return e.__v.__b-t.__v.__b},xr.__r=0,di=0,pi=Qc(!1),hi=Qc(!0),Bc=0;var tl=/[\s\n\\/='"\0<>]/,nl=/^(xlink|xmlns|xml)([A-Z])/,Ng=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,Lg=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Mg=/["&<]/;function $r(e){if(e.length===0||Mg.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var rl={},Ig=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Fg=/[A-Z]/g;function Hg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:rl[n]||(rl[n]=n.replace(Fg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Ig.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var yi,Dt,Mn,In,ol=[],il=Array.isArray,bi=Object.assign;function Ug(e,t,n){var r=P.__s;P.__s=!0,yi=P.__b,Dt=P.diffed,Mn=P.__r,In=P.unmount;var o=A(re,null);o.__k=[e];try{var i=He(e,t||sl,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{P.__c&&P.__c(e,ol),P.__s=r,ol.length=0}}function al(){this.__d=!0}var sl={};function cl(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=sl),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=bi({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),Mn&&Mn(e),n.render(n.props,n.state,t)}function He(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":$r(e+"");if(il(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var d=e[u];if(d!=null&&typeof d!="boolean"){var c,p=He(d,t,n,r,o,i,a);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,yi&&yi(e);var f,h,v,g=e.type,_=e.props,y=t;if(typeof g=="function"){if(g===re){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!il(x)?b+=x:b+=He(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+$r(_.UNSTABLE_comment||"")+"-->";h=_.children}else{if((f=g.contextType)!=null){var k=t[f.__c];y=k?k.props.value:f.__}if(g.prototype&&typeof g.prototype.render=="function")h=cl(e,y),v=e.__c;else{e.__c=v={__v:e,props:_,context:y,setState:al,forceUpdate:al,__d:!0,__h:[]};for(var O=0;v.__d&&O++<25;)v.__d=!1,Mn&&Mn(e),h=g.call(v,_,y);v.__d=!0}if(v.getChildContext!=null&&(t=bi({},t,v.getChildContext())),(g.getDerivedStateFromError||v.componentDidCatch)&&P.errorBoundaries){var $="";h=h!=null&&h.type===re&&h.key==null?h.props.children:h;try{return $=He(h,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(v.__s=g.getDerivedStateFromError(q)),v.componentDidCatch&&v.componentDidCatch(q,{}),v.__d&&(h=cl(e,t),(v=e.__c).getChildContext!=null&&(t=bi({},t,v.getChildContext())),$=He(h=h!=null&&h.type===re&&h.key==null?h.props.children:h,t,n,r,e,i,a)),$}finally{Dt&&Dt(e),e.__=null,In&&In(e)}}}h=h!=null&&h.type===re&&h.key==null&&h.props.tpl==null?h.props.children:h;try{var C=He(h,t,n,r,e,i,a);return Dt&&Dt(e),e.__=null,P.unmount&&P.unmount(e),C}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return He(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=P.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return He(h,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return He(h,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=Hg(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(nl.test(S))S=S.replace(nl,"$1:$2").toLowerCase();else{if(tl.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?Lg.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):Ng.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+$r(E+"")+'"')}if(tl.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=$r(L):L!=null&&L!==!1&&L!==!0&&(M=He(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Dt&&Dt(e),e.__=null,In&&In(e),!M&&Vg.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var Vg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),zg=0;function R(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--zg,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}const Wg={bell:R("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:R("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":R("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},Bg=({theme:e})=>R("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:R("defs",{children:Object.entries(Wg).map(([t,n])=>R("symbol",{id:`i-icon-${t}`,children:R("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),ll=({name:e,...t})=>R("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:R("use",{href:`#i-icon-${e}`})});function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}var Qe,Y,xi,ul,Qt=0,fl=[],ee=P,dl=ee.__b,pl=ee.__r,hl=ee.diffed,vl=ee.__c,_l=ee.unmount,gl=ee.__;function Nt(e,t){ee.__h&&ee.__h(Y,e,Qt||t),Qt=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function K(e){return Qt=1,Fn(ml,e)}function Fn(e,t,n){var r=Nt(Qe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ml(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};Y.u=!0;var i=Y.shouldComponentUpdate,a=Y.componentWillUpdate;Y.componentWillUpdate=function(s,l,u){if(this.__e){var d=i;i=void 0,o(s,l,u),i=d}a&&a.call(this,s,l,u)},Y.shouldComponentUpdate=o}return r.__N||r.__}function J(e,t){var n=Nt(Qe++,3);!ee.__s&&Ei(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function _t(e,t){var n=Nt(Qe++,4);!ee.__s&&Ei(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function V(e){return Qt=5,_e(function(){return{current:e}},[])}function ki(e,t,n){Qt=6,_t(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function _e(e,t){var n=Nt(Qe++,7);return Ei(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return Qt=8,_e(function(){return e},t)}function Hn(e){var t=Y.context[e.__c],n=Nt(Qe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function $i(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function Yg(e){var t=Nt(Qe++,10),n=K();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function ji(){var e=Nt(Qe++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Kg(){for(var e;e=fl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(jr),e.__H.__h.forEach(Si),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Y=null,dl&&dl(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),gl&&gl(e,t)},ee.__r=function(e){pl&&pl(e),Qe=0;var t=(Y=e.__c).__H;t&&(xi===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(jr),t.__h.forEach(Si),t.__h=[],Qe=0)),xi=Y},ee.diffed=function(e){hl&&hl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fl.push(t)!==1&&ul===ee.requestAnimationFrame||((ul=ee.requestAnimationFrame)||qg)(Kg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),xi=Y=null},ee.__c=function(e,t){t.some(function(n){try{n.__h.forEach(jr),n.__h=n.__h.filter(function(r){return!r.__||Si(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(r,n.__v)}}),vl&&vl(e,t)},ee.unmount=function(e){_l&&_l(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{jr(r)}catch(o){t=o}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var wl=typeof requestAnimationFrame=="function";function qg(e){var t,n=function(){clearTimeout(r),wl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);wl&&(t=requestAnimationFrame(n))}function jr(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function Si(e){var t=Y;e.__c=e.__(),Y=t}function Ei(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ml(e,t){return typeof t=="function"?t(e):t}function yl(e,t){for(var n in t)e[n]=t[n];return e}function Ci(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Sr(e,t){this.props=e,this.context=t}function bl(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Ci(this.props,o)}function r(o){return this.shouldComponentUpdate=n,A(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Sr.prototype=new Oe).isPureReactComponent=!0,Sr.prototype.shouldComponentUpdate=function(e,t){return Ci(this.props,e)||Ci(this.state,t)};var xl=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xl&&xl(e)};var Gg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(n){var r=yl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Gg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var kl=function(e,t){return e==null?null:Je(Je(e).map(t))},et={map:kl,forEach:kl,count:function(e){return e?Je(e).length:0},only:function(e){var t=Je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Je},Xg=P.__e;P.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Xg(e,t,n,r)};var $l=P.unmount;function jl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=yl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return jl(r,t,n)})),e}function Sl(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Sl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Un(){this.__u=0,this.t=null,this.__b=null}function El(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cl(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return A(n,i)}return o.displayName="Lazy",o.__f=!0,o}function en(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),$l&&$l(e)},(Un.prototype=new Oe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=El(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Sl(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Un.prototype.componentWillUnmount=function(){this.t=[]},Un.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=jl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(re,null,e.fallback);return o&&(o.__u&=-33),[A(re,null,t.__a?null:e.children),o]};var Ol=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Zg(e){return this.getChildContext=function(){return e.context},e.children}function Jg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Jt(A(Zg,{context:t.context},e.__v),t.l)}function Al(e,t){var n=A(Jg,{__v:e,i:t});return n.containerInfo=t,n}(en.prototype=new Oe).__a=function(e){var t=this,n=El(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ol(t,e,r)):o()};n?n(i):i()}},en.prototype.render=function(e){this.u=null,this.o=new Map;var t=Je(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},en.prototype.componentDidUpdate=en.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Ol(e,n,t)})};var Tl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Qg=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,e0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,t0=/[A-Z0-9]/g,n0=typeof document<"u",r0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Pl(e,t,n){return t.__k==null&&(t.textContent=""),Jt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Rl(e,t,n){return mi(e,t),typeof n=="function"&&n(),e?e.__c:null}Oe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Oe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Dl=P.event;function o0(){}function i0(){return this.cancelBubble}function a0(){return this.defaultPrevented}P.event=function(e){return Dl&&(e=Dl(e)),e.persist=o0,e.isPropagationStopped=i0,e.isDefaultPrevented=a0,e.nativeEvent=e};var Oi,s0={enumerable:!1,configurable:!0,get:function(){return this.class}},Nl=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||n0&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||r0(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":e0.test(i)?i=s:r.indexOf("-")===-1&&Qg.test(i)?i=i.replace(t0,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Je(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Je(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",s0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Tl,Nl&&Nl(e)};var Ll=P.__r;P.__r=function(e){Ll&&Ll(e),Oi=e.__c};var Ml=P.diffed;P.diffed=function(e){Ml&&Ml(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Oi=null};var Il={ReactCurrentDispatcher:{current:{readContext:function(e){return Oi.__n[e.__c].props.value},useCallback:ae,useContext:Hn,useDebugValue:$i,useDeferredValue:Ti,useEffect:J,useId:ji,useImperativeHandle:ki,useInsertionEffect:Ri,useLayoutEffect:_t,useMemo:_e,useReducer:Fn,useRef:V,useState:K,useSyncExternalStore:Di,useTransition:Pi}}},c0="17.0.2";function Fl(e){return A.bind(null,e)}function tt(e){return!!e&&e.$$typeof===Tl}function Hl(e){return tt(e)&&e.type===re}function Ul(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function tn(e){return tt(e)?Dg.apply(null,arguments):e}function Vl(e){return!!e.__k&&(Jt(null,e),!0)}function zl(e){return e&&(e.base||e.nodeType===1&&e)||null}var Wl=function(e,t){return e(t)},Vn=function(e,t){return e(t)},Bl=re;function Ai(e){e()}function Ti(e){return e}function Pi(){return[!1,Ai]}var Ri=_t,Yl=tt;function Di(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return _t(function(){o.__=n,o.v=t,Ni(o)&&i({h:o})},[e,n,t]),J(function(){return Ni(o)&&i({h:o}),e(function(){Ni(o)&&i({h:o})})},[e]),n}function Ni(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Kl={useState:K,useId:ji,useReducer:Fn,useEffect:J,useLayoutEffect:_t,useInsertionEffect:Ri,useTransition:Pi,useDeferredValue:Ti,useSyncExternalStore:Di,startTransition:Ai,useRef:V,useImperativeHandle:ki,useMemo:_e,useCallback:ae,useContext:Hn,useDebugValue:$i,version:"17.0.2",Children:et,render:Pl,hydrate:Rl,unmountComponentAtNode:Vl,createPortal:Al,createElement:A,createContext:Ln,createFactory:Fl,cloneElement:tn,createRef:qc,Fragment:re,isValidElement:tt,isElement:Yl,isFragment:Hl,isMemo:Ul,findDOMNode:zl,Component:Oe,PureComponent:Sr,memo:bl,forwardRef:le,flushSync:Vn,unstable_batchedUpdates:Wl,StrictMode:Bl,Suspense:Un,SuspenseList:en,lazy:Cl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Il};const l0=Object.freeze(Object.defineProperty({__proto__:null,Children:et,Component:Oe,Fragment:re,PureComponent:Sr,StrictMode:Bl,Suspense:Un,SuspenseList:en,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Il,cloneElement:tn,createContext:Ln,createElement:A,createFactory:Fl,createPortal:Al,createRef:qc,default:Kl,findDOMNode:zl,flushSync:Vn,forwardRef:le,hydrate:Rl,isElement:Yl,isFragment:Hl,isMemo:Ul,isValidElement:tt,lazy:Cl,memo:bl,render:Pl,startTransition:Ai,unmountComponentAtNode:Vl,unstable_batchedUpdates:Wl,useCallback:ae,useContext:Hn,useDebugValue:$i,useDeferredValue:Ti,useEffect:J,useErrorBoundary:Yg,useId:ji,useImperativeHandle:ki,useInsertionEffect:Ri,useLayoutEffect:_t,useMemo:_e,useReducer:Fn,useRef:V,useState:K,useSyncExternalStore:Di,useTransition:Pi,version:c0},Symbol.toStringTag,{value:"Module"}));function Lt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function u0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ql(...e){return t=>e.forEach(n=>u0(n,t))}function Mt(...e){return ae(ql(...e),e)}function Gl(e,t=[]){let n=[];function r(i,a){const s=Ln(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:f,...h}=c,v=(p==null?void 0:p[e][l])||s,g=_e(()=>h,Object.values(h));return A(v.Provider,{value:g},f)}function d(c,p){const f=(p==null?void 0:p[e][l])||s,h=Hn(f);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(a=>Ln(a));return function(s){const l=(s==null?void 0:s[e])||i;return _e(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,f0(o,...t)]}function f0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...s,...c}},{});return _e(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Li=le((e,t)=>{const{children:n,...r}=e,o=et.toArray(n),i=o.find(p0);if(i){const a=i.props.children,s=o.map(l=>l===i?et.count(a)>1?et.only(null):tt(a)?a.props.children:null:l);return A(Mi,pe({},r,{ref:t}),tt(a)?tn(a,void 0,s):null)}return A(Mi,pe({},r,{ref:t}),n)});Li.displayName="Slot";const Mi=le((e,t)=>{const{children:n,...r}=e;return tt(n)?tn(n,{...h0(r,n.props),ref:t?ql(t,n.ref):n.ref}):et.count(n)>1?et.only(null):null});Mi.displayName="SlotClone";const d0=({children:e})=>A(re,null,e);function p0(e){return tt(e)&&e.type===d0}function h0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const nn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=le((r,o)=>{const{asChild:i,...a}=r,s=i?Li:t;return J(()=>{window[Symbol.for("radix-ui")]=!0},[]),A(s,pe({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function v0(e,t){e&&Vn(()=>e.dispatchEvent(t))}function gt(e){const t=V(e);return J(()=>{t.current=e}),_e(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function _0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e);J(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Ii="dismissableLayer.update",g0="dismissableLayer.pointerDownOutside",w0="dismissableLayer.focusOutside";let Xl;const m0=Ln({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y0=le((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=Hn(m0),[c,p]=K(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=K({}),v=Mt(t,$=>p($)),g=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(_),b=c?g.indexOf(c):-1,m=d.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,k=b0($=>{const C=$.target,j=[...d.branches].some(D=>D.contains(C));!x||j||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},f),O=x0($=>{const C=$.target;[...d.branches].some(D=>D.contains(C))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},f);return _0($=>{b===d.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},f),J(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Xl=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),Zl(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Xl)}},[c,f,r,d]),J(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),Zl())},[c,d]),J(()=>{const $=()=>h({});return document.addEventListener(Ii,$),()=>document.removeEventListener(Ii,$)},[]),A(nn.div,pe({},u,{ref:v,style:{pointerEvents:m?x?"auto":"none":void 0,...e.style},onFocusCapture:Lt(e.onFocusCapture,O.onFocusCapture),onBlurCapture:Lt(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:Lt(e.onPointerDownCapture,k.onPointerDownCapture)}))});function b0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=V(!1),o=V(()=>{});return J(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Jl(g0,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function x0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=V(!1);return J(()=>{const o=i=>{i.target&&!r.current&&Jl(w0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Zl(){const e=new CustomEvent(Ii);document.dispatchEvent(e)}function Jl(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?v0(o,i):o.dispatchEvent(i)}let Fi=0;function k0(){J(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Ql()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Ql()),Fi++,()=>{Fi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fi--}},[])}function Ql(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Hi="focusScope.autoFocusOnMount",Ui="focusScope.autoFocusOnUnmount",eu={bubbles:!1,cancelable:!0},$0=le((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=K(null),u=gt(o),d=gt(i),c=V(null),p=Mt(t,v=>l(v)),f=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;J(()=>{if(r){let v=function(b){if(f.paused||!s)return;const m=b.target;s.contains(m)?c.current=m:wt(c.current,{select:!0})},g=function(b){if(f.paused||!s)return;const m=b.relatedTarget;m!==null&&(s.contains(m)||wt(c.current,{select:!0}))},_=function(b){if(document.activeElement===document.body)for(const x of b)x.removedNodes.length>0&&wt(s)};document.addEventListener("focusin",v),document.addEventListener("focusout",g);const y=new MutationObserver(_);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",g),y.disconnect()}}},[r,s,f.paused]),J(()=>{if(s){ru.add(f);const v=document.activeElement;if(!s.contains(v)){const _=new CustomEvent(Hi,eu);s.addEventListener(Hi,u),s.dispatchEvent(_),_.defaultPrevented||(j0(A0(tu(s)),{select:!0}),document.activeElement===v&&wt(s))}return()=>{s.removeEventListener(Hi,u),setTimeout(()=>{const _=new CustomEvent(Ui,eu);s.addEventListener(Ui,d),s.dispatchEvent(_),_.defaultPrevented||wt(v??document.body,{select:!0}),s.removeEventListener(Ui,d),ru.remove(f)},0)}}},[s,u,d,f]);const h=ae(v=>{if(!n&&!r||f.paused)return;const g=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,_=document.activeElement;if(g&&_){const y=v.currentTarget,[b,m]=S0(y);b&&m?!v.shiftKey&&_===m?(v.preventDefault(),n&&wt(b,{select:!0})):v.shiftKey&&_===b&&(v.preventDefault(),n&&wt(m,{select:!0})):_===y&&v.preventDefault()}},[n,r,f.paused]);return A(nn.div,pe({tabIndex:-1},a,{ref:p,onKeyDown:h}))});function j0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(wt(r,{select:t}),document.activeElement!==n)return}function S0(e){const t=tu(e),n=nu(t,e),r=nu(t.reverse(),e);return[n,r]}function tu(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nu(e,t){for(const n of e)if(!E0(n,{upTo:t}))return n}function E0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function C0(e){return e instanceof HTMLInputElement&&"select"in e}function wt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&C0(e)&&t&&e.select()}}const ru=O0();function O0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ou(e,t),e.unshift(t)},remove(t){var n;e=ou(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function ou(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function A0(e){return e.filter(t=>t.tagName!=="A")}const rn=globalThis!=null&&globalThis.document?_t:()=>{},T0=l0["useId".toString()]||(()=>{});let P0=0;function R0(e){const[t,n]=K(T0());return rn(()=>{e||n(r=>r??String(P0++))},[e]),e||(t?`radix-${t}`:"")}const D0=["top","right","bottom","left"],Ue=Math.min,$e=Math.max,Er=Math.round,Cr=Math.floor,mt=e=>({x:e,y:e}),N0={left:"right",right:"left",bottom:"top",top:"bottom"},L0={start:"end",end:"start"};function Vi(e,t,n){return $e(e,Ue(t,n))}function nt(e,t){return typeof e=="function"?e(t):e}function rt(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function zi(e){return e==="x"?"y":"x"}function Wi(e){return e==="y"?"height":"width"}function yt(e){return["top","bottom"].includes(rt(e))?"y":"x"}function Bi(e){return zi(yt(e))}function M0(e,t,n){n===void 0&&(n=!1);const r=on(e),o=Bi(e),i=Wi(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Or(a)),[a,Or(a)]}function I0(e){const t=Or(e);return[Yi(e),t,Yi(t)]}function Yi(e){return e.replace(/start|end/g,t=>L0[t])}function F0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function H0(e,t,n,r){const o=on(e);let i=F0(rt(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Yi)))),i}function Or(e){return e.replace(/left|right|bottom|top/g,t=>N0[t])}function U0(e){return{top:0,right:0,bottom:0,left:0,...e}}function iu(e){return typeof e!="number"?U0(e):{top:e,right:e,bottom:e,left:e}}function Ar(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function au(e,t,n){let{reference:r,floating:o}=e;const i=yt(t),a=Bi(t),s=Wi(a),l=rt(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-o.width,y:c};break;default:f={x:r.x,y:r.y}}switch(on(t)){case"start":f[a]-=p*(n&&u?-1:1);break;case"end":f[a]+=p*(n&&u?-1:1);break}return f}const V0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=au(u,r,l),p=r,f={},h=0;for(let v=0;v<s.length;v++){const{name:g,fn:_}=s[v],{x:y,y:b,data:m,reset:x}=await _({x:d,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});d=y??d,c=b??c,f={...f,[g]:{...f[g],...m}},x&&h<=50&&(h++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:d,y:c}=au(u,p,l)),v=-1)}return{x:d,y:c,placement:p,strategy:o,middlewareData:f}};async function zn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:f=0}=nt(t,e),h=iu(f),g=s[p?c==="floating"?"reference":"floating":c],_=Ar(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),y=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),m=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},x=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:l}):y);return{top:(_.top-x.top+h.top)/m.y,bottom:(x.bottom-_.bottom+h.bottom)/m.y,left:(_.left-x.left+h.left)/m.x,right:(x.right-_.right+h.right)/m.x}}const z0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=nt(e,t)||{};if(u==null)return{};const c=iu(d),p={x:n,y:r},f=Bi(o),h=Wi(f),v=await a.getDimensions(u),g=f==="y",_=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",m=i.reference[h]+i.reference[f]-p[f]-i.floating[h],x=p[f]-i.reference[f],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let O=k?k[b]:0;(!O||!await(a.isElement==null?void 0:a.isElement(k)))&&(O=s.floating[b]||i.floating[h]);const $=m/2-x/2,C=O/2-v[h]/2-1,j=Ue(c[_],C),D=Ue(c[y],C),I=j,L=O-v[h]-D,N=O/2-v[h]/2+$,M=Vi(I,N,L),S=!l.arrow&&on(o)!=null&&N!==M&&i.reference[h]/2-(N<I?j:D)-v[h]/2<0,E=S?N<I?N-I:N-L:0;return{[f]:p[f]+E,data:{[f]:M,centerOffset:N-M-E,...S&&{alignmentOffset:E}},reset:S}}}),W0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...g}=nt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=rt(o),y=yt(s),b=rt(s)===s,m=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=p||(b||!v?[Or(s)]:I0(s)),k=h!=="none";!p&&k&&x.push(...H0(s,v,h,m));const O=[s,...x],$=await zn(t,g),C=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&C.push($[_]),c){const N=M0(o,a,m);C.push($[N[0]],$[N[1]])}if(j=[...j,{placement:o,overflows:C}],!C.every(N=>N<=0)){var D,I;const N=(((D=i.flip)==null?void 0:D.index)||0)+1,M=O[N];if(M)return{data:{index:N,overflows:j},reset:{placement:M}};let S=(I=j.filter(E=>E.overflows[0]<=0).sort((E,U)=>E.overflows[1]-U.overflows[1])[0])==null?void 0:I.placement;if(!S)switch(f){case"bestFit":{var L;const E=(L=j.filter(U=>{if(k){const z=yt(U.placement);return z===y||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,q)=>z+q,0)]).sort((U,z)=>U[1]-z[1])[0])==null?void 0:L[0];E&&(S=E);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function su(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function cu(e){return D0.some(t=>e[t]>=0)}const B0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=nt(e,t);switch(r){case"referenceHidden":{const i=await zn(t,{...o,elementContext:"reference"}),a=su(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:cu(a)}}}case"escaped":{const i=await zn(t,{...o,altBoundary:!0}),a=su(i,n.floating);return{data:{escapedOffsets:a,escaped:cu(a)}}}default:return{}}}}};async function Y0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=rt(n),s=on(n),l=yt(n)==="y",u=["left","top"].includes(a)?-1:1,d=i&&l?-1:1,c=nt(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof h=="number"&&(f=s==="end"?h*-1:h),l?{x:f*d,y:p*u}:{x:p*u,y:f*d}}const K0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await Y0(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},q0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:_,y}=g;return{x:_,y}}},...l}=nt(e,t),u={x:n,y:r},d=await zn(t,l),c=yt(rt(o)),p=zi(c);let f=u[p],h=u[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",y=f+d[g],b=f-d[_];f=Vi(y,f,b)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",y=h+d[g],b=h-d[_];h=Vi(y,h,b)}const v=s.fn({...t,[p]:f,[c]:h});return{...v,data:{x:v.x-n,y:v.y-r}}}}},G0=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=nt(e,t),d={x:n,y:r},c=yt(o),p=zi(c);let f=d[p],h=d[c];const v=nt(s,t),g=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const b=p==="y"?"height":"width",m=i.reference[p]-i.floating[b]+g.mainAxis,x=i.reference[p]+i.reference[b]-g.mainAxis;f<m?f=m:f>x&&(f=x)}if(u){var _,y;const b=p==="y"?"width":"height",m=["top","left"].includes(rt(o)),x=i.reference[c]-i.floating[b]+(m&&((_=a.offset)==null?void 0:_[c])||0)+(m?0:g.crossAxis),k=i.reference[c]+i.reference[b]+(m?0:((y=a.offset)==null?void 0:y[c])||0)-(m?g.crossAxis:0);h<x?h=x:h>k&&(h=k)}return{[p]:f,[c]:h}}}},X0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=nt(e,t),l=await zn(t,s),u=rt(n),d=on(n),c=yt(n)==="y",{width:p,height:f}=r.floating;let h,v;u==="top"||u==="bottom"?(h=u,v=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,h=d==="end"?"top":"bottom");const g=f-l.top-l.bottom,_=p-l.left-l.right,y=Ue(f-l[h],g),b=Ue(p-l[v],_),m=!t.middlewareData.shift;let x=y,k=b;if(c?k=d||m?Ue(b,_):_:x=d||m?Ue(y,g):g,m&&!d){const $=$e(l.left,0),C=$e(l.right,0),j=$e(l.top,0),D=$e(l.bottom,0);c?k=p-2*($!==0||C!==0?$+C:$e(l.left,l.right)):x=f-2*(j!==0||D!==0?j+D:$e(l.top,l.bottom))}await a({...t,availableWidth:k,availableHeight:x});const O=await o.getDimensions(i.floating);return p!==O.width||f!==O.height?{reset:{rects:!0}}:{}}}};function an(e){return lu(e)?(e.nodeName||"").toLowerCase():"#document"}function je(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(lu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lu(e){return e instanceof Node||e instanceof je(e).Node}function Pe(e){return e instanceof Element||e instanceof je(e).Element}function Ve(e){return e instanceof HTMLElement||e instanceof je(e).HTMLElement}function uu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof je(e).ShadowRoot}function Wn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Z0(e){return["table","td","th"].includes(an(e))}function Tr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ki(e){const t=qi(),n=Pe(e)?Re(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function J0(e){let t=bt(e);for(;Ve(t)&&!sn(t);){if(Ki(t))return t;if(Tr(t))return null;t=bt(t)}return null}function qi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sn(e){return["html","body","#document"].includes(an(e))}function Re(e){return je(e).getComputedStyle(e)}function Pr(e){return Pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bt(e){if(an(e)==="html")return e;const t=e.assignedSlot||e.parentNode||uu(e)&&e.host||ot(e);return uu(t)?t.host:t}function fu(e){const t=bt(e);return sn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ve(t)&&Wn(t)?t:fu(t)}function Bn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=fu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=je(o);if(i){const s=Gi(a);return t.concat(a,a.visualViewport||[],Wn(o)?o:[],s&&n?Bn(s):[])}return t.concat(o,Bn(o,[],n))}function Gi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function du(e){const t=Re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ve(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Er(n)!==i||Er(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Xi(e){return Pe(e)?e:e.contextElement}function cn(e){const t=Xi(e);if(!Ve(t))return mt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=du(t);let a=(i?Er(n.width):n.width)/r,s=(i?Er(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Q0=mt(0);function pu(e){const t=je(e);return!qi()||!t.visualViewport?Q0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ew(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==je(e)?!1:t}function It(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Xi(e);let a=mt(1);t&&(r?Pe(r)&&(a=cn(r)):a=cn(e));const s=ew(i,n,r)?pu(i):mt(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const p=je(i),f=r&&Pe(r)?je(r):r;let h=p,v=Gi(h);for(;v&&r&&f!==h;){const g=cn(v),_=v.getBoundingClientRect(),y=Re(v),b=_.left+(v.clientLeft+parseFloat(y.paddingLeft))*g.x,m=_.top+(v.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,u*=g.y,d*=g.x,c*=g.y,l+=b,u+=m,h=je(v),v=Gi(h)}}return Ar({width:d,height:c,x:l,y:u})}function tw(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=ot(r),s=t?Tr(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=mt(1);const d=mt(0),c=Ve(r);if((c||!c&&!i)&&((an(r)!=="body"||Wn(a))&&(l=Pr(r)),Ve(r))){const p=It(r);u=cn(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function nw(e){return Array.from(e.getClientRects())}function hu(e){return It(ot(e)).left+Pr(e).scrollLeft}function rw(e){const t=ot(e),n=Pr(e),r=e.ownerDocument.body,o=$e(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=$e(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+hu(e);const s=-n.scrollTop;return Re(r).direction==="rtl"&&(a+=$e(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function ow(e,t){const n=je(e),r=ot(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=qi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function iw(e,t){const n=It(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ve(e)?cn(e):mt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function vu(e,t,n){let r;if(t==="viewport")r=ow(e,n);else if(t==="document")r=rw(ot(e));else if(Pe(t))r=iw(t,n);else{const o=pu(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ar(r)}function _u(e,t){const n=bt(e);return n===t||!Pe(n)||sn(n)?!1:Re(n).position==="fixed"||_u(n,t)}function aw(e,t){const n=t.get(e);if(n)return n;let r=Bn(e,[],!1).filter(s=>Pe(s)&&an(s)!=="body"),o=null;const i=Re(e).position==="fixed";let a=i?bt(e):e;for(;Pe(a)&&!sn(a);){const s=Re(a),l=Ki(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Wn(a)&&!l&&_u(e,a))?r=r.filter(d=>d!==a):o=s,a=bt(a)}return t.set(e,r),r}function sw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Tr(t)?[]:aw(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,d)=>{const c=vu(t,d,o);return u.top=$e(c.top,u.top),u.right=Ue(c.right,u.right),u.bottom=Ue(c.bottom,u.bottom),u.left=$e(c.left,u.left),u},vu(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cw(e){const{width:t,height:n}=du(e);return{width:t,height:n}}function lw(e,t,n){const r=Ve(t),o=ot(t),i=n==="fixed",a=It(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=mt(0);if(r||!r&&!i)if((an(t)!=="body"||Wn(o))&&(s=Pr(t)),r){const c=It(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=hu(o));const u=a.left+s.scrollLeft-l.x,d=a.top+s.scrollTop-l.y;return{x:u,y:d,width:a.width,height:a.height}}function Zi(e){return Re(e).position==="static"}function gu(e,t){return!Ve(e)||Re(e).position==="fixed"?null:t?t(e):e.offsetParent}function wu(e,t){const n=je(e);if(Tr(e))return n;if(!Ve(e)){let o=bt(e);for(;o&&!sn(o);){if(Pe(o)&&!Zi(o))return o;o=bt(o)}return n}let r=gu(e,t);for(;r&&Z0(r)&&Zi(r);)r=gu(r,t);return r&&sn(r)&&Zi(r)&&!Ki(r)?n:r||J0(e)||n}const uw=async function(e){const t=this.getOffsetParent||wu,n=this.getDimensions,r=await n(e.floating);return{reference:lw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function fw(e){return Re(e).direction==="rtl"}const dw={convertOffsetParentRelativeRectToViewportRelativeRect:tw,getDocumentElement:ot,getClippingRect:sw,getOffsetParent:wu,getElementRects:uw,getClientRects:nw,getDimensions:cw,getScale:cn,isElement:Pe,isRTL:fw};function pw(e,t){let n=null,r;const o=ot(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:d,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const f=Cr(d),h=Cr(o.clientWidth-(u+c)),v=Cr(o.clientHeight-(d+p)),g=Cr(u),y={rootMargin:-f+"px "+-h+"px "+-v+"px "+-g+"px",threshold:$e(0,Ue(1,l))||1};let b=!0;function m(x){const k=x[0].intersectionRatio;if(k!==l){if(!b)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(m,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(m,y)}n.observe(e)}return a(!0),i}function hw(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Xi(e),d=o||i?[...u?Bn(u):[],...Bn(t)]:[];d.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?pw(u,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(_=>{let[y]=_;y&&y.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let h,v=l?It(e):null;l&&g();function g(){const _=It(e);v&&(_.x!==v.x||_.y!==v.y||_.width!==v.width||_.height!==v.height)&&n(),v=_,h=requestAnimationFrame(g)}return n(),()=>{var _;d.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),c==null||c(),(_=f)==null||_.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const vw=K0,_w=q0,gw=W0,ww=X0,mw=B0,mu=z0,yw=G0,bw=(e,t,n)=>{const r=new Map,o={platform:dw,...n},i={...o.platform,_c:r};return V0(e,t,{...o,platform:i})};var Rr=typeof document<"u"?_t:J;function Dr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Dr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function yu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bu(e,t){const n=yu(e);return Math.round(t*n)/n}function xu(e){const t=V(e);return Rr(()=>{t.current=e}),t}function xw(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[d,c]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=K(r);Dr(p,r)||f(r);const[h,v]=K(null),[g,_]=K(null),y=ae(E=>{E!==k.current&&(k.current=E,v(E))},[]),b=ae(E=>{E!==O.current&&(O.current=E,_(E))},[]),m=i||h,x=a||g,k=V(null),O=V(null),$=V(d),C=l!=null,j=xu(l),D=xu(o),I=ae(()=>{if(!k.current||!O.current)return;const E={placement:t,strategy:n,middleware:p};D.current&&(E.platform=D.current),bw(k.current,O.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!Dr($.current,z)&&($.current=z,Vn(()=>{c(z)}))})},[p,t,n,D]);Rr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);Rr(()=>(L.current=!0,()=>{L.current=!1}),[]),Rr(()=>{if(m&&(k.current=m),x&&(O.current=x),m&&x){if(j.current)return j.current(m,x,I);I()}},[m,x,I,j,C]);const N=_e(()=>({reference:k,floating:O,setReference:y,setFloating:b}),[y,b]),M=_e(()=>({reference:m,floating:x}),[m,x]),S=_e(()=>{const E={position:n,left:0,top:0};if(!M.floating)return E;const U=bu(M.floating,d.x),z=bu(M.floating,d.y);return s?{...E,transform:"translate("+U+"px, "+z+"px)",...yu(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,d.x,d.y]);return _e(()=>({...d,update:I,refs:N,elements:M,floatingStyles:S}),[d,I,N,M,S])}const kw=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?mu({element:r.current,padding:o}).fn(n):{}:r?mu({element:r,padding:o}).fn(n):{}}}},$w=(e,t)=>({...vw(e),options:[e,t]}),jw=(e,t)=>({..._w(e),options:[e,t]}),Sw=(e,t)=>({...yw(e),options:[e,t]}),Ew=(e,t)=>({...gw(e),options:[e,t]}),Cw=(e,t)=>({...ww(e),options:[e,t]}),Ow=(e,t)=>({...mw(e),options:[e,t]}),Aw=(e,t)=>({...kw(e),options:[e,t]});function Tw(e){const[t,n]=K(void 0);return rn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const ku="Popper",[$u,ju]=Gl(ku),[Pw,Su]=$u(ku),Rw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return A(Pw,{scope:t,anchor:r,onAnchorChange:o},n)},Dw="PopperAnchor",Nw=le((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Su(Dw,n),a=V(null),s=Mt(t,a);return J(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:A(nn.div,pe({},o,{ref:s}))}),Eu="PopperContent",[Lw,Ey]=$u(Eu),Mw=le((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:d,side:c="bottom",sideOffset:p=0,align:f="center",alignOffset:h=0,arrowPadding:v=0,avoidCollisions:g=!0,collisionBoundary:_=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:m=!1,updatePositionStrategy:x="optimized",onPlaced:k,...O}=e,$=Su(Eu,d),[C,j]=K(null),D=Mt(t,Z=>j(Z)),[I,L]=K(null),N=Tw(I),M=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,S=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,E=c+(f!=="center"?"-"+f:""),U=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},z=Array.isArray(_)?_:[_],q=z.length>0,se={padding:U,boundary:z.filter(Iw),altBoundary:q},{refs:ue,floatingStyles:Ft,placement:qr,isPositioned:it,middlewareData:at}=xw({strategy:"fixed",placement:E,whileElementsMounted:(...Z)=>hw(...Z,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[$w({mainAxis:p+S,alignmentAxis:h}),g&&jw({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Sw():void 0,...se}),g&&Ew({...se}),Cw({...se,apply:({elements:Z,rects:Se,availableWidth:kt,availableHeight:ce})=>{const{width:ve,height:De}=Se.reference,Ut=Z.floating.style;Ut.setProperty("--radix-popper-available-width",`${kt}px`),Ut.setProperty("--radix-popper-available-height",`${ce}px`),Ut.setProperty("--radix-popper-anchor-width",`${ve}px`),Ut.setProperty("--radix-popper-anchor-height",`${De}px`)}}),I&&Aw({element:I,padding:v}),Fw({arrowWidth:M,arrowHeight:S}),m&&Ow({strategy:"referenceHidden",...se})]}),[Gn,ha]=Cu(qr),_n=gt(k);rn(()=>{it&&(_n==null||_n())},[it,_n]);const Ht=(o=at.arrow)===null||o===void 0?void 0:o.x,Gr=(i=at.arrow)===null||i===void 0?void 0:i.y,G=((a=at.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,fe]=K();return rn(()=>{C&&fe(window.getComputedStyle(C).zIndex)},[C]),A("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ft,transform:it?Ft.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=at.transformOrigin)===null||s===void 0?void 0:s.x,(l=at.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},A(Lw,{scope:d,placedSide:Gn,onArrowChange:L,arrowX:Ht,arrowY:Gr,shouldHideArrow:G},A(nn.div,pe({"data-side":Gn,"data-align":ha},O,{ref:D,style:{...O.style,animation:it?void 0:"none",opacity:(u=at.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Iw(e){return e!==null}const Fw=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,v]=Cu(s),g={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let b="",m="";return h==="bottom"?(b=c?g:`${_}px`,m=`${-f}px`):h==="top"?(b=c?g:`${_}px`,m=`${l.floating.height+f}px`):h==="right"?(b=`${-f}px`,m=c?g:`${y}px`):h==="left"&&(b=`${l.floating.width+f}px`,m=c?g:`${y}px`),{data:{x:b,y:m}}}});function Cu(e){const[t,n="center"]=e.split("-");return[t,n]}const Hw=Rw,Uw=Nw,Vw=Mw,zw=le((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Kl.createPortal(A(nn.div,pe({},o,{ref:t})),r):null});function Ww(e,t){return Fn((n,r)=>{const o=t[n][r];return o??n},e)}const Ji=e=>{const{present:t,children:n}=e,r=Bw(t),o=typeof n=="function"?n({present:r.isPresent}):et.only(n),i=Mt(r.ref,o.ref);return typeof n=="function"||r.isPresent?tn(o,{ref:i}):null};Ji.displayName="Presence";function Bw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=Ww(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return J(()=>{const u=Nr(r.current);i.current=s==="mounted"?u:"none"},[s]),rn(()=>{const u=r.current,d=o.current;if(d!==e){const p=i.current,f=Nr(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),rn(()=>{if(t){const u=c=>{const f=Nr(r.current).includes(c.animationName);c.target===t&&f&&Vn(()=>l("ANIMATION_END"))},d=c=>{c.target===t&&(i.current=Nr(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:ae(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Nr(e){return(e==null?void 0:e.animationName)||"none"}function Yw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Kw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=gt(n),l=ae(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function Kw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=gt(t);return J(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var qw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ln=new WeakMap,Lr=new WeakMap,Mr={},Qi=0,Ou=function(e){return e&&(e.host||Ou(e.parentNode))},Gw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ou(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Xw=function(e,t,n,r){var o=Gw(t,Array.isArray(e)?e:[e]);Mr[n]||(Mr[n]=new WeakMap);var i=Mr[n],a=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))d(p);else{var f=p.getAttribute(r),h=f!==null&&f!=="false",v=(ln.get(p)||0)+1,g=(i.get(p)||0)+1;ln.set(p,v),i.set(p,g),a.push(p),v===1&&h&&Lr.set(p,!0),g===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}})};return d(t),s.clear(),Qi++,function(){a.forEach(function(c){var p=ln.get(c)-1,f=i.get(c)-1;ln.set(c,p),i.set(c,f),p||(Lr.has(c)||c.removeAttribute(r),Lr.delete(c)),f||c.removeAttribute(n)}),Qi--,Qi||(ln=new WeakMap,ln=new WeakMap,Lr=new WeakMap,Mr={})}},Zw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||qw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Xw(r,o,n,"aria-hidden")):function(){return null}},ze=function(){return ze=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ze.apply(this,arguments)};function Au(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Jw(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ir="right-scroll-bar-position",Fr="width-before-scroll-bar",Qw="with-scroll-bars-hidden",em="--removed-body-scroll-bar-size";function tm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function nm(e,t){var n=K(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function rm(e,t){return nm(t||null,function(n){return e.forEach(function(r){return tm(r,n)})})}function om(e){return e}function im(e,t){t===void 0&&(t=om);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return o}function am(e){e===void 0&&(e={});var t=im(null);return t.options=ze({async:!0,ssr:!1},e),t}var Tu=function(e){var t=e.sideCar,n=Au(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return A(r,ze({},n))};Tu.isSideCarExport=!0;function sm(e,t){return e.useMedium(t),Tu}var Pu=am(),ea=function(){},Hr=le(function(e,t){var n=V(null),r=K({onScrollCapture:ea,onWheelCapture:ea,onTouchMoveCapture:ea}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,c=e.shards,p=e.sideCar,f=e.noIsolation,h=e.inert,v=e.allowPinchZoom,g=e.as,_=g===void 0?"div":g,y=Au(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=p,m=rm([n,t]),x=ze(ze({},y),o);return A(re,null,d&&A(b,{sideCar:Pu,removeScrollBar:u,shards:c,noIsolation:f,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?tn(et.only(s),ze(ze({},x),{ref:m})):A(_,ze({},x,{className:l,ref:m}),s))});Hr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Hr.classNames={fullWidth:Fr,zeroRight:Ir};var cm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function lm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=cm();return t&&e.setAttribute("nonce",t),e}function um(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function fm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var dm=function(){var e=0,t=null;return{add:function(n){e==0&&(t=lm())&&(um(t,n),fm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pm=function(){var e=dm();return function(t,n){J(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ru=function(){var e=pm(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},hm={left:0,top:0,right:0,gap:0},ta=function(e){return parseInt(e||"",10)||0},vm=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ta(n),ta(r),ta(o)]},_m=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hm;var t=vm(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},gm=Ru(),wm=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
package/dist/index.cjs CHANGED
@@ -5892,7 +5892,7 @@ const match = (subject) => {
5892
5892
  };
5893
5893
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
5894
5894
  const tokens = designTokens().core(({ theme }) => {
5895
- var _a, _b;
5895
+ var _a, _b, _c, _d;
5896
5896
  return {
5897
5897
  color: {
5898
5898
  black,
@@ -5915,8 +5915,8 @@ const tokens = designTokens().core(({ theme }) => {
5915
5915
  }),
5916
5916
  ...generatePalette({
5917
5917
  prefix: "m-",
5918
- hue: 140,
5919
- chroma: theme.accent.chroma,
5918
+ hue: ((_c = theme.monetary) == null ? void 0 : _c.hue) ?? 140,
5919
+ chroma: ((_d = theme.monetary) == null ? void 0 : _d.chroma) ?? 1,
5920
5920
  mode: theme.mode,
5921
5921
  transform: sameAsInput
5922
5922
  })
package/dist/index.js CHANGED
@@ -5890,7 +5890,7 @@ const match = (subject) => {
5890
5890
  };
5891
5891
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
5892
5892
  const tokens = designTokens().core(({ theme }) => {
5893
- var _a, _b;
5893
+ var _a, _b, _c, _d;
5894
5894
  return {
5895
5895
  color: {
5896
5896
  black,
@@ -5913,8 +5913,8 @@ const tokens = designTokens().core(({ theme }) => {
5913
5913
  }),
5914
5914
  ...generatePalette({
5915
5915
  prefix: "m-",
5916
- hue: 140,
5917
- chroma: theme.accent.chroma,
5916
+ hue: ((_c = theme.monetary) == null ? void 0 : _c.hue) ?? 140,
5917
+ chroma: ((_d = theme.monetary) == null ? void 0 : _d.chroma) ?? 1,
5918
5918
  mode: theme.mode,
5919
5919
  transform: sameAsInput
5920
5920
  })
@@ -96,6 +96,12 @@ export type JobSearchPluginParams = {
96
96
  /** Float between 0 and 2. Acts as a multiplier to the original generated palette. */
97
97
  chroma: number;
98
98
  };
99
+ monetary?: {
100
+ /** Number between 0 and 360. Number above or below range will loop. Defaults to 140. */
101
+ hue: number;
102
+ /** Float between 0 and 2. Acts as a multiplier to the original generated palette. */
103
+ chroma: number;
104
+ };
99
105
  typography: Partial<FontSettings> & Partial<Record<TextStyle, Partial<FontSettings>>>;
100
106
  /** Applies to the filter section on desktop. Override to ensure the filters are stuck to the top of the viewport,
101
107
  * but not obscured by the header. This is useful when the header is sticky on your website.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-job-search",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-job-search.js",
6
6
  "types": "dist/index.d.ts",
@@ -52,10 +52,10 @@
52
52
  "vite": "^4.5.3",
53
53
  "vite-plugin-dts": "^3.9.1",
54
54
  "vite-tsconfig-paths": "^4.3.2",
55
- "@inploi/plugin-job-alerts": "0.3.0",
56
- "@inploi/design-tokens": "0.2.1",
57
55
  "@inploi/core": "1.14.2",
56
+ "@inploi/design-tokens": "0.2.1",
58
57
  "@inploi/sdk": "1.14.4",
58
+ "@inploi/plugin-job-alerts": "0.3.0",
59
59
  "eslint-config-custom": "0.1.0"
60
60
  },
61
61
  "msw": {