@inploi/plugin-job-search 0.17.1 → 0.18.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
@@ -1,4 +1,4 @@
1
- var Cm=Object.defineProperty;var Om=(ve,fe,gt)=>fe in ve?Cm(ve,fe,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ve[fe]=gt;var Ui=(ve,fe,gt)=>(Om(ve,typeof fe!="symbol"?fe+"":fe,gt),gt);(function(){"use strict";var ve=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function fe(e,t){if(!e)throw new Error(t)}function gt(e,t){return e in t}var zi=e=>e,un,T,Wi,wt,Bi,Yi,Ir,Hr,Vr,Ur,Ki,dn={},qi=[],Au=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Mn=Array.isArray;function Me(e,t){for(var n in t)e[n]=t[n];return e}function Gi(e){var t=e.parentNode;t&&t.removeChild(e)}function Q(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?un.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 fn(e,a,r,o,null)}function fn(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??++Wi,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Xi(){return{current:null}}function I(e){return e.children}function be(e,t){this.props=e,this.context=t}function mt(e,t){if(t==null)return e.__?mt(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"?mt(e):null}function Zi(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 Zi(e)}}function zr(e){(!e.__d&&(e.__d=!0)&&wt.push(e)&&!Fn.__r++||Bi!==T.debounceRendering)&&((Bi=T.debounceRendering)||Yi)(Fn)}function Fn(){var e,t,n,r,o,i,a,s;for(wt.sort(Ir);e=wt.shift();)e.__d&&(t=wt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Me({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),Wr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??mt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,na(a,r,s),r.__e!=i&&Zi(r)),wt.length>t&&wt.sort(Ir));Fn.__r=0}function Ji(e,t,n,r,o,i,a,s,u,l,f){var c,p,d,_,h,g=r&&r.__k||qi,v=t.length;for(n.__d=u,Tu(n,t,g),u=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?dn:g[d.__i]||dn,d.__i=c,Wr(e,d,p,o,i,a,s,u,l,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Br(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(u&&typeof d.type=="string"&&!e.contains(u)&&(u=mt(p)),u=Qi(d,u,e)):typeof d.type=="function"&&d.__d!==void 0?u=d.__d:_&&(u=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=h}function Tu(e,t,n){var r,o,i,a,s,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],r=0;r<u;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?fn(null,o,null,null,null):Mn(o)?fn(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?fn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Pu(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(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?f>u-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=mt(i)),Yr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=mt(i)),Yr(i,i))}function Qi(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=Qi(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 Fe(e,t){return t=t||[],e==null||typeof e=="boolean"||(Mn(e)?e.some(function(n){Fe(n,t)}):t.push(e)),t}function Pu(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,u=t[n];if(u===null||u&&o==u.key&&i===u.type&&!(131072&u.__u))return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function ea(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Au.test(t)?n:n+"px"}function In(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||ea(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ea(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=Hr,e.addEventListener(t,i?Ur:Vr,i)):e.removeEventListener(t,i?Ur:Vr,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 ta(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Hr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function Wr(e,t,n,r,o,i,a,s,u,l){var f,c,p,d,_,h,g,v,m,y,b,x,$,E,k,j,C=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof C=="function")try{if(v=t.props,m="prototype"in C&&C.prototype.render,y=(f=C.contextType)&&r[f.__c],b=f?y?y.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new C(v,b):(t.__c=c=new be(v,b),c.constructor=C,c.render=Du),y&&y.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&C.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Me({},c.__s)),Me(c.__s,C.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=t,p)m&&C.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&C.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,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(v,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=e,c.__e=!1,$=T.__r,E=0,m){for(c.state=c.__s,c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),k=0;k<c._sb.length;k++)c.__h.push(c._sb[k]);c._sb=[]}else do c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++E<25);c.state=c.__s,c.getChildContext!=null&&(r=Me(Me({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Ji(e,Mn(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],t,n,r,o,i,a,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,u||i!=null?(t.__e=s,t.__u|=u?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ru(n.__e,t,n,r,o,i,a,u,l);(f=T.diffed)&&f(t)}function na(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Br(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function Ru(e,t,n,r,o,i,a,s,u){var l,f,c,p,d,_,h,g=n.props,v=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((d=i[l])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[l]=null;break}}if(e==null){if(m===null)return document.createTextNode(v);e=document.createElementNS(o,m,v.is&&v),i=null,s=!1}if(m===null)g===v||s&&e.data===v||(e.data=v);else{if(i=i&&un.call(e.childNodes),g=n.props||dn,!s&&i!=null)for(g={},l=0;l<e.attributes.length;l++)g[(d=e.attributes[l]).name]=d.value;for(l in g)if(d=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=d;else if(l!=="key"&&!(l in v)){if(l=="value"&&"defaultValue"in v||l=="checked"&&"defaultChecked"in v)continue;In(e,l,null,d,o)}}for(l in v)d=v[l],l=="children"?p=d:l=="dangerouslySetInnerHTML"?f=d:l=="value"?_=d:l=="checked"?h=d:l==="key"||s&&typeof d!="function"||g[l]===d||In(e,l,d,g[l],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ji(e,Mn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&mt(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&Gi(i[l]);s||(l="value",_!==void 0&&(_!==e[l]||m==="progress"&&!_||m==="option"&&_!==g[l])&&In(e,l,_,g[l],o),l="checked",h!==void 0&&h!==e[l]&&In(e,l,h,g[l],o))}return e}function Br(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function Yr(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Br(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Yr(r[o],t,n||typeof e.type!="function");n||e.__e==null||Gi(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Du(e,t,n){return this.constructor(e,n)}function Mt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Wr(t,e=(!r&&n||t).__k=Q(I,null,[e]),o||dn,dn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?un.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),na(i,e,a)}function Kr(e,t){Mt(e,t,Kr)}function Nu(e,t,n){var r,o,i,a,s=Me({},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?un.call(arguments,2):n),fn(e.type,s,r||e.key,o||e.ref,null)}function qr(e,t){var n={__c:t="__cC"+Ki++,__: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,zr(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}un=qi.slice,T={__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}},Wi=0,be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Me({},this.state),typeof e=="function"&&(e=e(Me({},n),this.props)),e&&Me(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),zr(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zr(this))},be.prototype.render=I,wt=[],Yi=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ir=function(e,t){return e.__v.__b-t.__v.__b},Fn.__r=0,Hr=0,Vr=ta(!1),Ur=ta(!0),Ki=0;var ra=/[\s\n\\/='"\0<>]/,oa=/^(xlink|xmlns|xml)([A-Z])/,Lu=/^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]/,Mu=/^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/,Fu=/["&<]/;function Hn(e){if(e.length===0||Fu.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 ia={},Iu=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"]),Hu=/[A-Z]/g;function Vu(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:ia[n]||(ia[n]=n.replace(Hu,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Iu.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Gr,yt,pn,hn,aa=[],sa=Array.isArray,Xr=Object.assign;function Uu(e,t,n){var r=T.__s;T.__s=!0,Gr=T.__b,yt=T.diffed,pn=T.__r,hn=T.unmount;var o=Q(I,null);o.__k=[e];try{var i=Te(e,t||la,!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{T.__c&&T.__c(e,aa),T.__s=r,aa.length=0}}function ca(){this.__d=!0}var la={};function ua(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=la),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Xr({},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(),pn&&pn(e),n.render(n.props,n.state,t)}function Te(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Hn(e+"");if(sa(e)){var s,u="";o.__k=e;for(var l=0;l<e.length;l++){var f=e[l];if(f!=null&&typeof f!="boolean"){var c,p=Te(f,t,n,r,o,i,a);typeof p=="string"?u+=p:(s=s||[],u&&s.push(u),u="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(u&&s.push(u),s):u}if(e.constructor!==void 0)return"";e.__=o,Gr&&Gr(e);var d,_,h,g=e.type,v=e.props,m=t;if(typeof g=="function"){if(g===I){if(v.tpl){for(var y="",b=0;b<v.tpl.length;b++)if(y+=v.tpl[b],v.exprs&&b<v.exprs.length){var x=v.exprs[b];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!sa(x)?y+=x:y+=Te(x,t,n,r,e,i,a)}return y}if(v.UNSTABLE_comment)return"<!--"+Hn(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=g.contextType)!=null){var $=t[d.__c];m=$?$.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")_=ua(e,m),h=e.__c;else{e.__c=h={__v:e,props:v,context:m,setState:ca,forceUpdate:ca,__d:!0,__h:[]};for(var E=0;h.__d&&E++<25;)h.__d=!1,pn&&pn(e),_=g.call(h,v,m);h.__d=!0}if(h.getChildContext!=null&&(t=Xr({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var k="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return k=Te(_,t,n,r,e,i,a)}catch(he){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(he)),h.componentDidCatch&&h.componentDidCatch(he,{}),h.__d&&(_=ua(e,t),(h=e.__c).getChildContext!=null&&(t=Xr({},t,h.getChildContext())),k=Te(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,t,n,r,e,i,a)),k}finally{yt&&yt(e),e.__=null,hn&&hn(e)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=Te(_,t,n,r,e,i,a);return yt&&yt(e),e.__=null,T.unmount&&T.unmount(e),j}catch(he){if(!i&&a&&a.onError){var C=a.onError(he,e,function(de){return Te(de,t,n,r,e,i,a)});if(C!==void 0)return C;var D=T.__e;return D&&D(he,e),""}if(!i||!he||typeof he.then!="function")throw he;var M=function de(){try{return Te(_,t,n,r,e,i,a)}catch(me){if(!me||typeof me.then!="function")throw me;return me.then(function(){return Te(_,t,n,r,e,i,a)},function(){return de()})}};return he.then(function(){return M()})}}var L,N="<"+g,F="";for(var R in v){var P=v[R];switch(R){case"children":L=P;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",g){case"textarea":L=P;continue;case"select":r=P;continue;case"option":r!=P||"selected"in v||(N+=" selected")}break;case"dangerouslySetInnerHTML":F=P&&P.__html;continue;case"style":typeof P=="object"&&(P=Vu(P));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(oa.test(R))R=R.replace(oa,"$1:$2").toLowerCase();else{if(ra.test(R))continue;R[4]!=="-"&&R!=="draggable"||P==null?n?Mu.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):Lu.test(R)&&(R=R.toLowerCase()):P+=""}}P!=null&&P!==!1&&typeof P!="function"&&(N=P===!0||P===""?N+" "+R:N+" "+R+'="'+Hn(P+"")+'"')}if(ra.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(F||(typeof L=="string"?F=Hn(L):L!=null&&L!==!1&&L!==!0&&(F=Te(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),yt&&yt(e),e.__=null,hn&&hn(e),!F&&zu.has(g))return N+"/>";var te="</"+g+">",le=N+">";return Array.isArray(F)?[le].concat(F,[te]):typeof F!="string"?[le,F,te]:le+F+te}var zu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Zr="RFC3986",Jr={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},Wu="RFC1738",Bu=Array.isArray,Pe=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),Qr=1024,Yu=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=Qr){const u=i.length>=Qr?i.slice(s,s+Qr):i,l=[];for(let f=0;f<u.length;++f){let c=u.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===Wu&&(c===40||c===41)){l[l.length]=u.charAt(f);continue}if(c<128){l[l.length]=Pe[c];continue}if(c<2048){l[l.length]=Pe[192|c>>6]+Pe[128|c&63];continue}if(c<55296||c>=57344){l[l.length]=Pe[224|c>>12]+Pe[128|c>>6&63]+Pe[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|u.charCodeAt(f)&1023),l[l.length]=Pe[240|c>>18]+Pe[128|c>>12&63]+Pe[128|c>>6&63]+Pe[128|c&63]}a+=l.join("")}return a};function Ku(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function da(e,t){if(Bu(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var qu=Object.prototype.hasOwnProperty,fa={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Re=Array.isArray,Gu=Array.prototype.push,pa=function(e,t){Gu.apply(e,Re(t)?t:[t])},Xu=Date.prototype.toISOString,ee={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Yu,encodeValuesOnly:!1,format:Zr,formatter:Jr[Zr],indices:!1,serializeDate(e){return Xu.call(e)},skipNulls:!1,strictNullHandling:!1};function Zu(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var eo={};function ha(e,t,n,r,o,i,a,s,u,l,f,c,p,d,_,h,g,v){let m=e,y=v,b=0,x=!1;for(;(y=y.get(eo))!==void 0&&!x;){const C=y.get(e);if(b+=1,typeof C<"u"){if(C===b)throw new RangeError("Cyclic object value");x=!0}typeof y.get(eo)>"u"&&(b=0)}if(typeof l=="function"?m=l(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Re(m)&&(m=da(m,function(C){return C instanceof Date?p==null?void 0:p(C):C})),m===null){if(i)return u&&!h?u(t,ee.encoder,g,"key",d):t;m=""}if(Zu(m)||Ku(m)){if(u){const C=h?t:u(t,ee.encoder,g,"key",d);return[(_==null?void 0:_(C))+"="+(_==null?void 0:_(u(m,ee.encoder,g,"value",d)))]}return[(_==null?void 0:_(t))+"="+(_==null?void 0:_(String(m)))]}const $=[];if(typeof m>"u")return $;let E;if(n==="comma"&&Re(m))h&&u&&(m=da(m,u)),E=[{value:m.length>0?m.join(",")||null:void 0}];else if(Re(l))E=l;else{const C=Object.keys(m);E=f?C.sort(f):C}const k=s?String(t).replace(/\./g,"%2E"):String(t),j=r&&Re(m)&&m.length===1?k+"[]":k;if(o&&Re(m)&&m.length===0)return j+"[]";for(let C=0;C<E.length;++C){const D=E[C],M=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&M===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Re(m)?typeof n=="function"?n(j,L):j:j+(c?"."+L:"["+L+"]");v.set(e,b);const F=new WeakMap;F.set(eo,v),pa($,ha(M,N,n,r,o,i,a,s,n==="comma"&&h&&Re(m)?null:u,l,f,c,p,d,_,h,g,F))}return $}function Ju(e=ee){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ee.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=Zr;if(typeof e.format<"u"){if(!qu.call(Jr,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=Jr[n];let o=ee.filter;(typeof e.filter=="function"||Re(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in fa?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ee.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ee.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ee.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ee.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ee.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ee.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ee.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ee.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ee.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ee.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ee.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ee.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ee.strictNullHandling}}function va(e,t={}){let n=e;const r=Ju(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Re(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=fa[r.arrayFormat],u=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const l=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||pa(a,ha(n[d],d,s,u,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,l))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var Vn=class extends Error{constructor(t){super(t[0].message);Ui(this,"issues");this.name="ValiError",this.issues=t}};function _a(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function vn(e){return{issues:e}}function bt(e){return{output:e}}function Qu(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ed(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function tt(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return bt(e);let o,i,a=e;for(const s of t){const u=s._parse(a);if(u.issues){o=o||ed(n,r);for(const l of u.issues){const f=Qu(o,l);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=u.output}return i?vn(i):bt(a)}function nt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function ga(e){return typeof e=="function"?e():e}function td(e,t,n,r){return vn([{validation:e,message:ga(t),input:n,requirement:r}])}function nd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=nt(t,n);return[e,i,a]}const[r,o]=nt(e,t);return[void 0,r,o]}function rt(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:ga(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function wa(e){return typeof e.default=="function"?e.default():e.default}function rd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return tt(t,this.pipe,n,"any")}}}function ma(e,t,n){const[r="Invalid type",o]=nt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return rt(a,"type","array",this.message,i);let s;const u=[];for(let l=0;l<i.length;l++){const f=i[l],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:l,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else u.push(c.output)}return s?vn(s):tt(u,this.pipe,a,"array")}}}function ya(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?rt(i,"type","boolean",this.message,o):tt(o,this.pipe,i,"boolean")}}}function ot(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?rt(r,"type","literal",this.message,n):bt(n)}}}function xe(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=wa(this);if(o===void 0)return bt(n);n=o}return this.wrapped._parse(n,r)}}}function Ft(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?rt(i,"type","number",this.message,o):tt(o,this.pipe,i,"number")}}}function Un(e,t,n,r){const[o,i="Invalid type",a]=nd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(u,l){if(!u||typeof u!="object")return rt(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=u[p],h=d._parse(_,l);if(h.issues){const g={type:"object",input:u,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(g):v.path=[g],f==null||f.push(v);if(f||(f=h.issues),l!=null&&l.abortEarly)break}else(h.output!==void 0||p in u)&&(c[p]=h.output)}if(this.rest&&!(l!=null&&l.abortEarly&&f)){for(const p in u)if(!(p in this.entries)){const d=u[p],_=this.rest._parse(d,l);if(_.issues){const h={type:"object",input:u,key:p,value:d};for(const g of _.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=_.issues),l!=null&&l.abortEarly)break}else c[p]=_.output}}return f?vn(f):tt(c,this.pipe,l,"object")}}}function to(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=wa(this);if(o===void 0)return bt(n);n=o}return this.wrapped._parse(n,r)}}}function X(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?rt(i,"type","string",this.message,o):tt(o,this.pipe,i,"string")}}}function od(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=nt(n,r);return[e,t,a,s]}const[o,i]=nt(t,n);return[X(),e,o,i]}var id=["__proto__","prototype","constructor"];function ba(e,t,n,r){const[o,i,a="Invalid type",s]=od(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(u,l){if(!u||typeof u!="object")return rt(l,"type","record",this.message,u);let f;const c={};for(const[p,d]of Object.entries(u))if(!id.includes(p)){let _;const h=this.key._parse(p,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(h.issues){_={type:"record",input:u,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),l!=null&&l.abortEarly)break}const g=this.value._parse(d,l);if(g.issues){_=_||{type:"record",input:u,key:p,value:d};for(const v of g.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=g.issues),l!=null&&l.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?vn(f):tt(c,this.pipe,l,"record")}}}function xa(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const u of s.issues)o.push(u);else o=s.issues;else{i=[s.output];break}}return i?bt(i[0]):rt(r,"type","union",this.message,n,o)}}}function ka(e,t,n){const r=e._parse(t,n);if(r.issues)throw new Vn(r.issues);return r.output}function ad(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new Vn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function $a(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):tt(a,n,o,typeof a)}}}function sd(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?bt(t):td(this.type,this.message,t,this.requirement)}}}const ja="inploi-job-search",Sa="ijs",zn=10,Ea={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},cd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in Ea?Ea[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},ld=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),ud=({from:e=new Date,to:t,formatter:n=ld})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"over 30 days ago":"in over 30 days"},dd=ba(ma(Un({label:_a(X(),String),value:_a(X(),String),jobs:Ft()}))),fd=X([sd()]),pd=Un({total:Ft(),current_page:Ft(),per_page:Ft(),last_page:Ft()}),hd=Un({id:Ft(),company_name:X(),company_logo:xe(to(X())),employment_type:X(),location_type:xa([ot("LOCATION"),ot("REMOTE"),ot("HYBRID")]),pay_type:xe(xa([ot("ANNUALLY"),ot("HOURLY"),ot("MONTHLY"),ot("WEEKLY"),ot("DAILY")])),pay_currency:X(),pay_mask:ya(),pay_display:ya(),pay:xe(X()),pay_min:xe(X()),pay_max:xe(X()),description:X(),title:X(),contract_type:xe(X()),created_at:xe(X()),custom_data:xe(ba(rd())),href:X(),industry:xe(X()),category:xe(X()),skills:to(X()),town:to(X()),city:xe(X()),country:xe(X())}),vd=$a(hd,e=>{const t=ad(fd,e.company_logo);return{raw:e,id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:void 0},employmentType:e.employment_type,locationType:e.location_type,pay:cd({salary:e,config:{locales:void 0}}),description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?ud({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data}}),_d=$a(Un({data:ma(vd),pagination:pd}),e=>({pagination:e.pagination,results:e.data})),gd=e=>!e||Array.isArray(e)&&e.length===0?null:e,Ca=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,gd(n==null?void 0:n.value)])),Oa=async({apiClient:e,filters:t,logger:n,signal:r})=>{try{const o=new URLSearchParams(va({filters:Ca(t)})),i="/search/filters",a=await e.fetch([i,o.toString()].filter(Boolean).join("?"),{signal:r});return ka(dd,a)}catch(o){throw o instanceof Vn?n.error(o.message,o.issues):n.error(o),o}},Aa=async({apiClient:e,logger:t,signal:n,filters:r,page:o=1})=>{try{const i=new URLSearchParams(va({filters:Ca(r)}));i.set("page",o.toString()),i.set("per_page",zn.toString());const a="/search/results",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:n});return ka(_d,s)}catch(i){throw i instanceof Vn?t.error(i.message,i.issues):t.error(i),i}},no=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},ro={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var wd=0;function w(e,t,n,r,o,i){t||(t={});var a,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--wd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return T.vnode&&T.vnode(l),l}function Ta(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ta(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function md(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ta(e))&&(r&&(r+=" "),r+=t);return r}function Pa(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Pa(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function oo(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Pa(e))&&(r&&(r+=" "),r+=t);return r}const Ra=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,yd=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,u;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](oo(i)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(oo(i)):oo(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[f]=l;return!["class","className"].includes(f)}));return t(i.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:u}=o,l=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],_=u==null?void 0:u[p],h=Ra(d)||Ra(_);return s[p][h]}),f={...u,...i&&Object.entries(i).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:_,className:h,...g}=d;return Object.entries(g).every(v=>{let[m,y]=v;const b=f[m];return Array.isArray(y)?y.includes(b):b===y})?[...p,_,h]:p},[]);return t(o==null?void 0:o.base,l,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:Am,cva:Ee,cx:Tm}=yd(),Wn=Ee({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}}),bd=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),it=({error:e,resetError:t,class:n,...r})=>w("div",{class:md("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:Wn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class _n extends be{constructor(){super(...arguments);Ui(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const xd={briefcase:w(I,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(I,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(I,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(I,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(I,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(I,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(I,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(I,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(I,{children:w(I,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:w(I,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:w(I,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},kd=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(xd).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),xt=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ie,U,io,Da,It=0,Na=[],q=T,La=q.__b,Ma=q.__r,Fa=q.diffed,Ia=q.__c,Ha=q.unmount,Va=q.__;function kt(e,t){q.__h&&q.__h(U,e,It||t),It=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Ce(e){return It=1,Bn(za,e)}function Bn(e,t,n){var r=kt(Ie++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):za(void 0,t),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};U.u=!0;var i=U.shouldComponentUpdate,a=U.componentWillUpdate;U.componentWillUpdate=function(s,u,l){if(this.__e){var f=i;i=void 0,o(s,u,l),i=f}a&&a.call(this,s,u,l)},U.shouldComponentUpdate=o}return r.__N||r.__}function Oe(e,t){var n=kt(Ie++,3);!q.__s&&lo(n.__H,t)&&(n.__=e,n.i=t,U.__H.__h.push(n))}function at(e,t){var n=kt(Ie++,4);!q.__s&&lo(n.__H,t)&&(n.__=e,n.i=t,U.__h.push(n))}function _e(e){return It=5,st(function(){return{current:e}},[])}function ao(e,t,n){It=6,at(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 st(e,t){var n=kt(Ie++,7);return lo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function $t(e,t){return It=8,st(function(){return e},t)}function Yn(e){var t=U.context[e.__c],n=kt(Ie++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(U)),t.props.value):e.__}function Kn(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function $d(e){var t=kt(Ie++,10),n=Ce();return t.__=e,U.componentDidCatch||(U.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function so(){var e=kt(Ie++,11);if(!e.__){for(var t=U.__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 jd(){for(var e;e=Na.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qn),e.__H.__h.forEach(co),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){U=null,La&&La(e)},q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Va&&Va(e,t)},q.__r=function(e){Ma&&Ma(e),Ie=0;var t=(U=e.__c).__H;t&&(io===U?(t.__h=[],U.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(qn),t.__h.forEach(co),t.__h=[],Ie=0)),io=U},q.diffed=function(e){Fa&&Fa(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Na.push(t)!==1&&Da===q.requestAnimationFrame||((Da=q.requestAnimationFrame)||Sd)(jd)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),io=U=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(qn),n.__h=n.__h.filter(function(r){return!r.__||co(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],q.__e(r,n.__v)}}),Ia&&Ia(e,t)},q.unmount=function(e){Ha&&Ha(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{qn(r)}catch(o){t=o}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Ua=typeof requestAnimationFrame=="function";function Sd(e){var t,n=function(){clearTimeout(r),Ua&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ua&&(t=requestAnimationFrame(n))}function qn(e){var t=U,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),U=t}function co(e){var t=U;e.__c=e.__(),U=t}function lo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function za(e,t){return typeof t=="function"?t(e):t}const Gn=e=>{const t=Object.entries(e.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${e.baseKey}::${t}`},Pm="",Ed=e=>{const t=Object.entries(e).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(t)},Cd=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=Ce();return Oe(()=>{Promise.resolve().then(()=>Sm).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),Oe(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Oe(()=>{i==null||i.setFilters(Ed(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Wa(e,t){for(var n in t)e[n]=t[n];return e}function uo(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 Xn(e,t){this.props=e,this.context=t}function Ba(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:uo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Xn.prototype=new be).isPureReactComponent=!0,Xn.prototype.shouldComponentUpdate=function(e,t){return uo(this.props,e)||uo(this.state,t)};var Ya=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ya&&Ya(e)};var Od=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ka(e){function t(n){var r=Wa({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Od,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qa=function(e,t){return e==null?null:Fe(Fe(e).map(t))},Ga={map:qa,forEach:qa,count:function(e){return e?Fe(e).length:0},only:function(e){var t=Fe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Fe},Ad=T.__e;T.__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)}Ad(e,t,n,r)};var Xa=T.unmount;function Za(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=Wa({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Za(r,t,n)})),e}function Ja(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ja(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 gn(){this.__u=0,this.t=null,this.__b=null}function Qa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function es(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 Q(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ht(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Xa&&Xa(e)},(gn.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Qa(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 u=r.state.__a;r.__v.__k[0]=Ja(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},gn.prototype.componentWillUnmount=function(){this.t=[]},gn.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]=Za(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Q(I,null,e.fallback);return o&&(o.__u&=-33),[Q(I,null,t.__a?null:e.children),o]};var ts=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 Td(e){return this.getChildContext=function(){return e.context},e.children}function Pd(e){var t=this,n=e.i;t.componentWillUnmount=function(){Mt(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)}}),Mt(Q(Td,{context:t.context},e.__v),t.l)}function ns(e,t){var n=Q(Pd,{__v:e,i:t});return n.containerInfo=t,n}(Ht.prototype=new be).__a=function(e){var t=this,n=Qa(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ts(t,e,r)):o()};n?n(i):i()}},Ht.prototype.render=function(e){this.u=null,this.o=new Map;var t=Fe(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},Ht.prototype.componentDidUpdate=Ht.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ts(e,n,t)})};var rs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Rd=/^(?: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]/,Dd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Nd=/[A-Z0-9]/g,Ld=typeof document<"u",Md=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function os(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}function is(e,t,n){return Kr(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var as=T.event;function Fd(){}function Id(){return this.cancelBubble}function Hd(){return this.defaultPrevented}T.event=function(e){return as&&(e=as(e)),e.persist=Fd,e.isPropagationStopped=Id,e.isDefaultPrevented=Hd,e.nativeEvent=e};var fo,Vd={enumerable:!1,configurable:!0,get:function(){return this.class}},ss=T.vnode;T.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||Ld&&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"||Md(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Dd.test(i)?i=s:r.indexOf("-")===-1&&Rd.test(i)?i=i.replace(Nd,"-$&").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=Fe(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Fe(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Vd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=rs,ss&&ss(e)};var cs=T.__r;T.__r=function(e){cs&&cs(e),fo=e.__c};var ls=T.diffed;T.diffed=function(e){ls&&ls(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),fo=null};var us={ReactCurrentDispatcher:{current:{readContext:function(e){return fo.__n[e.__c].props.value},useCallback:$t,useContext:Yn,useDebugValue:Kn,useDeferredValue:ho,useEffect:Oe,useId:so,useImperativeHandle:ao,useInsertionEffect:_o,useLayoutEffect:at,useMemo:st,useReducer:Bn,useRef:_e,useState:Ce,useSyncExternalStore:go,useTransition:vo}}},Ud="17.0.2";function ds(e){return Q.bind(null,e)}function wn(e){return!!e&&e.$$typeof===rs}function fs(e){return wn(e)&&e.type===I}function ps(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hs(e){return wn(e)?Nu.apply(null,arguments):e}function vs(e){return!!e.__k&&(Mt(null,e),!0)}function _s(e){return e&&(e.base||e.nodeType===1&&e)||null}var gs=function(e,t){return e(t)},ws=function(e,t){return e(t)},ms=I;function po(e){e()}function ho(e){return e}function vo(){return[!1,po]}var _o=at,ys=wn;function go(e,t){var n=t(),r=Ce({h:{__:n,v:t}}),o=r[0].h,i=r[1];return at(function(){o.__=n,o.v=t,wo(o)&&i({h:o})},[e,n,t]),Oe(function(){return wo(o)&&i({h:o}),e(function(){wo(o)&&i({h:o})})},[e]),n}function wo(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 Zn={useState:Ce,useId:so,useReducer:Bn,useEffect:Oe,useLayoutEffect:at,useInsertionEffect:_o,useTransition:vo,useDeferredValue:ho,useSyncExternalStore:go,startTransition:po,useRef:_e,useImperativeHandle:ao,useMemo:st,useCallback:$t,useContext:Yn,useDebugValue:Kn,version:"17.0.2",Children:Ga,render:os,hydrate:is,unmountComponentAtNode:vs,createPortal:ns,createElement:Q,createContext:qr,createFactory:ds,cloneElement:hs,createRef:Xi,Fragment:I,isValidElement:wn,isElement:ys,isFragment:fs,isMemo:ps,findDOMNode:_s,Component:be,PureComponent:Xn,memo:Ba,forwardRef:Ka,flushSync:ws,unstable_batchedUpdates:gs,StrictMode:ms,Suspense:gn,SuspenseList:Ht,lazy:es,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us};const zd=Object.freeze(Object.defineProperty({__proto__:null,Children:Ga,Component:be,Fragment:I,PureComponent:Xn,StrictMode:ms,Suspense:gn,SuspenseList:Ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us,cloneElement:hs,createContext:qr,createElement:Q,createFactory:ds,createPortal:ns,createRef:Xi,default:Zn,findDOMNode:_s,flushSync:ws,forwardRef:Ka,hydrate:is,isElement:ys,isFragment:fs,isMemo:ps,isValidElement:wn,lazy:es,memo:Ba,render:os,startTransition:po,unmountComponentAtNode:vs,unstable_batchedUpdates:gs,useCallback:$t,useContext:Yn,useDebugValue:Kn,useDeferredValue:ho,useEffect:Oe,useErrorBoundary:$d,useId:so,useImperativeHandle:ao,useInsertionEffect:_o,useLayoutEffect:at,useMemo:st,useReducer:Bn,useRef:_e,useState:Ce,useSyncExternalStore:go,useTransition:vo,version:Ud},Symbol.toStringTag,{value:"Module"}));var Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Bd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mo={exports:{}},yo={};const bs=Bd(zd);/**
1
+ var Um=Object.defineProperty;var Vm=(ge,ve,bt)=>ve in ge?Um(ge,ve,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ge[ve]=bt;var ta=(ge,ve,bt)=>(Vm(ge,typeof ve!="symbol"?ve+"":ve,bt),bt);(function(){"use strict";var ge=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function ve(e,t){if(!e)throw new Error(t)}function bt(e,t){return e in t}var na=e=>e,dn,D,ra,xt,oa,ia,Hr,Ur,Vr,zr,aa,fn={},sa=[],Lu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Un=Array.isArray;function Ue(e,t){for(var n in t)e[n]=t[n];return e}function ca(e){var t=e.parentNode;t&&t.removeChild(e)}function re(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?dn.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 pn(e,a,r,o,null)}function pn(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??++ra,__i:-1,__u:0};return o==null&&D.vnode!=null&&D.vnode(i),i}function la(){return{current:null}}function F(e){return e.children}function xe(e,t){this.props=e,this.context=t}function kt(e,t){if(t==null)return e.__?kt(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"?kt(e):null}function ua(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 ua(e)}}function Wr(e){(!e.__d&&(e.__d=!0)&&xt.push(e)&&!Vn.__r++||oa!==D.debounceRendering)&&((oa=D.debounceRendering)||ia)(Vn)}function Vn(){var e,t,n,r,o,i,a,s;for(xt.sort(Hr);e=xt.shift();)e.__d&&(t=xt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ue({},o)).__v=o.__v+1,D.vnode&&D.vnode(r),Br(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??kt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,va(a,r,s),r.__e!=i&&ua(r)),xt.length>t&&xt.sort(Hr));Vn.__r=0}function da(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||sa,_=t.length;for(n.__d=l,Mu(n,t,g),l=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?fn:g[d.__i]||fn,d.__i=c,Br(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Yr(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=kt(p)),l=fa(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:v&&(l=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function Mu(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,f=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?pn(null,o,null,null,null):Un(o)?pn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?pn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Iu(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(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?f>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=kt(i)),Kr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=kt(i)),Kr(i,i))}function fa(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=fa(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 Ve(e,t){return t=t||[],e==null||typeof e=="boolean"||(Un(e)?e.some(function(n){Ve(n,t)}):t.push(e)),t}function Iu(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 pa(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Lu.test(t)?n:n+"px"}function zn(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||pa(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||pa(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=Ur,e.addEventListener(t,i?zr:Vr,i)):e.removeEventListener(t,i?zr:Vr,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 ha(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Ur++;else if(t.t<n.u)return;return n(D.event?D.event(t):t)}}}function Br(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,b,y,x,$,O,k,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=D.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,b=(f=j.contextType)&&r[f.__c],y=f?b?b.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,y):(t.__c=c=new xe(_,y),c.constructor=j,c.render=Hu),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ue({},c.__s)),Ue(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)m&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,y)===!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(R){R&&(R.__=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,y),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=y,c.props=_,c.__P=e,c.__e=!1,$=D.__r,O=0,m){for(c.state=c.__s,c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),k=0;k<c._sb.length;k++)c.__h.push(c._sb[k]);c._sb=[]}else do c.__d=!1,$&&$(t),f=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=Ue(Ue({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),da(e,Un(C=f!=null&&f.type===F&&f.key==null?f.props.children:f)?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(R){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),D.__e(R,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Fu(n.__e,t,n,r,o,i,a,l,u);(f=D.diffed)&&f(t)}function va(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Yr(n[r],n[++r],n[++r]);D.__c&&D.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){D.__e(i,o.__v)}})}function Fu(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="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((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(m===null)return document.createTextNode(_);e=document.createElementNS(o,m,_.is&&_),i=null,s=!1}if(m===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&dn.call(e.childNodes),g=n.props||fn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;zn(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||g[u]===d||zn(e,u,d,g[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),da(e,Un(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&kt(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&ca(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&zn(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&zn(e,u,h,g[u],o))}return e}function Yr(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){D.__e(r,n)}}function Kr(e,t,n){var r,o;if(D.unmount&&D.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Yr(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){D.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Kr(r[o],t,n||typeof e.type!="function");n||e.__e==null||ca(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Hu(e,t,n){return this.constructor(e,n)}function Ft(e,t,n){var r,o,i,a;D.__&&D.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Br(t,e=(!r&&n||t).__k=re(F,null,[e]),o||fn,fn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?dn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),va(i,e,a)}function qr(e,t){Ft(e,t,qr)}function Uu(e,t,n){var r,o,i,a,s=Ue({},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?dn.call(arguments,2):n),pn(e.type,s,r||e.key,o||e.ref,null)}function Xr(e,t){var n={__c:t="__cC"+aa++,__: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,Wr(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}dn=sa.slice,D={__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}},ra=0,xe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ue({},this.state),typeof e=="function"&&(e=e(Ue({},n),this.props)),e&&Ue(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Wr(this))},xe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Wr(this))},xe.prototype.render=F,xt=[],ia=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Hr=function(e,t){return e.__v.__b-t.__v.__b},Vn.__r=0,Ur=0,Vr=ha(!1),zr=ha(!0),aa=0;var _a=/[\s\n\\/='"\0<>]/,ga=/^(xlink|xmlns|xml)([A-Z])/,Vu=/^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]/,zu=/^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/,Wu=/["&<]/;function Wn(e){if(e.length===0||Wu.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 wa={},Bu=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"]),Yu=/[A-Z]/g;function Ku(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:wa[n]||(wa[n]=n.replace(Yu,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Bu.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Gr,$t,hn,vn,ma=[],ya=Array.isArray,Zr=Object.assign;function qu(e,t,n){var r=D.__s;D.__s=!0,Gr=D.__b,$t=D.diffed,hn=D.__r,vn=D.unmount;var o=re(F,null);o.__k=[e];try{var i=Re(e,t||xa,!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{D.__c&&D.__c(e,ma),D.__s=r,ma.length=0}}function ba(){this.__d=!0}var xa={};function ka(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=xa),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Zr({},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(),hn&&hn(e),n.render(n.props,n.state,t)}function Re(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Wn(e+"");if(ya(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,p=Re(f,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,Gr&&Gr(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var b="",y=0;y<_.tpl.length;y++)if(b+=_.tpl[y],_.exprs&&y<_.exprs.length){var x=_.exprs[y];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!ya(x)?b+=x:b+=Re(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+Wn(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var $=t[d.__c];m=$?$.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=ka(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:ba,forceUpdate:ba,__d:!0,__h:[]};for(var O=0;h.__d&&O++<25;)h.__d=!1,hn&&hn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=Zr({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&D.errorBoundaries){var k="";v=v!=null&&v.type===F&&v.key==null?v.props.children:v;try{return k=Re(v,t,n,r,e,i,a)}catch(K){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(K)),h.componentDidCatch&&h.componentDidCatch(K,{}),h.__d&&(v=ka(e,t),(h=e.__c).getChildContext!=null&&(t=Zr({},t,h.getChildContext())),k=Re(v=v!=null&&v.type===F&&v.key==null?v.props.children:v,t,n,r,e,i,a)),k}finally{$t&&$t(e),e.__=null,vn&&vn(e)}}}v=v!=null&&v.type===F&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var C=Re(v,t,n,r,e,i,a);return $t&&$t(e),e.__=null,D.unmount&&D.unmount(e),C}catch(K){if(!i&&a&&a.onError){var j=a.onError(K,e,function(ae){return Re(ae,t,n,r,e,i,a)});if(j!==void 0)return j;var R=D.__e;return R&&R(K,e),""}if(!i||!K||typeof K.then!="function")throw K;var I=function ae(){try{return Re(v,t,n,r,e,i,a)}catch(le){if(!le||typeof le.then!="function")throw le;return le.then(function(){return Re(v,t,n,r,e,i,a)},function(){return ae()})}};return K.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=Ku(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(ga.test(S))S=S.replace(ga,"$1:$2").toLowerCase();else{if(_a.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?zu.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):Vu.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+Wn(E+"")+'"')}if(_a.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=Wn(L):L!=null&&L!==!1&&L!==!0&&(M=Re(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),$t&&$t(e),e.__=null,vn&&vn(e),!M&&Xu.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 Xu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Jr="RFC3986",Qr={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},Gu="RFC1738",Zu=Array.isArray,De=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),eo=1024,Ju=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=eo){const l=i.length>=eo?i.slice(s,s+eo):i,u=[];for(let f=0;f<l.length;++f){let c=l.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===Gu&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=De[c];continue}if(c<2048){u[u.length]=De[192|c>>6]+De[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=De[224|c>>12]+De[128|c>>6&63]+De[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=De[240|c>>18]+De[128|c>>12&63]+De[128|c>>6&63]+De[128|c&63]}a+=u.join("")}return a};function Qu(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function $a(e,t){if(Zu(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var ed=Object.prototype.hasOwnProperty,ja={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Ne=Array.isArray,td=Array.prototype.push,Sa=function(e,t){td.apply(e,Ne(t)?t:[t])},nd=Date.prototype.toISOString,oe={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Ju,encodeValuesOnly:!1,format:Jr,formatter:Qr[Jr],indices:!1,serializeDate(e){return nd.call(e)},skipNulls:!1,strictNullHandling:!1};function rd(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var to={};function Ea(e,t,n,r,o,i,a,s,l,u,f,c,p,d,v,h,g,_){let m=e,b=_,y=0,x=!1;for(;(b=b.get(to))!==void 0&&!x;){const j=b.get(e);if(y+=1,typeof j<"u"){if(j===y)throw new RangeError("Cyclic object value");x=!0}typeof b.get(to)>"u"&&(y=0)}if(typeof u=="function"?m=u(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Ne(m)&&(m=$a(m,function(j){return j instanceof Date?p==null?void 0:p(j):j})),m===null){if(i)return l&&!h?l(t,oe.encoder,g,"key",d):t;m=""}if(rd(m)||Qu(m)){if(l){const j=h?t:l(t,oe.encoder,g,"key",d);return[(v==null?void 0:v(j))+"="+(v==null?void 0:v(l(m,oe.encoder,g,"value",d)))]}return[(v==null?void 0:v(t))+"="+(v==null?void 0:v(String(m)))]}const $=[];if(typeof m>"u")return $;let O;if(n==="comma"&&Ne(m))h&&l&&(m=$a(m,l)),O=[{value:m.length>0?m.join(",")||null:void 0}];else if(Ne(u))O=u;else{const j=Object.keys(m);O=f?j.sort(f):j}const k=s?String(t).replace(/\./g,"%2E"):String(t),C=r&&Ne(m)&&m.length===1?k+"[]":k;if(o&&Ne(m)&&m.length===0)return C+"[]";for(let j=0;j<O.length;++j){const R=O[j],I=typeof R=="object"&&typeof R.value<"u"?R.value:m[R];if(a&&I===null)continue;const L=c&&s?R.replace(/\./g,"%2E"):R,N=Ne(m)?typeof n=="function"?n(C,L):C:C+(c?"."+L:"["+L+"]");_.set(e,y);const M=new WeakMap;M.set(to,_),Sa($,Ea(I,N,n,r,o,i,a,s,n==="comma"&&h&&Ne(m)?null:l,u,f,c,p,d,v,h,g,M))}return $}function od(e=oe){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||oe.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=Jr;if(typeof e.format<"u"){if(!ed.call(Qr,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=Qr[n];let o=oe.filter;(typeof e.filter=="function"||Ne(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in ja?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=oe.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:oe.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:oe.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:oe.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:oe.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?oe.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:oe.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:oe.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:oe.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:oe.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:oe.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:oe.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:oe.strictNullHandling}}function Ca(e,t={}){let n=e;const r=od(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Ne(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=ja[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const u=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||Sa(a,Ea(n[d],d,s,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var Bn=class extends Error{constructor(t){super(t[0].message);ta(this,"issues");this.name="ValiError",this.issues=t}};function Oa(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function _n(e){return{issues:e}}function jt(e){return{output:e}}function id(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ad(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ot(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return jt(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||ad(n,r);for(const u of l.issues){const f=id(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?_n(i):jt(a)}function it(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Aa(e){return typeof e=="function"?e():e}function sd(e,t,n,r){return _n([{validation:e,message:Aa(t),input:n,requirement:r}])}function cd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=it(t,n);return[e,i,a]}const[r,o]=it(e,t);return[void 0,r,o]}function at(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Aa(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function Ta(e){return typeof e.default=="function"?e.default():e.default}function ld(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ot(t,this.pipe,n,"any")}}}function Pa(e,t,n){const[r="Invalid type",o]=it(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return at(a,"type","array",this.message,i);let s;const l=[];for(let u=0;u<i.length;u++){const f=i[u],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:u,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else l.push(c.output)}return s?_n(s):ot(l,this.pipe,a,"array")}}}function Ra(e,t){const[n="Invalid type",r]=it(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?at(i,"type","boolean",this.message,o):ot(o,this.pipe,i,"boolean")}}}function st(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?at(r,"type","literal",this.message,n):jt(n)}}}function ke(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=Ta(this);if(o===void 0)return jt(n);n=o}return this.wrapped._parse(n,r)}}}function Ht(e,t){const[n="Invalid type",r]=it(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?at(i,"type","number",this.message,o):ot(o,this.pipe,i,"number")}}}function Yn(e,t,n,r){const[o,i="Invalid type",a]=cd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return at(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const v=l[p],h=d._parse(v,u);if(h.issues){const g={type:"object",input:l,key:p,value:v};for(const _ of h.issues)_.path?_.path.unshift(g):_.path=[g],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],v=this.rest._parse(d,u);if(v.issues){const h={type:"object",input:l,key:p,value:d};for(const g of v.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else c[p]=v.output}}return f?_n(f):ot(c,this.pipe,u,"object")}}}function no(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=Ta(this);if(o===void 0)return jt(n);n=o}return this.wrapped._parse(n,r)}}}function ee(e,t){const[n="Invalid type",r]=it(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?at(i,"type","string",this.message,o):ot(o,this.pipe,i,"string")}}}function ud(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=it(n,r);return[e,t,a,s]}const[o,i]=it(t,n);return[ee(),e,o,i]}var dd=["__proto__","prototype","constructor"];function Da(e,t,n,r){const[o,i,a="Invalid type",s]=ud(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return at(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!dd.includes(p)){let v;const h=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(h.issues){v={type:"record",input:l,key:p,value:d};for(const _ of h.issues)_.path=[v],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const g=this.value._parse(d,u);if(g.issues){v=v||{type:"record",input:l,key:p,value:d};for(const _ of g.issues)_.path?_.path.unshift(v):_.path=[v],f==null||f.push(_);if(f||(f=g.issues),u!=null&&u.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?_n(f):ot(c,this.pipe,u,"record")}}}function Na(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const l of s.issues)o.push(l);else o=s.issues;else{i=[s.output];break}}return i?jt(i[0]):at(r,"type","union",this.message,n,o)}}}function La(e,t,n){const r=e._parse(t,n);if(r.issues)throw new Bn(r.issues);return r.output}function fd(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new Bn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function Ma(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):ot(a,n,o,typeof a)}}}function pd(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?jt(t):sd(this.type,this.message,t,this.requirement)}}}const Ia="inploi-job-search",Fa="ijs",Kn=10,Ha={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},hd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in Ha?Ha[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},vd=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),_d=({from:e=new Date,to:t,formatter:n=vd})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"over 30 days ago":"in over 30 days"},gd=Da(Pa(Yn({label:Oa(ee(),String),value:Oa(ee(),String),jobs:Ht()}))),wd=ee([pd()]),md=Yn({total:Ht(),current_page:Ht(),per_page:Ht(),last_page:Ht()}),yd=Yn({id:Ht(),company_name:ee(),company_logo:ke(no(ee())),employment_type:ee(),location_type:Na([st("LOCATION"),st("REMOTE"),st("HYBRID")]),pay_type:ke(Na([st("ANNUALLY"),st("HOURLY"),st("MONTHLY"),st("WEEKLY"),st("DAILY")])),pay_currency:ee(),pay_mask:Ra(),pay_display:Ra(),pay:ke(ee()),pay_min:ke(ee()),pay_max:ke(ee()),description:ee(),title:ee(),contract_type:ke(ee()),created_at:ke(ee()),custom_data:ke(Da(ld())),href:ee(),industry:ke(ee()),category:ke(ee()),skills:no(ee()),town:no(ee()),city:ke(ee()),country:ke(ee())}),bd=Ma(yd,e=>{const t=fd(wd,e.company_logo);return{raw:e,id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:void 0},employmentType:e.employment_type,locationType:e.location_type,pay:hd({salary:e,config:{locales:void 0}}),description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?_d({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data}}),xd=Ma(Yn({data:Pa(bd),pagination:md}),e=>({pagination:e.pagination,results:e.data})),kd=e=>!e||Array.isArray(e)&&e.length===0?null:e,Ua=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,kd(n==null?void 0:n.value)])),Va=async({apiClient:e,filters:t,logger:n,signal:r})=>{try{const o=new URLSearchParams(Ca({filters:Ua(t)})),i="/search/filters",a=await e.fetch([i,o.toString()].filter(Boolean).join("?"),{signal:r});return La(gd,a)}catch(o){throw o instanceof Bn?n.error(o.message,o.issues):n.error(o),o}},za=async({apiClient:e,logger:t,signal:n,filters:r,page:o=1})=>{try{const i=new URLSearchParams(Ca({filters:Ua(r)}));i.set("page",o.toString()),i.set("per_page",Kn.toString());const a="/search/results",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:n});return La(xd,s)}catch(i){throw i instanceof Bn?t.error(i.message,i.issues):t.error(i),i}},ro=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},oo={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var $d=0;function w(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:--$d,__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 D.vnode&&D.vnode(u),u}function Wa(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Wa(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function jd(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Wa(e))&&(r&&(r+=" "),r+=t);return r}function Ba(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ba(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function io(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ba(e))&&(r&&(r+=" "),r+=t);return r}const Ya=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Sd=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](io(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(io(i)):io(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return t(i.map(u=>u(l)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:l}=o,u=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],v=l==null?void 0:l[p],h=Ya(d)||Ya(v);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[v,h]=d;return typeof h>"u"?p:{...p,[v]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:v,className:h,...g}=d;return Object.entries(g).every(_=>{let[m,b]=_;const y=f[m];return Array.isArray(b)?b.includes(y):y===b})?[...p,v,h]:p},[]);return t(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:zm,cva:Ee,cx:Wm}=Sd(),qn=Ee({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}}),Ed=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ct=({error:e,resetError:t,class:n,...r})=>w("div",{class:jd("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:qn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class gn extends xe{constructor(){super(...arguments);ta(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const Cd={briefcase:w(F,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(F,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(F,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(F,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(F,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(F,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(F,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(F,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(F,{children:w(F,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:w(F,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:w(F,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},Od=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(Cd).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),St=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var ze,W,ao,Ka,Ut=0,qa=[],J=D,Xa=J.__b,Ga=J.__r,Za=J.diffed,Ja=J.__c,Qa=J.unmount,es=J.__;function Et(e,t){J.__h&&J.__h(W,e,Ut||t),Ut=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Ce(e){return Ut=1,Xn(ns,e)}function Xn(e,t,n){var r=Et(ze++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ns(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=W,!W.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};W.u=!0;var i=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},W.shouldComponentUpdate=o}return r.__N||r.__}function Oe(e,t){var n=Et(ze++,3);!J.__s&&uo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function lt(e,t){var n=Et(ze++,4);!J.__s&&uo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function we(e){return Ut=5,ut(function(){return{current:e}},[])}function so(e,t,n){Ut=6,lt(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 ut(e,t){var n=Et(ze++,7);return uo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Ct(e,t){return Ut=8,ut(function(){return e},t)}function Gn(e){var t=W.context[e.__c],n=Et(ze++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function Zn(e,t){J.useDebugValue&&J.useDebugValue(t?t(e):e)}function Ad(e){var t=Et(ze++,10),n=Ce();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function co(){var e=Et(ze++,11);if(!e.__){for(var t=W.__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 Td(){for(var e;e=qa.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Jn),e.__H.__h.forEach(lo),e.__H.__h=[]}catch(t){e.__H.__h=[],J.__e(t,e.__v)}}J.__b=function(e){W=null,Xa&&Xa(e)},J.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),es&&es(e,t)},J.__r=function(e){Ga&&Ga(e),ze=0;var t=(W=e.__c).__H;t&&(ao===W?(t.__h=[],W.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Jn),t.__h.forEach(lo),t.__h=[],ze=0)),ao=W},J.diffed=function(e){Za&&Za(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(qa.push(t)!==1&&Ka===J.requestAnimationFrame||((Ka=J.requestAnimationFrame)||Pd)(Td)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ao=W=null},J.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Jn),n.__h=n.__h.filter(function(r){return!r.__||lo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],J.__e(r,n.__v)}}),Ja&&Ja(e,t)},J.unmount=function(e){Qa&&Qa(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Jn(r)}catch(o){t=o}}),n.__H=void 0,t&&J.__e(t,n.__v))};var ts=typeof requestAnimationFrame=="function";function Pd(e){var t,n=function(){clearTimeout(r),ts&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ts&&(t=requestAnimationFrame(n))}function Jn(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function lo(e){var t=W;e.__c=e.__(),W=t}function uo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ns(e,t){return typeof t=="function"?t(e):t}const Qn=e=>{const t=Object.entries(e.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${e.baseKey}::${t}`},Bm="",Rd=e=>{const t=Object.entries(e).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(t)},Dd=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=Ce();return Oe(()=>{Promise.resolve().then(()=>Fm).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),Oe(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Oe(()=>{i==null||i.setFilters(Rd(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function rs(e,t){for(var n in t)e[n]=t[n];return e}function fo(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 er(e,t){this.props=e,this.context=t}function os(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:fo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,re(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(er.prototype=new xe).isPureReactComponent=!0,er.prototype.shouldComponentUpdate=function(e,t){return fo(this.props,e)||fo(this.state,t)};var is=D.__b;D.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),is&&is(e)};var Nd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function as(e){function t(n){var r=rs({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Nd,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ss=function(e,t){return e==null?null:Ve(Ve(e).map(t))},cs={map:ss,forEach:ss,count:function(e){return e?Ve(e).length:0},only:function(e){var t=Ve(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ve},Ld=D.__e;D.__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)}Ld(e,t,n,r)};var ls=D.unmount;function us(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=rs({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return us(r,t,n)})),e}function ds(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ds(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 wn(){this.__u=0,this.t=null,this.__b=null}function fs(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ps(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 re(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Vt(){this.u=null,this.o=null}D.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ls&&ls(e)},(wn.prototype=new xe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=fs(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]=ds(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)},wn.prototype.componentWillUnmount=function(){this.t=[]},wn.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]=us(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&re(F,null,e.fallback);return o&&(o.__u&=-33),[re(F,null,t.__a?null:e.children),o]};var hs=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 Md(e){return this.getChildContext=function(){return e.context},e.children}function Id(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ft(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)}}),Ft(re(Md,{context:t.context},e.__v),t.l)}function vs(e,t){var n=re(Id,{__v:e,i:t});return n.containerInfo=t,n}(Vt.prototype=new xe).__a=function(e){var t=this,n=fs(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),hs(t,e,r)):o()};n?n(i):i()}},Vt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ve(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},Vt.prototype.componentDidUpdate=Vt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){hs(e,n,t)})};var _s=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Fd=/^(?: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]/,Hd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ud=/[A-Z0-9]/g,Vd=typeof document<"u",zd=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function gs(e,t,n){return t.__k==null&&(t.textContent=""),Ft(e,t),typeof n=="function"&&n(),e?e.__c:null}function ws(e,t,n){return qr(e,t),typeof n=="function"&&n(),e?e.__c:null}xe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(xe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ms=D.event;function Wd(){}function Bd(){return this.cancelBubble}function Yd(){return this.defaultPrevented}D.event=function(e){return ms&&(e=ms(e)),e.persist=Wd,e.isPropagationStopped=Bd,e.isDefaultPrevented=Yd,e.nativeEvent=e};var po,Kd={enumerable:!1,configurable:!0,get:function(){return this.class}},ys=D.vnode;D.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||Vd&&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"||zd(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Hd.test(i)?i=s:r.indexOf("-")===-1&&Fd.test(i)?i=i.replace(Ud,"-$&").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=Ve(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ve(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",Kd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=_s,ys&&ys(e)};var bs=D.__r;D.__r=function(e){bs&&bs(e),po=e.__c};var xs=D.diffed;D.diffed=function(e){xs&&xs(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),po=null};var ks={ReactCurrentDispatcher:{current:{readContext:function(e){return po.__n[e.__c].props.value},useCallback:Ct,useContext:Gn,useDebugValue:Zn,useDeferredValue:vo,useEffect:Oe,useId:co,useImperativeHandle:so,useInsertionEffect:go,useLayoutEffect:lt,useMemo:ut,useReducer:Xn,useRef:we,useState:Ce,useSyncExternalStore:wo,useTransition:_o}}},qd="17.0.2";function $s(e){return re.bind(null,e)}function mn(e){return!!e&&e.$$typeof===_s}function js(e){return mn(e)&&e.type===F}function Ss(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Es(e){return mn(e)?Uu.apply(null,arguments):e}function Cs(e){return!!e.__k&&(Ft(null,e),!0)}function Os(e){return e&&(e.base||e.nodeType===1&&e)||null}var As=function(e,t){return e(t)},Ts=function(e,t){return e(t)},Ps=F;function ho(e){e()}function vo(e){return e}function _o(){return[!1,ho]}var go=lt,Rs=mn;function wo(e,t){var n=t(),r=Ce({h:{__:n,v:t}}),o=r[0].h,i=r[1];return lt(function(){o.__=n,o.v=t,mo(o)&&i({h:o})},[e,n,t]),Oe(function(){return mo(o)&&i({h:o}),e(function(){mo(o)&&i({h:o})})},[e]),n}function mo(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 tr={useState:Ce,useId:co,useReducer:Xn,useEffect:Oe,useLayoutEffect:lt,useInsertionEffect:go,useTransition:_o,useDeferredValue:vo,useSyncExternalStore:wo,startTransition:ho,useRef:we,useImperativeHandle:so,useMemo:ut,useCallback:Ct,useContext:Gn,useDebugValue:Zn,version:"17.0.2",Children:cs,render:gs,hydrate:ws,unmountComponentAtNode:Cs,createPortal:vs,createElement:re,createContext:Xr,createFactory:$s,cloneElement:Es,createRef:la,Fragment:F,isValidElement:mn,isElement:Rs,isFragment:js,isMemo:Ss,findDOMNode:Os,Component:xe,PureComponent:er,memo:os,forwardRef:as,flushSync:Ts,unstable_batchedUpdates:As,StrictMode:Ps,Suspense:wn,SuspenseList:Vt,lazy:ps,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ks};const Xd=Object.freeze(Object.defineProperty({__proto__:null,Children:cs,Component:xe,Fragment:F,PureComponent:er,StrictMode:Ps,Suspense:wn,SuspenseList:Vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ks,cloneElement:Es,createContext:Xr,createElement:re,createFactory:$s,createPortal:vs,createRef:la,default:tr,findDOMNode:Os,flushSync:Ts,forwardRef:as,hydrate:ws,isElement:Rs,isFragment:js,isMemo:Ss,isValidElement:mn,lazy:ps,memo:os,render:gs,startTransition:ho,unmountComponentAtNode:Cs,unstable_batchedUpdates:As,useCallback:Ct,useContext:Gn,useDebugValue:Zn,useDeferredValue:vo,useEffect:Oe,useErrorBoundary:Ad,useId:co,useImperativeHandle:so,useInsertionEffect:go,useLayoutEffect:lt,useMemo:ut,useReducer:Xn,useRef:we,useState:Ce,useSyncExternalStore:wo,useTransition:_o,version:qd},Symbol.toStringTag,{value:"Module"}));var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var yo={exports:{}},bo={};const Ds=Zd(Xd);/**
2
2
  * @license React
3
3
  * use-sync-external-store-shim.production.min.js
4
4
  *
@@ -6,7 +6,7 @@ var Cm=Object.defineProperty;var Om=(ve,fe,gt)=>fe in ve?Cm(ve,fe,{enumerable:!0
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var xs;function Yd(){if(xs)return yo;xs=1;var e=bs;function t(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(c,p){var d=p(),_=r({inst:{value:d,getSnapshot:p}}),h=_[0].inst,g=_[1];return i(function(){h.value=d,h.getSnapshot=p,u(h)&&g({inst:h})},[c,d,p]),o(function(){return u(h)&&g({inst:h}),c(function(){u(h)&&g({inst:h})})},[c]),a(d),d}function u(c){var p=c.getSnapshot;c=c.value;try{var d=p();return!n(c,d)}catch{return!0}}function l(c,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return yo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,yo}var bo={};/**
9
+ */var Ns;function Jd(){if(Ns)return bo;Ns=1;var e=Ds;function t(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(c,p){var d=p(),v=r({inst:{value:d,getSnapshot:p}}),h=v[0].inst,g=v[1];return i(function(){h.value=d,h.getSnapshot=p,l(h)&&g({inst:h})},[c,d,p]),o(function(){return l(h)&&g({inst:h}),c(function(){l(h)&&g({inst:h})})},[c]),a(d),d}function l(c){var p=c.getSnapshot;c=c.value;try{var d=p();return!n(c,d)}catch{return!0}}function u(c,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return bo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,bo}var xo={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-shim.development.js
12
12
  *
@@ -14,12 +14,12 @@ var Cm=Object.defineProperty;var Om=(ve,fe,gt)=>fe in ve?Cm(ve,fe,{enumerable:!0
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ks;function Kd(){return ks||(ks=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=bs,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(y){{for(var b=arguments.length,x=new Array(b>1?b-1:0),$=1;$<b;$++)x[$-1]=arguments[$];r("error",y,x)}}function r(y,b,x){{var $=t.ReactDebugCurrentFrame,E=$.getStackAddendum();E!==""&&(b+="%s",x=x.concat([E]));var k=x.map(function(j){return String(j)});k.unshift("Warning: "+b),Function.prototype.apply.call(console[y],console,k)}}function o(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,u=e.useLayoutEffect,l=e.useDebugValue,f=!1,c=!1;function p(y,b,x){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var $=b();if(!c){var E=b();i($,E)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var k=a({inst:{value:$,getSnapshot:b}}),j=k[0].inst,C=k[1];return u(function(){j.value=$,j.getSnapshot=b,d(j)&&C({inst:j})},[y,$,b]),s(function(){d(j)&&C({inst:j});var D=function(){d(j)&&C({inst:j})};return y(D)},[y]),l($),$}function d(y){var b=y.getSnapshot,x=y.value;try{var $=b();return!i(x,$)}catch{return!0}}function _(y,b,x){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,v=g?_:p,m=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v;bo.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),bo}process.env.NODE_ENV==="production"?mo.exports=Yd():mo.exports=Kd();var qd=mo.exports;const ct=()=>{},pe=ct(),xo=Object,H=e=>e===pe,De=e=>typeof e=="function",lt=(e,t)=>({...e,...t}),Gd=e=>De(e.then),Qn=new WeakMap;let Xd=0;const mn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(xo(e)===e&&!r&&n!=RegExp){if(o=Qn.get(e),o)return o;if(o=++Xd+"~",Qn.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=mn(e[i])+",";Qn.set(e,o)}if(n==xo){o="#";const a=xo.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+mn(e[i])+",");Qn.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},He=new WeakMap,ko={},er={},$o="undefined",tr=typeof window!=$o,jo=typeof document!=$o,Zd=()=>tr&&typeof window.requestAnimationFrame!=$o,$s=(e,t)=>{const n=He.get(e);return[()=>!H(t)&&e.get(t)||ko,r=>{if(!H(t)){const o=e.get(t);t in er||(er[t]=o),n[5](t,lt(o,r),o||ko)}},n[6],()=>!H(t)&&t in er?er[t]:!H(t)&&e.get(t)||ko]};let So=!0;const Jd=()=>So,[Eo,Co]=tr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ct,ct],Qd=()=>{const e=jo&&document.visibilityState;return H(e)||e!=="hidden"},ef=e=>(jo&&document.addEventListener("visibilitychange",e),Eo("focus",e),()=>{jo&&document.removeEventListener("visibilitychange",e),Co("focus",e)}),tf=e=>{const t=()=>{So=!0,e()},n=()=>{So=!1};return Eo("online",t),Eo("offline",n),()=>{Co("online",t),Co("offline",n)}},nf={isOnline:Jd,isVisible:Qd},rf={initFocus:ef,initReconnect:tf},js=!Zn.useId,yn=!tr||"Deno"in window,of=e=>Zd()?window.requestAnimationFrame(e):setTimeout(e,1),Oo=yn?Oe:at,Ao=typeof navigator<"u"&&navigator.connection,Ss=!yn&&Ao&&(["slow-2g","2g"].includes(Ao.effectiveType)||Ao.saveData),To=e=>{if(De(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?mn(e):"",[e,t]};let af=0;const Po=()=>++af,Es=0,Cs=1,Os=2;var bn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Es,MUTATE_EVENT:Os,RECONNECT_EVENT:Cs};async function As(...e){const[t,n,r,o]=e,i=lt({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let u=i.optimisticData;const l=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(De(n)){const p=n,d=[],_=t.keys();for(const h of _)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=To(p);if(!d)return;const[_,h]=$s(t,d),[g,v,m,y]=He.get(t),b=()=>{const L=g[d];return(De(i.revalidate)?i.revalidate(_().data,p):i.revalidate!==!1)&&(delete m[d],delete y[d],L&&L[0])?L[0](Os).then(()=>_().data):_().data};if(e.length<3)return b();let x=r,$;const E=Po();v[d]=[E,0];const k=!H(u),j=_(),C=j.data,D=j._c,M=H(D)?C:D;if(k&&(u=De(u)?u(M,C):u,h({data:u,_c:M})),De(x))try{x=x(M)}catch(L){$=L}if(x&&Gd(x))if(x=await x.catch(L=>{$=L}),E!==v[d][0]){if($)throw $;return x}else $&&k&&l($)&&(a=!0,h({data:M,_c:pe}));if(a&&!$)if(De(a)){const L=a(x,M);h({data:L,error:pe,_c:pe})}else h({data:x,error:pe,_c:pe});if(v[d][1]=Po(),Promise.resolve(b()).then(()=>{h({_c:pe})}),$){if(f)throw $;return}return x}}const Ts=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},sf=(e,t)=>{if(!He.has(e)){const n=lt(rf,t),r={},o=As.bind(pe,e);let i=ct;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},u=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const _ of d)_(c,p)},l=()=>{if(!He.has(e)&&(He.set(e,[r,{},{},{},o,u,s]),!yn)){const f=n.initFocus(setTimeout.bind(pe,Ts.bind(pe,r,Es))),c=n.initReconnect(setTimeout.bind(pe,Ts.bind(pe,r,Cs)));i=()=>{f&&f(),c&&c(),He.delete(e)}}};return l(),[e,o,l,i]}return[e,He.get(e)[4]]},cf=(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)},lf=(e,t)=>mn(e)==mn(t),[Ps,uf]=sf(new Map),df=lt({onLoadingSlow:ct,onSuccess:ct,onError:ct,onErrorRetry:cf,onDiscarded:ct,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ss?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ss?5e3:3e3,compare:lf,isPaused:()=>!1,cache:Ps,mutate:uf,fallback:{}},nf),ff=(e,t)=>{const n=lt(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=lt(o,a))}return n},pf=qr({}),hf="$inf$",Rs=tr&&window.__SWR_DEVTOOLS_USE__,vf=Rs?window.__SWR_DEVTOOLS_USE__:[],_f=()=>{Rs&&(window.__SWR_DEVTOOLS_REACT__=Zn)},gf=e=>De(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],wf=()=>lt(df,Yn(pf)),mf=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=To(t),[,,,s]=He.get(Ps);if(a.startsWith(hf))return n(...i);const u=s[a];return H(u)?n(...i):(delete s[a],u)}),r),yf=vf.concat(mf),bf=e=>function(...n){const r=wf(),[o,i,a]=gf(n),s=ff(r,a);let u=e;const{use:l}=s,f=(l||[]).concat(yf);for(let c=f.length;c--;)u=f[c](u);return u(o,i||s.fetcher||null,s)},xf=(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())}};_f();const Ds=Zn.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)}),Ro={dedupe:!0},Do=bf((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:l,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,_,h,g]=He.get(r),[v,m]=To(e),y=_e(!1),b=_e(!1),x=_e(v),$=_e(t),E=_e(n),k=()=>E.current,j=()=>k().isVisible()&&k().isOnline(),[C,D,M,L]=$s(r,v),N=_e({}).current,F=H(a)?n.fallback[v]:a,R=(W,B)=>{for(const ie in N){const Y=ie;if(Y==="data"){if(!o(W[Y],B[Y])&&(!H(W[Y])||!o(Je,B[Y])))return!1}else if(B[Y]!==W[Y])return!1}return!0},P=st(()=>{const W=(()=>!v||!t?!1:H(s)?k().isPaused()||i?!1:H(u)?!0:u:s)(),B=ce=>{const Ae=lt(ce);return delete Ae._k,W?{isValidating:!0,isLoading:!0,...Ae}:Ae},ie=C(),Y=L(),ye=B(ie),_t=ie===Y?ye:B(Y);let ne=ye;return[()=>{const ce=B(C());return R(ce,ne)?(ne.data=ce.data,ne.isLoading=ce.isLoading,ne.isValidating=ce.isValidating,ne.error=ce.error,ne):(ne=ce,ce)},()=>_t]},[r,v]),te=qd.useSyncExternalStore($t(W=>M(v,(B,ie)=>{R(ie,B)||W()}),[r,v]),P[0],P[1]),le=!y.current,he=d[v]&&d[v].length>0,de=te.data,me=H(de)?F:de,Dt=te.error,Mr=_e(me),Je=p?H(de)?Mr.current:de:me,Qe=(()=>he&&!H(Dt)?!1:le&&!H(s)?s:k().isPaused()?!1:i?H(me)?!1:u:H(me)||u)(),Ln=!!(v&&t&&le&&Qe),Ii=H(te.isValidating)?Ln:te.isValidating,ln=H(te.isLoading)?Ln:te.isLoading,Nt=$t(async W=>{const B=$.current;if(!v||!B||b.current||k().isPaused())return!1;let ie,Y,ye=!0;const _t=W||{},ne=!h[v]||!_t.dedupe,ce=()=>js?!b.current&&v===x.current&&y.current:v===x.current,Ae={isValidating:!1,isLoading:!1},Lt=()=>{D(Ae)},Cu=()=>{const Se=h[v];Se&&Se[1]===Y&&delete h[v]},Ou={isValidating:!0};H(C().data)&&(Ou.isLoading=!0);try{if(ne&&(D(Ou),n.loadingTimeout&&H(C().data)&&setTimeout(()=>{ye&&ce()&&k().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[B(m),Po()]),[ie,Y]=h[v],ie=await ie,ne&&setTimeout(Cu,n.dedupingInterval),!h[v]||h[v][1]!==Y)return ne&&ce()&&k().onDiscarded(v),!1;Ae.error=pe;const Se=_[v];if(!H(Se)&&(Y<=Se[0]||Y<=Se[1]||Se[1]===0))return Lt(),ne&&ce()&&k().onDiscarded(v),!1;const et=C().data;Ae.data=o(et,ie)?et:ie,ne&&ce()&&k().onSuccess(ie,v,n)}catch(Se){Cu();const et=k(),{shouldRetryOnError:Hi}=et;et.isPaused()||(Ae.error=Se,ne&&ce()&&(et.onError(Se,v,et),(Hi===!0||De(Hi)&&Hi(Se))&&(!k().revalidateOnFocus||!k().revalidateOnReconnect||j())&&et.onErrorRetry(Se,v,et,Em=>{const Vi=d[v];Vi&&Vi[0]&&Vi[0](bn.ERROR_REVALIDATE_EVENT,Em)},{retryCount:(_t.retryCount||0)+1,dedupe:!0})))}return ye=!1,Lt(),!0},[v,r]),Fr=$t((...W)=>As(r,x.current,...W),[]);if(Oo(()=>{$.current=t,E.current=n,H(de)||(Mr.current=de)}),Oo(()=>{if(!v)return;const W=Nt.bind(pe,Ro);let B=0;const Y=xf(v,d,(ye,_t={})=>{if(ye==bn.FOCUS_EVENT){const ne=Date.now();k().revalidateOnFocus&&ne>B&&j()&&(B=ne+k().focusThrottleInterval,W())}else if(ye==bn.RECONNECT_EVENT)k().revalidateOnReconnect&&j()&&W();else{if(ye==bn.MUTATE_EVENT)return Nt();if(ye==bn.ERROR_REVALIDATE_EVENT)return Nt(_t)}});return b.current=!1,x.current=v,y.current=!0,D({_k:m}),Qe&&(H(me)||yn?W():of(W)),()=>{b.current=!0,Y()}},[v]),Oo(()=>{let W;function B(){const Y=De(l)?l(C().data):l;Y&&W!==-1&&(W=setTimeout(ie,Y))}function ie(){!C().error&&(f||k().isVisible())&&(c||k().isOnline())?Nt(Ro).then(B):B()}return B(),()=>{W&&(clearTimeout(W),W=-1)}},[l,f,c,v]),Kn(Je),i&&H(me)&&v){if(!js&&yn)throw new Error("Fallback data is required when using suspense in SSR.");$.current=t,E.current=n,b.current=!1;const W=g[v];if(!H(W)){const B=Fr(W);Ds(B)}if(H(Dt)){const B=Nt(Ro);H(Je)||(B.status="fulfilled",B.value=!0),Ds(B)}else throw Dt}return{mutate:Fr,get data(){return N.data=!0,Je},get error(){return N.error=!0,Dt},get isValidating(){return N.isValidating=!0,Ii},get isLoading(){return N.isLoading=!0,ln}}}),Ve=Ee({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}}),kf=({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 fe(i),w("span",{class:Ve({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Ve({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ve(e)}},$f=44,jf=6,Sf=12,Ef=8,Cf=Ee({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),Of=Ee({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"}}),Af=Ee({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"}}}),Tf=Ee({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-all 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}}),Pf=Ee({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"}}}),Rf=({children:e,colorScheme:t})=>w("span",{class:Pf({colorScheme:t}),children:w("span",{class:"block w-[2.5ch] text-center tabular-nums",children:e})}),Df=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},Ns=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},Nf=(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=Ns(r.value),a=Ns(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},Lf=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},Mf=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Ff=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=no(r()),u=st(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const d=s.data[t.key]??[];return Object.fromEntries(d.map(_=>[_.value,_.jobs]))}default:ve(s)}},[s,t.key]),l=Ms(e),f=l.length>0,[c,p]=Ce();return Oe(()=>{a()}),s.state==="error"?w(it,{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:"text",class:Cf({hasValue:f}),value:c,onInput:d=>p(d.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(it,{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:Ve({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 d=Nf(i.data[t.key]??[],t.sortSuggestions),_=c&&c.length>1?d.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):d,h=[];for(const m of _){if(m.label.length<1)continue;const y={...m,results:Mf(u,m),disabled:Lf(u,m)};switch(t.results){case"only-available":y.disabled==!1&&h.push(y);break;default:h.push(y)}}if(!h.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 v=h.length>Sf||h.some(m=>m.label.length>24);return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":$f*(jf+.5)+2*Ef+"px"},class:Of({type:v?"long":"short"}),children:h.map(m=>{const y=l.includes(m.value);return w("li",{class:Af({type:v?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":y?"true":void 0,onClick:()=>{switch(e.select){case"many":{const b=Df(l,m.value);o({select:"many",value:b});break}case"one":o({select:"one",value:m.value});break;default:ve(e)}},class:v?Tf({active:y,disabled:m.disabled}):Ve({size:"lg",variant:y?"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(Rf,{colorScheme:y?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ve(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:Wn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(xt,{"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:[l.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:Wn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(xt,{name:"chevron-right"})]},f?"done":"skip")})]})]})},Ls={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"},If=Ee({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"}}}),Hf=Ee({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"}}}),Vf=Ee({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Uf=e=>{const t=_e(null),[n,r]=Ce(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return at(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},Ms=e=>typeof e.value=="string"?[e.value]:e.value??[],zf=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const u=gt(r.key,Ls)?Ls[r.key]:void 0,l=r.icon??u??"filter",f=Ms(t),{height:c,ref:p,updateHeight:d}=Uf([e]),_=f.length>0;return w("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":e?"true":void 0,class:If({hasValue:_}),onTouchStart:Kf,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:Hf({state:e?"active":_?"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(xt,{"aria-hidden":!0,class:"flex-none",name:l}),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(Ff,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(kf,{property:r,query:a,selectedValues:f})}),w(xt,{"aria-hidden":!0,class:Vf(),name:"chevron-right"})]})]})},Wf=e=>{const t=_e();return Oe(()=>{t.current=e},[e]),t.current},Bf=(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&&(fe(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Yf=(e,t)=>{const n=Wf(e);Oe(()=>{if(n===e)return;const r=e??n;r&&Bf(r,t)},[e,n,t])};function Kf(){}const qf=({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 u=r.findIndex(d=>d.key===e.key),l=u!==-1?(i=r[u+1])==null?void 0:i.key:void 0,c=(l?((a=o[l])==null?void 0:a.value)!==void 0:!1)?void 0:l;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:ve(t)}},Gf=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=Ce((c=e[0])==null?void 0:c.key);Yf(a,t);const u=st(()=>Uo(e.map(({value:p,...d})=>d)),[e]),l=no(Do(Gn({filter:u,baseKey:"filters"}),()=>Oa({apiClient:o,logger:i,filters:u}),ro)),f=$t(p=>()=>{const d={...n,[p]:u[p]};return Do(Gn({filter:d,baseKey:"filters"}),()=>Oa({apiClient:o,logger:i,filters:d}),ro)},[o,n,u,i]);return l.state==="error"?w(it,{error:new Error("We’re having trouble loading available filters.",{cause:l.error}),resetError:()=>l.swr.mutate()}):w("aside",{children:w("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,_=n[p.key]??{select:p.select,value:void 0},h=m=>{const{newActiveKey:y,newValue:b}=qf({property:p,activeKey:a,value:m,properties:e,appliedFilters:n});return s(y),r(p.key,b)},g=m=>s(m?p.key:void 0),v=f(p.key);return w(_n,{Fallback:it,children:w(zf,{unfilteredQuery:l,active:d,property:p,onActiveChange:g,value:_,onSkip:()=>{var b;const m=e.findIndex(x=>x.key===a),y=m!==-1?(b=e[m+1])==null?void 0:b.key:void 0;s(y)},useQuery:v,onValueChange:h})},p.key)})})})};var Xf=Array.isArray,No=Xf,Zf=typeof Jn=="object"&&Jn&&Jn.Object===Object&&Jn,Jf=Zf,Qf=Jf,ep=typeof self=="object"&&self&&self.Object===Object&&self,tp=Qf||ep||Function("return this")(),Lo=tp,np=Lo,rp=np.Symbol,Mo=rp,Fs=Mo,Is=Object.prototype,op=Is.hasOwnProperty,ip=Is.toString,xn=Fs?Fs.toStringTag:void 0;function ap(e){var t=op.call(e,xn),n=e[xn];try{e[xn]=void 0;var r=!0}catch{}var o=ip.call(e);return r&&(t?e[xn]=n:delete e[xn]),o}var sp=ap,cp=Object.prototype,lp=cp.toString;function up(e){return lp.call(e)}var dp=up,Hs=Mo,fp=sp,pp=dp,hp="[object Null]",vp="[object Undefined]",Vs=Hs?Hs.toStringTag:void 0;function _p(e){return e==null?e===void 0?vp:hp:Vs&&Vs in Object(e)?fp(e):pp(e)}var Us=_p;function gp(e){return e!=null&&typeof e=="object"}var wp=gp,mp=Us,yp=wp,bp="[object Symbol]";function xp(e){return typeof e=="symbol"||yp(e)&&mp(e)==bp}var Fo=xp,kp=No,$p=Fo,jp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sp=/^\w*$/;function Ep(e,t){if(kp(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||$p(e)?!0:Sp.test(e)||!jp.test(e)||t!=null&&e in Object(t)}var Cp=Ep;function Op(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zs=Op,Ap=Us,Tp=zs,Pp="[object AsyncFunction]",Rp="[object Function]",Dp="[object GeneratorFunction]",Np="[object Proxy]";function Lp(e){if(!Tp(e))return!1;var t=Ap(e);return t==Rp||t==Dp||t==Pp||t==Np}var Mp=Lp,Fp=Lo,Ip=Fp["__core-js_shared__"],Hp=Ip,Io=Hp,Ws=function(){var e=/[^.]+$/.exec(Io&&Io.keys&&Io.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Vp(e){return!!Ws&&Ws in e}var Up=Vp,zp=Function.prototype,Wp=zp.toString;function Bp(e){if(e!=null){try{return Wp.call(e)}catch{}try{return e+""}catch{}}return""}var Yp=Bp,Kp=Mp,qp=Up,Gp=zs,Xp=Yp,Zp=/[\\^$.*+?()[\]{}|]/g,Jp=/^\[object .+?Constructor\]$/,Qp=Function.prototype,eh=Object.prototype,th=Qp.toString,nh=eh.hasOwnProperty,rh=RegExp("^"+th.call(nh).replace(Zp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oh(e){if(!Gp(e)||qp(e))return!1;var t=Kp(e)?rh:Jp;return t.test(Xp(e))}var ih=oh;function ah(e,t){return e==null?void 0:e[t]}var sh=ah,ch=ih,lh=sh;function uh(e,t){var n=lh(e,t);return ch(n)?n:void 0}var Bs=uh,dh=Bs,fh=dh(Object,"create"),nr=fh,Ys=nr;function ph(){this.__data__=Ys?Ys(null):{},this.size=0}var hh=ph;function vh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _h=vh,gh=nr,wh="__lodash_hash_undefined__",mh=Object.prototype,yh=mh.hasOwnProperty;function bh(e){var t=this.__data__;if(gh){var n=t[e];return n===wh?void 0:n}return yh.call(t,e)?t[e]:void 0}var xh=bh,kh=nr,$h=Object.prototype,jh=$h.hasOwnProperty;function Sh(e){var t=this.__data__;return kh?t[e]!==void 0:jh.call(t,e)}var Eh=Sh,Ch=nr,Oh="__lodash_hash_undefined__";function Ah(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ch&&t===void 0?Oh:t,this}var Th=Ah,Ph=hh,Rh=_h,Dh=xh,Nh=Eh,Lh=Th;function Vt(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])}}Vt.prototype.clear=Ph,Vt.prototype.delete=Rh,Vt.prototype.get=Dh,Vt.prototype.has=Nh,Vt.prototype.set=Lh;var Mh=Vt;function Fh(){this.__data__=[],this.size=0}var Ih=Fh;function Hh(e,t){return e===t||e!==e&&t!==t}var Vh=Hh,Uh=Vh;function zh(e,t){for(var n=e.length;n--;)if(Uh(e[n][0],t))return n;return-1}var rr=zh,Wh=rr,Bh=Array.prototype,Yh=Bh.splice;function Kh(e){var t=this.__data__,n=Wh(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Yh.call(t,n,1),--this.size,!0}var qh=Kh,Gh=rr;function Xh(e){var t=this.__data__,n=Gh(t,e);return n<0?void 0:t[n][1]}var Zh=Xh,Jh=rr;function Qh(e){return Jh(this.__data__,e)>-1}var ev=Qh,tv=rr;function nv(e,t){var n=this.__data__,r=tv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var rv=nv,ov=Ih,iv=qh,av=Zh,sv=ev,cv=rv;function Ut(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])}}Ut.prototype.clear=ov,Ut.prototype.delete=iv,Ut.prototype.get=av,Ut.prototype.has=sv,Ut.prototype.set=cv;var lv=Ut,uv=Bs,dv=Lo,fv=uv(dv,"Map"),pv=fv,Ks=Mh,hv=lv,vv=pv;function _v(){this.size=0,this.__data__={hash:new Ks,map:new(vv||hv),string:new Ks}}var gv=_v;function wv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var mv=wv,yv=mv;function bv(e,t){var n=e.__data__;return yv(t)?n[typeof t=="string"?"string":"hash"]:n.map}var or=bv,xv=or;function kv(e){var t=xv(this,e).delete(e);return this.size-=t?1:0,t}var $v=kv,jv=or;function Sv(e){return jv(this,e).get(e)}var Ev=Sv,Cv=or;function Ov(e){return Cv(this,e).has(e)}var Av=Ov,Tv=or;function Pv(e,t){var n=Tv(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Rv=Pv,Dv=gv,Nv=$v,Lv=Ev,Mv=Av,Fv=Rv;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=Dv,zt.prototype.delete=Nv,zt.prototype.get=Lv,zt.prototype.has=Mv,zt.prototype.set=Fv;var Iv=zt,qs=Iv,Hv="Expected a function";function Ho(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Hv);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(Ho.Cache||qs),n}Ho.Cache=qs;var Vv=Ho,Uv=Vv,zv=500;function Wv(e){var t=Uv(e,function(r){return n.size===zv&&n.clear(),r}),n=t.cache;return t}var Bv=Wv,Yv=Bv,Kv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qv=/\\(\\)?/g,Gv=Yv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Kv,function(n,r,o,i){t.push(o?i.replace(qv,"$1"):r||n)}),t}),Xv=Gv;function Zv(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 Jv=Zv,Gs=Mo,Qv=Jv,e_=No,t_=Fo,n_=1/0,Xs=Gs?Gs.prototype:void 0,Zs=Xs?Xs.toString:void 0;function Js(e){if(typeof e=="string")return e;if(e_(e))return Qv(e,Js)+"";if(t_(e))return Zs?Zs.call(e):"";var t=e+"";return t=="0"&&1/e==-n_?"-0":t}var r_=Js,o_=r_;function i_(e){return e==null?"":o_(e)}var a_=i_,s_=No,c_=Cp,l_=Xv,u_=a_;function d_(e,t){return s_(e)?e:c_(e,t)?[e]:l_(u_(e))}var f_=d_,p_=Fo,h_=1/0;function v_(e){if(typeof e=="string"||p_(e))return e;var t=e+"";return t=="0"&&1/e==-h_?"-0":t}var __=v_,g_=f_,w_=__;function m_(e,t){t=g_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[w_(t[n++])];return n&&n==r?e:void 0}var y_=m_,b_=y_;function x_(e,t,n){var r=e==null?void 0:b_(e,t);return r===void 0?n:r}var k_=x_;const $_=Wd(k_),ir=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Qs=Ee({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}}),Vo=({job:e,property:t})=>{if(!t)return null;const n=$_(e.raw,t.key);return t.transform?t.transform(n):n},j_=({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}),ec=e=>Array.isArray(e)?e:[e],S_=1e3*60*60*24*7,E_=({job:e,config:t})=>{var l,f;const n=t.subheading?Vo({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(c=>ec(Vo({job:e,property:c}))).filter(Boolean),o=ec((l=t.overrides)!=null&&l.salary?Vo({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(f=t.overrides)!=null&&f.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,u=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*S_:!1;return w("a",{href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Qs(),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(j_,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),u&&i!=="hide"&&w(I,{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((c,p)=>w("span",{class:Ve({variant:"monetaryWeak",size:"xs"}),children:c},p))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(c=>w("li",{class:Ve({size:"xs",class:"max-w-full truncate"}),children:c},c))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(xt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},tc=({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:Qs({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(ir,{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(ir,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(ir,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Ve({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Ve({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Ve({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(xt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},C_=({state:e,fetchNextPage:t,config:n})=>e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:zn}).map((r,o)=>w("li",{children:w(tc,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:Wn({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),O_=({pagination:e})=>(fe(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),A_=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=Ce(1);return w(I,{children:Array.from({length:i}).map((s,u)=>{const l=u===i-1;return w(_n,{Fallback:it,children:w(T_,{appliedFilters:e,apiClient:t,logger:n,page:u+1,isFirst:u===0,isLast:l,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},u)},u)})})},T_=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:u})=>{const l=r===1?u:void 0,{data:f,error:c,state:p,swr:d}=no(Do(Gn({filter:e,baseKey:r.toString()}),()=>Aa({apiClient:t,logger:n,filters:e,page:r}),{...ro,fallbackData:l}));switch(p){case"loading":return w(I,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(ir,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:zn}).map((_,h)=>w("li",{children:w(tc,{seed:h,animationDelay:(h-zn)*.1,config:s})},h))})]});case"error":return w(it,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(fe(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(xt,{"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 _=f.pagination.last_page!==f.pagination.current_page;return w(I,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:O_({pagination:f.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:w(E_,{job:h,config:s})},h.id))}),_&&i&&w(C_,{state:p,fetchNextPage:a,config:s})]})}default:ve(p)}},Uo=e=>e.reduce((t,n)=>{var r;switch(n.select){case"one":{const o=typeof n.value=="string"?n.value:(r=n.value)==null?void 0:r[0];t[n.key]={select:n.select,value:o};break}case"many":{const o=typeof n.value=="string"?[n.value]:Array.isArray(n.value)?n.value:[];t[n.key]={select:n.select,value:o};break}default:ve(n.select)}return t},{}),P_=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const u=_e(null),[l,f]=Ce(()=>({default:!0,filters:Uo(n)}));return w("div",{ref:u,class:r,id:Sa,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:it,children:w("div",{class:"flex flex-col gap-2",children:[w(Gf,{appliedFilters:l.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:u,logger:t,apiClient:e}),s.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(Cd,{appliedFilters:l.filters,analytics:o,apiClient:e,logger:t,theme:s.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:it,children:w(A_,{appliedFilters:l.filters,logger:t,apiClient:e,jobCardConfig:s.jobCard,initialData:l.default?i==null?void 0:i.jobs:void 0},Gn({filter:l.filters,baseKey:"resultsSection"}))})})})]})})},R_=`#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}@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 .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 .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-\\[2\\.5ch\\]{width:2.5ch}#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-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-5{padding-right:1.25rem}#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{color:var(--i-copy-accent)}#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-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-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 D_=["1","2","3","4","5","6","7","8","9","10","11","12"],N_={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]}},L_=(e,t=1,n)=>r=>{const[o,i]=N_[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},zo=e=>{const t=L_(e.hue,e.chroma,e.mode);return Object.fromEntries(D_.map(n=>[e.prefix+n,e.transform(t(n))]))},Wo=e=>e,M_=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)},ar=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Bo=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(ar(e)&&ar(n))for(const r in n){const o=n[r];if(ar(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];ar(i)&&Bo(i,o)}else Object.assign(e,{[r]:n[r]})}return Bo(e,...t)},F_=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},I_=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),u=t({theme:o,core:a,raw:{core:s}}),l=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:u}}),f=M_(Bo(s,u,l)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const ke=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)},[Yo,Ko,Ue]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],H_=I_().core(({theme:e})=>({color:{black:Yo,white:Ko,lowest:e.mode==="light"?Ko:Yo,highest:e.mode==="light"?Yo:Ko,...zo({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Wo}),...zo({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:Wo}),...zo({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode,transform:Wo})}})).semantic(({core:e,theme:t,raw:n})=>{var s,u,l,f,c,p,d,_,h,g,v,m,y,b,x,$,E,k,j,C,D;const r=(M,L)=>n.core.color[M].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":((u=o.filter)==null?void 0:u.fontFamily)??o.fontFamily??"inherit","font-job-heading":((l=t.typography.jobHeading)==null?void 0:l.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((_=(d=o.filter)==null?void 0:d.weight)==null?void 0:_.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((v=o.jobHeading)==null?void 0:v.style)??o.style??"inherit","weight-tag":((y=(m=o.tag)==null?void 0:m.weight)==null?void 0:y.toString())??((b=o.weight)==null?void 0:b.toString())??"inherit","weight-job-heading":(($=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:$.toString())??((E=o.weight)==null?void 0:E.toString())??"inherit","style-input":((k=o.input)==null?void 0:k.style)??o.style??"inherit","weight-input":((C=(j=o.input)==null?void 0:j.weight)==null?void 0:C.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"):Ue,"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"):Ue,"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":Ue,"radius-app":ke(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":ke(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":ke(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":ke(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":ke(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":ke(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":ke(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":ke(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Ue,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Ue,"section-weak-stroke-color":i==="fill"?Ue:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Ue:e(a?"color.n-11":"color.n-4"),"section-stroke-width":ke(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":ke(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ue),"job-card-bg-active":ke(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ue),"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":ke(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),V_=F_({prefix:"i-"}),U_=e=>{const t=H_.from({theme:e,getToken:V_}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Sa} {
17
+ */var Ls;function Qd(){return Ls||(Ls=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=Ds,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var y=arguments.length,x=new Array(y>1?y-1:0),$=1;$<y;$++)x[$-1]=arguments[$];r("error",b,x)}}function r(b,y,x){{var $=t.ReactDebugCurrentFrame,O=$.getStackAddendum();O!==""&&(y+="%s",x=x.concat([O]));var k=x.map(function(C){return String(C)});k.unshift("Warning: "+y),Function.prototype.apply.call(console[b],console,k)}}function o(b,y){return b===y&&(b!==0||1/b===1/y)||b!==b&&y!==y}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(b,y,x){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var $=y();if(!c){var O=y();i($,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var k=a({inst:{value:$,getSnapshot:y}}),C=k[0].inst,j=k[1];return l(function(){C.value=$,C.getSnapshot=y,d(C)&&j({inst:C})},[b,$,y]),s(function(){d(C)&&j({inst:C});var R=function(){d(C)&&j({inst:C})};return b(R)},[b]),u($),$}function d(b){var y=b.getSnapshot,x=b.value;try{var $=y();return!i(x,$)}catch{return!0}}function v(b,y,x){return y()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,m=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;xo.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),xo}process.env.NODE_ENV==="production"?yo.exports=Jd():yo.exports=Qd();var ef=yo.exports;const dt=()=>{},_e=dt(),ko=Object,H=e=>e===_e,Le=e=>typeof e=="function",ft=(e,t)=>({...e,...t}),tf=e=>Le(e.then),rr=new WeakMap;let nf=0;const yn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(ko(e)===e&&!r&&n!=RegExp){if(o=rr.get(e),o)return o;if(o=++nf+"~",rr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=yn(e[i])+",";rr.set(e,o)}if(n==ko){o="#";const a=ko.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+yn(e[i])+",");rr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},We=new WeakMap,$o={},or={},jo="undefined",ir=typeof window!=jo,So=typeof document!=jo,rf=()=>ir&&typeof window.requestAnimationFrame!=jo,Ms=(e,t)=>{const n=We.get(e);return[()=>!H(t)&&e.get(t)||$o,r=>{if(!H(t)){const o=e.get(t);t in or||(or[t]=o),n[5](t,ft(o,r),o||$o)}},n[6],()=>!H(t)&&t in or?or[t]:!H(t)&&e.get(t)||$o]};let Eo=!0;const of=()=>Eo,[Co,Oo]=ir&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[dt,dt],af=()=>{const e=So&&document.visibilityState;return H(e)||e!=="hidden"},sf=e=>(So&&document.addEventListener("visibilitychange",e),Co("focus",e),()=>{So&&document.removeEventListener("visibilitychange",e),Oo("focus",e)}),cf=e=>{const t=()=>{Eo=!0,e()},n=()=>{Eo=!1};return Co("online",t),Co("offline",n),()=>{Oo("online",t),Oo("offline",n)}},lf={isOnline:of,isVisible:af},uf={initFocus:sf,initReconnect:cf},Is=!tr.useId,bn=!ir||"Deno"in window,df=e=>rf()?window.requestAnimationFrame(e):setTimeout(e,1),Ao=bn?Oe:lt,To=typeof navigator<"u"&&navigator.connection,Fs=!bn&&To&&(["slow-2g","2g"].includes(To.effectiveType)||To.saveData),Po=e=>{if(Le(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?yn(e):"",[e,t]};let ff=0;const Ro=()=>++ff,Hs=0,Us=1,Vs=2;var xn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Hs,MUTATE_EVENT:Vs,RECONNECT_EVENT:Us};async function zs(...e){const[t,n,r,o]=e,i=ft({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Le(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=Po(p);if(!d)return;const[v,h]=Ms(t,d),[g,_,m,b]=We.get(t),y=()=>{const L=g[d];return(Le(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete m[d],delete b[d],L&&L[0])?L[0](Vs).then(()=>v().data):v().data};if(e.length<3)return y();let x=r,$;const O=Ro();_[d]=[O,0];const k=!H(l),C=v(),j=C.data,R=C._c,I=H(R)?j:R;if(k&&(l=Le(l)?l(I,j):l,h({data:l,_c:I})),Le(x))try{x=x(I)}catch(L){$=L}if(x&&tf(x))if(x=await x.catch(L=>{$=L}),O!==_[d][0]){if($)throw $;return x}else $&&k&&u($)&&(a=!0,h({data:I,_c:_e}));if(a&&!$)if(Le(a)){const L=a(x,I);h({data:L,error:_e,_c:_e})}else h({data:x,error:_e,_c:_e});if(_[d][1]=Ro(),Promise.resolve(y()).then(()=>{h({_c:_e})}),$){if(f)throw $;return}return x}}const Ws=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},pf=(e,t)=>{if(!We.has(e)){const n=ft(uf,t),r={},o=zs.bind(_e,e);let i=dt;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const v of d)v(c,p)},u=()=>{if(!We.has(e)&&(We.set(e,[r,{},{},{},o,l,s]),!bn)){const f=n.initFocus(setTimeout.bind(_e,Ws.bind(_e,r,Hs))),c=n.initReconnect(setTimeout.bind(_e,Ws.bind(_e,r,Us)));i=()=>{f&&f(),c&&c(),We.delete(e)}}};return u(),[e,o,u,i]}return[e,We.get(e)[4]]},hf=(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)},vf=(e,t)=>yn(e)==yn(t),[Bs,_f]=pf(new Map),gf=ft({onLoadingSlow:dt,onSuccess:dt,onError:dt,onErrorRetry:hf,onDiscarded:dt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Fs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Fs?5e3:3e3,compare:vf,isPaused:()=>!1,cache:Bs,mutate:_f,fallback:{}},lf),wf=(e,t)=>{const n=ft(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=ft(o,a))}return n},mf=Xr({}),yf="$inf$",Ys=ir&&window.__SWR_DEVTOOLS_USE__,bf=Ys?window.__SWR_DEVTOOLS_USE__:[],xf=()=>{Ys&&(window.__SWR_DEVTOOLS_REACT__=tr)},kf=e=>Le(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],$f=()=>ft(gf,Gn(mf)),jf=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Po(t),[,,,s]=We.get(Bs);if(a.startsWith(yf))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),Sf=bf.concat(jf),Ef=e=>function(...n){const r=$f(),[o,i,a]=kf(n),s=wf(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(Sf);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},Cf=(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())}};xf();const Ks=tr.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)}),Do={dedupe:!0},No=Ef((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,v,h,g]=We.get(r),[_,m]=Po(e),b=we(!1),y=we(!1),x=we(_),$=we(t),O=we(n),k=()=>O.current,C=()=>k().isVisible()&&k().isOnline(),[j,R,I,L]=Ms(r,_),N=we({}).current,M=H(a)?n.fallback[_]:a,S=(q,X)=>{for(const ue in N){const G=ue;if(G==="data"){if(!o(q[G],X[G])&&(!H(q[G])||!o(tt,X[G])))return!1}else if(X[G]!==q[G])return!1}return!0},E=ut(()=>{const q=(()=>!_||!t?!1:H(s)?k().isPaused()||i?!1:H(l)?!0:l:s)(),X=pe=>{const Pe=ft(pe);return delete Pe._k,q?{isValidating:!0,isLoading:!0,...Pe}:Pe},ue=j(),G=L(),be=X(ue),yt=ue===G?be:X(G);let se=be;return[()=>{const pe=X(j());return S(pe,se)?(se.data=pe.data,se.isLoading=pe.isLoading,se.isValidating=pe.isValidating,se.error=pe.error,se):(se=pe,pe)},()=>yt]},[r,_]),U=ef.useSyncExternalStore(Ct(q=>I(_,(X,ue)=>{S(ue,X)||q()}),[r,_]),E[0],E[1]),z=!b.current,K=d[_]&&d[_].length>0,ae=U.data,le=H(ae)?M:ae,Lt=U.error,Ir=we(le),tt=p?H(ae)?Ir.current:ae:le,nt=(()=>K&&!H(Lt)?!1:z&&!H(s)?s:k().isPaused()?!1:i?H(le)?!1:l:H(le)||l)(),Hn=!!(_&&t&&z&&nt),Ji=H(U.isValidating)?Hn:U.isValidating,un=H(U.isLoading)?Hn:U.isLoading,Mt=Ct(async q=>{const X=$.current;if(!_||!X||y.current||k().isPaused())return!1;let ue,G,be=!0;const yt=q||{},se=!h[_]||!yt.dedupe,pe=()=>Is?!y.current&&_===x.current&&b.current:_===x.current,Pe={isValidating:!1,isLoading:!1},It=()=>{R(Pe)},Du=()=>{const Se=h[_];Se&&Se[1]===G&&delete h[_]},Nu={isValidating:!0};H(j().data)&&(Nu.isLoading=!0);try{if(se&&(R(Nu),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{be&&pe()&&k().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(m),Ro()]),[ue,G]=h[_],ue=await ue,se&&setTimeout(Du,n.dedupingInterval),!h[_]||h[_][1]!==G)return se&&pe()&&k().onDiscarded(_),!1;Pe.error=_e;const Se=v[_];if(!H(Se)&&(G<=Se[0]||G<=Se[1]||Se[1]===0))return It(),se&&pe()&&k().onDiscarded(_),!1;const rt=j().data;Pe.data=o(rt,ue)?rt:ue,se&&pe()&&k().onSuccess(ue,_,n)}catch(Se){Du();const rt=k(),{shouldRetryOnError:Qi}=rt;rt.isPaused()||(Pe.error=Se,se&&pe()&&(rt.onError(Se,_,rt),(Qi===!0||Le(Qi)&&Qi(Se))&&(!k().revalidateOnFocus||!k().revalidateOnReconnect||C())&&rt.onErrorRetry(Se,_,rt,Hm=>{const ea=d[_];ea&&ea[0]&&ea[0](xn.ERROR_REVALIDATE_EVENT,Hm)},{retryCount:(yt.retryCount||0)+1,dedupe:!0})))}return be=!1,It(),!0},[_,r]),Fr=Ct((...q)=>zs(r,x.current,...q),[]);if(Ao(()=>{$.current=t,O.current=n,H(ae)||(Ir.current=ae)}),Ao(()=>{if(!_)return;const q=Mt.bind(_e,Do);let X=0;const G=Cf(_,d,(be,yt={})=>{if(be==xn.FOCUS_EVENT){const se=Date.now();k().revalidateOnFocus&&se>X&&C()&&(X=se+k().focusThrottleInterval,q())}else if(be==xn.RECONNECT_EVENT)k().revalidateOnReconnect&&C()&&q();else{if(be==xn.MUTATE_EVENT)return Mt();if(be==xn.ERROR_REVALIDATE_EVENT)return Mt(yt)}});return y.current=!1,x.current=_,b.current=!0,R({_k:m}),nt&&(H(le)||bn?q():df(q)),()=>{y.current=!0,G()}},[_]),Ao(()=>{let q;function X(){const G=Le(u)?u(j().data):u;G&&q!==-1&&(q=setTimeout(ue,G))}function ue(){!j().error&&(f||k().isVisible())&&(c||k().isOnline())?Mt(Do).then(X):X()}return X(),()=>{q&&(clearTimeout(q),q=-1)}},[u,f,c,_]),Zn(tt),i&&H(le)&&_){if(!Is&&bn)throw new Error("Fallback data is required when using suspense in SSR.");$.current=t,O.current=n,y.current=!1;const q=g[_];if(!H(q)){const X=Fr(q);Ks(X)}if(H(Lt)){const X=Mt(Do);H(tt)||(X.status="fulfilled",X.value=!0),Ks(X)}else throw Lt}return{mutate:Fr,get data(){return N.data=!0,tt},get error(){return N.error=!0,Lt},get isValidating(){return N.isValidating=!0,Ji},get isLoading(){return N.isLoading=!0,un}}}),Be=Ee({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}}),Of=({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 ve(i),w("span",{class:Be({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Be({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ge(e)}},Af=44,Tf=6,Pf=12,Rf=8,Df=Ee({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),Nf=Ee({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"}}),Lf=Ee({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"}}}),Mf=Ee({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-all 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}}),If=Ee({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"}}}),Ff=({children:e,colorScheme:t})=>w("span",{class:If({colorScheme:t}),children:w("span",{class:"block w-[2.5ch] text-center tabular-nums",children:e})}),Hf=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},qs=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},Uf=(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=qs(r.value),a=qs(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},Vf=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},zf=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Wf=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=ro(r()),l=ut(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const d=s.data[t.key]??[];return Object.fromEntries(d.map(v=>[v.value,v.jobs]))}default:ge(s)}},[s,t.key]),u=Gs(e),f=u.length>0,[c,p]=Ce();return Oe(()=>{a()}),s.state==="error"?w(ct,{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:"text",class:Df({hasValue:f}),value:c,onInput:d=>p(d.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(ct,{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:Be({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 d=i.data[t.key]??[],v=c&&c.length>1?d.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):d,h=[];for(const m of v){if(m.label.length<1)continue;const b={...m,results:zf(l,m),disabled:Vf(l,m)};switch(t.results){case"only-available":b.disabled==!1&&h.push(b);break;default:h.push(b)}}if(!h.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 _=d.length>Pf||d.some(m=>m.label.length>24);return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":Af*(Tf+.5)+2*Rf+"px"},class:Nf({type:_?"long":"short"}),children:Uf(h,t.sortSuggestions).map(m=>{const b=u.includes(m.value);return w("li",{class:Lf({type:_?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":b?"true":void 0,onClick:()=>{switch(e.select){case"many":{const y=Hf(u,m.value);o({select:"many",value:y});break}case"one":o({select:"one",value:m.value});break;default:ge(e)}},class:_?Mf({active:b,disabled:m.disabled}):Be({size:"lg",variant:b?"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(Ff,{colorScheme:b?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ge(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:qn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(St,{"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:qn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(St,{name:"chevron-right"})]},f?"done":"skip")})]})]})},Xs={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"},Bf=Ee({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"}}}),Yf=Ee({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"}}}),Kf=Ee({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),qf=e=>{const t=we(null),[n,r]=Ce(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return lt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},Gs=e=>typeof e.value=="string"?[e.value]:e.value??[],Xf=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=bt(r.key,Xs)?Xs[r.key]:void 0,u=r.icon??l??"filter",f=Gs(t),{height:c,ref:p,updateHeight:d}=qf([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":e?"true":void 0,class:Bf({hasValue:v}),onTouchStart:Qf,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:Yf({state:e?"active":v?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(St,{"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(Wf,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(Of,{property:r,query:a,selectedValues:f})}),w(St,{"aria-hidden":!0,class:Kf(),name:"chevron-right"})]})]})},Gf=e=>{const t=we();return Oe(()=>{t.current=e},[e]),t.current},Zf=(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&&(ve(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Jf=(e,t)=>{const n=Gf(e);Oe(()=>{if(n===e)return;const r=e??n;r&&Zf(r,t)},[e,n,t])};function Qf(){}const ep=(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}},tp=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:ge(t)}},np=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=Ce((c=e[0])==null?void 0:c.key);Jf(a,t);const l=ut(()=>zo(e,"value"),[e]),u=ro(No(Qn({filter:l,baseKey:"filters"}),()=>Va({apiClient:o,logger:i,filters:l}),oo)),f=Ct(p=>()=>{const d={...n,[p]:l[p]};return No(Qn({filter:d,baseKey:"filters"}),()=>Va({apiClient:o,logger:i,filters:d}),oo)},[o,n,l,i]);return u.state==="error"?w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=n[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&ep(v,h);const g=b=>{const{newActiveKey:y,newValue:x}=tp({property:p,activeKey:a,value:b??h,properties:e,appliedFilters:n});return s(y),r(p.key,x)},_=b=>s(b?p.key:void 0),m=f(p.key);return w(gn,{Fallback:ct,children:w(Xf,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var x;const b=e.findIndex($=>$.key===a),y=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(y)},useQuery:m,onValueChange:g})},p.key)})})})};var rp=Array.isArray,Lo=rp,op=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ip=op,ap=ip,sp=typeof self=="object"&&self&&self.Object===Object&&self,cp=ap||sp||Function("return this")(),Mo=cp,lp=Mo,up=lp.Symbol,Io=up,Zs=Io,Js=Object.prototype,dp=Js.hasOwnProperty,fp=Js.toString,kn=Zs?Zs.toStringTag:void 0;function pp(e){var t=dp.call(e,kn),n=e[kn];try{e[kn]=void 0;var r=!0}catch{}var o=fp.call(e);return r&&(t?e[kn]=n:delete e[kn]),o}var hp=pp,vp=Object.prototype,_p=vp.toString;function gp(e){return _p.call(e)}var wp=gp,Qs=Io,mp=hp,yp=wp,bp="[object Null]",xp="[object Undefined]",ec=Qs?Qs.toStringTag:void 0;function kp(e){return e==null?e===void 0?xp:bp:ec&&ec in Object(e)?mp(e):yp(e)}var tc=kp;function $p(e){return e!=null&&typeof e=="object"}var jp=$p,Sp=tc,Ep=jp,Cp="[object Symbol]";function Op(e){return typeof e=="symbol"||Ep(e)&&Sp(e)==Cp}var Fo=Op,Ap=Lo,Tp=Fo,Pp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rp=/^\w*$/;function Dp(e,t){if(Ap(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Tp(e)?!0:Rp.test(e)||!Pp.test(e)||t!=null&&e in Object(t)}var Np=Dp;function Lp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nc=Lp,Mp=tc,Ip=nc,Fp="[object AsyncFunction]",Hp="[object Function]",Up="[object GeneratorFunction]",Vp="[object Proxy]";function zp(e){if(!Ip(e))return!1;var t=Mp(e);return t==Hp||t==Up||t==Fp||t==Vp}var Wp=zp,Bp=Mo,Yp=Bp["__core-js_shared__"],Kp=Yp,Ho=Kp,rc=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qp(e){return!!rc&&rc in e}var Xp=qp,Gp=Function.prototype,Zp=Gp.toString;function Jp(e){if(e!=null){try{return Zp.call(e)}catch{}try{return e+""}catch{}}return""}var Qp=Jp,eh=Wp,th=Xp,nh=nc,rh=Qp,oh=/[\\^$.*+?()[\]{}|]/g,ih=/^\[object .+?Constructor\]$/,ah=Function.prototype,sh=Object.prototype,ch=ah.toString,lh=sh.hasOwnProperty,uh=RegExp("^"+ch.call(lh).replace(oh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dh(e){if(!nh(e)||th(e))return!1;var t=eh(e)?uh:ih;return t.test(rh(e))}var fh=dh;function ph(e,t){return e==null?void 0:e[t]}var hh=ph,vh=fh,_h=hh;function gh(e,t){var n=_h(e,t);return vh(n)?n:void 0}var oc=gh,wh=oc,mh=wh(Object,"create"),ar=mh,ic=ar;function yh(){this.__data__=ic?ic(null):{},this.size=0}var bh=yh;function xh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var kh=xh,$h=ar,jh="__lodash_hash_undefined__",Sh=Object.prototype,Eh=Sh.hasOwnProperty;function Ch(e){var t=this.__data__;if($h){var n=t[e];return n===jh?void 0:n}return Eh.call(t,e)?t[e]:void 0}var Oh=Ch,Ah=ar,Th=Object.prototype,Ph=Th.hasOwnProperty;function Rh(e){var t=this.__data__;return Ah?t[e]!==void 0:Ph.call(t,e)}var Dh=Rh,Nh=ar,Lh="__lodash_hash_undefined__";function Mh(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Nh&&t===void 0?Lh:t,this}var Ih=Mh,Fh=bh,Hh=kh,Uh=Oh,Vh=Dh,zh=Ih;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=Fh,zt.prototype.delete=Hh,zt.prototype.get=Uh,zt.prototype.has=Vh,zt.prototype.set=zh;var Wh=zt;function Bh(){this.__data__=[],this.size=0}var Yh=Bh;function Kh(e,t){return e===t||e!==e&&t!==t}var qh=Kh,Xh=qh;function Gh(e,t){for(var n=e.length;n--;)if(Xh(e[n][0],t))return n;return-1}var sr=Gh,Zh=sr,Jh=Array.prototype,Qh=Jh.splice;function ev(e){var t=this.__data__,n=Zh(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Qh.call(t,n,1),--this.size,!0}var tv=ev,nv=sr;function rv(e){var t=this.__data__,n=nv(t,e);return n<0?void 0:t[n][1]}var ov=rv,iv=sr;function av(e){return iv(this.__data__,e)>-1}var sv=av,cv=sr;function lv(e,t){var n=this.__data__,r=cv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var uv=lv,dv=Yh,fv=tv,pv=ov,hv=sv,vv=uv;function Wt(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])}}Wt.prototype.clear=dv,Wt.prototype.delete=fv,Wt.prototype.get=pv,Wt.prototype.has=hv,Wt.prototype.set=vv;var _v=Wt,gv=oc,wv=Mo,mv=gv(wv,"Map"),yv=mv,ac=Wh,bv=_v,xv=yv;function kv(){this.size=0,this.__data__={hash:new ac,map:new(xv||bv),string:new ac}}var $v=kv;function jv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Sv=jv,Ev=Sv;function Cv(e,t){var n=e.__data__;return Ev(t)?n[typeof t=="string"?"string":"hash"]:n.map}var cr=Cv,Ov=cr;function Av(e){var t=Ov(this,e).delete(e);return this.size-=t?1:0,t}var Tv=Av,Pv=cr;function Rv(e){return Pv(this,e).get(e)}var Dv=Rv,Nv=cr;function Lv(e){return Nv(this,e).has(e)}var Mv=Lv,Iv=cr;function Fv(e,t){var n=Iv(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Hv=Fv,Uv=$v,Vv=Tv,zv=Dv,Wv=Mv,Bv=Hv;function Bt(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])}}Bt.prototype.clear=Uv,Bt.prototype.delete=Vv,Bt.prototype.get=zv,Bt.prototype.has=Wv,Bt.prototype.set=Bv;var Yv=Bt,sc=Yv,Kv="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Kv);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(Uo.Cache||sc),n}Uo.Cache=sc;var qv=Uo,Xv=qv,Gv=500;function Zv(e){var t=Xv(e,function(r){return n.size===Gv&&n.clear(),r}),n=t.cache;return t}var Jv=Zv,Qv=Jv,e_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t_=/\\(\\)?/g,n_=Qv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(e_,function(n,r,o,i){t.push(o?i.replace(t_,"$1"):r||n)}),t}),r_=n_;function o_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var i_=o_,cc=Io,a_=i_,s_=Lo,c_=Fo,l_=1/0,lc=cc?cc.prototype:void 0,uc=lc?lc.toString:void 0;function dc(e){if(typeof e=="string")return e;if(s_(e))return a_(e,dc)+"";if(c_(e))return uc?uc.call(e):"";var t=e+"";return t=="0"&&1/e==-l_?"-0":t}var u_=dc,d_=u_;function f_(e){return e==null?"":d_(e)}var p_=f_,h_=Lo,v_=Np,__=r_,g_=p_;function w_(e,t){return h_(e)?e:v_(e,t)?[e]:__(g_(e))}var m_=w_,y_=Fo,b_=1/0;function x_(e){if(typeof e=="string"||y_(e))return e;var t=e+"";return t=="0"&&1/e==-b_?"-0":t}var k_=x_,$_=m_,j_=k_;function S_(e,t){t=$_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[j_(t[n++])];return n&&n==r?e:void 0}var E_=S_,C_=E_;function O_(e,t,n){var r=e==null?void 0:C_(e,t);return r===void 0?n:r}var A_=O_;const T_=Gd(A_),lr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),fc=Ee({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}}),Vo=({job:e,property:t})=>{if(!t)return null;const n=T_(e.raw,t.key);return t.transform?t.transform(n):n},P_=({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}),pc=e=>Array.isArray(e)?e:[e],R_=1e3*60*60*24*7,D_=({job:e,config:t})=>{var u,f;const n=t.subheading?Vo({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(c=>pc(Vo({job:e,property:c}))).filter(Boolean),o=pc((u=t.overrides)!=null&&u.salary?Vo({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(f=t.overrides)!=null&&f.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,l=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*R_:!1;return w("a",{href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:fc(),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(P_,{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((c,p)=>w("span",{class:Be({variant:"monetaryWeak",size:"xs"}),children:c},p))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(c=>w("li",{class:Be({size:"xs",class:"max-w-full truncate"}),children:c},c))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(St,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},hc=({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:fc({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(lr,{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(lr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(lr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(St,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},N_=({state:e,fetchNextPage:t,config:n})=>e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Kn}).map((r,o)=>w("li",{children:w(hc,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:qn({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),L_=({pagination:e})=>(ve(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),M_=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=Ce(1);return w(F,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return w(gn,{Fallback:ct,children:w(I_,{appliedFilters:e,apiClient:t,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},I_=({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,{data:f,error:c,state:p,swr:d}=ro(No(Qn({filter:e,baseKey:r.toString()}),()=>za({apiClient:t,logger:n,filters:e,page:r}),{...oo,fallbackData:u}));switch(p){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(lr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Kn}).map((v,h)=>w("li",{children:w(hc,{seed:h,animationDelay:(h-Kn)*.1,config:s})},h))})]});case"error":return w(ct,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(ve(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(St,{"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=f.pagination.last_page!==f.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:L_({pagination:f.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:w(D_,{job:h,config:s})},h.id))}),v&&i&&w(N_,{state:p,fetchNextPage:a,config:s})]})}default:ge(p)}},zo=(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:ge(r.select)}return n},{}),F_=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=we(null),[u,f]=Ce(()=>({default:!0,filters:zo(n,"defaultValue")}));return w("div",{ref:l,class:r,id:Fa,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(gn,{Fallback:ct,children:w("div",{class:"flex flex-col gap-2",children:[w(np,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:l,logger:t,apiClient:e}),s.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(Dd,{appliedFilters:u.filters,analytics:o,apiClient:e,logger:t,theme:s.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(gn,{Fallback:ct,children:w(M_,{appliedFilters:u.filters,logger:t,apiClient:e,jobCardConfig:s.jobCard,initialData:u.default?i==null?void 0:i.jobs:void 0},Qn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},H_=`#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}@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 .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 .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-\\[2\\.5ch\\]{width:2.5ch}#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-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-5{padding-right:1.25rem}#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{color:var(--i-copy-accent)}#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-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-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 U_=["1","2","3","4","5","6","7","8","9","10","11","12"],V_={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]}},z_=(e,t=1,n)=>r=>{const[o,i]=V_[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Wo=e=>{const t=z_(e.hue,e.chroma,e.mode);return Object.fromEntries(U_.map(n=>[e.prefix+n,e.transform(t(n))]))},Bo=e=>e,W_=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)},ur=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Yo=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(ur(e)&&ur(n))for(const r in n){const o=n[r];if(ur(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];ur(i)&&Yo(i,o)}else Object.assign(e,{[r]:n[r]})}return Yo(e,...t)},B_=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Y_=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=W_(Yo(s,l,u)),c=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const $e=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)},[Ko,qo,Ye]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],K_=Y_().core(({theme:e})=>{var t,n;return{color:{black:Ko,white:qo,lowest:e.mode==="light"?qo:Ko,highest:e.mode==="light"?Ko:qo,...Wo({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Bo}),...Wo({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:Bo}),...Wo({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode,transform:Bo})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,f,c,p,d,v,h,g,_,m,b,y,x,$,O,k,C,j,R;const r=(I,L)=>n.core.color[I].replace(")",` / ${L})`),{typography:o,highlights:i}=t,a=((s=t.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=t.typography.jobHeading)==null?void 0:u.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((v=(d=o.filter)==null?void 0:d.weight)==null?void 0:v.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((b=(m=o.tag)==null?void 0:m.weight)==null?void 0:b.toString())??((y=o.weight)==null?void 0:y.toString())??"inherit","weight-job-heading":(($=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:$.toString())??((O=o.weight)==null?void 0:O.toString())??"inherit","style-input":((k=o.input)==null?void 0:k.style)??o.style??"inherit","weight-input":((j=(C=o.input)==null?void 0:C.weight)==null?void 0:j.toString())??((R=o.weight)==null?void 0:R.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"):Ye,"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"):Ye,"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":Ye,"radius-app":$e(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":$e(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":$e(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":$e(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":$e(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":$e(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":$e(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":$e(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Ye,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Ye,"section-weak-stroke-color":i==="fill"?Ye:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Ye:e(a?"color.n-11":"color.n-4"),"section-stroke-width":$e(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":$e(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ye),"job-card-bg-active":$e(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ye),"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":$e(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),q_=B_({prefix:"i-"}),X_=e=>{const t=K_.from({theme:e,getToken:q_}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Fa} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
21
- }`},z_=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ja}`);return fe(e,`Element with id ${ja} not found.`),e}}))(),W_=()=>zi(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return Q(_n,{Fallback:bd},[[Q("style",{id:"inploi-job-search-styles"},R_),Q("style",{id:"inploi-job-search-theme"},U_(o.theme))],Q(kd,{theme:o.theme}),Q(P_,{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,params:o})])};return{prerender:async o=>{const i=o.withData?await Aa({filters:Uo(o.properties),apiClient:e,logger:t}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Uu(Q(I,{},Q(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Kr:Mt;fe(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(Q(r,{params:o}),z_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=W_;function nc(e,t){if(!e)throw new Error(t)}var kn,S,rc,oc,jt,ic,ac,qo,sc,$n={},cc=[],B_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,sr=Array.isArray;function ze(e,t){for(var n in t)e[n]=t[n];return e}function lc(e){var t=e.parentNode;t&&t.removeChild(e)}function O(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?kn.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 jn(e,a,r,o,null)}function jn(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??++rc,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(i),i}function uc(){return{current:null}}function J(e){return e.children}function $e(e,t){this.props=e,this.context=t}function Wt(e,t){if(t==null)return e.__?Wt(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"?Wt(e):null}function dc(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 dc(e)}}function Go(e){(!e.__d&&(e.__d=!0)&&jt.push(e)&&!cr.__r++||ic!==S.debounceRendering)&&((ic=S.debounceRendering)||ac)(cr)}function cr(){var e,t,n,r,o,i,a,s,u;for(jt.sort(qo);e=jt.shift();)e.__d&&(t=jt.length,r=void 0,i=(o=(n=e).__v).__e,s=[],u=[],(a=n.__P)&&((r=ze({},o)).__v=o.__v+1,S.vnode&&S.vnode(r),Xo(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Wt(o),!!(32&o.__u),u),r.__.__k[r.__i]=r,gc(s,r,u),r.__e!=i&&dc(r)),jt.length>t&&jt.sort(qo));cr.__r=0}function fc(e,t,n,r,o,i,a,s,u,l,f){var c,p,d,_,h,g=r&&r.__k||cc,v=t.length;for(n.__d=u,Y_(n,t,g),u=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?$n:g[d.__i]||$n,d.__i=c,Xo(e,d,p,o,i,a,s,u,l,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Zo(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?u=pc(d,u,e):typeof d.type=="function"&&d.__d!==void 0?u=d.__d:_&&(u=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=h}function Y_(e,t,n){var r,o,i,a,s,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],r=0;r<u;r++)(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?jn(null,o,null,null,o):sr(o)?jn(J,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?jn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=K_(o,n,a=r+c,f),o.__i=s,i=null,s!==-1&&(f--,(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?f>u-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==e.__d&&(e.__d=Wt(i)),Jo(i,i,!1),n[r]=null,f--);if(f)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Wt(i)),Jo(i,i))}function pc(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=pc(r[o],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function We(e,t){return t=t||[],e==null||typeof e=="boolean"||(sr(e)?e.some(function(n){We(n,t)}):t.push(e)),t}function K_(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,u=t[n];if(u===null||u&&o==u.key&&i===u.type)return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function hc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||B_.test(t)?n:n+"px"}function lr(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||hc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||hc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?_c:vc,i)):e.removeEventListener(t,i?_c:vc,i);else{if(o)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 in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function vc(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(S.event?S.event(e):e)}function _c(e){return this.l[e.type+!0](S.event?S.event(e):e)}function Xo(e,t,n,r,o,i,a,s,u,l){var f,c,p,d,_,h,g,v,m,y,b,x,$,E,k,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=S.__b)&&f(t);e:if(typeof j=="function")try{if(v=t.props,m=(f=j.contextType)&&r[f.__c],y=f?m?m.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:("prototype"in j&&j.prototype.render?t.__c=c=new j(v,y):(t.__c=c=new $e(v,y),c.constructor=j,c.render=G_),m&&m.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ze({},c.__s)),ze(c.__s,j.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=t,p)j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(j.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,y)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(C){C&&(C.__=t)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=e,c.__e=!1,x=S.__r,$=0,"prototype"in j&&j.prototype.render){for(c.state=c.__s,c.__d=!1,x&&x(t),f=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,x&&x(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++$<25);c.state=c.__s,c.getChildContext!=null&&(r=ze(ze({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(d,_)),fc(e,sr(k=f!=null&&f.type===J&&f.key==null?f.props.children:f)?k:[k],t,n,r,o,i,a,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(C){t.__v=null,u||i!=null?(t.__e=s,t.__u|=u?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),S.__e(C,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=q_(n.__e,t,n,r,o,i,a,u,l);(f=S.diffed)&&f(t)}function gc(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Zo(n[r],n[++r],n[++r]);S.__c&&S.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){S.__e(i,o.__v)}})}function q_(e,t,n,r,o,i,a,s,u){var l,f,c,p,d,_,h,g=n.props,v=t.props,m=t.type;if(m==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((d=i[l])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[l]=null;break}}if(e==null){if(m===null)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,v.is&&v),i=null,s=!1}if(m===null)g===v||s&&e.data===v||(e.data=v);else{if(i=i&&kn.call(e.childNodes),g=n.props||$n,!s&&i!=null)for(g={},l=0;l<e.attributes.length;l++)g[(d=e.attributes[l]).name]=d.value;for(l in g)d=g[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=d:l==="key"||l in v||lr(e,l,null,d,o));for(l in v)d=v[l],l=="children"?p=d:l=="dangerouslySetInnerHTML"?f=d:l=="value"?_=d:l=="checked"?h=d:l==="key"||s&&typeof d!="function"||g[l]===d||lr(e,l,d,g[l],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),fc(e,sr(p)?p:[p],t,n,r,o&&m!=="foreignObject",i,a,i?i[0]:n.__k&&Wt(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&lc(i[l]);s||(l="value",_!==void 0&&(_!==e[l]||m==="progress"&&!_||m==="option"&&_!==g[l])&&lr(e,l,_,g[l],!1),l="checked",h!==void 0&&h!==e[l]&&lr(e,l,h,g[l],!1))}return e}function Zo(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){S.__e(r,n)}}function Jo(e,t,n){var r,o;if(S.unmount&&S.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Zo(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){S.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Jo(r[o],t,n||typeof e.type!="function");n||e.__e==null||lc(e.__e),e.__=e.__e=e.__d=void 0}function G_(e,t,n){return this.constructor(e,n)}function Bt(e,t,n){var r,o,i,a;S.__&&S.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Xo(t,e=(!r&&n||t).__k=O(J,null,[e]),o||$n,$n,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?kn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),gc(i,e,a)}function Qo(e,t){Bt(e,t,Qo)}function X_(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?kn.call(arguments,2):n),jn(e.type,s,r||e.key,o||e.ref,null)}function Sn(e,t){var n={__c:t="__cC"+sc++,__: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.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,Go(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}kn=cc.slice,S={__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}},rc=0,oc=function(e){return e!=null&&e.constructor==null},$e.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),Go(this))},$e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Go(this))},$e.prototype.render=J,jt=[],ac=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,qo=function(e,t){return e.__v.__b-t.__v.__b},cr.__r=0,sc=0;var wc=/[\s\n\\/='"\0<>]/,mc=/^(xlink|xmlns|xml)([A-Z])/,Z_=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,J_=/^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/,Q_=/["&<]/;function ur(e){if(e.length===0||Q_.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 yc={},eg=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"]),tg=/[A-Z]/g;function ng(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:yc[n]||(yc[n]=n.replace(tg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||eg.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var ei,St,En,Et,bc=[],xc=Array.isArray,ti=Object.assign;function rg(e,t){var n=S.__s;S.__s=!0,ei=S.__b,St=S.diffed,En=S.__r,Et=S.unmount;var r=O(J,null);r.__k=[e];try{return Ct(e,t||$c,!1,void 0,r)}finally{S.__c&&S.__c(e,bc),S.__s=n,bc.length=0}}function kc(){this.__d=!0}var $c={};function jc(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=$c),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=ti({},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(),En&&En(e),n.render(n.props,n.state,t)}function Ct(e,t,n,r,o){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":ur(e+"");if(xc(e)){var i="";o.__k=e;for(var a=0;a<e.length;a++){var s=e[a];s!=null&&typeof s!="boolean"&&(i+=Ct(s,t,n,r,o))}return i}if(e.constructor!==void 0)return"";e.__=o,ei&&ei(e);var u,l,f,c=e.type,p=e.props,d=t;if(typeof c=="function"){if(c===J){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var g=p.exprs[h];if(g==null)continue;typeof g!="object"||g.constructor!==void 0&&!xc(g)?_+=g:_+=Ct(g,t,n,r,e)}return _}if(p.UNSTABLE_comment)return"<!--"+ur(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var v=t[u.__c];d=v?v.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=jc(e,d),f=e.__c;else{e.__c=f={__v:e,props:p,context:d,setState:kc,forceUpdate:kc,__d:!0,__h:[]};for(var m=0;f.__d&&m++<25;)f.__d=!1,En&&En(e),l=c.call(f,p,d);f.__d=!0}if(f.getChildContext!=null&&(t=ti({},t,f.getChildContext())),(c.getDerivedStateFromError||f.componentDidCatch)&&S.errorBoundaries){var y="";l=l!=null&&l.type===J&&l.key==null?l.props.children:l;try{return y=Ct(l,t,n,r,e)}catch(C){return c.getDerivedStateFromError&&(f.__s=c.getDerivedStateFromError(C)),f.componentDidCatch&&f.componentDidCatch(C,{}),f.__d&&(l=jc(e,t),(f=e.__c).getChildContext!=null&&(t=ti({},t,f.getChildContext())),y=Ct(l=l!=null&&l.type===J&&l.key==null?l.props.children:l,t,n,r,e)),y}finally{St&&St(e),e.__=void 0,Et&&Et(e)}}}var b=Ct(l=l!=null&&l.type===J&&l.key==null?l.props.children:l,t,n,r,e);return St&&St(e),e.__=void 0,Et&&Et(e),b}var x,$="<"+c,E="";for(var k in p){var j=p[k];switch(k){case"children":x=j;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;k="for";break;case"className":if("class"in p)continue;k="class";break;case"defaultChecked":k="checked";break;case"defaultSelected":k="selected";break;case"defaultValue":case"value":switch(k="value",c){case"textarea":x=j;continue;case"select":r=j;continue;case"option":r!=j||"selected"in p||($+=" selected")}break;case"dangerouslySetInnerHTML":E=j&&j.__html;continue;case"style":typeof j=="object"&&(j=ng(j));break;case"acceptCharset":k="accept-charset";break;case"httpEquiv":k="http-equiv";break;default:if(mc.test(k))k=k.replace(mc,"$1:$2").toLowerCase();else{if(wc.test(k))continue;k[4]!=="-"&&k!=="draggable"||j==null?n?J_.test(k)&&(k=k==="panose1"?"panose-1":k.replace(/([A-Z])/g,"-$1").toLowerCase()):Z_.test(k)&&(k=k.toLowerCase()):j+=""}}j!=null&&j!==!1&&typeof j!="function"&&($=j===!0||j===""?$+" "+k:$+" "+k+'="'+ur(j+"")+'"')}if(wc.test(c))throw new Error(c+" is not a valid HTML tag name in "+$+">");return E||(typeof x=="string"?E=ur(x):x!=null&&x!==!1&&x!==!0&&(E=Ct(x,t,c==="svg"||c!=="foreignObject"&&n,r,e))),St&&St(e),e.__=void 0,Et&&Et(e),!E&&og.has(c)?$+"/>":$+">"+E+"</"+c+">"}var og=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),ig=0;function A(e,t,n,r,o,i){var a,s,u={};for(s in t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ig,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return S.vnode&&S.vnode(l),l}const ag={bell:A("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:A("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":A("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},sg=({theme:e})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(ag).map(([t,n])=>A("symbol",{id:`i-icon-${t}`,children:A("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Sc=({name:e,...t})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:A("use",{href:`#i-icon-${e}`})});function ae(){return ae=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},ae.apply(this,arguments)}var Be,z,ni,Ec,Yt=0,Cc=[],dr=[],Oc=S.__b,Ac=S.__r,Tc=S.diffed,Pc=S.__c,Rc=S.unmount;function Ot(e,t){S.__h&&S.__h(z,e,Yt||t),Yt=0;var n=z.__H||(z.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:dr}),n.__[e]}function K(e){return Yt=1,fr(Fc,e)}function fr(e,t,n){var r=Ot(Be++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Fc(void 0,t),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=z,!z.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};z.u=!0;var i=z.shouldComponentUpdate,a=z.componentWillUpdate;z.componentWillUpdate=function(s,u,l){if(this.__e){var f=i;i=void 0,o(s,u,l),i=f}a&&a.call(this,s,u,l)},z.shouldComponentUpdate=o}return r.__N||r.__}function G(e,t){var n=Ot(Be++,3);!S.__s&&oi(n.__H,t)&&(n.__=e,n.i=t,z.__H.__h.push(n))}function At(e,t){var n=Ot(Be++,4);!S.__s&&oi(n.__H,t)&&(n.__=e,n.i=t,z.__h.push(n))}function V(e){return Yt=5,ue(function(){return{current:e}},[])}function Dc(e,t,n){Yt=6,At(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 ue(e,t){var n=Ot(Be++,7);return oi(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function re(e,t){return Yt=8,ue(function(){return e},t)}function pr(e){var t=z.context[e.__c],n=Ot(Be++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(z)),t.props.value):e.__}function Nc(e,t){S.useDebugValue&&S.useDebugValue(t?t(e):e)}function cg(e){var t=Ot(Be++,10),n=K();return t.__=e,z.componentDidCatch||(z.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Lc(){var e=Ot(Be++,11);if(!e.__){for(var t=z.__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 lg(){for(var e;e=Cc.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(hr),e.__H.__h.forEach(ri),e.__H.__h=[]}catch(t){e.__H.__h=[],S.__e(t,e.__v)}}S.__b=function(e){z=null,Oc&&Oc(e)},S.__r=function(e){Ac&&Ac(e),Be=0;var t=(z=e.__c).__H;t&&(ni===z?(t.__h=[],z.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=dr,n.__N=n.i=void 0})):(t.__h.forEach(hr),t.__h.forEach(ri),t.__h=[],Be=0)),ni=z},S.diffed=function(e){Tc&&Tc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Cc.push(t)!==1&&Ec===S.requestAnimationFrame||((Ec=S.requestAnimationFrame)||ug)(lg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==dr&&(n.__=n.__V),n.i=void 0,n.__V=dr})),ni=z=null},S.__c=function(e,t){t.some(function(n){try{n.__h.forEach(hr),n.__h=n.__h.filter(function(r){return!r.__||ri(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],S.__e(r,n.__v)}}),Pc&&Pc(e,t)},S.unmount=function(e){Rc&&Rc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{hr(r)}catch(o){t=o}}),n.__H=void 0,t&&S.__e(t,n.__v))};var Mc=typeof requestAnimationFrame=="function";function ug(e){var t,n=function(){clearTimeout(r),Mc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Mc&&(t=requestAnimationFrame(n))}function hr(e){var t=z,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),z=t}function ri(e){var t=z;e.__c=e.__(),z=t}function oi(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Fc(e,t){return typeof t=="function"?t(e):t}function Ic(e,t){for(var n in t)e[n]=t[n];return e}function ii(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 vr(e){this.props=e}function Hc(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:ii(this.props,o)}function r(o){return this.shouldComponentUpdate=n,O(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(vr.prototype=new $e).isPureReactComponent=!0,vr.prototype.shouldComponentUpdate=function(e,t){return ii(this.props,e)||ii(this.state,t)};var Vc=S.__b;S.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Vc&&Vc(e)};var dg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function oe(e){function t(n){var r=Ic({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=dg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Uc=function(e,t){return e==null?null:We(We(e).map(t))},Ye={map:Uc,forEach:Uc,count:function(e){return e?We(e).length:0},only:function(e){var t=We(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:We},fg=S.__e;S.__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)}fg(e,t,n,r)};var zc=S.unmount;function Wc(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=Ic({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Wc(r,t,n)})),e}function Bc(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Bc(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 Cn(){this.__u=0,this.t=null,this.__b=null}function Yc(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Kc(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 O(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Kt(){this.u=null,this.o=null}S.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),zc&&zc(e)},(Cn.prototype=new $e).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Yc(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 u=r.state.__a;r.__v.__k[0]=Bc(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Cn.prototype.componentWillUnmount=function(){this.t=[]},Cn.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]=Wc(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&O(J,null,e.fallback);return o&&(o.__u&=-33),[O(J,null,t.__a?null:e.children),o]};var qc=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 pg(e){return this.getChildContext=function(){return e.context},e.children}function hg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Bt(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:[],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)}}),Bt(O(pg,{context:t.context},e.__v),t.l)}function Gc(e,t){var n=O(hg,{__v:e,i:t});return n.containerInfo=t,n}(Kt.prototype=new $e).__a=function(e){var t=this,n=Yc(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),qc(t,e,r)):o()};n?n(i):i()}},Kt.prototype.render=function(e){this.u=null,this.o=new Map;var t=We(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},Kt.prototype.componentDidUpdate=Kt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){qc(e,n,t)})};var Xc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,vg=/^(?: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]/,_g=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,gg=/[A-Z0-9]/g,wg=typeof document<"u",mg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Zc(e,t,n){return t.__k==null&&(t.textContent=""),Bt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Jc(e,t,n){return Qo(e,t),typeof n=="function"&&n(),e?e.__c:null}$e.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty($e.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Qc=S.event;function yg(){}function bg(){return this.cancelBubble}function xg(){return this.defaultPrevented}S.event=function(e){return Qc&&(e=Qc(e)),e.persist=yg,e.isPropagationStopped=bg,e.isDefaultPrevented=xg,e.nativeEvent=e};var ai,kg={enumerable:!1,configurable:!0,get:function(){return this.class}},el=S.vnode;S.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||wg&&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==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||mg(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":_g.test(i)?i=s:r.indexOf("-")===-1&&vg.test(i)?i=i.replace(gg,"-$&").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=We(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=We(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",kg)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Xc,el&&el(e)};var tl=S.__r;S.__r=function(e){tl&&tl(e),ai=e.__c};var nl=S.diffed;S.diffed=function(e){nl&&nl(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),ai=null};var rl={ReactCurrentDispatcher:{current:{readContext:function(e){return ai.__n[e.__c].props.value}}}},$g="17.0.2";function ol(e){return O.bind(null,e)}function Ke(e){return!!e&&e.$$typeof===Xc}function il(e){return Ke(e)&&e.type===J}function qt(e){return Ke(e)?X_.apply(null,arguments):e}function al(e){return!!e.__k&&(Bt(null,e),!0)}function sl(e){return e&&(e.base||e.nodeType===1&&e)||null}var cl=function(e,t){return e(t)},On=function(e,t){return e(t)},ll=J;function si(e){e()}function ul(e){return e}function dl(){return[!1,si]}var fl=At,pl=Ke;function hl(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return At(function(){o.__=n,o.v=t,ci(o)&&i({h:o})},[e,n,t]),G(function(){return ci(o)&&i({h:o}),e(function(){ci(o)&&i({h:o})})},[e]),n}function ci(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 vl={useState:K,useId:Lc,useReducer:fr,useEffect:G,useLayoutEffect:At,useInsertionEffect:fl,useTransition:dl,useDeferredValue:ul,useSyncExternalStore:hl,startTransition:si,useRef:V,useImperativeHandle:Dc,useMemo:ue,useCallback:re,useContext:pr,useDebugValue:Nc,version:"17.0.2",Children:Ye,render:Zc,hydrate:Jc,unmountComponentAtNode:al,createPortal:Gc,createElement:O,createContext:Sn,createFactory:ol,cloneElement:qt,createRef:uc,Fragment:J,isValidElement:Ke,isElement:pl,isFragment:il,findDOMNode:sl,Component:$e,PureComponent:vr,memo:Hc,forwardRef:oe,flushSync:On,unstable_batchedUpdates:cl,StrictMode:ll,Suspense:Cn,SuspenseList:Kt,lazy:Kc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rl};const jg=Object.freeze(Object.defineProperty({__proto__:null,Children:Ye,Component:$e,Fragment:J,PureComponent:vr,StrictMode:ll,Suspense:Cn,SuspenseList:Kt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rl,cloneElement:qt,createContext:Sn,createElement:O,createFactory:ol,createPortal:Gc,createRef:uc,default:vl,findDOMNode:sl,flushSync:On,forwardRef:oe,hydrate:Jc,isElement:pl,isFragment:il,isValidElement:Ke,lazy:Kc,memo:Hc,render:Zc,startTransition:si,unmountComponentAtNode:al,unstable_batchedUpdates:cl,useCallback:re,useContext:pr,useDebugValue:Nc,useDeferredValue:ul,useEffect:G,useErrorBoundary:cg,useId:Lc,useImperativeHandle:Dc,useInsertionEffect:fl,useLayoutEffect:At,useMemo:ue,useReducer:fr,useRef:V,useState:K,useSyncExternalStore:hl,useTransition:dl,version:$g},Symbol.toStringTag,{value:"Module"}));function Tt(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 Sg(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function _l(...e){return t=>e.forEach(n=>Sg(n,t))}function Pt(...e){return re(_l(...e),e)}function gl(e,t=[]){let n=[];function r(i,a){const s=Sn(a),u=n.length;n=[...n,a];function l(c){const{scope:p,children:d,..._}=c,h=(p==null?void 0:p[e][u])||s,g=ue(()=>_,Object.values(_));return O(h.Provider,{value:g},d)}function f(c,p){const d=(p==null?void 0:p[e][u])||s,_=pr(d);if(_)return _;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,f]}const o=()=>{const i=n.map(a=>Sn(a));return function(s){const u=(s==null?void 0:s[e])||i;return ue(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[r,Eg(o,...t)]}function Eg(...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:u,scopeName:l})=>{const c=u(i)[`__scope${l}`];return{...s,...c}},{});return ue(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const li=oe((e,t)=>{const{children:n,...r}=e,o=Ye.toArray(n),i=o.find(Og);if(i){const a=i.props.children,s=o.map(u=>u===i?Ye.count(a)>1?Ye.only(null):Ke(a)?a.props.children:null:u);return O(ui,ae({},r,{ref:t}),Ke(a)?qt(a,void 0,s):null)}return O(ui,ae({},r,{ref:t}),n)});li.displayName="Slot";const ui=oe((e,t)=>{const{children:n,...r}=e;return Ke(n)?qt(n,{...Ag(r,n.props),ref:t?_l(t,n.ref):n.ref}):Ye.count(n)>1?Ye.only(null):null});ui.displayName="SlotClone";const Cg=({children:e})=>O(J,null,e);function Og(e){return Ke(e)&&e.type===Cg}function Ag(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 Gt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=oe((r,o)=>{const{asChild:i,...a}=r,s=i?li:t;return G(()=>{window[Symbol.for("radix-ui")]=!0},[]),O(s,ae({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Tg(e,t){e&&On(()=>e.dispatchEvent(t))}function ut(e){const t=V(e);return G(()=>{t.current=e}),ue(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Pg(e,t=globalThis==null?void 0:globalThis.document){const n=ut(e);G(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const di="dismissableLayer.update",Rg="dismissableLayer.pointerDownOutside",Dg="dismissableLayer.focusOutside";let wl;const Ng=Sn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lg=oe((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=e,f=pr(Ng),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=K({}),h=Pt(t,k=>p(k)),g=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(v),y=c?g.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,x=y>=m,$=Mg(k=>{const j=k.target,C=[...f.branches].some(D=>D.contains(j));!x||C||(i==null||i(k),s==null||s(k),k.defaultPrevented||u==null||u())},d),E=Fg(k=>{const j=k.target;[...f.branches].some(D=>D.contains(j))||(a==null||a(k),s==null||s(k),k.defaultPrevented||u==null||u())},d);return Pg(k=>{y===f.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&u&&(k.preventDefault(),u()))},d),G(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(wl=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),ml(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=wl)}},[c,d,r,f]),G(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),ml())},[c,f]),G(()=>{const k=()=>_({});return document.addEventListener(di,k),()=>document.removeEventListener(di,k)},[]),O(Gt.div,ae({},l,{ref:h,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:Tt(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Tt(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Tt(e.onPointerDownCapture,$.onPointerDownCapture)}))});function Mg(e,t=globalThis==null?void 0:globalThis.document){const n=ut(e),r=V(!1),o=V(()=>{});return G(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){yl(Rg,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}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 Fg(e,t=globalThis==null?void 0:globalThis.document){const n=ut(e),r=V(!1);return G(()=>{const o=i=>{i.target&&!r.current&&yl(Dg,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 ml(){const e=new CustomEvent(di);document.dispatchEvent(e)}function yl(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?Tg(o,i):o.dispatchEvent(i)}let fi=0;function Ig(){G(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:bl()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:bl()),fi++,()=>{fi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),fi--}},[])}function bl(){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 pi="focusScope.autoFocusOnMount",hi="focusScope.autoFocusOnUnmount",xl={bubbles:!1,cancelable:!0},Hg=oe((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,u]=K(null),l=ut(o),f=ut(i),c=V(null),p=Pt(t,h=>u(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;G(()=>{if(r){let h=function(y){if(d.paused||!s)return;const b=y.target;s.contains(b)?c.current=b:dt(c.current,{select:!0})},g=function(y){if(d.paused||!s)return;const b=y.relatedTarget;b!==null&&(s.contains(b)||dt(c.current,{select:!0}))},v=function(y){if(document.activeElement===document.body)for(const x of y)x.removedNodes.length>0&&dt(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const m=new MutationObserver(v);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),m.disconnect()}}},[r,s,d.paused]),G(()=>{if(s){jl.add(d);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(pi,xl);s.addEventListener(pi,l),s.dispatchEvent(v),v.defaultPrevented||(Vg(Yg(kl(s)),{select:!0}),document.activeElement===h&&dt(s))}return()=>{s.removeEventListener(pi,l),setTimeout(()=>{const v=new CustomEvent(hi,xl);s.addEventListener(hi,f),s.dispatchEvent(v),v.defaultPrevented||dt(h??document.body,{select:!0}),s.removeEventListener(hi,f),jl.remove(d)},0)}}},[s,l,f,d]);const _=re(h=>{if(!n&&!r||d.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(g&&v){const m=h.currentTarget,[y,b]=Ug(m);y&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&dt(y,{select:!0})):h.shiftKey&&v===y&&(h.preventDefault(),n&&dt(b,{select:!0})):v===m&&h.preventDefault()}},[n,r,d.paused]);return O(Gt.div,ae({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function Vg(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(dt(r,{select:t}),document.activeElement!==n)return}function Ug(e){const t=kl(e),n=$l(t,e),r=$l(t.reverse(),e);return[n,r]}function kl(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 $l(e,t){for(const n of e)if(!zg(n,{upTo:t}))return n}function zg(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 Wg(e){return e instanceof HTMLInputElement&&"select"in e}function dt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Wg(e)&&t&&e.select()}}const jl=Bg();function Bg(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Sl(e,t),e.unshift(t)},remove(t){var n;e=Sl(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Sl(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Yg(e){return e.filter(t=>t.tagName!=="A")}const Xt=globalThis!=null&&globalThis.document?At:()=>{},Kg=jg["useId".toString()]||(()=>{});let qg=0;function Gg(e){const[t,n]=K(Kg());return Xt(()=>{e||n(r=>r??String(qg++))},[e]),e||(t?`radix-${t}`:"")}const Xg=["top","right","bottom","left"],ft=Math.min,ge=Math.max,_r=Math.round,gr=Math.floor,pt=e=>({x:e,y:e}),Zg={left:"right",right:"left",bottom:"top",top:"bottom"},Jg={start:"end",end:"start"};function vi(e,t,n){return ge(e,ft(t,n))}function qe(e,t){return typeof e=="function"?e(t):e}function Ge(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function _i(e){return e==="x"?"y":"x"}function gi(e){return e==="y"?"height":"width"}function Jt(e){return["top","bottom"].includes(Ge(e))?"y":"x"}function wi(e){return _i(Jt(e))}function Qg(e,t,n){n===void 0&&(n=!1);const r=Zt(e),o=wi(e),i=gi(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=wr(a)),[a,wr(a)]}function e0(e){const t=wr(e);return[mi(e),t,mi(t)]}function mi(e){return e.replace(/start|end/g,t=>Jg[t])}function t0(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 n0(e,t,n,r){const o=Zt(e);let i=t0(Ge(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(mi)))),i}function wr(e){return e.replace(/left|right|bottom|top/g,t=>Zg[t])}function r0(e){return{top:0,right:0,bottom:0,left:0,...e}}function El(e){return typeof e!="number"?r0(e):{top:e,right:e,bottom:e,left:e}}function mr(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 Cl(e,t,n){let{reference:r,floating:o}=e;const i=Jt(t),a=wi(t),s=gi(a),u=Ge(t),l=i==="y",f=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 d;switch(u){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:c};break;case"left":d={x:r.x-o.width,y:c};break;default:d={x:r.x,y:r.y}}switch(Zt(t)){case"start":d[a]-=p*(n&&l?-1:1);break;case"end":d[a]+=p*(n&&l?-1:1);break}return d}const o0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=Cl(l,r,u),p=r,d={},_=0;for(let h=0;h<s.length;h++){const{name:g,fn:v}=s[h],{x:m,y,data:b,reset:x}=await v({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:l,platform:a,elements:{reference:e,floating:t}});f=m??f,c=y??c,d={...d,[g]:{...d[g],...b}},x&&_<=50&&(_++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(l=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:f,y:c}=Cl(l,p,u)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function An(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=qe(t,e),_=El(d),g=s[p?c==="floating"?"reference":"floating":c],v=mr(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:l,rootBoundary:f,strategy:u})),m=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},x=mr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:y,strategy:u}):m);return{top:(v.top-x.top+_.top)/b.y,bottom:(x.bottom-v.bottom+_.bottom)/b.y,left:(v.left-x.left+_.left)/b.x,right:(x.right-v.right+_.right)/b.x}}const i0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:f=0}=qe(e,t)||{};if(l==null)return{};const c=El(f),p={x:n,y:r},d=wi(o),_=gi(d),h=await a.getDimensions(l),g=d==="y",v=g?"top":"left",m=g?"bottom":"right",y=g?"clientHeight":"clientWidth",b=i.reference[_]+i.reference[d]-p[d]-i.floating[_],x=p[d]-i.reference[d],$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=$?$[y]:0;(!E||!await(a.isElement==null?void 0:a.isElement($)))&&(E=s.floating[y]||i.floating[_]);const k=b/2-x/2,j=E/2-h[_]/2-1,C=ft(c[v],j),D=ft(c[m],j),M=C,L=E-h[_]-D,N=E/2-h[_]/2+k,F=vi(M,N,L),R=!u.arrow&&Zt(o)!=null&&N!==F&&i.reference[_]/2-(N<M?C:D)-h[_]/2<0,P=R?N<M?N-M:N-L:0;return{[d]:p[d]+P,data:{[d]:F,centerOffset:N-F-P,...R&&{alignmentOffset:P}},reset:R}}}),a0=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:u,elements:l}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...g}=qe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Ge(o),m=Ge(s)===s,y=await(u.isRTL==null?void 0:u.isRTL(l.floating)),b=p||(m||!h?[wr(s)]:e0(s));!p&&_!=="none"&&b.push(...n0(s,h,_,y));const x=[s,...b],$=await An(t,g),E=[];let k=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&E.push($[v]),c){const M=Qg(o,a,y);E.push($[M[0]],$[M[1]])}if(k=[...k,{placement:o,overflows:E}],!E.every(M=>M<=0)){var j,C;const M=(((j=i.flip)==null?void 0:j.index)||0)+1,L=x[M];if(L)return{data:{index:M,overflows:k},reset:{placement:L}};let N=(C=k.filter(F=>F.overflows[0]<=0).sort((F,R)=>F.overflows[1]-R.overflows[1])[0])==null?void 0:C.placement;if(!N)switch(d){case"bestFit":{var D;const F=(D=k.map(R=>[R.placement,R.overflows.filter(P=>P>0).reduce((P,te)=>P+te,0)]).sort((R,P)=>R[1]-P[1])[0])==null?void 0:D[0];F&&(N=F);break}case"initialPlacement":N=s;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function Ol(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Al(e){return Xg.some(t=>e[t]>=0)}const s0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=qe(e,t);switch(r){case"referenceHidden":{const i=await An(t,{...o,elementContext:"reference"}),a=Ol(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Al(a)}}}case"escaped":{const i=await An(t,{...o,altBoundary:!0}),a=Ol(i,n.floating);return{data:{escapedOffsets:a,escaped:Al(a)}}}default:return{}}}}};async function c0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Ge(n),s=Zt(n),u=Jt(n)==="y",l=["left","top"].includes(a)?-1:1,f=i&&u?-1:1,c=qe(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(d=s==="end"?_*-1:_),u?{x:d*f,y:p*l}:{x:p*l,y:d*f}}const l0=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,u=await c0(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},u0=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:v,y:m}=g;return{x:v,y:m}}},...u}=qe(e,t),l={x:n,y:r},f=await An(t,u),c=Jt(Ge(o)),p=_i(c);let d=l[p],_=l[c];if(i){const g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",m=d+f[g],y=d-f[v];d=vi(m,d,y)}if(a){const g=c==="y"?"top":"left",v=c==="y"?"bottom":"right",m=_+f[g],y=_-f[v];_=vi(m,_,y)}const h=s.fn({...t,[p]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},d0=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:u=!0,crossAxis:l=!0}=qe(e,t),f={x:n,y:r},c=Jt(o),p=_i(c);let d=f[p],_=f[c];const h=qe(s,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const y=p==="y"?"height":"width",b=i.reference[p]-i.floating[y]+g.mainAxis,x=i.reference[p]+i.reference[y]-g.mainAxis;d<b?d=b:d>x&&(d=x)}if(l){var v,m;const y=p==="y"?"width":"height",b=["top","left"].includes(Ge(o)),x=i.reference[c]-i.floating[y]+(b&&((v=a.offset)==null?void 0:v[c])||0)+(b?0:g.crossAxis),$=i.reference[c]+i.reference[y]+(b?0:((m=a.offset)==null?void 0:m[c])||0)-(b?g.crossAxis:0);_<x?_=x:_>$&&(_=$)}return{[p]:d,[c]:_}}}},f0=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}=qe(e,t),u=await An(t,s),l=Ge(n),f=Zt(n),c=Jt(n)==="y",{width:p,height:d}=r.floating;let _,h;l==="top"||l==="bottom"?(_=l,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=l,_=f==="end"?"top":"bottom");const g=d-u[_],v=p-u[h],m=!t.middlewareData.shift;let y=g,b=v;if(c){const $=p-u.left-u.right;b=f||m?ft(v,$):$}else{const $=d-u.top-u.bottom;y=f||m?ft(g,$):$}if(m&&!f){const $=ge(u.left,0),E=ge(u.right,0),k=ge(u.top,0),j=ge(u.bottom,0);c?b=p-2*($!==0||E!==0?$+E:ge(u.left,u.right)):y=d-2*(k!==0||j!==0?k+j:ge(u.top,u.bottom))}await a({...t,availableWidth:b,availableHeight:y});const x=await o.getDimensions(i.floating);return p!==x.width||d!==x.height?{reset:{rects:!0}}:{}}}};function ht(e){return Tl(e)?(e.nodeName||"").toLowerCase():"#document"}function we(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xe(e){var t;return(t=(Tl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tl(e){return e instanceof Node||e instanceof we(e).Node}function Ze(e){return e instanceof Element||e instanceof we(e).Element}function Ne(e){return e instanceof HTMLElement||e instanceof we(e).HTMLElement}function Pl(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof we(e).ShadowRoot}function Tn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=je(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function p0(e){return["table","td","th"].includes(ht(e))}function yi(e){const t=bi(),n=je(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 h0(e){let t=Qt(e);for(;Ne(t)&&!yr(t);){if(yi(t))return t;t=Qt(t)}return null}function bi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yr(e){return["html","body","#document"].includes(ht(e))}function je(e){return we(e).getComputedStyle(e)}function br(e){return Ze(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Qt(e){if(ht(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pl(e)&&e.host||Xe(e);return Pl(t)?t.host:t}function Rl(e){const t=Qt(e);return yr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ne(t)&&Tn(t)?t:Rl(t)}function Pn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Rl(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=we(o);return i?t.concat(a,a.visualViewport||[],Tn(o)?o:[],a.frameElement&&n?Pn(a.frameElement):[]):t.concat(o,Pn(o,[],n))}function Dl(e){const t=je(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ne(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=_r(n)!==i||_r(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function xi(e){return Ze(e)?e:e.contextElement}function en(e){const t=xi(e);if(!Ne(t))return pt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Dl(t);let a=(i?_r(n.width):n.width)/r,s=(i?_r(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const v0=pt(0);function Nl(e){const t=we(e);return!bi()||!t.visualViewport?v0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _0(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==we(e)?!1:t}function Rt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=xi(e);let a=pt(1);t&&(r?Ze(r)&&(a=en(r)):a=en(e));const s=_0(i,n,r)?Nl(i):pt(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const p=we(i),d=r&&Ze(r)?we(r):r;let _=p,h=_.frameElement;for(;h&&r&&d!==_;){const g=en(h),v=h.getBoundingClientRect(),m=je(h),y=v.left+(h.clientLeft+parseFloat(m.paddingLeft))*g.x,b=v.top+(h.clientTop+parseFloat(m.paddingTop))*g.y;u*=g.x,l*=g.y,f*=g.x,c*=g.y,u+=y,l+=b,_=we(h),h=_.frameElement}}return mr({width:f,height:c,x:u,y:l})}const g0=[":popover-open",":modal"];function Ll(e){return g0.some(t=>{try{return e.matches(t)}catch{return!1}})}function w0(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=Xe(r),s=t?Ll(t.floating):!1;if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},l=pt(1);const f=pt(0),c=Ne(r);if((c||!c&&!i)&&((ht(r)!=="body"||Tn(a))&&(u=br(r)),Ne(r))){const p=Rt(r);l=en(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+f.x,y:n.y*l.y-u.scrollTop*l.y+f.y}}function m0(e){return Array.from(e.getClientRects())}function Ml(e){return Rt(Xe(e)).left+br(e).scrollLeft}function y0(e){const t=Xe(e),n=br(e),r=e.ownerDocument.body,o=ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Ml(e);const s=-n.scrollTop;return je(r).direction==="rtl"&&(a+=ge(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function b0(e,t){const n=we(e),r=Xe(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;const l=bi();(!l||l&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s,y:u}}function x0(e,t){const n=Rt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ne(e)?en(e):pt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:a,height:s,x:u,y:l}}function Fl(e,t,n){let r;if(t==="viewport")r=b0(e,n);else if(t==="document")r=y0(Xe(e));else if(Ze(t))r=x0(t,n);else{const o=Nl(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return mr(r)}function Il(e,t){const n=Qt(e);return n===t||!Ze(n)||yr(n)?!1:je(n).position==="fixed"||Il(n,t)}function k0(e,t){const n=t.get(e);if(n)return n;let r=Pn(e,[],!1).filter(s=>Ze(s)&&ht(s)!=="body"),o=null;const i=je(e).position==="fixed";let a=i?Qt(e):e;for(;Ze(a)&&!yr(a);){const s=je(a),u=yi(a);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Tn(a)&&!u&&Il(e,a))?r=r.filter(f=>f!==a):o=s,a=Qt(a)}return t.set(e,r),r}function $0(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?k0(t,this._c):[].concat(n),r],s=a[0],u=a.reduce((l,f)=>{const c=Fl(t,f,o);return l.top=ge(c.top,l.top),l.right=ft(c.right,l.right),l.bottom=ft(c.bottom,l.bottom),l.left=ge(c.left,l.left),l},Fl(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function j0(e){const{width:t,height:n}=Dl(e);return{width:t,height:n}}function S0(e,t,n){const r=Ne(t),o=Xe(t),i=n==="fixed",a=Rt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=pt(0);if(r||!r&&!i)if((ht(t)!=="body"||Tn(o))&&(s=br(t)),r){const c=Rt(t,!0,i,t);u.x=c.x+t.clientLeft,u.y=c.y+t.clientTop}else o&&(u.x=Ml(o));const l=a.left+s.scrollLeft-u.x,f=a.top+s.scrollTop-u.y;return{x:l,y:f,width:a.width,height:a.height}}function Hl(e,t){return!Ne(e)||je(e).position==="fixed"?null:t?t(e):e.offsetParent}function Vl(e,t){const n=we(e);if(!Ne(e)||Ll(e))return n;let r=Hl(e,t);for(;r&&p0(r)&&je(r).position==="static";)r=Hl(r,t);return r&&(ht(r)==="html"||ht(r)==="body"&&je(r).position==="static"&&!yi(r))?n:r||h0(e)||n}const E0=async function(e){const t=this.getOffsetParent||Vl,n=this.getDimensions,r=await n(e.floating);return{reference:S0(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function C0(e){return je(e).direction==="rtl"}const O0={convertOffsetParentRelativeRectToViewportRelativeRect:w0,getDocumentElement:Xe,getClippingRect:$0,getOffsetParent:Vl,getElementRects:E0,getClientRects:m0,getDimensions:j0,getScale:en,isElement:Ze,isRTL:C0};function A0(e,t){let n=null,r;const o=Xe(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const{left:l,top:f,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const d=gr(f),_=gr(o.clientWidth-(l+c)),h=gr(o.clientHeight-(f+p)),g=gr(l),m={rootMargin:-d+"px "+-_+"px "+-h+"px "+-g+"px",threshold:ge(0,ft(1,u))||1};let y=!0;function b(x){const $=x[0].intersectionRatio;if($!==u){if(!y)return a();$?a(!1,$):r=setTimeout(()=>{a(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,m)}n.observe(e)}return a(!0),i}function T0(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:u=!1}=r,l=xi(e),f=o||i?[...l?Pn(l):[],...Pn(t)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=l&&s?A0(l,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(v=>{let[m]=v;m&&m.target===l&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(t)})),n()}),l&&!u&&d.observe(l),d.observe(t));let _,h=u?Rt(e):null;u&&g();function g(){const v=Rt(e);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(g)}return n(),()=>{var v;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,u&&cancelAnimationFrame(_)}}const P0=l0,R0=u0,D0=a0,N0=f0,L0=s0,Ul=i0,M0=d0,F0=(e,t,n)=>{const r=new Map,o={platform:O0,...n},i={...o.platform,_c:r};return o0(e,t,{...o,platform:i})},I0=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?Ul({element:r.current,padding:o}).fn(n):{}:r?Ul({element:r,padding:o}).fn(n):{}}}};var xr=typeof document<"u"?At:G;function kr(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(!kr(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)&&!kr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function zl(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Wl(e,t){const n=zl(e);return Math.round(t*n)/n}function Bl(e){const t=V(e);return xr(()=>{t.current=e}),t}function H0(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:u,open:l}=e,[f,c]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=K(r);kr(p,r)||d(r);const[_,h]=K(null),[g,v]=K(null),m=re(P=>{P!==$.current&&($.current=P,h(P))},[]),y=re(P=>{P!==E.current&&(E.current=P,v(P))},[]),b=i||_,x=a||g,$=V(null),E=V(null),k=V(f),j=u!=null,C=Bl(u),D=Bl(o),M=re(()=>{if(!$.current||!E.current)return;const P={placement:t,strategy:n,middleware:p};D.current&&(P.platform=D.current),F0($.current,E.current,P).then(te=>{const le={...te,isPositioned:!0};L.current&&!kr(k.current,le)&&(k.current=le,On(()=>{c(le)}))})},[p,t,n,D]);xr(()=>{l===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,c(P=>({...P,isPositioned:!1})))},[l]);const L=V(!1);xr(()=>(L.current=!0,()=>{L.current=!1}),[]),xr(()=>{if(b&&($.current=b),x&&(E.current=x),b&&x){if(C.current)return C.current(b,x,M);M()}},[b,x,M,C,j]);const N=ue(()=>({reference:$,floating:E,setReference:m,setFloating:y}),[m,y]),F=ue(()=>({reference:b,floating:x}),[b,x]),R=ue(()=>{const P={position:n,left:0,top:0};if(!F.floating)return P;const te=Wl(F.floating,f.x),le=Wl(F.floating,f.y);return s?{...P,transform:"translate("+te+"px, "+le+"px)",...zl(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:te,top:le}},[n,s,F.floating,f.x,f.y]);return ue(()=>({...f,update:M,refs:N,elements:F,floatingStyles:R}),[f,M,N,F,R])}function V0(e){const[t,n]=K(void 0);return Xt(()=>{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 u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.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 Yl="Popper",[Kl,ql]=gl(Yl),[U0,Gl]=Kl(Yl),z0=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return O(U0,{scope:t,anchor:r,onAnchorChange:o},n)},W0="PopperAnchor",B0=oe((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Gl(W0,n),a=V(null),s=Pt(t,a);return G(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:O(Gt.div,ae({},o,{ref:s}))}),Xl="PopperContent",[Y0,Mm]=Kl(Xl),K0=oe((e,t)=>{var n,r,o,i,a,s,u,l;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:m=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:x="optimized",onPlaced:$,...E}=e,k=Gl(Xl,f),[j,C]=K(null),D=Pt(t,Y=>C(Y)),[M,L]=K(null),N=V0(M),F=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,R=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,P=c+(d!=="center"?"-"+d:""),te=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},le=Array.isArray(v)?v:[v],he=le.length>0,de={padding:te,boundary:le.filter(q0),altBoundary:he},{refs:me,floatingStyles:Dt,placement:Mr,isPositioned:Je,middlewareData:Qe}=H0({strategy:"fixed",placement:P,whileElementsMounted:(...Y)=>T0(...Y,{animationFrame:x==="always"}),elements:{reference:k.anchor},middleware:[P0({mainAxis:p+R,alignmentAxis:_}),g&&R0({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?M0():void 0,...de}),g&&D0({...de}),N0({...de,apply:({elements:Y,rects:ye,availableWidth:_t,availableHeight:ne})=>{const{width:ce,height:Ae}=ye.reference,Lt=Y.floating.style;Lt.setProperty("--radix-popper-available-width",`${_t}px`),Lt.setProperty("--radix-popper-available-height",`${ne}px`),Lt.setProperty("--radix-popper-anchor-width",`${ce}px`),Lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),M&&I0({element:M,padding:h}),G0({arrowWidth:F,arrowHeight:R}),b&&L0({strategy:"referenceHidden",...de})]}),[Ln,Ii]=Zl(Mr),ln=ut($);Xt(()=>{Je&&(ln==null||ln())},[Je,ln]);const Nt=(o=Qe.arrow)===null||o===void 0?void 0:o.x,Fr=(i=Qe.arrow)===null||i===void 0?void 0:i.y,W=((a=Qe.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[B,ie]=K();return Xt(()=>{j&&ie(window.getComputedStyle(j).zIndex)},[j]),O("div",{ref:me.setFloating,"data-radix-popper-content-wrapper":"",style:{...Dt,transform:Je?Dt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B,"--radix-popper-transform-origin":[(s=Qe.transformOrigin)===null||s===void 0?void 0:s.x,(u=Qe.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},O(Y0,{scope:f,placedSide:Ln,onArrowChange:L,arrowX:Nt,arrowY:Fr,shouldHideArrow:W},O(Gt.div,ae({"data-side":Ln,"data-align":Ii},E,{ref:D,style:{...E.style,animation:Je?void 0:"none",opacity:(l=Qe.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))});function q0(e){return e!==null}const G0=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:u,middlewareData:l}=t,c=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[_,h]=Zl(s),g={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,m=((i=(a=l.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let y="",b="";return _==="bottom"?(y=c?g:`${v}px`,b=`${-d}px`):_==="top"?(y=c?g:`${v}px`,b=`${u.floating.height+d}px`):_==="right"?(y=`${-d}px`,b=c?g:`${m}px`):_==="left"&&(y=`${u.floating.width+d}px`,b=c?g:`${m}px`),{data:{x:y,y:b}}}});function Zl(e){const[t,n="center"]=e.split("-");return[t,n]}const X0=z0,Z0=B0,J0=K0,Q0=oe((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?vl.createPortal(O(Gt.div,ae({},o,{ref:t})),r):null});function ew(e,t){return fr((n,r)=>{const o=t[n][r];return o??n},e)}const ki=e=>{const{present:t,children:n}=e,r=tw(t),o=typeof n=="function"?n({present:r.isPresent}):Ye.only(n),i=Pt(r.ref,o.ref);return typeof n=="function"||r.isPresent?qt(o,{ref:i}):null};ki.displayName="Presence";function tw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,u]=ew(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return G(()=>{const l=$r(r.current);i.current=s==="mounted"?l:"none"},[s]),Xt(()=>{const l=r.current,f=o.current;if(f!==e){const p=i.current,d=$r(l);e?u("MOUNT"):d==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Xt(()=>{if(t){const l=c=>{const d=$r(r.current).includes(c.animationName);c.target===t&&d&&On(()=>u("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=$r(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:re(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function $r(e){return(e==null?void 0:e.animationName)||"none"}function nw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=rw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=ut(n),u=re(l=>{if(i){const c=typeof l=="function"?l(e):l;c!==e&&s(c)}else o(l)},[i,e,o,s]);return[a,u]}function rw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=ut(t);return G(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var ow=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},tn=new WeakMap,jr=new WeakMap,Sr={},$i=0,Jl=function(e){return e&&(e.host||Jl(e.parentNode))},iw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Jl(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})},aw=function(e,t,n,r){var o=iw(t,Array.isArray(e)?e:[e]);Sr[n]||(Sr[n]=new WeakMap);var i=Sr[n],a=[],s=new Set,u=new Set(o),l=function(c){!c||s.has(c)||(s.add(c),l(c.parentNode))};o.forEach(l);var f=function(c){!c||u.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))f(p);else{var d=p.getAttribute(r),_=d!==null&&d!=="false",h=(tn.get(p)||0)+1,g=(i.get(p)||0)+1;tn.set(p,h),i.set(p,g),a.push(p),h===1&&_&&jr.set(p,!0),g===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return f(t),s.clear(),$i++,function(){a.forEach(function(c){var p=tn.get(c)-1,d=i.get(c)-1;tn.set(c,p),i.set(c,d),p||(jr.has(c)||c.removeAttribute(r),jr.delete(c)),d||c.removeAttribute(n)}),$i--,$i||(tn=new WeakMap,tn=new WeakMap,jr=new WeakMap,Sr={})}},sw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||ow(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),aw(r,o,n,"aria-hidden")):function(){return null}},Le=function(){return Le=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},Le.apply(this,arguments)};function Ql(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 cw(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 Er="right-scroll-bar-position",Cr="width-before-scroll-bar",lw="with-scroll-bars-hidden",uw="--removed-body-scroll-bar-size";function dw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function fw(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 pw(e,t){return fw(t||null,function(n){return e.forEach(function(r){return dw(r,n)})})}function hw(e){return e}function vw(e,t){t===void 0&&(t=hw);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 u=function(){var f=a;a=[],f.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(f){a.push(f),l()},filter:function(f){return a=a.filter(f),n}}}};return o}function _w(e){e===void 0&&(e={});var t=vw(null);return t.options=Le({async:!0,ssr:!1},e),t}var eu=function(e){var t=e.sideCar,n=Ql(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 O(r,Le({},n))};eu.isSideCarExport=!0;function gw(e,t){return e.useMedium(t),eu}var tu=_w(),ji=function(){},Or=oe(function(e,t){var n=V(null),r=K({onScrollCapture:ji,onWheelCapture:ji,onTouchMoveCapture:ji}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,f=e.enabled,c=e.shards,p=e.sideCar,d=e.noIsolation,_=e.inert,h=e.allowPinchZoom,g=e.as,v=g===void 0?"div":g,m=Ql(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,b=pw([n,t]),x=Le(Le({},m),o);return O(J,null,f&&O(y,{sideCar:tu,removeScrollBar:l,shards:c,noIsolation:d,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?qt(Ye.only(s),Le(Le({},x),{ref:b})):O(v,Le({},x,{className:u,ref:b}),s))});Or.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Or.classNames={fullWidth:Cr,zeroRight:Er};var ww=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function mw(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ww();return t&&e.setAttribute("nonce",t),e}function yw(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function bw(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var xw=function(){var e=0,t=null;return{add:function(n){e==0&&(t=mw())&&(yw(t,n),bw(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},kw=function(){var e=xw();return function(t,n){G(function(){return e.add(t),function(){e.remove()}},[t&&n])}},nu=function(){var e=kw(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},$w={left:0,top:0,right:0,gap:0},Si=function(e){return parseInt(e||"",10)||0},jw=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[Si(n),Si(r),Si(o)]},Sw=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return $w;var t=jw(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])}},Ew=nu(),Cw=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
22
- .`.concat(lw,` {
21
+ }`},G_=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Ia}`);return ve(e,`Element with id ${Ia} not found.`),e}}))(),Z_=()=>na(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return re(gn,{Fallback:Ed},[[re("style",{id:"inploi-job-search-styles"},H_),re("style",{id:"inploi-job-search-theme"},X_(o.theme))],re(Od,{theme:o.theme}),re(F_,{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,params:o})])};return{prerender:async o=>{const i=o.withData?await za({filters:zo(o.properties),apiClient:e,logger:t}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:qu(re(F,{},re(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?qr:Ft;ve(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(re(r,{params:o}),G_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Z_;function vc(e,t){if(!e)throw new Error(t)}var $n,T,_c,gc,Ot,wc,mc,Xo,Go,Zo,Jo,yc,jn={},bc=[],J_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,dr=Array.isArray;function Ke(e,t){for(var n in t)e[n]=t[n];return e}function xc(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?$n.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 Sn(e,a,r,o,null)}function Sn(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??++_c,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function kc(){return{current:null}}function ne(e){return e.children}function je(e,t){this.props=e,this.context=t}function At(e,t){if(t==null)return e.__?At(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"?At(e):null}function $c(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 $c(e)}}function Qo(e){(!e.__d&&(e.__d=!0)&&Ot.push(e)&&!fr.__r++||wc!==T.debounceRendering)&&((wc=T.debounceRendering)||mc)(fr)}function fr(){var e,t,n,r,o,i,a,s;for(Ot.sort(Xo);e=Ot.shift();)e.__d&&(t=Ot.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ke({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),ei(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??At(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Oc(a,r,s),r.__e!=i&&$c(r)),Ot.length>t&&Ot.sort(Xo));fr.__r=0}function jc(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||bc,_=t.length;for(n.__d=l,Q_(n,t,g),l=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?jn:g[d.__i]||jn,d.__i=c,ei(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&ti(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=At(p)),l=Sc(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:v&&(l=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function Q_(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,f=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?Sn(null,o,null,null,null):dr(o)?Sn(ne,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Sn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=eg(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(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?f>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=At(i)),ni(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=At(i)),ni(i,i))}function Sc(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=Sc(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 qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(dr(e)?e.some(function(n){qe(n,t)}):t.push(e)),t}function eg(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 Ec(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||J_.test(t)?n:n+"px"}function pr(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||Ec(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ec(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=Go,e.addEventListener(t,i?Jo:Zo,i)):e.removeEventListener(t,i?Jo:Zo,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 Cc(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Go++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function ei(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,b,y,x,$,O,k,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,b=(f=j.contextType)&&r[f.__c],y=f?b?b.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,y):(t.__c=c=new je(_,y),c.constructor=j,c.render=ng),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ke({},c.__s)),Ke(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)m&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,y)===!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(R){R&&(R.__=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,y),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=y,c.props=_,c.__P=e,c.__e=!1,$=T.__r,O=0,m){for(c.state=c.__s,c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),k=0;k<c._sb.length;k++)c.__h.push(c._sb[k]);c._sb=[]}else do c.__d=!1,$&&$(t),f=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=Ke(Ke({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),jc(e,dr(C=f!=null&&f.type===ne&&f.key==null?f.props.children:f)?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(R){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),T.__e(R,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=tg(n.__e,t,n,r,o,i,a,l,u);(f=T.diffed)&&f(t)}function Oc(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ti(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function tg(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="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((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(m===null)return document.createTextNode(_);e=document.createElementNS(o,m,_.is&&_),i=null,s=!1}if(m===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&$n.call(e.childNodes),g=n.props||jn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;pr(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||g[u]===d||pr(e,u,d,g[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),jc(e,dr(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&At(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&xc(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&pr(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&pr(e,u,h,g[u],o))}return e}function ti(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function ni(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ti(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ni(r[o],t,n||typeof e.type!="function");n||e.__e==null||xc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function ng(e,t,n){return this.constructor(e,n)}function Yt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],ei(t,e=(!r&&n||t).__k=A(ne,null,[e]),o||jn,jn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?$n.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Oc(i,e,a)}function ri(e,t){Yt(e,t,ri)}function rg(e,t,n){var r,o,i,a,s=Ke({},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?$n.call(arguments,2):n),Sn(e.type,s,r||e.key,o||e.ref,null)}function En(e,t){var n={__c:t="__cC"+yc++,__: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,Qo(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}$n=bc.slice,T={__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}},_c=0,gc=function(e){return e!=null&&e.constructor==null},je.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ke({},this.state),typeof e=="function"&&(e=e(Ke({},n),this.props)),e&&Ke(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Qo(this))},je.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qo(this))},je.prototype.render=ne,Ot=[],mc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xo=function(e,t){return e.__v.__b-t.__v.__b},fr.__r=0,Go=0,Zo=Cc(!1),Jo=Cc(!0),yc=0;var Ac=/[\s\n\\/='"\0<>]/,Tc=/^(xlink|xmlns|xml)([A-Z])/,og=/^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]/,ig=/^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/,ag=/["&<]/;function hr(e){if(e.length===0||ag.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 Pc={},sg=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"]),cg=/[A-Z]/g;function lg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Pc[n]||(Pc[n]=n.replace(cg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||sg.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var oi,Tt,Cn,On,Rc=[],Dc=Array.isArray,ii=Object.assign;function ug(e,t,n){var r=T.__s;T.__s=!0,oi=T.__b,Tt=T.diffed,Cn=T.__r,On=T.unmount;var o=A(ne,null);o.__k=[e];try{var i=Me(e,t||Lc,!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{T.__c&&T.__c(e,Rc),T.__s=r,Rc.length=0}}function Nc(){this.__d=!0}var Lc={};function Mc(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=Lc),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=ii({},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(),Cn&&Cn(e),n.render(n.props,n.state,t)}function Me(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":hr(e+"");if(Dc(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,p=Me(f,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,oi&&oi(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===ne){if(_.tpl){for(var b="",y=0;y<_.tpl.length;y++)if(b+=_.tpl[y],_.exprs&&y<_.exprs.length){var x=_.exprs[y];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!Dc(x)?b+=x:b+=Me(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+hr(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var $=t[d.__c];m=$?$.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=Mc(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:Nc,forceUpdate:Nc,__d:!0,__h:[]};for(var O=0;h.__d&&O++<25;)h.__d=!1,Cn&&Cn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=ii({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var k="";v=v!=null&&v.type===ne&&v.key==null?v.props.children:v;try{return k=Me(v,t,n,r,e,i,a)}catch(K){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(K)),h.componentDidCatch&&h.componentDidCatch(K,{}),h.__d&&(v=Mc(e,t),(h=e.__c).getChildContext!=null&&(t=ii({},t,h.getChildContext())),k=Me(v=v!=null&&v.type===ne&&v.key==null?v.props.children:v,t,n,r,e,i,a)),k}finally{Tt&&Tt(e),e.__=null,On&&On(e)}}}v=v!=null&&v.type===ne&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var C=Me(v,t,n,r,e,i,a);return Tt&&Tt(e),e.__=null,T.unmount&&T.unmount(e),C}catch(K){if(!i&&a&&a.onError){var j=a.onError(K,e,function(ae){return Me(ae,t,n,r,e,i,a)});if(j!==void 0)return j;var R=T.__e;return R&&R(K,e),""}if(!i||!K||typeof K.then!="function")throw K;var I=function ae(){try{return Me(v,t,n,r,e,i,a)}catch(le){if(!le||typeof le.then!="function")throw le;return le.then(function(){return Me(v,t,n,r,e,i,a)},function(){return ae()})}};return K.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=lg(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(Tc.test(S))S=S.replace(Tc,"$1:$2").toLowerCase();else{if(Ac.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?ig.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):og.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+hr(E+"")+'"')}if(Ac.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=hr(L):L!=null&&L!==!1&&L!==!0&&(M=Me(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Tt&&Tt(e),e.__=null,On&&On(e),!M&&dg.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 dg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),fg=0;function P(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:--fg,__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 T.vnode&&T.vnode(u),u}const pg={bell:P("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:P("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":P("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},hg=({theme:e})=>P("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:P("defs",{children:Object.entries(pg).map(([t,n])=>P("symbol",{id:`i-icon-${t}`,children:P("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Ic=({name:e,...t})=>P("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:P("use",{href:`#i-icon-${e}`})});function de(){return de=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},de.apply(this,arguments)}var Xe,B,ai,Fc,Kt=0,Hc=[],Q=T,Uc=Q.__b,Vc=Q.__r,zc=Q.diffed,Wc=Q.__c,Bc=Q.unmount,Yc=Q.__;function Pt(e,t){Q.__h&&Q.__h(B,e,Kt||t),Kt=0;var n=B.__H||(B.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Y(e){return Kt=1,An(qc,e)}function An(e,t,n){var r=Pt(Xe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):qc(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=B,!B.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};B.u=!0;var i=B.shouldComponentUpdate,a=B.componentWillUpdate;B.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},B.shouldComponentUpdate=o}return r.__N||r.__}function Z(e,t){var n=Pt(Xe++,3);!Q.__s&&di(n.__H,t)&&(n.__=e,n.i=t,B.__H.__h.push(n))}function pt(e,t){var n=Pt(Xe++,4);!Q.__s&&di(n.__H,t)&&(n.__=e,n.i=t,B.__h.push(n))}function V(e){return Kt=5,he(function(){return{current:e}},[])}function si(e,t,n){Kt=6,pt(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 he(e,t){var n=Pt(Xe++,7);return di(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ie(e,t){return Kt=8,he(function(){return e},t)}function Tn(e){var t=B.context[e.__c],n=Pt(Xe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(B)),t.props.value):e.__}function ci(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function vg(e){var t=Pt(Xe++,10),n=Y();return t.__=e,B.componentDidCatch||(B.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function li(){var e=Pt(Xe++,11);if(!e.__){for(var t=B.__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 _g(){for(var e;e=Hc.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(vr),e.__H.__h.forEach(ui),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){B=null,Uc&&Uc(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Yc&&Yc(e,t)},Q.__r=function(e){Vc&&Vc(e),Xe=0;var t=(B=e.__c).__H;t&&(ai===B?(t.__h=[],B.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(vr),t.__h.forEach(ui),t.__h=[],Xe=0)),ai=B},Q.diffed=function(e){zc&&zc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Hc.push(t)!==1&&Fc===Q.requestAnimationFrame||((Fc=Q.requestAnimationFrame)||gg)(_g)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ai=B=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(vr),n.__h=n.__h.filter(function(r){return!r.__||ui(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),Wc&&Wc(e,t)},Q.unmount=function(e){Bc&&Bc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{vr(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var Kc=typeof requestAnimationFrame=="function";function gg(e){var t,n=function(){clearTimeout(r),Kc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Kc&&(t=requestAnimationFrame(n))}function vr(e){var t=B,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),B=t}function ui(e){var t=B;e.__c=e.__(),B=t}function di(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function qc(e,t){return typeof t=="function"?t(e):t}function Xc(e,t){for(var n in t)e[n]=t[n];return e}function fi(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 _r(e,t){this.props=e,this.context=t}function Gc(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:fi(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}(_r.prototype=new je).isPureReactComponent=!0,_r.prototype.shouldComponentUpdate=function(e,t){return fi(this.props,e)||fi(this.state,t)};var Zc=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Zc&&Zc(e)};var wg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ce(e){function t(n){var r=Xc({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=wg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Jc=function(e,t){return e==null?null:qe(qe(e).map(t))},Ge={map:Jc,forEach:Jc,count:function(e){return e?qe(e).length:0},only:function(e){var t=qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:qe},mg=T.__e;T.__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)}mg(e,t,n,r)};var Qc=T.unmount;function el(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=Xc({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return el(r,t,n)})),e}function tl(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return tl(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 Pn(){this.__u=0,this.t=null,this.__b=null}function nl(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function rl(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 qt(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Qc&&Qc(e)},(Pn.prototype=new je).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=nl(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]=tl(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)},Pn.prototype.componentWillUnmount=function(){this.t=[]},Pn.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]=el(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(ne,null,e.fallback);return o&&(o.__u&=-33),[A(ne,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 yg(e){return this.getChildContext=function(){return e.context},e.children}function bg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Yt(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)}}),Yt(A(yg,{context:t.context},e.__v),t.l)}function il(e,t){var n=A(bg,{__v:e,i:t});return n.containerInfo=t,n}(qt.prototype=new je).__a=function(e){var t=this,n=nl(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()}},qt.prototype.render=function(e){this.u=null,this.o=new Map;var t=qe(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},qt.prototype.componentDidUpdate=qt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ol(e,n,t)})};var al=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,xg=/^(?: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]/,kg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,$g=/[A-Z0-9]/g,jg=typeof document<"u",Sg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function sl(e,t,n){return t.__k==null&&(t.textContent=""),Yt(e,t),typeof n=="function"&&n(),e?e.__c:null}function cl(e,t,n){return ri(e,t),typeof n=="function"&&n(),e?e.__c:null}je.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(je.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ll=T.event;function Eg(){}function Cg(){return this.cancelBubble}function Og(){return this.defaultPrevented}T.event=function(e){return ll&&(e=ll(e)),e.persist=Eg,e.isPropagationStopped=Cg,e.isDefaultPrevented=Og,e.nativeEvent=e};var pi,Ag={enumerable:!1,configurable:!0,get:function(){return this.class}},ul=T.vnode;T.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||jg&&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"||Sg(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":kg.test(i)?i=s:r.indexOf("-")===-1&&xg.test(i)?i=i.replace($g,"-$&").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=qe(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=qe(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",Ag)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=al,ul&&ul(e)};var dl=T.__r;T.__r=function(e){dl&&dl(e),pi=e.__c};var fl=T.diffed;T.diffed=function(e){fl&&fl(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),pi=null};var pl={ReactCurrentDispatcher:{current:{readContext:function(e){return pi.__n[e.__c].props.value},useCallback:ie,useContext:Tn,useDebugValue:ci,useDeferredValue:vi,useEffect:Z,useId:li,useImperativeHandle:si,useInsertionEffect:gi,useLayoutEffect:pt,useMemo:he,useReducer:An,useRef:V,useState:Y,useSyncExternalStore:wi,useTransition:_i}}},Tg="17.0.2";function hl(e){return A.bind(null,e)}function Ze(e){return!!e&&e.$$typeof===al}function vl(e){return Ze(e)&&e.type===ne}function _l(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Xt(e){return Ze(e)?rg.apply(null,arguments):e}function gl(e){return!!e.__k&&(Yt(null,e),!0)}function wl(e){return e&&(e.base||e.nodeType===1&&e)||null}var ml=function(e,t){return e(t)},Rn=function(e,t){return e(t)},yl=ne;function hi(e){e()}function vi(e){return e}function _i(){return[!1,hi]}var gi=pt,bl=Ze;function wi(e,t){var n=t(),r=Y({h:{__:n,v:t}}),o=r[0].h,i=r[1];return pt(function(){o.__=n,o.v=t,mi(o)&&i({h:o})},[e,n,t]),Z(function(){return mi(o)&&i({h:o}),e(function(){mi(o)&&i({h:o})})},[e]),n}function mi(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 xl={useState:Y,useId:li,useReducer:An,useEffect:Z,useLayoutEffect:pt,useInsertionEffect:gi,useTransition:_i,useDeferredValue:vi,useSyncExternalStore:wi,startTransition:hi,useRef:V,useImperativeHandle:si,useMemo:he,useCallback:ie,useContext:Tn,useDebugValue:ci,version:"17.0.2",Children:Ge,render:sl,hydrate:cl,unmountComponentAtNode:gl,createPortal:il,createElement:A,createContext:En,createFactory:hl,cloneElement:Xt,createRef:kc,Fragment:ne,isValidElement:Ze,isElement:bl,isFragment:vl,isMemo:_l,findDOMNode:wl,Component:je,PureComponent:_r,memo:Gc,forwardRef:ce,flushSync:Rn,unstable_batchedUpdates:ml,StrictMode:yl,Suspense:Pn,SuspenseList:qt,lazy:rl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:pl};const Pg=Object.freeze(Object.defineProperty({__proto__:null,Children:Ge,Component:je,Fragment:ne,PureComponent:_r,StrictMode:yl,Suspense:Pn,SuspenseList:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:pl,cloneElement:Xt,createContext:En,createElement:A,createFactory:hl,createPortal:il,createRef:kc,default:xl,findDOMNode:wl,flushSync:Rn,forwardRef:ce,hydrate:cl,isElement:bl,isFragment:vl,isMemo:_l,isValidElement:Ze,lazy:rl,memo:Gc,render:sl,startTransition:hi,unmountComponentAtNode:gl,unstable_batchedUpdates:ml,useCallback:ie,useContext:Tn,useDebugValue:ci,useDeferredValue:vi,useEffect:Z,useErrorBoundary:vg,useId:li,useImperativeHandle:si,useInsertionEffect:gi,useLayoutEffect:pt,useMemo:he,useReducer:An,useRef:V,useState:Y,useSyncExternalStore:wi,useTransition:_i,version:Tg},Symbol.toStringTag,{value:"Module"}));function Rt(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 Rg(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function kl(...e){return t=>e.forEach(n=>Rg(n,t))}function Dt(...e){return ie(kl(...e),e)}function $l(e,t=[]){let n=[];function r(i,a){const s=En(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:d,...v}=c,h=(p==null?void 0:p[e][l])||s,g=he(()=>v,Object.values(v));return A(h.Provider,{value:g},d)}function f(c,p){const d=(p==null?void 0:p[e][l])||s,v=Tn(d);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>En(a));return function(s){const l=(s==null?void 0:s[e])||i;return he(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Dg(o,...t)]}function Dg(...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 he(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const yi=ce((e,t)=>{const{children:n,...r}=e,o=Ge.toArray(n),i=o.find(Lg);if(i){const a=i.props.children,s=o.map(l=>l===i?Ge.count(a)>1?Ge.only(null):Ze(a)?a.props.children:null:l);return A(bi,de({},r,{ref:t}),Ze(a)?Xt(a,void 0,s):null)}return A(bi,de({},r,{ref:t}),n)});yi.displayName="Slot";const bi=ce((e,t)=>{const{children:n,...r}=e;return Ze(n)?Xt(n,{...Mg(r,n.props),ref:t?kl(t,n.ref):n.ref}):Ge.count(n)>1?Ge.only(null):null});bi.displayName="SlotClone";const Ng=({children:e})=>A(ne,null,e);function Lg(e){return Ze(e)&&e.type===Ng}function Mg(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 Gt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=ce((r,o)=>{const{asChild:i,...a}=r,s=i?yi:t;return Z(()=>{window[Symbol.for("radix-ui")]=!0},[]),A(s,de({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Ig(e,t){e&&Rn(()=>e.dispatchEvent(t))}function ht(e){const t=V(e);return Z(()=>{t.current=e}),he(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Fg(e,t=globalThis==null?void 0:globalThis.document){const n=ht(e);Z(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const xi="dismissableLayer.update",Hg="dismissableLayer.pointerDownOutside",Ug="dismissableLayer.focusOutside";let jl;const Vg=En({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zg=ce((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,f=Tn(Vg),[c,p]=Y(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=Y({}),h=Dt(t,k=>p(k)),g=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(_),b=c?g.indexOf(c):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,x=b>=m,$=Wg(k=>{const C=k.target,j=[...f.branches].some(R=>R.contains(C));!x||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},d),O=Bg(k=>{const C=k.target;[...f.branches].some(R=>R.contains(C))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},d);return Fg(k=>{b===f.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},d),Z(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(jl=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),Sl(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=jl)}},[c,d,r,f]),Z(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),Sl())},[c,f]),Z(()=>{const k=()=>v({});return document.addEventListener(xi,k),()=>document.removeEventListener(xi,k)},[]),A(Gt.div,de({},u,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:Rt(e.onFocusCapture,O.onFocusCapture),onBlurCapture:Rt(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:Rt(e.onPointerDownCapture,$.onPointerDownCapture)}))});function Wg(e,t=globalThis==null?void 0:globalThis.document){const n=ht(e),r=V(!1),o=V(()=>{});return Z(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){El(Hg,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 Bg(e,t=globalThis==null?void 0:globalThis.document){const n=ht(e),r=V(!1);return Z(()=>{const o=i=>{i.target&&!r.current&&El(Ug,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 Sl(){const e=new CustomEvent(xi);document.dispatchEvent(e)}function El(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?Ig(o,i):o.dispatchEvent(i)}let ki=0;function Yg(){Z(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Cl()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Cl()),ki++,()=>{ki===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ki--}},[])}function Cl(){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 $i="focusScope.autoFocusOnMount",ji="focusScope.autoFocusOnUnmount",Ol={bubbles:!1,cancelable:!0},Kg=ce((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=Y(null),u=ht(o),f=ht(i),c=V(null),p=Dt(t,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Z(()=>{if(r){let h=function(b){if(d.paused||!s)return;const y=b.target;s.contains(y)?c.current=y:vt(c.current,{select:!0})},g=function(b){if(d.paused||!s)return;const y=b.relatedTarget;y!==null&&(s.contains(y)||vt(c.current,{select:!0}))},_=function(b){if(document.activeElement===document.body)for(const x of b)x.removedNodes.length>0&&vt(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const m=new MutationObserver(_);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),m.disconnect()}}},[r,s,d.paused]),Z(()=>{if(s){Pl.add(d);const h=document.activeElement;if(!s.contains(h)){const _=new CustomEvent($i,Ol);s.addEventListener($i,u),s.dispatchEvent(_),_.defaultPrevented||(qg(Qg(Al(s)),{select:!0}),document.activeElement===h&&vt(s))}return()=>{s.removeEventListener($i,u),setTimeout(()=>{const _=new CustomEvent(ji,Ol);s.addEventListener(ji,f),s.dispatchEvent(_),_.defaultPrevented||vt(h??document.body,{select:!0}),s.removeEventListener(ji,f),Pl.remove(d)},0)}}},[s,u,f,d]);const v=ie(h=>{if(!n&&!r||d.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,_=document.activeElement;if(g&&_){const m=h.currentTarget,[b,y]=Xg(m);b&&y?!h.shiftKey&&_===y?(h.preventDefault(),n&&vt(b,{select:!0})):h.shiftKey&&_===b&&(h.preventDefault(),n&&vt(y,{select:!0})):_===m&&h.preventDefault()}},[n,r,d.paused]);return A(Gt.div,de({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function qg(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(vt(r,{select:t}),document.activeElement!==n)return}function Xg(e){const t=Al(e),n=Tl(t,e),r=Tl(t.reverse(),e);return[n,r]}function Al(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 Tl(e,t){for(const n of e)if(!Gg(n,{upTo:t}))return n}function Gg(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 Zg(e){return e instanceof HTMLInputElement&&"select"in e}function vt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Zg(e)&&t&&e.select()}}const Pl=Jg();function Jg(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Rl(e,t),e.unshift(t)},remove(t){var n;e=Rl(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Rl(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Qg(e){return e.filter(t=>t.tagName!=="A")}const Zt=globalThis!=null&&globalThis.document?pt:()=>{},e0=Pg["useId".toString()]||(()=>{});let t0=0;function n0(e){const[t,n]=Y(e0());return Zt(()=>{e||n(r=>r??String(t0++))},[e]),e||(t?`radix-${t}`:"")}const r0=["top","right","bottom","left"],Ie=Math.min,me=Math.max,gr=Math.round,wr=Math.floor,_t=e=>({x:e,y:e}),o0={left:"right",right:"left",bottom:"top",top:"bottom"},i0={start:"end",end:"start"};function Si(e,t,n){return me(e,Ie(t,n))}function Je(e,t){return typeof e=="function"?e(t):e}function Qe(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function Ei(e){return e==="x"?"y":"x"}function Ci(e){return e==="y"?"height":"width"}function gt(e){return["top","bottom"].includes(Qe(e))?"y":"x"}function Oi(e){return Ei(gt(e))}function a0(e,t,n){n===void 0&&(n=!1);const r=Jt(e),o=Oi(e),i=Ci(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=mr(a)),[a,mr(a)]}function s0(e){const t=mr(e);return[Ai(e),t,Ai(t)]}function Ai(e){return e.replace(/start|end/g,t=>i0[t])}function c0(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 l0(e,t,n,r){const o=Jt(e);let i=c0(Qe(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Ai)))),i}function mr(e){return e.replace(/left|right|bottom|top/g,t=>o0[t])}function u0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Dl(e){return typeof e!="number"?u0(e):{top:e,right:e,bottom:e,left:e}}function yr(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 Nl(e,t,n){let{reference:r,floating:o}=e;const i=gt(t),a=Oi(t),s=Ci(a),l=Qe(t),u=i==="y",f=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 d;switch(l){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:c};break;case"left":d={x:r.x-o.width,y:c};break;default:d={x:r.x,y:r.y}}switch(Jt(t)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const d0=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:f,y:c}=Nl(u,r,l),p=r,d={},v=0;for(let h=0;h<s.length;h++){const{name:g,fn:_}=s[h],{x:m,y:b,data:y,reset:x}=await _({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:e,floating:t}});f=m??f,c=b??c,d={...d,[g]:{...d[g],...y}},x&&v<=50&&(v++,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:f,y:c}=Nl(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function Dn(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:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=Je(t,e),v=Dl(d),g=s[p?c==="floating"?"reference":"floating":c],_=yr(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:f,strategy:l})),m=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)),y=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=yr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:b,strategy:l}):m);return{top:(_.top-x.top+v.top)/y.y,bottom:(x.bottom-_.bottom+v.bottom)/y.y,left:(_.left-x.left+v.left)/y.x,right:(x.right-_.right+v.right)/y.x}}const f0=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:f=0}=Je(e,t)||{};if(u==null)return{};const c=Dl(f),p={x:n,y:r},d=Oi(o),v=Ci(d),h=await a.getDimensions(u),g=d==="y",_=g?"top":"left",m=g?"bottom":"right",b=g?"clientHeight":"clientWidth",y=i.reference[v]+i.reference[d]-p[d]-i.floating[v],x=p[d]-i.reference[d],$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let O=$?$[b]:0;(!O||!await(a.isElement==null?void 0:a.isElement($)))&&(O=s.floating[b]||i.floating[v]);const k=y/2-x/2,C=O/2-h[v]/2-1,j=Ie(c[_],C),R=Ie(c[m],C),I=j,L=O-h[v]-R,N=O/2-h[v]/2+k,M=Si(I,N,L),S=!l.arrow&&Jt(o)!=null&&N!==M&&i.reference[v]/2-(N<I?j:R)-h[v]/2<0,E=S?N<I?N-I:N-L:0;return{[d]:p[d]+E,data:{[d]:M,centerOffset:N-M-E,...S&&{alignmentOffset:E}},reset:S}}}),p0=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:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...g}=Je(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=Qe(o),m=gt(s),b=Qe(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=p||(b||!h?[mr(s)]:s0(s)),$=v!=="none";!p&&$&&x.push(...l0(s,h,v,y));const O=[s,...x],k=await Dn(t,g),C=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&C.push(k[_]),c){const N=a0(o,a,y);C.push(k[N[0]],k[N[1]])}if(j=[...j,{placement:o,overflows:C}],!C.every(N=>N<=0)){var R,I;const N=(((R=i.flip)==null?void 0:R.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(d){case"bestFit":{var L;const E=(L=j.filter(U=>{if($){const z=gt(U.placement);return z===m||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,K)=>z+K,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 Ll(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ml(e){return r0.some(t=>e[t]>=0)}const h0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Je(e,t);switch(r){case"referenceHidden":{const i=await Dn(t,{...o,elementContext:"reference"}),a=Ll(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ml(a)}}}case"escaped":{const i=await Dn(t,{...o,altBoundary:!0}),a=Ll(i,n.floating);return{data:{escapedOffsets:a,escaped:Ml(a)}}}default:return{}}}}};async function v0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Qe(n),s=Jt(n),l=gt(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=Je(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof v=="number"&&(d=s==="end"?v*-1:v),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const _0=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 v0(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}}}}},g0=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:m}=g;return{x:_,y:m}}},...l}=Je(e,t),u={x:n,y:r},f=await Dn(t,l),c=gt(Qe(o)),p=Ei(c);let d=u[p],v=u[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",m=d+f[g],b=d-f[_];d=Si(m,d,b)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",m=v+f[g],b=v-f[_];v=Si(m,v,b)}const h=s.fn({...t,[p]:d,[c]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},w0=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}=Je(e,t),f={x:n,y:r},c=gt(o),p=Ei(c);let d=f[p],v=f[c];const h=Je(s,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=p==="y"?"height":"width",y=i.reference[p]-i.floating[b]+g.mainAxis,x=i.reference[p]+i.reference[b]-g.mainAxis;d<y?d=y:d>x&&(d=x)}if(u){var _,m;const b=p==="y"?"width":"height",y=["top","left"].includes(Qe(o)),x=i.reference[c]-i.floating[b]+(y&&((_=a.offset)==null?void 0:_[c])||0)+(y?0:g.crossAxis),$=i.reference[c]+i.reference[b]+(y?0:((m=a.offset)==null?void 0:m[c])||0)-(y?g.crossAxis:0);v<x?v=x:v>$&&(v=$)}return{[p]:d,[c]:v}}}},m0=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}=Je(e,t),l=await Dn(t,s),u=Qe(n),f=Jt(n),c=gt(n)==="y",{width:p,height:d}=r.floating;let v,h;u==="top"||u==="bottom"?(v=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,v=f==="end"?"top":"bottom");const g=d-l.top-l.bottom,_=p-l.left-l.right,m=Ie(d-l[v],g),b=Ie(p-l[h],_),y=!t.middlewareData.shift;let x=m,$=b;if(c?$=f||y?Ie(b,_):_:x=f||y?Ie(m,g):g,y&&!f){const k=me(l.left,0),C=me(l.right,0),j=me(l.top,0),R=me(l.bottom,0);c?$=p-2*(k!==0||C!==0?k+C:me(l.left,l.right)):x=d-2*(j!==0||R!==0?j+R:me(l.top,l.bottom))}await a({...t,availableWidth:$,availableHeight:x});const O=await o.getDimensions(i.floating);return p!==O.width||d!==O.height?{reset:{rects:!0}}:{}}}};function Qt(e){return Il(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function et(e){var t;return(t=(Il(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Il(e){return e instanceof Node||e instanceof ye(e).Node}function Ae(e){return e instanceof Element||e instanceof ye(e).Element}function Fe(e){return e instanceof HTMLElement||e instanceof ye(e).HTMLElement}function Fl(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function Nn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Te(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function y0(e){return["table","td","th"].includes(Qt(e))}function br(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ti(e){const t=Pi(),n=Ae(e)?Te(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 b0(e){let t=wt(e);for(;Fe(t)&&!en(t);){if(Ti(t))return t;if(br(t))return null;t=wt(t)}return null}function Pi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function en(e){return["html","body","#document"].includes(Qt(e))}function Te(e){return ye(e).getComputedStyle(e)}function xr(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wt(e){if(Qt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fl(e)&&e.host||et(e);return Fl(t)?t.host:t}function Hl(e){const t=wt(e);return en(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fe(t)&&Nn(t)?t:Hl(t)}function Ln(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Hl(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ye(o);if(i){const s=Ri(a);return t.concat(a,a.visualViewport||[],Nn(o)?o:[],s&&n?Ln(s):[])}return t.concat(o,Ln(o,[],n))}function Ri(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ul(e){const t=Te(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Fe(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=gr(n)!==i||gr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Di(e){return Ae(e)?e:e.contextElement}function tn(e){const t=Di(e);if(!Fe(t))return _t(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ul(t);let a=(i?gr(n.width):n.width)/r,s=(i?gr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const x0=_t(0);function Vl(e){const t=ye(e);return!Pi()||!t.visualViewport?x0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function k0(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ye(e)?!1:t}function Nt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Di(e);let a=_t(1);t&&(r?Ae(r)&&(a=tn(r)):a=tn(e));const s=k0(i,n,r)?Vl(i):_t(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const p=ye(i),d=r&&Ae(r)?ye(r):r;let v=p,h=Ri(v);for(;h&&r&&d!==v;){const g=tn(h),_=h.getBoundingClientRect(),m=Te(h),b=_.left+(h.clientLeft+parseFloat(m.paddingLeft))*g.x,y=_.top+(h.clientTop+parseFloat(m.paddingTop))*g.y;l*=g.x,u*=g.y,f*=g.x,c*=g.y,l+=b,u+=y,v=ye(h),h=Ri(v)}}return yr({width:f,height:c,x:l,y:u})}function $0(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=et(r),s=t?br(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=_t(1);const f=_t(0),c=Fe(r);if((c||!c&&!i)&&((Qt(r)!=="body"||Nn(a))&&(l=xr(r)),Fe(r))){const p=Nt(r);u=tn(r),f.x=p.x+r.clientLeft,f.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+f.x,y:n.y*u.y-l.scrollTop*u.y+f.y}}function j0(e){return Array.from(e.getClientRects())}function zl(e){return Nt(et(e)).left+xr(e).scrollLeft}function S0(e){const t=et(e),n=xr(e),r=e.ownerDocument.body,o=me(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=me(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+zl(e);const s=-n.scrollTop;return Te(r).direction==="rtl"&&(a+=me(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function E0(e,t){const n=ye(e),r=et(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=Pi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function C0(e,t){const n=Nt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Fe(e)?tn(e):_t(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 Wl(e,t,n){let r;if(t==="viewport")r=E0(e,n);else if(t==="document")r=S0(et(e));else if(Ae(t))r=C0(t,n);else{const o=Vl(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return yr(r)}function Bl(e,t){const n=wt(e);return n===t||!Ae(n)||en(n)?!1:Te(n).position==="fixed"||Bl(n,t)}function O0(e,t){const n=t.get(e);if(n)return n;let r=Ln(e,[],!1).filter(s=>Ae(s)&&Qt(s)!=="body"),o=null;const i=Te(e).position==="fixed";let a=i?wt(e):e;for(;Ae(a)&&!en(a);){const s=Te(a),l=Ti(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Nn(a)&&!l&&Bl(e,a))?r=r.filter(f=>f!==a):o=s,a=wt(a)}return t.set(e,r),r}function A0(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?br(t)?[]:O0(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=Wl(t,f,o);return u.top=me(c.top,u.top),u.right=Ie(c.right,u.right),u.bottom=Ie(c.bottom,u.bottom),u.left=me(c.left,u.left),u},Wl(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function T0(e){const{width:t,height:n}=Ul(e);return{width:t,height:n}}function P0(e,t,n){const r=Fe(t),o=et(t),i=n==="fixed",a=Nt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=_t(0);if(r||!r&&!i)if((Qt(t)!=="body"||Nn(o))&&(s=xr(t)),r){const c=Nt(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=zl(o));const u=a.left+s.scrollLeft-l.x,f=a.top+s.scrollTop-l.y;return{x:u,y:f,width:a.width,height:a.height}}function Ni(e){return Te(e).position==="static"}function Yl(e,t){return!Fe(e)||Te(e).position==="fixed"?null:t?t(e):e.offsetParent}function Kl(e,t){const n=ye(e);if(br(e))return n;if(!Fe(e)){let o=wt(e);for(;o&&!en(o);){if(Ae(o)&&!Ni(o))return o;o=wt(o)}return n}let r=Yl(e,t);for(;r&&y0(r)&&Ni(r);)r=Yl(r,t);return r&&en(r)&&Ni(r)&&!Ti(r)?n:r||b0(e)||n}const R0=async function(e){const t=this.getOffsetParent||Kl,n=this.getDimensions,r=await n(e.floating);return{reference:P0(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function D0(e){return Te(e).direction==="rtl"}const N0={convertOffsetParentRelativeRectToViewportRelativeRect:$0,getDocumentElement:et,getClippingRect:A0,getOffsetParent:Kl,getElementRects:R0,getClientRects:j0,getDimensions:T0,getScale:tn,isElement:Ae,isRTL:D0};function L0(e,t){let n=null,r;const o=et(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:f,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const d=wr(f),v=wr(o.clientWidth-(u+c)),h=wr(o.clientHeight-(f+p)),g=wr(u),m={rootMargin:-d+"px "+-v+"px "+-h+"px "+-g+"px",threshold:me(0,Ie(1,l))||1};let b=!0;function y(x){const $=x[0].intersectionRatio;if($!==l){if(!b)return a();$?a(!1,$):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(y,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,m)}n.observe(e)}return a(!0),i}function M0(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=Di(e),f=o||i?[...u?Ln(u):[],...Ln(t)]:[];f.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?L0(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(_=>{let[m]=_;m&&m.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(t)})),n()}),u&&!l&&d.observe(u),d.observe(t));let v,h=l?Nt(e):null;l&&g();function g(){const _=Nt(e);h&&(_.x!==h.x||_.y!==h.y||_.width!==h.width||_.height!==h.height)&&n(),h=_,v=requestAnimationFrame(g)}return n(),()=>{var _;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c==null||c(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(v)}}const I0=_0,F0=g0,H0=p0,U0=m0,V0=h0,ql=f0,z0=w0,W0=(e,t,n)=>{const r=new Map,o={platform:N0,...n},i={...o.platform,_c:r};return d0(e,t,{...o,platform:i})};var kr=typeof document<"u"?pt:Z;function $r(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(!$r(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)&&!$r(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Xl(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gl(e,t){const n=Xl(e);return Math.round(t*n)/n}function Zl(e){const t=V(e);return kr(()=>{t.current=e}),t}function B0(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,[f,c]=Y({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=Y(r);$r(p,r)||d(r);const[v,h]=Y(null),[g,_]=Y(null),m=ie(E=>{E!==$.current&&($.current=E,h(E))},[]),b=ie(E=>{E!==O.current&&(O.current=E,_(E))},[]),y=i||v,x=a||g,$=V(null),O=V(null),k=V(f),C=l!=null,j=Zl(l),R=Zl(o),I=ie(()=>{if(!$.current||!O.current)return;const E={placement:t,strategy:n,middleware:p};R.current&&(E.platform=R.current),W0($.current,O.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!$r(k.current,z)&&(k.current=z,Rn(()=>{c(z)}))})},[p,t,n,R]);kr(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);kr(()=>(L.current=!0,()=>{L.current=!1}),[]),kr(()=>{if(y&&($.current=y),x&&(O.current=x),y&&x){if(j.current)return j.current(y,x,I);I()}},[y,x,I,j,C]);const N=he(()=>({reference:$,floating:O,setReference:m,setFloating:b}),[m,b]),M=he(()=>({reference:y,floating:x}),[y,x]),S=he(()=>{const E={position:n,left:0,top:0};if(!M.floating)return E;const U=Gl(M.floating,f.x),z=Gl(M.floating,f.y);return s?{...E,transform:"translate("+U+"px, "+z+"px)",...Xl(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,f.x,f.y]);return he(()=>({...f,update:I,refs:N,elements:M,floatingStyles:S}),[f,I,N,M,S])}const Y0=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?ql({element:r.current,padding:o}).fn(n):{}:r?ql({element:r,padding:o}).fn(n):{}}}},K0=(e,t)=>({...I0(e),options:[e,t]}),q0=(e,t)=>({...F0(e),options:[e,t]}),X0=(e,t)=>({...z0(e),options:[e,t]}),G0=(e,t)=>({...H0(e),options:[e,t]}),Z0=(e,t)=>({...U0(e),options:[e,t]}),J0=(e,t)=>({...V0(e),options:[e,t]}),Q0=(e,t)=>({...Y0(e),options:[e,t]});function ew(e){const[t,n]=Y(void 0);return Zt(()=>{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 Jl="Popper",[Ql,eu]=$l(Jl),[tw,tu]=Ql(Jl),nw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=Y(null);return A(tw,{scope:t,anchor:r,onAnchorChange:o},n)},rw="PopperAnchor",ow=ce((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=tu(rw,n),a=V(null),s=Dt(t,a);return Z(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:A(Gt.div,de({},o,{ref:s}))}),nu="PopperContent",[iw,Gm]=Ql(nu),aw=ce((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:_=[],collisionPadding:m=0,sticky:b="partial",hideWhenDetached:y=!1,updatePositionStrategy:x="optimized",onPlaced:$,...O}=e,k=tu(nu,f),[C,j]=Y(null),R=Dt(t,G=>j(G)),[I,L]=Y(null),N=ew(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+(d!=="center"?"-"+d:""),U=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},z=Array.isArray(_)?_:[_],K=z.length>0,ae={padding:U,boundary:z.filter(sw),altBoundary:K},{refs:le,floatingStyles:Lt,placement:Ir,isPositioned:tt,middlewareData:nt}=B0({strategy:"fixed",placement:E,whileElementsMounted:(...G)=>M0(...G,{animationFrame:x==="always"}),elements:{reference:k.anchor},middleware:[K0({mainAxis:p+S,alignmentAxis:v}),g&&q0({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?X0():void 0,...ae}),g&&G0({...ae}),Z0({...ae,apply:({elements:G,rects:be,availableWidth:yt,availableHeight:se})=>{const{width:pe,height:Pe}=be.reference,It=G.floating.style;It.setProperty("--radix-popper-available-width",`${yt}px`),It.setProperty("--radix-popper-available-height",`${se}px`),It.setProperty("--radix-popper-anchor-width",`${pe}px`),It.setProperty("--radix-popper-anchor-height",`${Pe}px`)}}),I&&Q0({element:I,padding:h}),cw({arrowWidth:M,arrowHeight:S}),y&&J0({strategy:"referenceHidden",...ae})]}),[Hn,Ji]=ru(Ir),un=ht($);Zt(()=>{tt&&(un==null||un())},[tt,un]);const Mt=(o=nt.arrow)===null||o===void 0?void 0:o.x,Fr=(i=nt.arrow)===null||i===void 0?void 0:i.y,q=((a=nt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,ue]=Y();return Zt(()=>{C&&ue(window.getComputedStyle(C).zIndex)},[C]),A("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...Lt,transform:tt?Lt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=nt.transformOrigin)===null||s===void 0?void 0:s.x,(l=nt.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},A(iw,{scope:f,placedSide:Hn,onArrowChange:L,arrowX:Mt,arrowY:Fr,shouldHideArrow:q},A(Gt.div,de({"data-side":Hn,"data-align":Ji},O,{ref:R,style:{...O.style,animation:tt?void 0:"none",opacity:(u=nt.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function sw(e){return e!==null}const cw=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,d=c?0:e.arrowHeight,[v,h]=ru(s),g={start:"0%",center:"50%",end:"100%"}[h],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,m=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let b="",y="";return v==="bottom"?(b=c?g:`${_}px`,y=`${-d}px`):v==="top"?(b=c?g:`${_}px`,y=`${l.floating.height+d}px`):v==="right"?(b=`${-d}px`,y=c?g:`${m}px`):v==="left"&&(b=`${l.floating.width+d}px`,y=c?g:`${m}px`),{data:{x:b,y}}}});function ru(e){const[t,n="center"]=e.split("-");return[t,n]}const lw=nw,uw=ow,dw=aw,fw=ce((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?xl.createPortal(A(Gt.div,de({},o,{ref:t})),r):null});function pw(e,t){return An((n,r)=>{const o=t[n][r];return o??n},e)}const Li=e=>{const{present:t,children:n}=e,r=hw(t),o=typeof n=="function"?n({present:r.isPresent}):Ge.only(n),i=Dt(r.ref,o.ref);return typeof n=="function"||r.isPresent?Xt(o,{ref:i}):null};Li.displayName="Presence";function hw(e){const[t,n]=Y(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=pw(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Z(()=>{const u=jr(r.current);i.current=s==="mounted"?u:"none"},[s]),Zt(()=>{const u=r.current,f=o.current;if(f!==e){const p=i.current,d=jr(u);e?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Zt(()=>{if(t){const u=c=>{const d=jr(r.current).includes(c.animationName);c.target===t&&d&&Rn(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=jr(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:ie(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function jr(e){return(e==null?void 0:e.animationName)||"none"}function vw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=_w({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=ht(n),l=ie(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 _w({defaultProp:e,onChange:t}){const n=Y(e),[r]=n,o=V(r),i=ht(t);return Z(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var gw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},nn=new WeakMap,Sr=new WeakMap,Er={},Mi=0,ou=function(e){return e&&(e.host||ou(e.parentNode))},ww=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})},mw=function(e,t,n,r){var o=ww(t,Array.isArray(e)?e:[e]);Er[n]||(Er[n]=new WeakMap);var i=Er[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 f=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))f(p);else{var d=p.getAttribute(r),v=d!==null&&d!=="false",h=(nn.get(p)||0)+1,g=(i.get(p)||0)+1;nn.set(p,h),i.set(p,g),a.push(p),h===1&&v&&Sr.set(p,!0),g===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return f(t),s.clear(),Mi++,function(){a.forEach(function(c){var p=nn.get(c)-1,d=i.get(c)-1;nn.set(c,p),i.set(c,d),p||(Sr.has(c)||c.removeAttribute(r),Sr.delete(c)),d||c.removeAttribute(n)}),Mi--,Mi||(nn=new WeakMap,nn=new WeakMap,Sr=new WeakMap,Er={})}},yw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||gw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),mw(r,o,n,"aria-hidden")):function(){return null}},He=function(){return He=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},He.apply(this,arguments)};function iu(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 bw(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 Cr="right-scroll-bar-position",Or="width-before-scroll-bar",xw="with-scroll-bars-hidden",kw="--removed-body-scroll-bar-size";function $w(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jw(e,t){var n=Y(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 Sw(e,t){return jw(t||null,function(n){return e.forEach(function(r){return $w(r,n)})})}function Ew(e){return e}function Cw(e,t){t===void 0&&(t=Ew);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 f=a;a=[],f.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){a.push(f),u()},filter:function(f){return a=a.filter(f),n}}}};return o}function Ow(e){e===void 0&&(e={});var t=Cw(null);return t.options=He({async:!0,ssr:!1},e),t}var au=function(e){var t=e.sideCar,n=iu(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,He({},n))};au.isSideCarExport=!0;function Aw(e,t){return e.useMedium(t),au}var su=Ow(),Ii=function(){},Ar=ce(function(e,t){var n=V(null),r=Y({onScrollCapture:Ii,onWheelCapture:Ii,onTouchMoveCapture:Ii}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,c=e.shards,p=e.sideCar,d=e.noIsolation,v=e.inert,h=e.allowPinchZoom,g=e.as,_=g===void 0?"div":g,m=iu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=p,y=Sw([n,t]),x=He(He({},m),o);return A(ne,null,f&&A(b,{sideCar:su,removeScrollBar:u,shards:c,noIsolation:d,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Xt(Ge.only(s),He(He({},x),{ref:y})):A(_,He({},x,{className:l,ref:y}),s))});Ar.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ar.classNames={fullWidth:Or,zeroRight:Cr};var Tw=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pw(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Tw();return t&&e.setAttribute("nonce",t),e}function Rw(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Dw(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Nw=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Pw())&&(Rw(t,n),Dw(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Lw=function(){var e=Nw();return function(t,n){Z(function(){return e.add(t),function(){e.remove()}},[t&&n])}},cu=function(){var e=Lw(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Mw={left:0,top:0,right:0,gap:0},Fi=function(e){return parseInt(e||"",10)||0},Iw=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[Fi(n),Fi(r),Fi(o)]},Fw=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Mw;var t=Iw(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])}},Hw=cu(),Uw=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
22
+ .`.concat(xw,` {
23
23
  overflow: hidden `).concat(r,`;
24
24
  padding-right: `).concat(s,"px ").concat(r,`;
25
25
  }
@@ -36,32 +36,32 @@ ${n.concat(n).join(`
36
36
  `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
37
37
  }
38
38
 
39
- .`).concat(Er,` {
39
+ .`).concat(Cr,` {
40
40
  right: `).concat(s,"px ").concat(r,`;
41
41
  }
42
42
 
43
- .`).concat(Cr,` {
43
+ .`).concat(Or,` {
44
44
  margin-right: `).concat(s,"px ").concat(r,`;
45
45
  }
46
46
 
47
- .`).concat(Er," .").concat(Er,` {
47
+ .`).concat(Cr," .").concat(Cr,` {
48
48
  right: 0 `).concat(r,`;
49
49
  }
50
50
 
51
- .`).concat(Cr," .").concat(Cr,` {
51
+ .`).concat(Or," .").concat(Or,` {
52
52
  margin-right: 0 `).concat(r,`;
53
53
  }
54
54
 
55
55
  body {
56
- `).concat(uw,": ").concat(s,`px;
56
+ `).concat(kw,": ").concat(s,`px;
57
57
  }
58
- `)},Ow=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=ue(function(){return Sw(o)},[o]);return O(Ew,{styles:Cw(i,!t,o,n?"":"!important")})},Ei=!1;if(typeof window<"u")try{var Ar=Object.defineProperty({},"passive",{get:function(){return Ei=!0,!0}});window.addEventListener("test",Ar,Ar),window.removeEventListener("test",Ar,Ar)}catch{Ei=!1}var nn=Ei?{passive:!1}:!1,Aw=function(e){return e.tagName==="TEXTAREA"},ru=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Aw(e)&&n[t]==="visible")},Tw=function(e){return ru(e,"overflowY")},Pw=function(e){return ru(e,"overflowX")},ou=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=iu(e,n);if(r){var o=au(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Rw=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Dw=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},iu=function(e,t){return e==="v"?Tw(t):Pw(t)},au=function(e,t){return e==="v"?Rw(t):Dw(t)},Nw=function(e,t){return e==="h"&&t==="rtl"?-1:1},Lw=function(e,t,n,r,o){var i=Nw(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,u=t.contains(s),l=!1,f=a>0,c=0,p=0;do{var d=au(e,s),_=d[0],h=d[1],g=d[2],v=h-g-i*_;(_||v)&&iu(e,s)&&(c+=v,p+=_),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(f&&(o&&c===0||!o&&a>c)||!f&&(o&&p===0||!o&&-a>p))&&(l=!0),l},Tr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},su=function(e){return[e.deltaX,e.deltaY]},cu=function(e){return e&&"current"in e?e.current:e},Mw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Fw=function(e){return`
58
+ `)},Vw=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=he(function(){return Fw(o)},[o]);return A(Hw,{styles:Uw(i,!t,o,n?"":"!important")})},Hi=!1;if(typeof window<"u")try{var Tr=Object.defineProperty({},"passive",{get:function(){return Hi=!0,!0}});window.addEventListener("test",Tr,Tr),window.removeEventListener("test",Tr,Tr)}catch{Hi=!1}var rn=Hi?{passive:!1}:!1,zw=function(e){return e.tagName==="TEXTAREA"},lu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!zw(e)&&n[t]==="visible")},Ww=function(e){return lu(e,"overflowY")},Bw=function(e){return lu(e,"overflowX")},uu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=du(e,n);if(r){var o=fu(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Yw=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Kw=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},du=function(e,t){return e==="v"?Ww(t):Bw(t)},fu=function(e,t){return e==="v"?Yw(t):Kw(t)},qw=function(e,t){return e==="h"&&t==="rtl"?-1:1},Xw=function(e,t,n,r,o){var i=qw(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,f=a>0,c=0,p=0;do{var d=fu(e,s),v=d[0],h=d[1],g=d[2],_=h-g-i*v;(v||_)&&du(e,s)&&(c+=_,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(f&&(o&&c===0||!o&&a>c)||!f&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Pr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},pu=function(e){return[e.deltaX,e.deltaY]},hu=function(e){return e&&"current"in e?e.current:e},Gw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Zw=function(e){return`
59
59
  .block-interactivity-`.concat(e,` {pointer-events: none;}
60
60
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
61
- `)},Iw=0,rn=[];function Hw(e){var t=V([]),n=V([0,0]),r=V(),o=K(Iw++)[0],i=K(function(){return nu()})[0],a=V(e);G(function(){a.current=e},[e]),G(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=cw([e.lockRef.current],(e.shards||[]).map(cu),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=re(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var v=Tr(h),m=n.current,y="deltaX"in h?h.deltaX:m[0]-v[0],b="deltaY"in h?h.deltaY:m[1]-v[1],x,$=h.target,E=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in h&&E==="h"&&$.type==="range")return!1;var k=ou(E,$);if(!k)return!0;if(k?x=E:(x=E==="v"?"h":"v",k=ou(E,$)),!k)return!1;if(!r.current&&"changedTouches"in h&&(y||b)&&(r.current=x),!x)return!0;var j=r.current||x;return Lw(j,g,h,j==="h"?y:b,!0)},[]),u=re(function(h){var g=h;if(!(!rn.length||rn[rn.length-1]!==i)){var v="deltaY"in g?su(g):Tr(g),m=t.current.filter(function(x){return x.name===g.type&&x.target===g.target&&Mw(x.delta,v)})[0];if(m&&m.should){g.cancelable&&g.preventDefault();return}if(!m){var y=(a.current.shards||[]).map(cu).filter(Boolean).filter(function(x){return x.contains(g.target)}),b=y.length>0?s(g,y[0]):!a.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),l=re(function(h,g,v,m){var y={name:h,delta:g,target:v,should:m};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(b){return b!==y})},1)},[]),f=re(function(h){n.current=Tr(h),r.current=void 0},[]),c=re(function(h){l(h.type,su(h),h.target,s(h,e.lockRef.current))},[]),p=re(function(h){l(h.type,Tr(h),h.target,s(h,e.lockRef.current))},[]);G(function(){return rn.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",u,nn),document.addEventListener("touchmove",u,nn),document.addEventListener("touchstart",f,nn),function(){rn=rn.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,nn),document.removeEventListener("touchmove",u,nn),document.removeEventListener("touchstart",f,nn)}},[]);var d=e.removeScrollBar,_=e.inert;return O(J,null,_?O(i,{styles:Fw(o)}):null,d?O(Ow,{gapMode:"margin"}):null)}const Vw=gw(tu,Hw);var lu=oe(function(e,t){return O(Or,Le({},e,{ref:t,sideCar:Vw}))});lu.classNames=Or.classNames;const Uw=lu,uu="Popover",[du,Fm]=gl(uu,[ql]),Ci=ql(),[zw,on]=du(uu),Ww=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Ci(t),u=V(null),[l,f]=K(!1),[c=!1,p]=nw({prop:r,defaultProp:o,onChange:i});return O(X0,s,O(zw,{scope:t,contentId:Gg(),triggerRef:u,open:c,onOpenChange:p,onOpenToggle:re(()=>p(d=>!d),[p]),hasCustomAnchor:l,onCustomAnchorAdd:re(()=>f(!0),[]),onCustomAnchorRemove:re(()=>f(!1),[]),modal:a},n))},Bw="PopoverTrigger",Yw=oe((e,t)=>{const{__scopePopover:n,...r}=e,o=on(Bw,n),i=Ci(n),a=Pt(t,o.triggerRef),s=O(Gt.button,ae({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":hu(o.open)},r,{ref:a,onClick:Tt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:O(Z0,ae({asChild:!0},i),s)}),fu="PopoverPortal",[Kw,qw]=du(fu,{forceMount:void 0}),Gw=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=on(fu,t);return O(Kw,{scope:t,forceMount:n},O(ki,{present:n||i.open},O(Q0,{asChild:!0,container:o},r)))},Rn="PopoverContent",Xw=oe((e,t)=>{const n=qw(Rn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=on(Rn,e.__scopePopover);return O(ki,{present:r||i.open},i.modal?O(Zw,ae({},o,{ref:t})):O(Jw,ae({},o,{ref:t})))}),Zw=oe((e,t)=>{const n=on(Rn,e.__scopePopover),r=V(null),o=Pt(t,r),i=V(!1);return G(()=>{const a=r.current;if(a)return sw(a)},[]),O(Uw,{as:li,allowPinchZoom:!0},O(pu,ae({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Tt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Tt(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,l=s.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:Tt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Jw=oe((e,t)=>{const n=on(Rn,e.__scopePopover),r=V(!1),o=V(!1);return O(pu,ae({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(u))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),pu=oe((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:f,...c}=e,p=on(Rn,n),d=Ci(n);return Ig(),O(Hg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},O(Lg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},O(J0,ae({"data-state":hu(p.open),role:"dialog",id:p.contentId},d,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function hu(e){return e?"open":"closed"}const Qw=Ww,em=Yw,tm=Gw,nm=Xw;function vu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=vu(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Oi(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=vu(e))&&(r&&(r+=" "),r+=t);return r}function Pr(){throw new Error("Cycle detected")}var rm=Symbol.for("preact-signals");function Ai(){if(an>1)an--;else{for(var e,t=!1;Dn!==void 0;){var n=Dn;for(Dn=void 0,Ti++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&gu(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Ti=0,an--,t)throw e}}var Z=void 0,Dn=void 0,an=0,Ti=0,Rr=0;function _u(e){if(Z!==void 0){var t=e.n;if(t===void 0||t.t!==Z)return t={i:0,S:e,p:Z.s,n:void 0,t:Z,e:void 0,x:void 0,r:t},Z.s!==void 0&&(Z.s.n=t),Z.s=t,e.n=t,32&Z.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=Z.s,t.n=void 0,Z.s.n=t,Z.s=t),t}}function se(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}se.prototype.brand=rm,se.prototype.h=function(){return!0},se.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},se.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},se.prototype.subscribe=function(e){var t=this;return Ri(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},se.prototype.valueOf=function(){return this.value},se.prototype.toString=function(){return this.value+""},se.prototype.toJSON=function(){return this.value},se.prototype.peek=function(){return this.v},Object.defineProperty(se.prototype,"value",{get:function(){var e=_u(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(Z instanceof vt&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Ti>100&&Pr(),this.v=e,this.i++,Rr++,an++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Ai()}}}});function Dr(e){return new se(e)}function gu(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function wu(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function mu(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function vt(e){se.call(this,void 0),this.x=e,this.s=void 0,this.g=Rr-1,this.f=4}(vt.prototype=new se).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Rr))return!0;if(this.g=Rr,this.f|=1,this.i>0&&!gu(this))return this.f&=-2,!0;var e=Z;try{wu(this),Z=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return Z=e,mu(this),this.f&=-2,!0},vt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}se.prototype.S.call(this,e)},vt.prototype.U=function(e){if(this.t!==void 0&&(se.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},vt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},vt.prototype.peek=function(){if(this.h()||Pr(),16&this.f)throw this.v;return this.v},Object.defineProperty(vt.prototype,"value",{get:function(){1&this.f&&Pr();var e=_u(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function om(e){return new vt(e)}function yu(e){var t=e.u;if(e.u=void 0,typeof t=="function"){an++;var n=Z;Z=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Pi(e),r}finally{Z=n,Ai()}}}function Pi(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,yu(e)}function im(e){if(Z!==this)throw new Error("Out-of-order effect");mu(this),Z=e,this.f&=-2,8&this.f&&Pi(this),Ai()}function Nn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Nn.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},Nn.prototype.S=function(){1&this.f&&Pr(),this.f|=1,this.f&=-9,yu(this),wu(this),an++;var e=Z;return Z=this,im.bind(this,e)},Nn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Dn,Dn=this)},Nn.prototype.d=function(){this.f|=8,1&this.f||Pi(this)};function Ri(e){var t=new Nn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Di;function sn(e,t){S[e]=t.bind(null,S[e]||function(){})}function Nr(e){Di&&Di(),Di=e&&e.S()}function bu(e){var t=this,n=e.data,r=sm(n);r.value=n;var o=ue(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!oc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},om(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}bu.displayName="_st",Object.defineProperties(se.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:bu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),sn("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof se&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),sn("__r",function(e,t){Nr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Ri(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Nr(n),e(t)}),sn("__e",function(e,t,n,r){Nr(),e(t,n,r)}),sn("diffed",function(e,t){Nr();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var u in r){var l=i[u],f=r[u];l===void 0?(l=am(n,u,f,o),i[u]=l):l.o(f,o)}}}e(t)});function am(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Dr(n);return{o:function(a,s){i.value=a,r=s},d:Ri(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}sn("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),sn("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),$e.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function sm(e){return ue(function(){return Dr(e)},[])}const cn={config$:Dr({headerText:"",label:""}),filters$:Dr({})},xu="inploi-job-alerts",cm="ija";var lm=["1","2","3","4","5","6","7","8","9","10","11","12"],um={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]}},dm=(e,t=1,n)=>r=>{const[o,i]=um[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ku=e=>{const t=dm(e.hue,e.chroma,e.mode);return Object.fromEntries(lm.map(n=>[e.prefix+n,e.transform(t(n))]))},$u=e=>e,fm=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)},Lr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Ni=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Lr(e)&&Lr(n))for(const r in n){const o=n[r];if(Lr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Lr(i)&&Ni(i,o)}else Object.assign(e,{[r]:n[r]})}return Ni(e,...t)},pm=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},hm=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),u=t({theme:o,core:a,raw:{core:s}}),l=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:u}}),f=fm(Ni(s,u,l)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[Li,Mi,vm]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],_m=hm().core(({theme:e})=>({color:{transparent:vm,black:Li,white:Mi,lowest:e.mode==="light"?Mi:Li,highest:e.mode==="light"?Li:Mi,...ku({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:$u}),...ku({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:$u})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),gm=pm({prefix:"i-"}),wm=e=>{const t=_m.from({theme:e,getToken:gm}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${cm} {
61
+ `)},Jw=0,on=[];function Qw(e){var t=V([]),n=V([0,0]),r=V(),o=Y(Jw++)[0],i=Y(function(){return cu()})[0],a=V(e);Z(function(){a.current=e},[e]),Z(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=bw([e.lockRef.current],(e.shards||[]).map(hu),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=ie(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var _=Pr(h),m=n.current,b="deltaX"in h?h.deltaX:m[0]-_[0],y="deltaY"in h?h.deltaY:m[1]-_[1],x,$=h.target,O=Math.abs(b)>Math.abs(y)?"h":"v";if("touches"in h&&O==="h"&&$.type==="range")return!1;var k=uu(O,$);if(!k)return!0;if(k?x=O:(x=O==="v"?"h":"v",k=uu(O,$)),!k)return!1;if(!r.current&&"changedTouches"in h&&(b||y)&&(r.current=x),!x)return!0;var C=r.current||x;return Xw(C,g,h,C==="h"?b:y,!0)},[]),l=ie(function(h){var g=h;if(!(!on.length||on[on.length-1]!==i)){var _="deltaY"in g?pu(g):Pr(g),m=t.current.filter(function(x){return x.name===g.type&&x.target===g.target&&Gw(x.delta,_)})[0];if(m&&m.should){g.cancelable&&g.preventDefault();return}if(!m){var b=(a.current.shards||[]).map(hu).filter(Boolean).filter(function(x){return x.contains(g.target)}),y=b.length>0?s(g,b[0]):!a.current.noIsolation;y&&g.cancelable&&g.preventDefault()}}},[]),u=ie(function(h,g,_,m){var b={name:h,delta:g,target:_,should:m};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(y){return y!==b})},1)},[]),f=ie(function(h){n.current=Pr(h),r.current=void 0},[]),c=ie(function(h){u(h.type,pu(h),h.target,s(h,e.lockRef.current))},[]),p=ie(function(h){u(h.type,Pr(h),h.target,s(h,e.lockRef.current))},[]);Z(function(){return on.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,rn),document.addEventListener("touchmove",l,rn),document.addEventListener("touchstart",f,rn),function(){on=on.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,rn),document.removeEventListener("touchmove",l,rn),document.removeEventListener("touchstart",f,rn)}},[]);var d=e.removeScrollBar,v=e.inert;return A(ne,null,v?A(i,{styles:Zw(o)}):null,d?A(Vw,{gapMode:"margin"}):null)}const em=Aw(su,Qw);var vu=ce(function(e,t){return A(Ar,He({},e,{ref:t,sideCar:em}))});vu.classNames=Ar.classNames;const tm=vu,_u="Popover",[gu,Zm]=$l(_u,[eu]),Ui=eu(),[nm,an]=gu(_u),rm=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Ui(t),l=V(null),[u,f]=Y(!1),[c=!1,p]=vw({prop:r,defaultProp:o,onChange:i});return A(lw,s,A(nm,{scope:t,contentId:n0(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:ie(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:ie(()=>f(!0),[]),onCustomAnchorRemove:ie(()=>f(!1),[]),modal:a},n))},om="PopoverTrigger",im=ce((e,t)=>{const{__scopePopover:n,...r}=e,o=an(om,n),i=Ui(n),a=Dt(t,o.triggerRef),s=A(Gt.button,de({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":yu(o.open)},r,{ref:a,onClick:Rt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:A(uw,de({asChild:!0},i),s)}),wu="PopoverPortal",[am,sm]=gu(wu,{forceMount:void 0}),cm=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=an(wu,t);return A(am,{scope:t,forceMount:n},A(Li,{present:n||i.open},A(fw,{asChild:!0,container:o},r)))},Mn="PopoverContent",lm=ce((e,t)=>{const n=sm(Mn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=an(Mn,e.__scopePopover);return A(Li,{present:r||i.open},i.modal?A(um,de({},o,{ref:t})):A(dm,de({},o,{ref:t})))}),um=ce((e,t)=>{const n=an(Mn,e.__scopePopover),r=V(null),o=Dt(t,r),i=V(!1);return Z(()=>{const a=r.current;if(a)return yw(a)},[]),A(tm,{as:yi,allowPinchZoom:!0},A(mu,de({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Rt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Rt(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Rt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),dm=ce((e,t)=>{const n=an(Mn,e.__scopePopover),r=V(!1),o=V(!1);return A(mu,de({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),mu=ce((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=e,p=an(Mn,n),d=Ui(n);return Yg(),A(Kg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},A(zg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},A(dw,de({"data-state":yu(p.open),role:"dialog",id:p.contentId},d,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function yu(e){return e?"open":"closed"}const fm=rm,pm=im,hm=cm,vm=lm;function bu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=bu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Vi(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=bu(e))&&(r&&(r+=" "),r+=t);return r}function Rr(){throw new Error("Cycle detected")}var _m=Symbol.for("preact-signals");function zi(){if(sn>1)sn--;else{for(var e,t=!1;In!==void 0;){var n=In;for(In=void 0,Wi++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&ku(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Wi=0,sn--,t)throw e}}var te=void 0,In=void 0,sn=0,Wi=0,Dr=0;function xu(e){if(te!==void 0){var t=e.n;if(t===void 0||t.t!==te)return t={i:0,S:e,p:te.s,n:void 0,t:te,e:void 0,x:void 0,r:t},te.s!==void 0&&(te.s.n=t),te.s=t,e.n=t,32&te.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=te.s,t.n=void 0,te.s.n=t,te.s=t),t}}function fe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}fe.prototype.brand=_m,fe.prototype.h=function(){return!0},fe.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},fe.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},fe.prototype.subscribe=function(e){var t=this;return Yi(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},fe.prototype.valueOf=function(){return this.value},fe.prototype.toString=function(){return this.value+""},fe.prototype.toJSON=function(){return this.value},fe.prototype.peek=function(){return this.v},Object.defineProperty(fe.prototype,"value",{get:function(){var e=xu(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(te instanceof mt&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Wi>100&&Rr(),this.v=e,this.i++,Dr++,sn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{zi()}}}});function Nr(e){return new fe(e)}function ku(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function $u(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function ju(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function mt(e){fe.call(this,void 0),this.x=e,this.s=void 0,this.g=Dr-1,this.f=4}(mt.prototype=new fe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Dr))return!0;if(this.g=Dr,this.f|=1,this.i>0&&!ku(this))return this.f&=-2,!0;var e=te;try{$u(this),te=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return te=e,ju(this),this.f&=-2,!0},mt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}fe.prototype.S.call(this,e)},mt.prototype.U=function(e){if(this.t!==void 0&&(fe.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},mt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},mt.prototype.peek=function(){if(this.h()||Rr(),16&this.f)throw this.v;return this.v},Object.defineProperty(mt.prototype,"value",{get:function(){1&this.f&&Rr();var e=xu(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function gm(e){return new mt(e)}function Su(e){var t=e.u;if(e.u=void 0,typeof t=="function"){sn++;var n=te;te=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Bi(e),r}finally{te=n,zi()}}}function Bi(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Su(e)}function wm(e){if(te!==this)throw new Error("Out-of-order effect");ju(this),te=e,this.f&=-2,8&this.f&&Bi(this),zi()}function Fn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Fn.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},Fn.prototype.S=function(){1&this.f&&Rr(),this.f|=1,this.f&=-9,Su(this),$u(this),sn++;var e=te;return te=this,wm.bind(this,e)},Fn.prototype.N=function(){2&this.f||(this.f|=2,this.o=In,In=this)},Fn.prototype.d=function(){this.f|=8,1&this.f||Bi(this)};function Yi(e){var t=new Fn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Ki;function cn(e,t){T[e]=t.bind(null,T[e]||function(){})}function Lr(e){Ki&&Ki(),Ki=e&&e.S()}function Eu(e){var t=this,n=e.data,r=ym(n);r.value=n;var o=he(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!gc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},gm(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Eu.displayName="_st",Object.defineProperties(fe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Eu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),cn("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof fe&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),cn("__r",function(e,t){Lr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Yi(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Lr(n),e(t)}),cn("__e",function(e,t,n,r){Lr(),e(t,n,r)}),cn("diffed",function(e,t){Lr();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var l in r){var u=i[l],f=r[l];u===void 0?(u=mm(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function mm(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Nr(n);return{o:function(a,s){i.value=a,r=s},d:Yi(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}cn("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),cn("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),je.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function ym(e){return he(function(){return Nr(e)},[])}const ln={config$:Nr({headerText:"",label:""}),filters$:Nr({})},Cu="inploi-job-alerts",bm="ija";var xm=["1","2","3","4","5","6","7","8","9","10","11","12"],km={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]}},$m=(e,t=1,n)=>r=>{const[o,i]=km[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Ou=e=>{const t=$m(e.hue,e.chroma,e.mode);return Object.fromEntries(xm.map(n=>[e.prefix+n,e.transform(t(n))]))},Au=e=>e,jm=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)},Mr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),qi=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Mr(e)&&Mr(n))for(const r in n){const o=n[r];if(Mr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Mr(i)&&qi(i,o)}else Object.assign(e,{[r]:n[r]})}return qi(e,...t)},Sm=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Em=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=jm(qi(s,l,u)),c=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[Xi,Gi,Cm]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Om=Em().core(({theme:e})=>({color:{transparent:Cm,black:Xi,white:Gi,lowest:e.mode==="light"?Gi:Xi,highest:e.mode==="light"?Xi:Gi,...Ou({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Au}),...Ou({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:Au})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),Am=Sm({prefix:"i-"}),Tm=e=>{const t=Om.from({theme:e,getToken:Am}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${bm} {
62
62
  ${n.concat(n).join(`
63
63
  `)}
64
- }`},ju=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},mm=({error:e})=>e?A("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[A("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),A("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),A("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),A("p",{class:"pr-1 text-sm",children:e})]}):null,Fi="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",ym=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",bm=oe(({class:e,...t},n)=>A("button",{ref:n,class:Oi("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",e),onTouchStart:Su,...t,children:[A(Sc,{class:"flex-none",name:"bell"})," ",A("span",{class:"min-w-0 truncate text-center",children:cn.config$.value.label})]})),xm=()=>A("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:cn.config$.value.headerText});function Su(){}const km=({theme:e,apiClient:t,logger:n})=>{const[r,o]=K("idle"),[i,a]=K(),s=async u=>{var l,f,c;if(u.preventDefault(),r!=="idle")return;const p=new FormData(u.currentTarget),d=(l=p.get("name"))==null?void 0:l.toString(),[_,...h]=(d==null?void 0:d.split(" "))??[],g=h.join(" ");o("loading"),await Promise.all([new Promise(v=>setTimeout(v,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(f=p.get("email"))==null?void 0:f.toString(),first_name:_,last_name:g},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:cn.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(v=>setTimeout(v,1e3)),o("idle")}).catch(v=>{n.error(v),a(ym(v)),o("idle")})};return A("div",{id:"ija",children:A("div",{class:ju(e).join(" "),children:A(Qw,{children:[A(em,{asChild:!0,children:A(bm,{})}),A(tm,{children:A("div",{id:"ija",children:A("div",{class:Oi("absolute isolate z-50",ju(e).join(" ")),children:A(nm,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[A(xm,{}),A("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[A("div",{children:[A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),A("input",{name:"email",autocomplete:"email",class:Fi,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),A("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Fi,id:"ija-name",placeholder:"Full Name"})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),A("select",{disabled:r==="loading",class:Oi(Fi,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[A("option",{value:"INSTANTLY",children:"Instantly"}),A("option",{value:"DAILY",children:"Daily"}),A("option",{value:"WEEKLY",children:"Weekly"}),A("option",{value:"MONTHLY",children:"Monthly"})]}),A("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:A(Sc,{name:"chevron-up-down"})})]})]}),A("button",{onTouchStart:Su,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[A("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),A("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:A("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),A("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),A(mm,{error:i})]})]})})})})]})})})},$m=`#ija {
64
+ }`},Tu=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Pm=({error:e})=>e?P("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[P("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[P("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),P("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),P("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),P("p",{class:"pr-1 text-sm",children:e})]}):null,Zi="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",Rm=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",Dm=ce(({class:e,...t},n)=>P("button",{ref:n,class:Vi("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",e),onTouchStart:Pu,...t,children:[P(Ic,{class:"flex-none",name:"bell"})," ",P("span",{class:"min-w-0 truncate text-center",children:ln.config$.value.label})]})),Nm=()=>P("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:ln.config$.value.headerText});function Pu(){}const Lm=({theme:e,apiClient:t,logger:n})=>{const[r,o]=Y("idle"),[i,a]=Y(),s=async l=>{var u,f,c;if(l.preventDefault(),r!=="idle")return;const p=new FormData(l.currentTarget),d=(u=p.get("name"))==null?void 0:u.toString(),[v,...h]=(d==null?void 0:d.split(" "))??[],g=h.join(" ");o("loading"),await Promise.all([new Promise(_=>setTimeout(_,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(f=p.get("email"))==null?void 0:f.toString(),first_name:v,last_name:g},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:ln.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(Rm(_)),o("idle")})};return P("div",{id:"ija",children:P("div",{class:Tu(e).join(" "),children:P(fm,{children:[P(pm,{asChild:!0,children:P(Dm,{})}),P(hm,{children:P("div",{id:"ija",children:P("div",{class:Vi("absolute isolate z-50",Tu(e).join(" ")),children:P(vm,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[P(Nm,{}),P("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[P("div",{children:[P("fieldset",{class:"fieldset relative focus-within:z-10",children:[P("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),P("input",{name:"email",autocomplete:"email",class:Zi,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),P("fieldset",{class:"fieldset relative focus-within:z-10",children:[P("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),P("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Zi,id:"ija-name",placeholder:"Full Name"})]}),P("fieldset",{class:"fieldset relative focus-within:z-10",children:[P("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),P("select",{disabled:r==="loading",class:Vi(Zi,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[P("option",{value:"INSTANTLY",children:"Instantly"}),P("option",{value:"DAILY",children:"Daily"}),P("option",{value:"WEEKLY",children:"Weekly"}),P("option",{value:"MONTHLY",children:"Monthly"})]}),P("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:P(Ic,{name:"chevron-up-down"})})]})]}),P("button",{onTouchStart:Pu,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[P("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),P("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:P("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[P("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),P("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),P(Pm,{error:i})]})]})})})})]})})})},Mm=`#ija {
65
65
  font-size: 16px;
66
66
  --tw-content: '';
67
67
  }
@@ -189,6 +189,10 @@ ${n.concat(n).join(`
189
189
  --tw-backdrop-opacity: ;
190
190
  --tw-backdrop-saturate: ;
191
191
  --tw-backdrop-sepia: ;
192
+ --tw-contain-size: ;
193
+ --tw-contain-layout: ;
194
+ --tw-contain-paint: ;
195
+ --tw-contain-style: ;
192
196
  }
193
197
 
194
198
  #ija ::backdrop {
@@ -239,6 +243,10 @@ ${n.concat(n).join(`
239
243
  --tw-backdrop-opacity: ;
240
244
  --tw-backdrop-saturate: ;
241
245
  --tw-backdrop-sepia: ;
246
+ --tw-contain-size: ;
247
+ --tw-contain-layout: ;
248
+ --tw-contain-paint: ;
249
+ --tw-contain-style: ;
242
250
  }
243
251
 
244
252
  #ija .container {
@@ -352,10 +360,6 @@ ${n.concat(n).join(`
352
360
  grid-row: 1 / -1;
353
361
  }
354
362
 
355
- #ija .mt-0 {
356
- margin-top: 0px;
357
- }
358
-
359
363
  #ija .mt-0\\.5 {
360
364
  margin-top: 0.125rem;
361
365
  }
@@ -507,10 +511,6 @@ ${n.concat(n).join(`
507
511
  justify-content: center;
508
512
  }
509
513
 
510
- #ija .gap-1 {
511
- gap: 0.25rem;
512
- }
513
-
514
514
  #ija .gap-1\\.5 {
515
515
  gap: 0.375rem;
516
516
  }
@@ -586,11 +586,6 @@ ${n.concat(n).join(`
586
586
  padding-right: 1.25rem;
587
587
  }
588
588
 
589
- #ija .py-1 {
590
- padding-top: 0.25rem;
591
- padding-bottom: 0.25rem;
592
- }
593
-
594
589
  #ija .py-1\\.5 {
595
590
  padding-top: 0.375rem;
596
591
  padding-bottom: 0.375rem;
@@ -689,6 +684,10 @@ ${n.concat(n).join(`
689
684
  color: var(--i-color-n-11);
690
685
  }
691
686
 
687
+ #ija .underline {
688
+ text-decoration-line: underline;
689
+ }
690
+
692
691
  #ija .opacity-0 {
693
692
  opacity: 0;
694
693
  }
@@ -772,7 +771,7 @@ ${n.concat(n).join(`
772
771
 
773
772
  #ija .backdrop-filter {
774
773
  -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);
775
- 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);
774
+ 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);
776
775
  }
777
776
 
778
777
  #ija .transition {
@@ -1068,4 +1067,4 @@ ${n.concat(n).join(`
1068
1067
  #ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
1069
1068
  --tw-ring-color: var(--i-color-a-9);
1070
1069
  }
1071
- `,Eu=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${xu}`);return nc(e,`Element with id ${xu} not found.`),e}}),jm=Eu(),Sm=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:Eu,jobAlertsPlugin:()=>zi(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>O(J,{},[[O("style",{id:"inploi-job-alerts-styles"},$m),O("style",{id:"inploi-job-search-theme"},wm(s.theme))],O(sg,{theme:s.theme}),O(km,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>cn.filters$.value=s,a=s=>cn.config$.value=typeof s=="function"?s(cn.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:rg(O(J,{},O(o,{params:s})))}),render:async s=>{const u=r?Qo:Bt;nc(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),u(O(o,{params:s}),jm.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
1070
+ `,Ru=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Cu}`);return vc(e,`Element with id ${Cu} not found.`),e}}),Im=Ru(),Fm=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:Ru,jobAlertsPlugin:()=>na(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>A(ne,{},[[A("style",{id:"inploi-job-alerts-styles"},Mm),A("style",{id:"inploi-job-search-theme"},Tm(s.theme))],A(hg,{theme:s.theme}),A(Lm,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>ln.filters$.value=s,a=s=>ln.config$.value=typeof s=="function"?s(ln.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:ug(A(ne,{},A(o,{params:s})))}),render:async s=>{const l=r?ri:Yt;vc(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),l(A(o,{params:s}),Im.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();