@inploi/plugin-job-search 0.18.0 → 0.19.1

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 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);/**
1
+ var Vm=Object.defineProperty;var zm=(ge,ve,bt)=>ve in ge?Vm(ge,ve,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ge[ve]=bt;var ta=(ge,ve,bt)=>(zm(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,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=D.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(f=j.contextType)&&r[f.__c],m=f?b?b.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new xe(_,m),c.constructor=j,c.render=Hu),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ue({},c.__s)),Ue(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(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,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=D.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),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())),y&&!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,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!y&&(y?d.localName===y:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&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,y==="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]||y==="progress"&&!v||y==="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,y=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!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 k=t[d.__c];y=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=ka(e,y),h=e.__c;else{e.__c=h={__v:e,props:_,context:y,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,_,y);h.__d=!0}if(h.getChildContext!=null&&(t=Zr({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&D.errorBoundaries){var $="";v=v!=null&&v.type===F&&v.key==null?v.props.children:v;try{return $=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())),$=Re(v=v!=null&&v.type===F&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}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 y=e,b=_,m=0,x=!1;for(;(b=b.get(to))!==void 0&&!x;){const j=b.get(e);if(m+=1,typeof j<"u"){if(j===m)throw new RangeError("Cyclic object value");x=!0}typeof b.get(to)>"u"&&(m=0)}if(typeof u=="function"?y=u(t,y):y instanceof Date?y=p==null?void 0:p(y):n==="comma"&&Ne(y)&&(y=$a(y,function(j){return j instanceof Date?p==null?void 0:p(j):j})),y===null){if(i)return l&&!h?l(t,oe.encoder,g,"key",d):t;y=""}if(rd(y)||Qu(y)){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(y,oe.encoder,g,"value",d)))]}return[(v==null?void 0:v(t))+"="+(v==null?void 0:v(String(y)))]}const k=[];if(typeof y>"u")return k;let O;if(n==="comma"&&Ne(y))h&&l&&(y=$a(y,l)),O=[{value:y.length>0?y.join(",")||null:void 0}];else if(Ne(u))O=u;else{const j=Object.keys(y);O=f?j.sort(f):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),C=r&&Ne(y)&&y.length===1?$+"[]":$;if(o&&Ne(y)&&y.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:y[R];if(a&&I===null)continue;const L=c&&s?R.replace(/\./g,"%2E"):R,N=Ne(y)?typeof n=="function"?n(C,L):C:C+(c?"."+L:"["+L+"]");_.set(e,m);const M=new WeakMap;M.set(to,_),Sa(k,Ea(I,N,n,r,o,i,a,s,n==="comma"&&h&&Ne(y)?null:l,u,f,c,p,d,v,h,g,M))}return k}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[y,b]=_;const m=f[y];return Array.isArray(b)?b.includes(m):m===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:Wm,cva:Oe,cx:Bm}=Sd(),qn=Oe({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 $e(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 je(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=$e();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}`},Ym="",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]=$e();return je(()=>{Promise.resolve().then(()=>Hm).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),je(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),je(()=>{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:je,useId:co,useImperativeHandle:so,useInsertionEffect:go,useLayoutEffect:lt,useMemo:ut,useReducer:Xn,useRef:we,useState:$e,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=$e({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]),je(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:$e,useId:co,useReducer:Xn,useEffect:je,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:je,useErrorBoundary:Ad,useId:co,useImperativeHandle:so,useInsertionEffect:go,useLayoutEffect:lt,useMemo:ut,useReducer:Xn,useRef:we,useState:$e,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
  *
@@ -14,12 +14,12 @@ var Um=Object.defineProperty;var Vm=(ge,ve,bt)=>ve in ge?Um(ge,ve,{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 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} {
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 m=arguments.length,x=new Array(m>1?m-1:0),k=1;k<m;k++)x[k-1]=arguments[k];r("error",b,x)}}function r(b,m,x){{var k=t.ReactDebugCurrentFrame,O=k.getStackAddendum();O!==""&&(m+="%s",x=x.concat([O]));var $=x.map(function(C){return String(C)});$.unshift("Warning: "+m),Function.prototype.apply.call(console[b],console,$)}}function o(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(b,m,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 k=m();if(!c){var O=m();i(k,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:m}}),C=$[0].inst,j=$[1];return l(function(){C.value=k,C.getSnapshot=m,d(C)&&j({inst:C})},[b,k,m]),s(function(){d(C)&&j({inst:C});var R=function(){d(C)&&j({inst:C})};return b(R)},[b]),u(k),k}function d(b){var m=b.getSnapshot,x=b.value;try{var k=m();return!i(x,k)}catch{return!0}}function v(b,m,x){return m()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,y=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;xo.useSyncExternalStore=y,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?je: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,_,y,b]=We.get(t),m=()=>{const L=g[d];return(Le(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete y[d],delete b[d],L&&L[0])?L[0](Vs).then(()=>v().data):v().data};if(e.length<3)return m();let x=r,k;const O=Ro();_[d]=[O,0];const $=!H(l),C=v(),j=C.data,R=C._c,I=H(R)?j:R;if($&&(l=Le(l)?l(I,j):l,h({data:l,_c:I})),Le(x))try{x=x(I)}catch(L){k=L}if(x&&tf(x))if(x=await x.catch(L=>{k=L}),O!==_[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,h({data:I,_c:_e}));if(a&&!k)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(m()).then(()=>{h({_c:_e})}),k){if(f)throw k;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),[_,y]=Po(e),b=we(!1),m=we(!1),x=we(_),k=we(t),O=we(n),$=()=>O.current,C=()=>$().isVisible()&&$().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)?$().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:$().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=k.current;if(!_||!X||m.current||$().isPaused())return!1;let ue,G,be=!0;const yt=q||{},se=!h[_]||!yt.dedupe,pe=()=>Is?!m.current&&_===x.current&&b.current:_===x.current,Pe={isValidating:!1,isLoading:!1},It=()=>{R(Pe)},Du=()=>{const Ce=h[_];Ce&&Ce[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()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(y),Ro()]),[ue,G]=h[_],ue=await ue,se&&setTimeout(Du,n.dedupingInterval),!h[_]||h[_][1]!==G)return se&&pe()&&$().onDiscarded(_),!1;Pe.error=_e;const Ce=v[_];if(!H(Ce)&&(G<=Ce[0]||G<=Ce[1]||Ce[1]===0))return It(),se&&pe()&&$().onDiscarded(_),!1;const rt=j().data;Pe.data=o(rt,ue)?rt:ue,se&&pe()&&$().onSuccess(ue,_,n)}catch(Ce){Du();const rt=$(),{shouldRetryOnError:Qi}=rt;rt.isPaused()||(Pe.error=Ce,se&&pe()&&(rt.onError(Ce,_,rt),(Qi===!0||Le(Qi)&&Qi(Ce))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||C())&&rt.onErrorRetry(Ce,_,rt,Um=>{const ea=d[_];ea&&ea[0]&&ea[0](xn.ERROR_REVALIDATE_EVENT,Um)},{retryCount:(yt.retryCount||0)+1,dedupe:!0})))}return be=!1,It(),!0},[_,r]),Fr=Ct((...q)=>zs(r,x.current,...q),[]);if(Ao(()=>{k.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();$().revalidateOnFocus&&se>X&&C()&&(X=se+$().focusThrottleInterval,q())}else if(be==xn.RECONNECT_EVENT)$().revalidateOnReconnect&&C()&&q();else{if(be==xn.MUTATE_EVENT)return Mt();if(be==xn.ERROR_REVALIDATE_EVENT)return Mt(yt)}});return m.current=!1,x.current=_,b.current=!0,R({_k:y}),nt&&(H(le)||bn?q():df(q)),()=>{m.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||$().isVisible())&&(c||$().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.");k.current=t,O.current=n,m.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=Oe({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=e=>{const[t,n]=$e(!1);return je(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},Tf=44,Pf=6,Rf=12,Df=8,Nf=Oe({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"}}}),Lf=Oe({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"}}),Mf=Oe({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"}}}),If=Oe({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),Ff=Oe({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"}}}),Hf=({children:e,colorScheme:t})=>w("span",{class:Ff({colorScheme:t}),children:w("span",{class:"block w-[2.5ch] text-center tabular-nums",children:e})}),Uf=(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},Vf=(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},zf=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},Wf=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Bf=({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 v=s.data[t.key]??[];return Object.fromEntries(v.map(h=>[h.value,h.jobs]))}default:ge(s)}},[s,t.key]),u=Gs(e),f=u.length>0,[c,p]=$e(),d=Af("(pointer: coarse)");return je(()=>{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:Nf({hasValue:f}),value:c,onInput:v=>p(v.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 v=i.data[t.key]??[],h=c&&c.length>1?v.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):v,g=[];for(const m of h){if(m.label.length<1)continue;const x={...m,results:Wf(l,m),disabled:zf(l,m)};switch(t.results){case"only-available":x.disabled==!1&&g.push(x);break;default:g.push(x)}}if(!g.find(m=>!m.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const b=(v.length>Rf||v.some(m=>m.label.length>24))&&!d;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":Tf*(Pf+.5)+2*Df+"px"},class:Lf({type:b?"long":"short"}),children:Vf(g,t.sortSuggestions).map(m=>{const x=u.includes(m.value);return w("li",{class:Mf({type:b?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=Uf(u,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:ge(e)}},class:b?If({active:x,disabled:m.disabled}):Be({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:m.label})," ",w(Hf,{colorScheme:x?"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"},Yf=Oe({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"}}}),Kf=Oe({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"}}}),qf=Oe({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Xf=e=>{const t=we(null),[n,r]=$e(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??[],Gf=({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}=Xf([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:Yf({hasValue:v}),onTouchStart:ep,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:Kf({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(Bf,{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:qf(),name:"chevron-right"})]})]})},Zf=e=>{const t=we();return je(()=>{t.current=e},[e]),t.current},Jf=(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())},Qf=(e,t)=>{const n=Zf(e);je(()=>{if(n===e)return;const r=e??n;r&&Jf(r,t)},[e,n,t])};function ep(){}const tp=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},np=({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)}},rp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=$e((c=e[0])==null?void 0:c.key);Qf(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&&tp(v,h);const g=b=>{const{newActiveKey:m,newValue:x}=np({property:p,activeKey:a,value:b??h,properties:e,appliedFilters:n});return s(m),r(p.key,x)},_=b=>s(b?p.key:void 0),y=f(p.key);return w(gn,{Fallback:ct,children:w(Gf,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var x;const b=e.findIndex(k=>k.key===a),m=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(m)},useQuery:y,onValueChange:g})},p.key)})})})};var op=Array.isArray,Lo=op,ip=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ap=ip,sp=ap,cp=typeof self=="object"&&self&&self.Object===Object&&self,lp=sp||cp||Function("return this")(),Mo=lp,up=Mo,dp=up.Symbol,Io=dp,Zs=Io,Js=Object.prototype,fp=Js.hasOwnProperty,pp=Js.toString,kn=Zs?Zs.toStringTag:void 0;function hp(e){var t=fp.call(e,kn),n=e[kn];try{e[kn]=void 0;var r=!0}catch{}var o=pp.call(e);return r&&(t?e[kn]=n:delete e[kn]),o}var vp=hp,_p=Object.prototype,gp=_p.toString;function wp(e){return gp.call(e)}var mp=wp,Qs=Io,yp=vp,bp=mp,xp="[object Null]",kp="[object Undefined]",ec=Qs?Qs.toStringTag:void 0;function $p(e){return e==null?e===void 0?kp:xp:ec&&ec in Object(e)?yp(e):bp(e)}var tc=$p;function jp(e){return e!=null&&typeof e=="object"}var Sp=jp,Ep=tc,Cp=Sp,Op="[object Symbol]";function Ap(e){return typeof e=="symbol"||Cp(e)&&Ep(e)==Op}var Fo=Ap,Tp=Lo,Pp=Fo,Rp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dp=/^\w*$/;function Np(e,t){if(Tp(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Pp(e)?!0:Dp.test(e)||!Rp.test(e)||t!=null&&e in Object(t)}var Lp=Np;function Mp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nc=Mp,Ip=tc,Fp=nc,Hp="[object AsyncFunction]",Up="[object Function]",Vp="[object GeneratorFunction]",zp="[object Proxy]";function Wp(e){if(!Fp(e))return!1;var t=Ip(e);return t==Up||t==Vp||t==Hp||t==zp}var Bp=Wp,Yp=Mo,Kp=Yp["__core-js_shared__"],qp=Kp,Ho=qp,rc=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Xp(e){return!!rc&&rc in e}var Gp=Xp,Zp=Function.prototype,Jp=Zp.toString;function Qp(e){if(e!=null){try{return Jp.call(e)}catch{}try{return e+""}catch{}}return""}var eh=Qp,th=Bp,nh=Gp,rh=nc,oh=eh,ih=/[\\^$.*+?()[\]{}|]/g,ah=/^\[object .+?Constructor\]$/,sh=Function.prototype,ch=Object.prototype,lh=sh.toString,uh=ch.hasOwnProperty,dh=RegExp("^"+lh.call(uh).replace(ih,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fh(e){if(!rh(e)||nh(e))return!1;var t=th(e)?dh:ah;return t.test(oh(e))}var ph=fh;function hh(e,t){return e==null?void 0:e[t]}var vh=hh,_h=ph,gh=vh;function wh(e,t){var n=gh(e,t);return _h(n)?n:void 0}var oc=wh,mh=oc,yh=mh(Object,"create"),ar=yh,ic=ar;function bh(){this.__data__=ic?ic(null):{},this.size=0}var xh=bh;function kh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var $h=kh,jh=ar,Sh="__lodash_hash_undefined__",Eh=Object.prototype,Ch=Eh.hasOwnProperty;function Oh(e){var t=this.__data__;if(jh){var n=t[e];return n===Sh?void 0:n}return Ch.call(t,e)?t[e]:void 0}var Ah=Oh,Th=ar,Ph=Object.prototype,Rh=Ph.hasOwnProperty;function Dh(e){var t=this.__data__;return Th?t[e]!==void 0:Rh.call(t,e)}var Nh=Dh,Lh=ar,Mh="__lodash_hash_undefined__";function Ih(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Lh&&t===void 0?Mh:t,this}var Fh=Ih,Hh=xh,Uh=$h,Vh=Ah,zh=Nh,Wh=Fh;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=Hh,zt.prototype.delete=Uh,zt.prototype.get=Vh,zt.prototype.has=zh,zt.prototype.set=Wh;var Bh=zt;function Yh(){this.__data__=[],this.size=0}var Kh=Yh;function qh(e,t){return e===t||e!==e&&t!==t}var Xh=qh,Gh=Xh;function Zh(e,t){for(var n=e.length;n--;)if(Gh(e[n][0],t))return n;return-1}var sr=Zh,Jh=sr,Qh=Array.prototype,ev=Qh.splice;function tv(e){var t=this.__data__,n=Jh(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ev.call(t,n,1),--this.size,!0}var nv=tv,rv=sr;function ov(e){var t=this.__data__,n=rv(t,e);return n<0?void 0:t[n][1]}var iv=ov,av=sr;function sv(e){return av(this.__data__,e)>-1}var cv=sv,lv=sr;function uv(e,t){var n=this.__data__,r=lv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var dv=uv,fv=Kh,pv=nv,hv=iv,vv=cv,_v=dv;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=fv,Wt.prototype.delete=pv,Wt.prototype.get=hv,Wt.prototype.has=vv,Wt.prototype.set=_v;var gv=Wt,wv=oc,mv=Mo,yv=wv(mv,"Map"),bv=yv,ac=Bh,xv=gv,kv=bv;function $v(){this.size=0,this.__data__={hash:new ac,map:new(kv||xv),string:new ac}}var jv=$v;function Sv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ev=Sv,Cv=Ev;function Ov(e,t){var n=e.__data__;return Cv(t)?n[typeof t=="string"?"string":"hash"]:n.map}var cr=Ov,Av=cr;function Tv(e){var t=Av(this,e).delete(e);return this.size-=t?1:0,t}var Pv=Tv,Rv=cr;function Dv(e){return Rv(this,e).get(e)}var Nv=Dv,Lv=cr;function Mv(e){return Lv(this,e).has(e)}var Iv=Mv,Fv=cr;function Hv(e,t){var n=Fv(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Uv=Hv,Vv=jv,zv=Pv,Wv=Nv,Bv=Iv,Yv=Uv;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=Vv,Bt.prototype.delete=zv,Bt.prototype.get=Wv,Bt.prototype.has=Bv,Bt.prototype.set=Yv;var Kv=Bt,sc=Kv,qv="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(qv);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 Xv=Uo,Gv=Xv,Zv=500;function Jv(e){var t=Gv(e,function(r){return n.size===Zv&&n.clear(),r}),n=t.cache;return t}var Qv=Jv,e_=Qv,t_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n_=/\\(\\)?/g,r_=e_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(t_,function(n,r,o,i){t.push(o?i.replace(n_,"$1"):r||n)}),t}),o_=r_;function i_(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 a_=i_,cc=Io,s_=a_,c_=Lo,l_=Fo,u_=1/0,lc=cc?cc.prototype:void 0,uc=lc?lc.toString:void 0;function dc(e){if(typeof e=="string")return e;if(c_(e))return s_(e,dc)+"";if(l_(e))return uc?uc.call(e):"";var t=e+"";return t=="0"&&1/e==-u_?"-0":t}var d_=dc,f_=d_;function p_(e){return e==null?"":f_(e)}var h_=p_,v_=Lo,__=Lp,g_=o_,w_=h_;function m_(e,t){return v_(e)?e:__(e,t)?[e]:g_(w_(e))}var y_=m_,b_=Fo,x_=1/0;function k_(e){if(typeof e=="string"||b_(e))return e;var t=e+"";return t=="0"&&1/e==-x_?"-0":t}var $_=k_,j_=y_,S_=$_;function E_(e,t){t=j_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[S_(t[n++])];return n&&n==r?e:void 0}var C_=E_,O_=C_;function A_(e,t,n){var r=e==null?void 0:O_(e,t);return r===void 0?n:r}var T_=A_;const P_=Gd(T_),lr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),fc=Oe({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=P_(e.raw,t.key);return t.transform?t.transform(n):n},R_=({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],D_=1e3*60*60*24*7,N_=({job:e,config:t})=>{var u,f,c,p;const n=t.subheading?Vo({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(d=>pc(Vo({job:e,property:d}))).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*D_:!1;return w("a",{onMouseEnter:(c=t.overrides)==null?void 0:c.onMouseEnter,onClick:(p=t.overrides)==null?void 0:p.onClick,href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class: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(R_,{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((d,v)=>w("span",{class:Be({variant:"monetaryWeak",size:"xs"}),children:d},v))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(d=>w("li",{class:Be({size:"xs",class:"max-w-full truncate"}),children:d},d))})]})]}),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"})})]})},L_=({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"}),M_=({pagination:e})=>(ve(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),I_=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=$e(1);return w(F,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return w(gn,{Fallback:ct,children:w(F_,{appliedFilters:e,apiClient:t,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},F_=({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:M_({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(N_,{job:h,config:s})},h.id))}),v&&i&&w(L_,{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},{}),H_=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=we(null),[u,f]=$e(()=>({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(rp,{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(I_,{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"}))})})})]})})},U_=`#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-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
18
+ `;var V_=["1","2","3","4","5","6","7","8","9","10","11","12"],z_={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]}},W_=(e,t=1,n)=>r=>{const[o,i]=z_[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Wo=e=>{const t=W_(e.hue,e.chroma,e.mode);return Object.fromEntries(V_.map(n=>[e.prefix+n,e.transform(t(n))]))},Bo=e=>e,B_=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)},Y_=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},K_=()=>({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=B_(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 Se=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"],q_=K_().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,_,y,b,m,x,k,O,$,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=(y=o.tag)==null?void 0:y.weight)==null?void 0:b.toString())??((m=o.weight)==null?void 0:m.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((O=o.weight)==null?void 0:O.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(C=o.input)==null?void 0:C.weight)==null?void 0:j.toString())??((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":Se(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Se(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Se(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Se(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Se(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Se(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Se(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":Se(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":Se(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Se(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ye),"job-card-bg-active":Se(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":Se(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),X_=Y_({prefix:"i-"}),G_=e=>{const t=q_.from({theme:e,getToken:X_}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Fa} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
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,` {
21
+ }`},Z_=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Ia}`);return ve(e,`Element with id ${Ia} not found.`),e}}))(),J_=()=>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"},U_),re("style",{id:"inploi-job-search-theme"},G_(o.theme))],re(Od,{theme:o.theme}),re(H_,{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}),Z_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=J_;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=[],Q_=/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 Ee(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,eg(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 eg(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=tg(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 tg(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Ec(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Q_.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,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(f=j.contextType)&&r[f.__c],m=f?b?b.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new Ee(_,m),c.constructor=j,c.render=rg),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ke({},c.__s)),Ke(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(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,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=T.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),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())),y&&!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=ng(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 ng(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!y&&(y?d.localName===y:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&$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,y==="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]||y==="progress"&&!v||y==="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 rg(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 og(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},Ee.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))},Ee.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qo(this))},Ee.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])/,ig=/^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]/,ag=/^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/,sg=/["&<]/;function hr(e){if(e.length===0||sg.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={},cg=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"]),lg=/[A-Z]/g;function ug(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(lg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||cg.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 dg(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,y=t;if(typeof g=="function"){if(g===ne){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!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 k=t[d.__c];y=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=Mc(e,y),h=e.__c;else{e.__c=h={__v:e,props:_,context:y,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,_,y);h.__d=!0}if(h.getChildContext!=null&&(t=ii({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var $="";v=v!=null&&v.type===ne&&v.key==null?v.props.children:v;try{return $=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())),$=Me(v=v!=null&&v.type===ne&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}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=ug(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?ag.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):ig.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&&fg.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 fg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),pg=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:--pg,__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 hg={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"})},vg=({theme:e})=>P("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:P("defs",{children:Object.entries(hg).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 _g(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 gg(){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)||wg)(gg)),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 wg(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 Ee).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 mg=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=mg,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},yg=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)}yg(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 Ee).__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 bg(e){return this.getChildContext=function(){return e.context},e.children}function xg(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(bg,{context:t.context},e.__v),t.l)}function il(e,t){var n=A(xg,{__v:e,i:t});return n.containerInfo=t,n}(qt.prototype=new Ee).__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,kg=/^(?: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)/,jg=/[A-Z0-9]/g,Sg=typeof document<"u",Eg=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}Ee.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ee.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 Cg(){}function Og(){return this.cancelBubble}function Ag(){return this.defaultPrevented}T.event=function(e){return ll&&(e=ll(e)),e.persist=Cg,e.isPropagationStopped=Og,e.isDefaultPrevented=Ag,e.nativeEvent=e};var pi,Tg={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||Sg&&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"||Eg(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":$g.test(i)?i=s:r.indexOf("-")===-1&&kg.test(i)?i=i.replace(jg,"-$&").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",Tg)):(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}}},Pg="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)?og.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:Ee,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 Rg=Object.freeze(Object.defineProperty({__proto__:null,Children:Ge,Component:Ee,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:_g,useId:li,useImperativeHandle:si,useInsertionEffect:gi,useLayoutEffect:pt,useMemo:he,useReducer:An,useRef:V,useState:Y,useSyncExternalStore:wi,useTransition:_i,version:Pg},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 Dg(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function kl(...e){return t=>e.forEach(n=>Dg(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,Ng(o,...t)]}function Ng(...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(Mg);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,{...Ig(r,n.props),ref:t?kl(t,n.ref):n.ref}):Ge.count(n)>1?Ge.only(null):null});bi.displayName="SlotClone";const Lg=({children:e})=>A(ne,null,e);function Mg(e){return Ze(e)&&e.type===Lg}function Ig(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 Fg(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 Hg(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",Ug="dismissableLayer.pointerDownOutside",Vg="dismissableLayer.focusOutside";let jl;const zg=En({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Wg=ce((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,f=Tn(zg),[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,$=>p($)),g=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(_),b=c?g.indexOf(c):-1,m=f.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,k=Bg($=>{const C=$.target,j=[...f.branches].some(R=>R.contains(C));!x||j||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),O=Yg($=>{const C=$.target;[...f.branches].some(R=>R.contains(C))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return Hg($=>{b===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.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 $=()=>v({});return document.addEventListener(xi,$),()=>document.removeEventListener(xi,$)},[]),A(Gt.div,de({},u,{ref:h,style:{pointerEvents:m?x?"auto":"none":void 0,...e.style},onFocusCapture:Rt(e.onFocusCapture,O.onFocusCapture),onBlurCapture:Rt(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:Rt(e.onPointerDownCapture,k.onPointerDownCapture)}))});function Bg(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(Ug,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 Yg(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(Vg,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?Fg(o,i):o.dispatchEvent(i)}let ki=0;function Kg(){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},qg=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 m=b.target;s.contains(m)?c.current=m:vt(c.current,{select:!0})},g=function(b){if(d.paused||!s)return;const m=b.relatedTarget;m!==null&&(s.contains(m)||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 y=new MutationObserver(_);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),y.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||(Xg(e0(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 y=h.currentTarget,[b,m]=Gg(y);b&&m?!h.shiftKey&&_===m?(h.preventDefault(),n&&vt(b,{select:!0})):h.shiftKey&&_===b&&(h.preventDefault(),n&&vt(m,{select:!0})):_===y&&h.preventDefault()}},[n,r,d.paused]);return A(Gt.div,de({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function Xg(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(vt(r,{select:t}),document.activeElement!==n)return}function Gg(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(!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 Jg(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&&Jg(e)&&t&&e.select()}}const Pl=Qg();function Qg(){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 e0(e){return e.filter(t=>t.tagName!=="A")}const Zt=globalThis!=null&&globalThis.document?pt:()=>{},t0=Rg["useId".toString()]||(()=>{});let n0=0;function r0(e){const[t,n]=Y(t0());return Zt(()=>{e||n(r=>r??String(n0++))},[e]),e||(t?`radix-${t}`:"")}const o0=["top","right","bottom","left"],Ie=Math.min,me=Math.max,gr=Math.round,wr=Math.floor,_t=e=>({x:e,y:e}),i0={left:"right",right:"left",bottom:"top",top:"bottom"},a0={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 s0(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 c0(e){const t=mr(e);return[Ai(e),t,Ai(t)]}function Ai(e){return e.replace(/start|end/g,t=>a0[t])}function l0(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 u0(e,t,n,r){const o=Jt(e);let i=l0(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=>i0[t])}function d0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Dl(e){return typeof e!="number"?d0(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 f0=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:y,y:b,data:m,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=y??f,c=b??c,d={...d,[g]:{...d[g],...m}},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})),y=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),m=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},x=yr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:l}):y);return{top:(_.top-x.top+v.top)/m.y,bottom:(x.bottom-_.bottom+v.bottom)/m.y,left:(_.left-x.left+v.left)/m.x,right:(x.right-_.right+v.right)/m.x}}const p0=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",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",m=i.reference[v]+i.reference[d]-p[d]-i.floating[v],x=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let O=k?k[b]:0;(!O||!await(a.isElement==null?void 0:a.isElement(k)))&&(O=s.floating[b]||i.floating[v]);const $=m/2-x/2,C=O/2-h[v]/2-1,j=Ie(c[_],C),R=Ie(c[y],C),I=j,L=O-h[v]-R,N=O/2-h[v]/2+$,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}}}),h0=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),y=gt(s),b=Qe(s)===s,m=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=p||(b||!h?[mr(s)]:c0(s)),k=v!=="none";!p&&k&&x.push(...u0(s,h,v,m));const O=[s,...x],$=await Dn(t,g),C=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&C.push($[_]),c){const N=s0(o,a,m);C.push($[N[0]],$[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(k){const z=gt(U.placement);return z===y||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 o0.some(t=>e[t]>=0)}const v0=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 _0(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 g0=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 _0(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}}}}},w0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:_,y}=g;return{x:_,y}}},...l}=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",y=d+f[g],b=d-f[_];d=Si(y,d,b)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",y=v+f[g],b=v-f[_];v=Si(y,v,b)}const h=s.fn({...t,[p]:d,[c]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},m0=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",m=i.reference[p]-i.floating[b]+g.mainAxis,x=i.reference[p]+i.reference[b]-g.mainAxis;d<m?d=m:d>x&&(d=x)}if(u){var _,y;const b=p==="y"?"width":"height",m=["top","left"].includes(Qe(o)),x=i.reference[c]-i.floating[b]+(m&&((_=a.offset)==null?void 0:_[c])||0)+(m?0:g.crossAxis),k=i.reference[c]+i.reference[b]+(m?0:((y=a.offset)==null?void 0:y[c])||0)-(m?g.crossAxis:0);v<x?v=x:v>k&&(v=k)}return{[p]:d,[c]:v}}}},y0=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,y=Ie(d-l[v],g),b=Ie(p-l[h],_),m=!t.middlewareData.shift;let x=y,k=b;if(c?k=f||m?Ie(b,_):_:x=f||m?Ie(y,g):g,m&&!f){const $=me(l.left,0),C=me(l.right,0),j=me(l.top,0),R=me(l.bottom,0);c?k=p-2*($!==0||C!==0?$+C:me(l.left,l.right)):x=d-2*(j!==0||R!==0?j+R:me(l.top,l.bottom))}await a({...t,availableWidth:k,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 b0(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 x0(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 k0=_t(0);function Vl(e){const t=ye(e);return!Pi()||!t.visualViewport?k0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $0(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=$0(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(),y=Te(h),b=_.left+(h.clientLeft+parseFloat(y.paddingLeft))*g.x,m=_.top+(h.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,u*=g.y,f*=g.x,c*=g.y,l+=b,u+=m,v=ye(h),h=Ri(v)}}return yr({width:f,height:c,x:l,y:u})}function j0(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 S0(e){return Array.from(e.getClientRects())}function zl(e){return Nt(et(e)).left+xr(e).scrollLeft}function E0(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 C0(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 O0(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=C0(e,n);else if(t==="document")r=E0(et(e));else if(Ae(t))r=O0(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 A0(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 T0(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?br(t)?[]:A0(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 P0(e){const{width:t,height:n}=Ul(e);return{width:t,height:n}}function R0(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&&b0(r)&&Ni(r);)r=Yl(r,t);return r&&en(r)&&Ni(r)&&!Ti(r)?n:r||x0(e)||n}const D0=async function(e){const t=this.getOffsetParent||Kl,n=this.getDimensions,r=await n(e.floating);return{reference:R0(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function N0(e){return Te(e).direction==="rtl"}const L0={convertOffsetParentRelativeRectToViewportRelativeRect:j0,getDocumentElement:et,getClippingRect:T0,getOffsetParent:Kl,getElementRects:D0,getClientRects:S0,getDimensions:P0,getScale:tn,isElement:Ae,isRTL:N0};function M0(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),y={rootMargin:-d+"px "+-v+"px "+-h+"px "+-g+"px",threshold:me(0,Ie(1,l))||1};let b=!0;function m(x){const k=x[0].intersectionRatio;if(k!==l){if(!b)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(m,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(m,y)}n.observe(e)}return a(!0),i}function I0(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?M0(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(_=>{let[y]=_;y&&y.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(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),c==null||c(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(v)}}const F0=g0,H0=w0,U0=h0,V0=y0,z0=v0,ql=p0,W0=m0,B0=(e,t,n)=>{const r=new Map,o={platform:L0,...n},i={...o.platform,_c:r};return f0(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 Y0(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),y=ie(E=>{E!==k.current&&(k.current=E,h(E))},[]),b=ie(E=>{E!==O.current&&(O.current=E,_(E))},[]),m=i||v,x=a||g,k=V(null),O=V(null),$=V(f),C=l!=null,j=Zl(l),R=Zl(o),I=ie(()=>{if(!k.current||!O.current)return;const E={placement:t,strategy:n,middleware:p};R.current&&(E.platform=R.current),B0(k.current,O.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!$r($.current,z)&&($.current=z,Rn(()=>{c(z)}))})},[p,t,n,R]);kr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);kr(()=>(L.current=!0,()=>{L.current=!1}),[]),kr(()=>{if(m&&(k.current=m),x&&(O.current=x),m&&x){if(j.current)return j.current(m,x,I);I()}},[m,x,I,j,C]);const N=he(()=>({reference:k,floating:O,setReference:y,setFloating:b}),[y,b]),M=he(()=>({reference:m,floating:x}),[m,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 K0=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):{}}}},q0=(e,t)=>({...F0(e),options:[e,t]}),X0=(e,t)=>({...H0(e),options:[e,t]}),G0=(e,t)=>({...W0(e),options:[e,t]}),Z0=(e,t)=>({...U0(e),options:[e,t]}),J0=(e,t)=>({...V0(e),options:[e,t]}),Q0=(e,t)=>({...z0(e),options:[e,t]}),ew=(e,t)=>({...K0(e),options:[e,t]});function tw(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),[nw,tu]=Ql(Jl),rw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=Y(null);return A(nw,{scope:t,anchor:r,onAnchorChange:o},n)},ow="PopperAnchor",iw=ce((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=tu(ow,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",[aw,Zm]=Ql(nu),sw=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:y=0,sticky:b="partial",hideWhenDetached:m=!1,updatePositionStrategy:x="optimized",onPlaced:k,...O}=e,$=tu(nu,f),[C,j]=Y(null),R=Dt(t,G=>j(G)),[I,L]=Y(null),N=tw(I),M=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,S=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,E=c+(d!=="center"?"-"+d:""),U=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},z=Array.isArray(_)?_:[_],K=z.length>0,ae={padding:U,boundary:z.filter(cw),altBoundary:K},{refs:le,floatingStyles:Lt,placement:Ir,isPositioned:tt,middlewareData:nt}=Y0({strategy:"fixed",placement:E,whileElementsMounted:(...G)=>I0(...G,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[q0({mainAxis:p+S,alignmentAxis:v}),g&&X0({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?G0():void 0,...ae}),g&&Z0({...ae}),J0({...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&&ew({element:I,padding:h}),lw({arrowWidth:M,arrowHeight:S}),m&&Q0({strategy:"referenceHidden",...ae})]}),[Hn,Ji]=ru(Ir),un=ht(k);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(aw,{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 cw(e){return e!==null}const lw=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,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let b="",m="";return v==="bottom"?(b=c?g:`${_}px`,m=`${-d}px`):v==="top"?(b=c?g:`${_}px`,m=`${l.floating.height+d}px`):v==="right"?(b=`${-d}px`,m=c?g:`${y}px`):v==="left"&&(b=`${l.floating.width+d}px`,m=c?g:`${y}px`),{data:{x:b,y:m}}}});function ru(e){const[t,n="center"]=e.split("-");return[t,n]}const uw=rw,dw=iw,fw=sw,pw=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 hw(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=vw(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 vw(e){const[t,n]=Y(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=hw(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 _w({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=gw({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 gw({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 ww=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))},mw=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})},yw=function(e,t,n,r){var o=mw(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={})}},bw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||ww(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),yw(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 xw(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",kw="with-scroll-bars-hidden",$w="--removed-body-scroll-bar-size";function jw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Sw(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 Ew(e,t){return Sw(t||null,function(n){return e.forEach(function(r){return jw(r,n)})})}function Cw(e){return e}function Ow(e,t){t===void 0&&(t=Cw);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 Aw(e){e===void 0&&(e={});var t=Ow(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 Tw(e,t){return e.useMedium(t),au}var su=Aw(),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,y=iu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=p,m=Ew([n,t]),x=He(He({},y),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:m})):A(_,He({},x,{className:l,ref:m}),s))});Ar.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ar.classNames={fullWidth:Or,zeroRight:Cr};var Pw=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Rw(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Pw();return t&&e.setAttribute("nonce",t),e}function Dw(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Nw(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Lw=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Rw())&&(Dw(t,n),Nw(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Mw=function(){var e=Lw();return function(t,n){Z(function(){return e.add(t),function(){e.remove()}},[t&&n])}},cu=function(){var e=Mw(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Iw={left:0,top:0,right:0,gap:0},Fi=function(e){return parseInt(e||"",10)||0},Fw=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)]},Hw=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Iw;var t=Fw(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])}},Uw=cu(),Vw=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(kw,` {
23
23
  overflow: hidden `).concat(r,`;
24
24
  padding-right: `).concat(s,"px ").concat(r,`;
25
25
  }
@@ -53,15 +53,15 @@ ${n.concat(n).join(`
53
53
  }
54
54
 
55
55
  body {
56
- `).concat(kw,": ").concat(s,`px;
56
+ `).concat($w,": ").concat(s,`px;
57
57
  }
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`
58
+ `)},zw=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=he(function(){return Hw(o)},[o]);return A(Uw,{styles:Vw(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,Ww=function(e){return e.tagName==="TEXTAREA"},lu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Ww(e)&&n[t]==="visible")},Bw=function(e){return lu(e,"overflowY")},Yw=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},Kw=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},qw=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},du=function(e,t){return e==="v"?Bw(t):Yw(t)},fu=function(e,t){return e==="v"?Kw(t):qw(t)},Xw=function(e,t){return e==="h"&&t==="rtl"?-1:1},Gw=function(e,t,n,r,o){var i=Xw(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},Zw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Jw=function(e){return`
59
59
  .block-interactivity-`.concat(e,` {pointer-events: none;}
60
60
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
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} {
61
+ `)},Qw=0,on=[];function em(e){var t=V([]),n=V([0,0]),r=V(),o=Y(Qw++)[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=xw([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),y=n.current,b="deltaX"in h?h.deltaX:y[0]-_[0],m="deltaY"in h?h.deltaY:y[1]-_[1],x,k=h.target,O=Math.abs(b)>Math.abs(m)?"h":"v";if("touches"in h&&O==="h"&&k.type==="range")return!1;var $=uu(O,k);if(!$)return!0;if($?x=O:(x=O==="v"?"h":"v",$=uu(O,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(b||m)&&(r.current=x),!x)return!0;var C=r.current||x;return Gw(C,g,h,C==="h"?b:m,!0)},[]),l=ie(function(h){var g=h;if(!(!on.length||on[on.length-1]!==i)){var _="deltaY"in g?pu(g):Pr(g),y=t.current.filter(function(x){return x.name===g.type&&x.target===g.target&&Zw(x.delta,_)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(hu).filter(Boolean).filter(function(x){return x.contains(g.target)}),m=b.length>0?s(g,b[0]):!a.current.noIsolation;m&&g.cancelable&&g.preventDefault()}}},[]),u=ie(function(h,g,_,y){var b={name:h,delta:g,target:_,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(m){return m!==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:Jw(o)}):null,d?A(zw,{gapMode:"margin"}):null)}const tm=Tw(su,em);var vu=ce(function(e,t){return A(Ar,He({},e,{ref:t,sideCar:tm}))});vu.classNames=Ar.classNames;const nm=vu,_u="Popover",[gu,Jm]=$l(_u,[eu]),Ui=eu(),[rm,an]=gu(_u),om=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]=_w({prop:r,defaultProp:o,onChange:i});return A(uw,s,A(rm,{scope:t,contentId:r0(),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))},im="PopoverTrigger",am=ce((e,t)=>{const{__scopePopover:n,...r}=e,o=an(im,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(dw,de({asChild:!0},i),s)}),wu="PopoverPortal",[sm,cm]=gu(wu,{forceMount:void 0}),lm=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=an(wu,t);return A(sm,{scope:t,forceMount:n},A(Li,{present:n||i.open},A(pw,{asChild:!0,container:o},r)))},Mn="PopoverContent",um=ce((e,t)=>{const n=cm(Mn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=an(Mn,e.__scopePopover);return A(Li,{present:r||i.open},i.modal?A(dm,de({},o,{ref:t})):A(fm,de({},o,{ref:t})))}),dm=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 bw(a)},[]),A(nm,{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})})))}),fm=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 Kg(),A(qg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},A(Wg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},A(fw,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 pm=om,hm=am,vm=lm,_m=um;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 gm=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=gm,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 wm(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 mm(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,mm.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=bm(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({}))},wm(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=ym(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function ym(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)}),Ee.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 bm(e){return he(function(){return Nr(e)},[])}const ln={config$:Nr({headerText:"",label:""}),filters$:Nr({})},Cu="inploi-job-alerts",xm="ija";var km=["1","2","3","4","5","6","7","8","9","10","11","12"],$m={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]}},jm=(e,t=1,n)=>r=>{const[o,i]=$m[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Ou=e=>{const t=jm(e.hue,e.chroma,e.mode);return Object.fromEntries(km.map(n=>[e.prefix+n,e.transform(t(n))]))},Au=e=>e,Sm=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)},Em=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Cm=()=>({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=Sm(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,Om]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Am=Cm().core(({theme:e})=>({color:{transparent:Om,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(()=>({})),Tm=Em({prefix:"i-"}),Pm=e=>{const t=Am.from({theme:e,getToken:Tm}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${xm} {
62
62
  ${n.concat(n).join(`
63
63
  `)}
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 {
64
+ }`},Tu=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Rm=({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]",Dm=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.",Nm=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})]})),Lm=()=>P("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:ln.config$.value.headerText});function Pu(){}const Mm=({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(Dm(_)),o("idle")})};return P("div",{id:"ija",children:P("div",{class:Tu(e).join(" "),children:P(pm,{children:[P(hm,{asChild:!0,children:P(Nm,{})}),P(vm,{children:P("div",{id:"ija",children:P("div",{class:Vi("absolute isolate z-50",Tu(e).join(" ")),children:P(_m,{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(Lm,{}),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(Rm,{error:i})]})]})})})})]})})})},Im=`#ija {
65
65
  font-size: 16px;
66
66
  --tw-content: '';
67
67
  }
@@ -1067,4 +1067,4 @@ ${n.concat(n).join(`
1067
1067
  #ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
1068
1068
  --tw-ring-color: var(--i-color-a-9);
1069
1069
  }
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"}))})();
1070
+ `,Ru=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Cu}`);return vc(e,`Element with id ${Cu} not found.`),e}}),Fm=Ru(),Hm=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"},Im),A("style",{id:"inploi-job-search-theme"},Pm(s.theme))],A(vg,{theme:s.theme}),A(Mm,{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:dg(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}),Fm.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();