@inploi/plugin-job-search 0.23.7 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var by=Object.defineProperty;var xy=(ye,je,St)=>je in ye?by(ye,je,{enumerable:!0,configurable:!0,writable:!0,value:St}):ye[je]=St;var wa=(ye,je,St)=>(xy(ye,typeof je!="symbol"?je+"":je,St),St);(function(){"use strict";var ye=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function je(e,t){if(!e)throw new Error(t)}function St(e,t){return e in t}var ma=e=>e,mn,T,ya,ba,Et,xa,ka,Jr,Qr,eo,to,$a,yn={},ja=[],ud=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Qn=Array.isArray;function We(e,t){for(var n in t)e[n]=t[n];return e}function Sa(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?mn.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 bn(e,a,r,o,null)}function bn(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??++ya,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Ea(){return{current:null}}function F(e){return e.children}function be(e,t){this.props=e,this.context=t}function Ct(e,t){if(t==null)return e.__?Ct(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"?Ct(e):null}function Ca(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 Ca(e)}}function no(e){(!e.__d&&(e.__d=!0)&&Et.push(e)&&!er.__r++||xa!==T.debounceRendering)&&((xa=T.debounceRendering)||ka)(er)}function er(){var e,t,n,r,o,i,a,s;for(Et.sort(Jr);e=Et.shift();)e.__d&&(t=Et.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=We({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),ro(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Ct(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Ra(a,r,s),r.__e!=i&&Ca(r)),Et.length>t&&Et.sort(Jr));er.__r=0}function Oa(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||ja,_=t.length;for(n.__d=l,dd(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?yn:g[d.__i]||yn,d.__i=c,ro(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&oo(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=Ct(p)),l=Aa(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 dd(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?bn(null,o,null,null,null):Qn(o)?bn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?bn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=fd(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=Ct(i)),io(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=Ct(i)),io(i,i))}function Aa(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=Aa(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 Be(e,t){return t=t||[],e==null||typeof e=="boolean"||(Qn(e)?e.some(function(n){Be(n,t)}):t.push(e)),t}function fd(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 Ta(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ud.test(t)?n:n+"px"}function tr(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||Ta(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ta(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=Qr,e.addEventListener(t,i?to:eo,i)):e.removeEventListener(t,i?to:eo,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 Pa(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Qr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function ro(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,x,b,y,k,C,$,O,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,x=(f=j.contextType)&&r[f.__c],b=f?x?x.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,b):(t.__c=c=new be(_,b),c.constructor=j,c.render=hd),x&&x.sub(c),c.props=_,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=We({},c.__s)),We(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(_,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=b,c.props=_,c.__P=e,c.__e=!1,k=T.__r,C=0,m){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&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=We(We({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),Oa(e,Qn(O=f!=null&&f.type===F&&f.key==null?f.props.children:f)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=pd(n.__e,t,n,r,o,i,a,l,u);(f=T.diffed)&&f(t)}function Ra(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)oo(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 pd(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&&mn.call(e.childNodes),g=n.props||yn,!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;tr(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||tr(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=""),Oa(e,Qn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Ct(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Sa(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&tr(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&tr(e,u,h,g[u],o))}return e}function oo(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function io(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||oo(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]&&io(r[o],t,n||typeof e.type!="function");n||e.__e==null||Sa(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function hd(e,t,n){return this.constructor(e,n)}function Wt(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=[],ro(t,e=(!r&&n||t).__k=re(F,null,[e]),o||yn,yn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?mn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Ra(i,e,a)}function ao(e,t){Wt(e,t,ao)}function vd(e,t,n){var r,o,i,a,s=We({},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?mn.call(arguments,2):n),bn(e.type,s,r||e.key,o||e.ref,null)}function nr(e,t){var n={__c:t="__cC"+$a++,__: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,no(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}mn=ja.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}},ya=0,ba=function(e){return e!=null&&e.constructor==null},be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=We({},this.state),typeof e=="function"&&(e=e(We({},n),this.props)),e&&We(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),no(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),no(this))},be.prototype.render=F,Et=[],ka=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Jr=function(e,t){return e.__v.__b-t.__v.__b},er.__r=0,Qr=0,eo=Pa(!1),to=Pa(!0),$a=0;var Da=/[\s\n\\/='"\0<>]/,Na=/^(xlink|xmlns|xml)([A-Z])/,_d=/^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]/,gd=/^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/,wd=/["&<]/;function rr(e){if(e.length===0||wd.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 La={},md=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"]),yd=/[A-Z]/g;function bd(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:La[n]||(La[n]=n.replace(yd,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||md.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var so,Ot,xn,kn,Ma=[],Ia=Array.isArray,co=Object.assign;function xd(e,t,n){var r=T.__s;T.__s=!0,so=T.__b,Ot=T.diffed,xn=T.__r,kn=T.unmount;var o=re(F,null);o.__k=[e];try{var i=Le(e,t||Ha,!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,Ma),T.__s=r,Ma.length=0}}function Fa(){this.__d=!0}var Ha={};function Ua(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Ha),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=co({},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(),xn&&xn(e),n.render(n.props,n.state,t)}function Le(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":rr(e+"");if(Ia(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=Le(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,so&&so(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var x="",b=0;b<_.tpl.length;b++)if(x+=_.tpl[b],_.exprs&&b<_.exprs.length){var y=_.exprs[b];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Ia(y)?x+=y:x+=Le(y,t,n,r,e,i,a)}return x}if(_.UNSTABLE_comment)return"<!--"+rr(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];m=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=Ua(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:Fa,forceUpdate:Fa,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,xn&&xn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=co({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var $="";v=v!=null&&v.type===F&&v.key==null?v.props.children:v;try{return $=Le(v,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(v=Ua(e,t),(h=e.__c).getChildContext!=null&&(t=co({},t,h.getChildContext())),$=Le(v=v!=null&&v.type===F&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{Ot&&Ot(e),e.__=null,kn&&kn(e)}}}v=v!=null&&v.type===F&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var O=Le(v,t,n,r,e,i,a);return Ot&&Ot(e),e.__=null,T.unmount&&T.unmount(e),O}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return Le(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=T.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return Le(v,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return Le(v,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=bd(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(Na.test(S))S=S.replace(Na,"$1:$2").toLowerCase();else{if(Da.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?gd.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):_d.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+rr(E+"")+'"')}if(Da.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=rr(L):L!=null&&L!==!1&&L!==!0&&(M=Le(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Ot&&Ot(e),e.__=null,kn&&kn(e),!M&&kd.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 kd=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),lo="RFC3986",uo={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},$d="RFC1738",jd=Array.isArray,Me=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),fo=1024,Sd=(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+=fo){const l=i.length>=fo?i.slice(s,s+fo):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===$d&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=Me[c];continue}if(c<2048){u[u.length]=Me[192|c>>6]+Me[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Me[224|c>>12]+Me[128|c>>6&63]+Me[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=Me[240|c>>18]+Me[128|c>>12&63]+Me[128|c>>6&63]+Me[128|c&63]}a+=u.join("")}return a};function Ed(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Va(e,t){if(jd(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var Cd=Object.prototype.hasOwnProperty,za={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Ie=Array.isArray,Od=Array.prototype.push,Wa=function(e,t){Od.apply(e,Ie(t)?t:[t])},Ad=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Sd,encodeValuesOnly:!1,format:lo,formatter:uo[lo],indices:!1,serializeDate(e){return Ad.call(e)},skipNulls:!1,strictNullHandling:!1};function Td(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var po={};function Ba(e,t,n,r,o,i,a,s,l,u,f,c,p,d,v,h,g,_){let m=e,x=_,b=0,y=!1;for(;(x=x.get(po))!==void 0&&!y;){const j=x.get(e);if(b+=1,typeof j<"u"){if(j===b)throw new RangeError("Cyclic object value");y=!0}typeof x.get(po)>"u"&&(b=0)}if(typeof u=="function"?m=u(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Ie(m)&&(m=Va(m,function(j){return j instanceof Date?p==null?void 0:p(j):j})),m===null){if(i)return l&&!h?l(t,ie.encoder,g,"key",d):t;m=""}if(Td(m)||Ed(m)){if(l){const j=h?t:l(t,ie.encoder,g,"key",d);return[(v==null?void 0:v(j))+"="+(v==null?void 0:v(l(m,ie.encoder,g,"value",d)))]}return[(v==null?void 0:v(t))+"="+(v==null?void 0:v(String(m)))]}const k=[];if(typeof m>"u")return k;let C;if(n==="comma"&&Ie(m))h&&l&&(m=Va(m,l)),C=[{value:m.length>0?m.join(",")||null:void 0}];else if(Ie(u))C=u;else{const j=Object.keys(m);C=f?j.sort(f):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),O=r&&Ie(m)&&m.length===1?$+"[]":$;if(o&&Ie(m)&&m.length===0)return O+"[]";for(let j=0;j<C.length;++j){const D=C[j],I=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&I===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Ie(m)?typeof n=="function"?n(O,L):O:O+(c?"."+L:"["+L+"]");_.set(e,b);const M=new WeakMap;M.set(po,_),Wa(k,Ba(I,N,n,r,o,i,a,s,n==="comma"&&h&&Ie(m)?null:l,u,f,c,p,d,v,h,g,M))}return k}function Pd(e=ie){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||ie.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=lo;if(typeof e.format<"u"){if(!Cd.call(uo,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=uo[n];let o=ie.filter;(typeof e.filter=="function"||Ie(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in za?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ie.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:ie.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ie.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ie.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ie.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ie.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ie.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ie.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ie.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ie.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ie.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ie.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ie.strictNullHandling}}function Ya(e,t={}){let n=e;const r=Pd(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Ie(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=za[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||Wa(a,Ba(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 or=class extends Error{constructor(t){super(t[0].message);wa(this,"issues");this.name="ValiError",this.issues=t}};function Ka(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function $n(e){return{issues:e}}function At(e){return{output:e}}function Rd(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 Dd(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 lt(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return At(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Dd(n,r);for(const u of l.issues){const f=Rd(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?$n(i):At(a)}function ut(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function qa(e){return typeof e=="function"?e():e}function Nd(e,t,n,r){return $n([{validation:e,message:qa(t),input:n,requirement:r}])}function Ld(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=ut(t,n);return[e,i,a]}const[r,o]=ut(e,t);return[void 0,r,o]}function dt(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:qa(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 Ga(e){return typeof e.default=="function"?e.default():e.default}function Md(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return lt(t,this.pipe,n,"any")}}}function Xa(e,t,n){const[r="Invalid type",o]=ut(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return dt(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):lt(l,this.pipe,a,"array")}}}function Za(e,t){const[n="Invalid type",r]=ut(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?dt(i,"type","boolean",this.message,o):lt(o,this.pipe,i,"boolean")}}}function ft(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?dt(r,"type","literal",this.message,n):At(n)}}}function Se(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=Ga(this);if(o===void 0)return At(n);n=o}return this.wrapped._parse(n,r)}}}function Bt(e,t){const[n="Invalid type",r]=ut(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?dt(i,"type","number",this.message,o):lt(o,this.pipe,i,"number")}}}function ir(e,t,n,r){const[o,i="Invalid type",a]=Ld(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 dt(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):lt(c,this.pipe,u,"object")}}}function ho(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=Ga(this);if(o===void 0)return At(n);n=o}return this.wrapped._parse(n,r)}}}function te(e,t){const[n="Invalid type",r]=ut(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?dt(i,"type","string",this.message,o):lt(o,this.pipe,i,"string")}}}function Id(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=ut(n,r);return[e,t,a,s]}const[o,i]=ut(t,n);return[te(),e,o,i]}var Fd=["__proto__","prototype","constructor"];function Ja(e,t,n,r){const[o,i,a="Invalid type",s]=Id(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 dt(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Fd.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):lt(c,this.pipe,u,"record")}}}function Qa(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?At(i[0]):dt(r,"type","union",this.message,n,o)}}}function es(e,t,n){const r=e._parse(t,n);if(r.issues)throw new or(r.issues);return r.output}function Hd(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new or(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function ts(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):lt(a,n,o,typeof a)}}}function Ud(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)?At(t):Nd(this.type,this.message,t,this.requirement)}}}const ns="inploi-job-search",rs="ijs",Tt=10,os={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Vd=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 e.t("competitive");if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return e.t("invalid_salary");const o=t.pay_type&&t.pay_type in os?os[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?e.t("up_to")+" "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?e.t("from")+" "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):e.t("invalid_salary")},zd=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),Wd=({from:e=new Date,to:t,formatter:n=zd,t:r})=>{const i=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),a={days:Math.round(i/1e3/60/60/24),months:Math.round(i/1e3/60/60/24/30)};return a.days===0?r("today"):Math.abs(a.days)<30?n.format(a.days,"days"):Math.abs(a.days)<3?n.format(a.months,"months"):a.months<0?r("over_30_days_ago"):r("in_over_30_days")},Bd=Ja(Xa(ir({label:Ka(te(),String),value:Ka(te(),String),jobs:Bt()}))),Yd=te([Ud()]),Kd=ir({total:Bt(),current_page:Bt(),per_page:Bt(),last_page:Bt()}),qd=ir({id:Bt(),company_name:te(),company_logo:Se(ho(te())),employment_type:te(),location_type:Qa([ft("LOCATION"),ft("REMOTE"),ft("HYBRID")]),pay_type:Se(Qa([ft("ANNUALLY"),ft("HOURLY"),ft("MONTHLY"),ft("WEEKLY"),ft("DAILY")])),pay_currency:te(),pay_mask:Za(),pay_display:Za(),pay:Se(te()),pay_min:Se(te()),pay_max:Se(te()),description:te(),title:te(),contract_type:Se(te()),created_at:Se(te()),custom_data:Se(Ja(Md())),href:te(),industry:Se(te()),category:Se(te()),skills:ho(te()),town:ho(te()),city:Se(te()),country:Se(te())}),Gd=e=>ts(qd,t=>{const n=Hd(Yd,t.company_logo);return{id:t.id,createdAt:t.created_at,company:{name:t.company_name,logo:n.success?n.output:null},employmentType:t.employment_type,locationType:t.location_type,pay:Vd({salary:t,config:{locales:void 0},t:e})??null,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Wd({to:new Date(t.created_at),t:e}):"INVALID DATE",customData:t.custom_data,raw:t}}),Xd=e=>ts(ir({data:Xa(Gd(e)),pagination:Kd}),t=>({pagination:t.pagination,results:t.data})),Zd=e=>!e||Array.isArray(e)&&e.length===0?null:e,is=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Zd(n==null?void 0:n.value)])),as=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(Ya({filters:is(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return es(Bd,s)}catch(i){throw i instanceof or?r.error(i.message,i.issues):r.error(i),i}},ss=async({apiClient:e,logger:t,signal:n,filters:r,keyword:o,page:i=1,t:a})=>{try{const s=new URLSearchParams(Ya({filters:is(r)}));s.set("page",i.toString()),s.set("per_page",Tt.toString()),s.set("query",o||"");const l="/search/results",u=await e.fetch([l,s.toString()].filter(Boolean).join("?"),{signal:n});return es(Xd(a),u)}catch(s){throw s instanceof or?t.error(s.message,s.issues):t.error(s),s}},vo=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")},_o={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Jd=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:--Jd,__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}function cs(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=cs(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ls(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=cs(e))&&(r&&(r+=" "),r+=t);return r}var Ye,W,go,us,Yt=0,ds=[],Q=T,fs=Q.__b,ps=Q.__r,hs=Q.diffed,vs=Q.__c,_s=Q.unmount,gs=Q.__;function Pt(e,t){Q.__h&&Q.__h(W,e,Yt||t),Yt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ge(e){return Yt=1,ar(ms,e)}function ar(e,t,n){var r=Pt(Ye++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ms(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 we(e,t){var n=Pt(Ye++,3);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function pt(e,t){var n=Pt(Ye++,4);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function Ee(e){return Yt=5,Te(function(){return{current:e}},[])}function wo(e,t,n){Yt=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 Te(e,t){var n=Pt(Ye++,7);return bo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ht(e,t){return Yt=8,Te(function(){return e},t)}function jn(e){var t=W.context[e.__c],n=Pt(Ye++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function sr(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function Qd(e){var t=Pt(Ye++,10),n=ge();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 mo(){var e=Pt(Ye++,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 ef(){for(var e;e=ds.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(cr),e.__H.__h.forEach(yo),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){W=null,fs&&fs(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),gs&&gs(e,t)},Q.__r=function(e){ps&&ps(e),Ye=0;var t=(W=e.__c).__H;t&&(go===W?(t.__h=[],W.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(cr),t.__h.forEach(yo),t.__h=[],Ye=0)),go=W},Q.diffed=function(e){hs&&hs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ds.push(t)!==1&&us===Q.requestAnimationFrame||((us=Q.requestAnimationFrame)||tf)(ef)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),go=W=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(cr),n.__h=n.__h.filter(function(r){return!r.__||yo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),vs&&vs(e,t)},Q.unmount=function(e){_s&&_s(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{cr(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var ws=typeof requestAnimationFrame=="function";function tf(e){var t,n=function(){clearTimeout(r),ws&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ws&&(t=requestAnimationFrame(n))}function cr(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function yo(e){var t=W;e.__c=e.__(),W=t}function bo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ms(e,t){return typeof t=="function"?t(e):t}const nf=e=>{const t=nr(null);return{TranslationProvider:({terms:n,children:r})=>w(t.Provider,{value:{terms:e,overrides:n},children:r}),useTranslation:()=>{const n=jn(t);if(n===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:Te(()=>ys(n),[n])}},createTFunction:n=>ys({terms:e,overrides:n})}},ys=({terms:e,overrides:t})=>{function n(r,o){const i=(t==null?void 0:t[r])??e[r];switch(typeof i){case"string":return i.replace("{{count}}",String(o==null?void 0:o.count));case"object":{if(typeof(o==null?void 0:o.count)!="number")throw new Error(`Missing count for translation key “${r.toString()}”`);return o.count!==1?i.other.replace("{{count}}",String(o.count)):i.one.replace("{{count}}",String(o.count))}default:throw new Error(`Invalid translation value in dictionary for key “${r.toString()}”.`)}}return n},{TranslationProvider:rf,useTranslation:Ke,createTFunction:of}=nf({type_to_search_jobs:"Type to search jobs",type_to_search:"Type to search",jobs_found:{one:"{{count}} job found",other:"{{count}} jobs found"},no_jobs_found:"No jobs found",no_jobs_found_description:"We could not find any jobs matching your filtering criteria.",jobs_loading_error:"We’re having trouble loading available jobs.",filters_loading_error:"We’re having trouble loading available filters.",no_filter_options_available:"No filter options available.",clear:"Clear",selected:"selected",done:"Done",skip:"Skip",new:"NEW",posted:"Posted",retry:"Retry",widget_unavailable:"Sorry, this widget is unavailable at the moment.",load_more_count:"Load {{count}} more",of_remaining_count:"of {{count}} remaining",create_alert:"Create alert",alert_header_text:"You will be alerted for new jobs matching the filters currently set",today:"today",over_30_days_ago:"over 30 days ago",in_over_30_days:"in over 30 days",up_to:"Up to",from:"From",invalid_salary:"Invalid salary",competitive:"Competitive"});function bs(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=bs(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function xo(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=bs(e))&&(r&&(r+=" "),r+=t);return r}const xs=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,af=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"](xo(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(xo(i)):xo(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=xs(d)||xs(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,x]=_;const b=f[m];return Array.isArray(x)?x.includes(b):b===x})?[...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:ky,cva:Pe,cx:$y}=af(),Sn=Pe({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive flex cursor-pointer items-center 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:"",only:""},position:{relative:"relative",absolute:"absolute"},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"},{size:"lg",icon:"only",class:"px-2 py-2"},{size:"sm",icon:"only",class:"px-1 py-1"}],defaultVariants:{variant:"neutral",icon:"none",position:"relative",size:"sm"}}),sf=({error:e,resetError:t})=>{const{t:n}=Ke();return 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:n("retry")})]})},vt=({error:e,resetError:t,class:n,...r})=>{const{t:o}=Ke();return w("div",{class:ls("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:o("widget_unavailable")}),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:Sn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:o("retry")})]})};class En extends be{constructor(){super(...arguments);wa(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:()=>{this.setState({error:null})}})}return this.props.children}}const cf={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"})]}),magnifierSimple: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:"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"})},lf=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(cf).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})})})})}),qe=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var uf=Symbol.for("preact-signals");function ko(){if(Kt>1)Kt--;else{for(var e,t=!1;Cn!==void 0;){var n=Cn;for(Cn=void 0,$o++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&$s(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if($o=0,Kt--,t)throw e}}var B=void 0,Cn=void 0,Kt=0,$o=0,lr=0;function ks(e){if(B!==void 0){var t=e.n;if(t===void 0||t.t!==B)return t={i:0,S:e,p:B.s,n:void 0,t:B,e:void 0,x:void 0,r:t},B.s!==void 0&&(B.s.n=t),B.s=t,e.n=t,32&B.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=B.s,t.n=void 0,B.s.n=t,B.s=t),t}}function fe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}fe.prototype.brand=uf,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 Eo(function(){var n=t.value,r=B;B=void 0;try{e(n)}finally{B=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(){var e=B;B=void 0;try{return this.value}finally{B=e}},Object.defineProperty(fe.prototype,"value",{get:function(){var e=ks(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if($o>100)throw new Error("Cycle detected");this.v=e,this.i++,lr++,Kt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ko()}}}});function jo(e){return new fe(e)}function $s(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 js(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 Ss(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 qt(e){fe.call(this,void 0),this.x=e,this.s=void 0,this.g=lr-1,this.f=4}(qt.prototype=new fe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===lr))return!0;if(this.g=lr,this.f|=1,this.i>0&&!$s(this))return this.f&=-2,!0;var e=B;try{js(this),B=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 B=e,Ss(this),this.f&=-2,!0},qt.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)},qt.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)}},qt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(qt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=ks(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function df(e){return new qt(e)}function Es(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Kt++;var n=B;B=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,So(e),r}finally{B=n,ko()}}}function So(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Es(e)}function ff(e){if(B!==this)throw new Error("Out-of-order effect");Ss(this),B=e,this.f&=-2,8&this.f&&So(this),ko()}function On(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}On.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()}},On.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Es(this),js(this),Kt++;var e=B;return B=this,ff.bind(this,e)},On.prototype.N=function(){2&this.f||(this.f|=2,this.o=Cn,Cn=this)},On.prototype.d=function(){this.f|=8,1&this.f||So(this)};function Eo(e){var t=new On(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Co;function Gt(e,t){T[e]=t.bind(null,T[e]||function(){})}function ur(e){Co&&Co(),Co=e&&e.S()}function Cs(e){var t=this,n=e.data,r=hf(n);r.value=n;var o=Te(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!ba(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},df(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Cs.displayName="_st",Object.defineProperties(fe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Cs},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Gt("__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)}),Gt("__r",function(e,t){ur();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Eo(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),ur(n),e(t)}),Gt("__e",function(e,t,n,r){ur(),e(t,n,r)}),Gt("diffed",function(e,t){ur();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=pf(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function pf(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=jo(n);return{o:function(a,s){i.value=a,r=s},d:Eo(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Gt("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)}),Gt("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),be.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 hf(e){return Te(function(){return jo(e)},[])}const Rt={keyword$:jo()},dr=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}::${e.keyword??""}`},vf=e=>{const[t,n]=ge(!1);return we(()=>{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},_f=(e,{minViewTime:t=1e3,visibilityThreshold:n=0,onView:r})=>{const[o,i]=ge(!1);we(()=>{if(o||!e.current)return;let a;const s=new IntersectionObserver(l=>l.forEach(u=>{clearTimeout(a),u.isIntersecting&&(a=setTimeout(()=>{i(!0),r()},t))}),{threshold:n});return s.observe(e.current),()=>{s.disconnect(),clearTimeout(a)}},[e,t,n,r,o])},jy="",gf=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)},wf=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const{t:i}=Ke(),[a,s]=ge();return we(()=>{Promise.resolve().then(()=>my).then(l=>s(l.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),we(()=>{a==null||a.render({config:{label:i("create_alert"),headerText:i("alert_header_text")},initialFilters:{},theme:r})},[a,i,r]),we(()=>{a==null||a.setFilters(gf(o))},[o,a]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Os(e,t){for(var n in t)e[n]=t[n];return e}function Oo(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 fr(e,t){this.props=e,this.context=t}function As(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:Oo(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}(fr.prototype=new be).isPureReactComponent=!0,fr.prototype.shouldComponentUpdate=function(e,t){return Oo(this.props,e)||Oo(this.state,t)};var Ts=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ts&&Ts(e)};var mf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ps(e){function t(n){var r=Os({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=mf,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Rs=function(e,t){return e==null?null:Be(Be(e).map(t))},Ds={map:Rs,forEach:Rs,count:function(e){return e?Be(e).length:0},only:function(e){var t=Be(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Be},yf=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)}yf(e,t,n,r)};var Ns=T.unmount;function Ls(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=Os({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ls(r,t,n)})),e}function Ms(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ms(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 An(){this.__u=0,this.t=null,this.__b=null}function Is(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Fs(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 Xt(){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),Ns&&Ns(e)},(An.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Is(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]=Ms(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)},An.prototype.componentWillUnmount=function(){this.t=[]},An.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]=Ls(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 bf(e){return this.getChildContext=function(){return e.context},e.children}function xf(e){var t=this,n=e.i;t.componentWillUnmount=function(){Wt(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)}}),Wt(re(bf,{context:t.context},e.__v),t.l)}function Us(e,t){var n=re(xf,{__v:e,i:t});return n.containerInfo=t,n}(Xt.prototype=new be).__a=function(e){var t=this,n=Is(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()}},Xt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Be(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},Xt.prototype.componentDidUpdate=Xt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Hs(e,n,t)})};var Vs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,kf=/^(?: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]/,$f=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,jf=/[A-Z0-9]/g,Sf=typeof document<"u",Ef=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function zs(e,t,n){return t.__k==null&&(t.textContent=""),Wt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ws(e,t,n){return ao(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Bs=T.event;function Cf(){}function Of(){return this.cancelBubble}function Af(){return this.defaultPrevented}T.event=function(e){return Bs&&(e=Bs(e)),e.persist=Cf,e.isPropagationStopped=Of,e.isDefaultPrevented=Af,e.nativeEvent=e};var Ao,Tf={enumerable:!1,configurable:!0,get:function(){return this.class}},Ys=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||Sf&&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"||Ef(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":$f.test(i)?i=s:r.indexOf("-")===-1&&kf.test(i)?i=i.replace(jf,"-$&").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=Be(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Be(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",Tf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Vs,Ys&&Ys(e)};var Ks=T.__r;T.__r=function(e){Ks&&Ks(e),Ao=e.__c};var qs=T.diffed;T.diffed=function(e){qs&&qs(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),Ao=null};var Gs={ReactCurrentDispatcher:{current:{readContext:function(e){return Ao.__n[e.__c].props.value},useCallback:ht,useContext:jn,useDebugValue:sr,useDeferredValue:Po,useEffect:we,useId:mo,useImperativeHandle:wo,useInsertionEffect:Do,useLayoutEffect:pt,useMemo:Te,useReducer:ar,useRef:Ee,useState:ge,useSyncExternalStore:No,useTransition:Ro}}},Pf="17.0.2";function Xs(e){return re.bind(null,e)}function Tn(e){return!!e&&e.$$typeof===Vs}function Zs(e){return Tn(e)&&e.type===F}function Js(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Qs(e){return Tn(e)?vd.apply(null,arguments):e}function ec(e){return!!e.__k&&(Wt(null,e),!0)}function tc(e){return e&&(e.base||e.nodeType===1&&e)||null}var nc=function(e,t){return e(t)},rc=function(e,t){return e(t)},oc=F;function To(e){e()}function Po(e){return e}function Ro(){return[!1,To]}var Do=pt,ic=Tn;function No(e,t){var n=t(),r=ge({h:{__:n,v:t}}),o=r[0].h,i=r[1];return pt(function(){o.__=n,o.v=t,Lo(o)&&i({h:o})},[e,n,t]),we(function(){return Lo(o)&&i({h:o}),e(function(){Lo(o)&&i({h:o})})},[e]),n}function Lo(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 pr={useState:ge,useId:mo,useReducer:ar,useEffect:we,useLayoutEffect:pt,useInsertionEffect:Do,useTransition:Ro,useDeferredValue:Po,useSyncExternalStore:No,startTransition:To,useRef:Ee,useImperativeHandle:wo,useMemo:Te,useCallback:ht,useContext:jn,useDebugValue:sr,version:"17.0.2",Children:Ds,render:zs,hydrate:Ws,unmountComponentAtNode:ec,createPortal:Us,createElement:re,createContext:nr,createFactory:Xs,cloneElement:Qs,createRef:Ea,Fragment:F,isValidElement:Tn,isElement:ic,isFragment:Zs,isMemo:Js,findDOMNode:tc,Component:be,PureComponent:fr,memo:As,forwardRef:Ps,flushSync:rc,unstable_batchedUpdates:nc,StrictMode:oc,Suspense:An,SuspenseList:Xt,lazy:Fs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gs};const Rf=Object.freeze(Object.defineProperty({__proto__:null,Children:Ds,Component:be,Fragment:F,PureComponent:fr,StrictMode:oc,Suspense:An,SuspenseList:Xt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gs,cloneElement:Qs,createContext:nr,createElement:re,createFactory:Xs,createPortal:Us,createRef:Ea,default:pr,findDOMNode:tc,flushSync:rc,forwardRef:Ps,hydrate:Ws,isElement:ic,isFragment:Zs,isMemo:Js,isValidElement:Tn,lazy:Fs,memo:As,render:zs,startTransition:To,unmountComponentAtNode:ec,unstable_batchedUpdates:nc,useCallback:ht,useContext:jn,useDebugValue:sr,useDeferredValue:Po,useEffect:we,useErrorBoundary:Qd,useId:mo,useImperativeHandle:wo,useInsertionEffect:Do,useLayoutEffect:pt,useMemo:Te,useReducer:ar,useRef:Ee,useState:ge,useSyncExternalStore:No,useTransition:Ro,version:Pf},Symbol.toStringTag,{value:"Module"}));var hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nf(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Mo={exports:{}},Io={};const ac=Nf(Rf);/**
1
+ var Cy=Object.defineProperty;var Oy=(ye,Ce,Et)=>Ce in ye?Cy(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ye[Ce]=Et;var ya=(ye,Ce,Et)=>(Oy(ye,typeof Ce!="symbol"?Ce+"":Ce,Et),Et);(function(){"use strict";var ye=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function Ce(e,t){if(!e)throw new Error(t)}function Et(e,t){return e in t}var ba=e=>e,yn,P,xa,ka,Ct,$a,ja,to,no,ro,oo,Sa,bn={},Ea=[],dd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,er=Array.isArray;function qe(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?yn.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 xn(e,a,r,o,null)}function xn(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??++xa,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function Oa(){return{current:null}}function F(e){return e.children}function be(e,t){this.props=e,this.context=t}function Ot(e,t){if(t==null)return e.__?Ot(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"?Ot(e):null}function Aa(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 Aa(e)}}function io(e){(!e.__d&&(e.__d=!0)&&Ct.push(e)&&!tr.__r++||$a!==P.debounceRendering)&&(($a=P.debounceRendering)||ja)(tr)}function tr(){var e,t,n,r,o,i,a,s;for(Ct.sort(to);e=Ct.shift();)e.__d&&(t=Ct.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=qe({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),ao(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Ot(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Na(a,r,s),r.__e!=i&&Aa(r)),Ct.length>t&&Ct.sort(to));tr.__r=0}function Ta(e,t,n,r,o,i,a,s,l,u,p){var c,f,d,_,h,m=r&&r.__k||Ea,v=t.length;for(n.__d=l,fd(n,t,m),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(f=d.__i===-1?bn:m[d.__i]||bn,d.__i=c,ao(e,d,f,o,i,a,s,l,u,p),_=d.__e,d.ref&&f.ref!=d.ref&&(f.ref&&so(f.ref,null,d),p.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||f.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Ot(f)),l=Pa(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function fd(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,p=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?xn(null,o,null,null,null):er(o)?xn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?xn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=pd(o,n,a,p),o.__i=s,i=null,s!==-1&&(p--,(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?p>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=Ot(i)),co(i,i,!1),n[a]=null,p--);if(p)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Ot(i)),co(i,i))}function Pa(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=Pa(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 Ge(e,t){return t=t||[],e==null||typeof e=="boolean"||(er(e)?e.some(function(n){Ge(n,t)}):t.push(e)),t}function pd(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 Ra(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||dd.test(t)?n:n+"px"}function nr(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||Ra(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ra(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=no,e.addEventListener(t,i?oo:ro,i)):e.removeEventListener(t,i?oo:ro,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 Da(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=no++;else if(t.t<n.u)return;return n(P.event?P.event(t):t)}}}function ao(e,t,n,r,o,i,a,s,l,u){var p,c,f,d,_,h,m,v,w,x,y,b,k,S,j,O,$=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(p=P.__b)&&p(t);e:if(typeof $=="function")try{if(v=t.props,w="prototype"in $&&$.prototype.render,x=(p=$.contextType)&&r[p.__c],y=p?x?x.props.value:p.__:r,n.__c?m=(c=t.__c=n.__c).__=c.__E:(w?t.__c=c=new $(v,y):(t.__c=c=new be(v,y),c.constructor=$,c.render=vd),x&&x.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,f=c.__d=!0,c.__h=[],c._sb=[]),w&&c.__s==null&&(c.__s=c.state),w&&$.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=qe({},c.__s)),qe(c.__s,$.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=t,f)w&&$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),w&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(w&&$.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,y)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),w&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=e,c.__e=!1,k=P.__r,S=0,w){for(c.state=c.__s,c.__d=!1,k&&k(t),p=c.render(c.props,c.state,c.context),j=0;j<c._sb.length;j++)c.__h.push(c._sb[j]);c._sb=[]}else do c.__d=!1,k&&k(t),p=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++S<25);c.state=c.__s,c.getChildContext!=null&&(r=qe(qe({},r),c.getChildContext())),w&&!f&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Ta(e,er(O=p!=null&&p.type===F&&p.key==null?p.props.children:p)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),m&&(c.__E=c.__=null)}catch(A){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),P.__e(A,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=hd(n.__e,t,n,r,o,i,a,l,u);(p=P.diffed)&&p(t)}function Na(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)so(n[r],n[++r],n[++r]);P.__c&&P.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function hd(e,t,n,r,o,i,a,s,l){var u,p,c,f,d,_,h,m=n.props,v=t.props,w=t.type;if(w==="svg"?o="http://www.w3.org/2000/svg":w==="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==!!w&&(w?d.localName===w:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(w===null)return document.createTextNode(v);e=document.createElementNS(o,w,v.is&&v),i=null,s=!1}if(w===null)m===v||s&&e.data===v||(e.data=v);else{if(i=i&&yn.call(e.childNodes),m=n.props||bn,!s&&i!=null)for(m={},u=0;u<e.attributes.length;u++)m[(d=e.attributes[u]).name]=d.value;for(u in m)if(d=m[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;nr(e,u,null,d,o)}}for(u in v)d=v[u],u=="children"?f=d:u=="dangerouslySetInnerHTML"?p=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||m[u]===d||nr(e,u,d,m[u],o);if(p)s||c&&(p.__html===c.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ta(e,er(f)?f:[f],t,n,r,w==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Ot(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Ca(i[u]);s||(u="value",_!==void 0&&(_!==e[u]||w==="progress"&&!_||w==="option"&&_!==m[u])&&nr(e,u,_,m[u],o),u="checked",h!==void 0&&h!==e[u]&&nr(e,u,h,m[u],o))}return e}function so(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){P.__e(r,n)}}function co(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||so(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&co(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 vd(e,t,n){return this.constructor(e,n)}function Bt(e,t,n){var r,o,i,a;P.__&&P.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],ao(t,e=(!r&&n||t).__k=re(F,null,[e]),o||bn,bn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?yn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Na(i,e,a)}function lo(e,t){Bt(e,t,lo)}function _d(e,t,n){var r,o,i,a,s=qe({},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?yn.call(arguments,2):n),xn(e.type,s,r||e.key,o||e.ref,null)}function rr(e,t){var n={__c:t="__cC"+Sa++,__: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,io(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}yn=Ea.slice,P={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},xa=0,ka=function(e){return e!=null&&e.constructor==null},be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=qe({},this.state),typeof e=="function"&&(e=e(qe({},n),this.props)),e&&qe(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),io(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),io(this))},be.prototype.render=F,Ct=[],ja=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,to=function(e,t){return e.__v.__b-t.__v.__b},tr.__r=0,no=0,ro=Da(!1),oo=Da(!0),Sa=0;var La=/[\s\n\\/='"\0<>]/,Ma=/^(xlink|xmlns|xml)([A-Z])/,gd=/^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]/,md=/^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/,wd=/["&<]/;function or(e){if(e.length===0||wd.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var Ia={},yd=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"]),bd=/[A-Z]/g;function xd(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ia[n]||(Ia[n]=n.replace(bd,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||yd.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var uo,At,kn,$n,Fa=[],Ha=Array.isArray,fo=Object.assign;function kd(e,t,n){var r=P.__s;P.__s=!0,uo=P.__b,At=P.diffed,kn=P.__r,$n=P.unmount;var o=re(F,null);o.__k=[e];try{var i=Ie(e,t||Va,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{P.__c&&P.__c(e,Fa),P.__s=r,Fa.length=0}}function Ua(){this.__d=!0}var Va={};function za(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=Va),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=fo({},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(),kn&&kn(e),n.render(n.props,n.state,t)}function Ie(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":or(e+"");if(Ha(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var p=e[u];if(p!=null&&typeof p!="boolean"){var c,f=Ie(p,t,n,r,o,i,a);typeof f=="string"?l+=f:(s=s||[],l&&s.push(l),l="",Array.isArray(f)?(c=s).push.apply(c,f):s.push(f))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,uo&&uo(e);var d,_,h,m=e.type,v=e.props,w=t;if(typeof m=="function"){if(m===F){if(v.tpl){for(var x="",y=0;y<v.tpl.length;y++)if(x+=v.tpl[y],v.exprs&&y<v.exprs.length){var b=v.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!Ha(b)?x+=b:x+=Ie(b,t,n,r,e,i,a)}return x}if(v.UNSTABLE_comment)return"<!--"+or(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=m.contextType)!=null){var k=t[d.__c];w=k?k.props.value:d.__}if(m.prototype&&typeof m.prototype.render=="function")_=za(e,w),h=e.__c;else{e.__c=h={__v:e,props:v,context:w,setState:Ua,forceUpdate:Ua,__d:!0,__h:[]};for(var S=0;h.__d&&S++<25;)h.__d=!1,kn&&kn(e),_=m.call(h,v,w);h.__d=!0}if(h.getChildContext!=null&&(t=fo({},t,h.getChildContext())),(m.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var j="";_=_!=null&&_.type===F&&_.key==null?_.props.children:_;try{return j=Ie(_,t,n,r,e,i,a)}catch(q){return m.getDerivedStateFromError&&(h.__s=m.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(_=za(e,t),(h=e.__c).getChildContext!=null&&(t=fo({},t,h.getChildContext())),j=Ie(_=_!=null&&_.type===F&&_.key==null?_.props.children:_,t,n,r,e,i,a)),j}finally{At&&At(e),e.__=null,$n&&$n(e)}}}_=_!=null&&_.type===F&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var O=Ie(_,t,n,r,e,i,a);return At&&At(e),e.__=null,P.unmount&&P.unmount(e),O}catch(q){if(!i&&a&&a.onError){var $=a.onError(q,e,function(ce){return Ie(ce,t,n,r,e,i,a)});if($!==void 0)return $;var A=P.__e;return A&&A(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function ce(){try{return Ie(_,t,n,r,e,i,a)}catch(de){if(!de||typeof de.then!="function")throw de;return de.then(function(){return Ie(_,t,n,r,e,i,a)},function(){return ce()})}};return q.then(function(){return I()})}}var L,N="<"+m,M="";for(var E in v){var C=v[E];switch(E){case"children":L=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;E="for";break;case"className":if("class"in v)continue;E="class";break;case"defaultChecked":E="checked";break;case"defaultSelected":E="selected";break;case"defaultValue":case"value":switch(E="value",m){case"textarea":L=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in v||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=C&&C.__html;continue;case"style":typeof C=="object"&&(C=xd(C));break;case"acceptCharset":E="accept-charset";break;case"httpEquiv":E="http-equiv";break;default:if(Ma.test(E))E=E.replace(Ma,"$1:$2").toLowerCase();else{if(La.test(E))continue;E[4]!=="-"&&E!=="draggable"||C==null?n?md.test(E)&&(E=E==="panose1"?"panose-1":E.replace(/([A-Z])/g,"-$1").toLowerCase()):gd.test(E)&&(E=E.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(N=C===!0||C===""?N+" "+E:N+" "+E+'="'+or(C+"")+'"')}if(La.test(m))throw new Error(m+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=or(L):L!=null&&L!==!1&&L!==!0&&(M=Ie(L,t,m==="svg"||m!=="foreignObject"&&n,r,e,i,a))),At&&At(e),e.__=null,$n&&$n(e),!M&&$d.has(m))return N+"/>";var U="</"+m+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var $d=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),po="RFC3986",ho={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},jd="RFC1738",Sd=Array.isArray,Fe=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),vo=1024,Ed=(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+=vo){const l=i.length>=vo?i.slice(s,s+vo):i,u=[];for(let p=0;p<l.length;++p){let c=l.charCodeAt(p);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===jd&&(c===40||c===41)){u[u.length]=l.charAt(p);continue}if(c<128){u[u.length]=Fe[c];continue}if(c<2048){u[u.length]=Fe[192|c>>6]+Fe[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Fe[224|c>>12]+Fe[128|c>>6&63]+Fe[128|c&63];continue}p+=1,c=65536+((c&1023)<<10|l.charCodeAt(p)&1023),u[u.length]=Fe[240|c>>18]+Fe[128|c>>12&63]+Fe[128|c>>6&63]+Fe[128|c&63]}a+=u.join("")}return a};function Cd(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Wa(e,t){if(Sd(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var Od=Object.prototype.hasOwnProperty,Ba={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},He=Array.isArray,Ad=Array.prototype.push,Ya=function(e,t){Ad.apply(e,He(t)?t:[t])},Td=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Ed,encodeValuesOnly:!1,format:po,formatter:ho[po],indices:!1,serializeDate(e){return Td.call(e)},skipNulls:!1,strictNullHandling:!1};function Pd(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var _o={};function Ka(e,t,n,r,o,i,a,s,l,u,p,c,f,d,_,h,m,v){let w=e,x=v,y=0,b=!1;for(;(x=x.get(_o))!==void 0&&!b;){const $=x.get(e);if(y+=1,typeof $<"u"){if($===y)throw new RangeError("Cyclic object value");b=!0}typeof x.get(_o)>"u"&&(y=0)}if(typeof u=="function"?w=u(t,w):w instanceof Date?w=f==null?void 0:f(w):n==="comma"&&He(w)&&(w=Wa(w,function($){return $ instanceof Date?f==null?void 0:f($):$})),w===null){if(i)return l&&!h?l(t,ie.encoder,m,"key",d):t;w=""}if(Pd(w)||Cd(w)){if(l){const $=h?t:l(t,ie.encoder,m,"key",d);return[(_==null?void 0:_($))+"="+(_==null?void 0:_(l(w,ie.encoder,m,"value",d)))]}return[(_==null?void 0:_(t))+"="+(_==null?void 0:_(String(w)))]}const k=[];if(typeof w>"u")return k;let S;if(n==="comma"&&He(w))h&&l&&(w=Wa(w,l)),S=[{value:w.length>0?w.join(",")||null:void 0}];else if(He(u))S=u;else{const $=Object.keys(w);S=p?$.sort(p):$}const j=s?String(t).replace(/\./g,"%2E"):String(t),O=r&&He(w)&&w.length===1?j+"[]":j;if(o&&He(w)&&w.length===0)return O+"[]";for(let $=0;$<S.length;++$){const A=S[$],I=typeof A=="object"&&typeof A.value<"u"?A.value:w[A];if(a&&I===null)continue;const L=c&&s?A.replace(/\./g,"%2E"):A,N=He(w)?typeof n=="function"?n(O,L):O:O+(c?"."+L:"["+L+"]");v.set(e,y);const M=new WeakMap;M.set(_o,v),Ya(k,Ka(I,N,n,r,o,i,a,s,n==="comma"&&h&&He(w)?null:l,u,p,c,f,d,_,h,m,M))}return k}function Rd(e=ie){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||ie.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=po;if(typeof e.format<"u"){if(!Od.call(ho,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=ho[n];let o=ie.filter;(typeof e.filter=="function"||He(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in Ba?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ie.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:ie.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ie.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ie.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ie.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ie.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ie.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ie.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ie.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ie.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ie.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ie.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ie.strictNullHandling}}function qa(e,t={}){let n=e;const r=Rd(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):He(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=Ba[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const u=new WeakMap;for(let f=0;f<o.length;++f){const d=o[f];r.skipNulls&&n[d]===null||Ya(a,Ka(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 p=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&"),p.length>0?c+p:""}var ir=class extends Error{constructor(t){super(t[0].message);ya(this,"issues");this.name="ValiError",this.issues=t}};function Ga(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function jn(e){return{issues:e}}function Tt(e){return{output:e}}function Dd(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 Nd(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 ut(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return Tt(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Nd(n,r);for(const u of l.issues){const p=Dd(o,u);i?i.push(p):i=[p]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?jn(i):Tt(a)}function dt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Xa(e){return typeof e=="function"?e():e}function Ld(e,t,n,r){return jn([{validation:e,message:Xa(t),input:n,requirement:r}])}function Md(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=dt(t,n);return[e,i,a]}const[r,o]=dt(e,t);return[void 0,r,o]}function ft(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Xa(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 Za(e){return typeof e.default=="function"?e.default():e.default}function Id(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ut(t,this.pipe,n,"any")}}}function Ja(e,t,n){const[r="Invalid type",o]=dt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return ft(a,"type","array",this.message,i);let s;const l=[];for(let u=0;u<i.length;u++){const p=i[u],c=this.item._parse(p,a);if(c.issues){const f={type:"array",input:i,key:u,value:p};for(const d of c.issues)d.path?d.path.unshift(f):d.path=[f],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else l.push(c.output)}return s?jn(s):ut(l,this.pipe,a,"array")}}}function Qa(e,t){const[n="Invalid type",r]=dt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?ft(i,"type","boolean",this.message,o):ut(o,this.pipe,i,"boolean")}}}function pt(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?ft(r,"type","literal",this.message,n):Tt(n)}}}function xe(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=Za(this);if(o===void 0)return Tt(n);n=o}return this.wrapped._parse(n,r)}}}function Yt(e,t){const[n="Invalid type",r]=dt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?ft(i,"type","number",this.message,o):ut(o,this.pipe,i,"number")}}}function ar(e,t,n,r){const[o,i="Invalid type",a]=Md(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 ft(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let p;const c={};for(const[f,d]of s){const _=l[f],h=d._parse(_,u);if(h.issues){const m={type:"object",input:l,key:f,value:_};for(const v of h.issues)v.path?v.path.unshift(m):v.path=[m],p==null||p.push(v);if(p||(p=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||f in l)&&(c[f]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&p)){for(const f in l)if(!(f in this.entries)){const d=l[f],_=this.rest._parse(d,u);if(_.issues){const h={type:"object",input:l,key:f,value:d};for(const m of _.issues)m.path?m.path.unshift(h):m.path=[h],p==null||p.push(m);if(p||(p=_.issues),u!=null&&u.abortEarly)break}else c[f]=_.output}}return p?jn(p):ut(c,this.pipe,u,"object")}}}function sr(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=Za(this);if(o===void 0)return Tt(n);n=o}return this.wrapped._parse(n,r)}}}function Q(e,t){const[n="Invalid type",r]=dt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?ft(i,"type","string",this.message,o):ut(o,this.pipe,i,"string")}}}function Fd(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=dt(n,r);return[e,t,a,s]}const[o,i]=dt(t,n);return[Q(),e,o,i]}var Hd=["__proto__","prototype","constructor"];function es(e,t,n,r){const[o,i,a="Invalid type",s]=Fd(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 ft(u,"type","record",this.message,l);let p;const c={};for(const[f,d]of Object.entries(l))if(!Hd.includes(f)){let _;const h=this.key._parse(f,{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){_={type:"record",input:l,key:f,value:d};for(const v of h.issues)v.path=[_],p==null||p.push(v);if(p||(p=h.issues),u!=null&&u.abortEarly)break}const m=this.value._parse(d,u);if(m.issues){_=_||{type:"record",input:l,key:f,value:d};for(const v of m.issues)v.path?v.path.unshift(_):v.path=[_],p==null||p.push(v);if(p||(p=m.issues),u!=null&&u.abortEarly)break}!h.issues&&!m.issues&&(c[h.output]=m.output)}return p?jn(p):ut(c,this.pipe,u,"record")}}}function ts(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?Tt(i[0]):ft(r,"type","union",this.message,n,o)}}}function ns(e,t,n){const r=e._parse(t,n);if(r.issues)throw new ir(r.issues);return r.output}function Ud(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new ir(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function rs(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):ut(a,n,o,typeof a)}}}function Vd(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)?Tt(t):Ld(this.type,this.message,t,this.requirement)}}}const os="inploi-job-search",is="ijs",Pt=10,as={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},zd=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 e.t("competitive");if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return e.t("invalid_salary");const o=t.pay_type&&t.pay_type in as?as[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?e.t("up_to")+" "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?e.t("from")+" "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):e.t("invalid_salary")},Wd=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),Bd=({from:e=new Date,to:t,formatter:n=Wd,t:r})=>{const i=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),a={days:Math.round(i/1e3/60/60/24),months:Math.round(i/1e3/60/60/24/30)};return a.days===0?r("today"):Math.abs(a.days)<30?n.format(a.days,"days"):Math.abs(a.days)<3?n.format(a.months,"months"):a.months<0?r("over_30_days_ago"):r("in_over_30_days")},Yd=es(Ja(ar({label:Ga(Q(),String),value:Ga(Q(),String),jobs:Yt()}))),Kd=Q([Vd()]),qd=ar({total:Yt(),current_page:Yt(),per_page:Yt(),last_page:Yt()}),Gd=ar({id:Yt(),company_name:Q(),company_logo:xe(sr(Q())),employment_type:Q(),location_type:ts([pt("LOCATION"),pt("REMOTE"),pt("HYBRID")]),pay_type:xe(ts([pt("ANNUALLY"),pt("HOURLY"),pt("MONTHLY"),pt("WEEKLY"),pt("DAILY")])),pay_currency:Q(),pay_mask:Qa(),pay_display:Qa(),pay:xe(Q()),pay_min:xe(Q()),pay_max:xe(Q()),description:Q(),title:Q(),contract_type:xe(Q()),created_at:xe(Q()),custom_data:xe(es(Id())),href:Q(),industry:xe(Q()),category:xe(Q()),skills:sr(Q()),town:sr(Q()),city:xe(Q()),country:xe(Q()),vector_distance:sr(xe(Q()))}),Xd=e=>rs(Gd,t=>{const n=Ud(Kd,t.company_logo);return{id:t.id,createdAt:t.created_at,company:{name:t.company_name,logo:n.success?n.output:null},employmentType:t.employment_type,locationType:t.location_type,pay:zd({salary:t,config:{locales:void 0},t:e})??null,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Bd({to:new Date(t.created_at),t:e}):"INVALID DATE",customData:t.custom_data,raw:t,match:t.vector_distance&&parseFloat(t.vector_distance)<.15?e("great_match"):null}}),Zd=e=>rs(ar({data:Ja(Xd(e)),pagination:qd}),t=>({pagination:t.pagination,results:t.data})),Jd=e=>!e||Array.isArray(e)&&e.length===0?null:e,ss=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Jd(n==null?void 0:n.value)])),cs=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(qa({filters:ss(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return ns(Yd,s)}catch(i){throw i instanceof ir?r.error(i.message,i.issues):r.error(i),i}},ls=async({apiClient:e,logger:t,signal:n,filters:r,query:o,page:i=1,t:a,mode:s})=>{try{const l=new URLSearchParams(qa({filters:ss(r)}));l.set("page",i.toString()),l.set("per_page",Pt.toString()),l.set("query",o||""),l.set("mode",s);const u=await e.fetch(["/search/results",l.toString()].filter(Boolean).join("?"),{signal:n});return ns(Zd(a),u)}catch(l){throw l instanceof ir?t.error(l.message,l.issues):t.error(l),l}},go=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")},mo={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Qd=0;function g(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:--Qd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}function us(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=us(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Sn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=us(e))&&(r&&(r+=" "),r+=t);return r}var Xe,W,wo,ds,Kt=0,fs=[],ee=P,ps=ee.__b,hs=ee.__r,vs=ee.diffed,_s=ee.__c,gs=ee.unmount,ms=ee.__;function Rt(e,t){ee.__h&&ee.__h(W,e,Kt||t),Kt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ae(e){return Kt=1,cr(ys,e)}function cr(e,t,n){var r=Rt(Xe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ys(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 p=r.__c.__H.__.filter(function(f){return!!f.__c});if(p.every(function(f){return!f.__N}))return!i||i.call(this,s,l,u);var c=!1;return p.forEach(function(f){if(f.__N){var d=f.__[0];f.__=f.__N,f.__N=void 0,d!==f.__[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 p=i;i=void 0,o(s,l,u),i=p}a&&a.call(this,s,l,u)},W.shouldComponentUpdate=o}return r.__N||r.__}function pe(e,t){var n=Rt(Xe++,3);!ee.__s&&ko(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function ht(e,t){var n=Rt(Xe++,4);!ee.__s&&ko(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ke(e){return Kt=5,Pe(function(){return{current:e}},[])}function yo(e,t,n){Kt=6,ht(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 Pe(e,t){var n=Rt(Xe++,7);return ko(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function vt(e,t){return Kt=8,Pe(function(){return e},t)}function En(e){var t=W.context[e.__c],n=Rt(Xe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function lr(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ef(e){var t=Rt(Xe++,10),n=ae();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 bo(){var e=Rt(Xe++,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 tf(){for(var e;e=fs.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ur),e.__H.__h.forEach(xo),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){W=null,ps&&ps(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ms&&ms(e,t)},ee.__r=function(e){hs&&hs(e),Xe=0;var t=(W=e.__c).__H;t&&(wo===W?(t.__h=[],W.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(ur),t.__h.forEach(xo),t.__h=[],Xe=0)),wo=W},ee.diffed=function(e){vs&&vs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fs.push(t)!==1&&ds===ee.requestAnimationFrame||((ds=ee.requestAnimationFrame)||nf)(tf)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),wo=W=null},ee.__c=function(e,t){t.some(function(n){try{n.__h.forEach(ur),n.__h=n.__h.filter(function(r){return!r.__||xo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(r,n.__v)}}),_s&&_s(e,t)},ee.unmount=function(e){gs&&gs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{ur(r)}catch(o){t=o}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var ws=typeof requestAnimationFrame=="function";function nf(e){var t,n=function(){clearTimeout(r),ws&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ws&&(t=requestAnimationFrame(n))}function ur(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function xo(e){var t=W;e.__c=e.__(),W=t}function ko(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ys(e,t){return typeof t=="function"?t(e):t}const rf=e=>{const t=rr(null);return{TranslationProvider:({terms:n,children:r})=>g(t.Provider,{value:{terms:e,overrides:n},children:r}),useTranslation:()=>{const n=En(t);if(n===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:Pe(()=>bs(n),[n])}},createTFunction:n=>bs({terms:e,overrides:n})}},bs=({terms:e,overrides:t})=>{function n(r,o){const i=(t==null?void 0:t[r])??e[r];switch(typeof i){case"string":return i.replace("{{count}}",String(o==null?void 0:o.count));case"object":{if(typeof(o==null?void 0:o.count)!="number")throw new Error(`Missing count for translation key “${r.toString()}”`);return o.count!==1?i.other.replace("{{count}}",String(o.count)):i.one.replace("{{count}}",String(o.count))}default:throw new Error(`Invalid translation value in dictionary for key “${r.toString()}”.`)}}return n},{TranslationProvider:of,useTranslation:Re,createTFunction:af}=rf({type_to_search_jobs:"Type to search jobs",type_to_search:"Type to search",jobs_found:{one:"{{count}} job found",other:"{{count}} jobs found"},no_jobs_found:"No jobs found",no_jobs_found_description:"We could not find any jobs matching your filtering criteria.",jobs_loading_error:"We’re having trouble loading available jobs.",filters_loading_error:"We’re having trouble loading available filters.",no_filter_options_available:"No filter options available.",clear:"Clear",selected:"selected",done:"Done",skip:"Skip",new:"NEW",posted:"Posted",retry:"Retry",widget_unavailable:"Sorry, this widget is unavailable at the moment.",load_more_count:"Load {{count}} more",of_remaining_count:"of {{count}} remaining",create_alert:"Create alert",alert_header_text:"You will be alerted for new jobs matching the filters currently set",today:"today",over_30_days_ago:"over 30 days ago",in_over_30_days:"in over 30 days",up_to:"Up to",from:"From",invalid_salary:"Invalid salary",competitive:"Competitive",natural_language_input:"Type anything",great_match:"Great match",advanced_mode:"Filters",simple_mode:"Hide filters",ai_disclaimer:"Results may not be perfect. AI-powered search can occasionally suggest unrelated content."});function xs(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=xs(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function $o(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=xs(e))&&(r&&(r+=" "),r+=t);return r}const ks=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,sf=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"]($o(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete($o(i)):$o(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[p]=u;return!["class","className"].includes(p)}));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(f=>{const d=i==null?void 0:i[f],_=l==null?void 0:l[f],h=ks(d)||ks(_);return s[f][h]}),p={...l,...i&&Object.entries(i).reduce((f,d)=>{let[_,h]=d;return typeof h>"u"?f:{...f,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((f,d)=>{let{class:_,className:h,...m}=d;return Object.entries(m).every(v=>{let[w,x]=v;const y=p[w];return Array.isArray(x)?x.includes(y):y===x})?[...f,_,h]:f},[]);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:Ay,cva:De,cx:Ty}=sf(),Dt=De({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive flex cursor-pointer items-center 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:"",only:""},position:{relative:"relative",absolute:"absolute"},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"},{size:"lg",icon:"only",class:"px-2 py-2"},{size:"sm",icon:"only",class:"px-1 py-1"}],defaultVariants:{variant:"neutral",icon:"none",position:"relative",size:"sm"}}),cf=({error:e,resetError:t})=>{const{t:n}=Re();return g("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:[g("p",{children:e.message}),g("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:n("retry")})]})},_t=({error:e,resetError:t,class:n,...r})=>{const{t:o}=Re();return g("div",{class:Sn("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:o("widget_unavailable")}),g("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),g("button",{class:Dt({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:o("retry")})]})};class Cn extends be{constructor(){super(...arguments);ya(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 g(n,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const lf={briefcase:g(F,{children:[g("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"}),g("path",{d:"M4.75 11.75H19.25"}),g("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),g("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:g(F,{children:[g("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"}),g("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"}),g("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),g("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),g("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),g("circle",{cx:"18.75",cy:"12",r:"2"}),g("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:g(F,{children:[g("path",{d:"M16.75 10.25H13.75"}),g("path",{d:"M16.75 13.25H13.75"}),g("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"}),g("path",{d:"M10.25 12.25V18.25"})]}),circles:g(F,{children:[g("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"}),g("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:g(F,{children:[g("path",{d:"M14 9L12 13L9.5 12"}),g("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:g(F,{children:g("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:g(F,{children:[g("path",{d:"M5 13.75H19"}),g("path",{d:"M5 10.25H19"}),g("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"}),g("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:g(F,{children:[g("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"}),g("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"}),g("path",{d:"M16 16L19 19"})]}),magnifierSimple:g(F,{children:[g("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"}),g("path",{d:"M16 16L19 19"})]}),mapPin:g(F,{children:g(F,{children:[g("circle",{cx:"12",cy:"9",r:"2"}),g("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"}),g("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:g(F,{children:[g("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),g("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:g(F,{children:[g("path",{d:"M18.5 8.5L17.5 9.5"}),g("path",{d:"M5.5 8.5L6.5 9.5"}),g("path",{d:"M12 6L12 7.5"}),g("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"}),g("path",{d:"M20.25 15.25H12H3.75"}),g("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:g("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:g("path",{d:"M12 8V16M8 12H16"}),"chevron-right":g("path",{d:"M11 8L15 12L11 16"}),ai:g("path",{d:"M8.3 14.5c3.4 0 5.2-1.7 5.2-5.2 0 3.5 1.8 5.2 5.3 5.2-3.6 0-5.3 1.7-5.3 5.1 0-3.4-1.8-5.1-5.3-5.1ZM5 7.5c2.3 0 3.5-1.2 3.5-3.5 0 2.3 1.2 3.4 3.5 3.4-2.3 0-3.5 1.2-3.5 3.5 0-2.3-1.2-3.5-3.5-3.5Z",fill:"currentColor"})},uf=({theme:e})=>g("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:g("defs",{children:Object.entries(lf).map(([t,n])=>{var r;return g("symbol",{id:`i-icon-${t}`,children:g("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})})})})}),$e=({name:e,...t})=>g("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:g("use",{href:`#i-icon-${e}`})});var df=Symbol.for("preact-signals");function jo(){if(qt>1)qt--;else{for(var e,t=!1;On!==void 0;){var n=On;for(On=void 0,So++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&js(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(So=0,qt--,t)throw e}}var B=void 0,On=void 0,qt=0,So=0,dr=0;function $s(e){if(B!==void 0){var t=e.n;if(t===void 0||t.t!==B)return t={i:0,S:e,p:B.s,n:void 0,t:B,e:void 0,x:void 0,r:t},B.s!==void 0&&(B.s.n=t),B.s=t,e.n=t,32&B.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=B.s,t.n=void 0,B.s.n=t,B.s=t),t}}function he(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}he.prototype.brand=df,he.prototype.h=function(){return!0},he.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)},he.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)}},he.prototype.subscribe=function(e){var t=this;return Co(function(){var n=t.value,r=B;B=void 0;try{e(n)}finally{B=r}})},he.prototype.valueOf=function(){return this.value},he.prototype.toString=function(){return this.value+""},he.prototype.toJSON=function(){return this.value},he.prototype.peek=function(){var e=B;B=void 0;try{return this.value}finally{B=e}},Object.defineProperty(he.prototype,"value",{get:function(){var e=$s(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(So>100)throw new Error("Cycle detected");this.v=e,this.i++,dr++,qt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{jo()}}}});function fr(e){return new he(e)}function js(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 Ss(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 Es(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 Gt(e){he.call(this,void 0),this.x=e,this.s=void 0,this.g=dr-1,this.f=4}(Gt.prototype=new he).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&&!js(this))return this.f&=-2,!0;var e=B;try{Ss(this),B=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 B=e,Es(this),this.f&=-2,!0},Gt.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)}he.prototype.S.call(this,e)},Gt.prototype.U=function(e){if(this.t!==void 0&&(he.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)}},Gt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(Gt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=$s(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function ff(e){return new Gt(e)}function Cs(e){var t=e.u;if(e.u=void 0,typeof t=="function"){qt++;var n=B;B=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Eo(e),r}finally{B=n,jo()}}}function Eo(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Cs(e)}function pf(e){if(B!==this)throw new Error("Out-of-order effect");Es(this),B=e,this.f&=-2,8&this.f&&Eo(this),jo()}function An(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}An.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()}},An.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Cs(this),Ss(this),qt++;var e=B;return B=this,pf.bind(this,e)},An.prototype.N=function(){2&this.f||(this.f|=2,this.o=On,On=this)},An.prototype.d=function(){this.f|=8,1&this.f||Eo(this)};function Co(e){var t=new An(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Oo;function Xt(e,t){P[e]=t.bind(null,P[e]||function(){})}function pr(e){Oo&&Oo(),Oo=e&&e.S()}function Os(e){var t=this,n=e.data,r=vf(n);r.value=n;var o=Pe(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!ka(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},ff(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Os.displayName="_st",Object.defineProperties(he.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Os},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Xt("__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 he&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),Xt("__r",function(e,t){pr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Co(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),pr(n),e(t)}),Xt("__e",function(e,t,n,r){pr(),e(t,n,r)}),Xt("diffed",function(e,t){pr();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],p=r[l];u===void 0?(u=hf(n,l,p,o),i[l]=u):u.o(p,o)}}}e(t)});function hf(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=fr(n);return{o:function(a,s){i.value=a,r=s},d:Co(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Xt("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)}),Xt("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),be.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 vf(e){return Pe(function(){return fr(e)},[])}const Ue={keyword$:fr(),mode$:fr("simple")},hr=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}::${e.keyword??""}`},_f=e=>{const[t,n]=ae(!1);return pe(()=>{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},gf=(e,{minViewTime:t=1e3,visibilityThreshold:n=0,onView:r})=>{const[o,i]=ae(!1);pe(()=>{if(o||!e.current)return;let a;const s=new IntersectionObserver(l=>l.forEach(u=>{clearTimeout(a),u.isIntersecting&&(a=setTimeout(()=>{i(!0),r()},t))}),{threshold:n});return s.observe(e.current),()=>{s.disconnect(),clearTimeout(a)}},[e,t,n,r,o])},Py="",mf=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)},wf=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const{t:i}=Re(),[a,s]=ae();return pe(()=>{Promise.resolve().then(()=>Sy).then(l=>s(l.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),pe(()=>{a==null||a.render({config:{label:i("create_alert"),headerText:i("alert_header_text")},initialFilters:{},theme:r})},[a,i,r]),pe(()=>{a==null||a.setFilters(mf(o))},[o,a]),g("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function As(e,t){for(var n in t)e[n]=t[n];return e}function Ao(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function vr(e,t){this.props=e,this.context=t}function Ts(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:Ao(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}(vr.prototype=new be).isPureReactComponent=!0,vr.prototype.shouldComponentUpdate=function(e,t){return Ao(this.props,e)||Ao(this.state,t)};var Ps=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ps&&Ps(e)};var yf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Rs(e){function t(n){var r=As({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=yf,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ds=function(e,t){return e==null?null:Ge(Ge(e).map(t))},Ns={map:Ds,forEach:Ds,count:function(e){return e?Ge(e).length:0},only:function(e){var t=Ge(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ge},bf=P.__e;P.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}bf(e,t,n,r)};var Ls=P.unmount;function Ms(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=As({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ms(r,t,n)})),e}function Is(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Is(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 Tn(){this.__u=0,this.t=null,this.__b=null}function Fs(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Hs(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 Zt(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ls&&Ls(e)},(Tn.prototype=new be).__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]=Is(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)},Tn.prototype.componentWillUnmount=function(){this.t=[]},Tn.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]=Ms(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 Us=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 xf(e){return this.getChildContext=function(){return e.context},e.children}function kf(e){var t=this,n=e.i;t.componentWillUnmount=function(){Bt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],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)}}),Bt(re(xf,{context:t.context},e.__v),t.l)}function Vs(e,t){var n=re(kf,{__v:e,i:t});return n.containerInfo=t,n}(Zt.prototype=new be).__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),Us(t,e,r)):o()};n?n(i):i()}},Zt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ge(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},Zt.prototype.componentDidUpdate=Zt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Us(e,n,t)})};var zs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,$f=/^(?: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]/,jf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sf=/[A-Z0-9]/g,Ef=typeof document<"u",Cf=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ws(e,t,n){return t.__k==null&&(t.textContent=""),Bt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Bs(e,t,n){return lo(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ys=P.event;function Of(){}function Af(){return this.cancelBubble}function Tf(){return this.defaultPrevented}P.event=function(e){return Ys&&(e=Ys(e)),e.persist=Of,e.isPropagationStopped=Af,e.isDefaultPrevented=Tf,e.nativeEvent=e};var To,Pf={enumerable:!1,configurable:!0,get:function(){return this.class}},Ks=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Ef&&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"||Cf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":jf.test(i)?i=s:r.indexOf("-")===-1&&$f.test(i)?i=i.replace(Sf,"-$&").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=Ge(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ge(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",Pf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=zs,Ks&&Ks(e)};var qs=P.__r;P.__r=function(e){qs&&qs(e),To=e.__c};var Gs=P.diffed;P.diffed=function(e){Gs&&Gs(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),To=null};var Xs={ReactCurrentDispatcher:{current:{readContext:function(e){return To.__n[e.__c].props.value},useCallback:vt,useContext:En,useDebugValue:lr,useDeferredValue:Ro,useEffect:pe,useId:bo,useImperativeHandle:yo,useInsertionEffect:No,useLayoutEffect:ht,useMemo:Pe,useReducer:cr,useRef:ke,useState:ae,useSyncExternalStore:Lo,useTransition:Do}}},Rf="17.0.2";function Zs(e){return re.bind(null,e)}function Pn(e){return!!e&&e.$$typeof===zs}function Js(e){return Pn(e)&&e.type===F}function Qs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function ec(e){return Pn(e)?_d.apply(null,arguments):e}function tc(e){return!!e.__k&&(Bt(null,e),!0)}function nc(e){return e&&(e.base||e.nodeType===1&&e)||null}var rc=function(e,t){return e(t)},oc=function(e,t){return e(t)},ic=F;function Po(e){e()}function Ro(e){return e}function Do(){return[!1,Po]}var No=ht,ac=Pn;function Lo(e,t){var n=t(),r=ae({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ht(function(){o.__=n,o.v=t,Mo(o)&&i({h:o})},[e,n,t]),pe(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 _r={useState:ae,useId:bo,useReducer:cr,useEffect:pe,useLayoutEffect:ht,useInsertionEffect:No,useTransition:Do,useDeferredValue:Ro,useSyncExternalStore:Lo,startTransition:Po,useRef:ke,useImperativeHandle:yo,useMemo:Pe,useCallback:vt,useContext:En,useDebugValue:lr,version:"17.0.2",Children:Ns,render:Ws,hydrate:Bs,unmountComponentAtNode:tc,createPortal:Vs,createElement:re,createContext:rr,createFactory:Zs,cloneElement:ec,createRef:Oa,Fragment:F,isValidElement:Pn,isElement:ac,isFragment:Js,isMemo:Qs,findDOMNode:nc,Component:be,PureComponent:vr,memo:Ts,forwardRef:Rs,flushSync:oc,unstable_batchedUpdates:rc,StrictMode:ic,Suspense:Tn,SuspenseList:Zt,lazy:Hs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Xs};const Df=Object.freeze(Object.defineProperty({__proto__:null,Children:Ns,Component:be,Fragment:F,PureComponent:vr,StrictMode:ic,Suspense:Tn,SuspenseList:Zt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Xs,cloneElement:ec,createContext:rr,createElement:re,createFactory:Zs,createPortal:Vs,createRef:Oa,default:_r,findDOMNode:nc,flushSync:oc,forwardRef:Rs,hydrate:Bs,isElement:ac,isFragment:Js,isMemo:Qs,isValidElement:Pn,lazy:Hs,memo:Ts,render:Ws,startTransition:Po,unmountComponentAtNode:tc,unstable_batchedUpdates:rc,useCallback:vt,useContext:En,useDebugValue:lr,useDeferredValue:Ro,useEffect:pe,useErrorBoundary:ef,useId:bo,useImperativeHandle:yo,useInsertionEffect:No,useLayoutEffect:ht,useMemo:Pe,useReducer:cr,useRef:ke,useState:ae,useSyncExternalStore:Lo,useTransition:Do,version:Rf},Symbol.toStringTag,{value:"Module"}));var gr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Lf(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 Io={exports:{}},Fo={};const sc=Lf(Df);/**
2
2
  * @license React
3
3
  * use-sync-external-store-shim.production.min.js
4
4
  *
@@ -6,7 +6,7 @@ var by=Object.defineProperty;var xy=(ye,je,St)=>je in ye?by(ye,je,{enumerable:!0
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var sc;function Lf(){if(sc)return Io;sc=1;var e=ac;function t(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(c,p){var d=p(),v=r({inst:{value:d,getSnapshot:p}}),h=v[0].inst,g=v[1];return i(function(){h.value=d,h.getSnapshot=p,l(h)&&g({inst:h})},[c,d,p]),o(function(){return l(h)&&g({inst:h}),c(function(){l(h)&&g({inst:h})})},[c]),a(d),d}function l(c){var p=c.getSnapshot;c=c.value;try{var d=p();return!n(c,d)}catch{return!0}}function u(c,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return Io.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Io}var Fo={};/**
9
+ */var cc;function Mf(){if(cc)return Fo;cc=1;var e=sc;function t(c,f){return c===f&&(c!==0||1/c===1/f)||c!==c&&f!==f}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(c,f){var d=f(),_=r({inst:{value:d,getSnapshot:f}}),h=_[0].inst,m=_[1];return i(function(){h.value=d,h.getSnapshot=f,l(h)&&m({inst:h})},[c,d,f]),o(function(){return l(h)&&m({inst:h}),c(function(){l(h)&&m({inst:h})})},[c]),a(d),d}function l(c){var f=c.getSnapshot;c=c.value;try{var d=f();return!n(c,d)}catch{return!0}}function u(c,f){return f()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return Fo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Fo}var Ho={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-shim.development.js
12
12
  *
@@ -14,12 +14,12 @@ var by=Object.defineProperty;var xy=(ye,je,St)=>je in ye?by(ye,je,{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 cc;function Mf(){return cc||(cc=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=ac,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(x){{for(var b=arguments.length,y=new Array(b>1?b-1:0),k=1;k<b;k++)y[k-1]=arguments[k];r("error",x,y)}}function r(x,b,y){{var k=t.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(b+="%s",y=y.concat([C]));var $=y.map(function(O){return String(O)});$.unshift("Warning: "+b),Function.prototype.apply.call(console[x],console,$)}}function o(x,b){return x===b&&(x!==0||1/x===1/b)||x!==x&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(x,b,y){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=b();if(!c){var C=b();i(k,C)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:b}}),O=$[0].inst,j=$[1];return l(function(){O.value=k,O.getSnapshot=b,d(O)&&j({inst:O})},[x,k,b]),s(function(){d(O)&&j({inst:O});var D=function(){d(O)&&j({inst:O})};return x(D)},[x]),u(k),k}function d(x){var b=x.getSnapshot,y=x.value;try{var k=b();return!i(y,k)}catch{return!0}}function v(x,b,y){return b()}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:_;Fo.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Fo}process.env.NODE_ENV==="production"?Mo.exports=Lf():Mo.exports=Mf();var If=Mo.exports;const _t=()=>{},me=_t(),Ho=Object,H=e=>e===me,Fe=e=>typeof e=="function",gt=(e,t)=>({...e,...t}),Ff=e=>Fe(e.then),vr=new WeakMap;let Hf=0;const Pn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Ho(e)===e&&!r&&n!=RegExp){if(o=vr.get(e),o)return o;if(o=++Hf+"~",vr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=Pn(e[i])+",";vr.set(e,o)}if(n==Ho){o="#";const a=Ho.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+Pn(e[i])+",");vr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},Ge=new WeakMap,Uo={},_r={},Vo="undefined",gr=typeof window!=Vo,zo=typeof document!=Vo,Uf=()=>gr&&typeof window.requestAnimationFrame!=Vo,lc=(e,t)=>{const n=Ge.get(e);return[()=>!H(t)&&e.get(t)||Uo,r=>{if(!H(t)){const o=e.get(t);t in _r||(_r[t]=o),n[5](t,gt(o,r),o||Uo)}},n[6],()=>!H(t)&&t in _r?_r[t]:!H(t)&&e.get(t)||Uo]};let Wo=!0;const Vf=()=>Wo,[Bo,Yo]=gr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_t,_t],zf=()=>{const e=zo&&document.visibilityState;return H(e)||e!=="hidden"},Wf=e=>(zo&&document.addEventListener("visibilitychange",e),Bo("focus",e),()=>{zo&&document.removeEventListener("visibilitychange",e),Yo("focus",e)}),Bf=e=>{const t=()=>{Wo=!0,e()},n=()=>{Wo=!1};return Bo("online",t),Bo("offline",n),()=>{Yo("online",t),Yo("offline",n)}},Yf={isOnline:Vf,isVisible:zf},Kf={initFocus:Wf,initReconnect:Bf},uc=!pr.useId,Rn=!gr||"Deno"in window,qf=e=>Uf()?window.requestAnimationFrame(e):setTimeout(e,1),Ko=Rn?we:pt,qo=typeof navigator<"u"&&navigator.connection,dc=!Rn&&qo&&(["slow-2g","2g"].includes(qo.effectiveType)||qo.saveData),Go=e=>{if(Fe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Pn(e):"",[e,t]};let Gf=0;const Xo=()=>++Gf,fc=0,pc=1,hc=2;var Dn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fc,MUTATE_EVENT:hc,RECONNECT_EVENT:pc};async function vc(...e){const[t,n,r,o]=e,i=gt({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Fe(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=Go(p);if(!d)return;const[v,h]=lc(t,d),[g,_,m,x]=Ge.get(t),b=()=>{const L=g[d];return(Fe(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete m[d],delete x[d],L&&L[0])?L[0](hc).then(()=>v().data):v().data};if(e.length<3)return b();let y=r,k;const C=Xo();_[d]=[C,0];const $=!H(l),O=v(),j=O.data,D=O._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,h({data:l,_c:I})),Fe(y))try{y=y(I)}catch(L){k=L}if(y&&Ff(y))if(y=await y.catch(L=>{k=L}),C!==_[d][0]){if(k)throw k;return y}else k&&$&&u(k)&&(a=!0,h({data:I,_c:me}));if(a&&!k)if(Fe(a)){const L=a(y,I);h({data:L,error:me,_c:me})}else h({data:y,error:me,_c:me});if(_[d][1]=Xo(),Promise.resolve(b()).then(()=>{h({_c:me})}),k){if(f)throw k;return}return y}}const _c=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Xf=(e,t)=>{if(!Ge.has(e)){const n=gt(Kf,t),r={},o=vc.bind(me,e);let i=_t;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(!Ge.has(e)&&(Ge.set(e,[r,{},{},{},o,l,s]),!Rn)){const f=n.initFocus(setTimeout.bind(me,_c.bind(me,r,fc))),c=n.initReconnect(setTimeout.bind(me,_c.bind(me,r,pc)));i=()=>{f&&f(),c&&c(),Ge.delete(e)}}};return u(),[e,o,u,i]}return[e,Ge.get(e)[4]]},Zf=(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)},Jf=(e,t)=>Pn(e)==Pn(t),[gc,Qf]=Xf(new Map),ep=gt({onLoadingSlow:_t,onSuccess:_t,onError:_t,onErrorRetry:Zf,onDiscarded:_t,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:dc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:dc?5e3:3e3,compare:Jf,isPaused:()=>!1,cache:gc,mutate:Qf,fallback:{}},Yf),tp=(e,t)=>{const n=gt(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=gt(o,a))}return n},np=nr({}),rp="$inf$",wc=gr&&window.__SWR_DEVTOOLS_USE__,op=wc?window.__SWR_DEVTOOLS_USE__:[],ip=()=>{wc&&(window.__SWR_DEVTOOLS_REACT__=pr)},ap=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],sp=()=>gt(ep,jn(np)),cp=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Go(t),[,,,s]=Ge.get(gc);if(a.startsWith(rp))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),lp=op.concat(cp),up=e=>function(...n){const r=sp(),[o,i,a]=ap(n),s=tp(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(lp);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},dp=(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())}};ip();const mc=pr.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)}),Zo={dedupe:!0},Jo=up((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]=Ge.get(r),[_,m]=Go(e),x=Ee(!1),b=Ee(!1),y=Ee(_),k=Ee(t),C=Ee(n),$=()=>C.current,O=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=lc(r,_),N=Ee({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const de in N){const Z=de;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(at,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},E=Te(()=>{const G=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=ve=>{const Ne=gt(ve);return delete Ne._k,G?{isValidating:!0,isLoading:!0,...Ne}:Ne},de=j(),Z=L(),$e=X(de),jt=de===Z?$e:X(Z);let ce=$e;return[()=>{const ve=X(j());return S(ve,ce)?(ce.data=ve.data,ce.isLoading=ve.isLoading,ce.isValidating=ve.isValidating,ce.error=ve.error,ce):(ce=ve,ve)},()=>jt]},[r,_]),U=If.useSyncExternalStore(ht(G=>I(_,(X,de)=>{S(de,X)||G()}),[r,_]),E[0],E[1]),z=!x.current,q=d[_]&&d[_].length>0,se=U.data,ue=H(se)?M:se,Ut=U.error,Xr=Ee(ue),at=p?H(se)?Xr.current:se:ue,st=(()=>q&&!H(Ut)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Jn=!!(_&&t&&z&&st),va=H(U.isValidating)?Jn:U.isValidating,wn=H(U.isLoading)?Jn:U.isLoading,Vt=ht(async G=>{const X=k.current;if(!_||!X||b.current||$().isPaused())return!1;let de,Z,$e=!0;const jt=G||{},ce=!h[_]||!jt.dedupe,ve=()=>uc?!b.current&&_===y.current&&x.current:_===y.current,Ne={isValidating:!1,isLoading:!1},zt=()=>{D(Ne)},cd=()=>{const Ae=h[_];Ae&&Ae[1]===Z&&delete h[_]},ld={isValidating:!0};H(j().data)&&(ld.isLoading=!0);try{if(ce&&(D(ld),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{$e&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(m),Xo()]),[de,Z]=h[_],de=await de,ce&&setTimeout(cd,n.dedupingInterval),!h[_]||h[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;Ne.error=me;const Ae=v[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return zt(),ce&&ve()&&$().onDiscarded(_),!1;const ct=j().data;Ne.data=o(ct,de)?ct:de,ce&&ve()&&$().onSuccess(de,_,n)}catch(Ae){cd();const ct=$(),{shouldRetryOnError:_a}=ct;ct.isPaused()||(Ne.error=Ae,ce&&ve()&&(ct.onError(Ae,_,ct),(_a===!0||Fe(_a)&&_a(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||O())&&ct.onErrorRetry(Ae,_,ct,yy=>{const ga=d[_];ga&&ga[0]&&ga[0](Dn.ERROR_REVALIDATE_EVENT,yy)},{retryCount:(jt.retryCount||0)+1,dedupe:!0})))}return $e=!1,zt(),!0},[_,r]),Zr=ht((...G)=>vc(r,y.current,...G),[]);if(Ko(()=>{k.current=t,C.current=n,H(se)||(Xr.current=se)}),Ko(()=>{if(!_)return;const G=Vt.bind(me,Zo);let X=0;const Z=dp(_,d,($e,jt={})=>{if($e==Dn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&O()&&(X=ce+$().focusThrottleInterval,G())}else if($e==Dn.RECONNECT_EVENT)$().revalidateOnReconnect&&O()&&G();else{if($e==Dn.MUTATE_EVENT)return Vt();if($e==Dn.ERROR_REVALIDATE_EVENT)return Vt(jt)}});return b.current=!1,y.current=_,x.current=!0,D({_k:m}),st&&(H(ue)||Rn?G():qf(G)),()=>{b.current=!0,Z()}},[_]),Ko(()=>{let G;function X(){const Z=Fe(u)?u(j().data):u;Z&&G!==-1&&(G=setTimeout(de,Z))}function de(){!j().error&&(f||$().isVisible())&&(c||$().isOnline())?Vt(Zo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,f,c,_]),sr(at),i&&H(ue)&&_){if(!uc&&Rn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,C.current=n,b.current=!1;const G=g[_];if(!H(G)){const X=Zr(G);mc(X)}if(H(Ut)){const X=Vt(Zo);H(at)||(X.status="fulfilled",X.value=!0),mc(X)}else throw Ut}return{mutate:Zr,get data(){return N.data=!0,at},get error(){return N.error=!0,Ut},get isValidating(){return N.isValidating=!0,va},get isLoading(){return N.isLoading=!0,wn}}}),Xe=Pe({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}}),fp=({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 je(i),w("span",{class:Xe({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Xe({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ye(e)}},pp=44,hp=6,vp=12,_p=8,yc=Pe({base:"fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-copy-accent-icon ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),gp=Pe({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"}}),wp=Pe({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"}}}),mp=Pe({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}}),yp=Pe({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"}}}),bp=({children:e,colorScheme:t})=>w("span",{class:yp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),xp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},bc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},kp=(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=bc(r.value),a=bc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},$p=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},jp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Sp=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const{t:s}=Ke(),l=vo(r()),u=Te(()=>{switch(l.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=l.data[t.key]??[];return Object.fromEntries(h.map(g=>[g.value,g.jobs]))}default:ye(l)}},[l,t.key]),f=kc(e),c=f.length>0,[p,d]=ge(),v=vf("(pointer: coarse)");return we(()=>{a()}),l.state==="error"?w(vt,{error:new Error(s("filters_loading_error"),{cause:l.error}),resetError:()=>l.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"search",class:yc(),value:p,onInput:h=>d(h.currentTarget.value),placeholder:s("type_to_search")})}),(()=>{switch(i.state){case"error":return w(vt,{error:new Error(s("filters_loading_error"),{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Xe({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const h=i.data[t.key]??[],g=p&&p.length>1?h.filter(y=>y.label.toLowerCase().includes(p.toLowerCase())):h,_=[];for(const y of g){if(y.label.length<1)continue;const k={...y,results:jp(u,y),disabled:$p(u,y)};switch(t.results){case"only-available":k.disabled==!1&&_.push(k);break;default:_.push(k)}}if(!_.find(y=>!y.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:s("no_filter_options_available")});const b=(h.length>vp||h.some(y=>y.label.length>24))&&!v;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":pp*(hp+.5)+2*_p+"px"},class:gp({type:b?"long":"short"}),children:kp(_,t.sortSuggestions).map(y=>{const k=f.includes(y.value);return w("li",{class:wp({type:b?"line":"pill"}),children:w("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(e.select){case"many":{const C=xp(f,y.value);o({select:"many",value:C});break}case"one":o({select:"one",value:y.value});break;default:ye(e)}},class:b?mp({active:k,disabled:y.disabled}):Xe({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:y.label})," ",w(bp,{colorScheme:k?"accentStrong":"neutralStrong",children:y.results})]})},y.value)})})})}default:ye(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:c&&w("button",{class:Sn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(qe,{"aria-hidden":!0,name:"x"})," ",s("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:[f.length," ",s("selected")]})}),w("div",{class:"flex-1",children:w("button",{class:Sn({variant:c?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[s(c?"done":"skip")," ",w(qe,{name:"chevron-right"})]},c?"done":"skip")})]})]})},xc={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"},Ep=Pe({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"}}}),Cp=Pe({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"}}}),Op=Pe({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Ap=e=>{const t=Ee(null),[n,r]=ge(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return pt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},kc=e=>typeof e.value=="string"?[e.value]:e.value??[],Tp=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=St(r.key,xc)?xc[r.key]:void 0,u=r.icon??l??"filter",f=kc(t),{height:c,ref:p,updateHeight:d}=Ap([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:Ep({hasValue:v}),onTouchStart:Pp,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:Cp({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(qe,{"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(Sp,{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(fp,{property:r,query:a,selectedValues:f})}),w(qe,{"aria-hidden":!0,class:Op(),name:"chevron-right"})]})]})};function Pp(){}const Rp=(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}},Dp=({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:ye(t)}},Np=({properties:e,appliedFilters:t,onFilterValueChange:n,apiClient:r,logger:o})=>{var c;const{t:i}=Ke(),[a,s]=ge((c=e[0])==null?void 0:c.key),l=Te(()=>ai(e,"value"),[e]),u=vo(Jo(dr({filter:l,baseKey:"filters",keyword:void 0}),()=>as({apiClient:r,logger:o,filters:l,keyword:void 0}),_o)),f=ht(p=>()=>{const d={...t,[p]:l[p]};return Jo(dr({filter:d,baseKey:"filters",keyword:Rt.keyword$.value}),()=>as({apiClient:r,logger:o,filters:d,keyword:Rt.keyword$.value}),_o)},[r,t,l,o]);return u.state==="error"?w(vt,{error:new Error(i("filters_loading_error"),{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=t[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&Rp(v,h);const g=x=>{const{newActiveKey:b,newValue:y}=Dp({property:p,activeKey:a,value:x??h,properties:e,appliedFilters:t});return s(b),n(p.key,y)},_=x=>s(x?p.key:void 0),m=f(p.key);return w(En,{Fallback:vt,children:w(Tp,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var y;const x=e.findIndex(k=>k.key===a),b=x!==-1?(y=e[x+1])==null?void 0:y.key:void 0;s(b)},useQuery:m,onValueChange:g})},p.key)})})})},Lp=2,Mp=({onKeywordChange:e})=>{const{keyword$:t}=Rt,[n,r]=ge(t.value??""),o=n!==""&&n===t.value,{t:i}=Ke();return we(()=>{let a=n.trim();if(a.length<=Lp&&(a=null),a===null){t.value="";return}const s=setTimeout(()=>{t.value=a},300);return()=>clearTimeout(s)},[n,t,e]),w("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:w("div",{class:"relative",children:[w("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[w(qe,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:ls({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),w("span",{class:"sr-only",children:"Keyword"})]}),w("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:yc({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:i("type_to_search_jobs"),value:n,onChange:a=>{r(a.currentTarget.value),e==null||e(a.currentTarget.value)}}),w("button",{class:Sn({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:w(qe,{name:"x"})})]})})};var Ip=Array.isArray,Qo=Ip,Fp=typeof hr=="object"&&hr&&hr.Object===Object&&hr,Hp=Fp,Up=Hp,Vp=typeof self=="object"&&self&&self.Object===Object&&self,zp=Up||Vp||Function("return this")(),ei=zp,Wp=ei,Bp=Wp.Symbol,ti=Bp,$c=ti,jc=Object.prototype,Yp=jc.hasOwnProperty,Kp=jc.toString,Nn=$c?$c.toStringTag:void 0;function qp(e){var t=Yp.call(e,Nn),n=e[Nn];try{e[Nn]=void 0;var r=!0}catch{}var o=Kp.call(e);return r&&(t?e[Nn]=n:delete e[Nn]),o}var Gp=qp,Xp=Object.prototype,Zp=Xp.toString;function Jp(e){return Zp.call(e)}var Qp=Jp,Sc=ti,eh=Gp,th=Qp,nh="[object Null]",rh="[object Undefined]",Ec=Sc?Sc.toStringTag:void 0;function oh(e){return e==null?e===void 0?rh:nh:Ec&&Ec in Object(e)?eh(e):th(e)}var Cc=oh;function ih(e){return e!=null&&typeof e=="object"}var ah=ih,sh=Cc,ch=ah,lh="[object Symbol]";function uh(e){return typeof e=="symbol"||ch(e)&&sh(e)==lh}var ni=uh,dh=Qo,fh=ni,ph=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hh=/^\w*$/;function vh(e,t){if(dh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||fh(e)?!0:hh.test(e)||!ph.test(e)||t!=null&&e in Object(t)}var _h=vh;function gh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Oc=gh,wh=Cc,mh=Oc,yh="[object AsyncFunction]",bh="[object Function]",xh="[object GeneratorFunction]",kh="[object Proxy]";function $h(e){if(!mh(e))return!1;var t=wh(e);return t==bh||t==xh||t==yh||t==kh}var jh=$h,Sh=ei,Eh=Sh["__core-js_shared__"],Ch=Eh,ri=Ch,Ac=function(){var e=/[^.]+$/.exec(ri&&ri.keys&&ri.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Oh(e){return!!Ac&&Ac in e}var Ah=Oh,Th=Function.prototype,Ph=Th.toString;function Rh(e){if(e!=null){try{return Ph.call(e)}catch{}try{return e+""}catch{}}return""}var Dh=Rh,Nh=jh,Lh=Ah,Mh=Oc,Ih=Dh,Fh=/[\\^$.*+?()[\]{}|]/g,Hh=/^\[object .+?Constructor\]$/,Uh=Function.prototype,Vh=Object.prototype,zh=Uh.toString,Wh=Vh.hasOwnProperty,Bh=RegExp("^"+zh.call(Wh).replace(Fh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Yh(e){if(!Mh(e)||Lh(e))return!1;var t=Nh(e)?Bh:Hh;return t.test(Ih(e))}var Kh=Yh;function qh(e,t){return e==null?void 0:e[t]}var Gh=qh,Xh=Kh,Zh=Gh;function Jh(e,t){var n=Zh(e,t);return Xh(n)?n:void 0}var Tc=Jh,Qh=Tc,ev=Qh(Object,"create"),wr=ev,Pc=wr;function tv(){this.__data__=Pc?Pc(null):{},this.size=0}var nv=tv;function rv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ov=rv,iv=wr,av="__lodash_hash_undefined__",sv=Object.prototype,cv=sv.hasOwnProperty;function lv(e){var t=this.__data__;if(iv){var n=t[e];return n===av?void 0:n}return cv.call(t,e)?t[e]:void 0}var uv=lv,dv=wr,fv=Object.prototype,pv=fv.hasOwnProperty;function hv(e){var t=this.__data__;return dv?t[e]!==void 0:pv.call(t,e)}var vv=hv,_v=wr,gv="__lodash_hash_undefined__";function wv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_v&&t===void 0?gv:t,this}var mv=wv,yv=nv,bv=ov,xv=uv,kv=vv,$v=mv;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=yv,Zt.prototype.delete=bv,Zt.prototype.get=xv,Zt.prototype.has=kv,Zt.prototype.set=$v;var jv=Zt;function Sv(){this.__data__=[],this.size=0}var Ev=Sv;function Cv(e,t){return e===t||e!==e&&t!==t}var Ov=Cv,Av=Ov;function Tv(e,t){for(var n=e.length;n--;)if(Av(e[n][0],t))return n;return-1}var mr=Tv,Pv=mr,Rv=Array.prototype,Dv=Rv.splice;function Nv(e){var t=this.__data__,n=Pv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dv.call(t,n,1),--this.size,!0}var Lv=Nv,Mv=mr;function Iv(e){var t=this.__data__,n=Mv(t,e);return n<0?void 0:t[n][1]}var Fv=Iv,Hv=mr;function Uv(e){return Hv(this.__data__,e)>-1}var Vv=Uv,zv=mr;function Wv(e,t){var n=this.__data__,r=zv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Bv=Wv,Yv=Ev,Kv=Lv,qv=Fv,Gv=Vv,Xv=Bv;function Jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jt.prototype.clear=Yv,Jt.prototype.delete=Kv,Jt.prototype.get=qv,Jt.prototype.has=Gv,Jt.prototype.set=Xv;var Zv=Jt,Jv=Tc,Qv=ei,e_=Jv(Qv,"Map"),t_=e_,Rc=jv,n_=Zv,r_=t_;function o_(){this.size=0,this.__data__={hash:new Rc,map:new(r_||n_),string:new Rc}}var i_=o_;function a_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var s_=a_,c_=s_;function l_(e,t){var n=e.__data__;return c_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var yr=l_,u_=yr;function d_(e){var t=u_(this,e).delete(e);return this.size-=t?1:0,t}var f_=d_,p_=yr;function h_(e){return p_(this,e).get(e)}var v_=h_,__=yr;function g_(e){return __(this,e).has(e)}var w_=g_,m_=yr;function y_(e,t){var n=m_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var b_=y_,x_=i_,k_=f_,$_=v_,j_=w_,S_=b_;function Qt(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])}}Qt.prototype.clear=x_,Qt.prototype.delete=k_,Qt.prototype.get=$_,Qt.prototype.has=j_,Qt.prototype.set=S_;var E_=Qt,Dc=E_,C_="Expected a function";function oi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(C_);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(oi.Cache||Dc),n}oi.Cache=Dc;var O_=oi,A_=O_,T_=500;function P_(e){var t=A_(e,function(r){return n.size===T_&&n.clear(),r}),n=t.cache;return t}var R_=P_,D_=R_,N_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,L_=/\\(\\)?/g,M_=D_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(N_,function(n,r,o,i){t.push(o?i.replace(L_,"$1"):r||n)}),t}),I_=M_;function F_(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 H_=F_,Nc=ti,U_=H_,V_=Qo,z_=ni,W_=1/0,Lc=Nc?Nc.prototype:void 0,Mc=Lc?Lc.toString:void 0;function Ic(e){if(typeof e=="string")return e;if(V_(e))return U_(e,Ic)+"";if(z_(e))return Mc?Mc.call(e):"";var t=e+"";return t=="0"&&1/e==-W_?"-0":t}var B_=Ic,Y_=B_;function K_(e){return e==null?"":Y_(e)}var q_=K_,G_=Qo,X_=_h,Z_=I_,J_=q_;function Q_(e,t){return G_(e)?e:X_(e,t)?[e]:Z_(J_(e))}var eg=Q_,tg=ni,ng=1/0;function rg(e){if(typeof e=="string"||tg(e))return e;var t=e+"";return t=="0"&&1/e==-ng?"-0":t}var og=rg,ig=eg,ag=og;function sg(e,t){t=ig(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ag(t[n++])];return n&&n==r?e:void 0}var cg=sg,lg=cg;function ug(e,t,n){var r=e==null?void 0:lg(e,t);return r===void 0?n:r}var dg=ug;const fg=Df(dg),br=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Fc=Pe({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}}),ii=({job:e,property:t})=>{if(!t)return null;const n=fg(e.raw,t.key);return t.transform?t.transform(n):n},pg=({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}),Hc=e=>Array.isArray(e)?e:[e],hg=1e3*60*60*24*7,vg=({job:e,config:t,onJobClick:n})=>{var p,d,v;const{t:r}=Ke(),o=t.subheading?ii({job:e,property:t.subheading}):null,i=t.infoTags.flatMap(h=>Hc(ii({job:e,property:h}))).filter(Boolean),a=Hc((p=t.overrides)!=null&&p.salary?ii({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),s=t.postedDate??"show",l=(d=t.overrides)!=null&&d.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,u=t.newUnderDays??7,f=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-u*hg:!1,c=h=>{var g,_;n==null||n(e),(_=(g=t.overrides)==null?void 0:g.onClick)==null||_.call(g,h)};return w("a",{onMouseEnter:(v=t.overrides)==null?void 0:v.onMouseEnter,onClick:c,href:l,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(pg,{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(),f&&s!=="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:r("new")})]})]}),o?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:o}):null]}),s==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:[r("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:a.map((h,g)=>w("span",{class:Xe({variant:"monetaryWeak",size:"xs"}),children:h},g))}),i.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:i.map(h=>w("li",{class:Xe({size:"xs",class:"max-w-full truncate"}),children:h},h))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(qe,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Uc=({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(br,{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(br,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(br,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Xe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Xe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Xe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(qe,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},_g=({state:e,fetchNextPage:t,config:n,remainingItems:r})=>{const{t:o}=Ke(),i=Math.min(Tt,r);return e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Tt}).map((a,s)=>w("li",{children:w(Uc,{seed:s,animationDelay:(s-4)*.1,config:n})},s))}):w("button",{class:Sn({variant:"neutral",class:"py-2"}),onClick:t,children:[o("load_more_count",{count:i})," ",o("of_remaining_count",{count:r})]})},gg=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a,onPaginate:s})=>{const[l,u]=ge(1);return w(F,{children:Array.from({length:l}).map((f,c)=>{const p=c===l-1;return w(En,{Fallback:vt,children:w(wg,{appliedFilters:e,apiClient:t,logger:n,page:c+1,isFirst:c===0,isLast:p,fetchNextPage:()=>{u(l+1),s(l+1)},jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a},c)},c)})})},wg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l,onResultsUpdate:u,onJobClick:f})=>{const{t:c}=Ke(),p=r===1?l:void 0,{keyword$:d}=Rt,{data:v,error:h,state:g,swr:_}=vo(Jo(dr({filter:e,baseKey:r.toString(),keyword:d.value}),()=>ss({apiClient:t,logger:n,filters:e,page:r,keyword:d.value,t:c}),{..._o,fallbackData:p}));switch(we(()=>{v&&o&&u&&u({totalCount:v.pagination.total})},[v,o,u]),g){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(br,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Tt}).map((m,x)=>w("li",{children:w(Uc,{seed:x,animationDelay:(x-Tt)*.1,config:s})},x))})]});case"error":return w(vt,{class:"-m-4",error:new Error(c("jobs_loading_error"),{cause:h}),resetError:()=>_.mutate()});case"revalidating":case"loaded":{if(je(v.pagination.current_page===r,"Received wrong page from server"),v.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(qe,{"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:c("no_jobs_found")}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:c("no_jobs_found_description")})]})]});const m=v.pagination.last_page!==v.pagination.current_page,x=r*Tt,b=Math.max(v.pagination.total-x,0),y=k=>{f(k,r)};return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:c("jobs_found",{count:v.pagination.total})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:v.results.map(k=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:g==="revalidating"?.33:1},children:w(vg,{job:k,onJobClick:y,config:s})},k.id))}),m&&i&&w(_g,{state:g,fetchNextPage:a,config:s,remainingItems:b})]})}default:ye(g)}},ai=(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:ye(r.select)}return n},{}),Vc=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=n==null?void 0:n.value;return[t,Array.isArray(r)?r:r?[r]:[]]}).filter(([,t])=>t!==void 0&&t.length>0)),mg=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=Ee(null),f=ai(n,"defaultValue"),[c,p]=ge(()=>({default:!0,filters:f})),[d,v]=ge(0),{keyword$:h}=Rt,g=Vc(f),_=Vc(c.filters),m=ht((y=1)=>({query:h.value||void 0,filters:_,default_filters:g,total_count:d,page_size:Tt,page:y}),[h.value,_,g,d]);_f(u,{minViewTime:2e3,onView:()=>{o.log({event:"VIEW_SEARCH",properties:m()})}}),we(()=>{const y=window.setTimeout(()=>{c.default===!0&&!h.value||!h.value&&!Object.keys(_).length||d===0||o.log({event:"SEARCH_SETTLE",properties:m()})},5e3);return()=>{clearTimeout(y)}},[o,c.default,_,m,h.value,d]);const x=(y,k)=>{o.log({event:"SEARCH_JOB_CLICK",properties:{job_id:y.id,...m(k)}})},b=y=>{o.log({event:"SEARCH_PAGINATE",properties:m(y)})};return w("div",{ref:u,class:r,id:rs,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(En,{Fallback:vt,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Mp,{onKeywordChange:s}),w(Np,{appliedFilters:c.filters,onFilterValueChange:(y,k)=>{p(C=>(a==null||a({...C.filters,[y]:k}),{default:!1,filters:{...C.filters,[y]:k}}))},properties:n,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(wf,{appliedFilters:c.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(En,{Fallback:vt,children:w(gg,{appliedFilters:c.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:c.default?i==null?void 0:i.jobs:void 0,onResultsUpdate:y=>{v(y.totalCount)},onJobClick:x,onPaginate:b},dr({filter:c.filters,baseKey:"resultsSection",keyword:h.value}))})})})]})})},yg=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-10{padding-left:2.5rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent-icon{color:var(--i-copy-accent-icon)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
18
- `;var bg=["1","2","3","4","5","6","7","8","9","10","11","12"],xg={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]}},kg=(e,t=1,n)=>r=>{const[o,i]=xg[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},si=e=>{const t=kg(e.hue,e.chroma,e.mode);return Object.fromEntries(bg.map(n=>[e.prefix+n,e.transform(t(n))]))},ci=e=>e,$g=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)},xr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),li=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(xr(e)&&xr(n))for(const r in n){const o=n[r];if(xr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];xr(i)&&li(i,o)}else Object.assign(e,{[r]:n[r]})}return li(e,...t)},jg=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Sg=()=>({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=$g(li(s,l,u)),c=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const Ce=e=>{const t=[],n=r=>({with:(o,i)=>(t.push({pattern:o,fn:i}),n(r)),otherwise:o=>{e:for(const{fn:i,pattern:a}of t){for(const s in a)if(a[s]!==r[s])continue e;return i(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(e)},[ui,di,Ze]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Eg=Sg().core(({theme:e})=>{var t,n,r,o;return{color:{black:ui,white:di,lowest:e.mode==="light"?di:ui,highest:e.mode==="light"?ui:di,...si({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:ci}),...si({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:ci}),...si({prefix:"m-",hue:((r=e.monetary)==null?void 0:r.hue)??140,chroma:((o=e.monetary)==null?void 0:o.chroma)??1,mode:e.mode,transform:ci})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,f,c,p,d,v,h,g,_,m,x,b,y,k,C,$,O,j,D;const r=(I,L)=>n.core.color[I].replace(")",` / ${L})`),{typography:o,highlights:i}=t,a=((s=t.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=t.typography.jobHeading)==null?void 0:u.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((v=(d=o.filter)==null?void 0:d.weight)==null?void 0:v.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((x=(m=o.tag)==null?void 0:m.weight)==null?void 0:x.toString())??((b=o.weight)==null?void 0:b.toString())??"inherit","weight-job-heading":((k=(y=o.jobHeading)==null?void 0:y.weight)==null?void 0:k.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(O=o.input)==null?void 0:O.weight)==null?void 0:j.toString())??((D=o.weight)==null?void 0:D.toString())??"inherit","app-bg":e("color.lowest"),copy:e(a?"color.highest":"color.n-12"),"copy-lowcontrast":e("color.n-11"),"copy-info":e(a?"color.n-11":"color.n-10"),"copy-icon":e(a?"color.n-12":"color.n-11"),"copy-accent":e(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":e(a?"color.a-12":"color.a-11"),"copy-accent-icon":e(a?"color.a-12":"color.a-11"),"copy-inverted":e("color.lowest"),"copy-inverted-lowcontrast":e("color.n-4"),"copy-inverted-icon":e("color.n-3"),"tag-neutral-weak-bg":i==="fill"?e("color.n-2"):Ze,"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"):Ze,"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":Ze,"radius-app":Ce(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Ce(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Ce(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Ce(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Ce(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Ce(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Ce(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(a?"n-5":"n-4",.01),"interactive-neutral-bg-hover":e(a?"color.n-5":"color.n-4"),"interactive-neutral-text":e("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":e(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":e("color.a-11"),"radius-interactive":Ce(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Ze,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Ze,"section-weak-stroke-color":i==="fill"?Ze:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Ze:e(a?"color.n-11":"color.n-4"),"section-stroke-width":Ce(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Ce(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ze),"job-card-bg-active":Ce(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ze),"job-card-stroke-color":e(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":e("color.a-9"),"job-card-stroke-width":Ce(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Cg=jg({prefix:"i-"}),Og=e=>{const t=Eg.from({theme:e,getToken:Cg}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${rs} {
17
+ */var lc;function If(){return lc||(lc=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=sc,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(x){{for(var y=arguments.length,b=new Array(y>1?y-1:0),k=1;k<y;k++)b[k-1]=arguments[k];r("error",x,b)}}function r(x,y,b){{var k=t.ReactDebugCurrentFrame,S=k.getStackAddendum();S!==""&&(y+="%s",b=b.concat([S]));var j=b.map(function(O){return String(O)});j.unshift("Warning: "+y),Function.prototype.apply.call(console[x],console,j)}}function o(x,y){return x===y&&(x!==0||1/x===1/y)||x!==x&&y!==y}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,p=!1,c=!1;function f(x,y,b){p||e.startTransition!==void 0&&(p=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=y();if(!c){var S=y();i(k,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var j=a({inst:{value:k,getSnapshot:y}}),O=j[0].inst,$=j[1];return l(function(){O.value=k,O.getSnapshot=y,d(O)&&$({inst:O})},[x,k,y]),s(function(){d(O)&&$({inst:O});var A=function(){d(O)&&$({inst:O})};return x(A)},[x]),u(k),k}function d(x){var y=x.getSnapshot,b=x.value;try{var k=y();return!i(b,k)}catch{return!0}}function _(x,y,b){return y()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m=!h,v=m?_:f,w=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v;Ho.useSyncExternalStore=w,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ho}process.env.NODE_ENV==="production"?Io.exports=Mf():Io.exports=If();var Ff=Io.exports;const gt=()=>{},we=gt(),Uo=Object,H=e=>e===we,Ve=e=>typeof e=="function",mt=(e,t)=>({...e,...t}),Hf=e=>Ve(e.then),mr=new WeakMap;let Uf=0;const Rn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Uo(e)===e&&!r&&n!=RegExp){if(o=mr.get(e),o)return o;if(o=++Uf+"~",mr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=Rn(e[i])+",";mr.set(e,o)}if(n==Uo){o="#";const a=Uo.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+Rn(e[i])+",");mr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},Ze=new WeakMap,Vo={},wr={},zo="undefined",yr=typeof window!=zo,Wo=typeof document!=zo,Vf=()=>yr&&typeof window.requestAnimationFrame!=zo,uc=(e,t)=>{const n=Ze.get(e);return[()=>!H(t)&&e.get(t)||Vo,r=>{if(!H(t)){const o=e.get(t);t in wr||(wr[t]=o),n[5](t,mt(o,r),o||Vo)}},n[6],()=>!H(t)&&t in wr?wr[t]:!H(t)&&e.get(t)||Vo]};let Bo=!0;const zf=()=>Bo,[Yo,Ko]=yr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[gt,gt],Wf=()=>{const e=Wo&&document.visibilityState;return H(e)||e!=="hidden"},Bf=e=>(Wo&&document.addEventListener("visibilitychange",e),Yo("focus",e),()=>{Wo&&document.removeEventListener("visibilitychange",e),Ko("focus",e)}),Yf=e=>{const t=()=>{Bo=!0,e()},n=()=>{Bo=!1};return Yo("online",t),Yo("offline",n),()=>{Ko("online",t),Ko("offline",n)}},Kf={isOnline:zf,isVisible:Wf},qf={initFocus:Bf,initReconnect:Yf},dc=!_r.useId,Dn=!yr||"Deno"in window,Gf=e=>Vf()?window.requestAnimationFrame(e):setTimeout(e,1),qo=Dn?pe:ht,Go=typeof navigator<"u"&&navigator.connection,fc=!Dn&&Go&&(["slow-2g","2g"].includes(Go.effectiveType)||Go.saveData),Xo=e=>{if(Ve(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Rn(e):"",[e,t]};let Xf=0;const Zo=()=>++Xf,pc=0,hc=1,vc=2;var Nn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:pc,MUTATE_EVENT:vc,RECONNECT_EVENT:hc};async function _c(...e){const[t,n,r,o]=e,i=mt({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=f=>typeof s=="function"?s(f):s!==!1,p=i.throwOnError;if(Ve(n)){const f=n,d=[],_=t.keys();for(const h of _)!/^\$(inf|sub)\$/.test(h)&&f(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(f){const[d]=Xo(f);if(!d)return;const[_,h]=uc(t,d),[m,v,w,x]=Ze.get(t),y=()=>{const L=m[d];return(Ve(i.revalidate)?i.revalidate(_().data,f):i.revalidate!==!1)&&(delete w[d],delete x[d],L&&L[0])?L[0](vc).then(()=>_().data):_().data};if(e.length<3)return y();let b=r,k;const S=Zo();v[d]=[S,0];const j=!H(l),O=_(),$=O.data,A=O._c,I=H(A)?$:A;if(j&&(l=Ve(l)?l(I,$):l,h({data:l,_c:I})),Ve(b))try{b=b(I)}catch(L){k=L}if(b&&Hf(b))if(b=await b.catch(L=>{k=L}),S!==v[d][0]){if(k)throw k;return b}else k&&j&&u(k)&&(a=!0,h({data:I,_c:we}));if(a&&!k)if(Ve(a)){const L=a(b,I);h({data:L,error:we,_c:we})}else h({data:b,error:we,_c:we});if(v[d][1]=Zo(),Promise.resolve(y()).then(()=>{h({_c:we})}),k){if(p)throw k;return}return b}}const gc=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Zf=(e,t)=>{if(!Ze.has(e)){const n=mt(qf,t),r={},o=_c.bind(we,e);let i=gt;const a={},s=(p,c)=>{const f=a[p]||[];return a[p]=f,f.push(c),()=>f.splice(f.indexOf(c),1)},l=(p,c,f)=>{e.set(p,c);const d=a[p];if(d)for(const _ of d)_(c,f)},u=()=>{if(!Ze.has(e)&&(Ze.set(e,[r,{},{},{},o,l,s]),!Dn)){const p=n.initFocus(setTimeout.bind(we,gc.bind(we,r,pc))),c=n.initReconnect(setTimeout.bind(we,gc.bind(we,r,hc)));i=()=>{p&&p(),c&&c(),Ze.delete(e)}}};return u(),[e,o,u,i]}return[e,Ze.get(e)[4]]},Jf=(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)},Qf=(e,t)=>Rn(e)==Rn(t),[mc,ep]=Zf(new Map),tp=mt({onLoadingSlow:gt,onSuccess:gt,onError:gt,onErrorRetry:Jf,onDiscarded:gt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:fc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:fc?5e3:3e3,compare:Qf,isPaused:()=>!1,cache:mc,mutate:ep,fallback:{}},Kf),np=(e,t)=>{const n=mt(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=mt(o,a))}return n},rp=rr({}),op="$inf$",wc=yr&&window.__SWR_DEVTOOLS_USE__,ip=wc?window.__SWR_DEVTOOLS_USE__:[],ap=()=>{wc&&(window.__SWR_DEVTOOLS_REACT__=_r)},sp=e=>Ve(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],cp=()=>mt(tp,En(rp)),lp=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Xo(t),[,,,s]=Ze.get(mc);if(a.startsWith(op))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),up=ip.concat(lp),dp=e=>function(...n){const r=cp(),[o,i,a]=sp(n),s=np(r,a);let l=e;const{use:u}=s,p=(u||[]).concat(up);for(let c=p.length;c--;)l=p[c](l);return l(o,i||s.fetcher||null,s)},fp=(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())}};ap();const yc=_r.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)}),Jo={dedupe:!0},Qo=dp((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:p,refreshWhenOffline:c,keepPreviousData:f}=n,[d,_,h,m]=Ze.get(r),[v,w]=Xo(e),x=ke(!1),y=ke(!1),b=ke(v),k=ke(t),S=ke(n),j=()=>S.current,O=()=>j().isVisible()&&j().isOnline(),[$,A,I,L]=uc(r,v),N=ke({}).current,M=H(a)?n.fallback[v]:a,E=(G,X)=>{for(const fe in N){const Z=fe;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(st,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},C=Pe(()=>{const G=(()=>!v||!t?!1:H(s)?j().isPaused()||i?!1:H(l)?!0:l:s)(),X=ge=>{const Me=mt(ge);return delete Me._k,G?{isValidating:!0,isLoading:!0,...Me}:Me},fe=$(),Z=L(),Ee=X(fe),St=fe===Z?Ee:X(Z);let le=Ee;return[()=>{const ge=X($());return E(ge,le)?(le.data=ge.data,le.isLoading=ge.isLoading,le.isValidating=ge.isValidating,le.error=ge.error,le):(le=ge,ge)},()=>St]},[r,v]),U=Ff.useSyncExternalStore(vt(G=>I(v,(X,fe)=>{E(fe,X)||G()}),[r,v]),C[0],C[1]),z=!x.current,q=d[v]&&d[v].length>0,ce=U.data,de=H(ce)?M:ce,Vt=U.error,Qr=ke(de),st=f?H(ce)?Qr.current:ce:de,ct=(()=>q&&!H(Vt)?!1:z&&!H(s)?s:j().isPaused()?!1:i?H(de)?!1:l:H(de)||l)(),Qn=!!(v&&t&&z&&ct),ga=H(U.isValidating)?Qn:U.isValidating,wn=H(U.isLoading)?Qn:U.isLoading,zt=vt(async G=>{const X=k.current;if(!v||!X||y.current||j().isPaused())return!1;let fe,Z,Ee=!0;const St=G||{},le=!h[v]||!St.dedupe,ge=()=>dc?!y.current&&v===b.current&&x.current:v===b.current,Me={isValidating:!1,isLoading:!1},Wt=()=>{A(Me)},ld=()=>{const Te=h[v];Te&&Te[1]===Z&&delete h[v]},ud={isValidating:!0};H($().data)&&(ud.isLoading=!0);try{if(le&&(A(ud),n.loadingTimeout&&H($().data)&&setTimeout(()=>{Ee&&ge()&&j().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[X(w),Zo()]),[fe,Z]=h[v],fe=await fe,le&&setTimeout(ld,n.dedupingInterval),!h[v]||h[v][1]!==Z)return le&&ge()&&j().onDiscarded(v),!1;Me.error=we;const Te=_[v];if(!H(Te)&&(Z<=Te[0]||Z<=Te[1]||Te[1]===0))return Wt(),le&&ge()&&j().onDiscarded(v),!1;const lt=$().data;Me.data=o(lt,fe)?lt:fe,le&&ge()&&j().onSuccess(fe,v,n)}catch(Te){ld();const lt=j(),{shouldRetryOnError:ma}=lt;lt.isPaused()||(Me.error=Te,le&&ge()&&(lt.onError(Te,v,lt),(ma===!0||Ve(ma)&&ma(Te))&&(!j().revalidateOnFocus||!j().revalidateOnReconnect||O())&&lt.onErrorRetry(Te,v,lt,Ey=>{const wa=d[v];wa&&wa[0]&&wa[0](Nn.ERROR_REVALIDATE_EVENT,Ey)},{retryCount:(St.retryCount||0)+1,dedupe:!0})))}return Ee=!1,Wt(),!0},[v,r]),eo=vt((...G)=>_c(r,b.current,...G),[]);if(qo(()=>{k.current=t,S.current=n,H(ce)||(Qr.current=ce)}),qo(()=>{if(!v)return;const G=zt.bind(we,Jo);let X=0;const Z=fp(v,d,(Ee,St={})=>{if(Ee==Nn.FOCUS_EVENT){const le=Date.now();j().revalidateOnFocus&&le>X&&O()&&(X=le+j().focusThrottleInterval,G())}else if(Ee==Nn.RECONNECT_EVENT)j().revalidateOnReconnect&&O()&&G();else{if(Ee==Nn.MUTATE_EVENT)return zt();if(Ee==Nn.ERROR_REVALIDATE_EVENT)return zt(St)}});return y.current=!1,b.current=v,x.current=!0,A({_k:w}),ct&&(H(de)||Dn?G():Gf(G)),()=>{y.current=!0,Z()}},[v]),qo(()=>{let G;function X(){const Z=Ve(u)?u($().data):u;Z&&G!==-1&&(G=setTimeout(fe,Z))}function fe(){!$().error&&(p||j().isVisible())&&(c||j().isOnline())?zt(Jo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,p,c,v]),lr(st),i&&H(de)&&v){if(!dc&&Dn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,S.current=n,y.current=!1;const G=m[v];if(!H(G)){const X=eo(G);yc(X)}if(H(Vt)){const X=zt(Jo);H(st)||(X.status="fulfilled",X.value=!0),yc(X)}else throw Vt}return{mutate:eo,get data(){return N.data=!0,st},get error(){return N.error=!0,Vt},get isValidating(){return N.isValidating=!0,ga},get isLoading(){return N.isLoading=!0,wn}}}),ze=De({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}}),pp=({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 Ce(i),g("span",{class:ze({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return g("span",{class:ze({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ye(e)}},hp=44,vp=6,_p=12,gp=8,ei=De({base:"fr bg-lowest caret-accent-11 selection:bg-accent-4 selection:text-accent-12 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-interactive-accent-text ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),mp=De({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"}}),wp=De({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"}}}),yp=De({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}}),bp=De({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"}}}),xp=({children:e,colorScheme:t})=>g("span",{class:bp({colorScheme:t}),children:g("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),kp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},bc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},$p=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=bc(r.value),a=bc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},jp=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},Sp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Ep=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const{t:s}=Re(),l=go(r()),u=Pe(()=>{switch(l.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=l.data[t.key]??[];return Object.fromEntries(h.map(m=>[m.value,m.jobs]))}default:ye(l)}},[l,t.key]),p=kc(e),c=p.length>0,[f,d]=ae(),_=_f("(pointer: coarse)");return pe(()=>{a()}),l.state==="error"?g(_t,{error:new Error(s("filters_loading_error"),{cause:l.error}),resetError:()=>l.swr.mutate()}):g("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&g("div",{class:"top-0 px-4 py-1",children:g("input",{type:"search",class:ei(),value:f,onInput:h=>d(h.currentTarget.value),placeholder:s("type_to_search")})}),(()=>{switch(i.state){case"error":return g(_t,{error:new Error(s("filters_loading_error"),{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return g("div",{class:"flex px-4",children:g("div",{"aria-hidden":!0,class:ze({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:g("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const h=i.data[t.key]??[],m=f&&f.length>1?h.filter(b=>b.label.toLowerCase().includes(f.toLowerCase())):h,v=[];for(const b of m){if(b.label.length<1)continue;const k={...b,results:Sp(u,b),disabled:jp(u,b)};switch(t.results){case"only-available":k.disabled==!1&&v.push(k);break;default:v.push(k)}}if(!v.find(b=>!b.disabled))return g("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:s("no_filter_options_available")});const y=(h.length>_p||h.some(b=>b.label.length>24))&&!_;return g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{"--maxHeight":hp*(vp+.5)+2*gp+"px"},class:mp({type:y?"long":"short"}),children:$p(v,t.sortSuggestions).map(b=>{const k=p.includes(b.value);return g("li",{class:wp({type:y?"line":"pill"}),children:g("button",{disabled:b.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(e.select){case"many":{const S=kp(p,b.value);o({select:"many",value:S});break}case"one":o({select:"one",value:b.value});break;default:ye(e)}},class:y?yp({active:k,disabled:b.disabled}):ze({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:b.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[g("span",{class:"max-w-full truncate",children:b.label})," ",g(xp,{colorScheme:k?"accentStrong":"neutralStrong",children:b.results})]})},b.value)})})})}default:ye(i)}})(),g("footer",{class:"flex justify-end p-2",children:[g("div",{class:"flex-1",children:c&&g("button",{class:Dt({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[g($e,{"aria-hidden":!0,name:"x"})," ",s("clear")]})}),e.select==="many"&&g("div",{class:"flex items-center overflow-hidden",children:g("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[p.length," ",s("selected")]})}),g("div",{class:"flex-1",children:g("button",{class:Dt({variant:c?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[s(c?"done":"skip")," ",g($e,{name:"chevron-right"})]},c?"done":"skip")})]})]})},xc={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"},Cp=De({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"}}}),Op=De({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"}}}),Ap=De({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Tp=e=>{const t=ke(null),[n,r]=ae(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return ht(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},kc=e=>typeof e.value=="string"?[e.value]:e.value??[],Pp=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=Et(r.key,xc)?xc[r.key]:void 0,u=r.icon??l??"filter",p=kc(t),{height:c,ref:f,updateHeight:d}=Tp([e]),_=p.length>0;return g("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:Cp({hasValue:_}),onTouchStart:Rp,children:[g("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[g("button",{"aria-label":e?"Close filter":"Open filter",class:Op({state:e?"active":_?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[g($e,{"aria-hidden":!0,class:"flex-none",name:u}),g("p",{children:r.label})]}),g("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:g("div",{class:"w-full",ref:f,children:e&&g(Ep,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&g("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:[g("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:g(pp,{property:r,query:a,selectedValues:p})}),g($e,{"aria-hidden":!0,class:Ap(),name:"chevron-right"})]})]})};function Rp(){}const Dp=(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:ye(t)}},Lp=({properties:e,appliedFilters:t,onFilterValueChange:n,apiClient:r,logger:o})=>{var c;const{t:i}=Re(),[a,s]=ae((c=e[0])==null?void 0:c.key),l=Pe(()=>ci(e,"value"),[e]),u=go(Qo(hr({filter:l,baseKey:"filters",keyword:void 0}),()=>cs({apiClient:r,logger:o,filters:l,keyword:void 0}),mo)),p=vt(f=>()=>{const d={...t,[f]:l[f]};return Qo(hr({filter:d,baseKey:"filters",keyword:Ue.keyword$.value}),()=>cs({apiClient:r,logger:o,filters:d,keyword:Ue.keyword$.value}),mo)},[r,t,l,o]);return u.state==="error"?g(_t,{error:new Error(i("filters_loading_error"),{cause:u.error}),resetError:()=>u.swr.mutate()}):g("aside",{children:g("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(f=>f.hidden!==!0).map(f=>{const d=a===f.key,_=t[f.key]??{select:f.select,value:void 0},h=l[f.key];h&&Dp(_,h);const m=x=>{const{newActiveKey:y,newValue:b}=Np({property:f,activeKey:a,value:x??h,properties:e,appliedFilters:t});return s(y),n(f.key,b)},v=x=>s(x?f.key:void 0),w=p(f.key);return g(Cn,{Fallback:_t,children:g(Pp,{unfilteredQuery:u,active:d,property:f,onActiveChange:v,value:_,onSkip:()=>{var b;const x=e.findIndex(k=>k.key===a),y=x!==-1?(b=e[x+1])==null?void 0:b.key:void 0;s(y)},useQuery:w,onValueChange:m})},f.key)})})})},Mp=2,Ip=({onKeywordChange:e})=>{const{keyword$:t}=Ue,[n,r]=ae(t.value??""),o=n!==""&&n===t.value,{t:i}=Re();return pe(()=>{let a=n.trim();if(a.length<=Mp&&(a=null),a===null){t.value="";return}const s=setTimeout(()=>{t.value=a},300);return()=>clearTimeout(s)},[n,t,e]),g("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:g("div",{class:"relative",children:[g("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[g($e,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:Sn({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),g("span",{class:"sr-only",children:"Keyword"})]}),g("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:ei({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:i("type_to_search_jobs"),value:n,onChange:a=>{r(a.currentTarget.value),e==null||e(a.currentTarget.value)}}),g("button",{class:Dt({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:g($e,{name:"x"})})]})})},Fp=Dt({variant:"neutral",icon:"left",size:"sm",class:"text-style-tag gap-1"}),Hp={simple:{nextMode:"advanced",icon:"filter",label:"advanced_mode"},advanced:{nextMode:"simple",icon:"x",label:"simple_mode"}},Up=({onSwitch:e,appliedFilters:t})=>{const{t:n}=Re(),r=Ue.mode$.value,{nextMode:o,icon:i,label:a}=Hp[r],s=Object.values(t).filter(l=>{var u;return(u=l==null?void 0:l.value)==null?void 0:u.length}).length;return g("button",{onClick:()=>{Ue.mode$.value=o,e==null||e(o)},class:Fp,children:[g($e,{name:i}),g("span",{children:n(a)}),s>0?g("span",{class:ze({interactive:!1,variant:"neutralWeak",size:"xs"}),children:s}):null]},"mode")},Vp=({intervalMs:e,strings:t,class:n})=>{const[r,o]=ae(0),[i,a]=ae(!0),s=[...t,t[0]];return pe(()=>{r===s.length&&(a(!1),o(0));const l=setTimeout(()=>{a(!0),o(u=>u+1)},e);return()=>clearTimeout(l)},[r,s.length,e]),g("div",{className:Sn("relative h-full w-full overflow-hidden",n),children:g("div",{className:Sn("absolute w-full",{"transition-transform duration-500 ease-in-out":i}),style:{height:`${100*s.length}%`,transform:`translateY(-${r*(100/s.length)}%)`},children:s.map((l,u)=>g("div",{className:"flex items-center whitespace-nowrap",style:{height:`${100/s.length}%`},children:l},u))})})},zp=(e,t)=>{pe(()=>{const n=r=>{document.activeElement===e.current&&t(r)};return document.addEventListener("selectionchange",n),()=>document.removeEventListener("selectionchange",n)},[e,t])},$c=3,Wp=({onKeywordChange:e,options:t})=>{const{keyword$:n}=Ue,[r,o]=ae(n.value??""),i=r.trim(),a=i!==""&&i===n.value,{t:s}=Re(),l=i.split(""),[u,p]=ae(0),c=ke(null);return zp(c,f=>{f.target instanceof HTMLInputElement&&p(f.target.scrollLeft)}),pe(()=>{let f=r.trim();if(f.length<=$c&&(f=null),f===null){n.value="";return}const d=setTimeout(()=>{n.value=f.trim()},1e3);return()=>clearTimeout(d)},[r,n,e]),g("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:[g("div",{class:"relative",children:[g("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[g($e,{"aria-hidden":!0,title:"Search by keyword",name:"ai",class:Sn("duration-snappy transition-transform",{"text-copy-neutral-icon scale-90":!a,"text-copy-accent-icon":a})}),g("span",{class:"sr-only",children:"Keyword"})]}),g("input",{ref:c,autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"text",placeholder:t!=null&&t.suggestions?t.suggestions.join(", "):" ",class:ei({hasValue:a,size:"unsized",class:"peer px-10 py-2 tracking-tight !text-transparent placeholder:!text-transparent"}),style:{fontKerning:"none"},value:r,onChange:f=>{const d=f.currentTarget.value.trim();o(d),e==null||e(d)},onKeyDown:f=>{if(f.key==="Enter"){if(f.currentTarget.value.trim().length<=$c)return;f.preventDefault(),n.value=r,e==null||e(r)}}}),g("div",{"data-synced":a,class:"font-weight-input text-copy-neutral group pointer-events-none absolute inset-x-10 inset-y-0 flex overflow-hidden tracking-tight peer-placeholder-shown:right-0",children:i.length>0?g("div",{"aria-hidden":!0,class:"flex items-center whitespace-nowrap",style:{transform:`translateX(${-u}px)`},children:l.map((f,d)=>g("span",{style:{animationDelay:d*300/l.length+"ms"},class:"group-data-[synced=true]:animate-ai-letter inline-block",children:f===" "?" ":f},i+d))}):t!=null&&t.suggestions?g(Vp,{intervalMs:2e3,strings:t.suggestions,class:"opacity-30","aria-hidden":!0}):null}),g("button",{class:Dt({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{n.value="",o(""),e==null||e("")},children:g($e,{name:"x"})})]}),g("p",{class:"font-family-default font-style-default text-style-job-card-info text-copy-neutral-lowcontrast",children:s("ai_disclaimer")})]})};var Bp=Array.isArray,ti=Bp,Yp=typeof gr=="object"&&gr&&gr.Object===Object&&gr,Kp=Yp,qp=Kp,Gp=typeof self=="object"&&self&&self.Object===Object&&self,Xp=qp||Gp||Function("return this")(),ni=Xp,Zp=ni,Jp=Zp.Symbol,ri=Jp,jc=ri,Sc=Object.prototype,Qp=Sc.hasOwnProperty,eh=Sc.toString,Ln=jc?jc.toStringTag:void 0;function th(e){var t=Qp.call(e,Ln),n=e[Ln];try{e[Ln]=void 0;var r=!0}catch{}var o=eh.call(e);return r&&(t?e[Ln]=n:delete e[Ln]),o}var nh=th,rh=Object.prototype,oh=rh.toString;function ih(e){return oh.call(e)}var ah=ih,Ec=ri,sh=nh,ch=ah,lh="[object Null]",uh="[object Undefined]",Cc=Ec?Ec.toStringTag:void 0;function dh(e){return e==null?e===void 0?uh:lh:Cc&&Cc in Object(e)?sh(e):ch(e)}var Oc=dh;function fh(e){return e!=null&&typeof e=="object"}var ph=fh,hh=Oc,vh=ph,_h="[object Symbol]";function gh(e){return typeof e=="symbol"||vh(e)&&hh(e)==_h}var oi=gh,mh=ti,wh=oi,yh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bh=/^\w*$/;function xh(e,t){if(mh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||wh(e)?!0:bh.test(e)||!yh.test(e)||t!=null&&e in Object(t)}var kh=xh;function $h(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ac=$h,jh=Oc,Sh=Ac,Eh="[object AsyncFunction]",Ch="[object Function]",Oh="[object GeneratorFunction]",Ah="[object Proxy]";function Th(e){if(!Sh(e))return!1;var t=jh(e);return t==Ch||t==Oh||t==Eh||t==Ah}var Ph=Th,Rh=ni,Dh=Rh["__core-js_shared__"],Nh=Dh,ii=Nh,Tc=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Lh(e){return!!Tc&&Tc in e}var Mh=Lh,Ih=Function.prototype,Fh=Ih.toString;function Hh(e){if(e!=null){try{return Fh.call(e)}catch{}try{return e+""}catch{}}return""}var Uh=Hh,Vh=Ph,zh=Mh,Wh=Ac,Bh=Uh,Yh=/[\\^$.*+?()[\]{}|]/g,Kh=/^\[object .+?Constructor\]$/,qh=Function.prototype,Gh=Object.prototype,Xh=qh.toString,Zh=Gh.hasOwnProperty,Jh=RegExp("^"+Xh.call(Zh).replace(Yh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qh(e){if(!Wh(e)||zh(e))return!1;var t=Vh(e)?Jh:Kh;return t.test(Bh(e))}var ev=Qh;function tv(e,t){return e==null?void 0:e[t]}var nv=tv,rv=ev,ov=nv;function iv(e,t){var n=ov(e,t);return rv(n)?n:void 0}var Pc=iv,av=Pc,sv=av(Object,"create"),br=sv,Rc=br;function cv(){this.__data__=Rc?Rc(null):{},this.size=0}var lv=cv;function uv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var dv=uv,fv=br,pv="__lodash_hash_undefined__",hv=Object.prototype,vv=hv.hasOwnProperty;function _v(e){var t=this.__data__;if(fv){var n=t[e];return n===pv?void 0:n}return vv.call(t,e)?t[e]:void 0}var gv=_v,mv=br,wv=Object.prototype,yv=wv.hasOwnProperty;function bv(e){var t=this.__data__;return mv?t[e]!==void 0:yv.call(t,e)}var xv=bv,kv=br,$v="__lodash_hash_undefined__";function jv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=kv&&t===void 0?$v:t,this}var Sv=jv,Ev=lv,Cv=dv,Ov=gv,Av=xv,Tv=Sv;function Jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jt.prototype.clear=Ev,Jt.prototype.delete=Cv,Jt.prototype.get=Ov,Jt.prototype.has=Av,Jt.prototype.set=Tv;var Pv=Jt;function Rv(){this.__data__=[],this.size=0}var Dv=Rv;function Nv(e,t){return e===t||e!==e&&t!==t}var Lv=Nv,Mv=Lv;function Iv(e,t){for(var n=e.length;n--;)if(Mv(e[n][0],t))return n;return-1}var xr=Iv,Fv=xr,Hv=Array.prototype,Uv=Hv.splice;function Vv(e){var t=this.__data__,n=Fv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Uv.call(t,n,1),--this.size,!0}var zv=Vv,Wv=xr;function Bv(e){var t=this.__data__,n=Wv(t,e);return n<0?void 0:t[n][1]}var Yv=Bv,Kv=xr;function qv(e){return Kv(this.__data__,e)>-1}var Gv=qv,Xv=xr;function Zv(e,t){var n=this.__data__,r=Xv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Jv=Zv,Qv=Dv,e_=zv,t_=Yv,n_=Gv,r_=Jv;function Qt(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])}}Qt.prototype.clear=Qv,Qt.prototype.delete=e_,Qt.prototype.get=t_,Qt.prototype.has=n_,Qt.prototype.set=r_;var o_=Qt,i_=Pc,a_=ni,s_=i_(a_,"Map"),c_=s_,Dc=Pv,l_=o_,u_=c_;function d_(){this.size=0,this.__data__={hash:new Dc,map:new(u_||l_),string:new Dc}}var f_=d_;function p_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var h_=p_,v_=h_;function __(e,t){var n=e.__data__;return v_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var kr=__,g_=kr;function m_(e){var t=g_(this,e).delete(e);return this.size-=t?1:0,t}var w_=m_,y_=kr;function b_(e){return y_(this,e).get(e)}var x_=b_,k_=kr;function $_(e){return k_(this,e).has(e)}var j_=$_,S_=kr;function E_(e,t){var n=S_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var C_=E_,O_=f_,A_=w_,T_=x_,P_=j_,R_=C_;function en(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])}}en.prototype.clear=O_,en.prototype.delete=A_,en.prototype.get=T_,en.prototype.has=P_,en.prototype.set=R_;var D_=en,Nc=D_,N_="Expected a function";function ai(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(N_);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(ai.Cache||Nc),n}ai.Cache=Nc;var L_=ai,M_=L_,I_=500;function F_(e){var t=M_(e,function(r){return n.size===I_&&n.clear(),r}),n=t.cache;return t}var H_=F_,U_=H_,V_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z_=/\\(\\)?/g,W_=U_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(V_,function(n,r,o,i){t.push(o?i.replace(z_,"$1"):r||n)}),t}),B_=W_;function Y_(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 K_=Y_,Lc=ri,q_=K_,G_=ti,X_=oi,Z_=1/0,Mc=Lc?Lc.prototype:void 0,Ic=Mc?Mc.toString:void 0;function Fc(e){if(typeof e=="string")return e;if(G_(e))return q_(e,Fc)+"";if(X_(e))return Ic?Ic.call(e):"";var t=e+"";return t=="0"&&1/e==-Z_?"-0":t}var J_=Fc,Q_=J_;function eg(e){return e==null?"":Q_(e)}var tg=eg,ng=ti,rg=kh,og=B_,ig=tg;function ag(e,t){return ng(e)?e:rg(e,t)?[e]:og(ig(e))}var sg=ag,cg=oi,lg=1/0;function ug(e){if(typeof e=="string"||cg(e))return e;var t=e+"";return t=="0"&&1/e==-lg?"-0":t}var dg=ug,fg=sg,pg=dg;function hg(e,t){t=fg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[pg(t[n++])];return n&&n==r?e:void 0}var vg=hg,_g=vg;function gg(e,t,n){var r=e==null?void 0:_g(e,t);return r===void 0?n:r}var mg=gg;const wg=Nf(mg),$r=({chars:e})=>g("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Hc=De({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}}),si=({job:e,property:t})=>{if(!t)return null;const n=wg(e.raw,t.key);return t.transform?t.transform(n):n},yg=({job:e,config:t="hidden"})=>t==="hidden"?null:g("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?g("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Uc=e=>Array.isArray(e)?e:[e],bg=1e3*60*60*24*7,xg=({job:e,config:t,onJobClick:n})=>{var f,d,_;const{t:r}=Re(),o=t.subheading?si({job:e,property:t.subheading}):null,i=t.infoTags.flatMap(h=>Uc(si({job:e,property:h}))).filter(Boolean),a=Uc((f=t.overrides)!=null&&f.salary?si({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),s=t.postedDate??"show",l=(d=t.overrides)!=null&&d.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,u=t.newUnderDays??7,p=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-u*bg:!1,c=h=>{var m,v;n==null||n(e),(v=(m=t.overrides)==null?void 0:m.onClick)==null||v.call(m,h)};return g("a",{onMouseEnter:(_=t.overrides)==null?void 0:_.onMouseEnter,onClick:c,href:l,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Hc(),children:[g("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[g("div",{class:"gap-logo flex items-center",children:[g(yg,{job:e,config:t.logo}),g("div",{class:"flex flex-col items-start gap-1",children:[g("div",{class:"order-2 flex flex-col gap-1",children:[e.match?g("p",{class:"text-style-job-card text-tag-accent-strong-bg flex items-center ",children:[g($e,{name:"ai",class:"size-4 inline-block"}),g("span",{children:e.match})]}):null,g("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(),p&&s!=="hide"&&g(F,{children:[" ",g("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:r("new")})]})]}),o?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:o}):null]}),s==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:[r("posted")," ",e.relativePostedDate]}):null]})]}),g("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[g("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:a.map((h,m)=>g("span",{class:ze({variant:"monetaryWeak",size:"xs"}),children:h},m))}),i.length>0&&g("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:i.map(h=>g("li",{class:ze({size:"xs",class:"max-w-full truncate"}),children:h},h))})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g($e,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Vc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return g("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:Hc({interactive:!1}),children:[g("div",{class:"flex flex-1 flex-col gap-4",children:[g("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:g("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),g("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info",children:g($r,{chars:12})}):null,g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:g($r,{chars:13+(n+5)*n%7})}),e.subheading!==null?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:g($r,{chars:7+n*n%3})}):null]})]})]}),g("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&g("span",{class:ze({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),g("div",{class:"flex items-center gap-2",children:[g("span",{class:ze({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),g("span",{class:ze({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g($e,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},kg=({state:e,fetchNextPage:t,config:n,remainingItems:r})=>{const{t:o}=Re(),i=Math.min(Pt,r);return e==="revalidating"?g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Pt}).map((a,s)=>g("li",{children:g(Vc,{seed:s,animationDelay:(s-4)*.1,config:n})},s))}):g("button",{class:Dt({variant:"neutral",class:"py-2"}),onClick:t,children:[o("load_more_count",{count:i})," ",o("of_remaining_count",{count:r})]})},$g=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a,onPaginate:s,mode:l})=>{const[u,p]=ae(1);return g(F,{children:Array.from({length:u}).map((c,f)=>{const d=f===u-1;return g(Cn,{Fallback:_t,children:g(jg,{appliedFilters:e,apiClient:t,logger:n,page:f+1,isFirst:f===0,isLast:d,fetchNextPage:()=>{p(u+1),s(u+1)},jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a,mode:l},f)},f)})})},jg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l,onResultsUpdate:u,onJobClick:p,mode:c})=>{const{t:f}=Re(),d=r===1?l:void 0,{keyword$:_}=Ue,{data:h,error:m,state:v,swr:w}=go(Qo(hr({filter:e,baseKey:r.toString(),keyword:_.value}),()=>ls({apiClient:t,logger:n,filters:e,page:r,query:_.value,t:f,mode:c}),{...mo,fallbackData:d}));switch(pe(()=>{h&&o&&u&&u({totalCount:h.pagination.total})},[h,o,u]),v){case"loading":return g(F,{children:[o&&g("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:g($r,{chars:8})}),g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Pt}).map((x,y)=>g("li",{children:g(Vc,{seed:y,animationDelay:(y-Pt)*.1,config:s})},y))})]});case"error":return g(_t,{class:"-m-4",error:new Error(f("jobs_loading_error"),{cause:m}),resetError:()=>w.mutate()});case"revalidating":case"loaded":{if(Ce(h.pagination.current_page===r,"Received wrong page from server"),h.pagination.total===0)return g("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[g($e,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),g("div",{class:"flex flex-col items-center gap-1",children:[g("p",{class:"text-copy-neutral text-style-job-heading",children:f("no_jobs_found")}),g("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:f("no_jobs_found_description")})]})]});const x=h.pagination.last_page!==h.pagination.current_page,y=r*Pt,b=Math.max(h.pagination.total-y,0),k=S=>{p(S,r)};return g(F,{children:[o&&g("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:f("jobs_found",{count:h.pagination.total})}),g("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:h.results.map(S=>g("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:v==="revalidating"?.33:1},children:g(xg,{job:S,onJobClick:k,config:s})},S.id))}),x&&i&&g(kg,{state:v,fetchNextPage:a,config:s,remainingItems:b})]})}default:ye(v)}},ci=(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:ye(r.select)}return n},{}),zc=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=n==null?void 0:n.value;return[t,Array.isArray(r)?r:r?[r]:[]]}).filter(([,t])=>t!==void 0&&t.length>0)),Sg=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{var k,S,j,O;const u=ke(null),p=ci(n,"defaultValue"),[c,f]=ae(()=>({default:!0,filters:p})),[d,_]=ae(0),{keyword$:h,mode$:m}=Ue,v=zc(p),w=zc(c.filters),x=vt(($=1)=>({query:h.value||void 0,filters:w,default_filters:v,total_count:d,page_size:Pt,page:$}),[h.value,w,v,d]);gf(u,{minViewTime:2e3,onView:()=>{o.log({event:"VIEW_SEARCH",properties:x()})}}),pe(()=>{const $=window.setTimeout(()=>{c.default===!0&&!h.value||!h.value&&!Object.keys(w).length||d===0||o.log({event:"SEARCH_SETTLE",properties:x()})},5e3);return()=>{clearTimeout($)}},[o,c.default,w,x,h.value,d]);const y=($,A)=>{o.log({event:"SEARCH_JOB_CLICK",properties:{job_id:$.id,...x(A)}})},b=$=>{o.log({event:"SEARCH_PAGINATE",properties:x($)})};return g("div",{ref:u,class:r,id:is,children:g("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:[g(Cn,{Fallback:_t,children:g("div",{class:"flex flex-col gap-2",children:[(k=l.naturalLanguageSearch)!=null&&k.enabled?g(Wp,{onKeywordChange:s,options:l.naturalLanguageSearch}):l.enableKeywordSearch?g(Ip,{onKeywordChange:s}):null,(S=l.naturalLanguageSearch)!=null&&S.enabled?g(Up,{appliedFilters:c.filters}):null,m.value==="advanced"||((j=l.naturalLanguageSearch)==null?void 0:j.enabled)===!1?g(F,{children:[g(Lp,{appliedFilters:c.filters,onFilterValueChange:($,A)=>{f(I=>(a==null||a({...I.filters,[$]:A}),{default:!1,filters:{...I.filters,[$]:A}}))},properties:n,logger:t,apiClient:e}),l.enableJobAlerts&&g("div",{class:"flex justify-center px-4 md:px-0",children:g(wf,{appliedFilters:c.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]}):null]})}),g("div",{class:"md:col-span-2",children:g("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:g(Cn,{Fallback:_t,children:g($g,{appliedFilters:c.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:c.default?i==null?void 0:i.jobs:void 0,onResultsUpdate:$=>{_($.totalCount)},onJobClick:y,onPaginate:b,mode:(O=l.naturalLanguageSearch)!=null&&O.enabled?"vector":"query"},hr({filter:c.filters,baseKey:"resultsSection",keyword:h.value}))})})})]})})},Eg=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .inset-x-10{left:2.5rem;right:2.5rem}#ijs .inset-y-0{top:0;bottom:0}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .size-4{width:1rem;height:1rem}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .scale-90{--tw-scale-x: .9;--tw-scale-y: .9;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 .whitespace-nowrap{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-10{padding-left:2.5rem;padding-right:2.5rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-10{padding-left:2.5rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .tracking-tight{letter-spacing:-.025em}#ijs .\\!text-transparent{color:transparent!important}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent-icon{color:var(--i-copy-accent-icon)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .opacity-30{opacity:.3}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-500{transition-duration:.5s}#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 .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,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 .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}#ijs .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}#ijs .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}#ijs .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}#ijs .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}#ijs .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}#ijs .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}#ijs .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}#ijs .placeholder\\:\\!text-transparent::-moz-placeholder{color:transparent!important}#ijs .placeholder\\:\\!text-transparent::placeholder{color:transparent!important}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:right-0{right:0}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:right-0{right:0}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@keyframes ai-letter{0%{color:var(--i-copy);transform:scale(1)}50%{transform:scale(1.125)}75%{color:var(--i-interactive-accent-text);transform:scale(1.0625)}to{color:var(--i-interactive-accent-text);transform:scale(1)}}#ijs .group[data-synced=true] .group-data-\\[synced\\=true\\]\\:animate-ai-letter{animation:ai-letter .6s cubic-bezier(.68,-.6,.32,1.6) both}@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 Cg=["1","2","3","4","5","6","7","8","9","10","11","12"],Og={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]}},Ag=(e,t=1,n)=>r=>{const[o,i]=Og[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},li=e=>{const t=Ag(e.hue,e.chroma,e.mode);return Object.fromEntries(Cg.map(n=>[e.prefix+n,e.transform(t(n))]))},ui=e=>e,Tg=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)},jr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),di=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(jr(e)&&jr(n))for(const r in n){const o=n[r];if(jr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];jr(i)&&di(i,o)}else Object.assign(e,{[r]:n[r]})}return di(e,...t)},Pg=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Rg=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=f=>i("reference",f.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}}),p=Tg(di(s,l,u)),c=([f,d],_)=>{const h=[_,f].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(m=>c(m,h)):[[r.getToken("declaration",h),d]]};return{values:p,declarations:Object.fromEntries(Object.entries(p).flatMap(f=>c(f))),ref:f=>i("reference",f.toString())}}})})})});const Oe=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)},[fi,pi,Je]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Dg=Rg().core(({theme:e})=>{var t,n,r,o;return{color:{black:fi,white:pi,lowest:e.mode==="light"?pi:fi,highest:e.mode==="light"?fi:pi,...li({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:ui}),...li({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:ui}),...li({prefix:"m-",hue:((r=e.monetary)==null?void 0:r.hue)??140,chroma:((o=e.monetary)==null?void 0:o.chroma)??1,mode:e.mode,transform:ui})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,p,c,f,d,_,h,m,v,w,x,y,b,k,S,j,O,$,A;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":((p=o.tag)==null?void 0:p.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((f=o.filter)==null?void 0:f.style)??o.style??"inherit","weight-filter":((_=(d=o.filter)==null?void 0:d.weight)==null?void 0:_.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((m=o.tag)==null?void 0:m.style)??o.style??"inherit","style-job-heading":((v=o.jobHeading)==null?void 0:v.style)??o.style??"inherit","weight-tag":((x=(w=o.tag)==null?void 0:w.weight)==null?void 0:x.toString())??((y=o.weight)==null?void 0:y.toString())??"inherit","weight-job-heading":((k=(b=o.jobHeading)==null?void 0:b.weight)==null?void 0:k.toString())??((S=o.weight)==null?void 0:S.toString())??"inherit","style-input":((j=o.input)==null?void 0:j.style)??o.style??"inherit","weight-input":(($=(O=o.input)==null?void 0:O.weight)==null?void 0:$.toString())??((A=o.weight)==null?void 0:A.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"):Je,"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"):Je,"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":Je,"radius-app":Oe(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Oe(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Oe(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Oe(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Oe(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Oe(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Oe(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":Oe(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Je,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Je,"section-weak-stroke-color":i==="fill"?Je:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Je:e(a?"color.n-11":"color.n-4"),"section-stroke-width":Oe(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Oe(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Je),"job-card-bg-active":Oe(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Je),"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":Oe(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Ng=Pg({prefix:"i-"}),Lg=e=>{const t=Dg.from({theme:e,getToken:Ng}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${is} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
21
- }`},Ag=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ns}`);return je(e,`Element with id ${ns} not found.`),e}}))(),Tg=()=>ma(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return re(En,{Fallback:sf},[re(rf,{terms:o.terms,children:[re("style",{id:"inploi-job-search-styles"},yg),re("style",{id:"inploi-job-search-theme"},Og(o.theme)),re(lf,{theme:o.theme}),re(mg,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,params:o})]})])};return{prerender:async o=>{o.defaultSearchKeyword&&(Rt.keyword$.value=o.defaultSearchKeyword);const i=o.withData?await ss({filters:ai(o.properties),apiClient:e,logger:t,keyword:void 0,t:of(o.terms??{})}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:xd(re(F,{},re(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?ao:Wt;o.defaultSearchKeyword&&(Rt.keyword$.value=o.defaultSearchKeyword),je(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(re(r,{params:o}),Ag.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Tg;function zc(e,t){if(!e)throw new Error(t)}var Ln,P,Wc,Bc,Dt,Yc,Kc,fi,pi,hi,vi,qc,Mn={},Gc=[],Pg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,kr=Array.isArray;function Je(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?Ln.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 In(e,a,r,o,null)}function In(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??++Wc,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function Zc(){return{current:null}}function oe(e){return e.children}function Oe(e,t){this.props=e,this.context=t}function Nt(e,t){if(t==null)return e.__?Nt(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"?Nt(e):null}function Jc(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 Jc(e)}}function _i(e){(!e.__d&&(e.__d=!0)&&Dt.push(e)&&!$r.__r++||Yc!==P.debounceRendering)&&((Yc=P.debounceRendering)||Kc)($r)}function $r(){var e,t,n,r,o,i,a,s;for(Dt.sort(fi);e=Dt.shift();)e.__d&&(t=Dt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Je({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),gi(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Nt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,rl(a,r,s),r.__e!=i&&Jc(r)),Dt.length>t&&Dt.sort(fi));$r.__r=0}function Qc(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||Gc,_=t.length;for(n.__d=l,Rg(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?Mn:g[d.__i]||Mn,d.__i=c,gi(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&wi(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=Nt(p)),l=el(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 Rg(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?In(null,o,null,null,null):kr(o)?In(oe,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?In(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Dg(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=Nt(i)),mi(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=Nt(i)),mi(i,i))}function el(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=el(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"||(kr(e)?e.some(function(n){Qe(n,t)}):t.push(e)),t}function Dg(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 tl(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Pg.test(t)?n:n+"px"}function jr(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||tl(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||tl(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=pi,e.addEventListener(t,i?vi:hi,i)):e.removeEventListener(t,i?vi:hi,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 nl(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=pi++;else if(t.t<n.u)return;return n(P.event?P.event(t):t)}}}function gi(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,x,b,y,k,C,$,O,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=P.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,x=(f=j.contextType)&&r[f.__c],b=f?x?x.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,b):(t.__c=c=new Oe(_,b),c.constructor=j,c.render=Lg),x&&x.sub(c),c.props=_,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Je({},c.__s)),Je(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(_,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=b,c.props=_,c.__P=e,c.__e=!1,k=P.__r,C=0,m){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&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=Je(Je({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),Qc(e,kr(O=f!=null&&f.type===oe&&f.key==null?f.props.children:f)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),P.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ng(n.__e,t,n,r,o,i,a,l,u);(f=P.diffed)&&f(t)}function rl(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)wi(n[r],n[++r],n[++r]);P.__c&&P.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function Ng(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&&Ln.call(e.childNodes),g=n.props||Mn,!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;jr(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||jr(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=""),Qc(e,kr(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Nt(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])&&jr(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&jr(e,u,h,g[u],o))}return e}function wi(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){P.__e(r,n)}}function mi(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||wi(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&mi(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 Lg(e,t,n){return this.constructor(e,n)}function en(e,t,n){var r,o,i,a;P.__&&P.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],gi(t,e=(!r&&n||t).__k=A(oe,null,[e]),o||Mn,Mn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Ln.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),rl(i,e,a)}function yi(e,t){en(e,t,yi)}function Mg(e,t,n){var r,o,i,a,s=Je({},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?Ln.call(arguments,2):n),In(e.type,s,r||e.key,o||e.ref,null)}function Fn(e,t){var n={__c:t="__cC"+qc++,__: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,_i(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}Ln=Gc.slice,P={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Wc=0,Bc=function(e){return e!=null&&e.constructor==null},Oe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Je({},this.state),typeof e=="function"&&(e=e(Je({},n),this.props)),e&&Je(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),_i(this))},Oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_i(this))},Oe.prototype.render=oe,Dt=[],Kc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fi=function(e,t){return e.__v.__b-t.__v.__b},$r.__r=0,pi=0,hi=nl(!1),vi=nl(!0),qc=0;var ol=/[\s\n\\/='"\0<>]/,il=/^(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]/,Fg=/^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/,Hg=/["&<]/;function Sr(e){if(e.length===0||Hg.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 al={},Ug=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"]),Vg=/[A-Z]/g;function zg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:al[n]||(al[n]=n.replace(Vg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Ug.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var bi,Lt,Hn,Un,sl=[],cl=Array.isArray,xi=Object.assign;function Wg(e,t,n){var r=P.__s;P.__s=!0,bi=P.__b,Lt=P.diffed,Hn=P.__r,Un=P.unmount;var o=A(oe,null);o.__k=[e];try{var i=He(e,t||ul,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{P.__c&&P.__c(e,sl),P.__s=r,sl.length=0}}function ll(){this.__d=!0}var ul={};function dl(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=ul),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=xi({},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 He(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Sr(e+"");if(cl(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=He(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,bi&&bi(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===oe){if(_.tpl){for(var x="",b=0;b<_.tpl.length;b++)if(x+=_.tpl[b],_.exprs&&b<_.exprs.length){var y=_.exprs[b];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!cl(y)?x+=y:x+=He(y,t,n,r,e,i,a)}return x}if(_.UNSTABLE_comment)return"<!--"+Sr(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];m=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=dl(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:ll,forceUpdate:ll,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,Hn&&Hn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=xi({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var $="";v=v!=null&&v.type===oe&&v.key==null?v.props.children:v;try{return $=He(v,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(v=dl(e,t),(h=e.__c).getChildContext!=null&&(t=xi({},t,h.getChildContext())),$=He(v=v!=null&&v.type===oe&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{Lt&&Lt(e),e.__=null,Un&&Un(e)}}}v=v!=null&&v.type===oe&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var O=He(v,t,n,r,e,i,a);return Lt&&Lt(e),e.__=null,P.unmount&&P.unmount(e),O}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return He(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=P.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return He(v,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return He(v,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=zg(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(il.test(S))S=S.replace(il,"$1:$2").toLowerCase();else{if(ol.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?Fg.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+'="'+Sr(E+"")+'"')}if(ol.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=Sr(L):L!=null&&L!==!1&&L!==!0&&(M=He(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Lt&&Lt(e),e.__=null,Un&&Un(e),!M&&Bg.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 Bg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Yg=0;function R(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Yg,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}const Kg={bell:R("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:R("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":R("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},qg=({theme:e})=>R("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:R("defs",{children:Object.entries(Kg).map(([t,n])=>R("symbol",{id:`i-icon-${t}`,children:R("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),fl=({name:e,...t})=>R("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:R("use",{href:`#i-icon-${e}`})});function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}var et,Y,ki,pl,tn=0,hl=[],ee=P,vl=ee.__b,_l=ee.__r,gl=ee.diffed,wl=ee.__c,ml=ee.unmount,yl=ee.__;function Mt(e,t){ee.__h&&ee.__h(Y,e,tn||t),tn=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function K(e){return tn=1,Vn(xl,e)}function Vn(e,t,n){var r=Mt(et++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):xl(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var 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))};Y.u=!0;var i=Y.shouldComponentUpdate,a=Y.componentWillUpdate;Y.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)},Y.shouldComponentUpdate=o}return r.__N||r.__}function J(e,t){var n=Mt(et++,3);!ee.__s&&Ci(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function wt(e,t){var n=Mt(et++,4);!ee.__s&&Ci(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function V(e){return tn=5,_e(function(){return{current:e}},[])}function $i(e,t,n){tn=6,wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function _e(e,t){var n=Mt(et++,7);return Ci(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return tn=8,_e(function(){return e},t)}function zn(e){var t=Y.context[e.__c],n=Mt(et++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function ji(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function Gg(e){var t=Mt(et++,10),n=K();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Si(){var e=Mt(et++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Xg(){for(var e;e=hl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Er),e.__H.__h.forEach(Ei),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Y=null,vl&&vl(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),yl&&yl(e,t)},ee.__r=function(e){_l&&_l(e),et=0;var t=(Y=e.__c).__H;t&&(ki===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Er),t.__h.forEach(Ei),t.__h=[],et=0)),ki=Y},ee.diffed=function(e){gl&&gl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(hl.push(t)!==1&&pl===ee.requestAnimationFrame||((pl=ee.requestAnimationFrame)||Zg)(Xg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ki=Y=null},ee.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Er),n.__h=n.__h.filter(function(r){return!r.__||Ei(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(r,n.__v)}}),wl&&wl(e,t)},ee.unmount=function(e){ml&&ml(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Er(r)}catch(o){t=o}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var bl=typeof requestAnimationFrame=="function";function Zg(e){var t,n=function(){clearTimeout(r),bl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);bl&&(t=requestAnimationFrame(n))}function Er(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function Ei(e){var t=Y;e.__c=e.__(),Y=t}function Ci(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function xl(e,t){return typeof t=="function"?t(e):t}function kl(e,t){for(var n in t)e[n]=t[n];return e}function Oi(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 Cr(e,t){this.props=e,this.context=t}function $l(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:Oi(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}(Cr.prototype=new Oe).isPureReactComponent=!0,Cr.prototype.shouldComponentUpdate=function(e,t){return Oi(this.props,e)||Oi(this.state,t)};var jl=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),jl&&jl(e)};var Jg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(n){var r=kl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Jg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Sl=function(e,t){return e==null?null:Qe(Qe(e).map(t))},tt={map:Sl,forEach:Sl,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},Qg=P.__e;P.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Qg(e,t,n,r)};var El=P.unmount;function Cl(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=kl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Cl(r,t,n)})),e}function Ol(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ol(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 Al(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Tl(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 nn(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),El&&El(e)},(Wn.prototype=new Oe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Al(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]=Ol(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]=Cl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(oe,null,e.fallback);return o&&(o.__u&=-33),[A(oe,null,t.__a?null:e.children),o]};var Pl=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 e0(e){return this.getChildContext=function(){return e.context},e.children}function t0(e){var t=this,n=e.i;t.componentWillUnmount=function(){en(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)}}),en(A(e0,{context:t.context},e.__v),t.l)}function Rl(e,t){var n=A(t0,{__v:e,i:t});return n.containerInfo=t,n}(nn.prototype=new Oe).__a=function(e){var t=this,n=Al(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Pl(t,e,r)):o()};n?n(i):i()}},nn.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},nn.prototype.componentDidUpdate=nn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Pl(e,n,t)})};var Dl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,n0=/^(?: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]/,r0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,o0=/[A-Z0-9]/g,i0=typeof document<"u",a0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Nl(e,t,n){return t.__k==null&&(t.textContent=""),en(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ll(e,t,n){return yi(e,t),typeof n=="function"&&n(),e?e.__c:null}Oe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Oe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ml=P.event;function s0(){}function c0(){return this.cancelBubble}function l0(){return this.defaultPrevented}P.event=function(e){return Ml&&(e=Ml(e)),e.persist=s0,e.isPropagationStopped=c0,e.isDefaultPrevented=l0,e.nativeEvent=e};var Ai,u0={enumerable:!1,configurable:!0,get:function(){return this.class}},Il=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||i0&&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"||a0(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":r0.test(i)?i=s:r.indexOf("-")===-1&&n0.test(i)?i=i.replace(o0,"-$&").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",u0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Dl,Il&&Il(e)};var Fl=P.__r;P.__r=function(e){Fl&&Fl(e),Ai=e.__c};var Hl=P.diffed;P.diffed=function(e){Hl&&Hl(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Ai=null};var Ul={ReactCurrentDispatcher:{current:{readContext:function(e){return Ai.__n[e.__c].props.value},useCallback:ae,useContext:zn,useDebugValue:ji,useDeferredValue:Pi,useEffect:J,useId:Si,useImperativeHandle:$i,useInsertionEffect:Di,useLayoutEffect:wt,useMemo:_e,useReducer:Vn,useRef:V,useState:K,useSyncExternalStore:Ni,useTransition:Ri}}},d0="17.0.2";function Vl(e){return A.bind(null,e)}function nt(e){return!!e&&e.$$typeof===Dl}function zl(e){return nt(e)&&e.type===oe}function Wl(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function rn(e){return nt(e)?Mg.apply(null,arguments):e}function Bl(e){return!!e.__k&&(en(null,e),!0)}function Yl(e){return e&&(e.base||e.nodeType===1&&e)||null}var Kl=function(e,t){return e(t)},Bn=function(e,t){return e(t)},ql=oe;function Ti(e){e()}function Pi(e){return e}function Ri(){return[!1,Ti]}var Di=wt,Gl=nt;function Ni(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return wt(function(){o.__=n,o.v=t,Li(o)&&i({h:o})},[e,n,t]),J(function(){return Li(o)&&i({h:o}),e(function(){Li(o)&&i({h:o})})},[e]),n}function Li(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:K,useId:Si,useReducer:Vn,useEffect:J,useLayoutEffect:wt,useInsertionEffect:Di,useTransition:Ri,useDeferredValue:Pi,useSyncExternalStore:Ni,startTransition:Ti,useRef:V,useImperativeHandle:$i,useMemo:_e,useCallback:ae,useContext:zn,useDebugValue:ji,version:"17.0.2",Children:tt,render:Nl,hydrate:Ll,unmountComponentAtNode:Bl,createPortal:Rl,createElement:A,createContext:Fn,createFactory:Vl,cloneElement:rn,createRef:Zc,Fragment:oe,isValidElement:nt,isElement:Gl,isFragment:zl,isMemo:Wl,findDOMNode:Yl,Component:Oe,PureComponent:Cr,memo:$l,forwardRef:le,flushSync:Bn,unstable_batchedUpdates:Kl,StrictMode:ql,Suspense:Wn,SuspenseList:nn,lazy:Tl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ul};const f0=Object.freeze(Object.defineProperty({__proto__:null,Children:tt,Component:Oe,Fragment:oe,PureComponent:Cr,StrictMode:ql,Suspense:Wn,SuspenseList:nn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ul,cloneElement:rn,createContext:Fn,createElement:A,createFactory:Vl,createPortal:Rl,createRef:Zc,default:Xl,findDOMNode:Yl,flushSync:Bn,forwardRef:le,hydrate:Ll,isElement:Gl,isFragment:zl,isMemo:Wl,isValidElement:nt,lazy:Tl,memo:$l,render:Nl,startTransition:Ti,unmountComponentAtNode:Bl,unstable_batchedUpdates:Kl,useCallback:ae,useContext:zn,useDebugValue:ji,useDeferredValue:Pi,useEffect:J,useErrorBoundary:Gg,useId:Si,useImperativeHandle:$i,useInsertionEffect:Di,useLayoutEffect:wt,useMemo:_e,useReducer:Vn,useRef:V,useState:K,useSyncExternalStore:Ni,useTransition:Ri,version:d0},Symbol.toStringTag,{value:"Module"}));function It(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 p0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Zl(...e){return t=>e.forEach(n=>p0(n,t))}function Ft(...e){return ae(Zl(...e),e)}function Jl(e,t=[]){let n=[];function r(i,a){const s=Fn(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=_e(()=>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=zn(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=>Fn(a));return function(s){const l=(s==null?void 0:s[e])||i;return _e(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,h0(o,...t)]}function h0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...s,...c}},{});return _e(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Mi=le((e,t)=>{const{children:n,...r}=e,o=tt.toArray(n),i=o.find(_0);if(i){const a=i.props.children,s=o.map(l=>l===i?tt.count(a)>1?tt.only(null):nt(a)?a.props.children:null:l);return A(Ii,pe({},r,{ref:t}),nt(a)?rn(a,void 0,s):null)}return A(Ii,pe({},r,{ref:t}),n)});Mi.displayName="Slot";const Ii=le((e,t)=>{const{children:n,...r}=e;return nt(n)?rn(n,{...g0(r,n.props),ref:t?Zl(t,n.ref):n.ref}):tt.count(n)>1?tt.only(null):null});Ii.displayName="SlotClone";const v0=({children:e})=>A(oe,null,e);function _0(e){return nt(e)&&e.type===v0}function g0(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 on=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=le((r,o)=>{const{asChild:i,...a}=r,s=i?Mi:t;return J(()=>{window[Symbol.for("radix-ui")]=!0},[]),A(s,pe({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function w0(e,t){e&&Bn(()=>e.dispatchEvent(t))}function mt(e){const t=V(e);return J(()=>{t.current=e}),_e(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function m0(e,t=globalThis==null?void 0:globalThis.document){const n=mt(e);J(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Fi="dismissableLayer.update",y0="dismissableLayer.pointerDownOutside",b0="dismissableLayer.focusOutside";let Ql;const x0=Fn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k0=le((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,f=zn(x0),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=K({}),h=Ft(t,$=>p($)),g=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(_),x=c?g.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,y=x>=m,k=$0($=>{const O=$.target,j=[...f.branches].some(D=>D.contains(O));!y||j||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),C=j0($=>{const O=$.target;[...f.branches].some(D=>D.contains(O))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return m0($=>{x===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),J(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Ql=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),eu(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Ql)}},[c,d,r,f]),J(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),eu())},[c,f]),J(()=>{const $=()=>v({});return document.addEventListener(Fi,$),()=>document.removeEventListener(Fi,$)},[]),A(on.div,pe({},u,{ref:h,style:{pointerEvents:b?y?"auto":"none":void 0,...e.style},onFocusCapture:It(e.onFocusCapture,C.onFocusCapture),onBlurCapture:It(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:It(e.onPointerDownCapture,k.onPointerDownCapture)}))});function $0(e,t=globalThis==null?void 0:globalThis.document){const n=mt(e),r=V(!1),o=V(()=>{});return J(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){tu(y0,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 j0(e,t=globalThis==null?void 0:globalThis.document){const n=mt(e),r=V(!1);return J(()=>{const o=i=>{i.target&&!r.current&&tu(b0,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 eu(){const e=new CustomEvent(Fi);document.dispatchEvent(e)}function tu(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?w0(o,i):o.dispatchEvent(i)}let Hi=0;function S0(){J(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:nu()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:nu()),Hi++,()=>{Hi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Hi--}},[])}function nu(){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 Ui="focusScope.autoFocusOnMount",Vi="focusScope.autoFocusOnUnmount",ru={bubbles:!1,cancelable:!0},E0=le((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=K(null),u=mt(o),f=mt(i),c=V(null),p=Ft(t,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;J(()=>{if(r){let h=function(x){if(d.paused||!s)return;const b=x.target;s.contains(b)?c.current=b:yt(c.current,{select:!0})},g=function(x){if(d.paused||!s)return;const b=x.relatedTarget;b!==null&&(s.contains(b)||yt(c.current,{select:!0}))},_=function(x){if(document.activeElement===document.body)for(const y of x)y.removedNodes.length>0&&yt(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]),J(()=>{if(s){au.add(d);const h=document.activeElement;if(!s.contains(h)){const _=new CustomEvent(Ui,ru);s.addEventListener(Ui,u),s.dispatchEvent(_),_.defaultPrevented||(C0(R0(ou(s)),{select:!0}),document.activeElement===h&&yt(s))}return()=>{s.removeEventListener(Ui,u),setTimeout(()=>{const _=new CustomEvent(Vi,ru);s.addEventListener(Vi,f),s.dispatchEvent(_),_.defaultPrevented||yt(h??document.body,{select:!0}),s.removeEventListener(Vi,f),au.remove(d)},0)}}},[s,u,f,d]);const v=ae(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,[x,b]=O0(m);x&&b?!h.shiftKey&&_===b?(h.preventDefault(),n&&yt(x,{select:!0})):h.shiftKey&&_===x&&(h.preventDefault(),n&&yt(b,{select:!0})):_===m&&h.preventDefault()}},[n,r,d.paused]);return A(on.div,pe({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function C0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(yt(r,{select:t}),document.activeElement!==n)return}function O0(e){const t=ou(e),n=iu(t,e),r=iu(t.reverse(),e);return[n,r]}function ou(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 iu(e,t){for(const n of e)if(!A0(n,{upTo:t}))return n}function A0(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 T0(e){return e instanceof HTMLInputElement&&"select"in e}function yt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&T0(e)&&t&&e.select()}}const au=P0();function P0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=su(e,t),e.unshift(t)},remove(t){var n;e=su(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function su(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function R0(e){return e.filter(t=>t.tagName!=="A")}const an=globalThis!=null&&globalThis.document?wt:()=>{},D0=f0["useId".toString()]||(()=>{});let N0=0;function L0(e){const[t,n]=K(D0());return an(()=>{e||n(r=>r??String(N0++))},[e]),e||(t?`radix-${t}`:"")}const M0=["top","right","bottom","left"],Ue=Math.min,xe=Math.max,Or=Math.round,Ar=Math.floor,bt=e=>({x:e,y:e}),I0={left:"right",right:"left",bottom:"top",top:"bottom"},F0={start:"end",end:"start"};function zi(e,t,n){return xe(e,Ue(t,n))}function rt(e,t){return typeof e=="function"?e(t):e}function ot(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function Wi(e){return e==="x"?"y":"x"}function Bi(e){return e==="y"?"height":"width"}function xt(e){return["top","bottom"].includes(ot(e))?"y":"x"}function Yi(e){return Wi(xt(e))}function H0(e,t,n){n===void 0&&(n=!1);const r=sn(e),o=Yi(e),i=Bi(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Tr(a)),[a,Tr(a)]}function U0(e){const t=Tr(e);return[Ki(e),t,Ki(t)]}function Ki(e){return e.replace(/start|end/g,t=>F0[t])}function V0(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 z0(e,t,n,r){const o=sn(e);let i=V0(ot(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Ki)))),i}function Tr(e){return e.replace(/left|right|bottom|top/g,t=>I0[t])}function W0(e){return{top:0,right:0,bottom:0,left:0,...e}}function cu(e){return typeof e!="number"?W0(e):{top:e,right:e,bottom:e,left:e}}function Pr(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 lu(e,t,n){let{reference:r,floating:o}=e;const i=xt(t),a=Yi(t),s=Bi(a),l=ot(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(sn(t)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const B0=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}=lu(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:x,data:b,reset:y}=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=x??c,d={...d,[g]:{...d[g],...b}},y&&v<=50&&(v++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(u=y.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:f,y:c}=lu(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function Yn(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}=rt(t,e),v=cu(d),g=s[p?c==="floating"?"reference":"floating":c],_=Pr(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,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},y=Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:x,strategy:l}):m);return{top:(_.top-y.top+v.top)/b.y,bottom:(y.bottom-_.bottom+v.bottom)/b.y,left:(_.left-y.left+v.left)/b.x,right:(y.right-_.right+v.right)/b.x}}const Y0=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}=rt(e,t)||{};if(u==null)return{};const c=cu(f),p={x:n,y:r},d=Yi(o),v=Bi(d),h=await a.getDimensions(u),g=d==="y",_=g?"top":"left",m=g?"bottom":"right",x=g?"clientHeight":"clientWidth",b=i.reference[v]+i.reference[d]-p[d]-i.floating[v],y=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=k?k[x]:0;(!C||!await(a.isElement==null?void 0:a.isElement(k)))&&(C=s.floating[x]||i.floating[v]);const $=b/2-y/2,O=C/2-h[v]/2-1,j=Ue(c[_],O),D=Ue(c[m],O),I=j,L=C-h[v]-D,N=C/2-h[v]/2+$,M=zi(I,N,L),S=!l.arrow&&sn(o)!=null&&N!==M&&i.reference[v]/2-(N<I?j:D)-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}}}),K0=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}=rt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=ot(o),m=xt(s),x=ot(s)===s,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),y=p||(x||!h?[Tr(s)]:U0(s)),k=v!=="none";!p&&k&&y.push(...z0(s,h,v,b));const C=[s,...y],$=await Yn(t,g),O=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&O.push($[_]),c){const N=H0(o,a,b);O.push($[N[0]],$[N[1]])}if(j=[...j,{placement:o,overflows:O}],!O.every(N=>N<=0)){var D,I;const N=(((D=i.flip)==null?void 0:D.index)||0)+1,M=C[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=xt(U.placement);return z===m||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,q)=>z+q,0)]).sort((U,z)=>U[1]-z[1])[0])==null?void 0:L[0];E&&(S=E);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function uu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function du(e){return M0.some(t=>e[t]>=0)}const q0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=rt(e,t);switch(r){case"referenceHidden":{const i=await Yn(t,{...o,elementContext:"reference"}),a=uu(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:du(a)}}}case"escaped":{const i=await Yn(t,{...o,altBoundary:!0}),a=uu(i,n.floating);return{data:{escapedOffsets:a,escaped:du(a)}}}default:return{}}}}};async function G0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ot(n),s=sn(n),l=xt(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=rt(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 X0=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 G0(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}}}}},Z0=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}=rt(e,t),u={x:n,y:r},f=await Yn(t,l),c=xt(ot(o)),p=Wi(c);let d=u[p],v=u[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",m=d+f[g],x=d-f[_];d=zi(m,d,x)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",m=v+f[g],x=v-f[_];v=zi(m,v,x)}const h=s.fn({...t,[p]:d,[c]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},J0=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}=rt(e,t),f={x:n,y:r},c=xt(o),p=Wi(c);let d=f[p],v=f[c];const h=rt(s,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const x=p==="y"?"height":"width",b=i.reference[p]-i.floating[x]+g.mainAxis,y=i.reference[p]+i.reference[x]-g.mainAxis;d<b?d=b:d>y&&(d=y)}if(u){var _,m;const x=p==="y"?"width":"height",b=["top","left"].includes(ot(o)),y=i.reference[c]-i.floating[x]+(b&&((_=a.offset)==null?void 0:_[c])||0)+(b?0:g.crossAxis),k=i.reference[c]+i.reference[x]+(b?0:((m=a.offset)==null?void 0:m[c])||0)-(b?g.crossAxis:0);v<y?v=y:v>k&&(v=k)}return{[p]:d,[c]:v}}}},Q0=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}=rt(e,t),l=await Yn(t,s),u=ot(n),f=sn(n),c=xt(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=Ue(d-l[v],g),x=Ue(p-l[h],_),b=!t.middlewareData.shift;let y=m,k=x;if(c?k=f||b?Ue(x,_):_:y=f||b?Ue(m,g):g,b&&!f){const $=xe(l.left,0),O=xe(l.right,0),j=xe(l.top,0),D=xe(l.bottom,0);c?k=p-2*($!==0||O!==0?$+O:xe(l.left,l.right)):y=d-2*(j!==0||D!==0?j+D:xe(l.top,l.bottom))}await a({...t,availableWidth:k,availableHeight:y});const C=await o.getDimensions(i.floating);return p!==C.width||d!==C.height?{reset:{rects:!0}}:{}}}};function cn(e){return fu(e)?(e.nodeName||"").toLowerCase():"#document"}function ke(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function it(e){var t;return(t=(fu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fu(e){return e instanceof Node||e instanceof ke(e).Node}function Re(e){return e instanceof Element||e instanceof ke(e).Element}function Ve(e){return e instanceof HTMLElement||e instanceof ke(e).HTMLElement}function pu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ke(e).ShadowRoot}function Kn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=De(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ew(e){return["table","td","th"].includes(cn(e))}function Rr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function qi(e){const t=Gi(),n=Re(e)?De(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 tw(e){let t=kt(e);for(;Ve(t)&&!ln(t);){if(qi(t))return t;if(Rr(t))return null;t=kt(t)}return null}function Gi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ln(e){return["html","body","#document"].includes(cn(e))}function De(e){return ke(e).getComputedStyle(e)}function Dr(e){return Re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function kt(e){if(cn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||pu(e)&&e.host||it(e);return pu(t)?t.host:t}function hu(e){const t=kt(e);return ln(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ve(t)&&Kn(t)?t:hu(t)}function qn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=hu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ke(o);if(i){const s=Xi(a);return t.concat(a,a.visualViewport||[],Kn(o)?o:[],s&&n?qn(s):[])}return t.concat(o,qn(o,[],n))}function Xi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vu(e){const t=De(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ve(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Or(n)!==i||Or(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Zi(e){return Re(e)?e:e.contextElement}function un(e){const t=Zi(e);if(!Ve(t))return bt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=vu(t);let a=(i?Or(n.width):n.width)/r,s=(i?Or(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const nw=bt(0);function _u(e){const t=ke(e);return!Gi()||!t.visualViewport?nw:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rw(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ke(e)?!1:t}function Ht(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Zi(e);let a=bt(1);t&&(r?Re(r)&&(a=un(r)):a=un(e));const s=rw(i,n,r)?_u(i):bt(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=ke(i),d=r&&Re(r)?ke(r):r;let v=p,h=Xi(v);for(;h&&r&&d!==v;){const g=un(h),_=h.getBoundingClientRect(),m=De(h),x=_.left+(h.clientLeft+parseFloat(m.paddingLeft))*g.x,b=_.top+(h.clientTop+parseFloat(m.paddingTop))*g.y;l*=g.x,u*=g.y,f*=g.x,c*=g.y,l+=x,u+=b,v=ke(h),h=Xi(v)}}return Pr({width:f,height:c,x:l,y:u})}function ow(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=it(r),s=t?Rr(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=bt(1);const f=bt(0),c=Ve(r);if((c||!c&&!i)&&((cn(r)!=="body"||Kn(a))&&(l=Dr(r)),Ve(r))){const p=Ht(r);u=un(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 iw(e){return Array.from(e.getClientRects())}function gu(e){return Ht(it(e)).left+Dr(e).scrollLeft}function aw(e){const t=it(e),n=Dr(e),r=e.ownerDocument.body,o=xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+gu(e);const s=-n.scrollTop;return De(r).direction==="rtl"&&(a+=xe(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function sw(e,t){const n=ke(e),r=it(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=Gi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function cw(e,t){const n=Ht(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ve(e)?un(e):bt(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 wu(e,t,n){let r;if(t==="viewport")r=sw(e,n);else if(t==="document")r=aw(it(e));else if(Re(t))r=cw(t,n);else{const o=_u(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Pr(r)}function mu(e,t){const n=kt(e);return n===t||!Re(n)||ln(n)?!1:De(n).position==="fixed"||mu(n,t)}function lw(e,t){const n=t.get(e);if(n)return n;let r=qn(e,[],!1).filter(s=>Re(s)&&cn(s)!=="body"),o=null;const i=De(e).position==="fixed";let a=i?kt(e):e;for(;Re(a)&&!ln(a);){const s=De(a),l=qi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Kn(a)&&!l&&mu(e,a))?r=r.filter(f=>f!==a):o=s,a=kt(a)}return t.set(e,r),r}function uw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Rr(t)?[]:lw(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=wu(t,f,o);return u.top=xe(c.top,u.top),u.right=Ue(c.right,u.right),u.bottom=Ue(c.bottom,u.bottom),u.left=xe(c.left,u.left),u},wu(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function dw(e){const{width:t,height:n}=vu(e);return{width:t,height:n}}function fw(e,t,n){const r=Ve(t),o=it(t),i=n==="fixed",a=Ht(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=bt(0);if(r||!r&&!i)if((cn(t)!=="body"||Kn(o))&&(s=Dr(t)),r){const c=Ht(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=gu(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 Ji(e){return De(e).position==="static"}function yu(e,t){return!Ve(e)||De(e).position==="fixed"?null:t?t(e):e.offsetParent}function bu(e,t){const n=ke(e);if(Rr(e))return n;if(!Ve(e)){let o=kt(e);for(;o&&!ln(o);){if(Re(o)&&!Ji(o))return o;o=kt(o)}return n}let r=yu(e,t);for(;r&&ew(r)&&Ji(r);)r=yu(r,t);return r&&ln(r)&&Ji(r)&&!qi(r)?n:r||tw(e)||n}const pw=async function(e){const t=this.getOffsetParent||bu,n=this.getDimensions,r=await n(e.floating);return{reference:fw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function hw(e){return De(e).direction==="rtl"}const vw={convertOffsetParentRelativeRectToViewportRelativeRect:ow,getDocumentElement:it,getClippingRect:uw,getOffsetParent:bu,getElementRects:pw,getClientRects:iw,getDimensions:dw,getScale:un,isElement:Re,isRTL:hw};function _w(e,t){let n=null,r;const o=it(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=Ar(f),v=Ar(o.clientWidth-(u+c)),h=Ar(o.clientHeight-(f+p)),g=Ar(u),m={rootMargin:-d+"px "+-v+"px "+-h+"px "+-g+"px",threshold:xe(0,Ue(1,l))||1};let x=!0;function b(y){const k=y[0].intersectionRatio;if(k!==l){if(!x)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(b,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,m)}n.observe(e)}return a(!0),i}function gw(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=Zi(e),f=o||i?[...u?qn(u):[],...qn(t)]:[];f.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?_w(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 x;(x=d)==null||x.observe(t)})),n()}),u&&!l&&d.observe(u),d.observe(t));let v,h=l?Ht(e):null;l&&g();function g(){const _=Ht(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 ww=X0,mw=Z0,yw=K0,bw=Q0,xw=q0,xu=Y0,kw=J0,$w=(e,t,n)=>{const r=new Map,o={platform:vw,...n},i={...o.platform,_c:r};return B0(e,t,{...o,platform:i})};var Nr=typeof document<"u"?wt:J;function Lr(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(!Lr(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)&&!Lr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ku(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $u(e,t){const n=ku(e);return Math.round(t*n)/n}function ju(e){const t=V(e);return Nr(()=>{t.current=e}),t}function jw(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]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=K(r);Lr(p,r)||d(r);const[v,h]=K(null),[g,_]=K(null),m=ae(E=>{E!==k.current&&(k.current=E,h(E))},[]),x=ae(E=>{E!==C.current&&(C.current=E,_(E))},[]),b=i||v,y=a||g,k=V(null),C=V(null),$=V(f),O=l!=null,j=ju(l),D=ju(o),I=ae(()=>{if(!k.current||!C.current)return;const E={placement:t,strategy:n,middleware:p};D.current&&(E.platform=D.current),$w(k.current,C.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!Lr($.current,z)&&($.current=z,Bn(()=>{c(z)}))})},[p,t,n,D]);Nr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);Nr(()=>(L.current=!0,()=>{L.current=!1}),[]),Nr(()=>{if(b&&(k.current=b),y&&(C.current=y),b&&y){if(j.current)return j.current(b,y,I);I()}},[b,y,I,j,O]);const N=_e(()=>({reference:k,floating:C,setReference:m,setFloating:x}),[m,x]),M=_e(()=>({reference:b,floating:y}),[b,y]),S=_e(()=>{const E={position:n,left:0,top:0};if(!M.floating)return E;const U=$u(M.floating,f.x),z=$u(M.floating,f.y);return s?{...E,transform:"translate("+U+"px, "+z+"px)",...ku(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,f.x,f.y]);return _e(()=>({...f,update:I,refs:N,elements:M,floatingStyles:S}),[f,I,N,M,S])}const Sw=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?xu({element:r.current,padding:o}).fn(n):{}:r?xu({element:r,padding:o}).fn(n):{}}}},Ew=(e,t)=>({...ww(e),options:[e,t]}),Cw=(e,t)=>({...mw(e),options:[e,t]}),Ow=(e,t)=>({...kw(e),options:[e,t]}),Aw=(e,t)=>({...yw(e),options:[e,t]}),Tw=(e,t)=>({...bw(e),options:[e,t]}),Pw=(e,t)=>({...xw(e),options:[e,t]}),Rw=(e,t)=>({...Sw(e),options:[e,t]});function Dw(e){const[t,n]=K(void 0);return an(()=>{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 Su="Popper",[Eu,Cu]=Jl(Su),[Nw,Ou]=Eu(Su),Lw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return A(Nw,{scope:t,anchor:r,onAnchorChange:o},n)},Mw="PopperAnchor",Iw=le((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Ou(Mw,n),a=V(null),s=Ft(t,a);return J(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:A(on.div,pe({},o,{ref:s}))}),Au="PopperContent",[Fw,Ay]=Eu(Au),Hw=le((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:x="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:k,...C}=e,$=Ou(Au,f),[O,j]=K(null),D=Ft(t,Z=>j(Z)),[I,L]=K(null),N=Dw(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(_)?_:[_],q=z.length>0,se={padding:U,boundary:z.filter(Uw),altBoundary:q},{refs:ue,floatingStyles:Ut,placement:Xr,isPositioned:at,middlewareData:st}=jw({strategy:"fixed",placement:E,whileElementsMounted:(...Z)=>gw(...Z,{animationFrame:y==="always"}),elements:{reference:$.anchor},middleware:[Ew({mainAxis:p+S,alignmentAxis:v}),g&&Cw({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Ow():void 0,...se}),g&&Aw({...se}),Tw({...se,apply:({elements:Z,rects:$e,availableWidth:jt,availableHeight:ce})=>{const{width:ve,height:Ne}=$e.reference,zt=Z.floating.style;zt.setProperty("--radix-popper-available-width",`${jt}px`),zt.setProperty("--radix-popper-available-height",`${ce}px`),zt.setProperty("--radix-popper-anchor-width",`${ve}px`),zt.setProperty("--radix-popper-anchor-height",`${Ne}px`)}}),I&&Rw({element:I,padding:h}),Vw({arrowWidth:M,arrowHeight:S}),b&&Pw({strategy:"referenceHidden",...se})]}),[Jn,va]=Tu(Xr),wn=mt(k);an(()=>{at&&(wn==null||wn())},[at,wn]);const Vt=(o=st.arrow)===null||o===void 0?void 0:o.x,Zr=(i=st.arrow)===null||i===void 0?void 0:i.y,G=((a=st.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,de]=K();return an(()=>{O&&de(window.getComputedStyle(O).zIndex)},[O]),A("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ut,transform:at?Ut.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=st.transformOrigin)===null||s===void 0?void 0:s.x,(l=st.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},A(Fw,{scope:f,placedSide:Jn,onArrowChange:L,arrowX:Vt,arrowY:Zr,shouldHideArrow:G},A(on.div,pe({"data-side":Jn,"data-align":va},C,{ref:D,style:{...C.style,animation:at?void 0:"none",opacity:(u=st.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Uw(e){return e!==null}const Vw=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]=Tu(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 x="",b="";return v==="bottom"?(x=c?g:`${_}px`,b=`${-d}px`):v==="top"?(x=c?g:`${_}px`,b=`${l.floating.height+d}px`):v==="right"?(x=`${-d}px`,b=c?g:`${m}px`):v==="left"&&(x=`${l.floating.width+d}px`,b=c?g:`${m}px`),{data:{x,y:b}}}});function Tu(e){const[t,n="center"]=e.split("-");return[t,n]}const zw=Lw,Ww=Iw,Bw=Hw,Yw=le((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Xl.createPortal(A(on.div,pe({},o,{ref:t})),r):null});function Kw(e,t){return Vn((n,r)=>{const o=t[n][r];return o??n},e)}const Qi=e=>{const{present:t,children:n}=e,r=qw(t),o=typeof n=="function"?n({present:r.isPresent}):tt.only(n),i=Ft(r.ref,o.ref);return typeof n=="function"||r.isPresent?rn(o,{ref:i}):null};Qi.displayName="Presence";function qw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=Kw(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return J(()=>{const u=Mr(r.current);i.current=s==="mounted"?u:"none"},[s]),an(()=>{const u=r.current,f=o.current;if(f!==e){const p=i.current,d=Mr(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]),an(()=>{if(t){const u=c=>{const d=Mr(r.current).includes(c.animationName);c.target===t&&d&&Bn(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=Mr(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:ae(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Mr(e){return(e==null?void 0:e.animationName)||"none"}function Gw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Xw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=mt(n),l=ae(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function Xw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=mt(t);return J(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var Zw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},dn=new WeakMap,Ir=new WeakMap,Fr={},ea=0,Pu=function(e){return e&&(e.host||Pu(e.parentNode))},Jw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Pu(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})},Qw=function(e,t,n,r){var o=Jw(t,Array.isArray(e)?e:[e]);Fr[n]||(Fr[n]=new WeakMap);var i=Fr[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=(dn.get(p)||0)+1,g=(i.get(p)||0)+1;dn.set(p,h),i.set(p,g),a.push(p),h===1&&v&&Ir.set(p,!0),g===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return f(t),s.clear(),ea++,function(){a.forEach(function(c){var p=dn.get(c)-1,d=i.get(c)-1;dn.set(c,p),i.set(c,d),p||(Ir.has(c)||c.removeAttribute(r),Ir.delete(c)),d||c.removeAttribute(n)}),ea--,ea||(dn=new WeakMap,dn=new WeakMap,Ir=new WeakMap,Fr={})}},em=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Zw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Qw(r,o,n,"aria-hidden")):function(){return null}},ze=function(){return ze=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ze.apply(this,arguments)};function Ru(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 tm(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 Hr="right-scroll-bar-position",Ur="width-before-scroll-bar",nm="with-scroll-bars-hidden",rm="--removed-body-scroll-bar-size";function om(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function im(e,t){var n=K(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function am(e,t){return im(t||null,function(n){return e.forEach(function(r){return om(r,n)})})}function sm(e){return e}function cm(e,t){t===void 0&&(t=sm);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 lm(e){e===void 0&&(e={});var t=cm(null);return t.options=ze({async:!0,ssr:!1},e),t}var Du=function(e){var t=e.sideCar,n=Ru(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return A(r,ze({},n))};Du.isSideCarExport=!0;function um(e,t){return e.useMedium(t),Du}var Nu=lm(),ta=function(){},Vr=le(function(e,t){var n=V(null),r=K({onScrollCapture:ta,onWheelCapture:ta,onTouchMoveCapture:ta}),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=Ru(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,b=am([n,t]),y=ze(ze({},m),o);return A(oe,null,f&&A(x,{sideCar:Nu,removeScrollBar:u,shards:c,noIsolation:d,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?rn(tt.only(s),ze(ze({},y),{ref:b})):A(_,ze({},y,{className:l,ref:b}),s))});Vr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vr.classNames={fullWidth:Ur,zeroRight:Hr};var dm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function fm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=dm();return t&&e.setAttribute("nonce",t),e}function pm(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function hm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vm=function(){var e=0,t=null;return{add:function(n){e==0&&(t=fm())&&(pm(t,n),hm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_m=function(){var e=vm();return function(t,n){J(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Lu=function(){var e=_m(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},gm={left:0,top:0,right:0,gap:0},na=function(e){return parseInt(e||"",10)||0},wm=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[na(n),na(r),na(o)]},mm=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return gm;var t=wm(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])}},ym=Lu(),bm=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(nm,` {
21
+ }`},Mg=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${os}`);return Ce(e,`Element with id ${os} not found.`),e}}))(),Ig=()=>ba(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return re(Cn,{Fallback:cf},[re(of,{terms:o.terms,children:[re("style",{id:"inploi-job-search-styles"},Eg),re("style",{id:"inploi-job-search-theme"},Lg(o.theme)),re(uf,{theme:o.theme}),re(Sg,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,params:o})]})])};return{prerender:async o=>{var a;o.defaultSearchKeyword&&(Ue.keyword$.value=o.defaultSearchKeyword);const i=o.withData?await ls({filters:ci(o.properties),apiClient:e,logger:t,query:void 0,t:af(o.terms??{}),mode:(a=o.naturalLanguageSearch)!=null&&a.enabled?"vector":"query"}).then(s=>({jobs:s})).catch(()=>{}):void 0;return{html:kd(re(F,{},re(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?lo:Bt;o.defaultSearchKeyword&&(Ue.keyword$.value=o.defaultSearchKeyword),Ce(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(re(r,{params:o}),Mg.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Ig;function Wc(e,t){if(!e)throw new Error(t)}var Mn,R,Bc,Yc,Nt,Kc,qc,hi,vi,_i,gi,Gc,In={},Xc=[],Fg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Sr=Array.isArray;function Qe(e,t){for(var n in t)e[n]=t[n];return e}function Zc(e){var t=e.parentNode;t&&t.removeChild(e)}function T(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?Mn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return Fn(e,a,r,o,null)}function Fn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Bc,__i:-1,__u:0};return o==null&&R.vnode!=null&&R.vnode(i),i}function Jc(){return{current:null}}function oe(e){return e.children}function Ae(e,t){this.props=e,this.context=t}function Lt(e,t){if(t==null)return e.__?Lt(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"?Lt(e):null}function Qc(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 Qc(e)}}function mi(e){(!e.__d&&(e.__d=!0)&&Nt.push(e)&&!Er.__r++||Kc!==R.debounceRendering)&&((Kc=R.debounceRendering)||qc)(Er)}function Er(){var e,t,n,r,o,i,a,s;for(Nt.sort(hi);e=Nt.shift();)e.__d&&(t=Nt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Qe({},o)).__v=o.__v+1,R.vnode&&R.vnode(r),wi(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Lt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,ol(a,r,s),r.__e!=i&&Qc(r)),Nt.length>t&&Nt.sort(hi));Er.__r=0}function el(e,t,n,r,o,i,a,s,l,u,p){var c,f,d,_,h,m=r&&r.__k||Xc,v=t.length;for(n.__d=l,Hg(n,t,m),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(f=d.__i===-1?In:m[d.__i]||In,d.__i=c,wi(e,d,f,o,i,a,s,l,u,p),_=d.__e,d.ref&&f.ref!=d.ref&&(f.ref&&yi(f.ref,null,d),p.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||f.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Lt(f)),l=tl(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function Hg(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,p=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?Fn(null,o,null,null,null):Sr(o)?Fn(oe,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Fn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Ug(o,n,a,p),o.__i=s,i=null,s!==-1&&(p--,(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?p>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=Lt(i)),bi(i,i,!1),n[a]=null,p--);if(p)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Lt(i)),bi(i,i))}function tl(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=tl(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 et(e,t){return t=t||[],e==null||typeof e=="boolean"||(Sr(e)?e.some(function(n){et(n,t)}):t.push(e)),t}function Ug(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 nl(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Fg.test(t)?n:n+"px"}function Cr(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||nl(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||nl(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=vi,e.addEventListener(t,i?gi:_i,i)):e.removeEventListener(t,i?gi:_i,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 rl(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=vi++;else if(t.t<n.u)return;return n(R.event?R.event(t):t)}}}function wi(e,t,n,r,o,i,a,s,l,u){var p,c,f,d,_,h,m,v,w,x,y,b,k,S,j,O,$=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(p=R.__b)&&p(t);e:if(typeof $=="function")try{if(v=t.props,w="prototype"in $&&$.prototype.render,x=(p=$.contextType)&&r[p.__c],y=p?x?x.props.value:p.__:r,n.__c?m=(c=t.__c=n.__c).__=c.__E:(w?t.__c=c=new $(v,y):(t.__c=c=new Ae(v,y),c.constructor=$,c.render=zg),x&&x.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,f=c.__d=!0,c.__h=[],c._sb=[]),w&&c.__s==null&&(c.__s=c.state),w&&$.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Qe({},c.__s)),Qe(c.__s,$.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=t,f)w&&$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),w&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(w&&$.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,y)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),w&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=e,c.__e=!1,k=R.__r,S=0,w){for(c.state=c.__s,c.__d=!1,k&&k(t),p=c.render(c.props,c.state,c.context),j=0;j<c._sb.length;j++)c.__h.push(c._sb[j]);c._sb=[]}else do c.__d=!1,k&&k(t),p=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++S<25);c.state=c.__s,c.getChildContext!=null&&(r=Qe(Qe({},r),c.getChildContext())),w&&!f&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),el(e,Sr(O=p!=null&&p.type===oe&&p.key==null?p.props.children:p)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),m&&(c.__E=c.__=null)}catch(A){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),R.__e(A,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Vg(n.__e,t,n,r,o,i,a,l,u);(p=R.diffed)&&p(t)}function ol(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)yi(n[r],n[++r],n[++r]);R.__c&&R.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){R.__e(i,o.__v)}})}function Vg(e,t,n,r,o,i,a,s,l){var u,p,c,f,d,_,h,m=n.props,v=t.props,w=t.type;if(w==="svg"?o="http://www.w3.org/2000/svg":w==="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==!!w&&(w?d.localName===w:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(w===null)return document.createTextNode(v);e=document.createElementNS(o,w,v.is&&v),i=null,s=!1}if(w===null)m===v||s&&e.data===v||(e.data=v);else{if(i=i&&Mn.call(e.childNodes),m=n.props||In,!s&&i!=null)for(m={},u=0;u<e.attributes.length;u++)m[(d=e.attributes[u]).name]=d.value;for(u in m)if(d=m[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;Cr(e,u,null,d,o)}}for(u in v)d=v[u],u=="children"?f=d:u=="dangerouslySetInnerHTML"?p=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||m[u]===d||Cr(e,u,d,m[u],o);if(p)s||c&&(p.__html===c.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(c&&(e.innerHTML=""),el(e,Sr(f)?f:[f],t,n,r,w==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Lt(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Zc(i[u]);s||(u="value",_!==void 0&&(_!==e[u]||w==="progress"&&!_||w==="option"&&_!==m[u])&&Cr(e,u,_,m[u],o),u="checked",h!==void 0&&h!==e[u]&&Cr(e,u,h,m[u],o))}return e}function yi(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){R.__e(r,n)}}function bi(e,t,n){var r,o;if(R.unmount&&R.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||yi(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){R.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&bi(r[o],t,n||typeof e.type!="function");n||e.__e==null||Zc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function zg(e,t,n){return this.constructor(e,n)}function tn(e,t,n){var r,o,i,a;R.__&&R.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],wi(t,e=(!r&&n||t).__k=T(oe,null,[e]),o||In,In,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Mn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),ol(i,e,a)}function xi(e,t){tn(e,t,xi)}function Wg(e,t,n){var r,o,i,a,s=Qe({},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?Mn.call(arguments,2):n),Fn(e.type,s,r||e.key,o||e.ref,null)}function Hn(e,t){var n={__c:t="__cC"+Gc++,__: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,mi(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}Mn=Xc.slice,R={__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}},Bc=0,Yc=function(e){return e!=null&&e.constructor==null},Ae.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Qe({},this.state),typeof e=="function"&&(e=e(Qe({},n),this.props)),e&&Qe(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),mi(this))},Ae.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),mi(this))},Ae.prototype.render=oe,Nt=[],qc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,hi=function(e,t){return e.__v.__b-t.__v.__b},Er.__r=0,vi=0,_i=rl(!1),gi=rl(!0),Gc=0;var il=/[\s\n\\/='"\0<>]/,al=/^(xlink|xmlns|xml)([A-Z])/,Bg=/^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]/,Yg=/^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/,Kg=/["&<]/;function Or(e){if(e.length===0||Kg.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 sl={},qg=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"]),Gg=/[A-Z]/g;function Xg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:sl[n]||(sl[n]=n.replace(Gg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||qg.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var ki,Mt,Un,Vn,cl=[],ll=Array.isArray,$i=Object.assign;function Zg(e,t,n){var r=R.__s;R.__s=!0,ki=R.__b,Mt=R.diffed,Un=R.__r,Vn=R.unmount;var o=T(oe,null);o.__k=[e];try{var i=We(e,t||dl,!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{R.__c&&R.__c(e,cl),R.__s=r,cl.length=0}}function ul(){this.__d=!0}var dl={};function fl(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=dl),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=$i({},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(),Un&&Un(e),n.render(n.props,n.state,t)}function We(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Or(e+"");if(ll(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var p=e[u];if(p!=null&&typeof p!="boolean"){var c,f=We(p,t,n,r,o,i,a);typeof f=="string"?l+=f:(s=s||[],l&&s.push(l),l="",Array.isArray(f)?(c=s).push.apply(c,f):s.push(f))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,ki&&ki(e);var d,_,h,m=e.type,v=e.props,w=t;if(typeof m=="function"){if(m===oe){if(v.tpl){for(var x="",y=0;y<v.tpl.length;y++)if(x+=v.tpl[y],v.exprs&&y<v.exprs.length){var b=v.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!ll(b)?x+=b:x+=We(b,t,n,r,e,i,a)}return x}if(v.UNSTABLE_comment)return"<!--"+Or(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=m.contextType)!=null){var k=t[d.__c];w=k?k.props.value:d.__}if(m.prototype&&typeof m.prototype.render=="function")_=fl(e,w),h=e.__c;else{e.__c=h={__v:e,props:v,context:w,setState:ul,forceUpdate:ul,__d:!0,__h:[]};for(var S=0;h.__d&&S++<25;)h.__d=!1,Un&&Un(e),_=m.call(h,v,w);h.__d=!0}if(h.getChildContext!=null&&(t=$i({},t,h.getChildContext())),(m.getDerivedStateFromError||h.componentDidCatch)&&R.errorBoundaries){var j="";_=_!=null&&_.type===oe&&_.key==null?_.props.children:_;try{return j=We(_,t,n,r,e,i,a)}catch(q){return m.getDerivedStateFromError&&(h.__s=m.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(_=fl(e,t),(h=e.__c).getChildContext!=null&&(t=$i({},t,h.getChildContext())),j=We(_=_!=null&&_.type===oe&&_.key==null?_.props.children:_,t,n,r,e,i,a)),j}finally{Mt&&Mt(e),e.__=null,Vn&&Vn(e)}}}_=_!=null&&_.type===oe&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var O=We(_,t,n,r,e,i,a);return Mt&&Mt(e),e.__=null,R.unmount&&R.unmount(e),O}catch(q){if(!i&&a&&a.onError){var $=a.onError(q,e,function(ce){return We(ce,t,n,r,e,i,a)});if($!==void 0)return $;var A=R.__e;return A&&A(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function ce(){try{return We(_,t,n,r,e,i,a)}catch(de){if(!de||typeof de.then!="function")throw de;return de.then(function(){return We(_,t,n,r,e,i,a)},function(){return ce()})}};return q.then(function(){return I()})}}var L,N="<"+m,M="";for(var E in v){var C=v[E];switch(E){case"children":L=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;E="for";break;case"className":if("class"in v)continue;E="class";break;case"defaultChecked":E="checked";break;case"defaultSelected":E="selected";break;case"defaultValue":case"value":switch(E="value",m){case"textarea":L=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in v||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=C&&C.__html;continue;case"style":typeof C=="object"&&(C=Xg(C));break;case"acceptCharset":E="accept-charset";break;case"httpEquiv":E="http-equiv";break;default:if(al.test(E))E=E.replace(al,"$1:$2").toLowerCase();else{if(il.test(E))continue;E[4]!=="-"&&E!=="draggable"||C==null?n?Yg.test(E)&&(E=E==="panose1"?"panose-1":E.replace(/([A-Z])/g,"-$1").toLowerCase()):Bg.test(E)&&(E=E.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(N=C===!0||C===""?N+" "+E:N+" "+E+'="'+Or(C+"")+'"')}if(il.test(m))throw new Error(m+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=Or(L):L!=null&&L!==!1&&L!==!0&&(M=We(L,t,m==="svg"||m!=="foreignObject"&&n,r,e,i,a))),Mt&&Mt(e),e.__=null,Vn&&Vn(e),!M&&Jg.has(m))return N+"/>";var U="</"+m+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var Jg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Qg=0;function D(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:--Qg,__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 R.vnode&&R.vnode(u),u}const e0={bell:D("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:D("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":D("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},t0=({theme:e})=>D("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:D("defs",{children:Object.entries(e0).map(([t,n])=>D("symbol",{id:`i-icon-${t}`,children:D("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),pl=({name:e,...t})=>D("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:D("use",{href:`#i-icon-${e}`})});function ve(){return ve=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},ve.apply(this,arguments)}var tt,Y,ji,hl,nn=0,vl=[],te=R,_l=te.__b,gl=te.__r,ml=te.diffed,wl=te.__c,yl=te.unmount,bl=te.__;function It(e,t){te.__h&&te.__h(Y,e,nn||t),nn=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function K(e){return nn=1,zn(kl,e)}function zn(e,t,n){var r=It(tt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):kl(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(f){return!!f.__c});if(p.every(function(f){return!f.__N}))return!i||i.call(this,s,l,u);var c=!1;return p.forEach(function(f){if(f.__N){var d=f.__[0];f.__=f.__N,f.__N=void 0,d!==f.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};Y.u=!0;var i=Y.shouldComponentUpdate,a=Y.componentWillUpdate;Y.componentWillUpdate=function(s,l,u){if(this.__e){var p=i;i=void 0,o(s,l,u),i=p}a&&a.call(this,s,l,u)},Y.shouldComponentUpdate=o}return r.__N||r.__}function J(e,t){var n=It(tt++,3);!te.__s&&Ai(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function wt(e,t){var n=It(tt++,4);!te.__s&&Ai(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function V(e){return nn=5,me(function(){return{current:e}},[])}function Si(e,t,n){nn=6,wt(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 me(e,t){var n=It(tt++,7);return Ai(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function se(e,t){return nn=8,me(function(){return e},t)}function Wn(e){var t=Y.context[e.__c],n=It(tt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function Ei(e,t){te.useDebugValue&&te.useDebugValue(t?t(e):e)}function n0(e){var t=It(tt++,10),n=K();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Ci(){var e=It(tt++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function r0(){for(var e;e=vl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ar),e.__H.__h.forEach(Oi),e.__H.__h=[]}catch(t){e.__H.__h=[],te.__e(t,e.__v)}}te.__b=function(e){Y=null,_l&&_l(e)},te.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),bl&&bl(e,t)},te.__r=function(e){gl&&gl(e),tt=0;var t=(Y=e.__c).__H;t&&(ji===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Ar),t.__h.forEach(Oi),t.__h=[],tt=0)),ji=Y},te.diffed=function(e){ml&&ml(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(vl.push(t)!==1&&hl===te.requestAnimationFrame||((hl=te.requestAnimationFrame)||o0)(r0)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ji=Y=null},te.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Ar),n.__h=n.__h.filter(function(r){return!r.__||Oi(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],te.__e(r,n.__v)}}),wl&&wl(e,t)},te.unmount=function(e){yl&&yl(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Ar(r)}catch(o){t=o}}),n.__H=void 0,t&&te.__e(t,n.__v))};var xl=typeof requestAnimationFrame=="function";function o0(e){var t,n=function(){clearTimeout(r),xl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);xl&&(t=requestAnimationFrame(n))}function Ar(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function Oi(e){var t=Y;e.__c=e.__(),Y=t}function Ai(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function kl(e,t){return typeof t=="function"?t(e):t}function $l(e,t){for(var n in t)e[n]=t[n];return e}function Ti(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 Tr(e,t){this.props=e,this.context=t}function jl(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:Ti(this.props,o)}function r(o){return this.shouldComponentUpdate=n,T(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Tr.prototype=new Ae).isPureReactComponent=!0,Tr.prototype.shouldComponentUpdate=function(e,t){return Ti(this.props,e)||Ti(this.state,t)};var Sl=R.__b;R.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Sl&&Sl(e)};var i0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function t(n){var r=$l({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=i0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var El=function(e,t){return e==null?null:et(et(e).map(t))},nt={map:El,forEach:El,count:function(e){return e?et(e).length:0},only:function(e){var t=et(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:et},a0=R.__e;R.__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)}a0(e,t,n,r)};var Cl=R.unmount;function Ol(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=$l({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ol(r,t,n)})),e}function Al(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Al(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 Bn(){this.__u=0,this.t=null,this.__b=null}function Tl(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Pl(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 T(n,i)}return o.displayName="Lazy",o.__f=!0,o}function rn(){this.u=null,this.o=null}R.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Cl&&Cl(e)},(Bn.prototype=new Ae).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Tl(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]=Al(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)},Bn.prototype.componentWillUnmount=function(){this.t=[]},Bn.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]=Ol(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&T(oe,null,e.fallback);return o&&(o.__u&=-33),[T(oe,null,t.__a?null:e.children),o]};var Rl=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 s0(e){return this.getChildContext=function(){return e.context},e.children}function c0(e){var t=this,n=e.i;t.componentWillUnmount=function(){tn(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)}}),tn(T(s0,{context:t.context},e.__v),t.l)}function Dl(e,t){var n=T(c0,{__v:e,i:t});return n.containerInfo=t,n}(rn.prototype=new Ae).__a=function(e){var t=this,n=Tl(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Rl(t,e,r)):o()};n?n(i):i()}},rn.prototype.render=function(e){this.u=null,this.o=new Map;var t=et(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},rn.prototype.componentDidUpdate=rn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Rl(e,n,t)})};var Nl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,l0=/^(?: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]/,u0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,d0=/[A-Z0-9]/g,f0=typeof document<"u",p0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ll(e,t,n){return t.__k==null&&(t.textContent=""),tn(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ml(e,t,n){return xi(e,t),typeof n=="function"&&n(),e?e.__c:null}Ae.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ae.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Il=R.event;function h0(){}function v0(){return this.cancelBubble}function _0(){return this.defaultPrevented}R.event=function(e){return Il&&(e=Il(e)),e.persist=h0,e.isPropagationStopped=v0,e.isDefaultPrevented=_0,e.nativeEvent=e};var Pi,g0={enumerable:!1,configurable:!0,get:function(){return this.class}},Fl=R.vnode;R.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||f0&&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"||p0(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":u0.test(i)?i=s:r.indexOf("-")===-1&&l0.test(i)?i=i.replace(d0,"-$&").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=et(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=et(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",g0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Nl,Fl&&Fl(e)};var Hl=R.__r;R.__r=function(e){Hl&&Hl(e),Pi=e.__c};var Ul=R.diffed;R.diffed=function(e){Ul&&Ul(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 Vl={ReactCurrentDispatcher:{current:{readContext:function(e){return Pi.__n[e.__c].props.value},useCallback:se,useContext:Wn,useDebugValue:Ei,useDeferredValue:Di,useEffect:J,useId:Ci,useImperativeHandle:Si,useInsertionEffect:Li,useLayoutEffect:wt,useMemo:me,useReducer:zn,useRef:V,useState:K,useSyncExternalStore:Mi,useTransition:Ni}}},m0="17.0.2";function zl(e){return T.bind(null,e)}function rt(e){return!!e&&e.$$typeof===Nl}function Wl(e){return rt(e)&&e.type===oe}function Bl(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function on(e){return rt(e)?Wg.apply(null,arguments):e}function Yl(e){return!!e.__k&&(tn(null,e),!0)}function Kl(e){return e&&(e.base||e.nodeType===1&&e)||null}var ql=function(e,t){return e(t)},Yn=function(e,t){return e(t)},Gl=oe;function Ri(e){e()}function Di(e){return e}function Ni(){return[!1,Ri]}var Li=wt,Xl=rt;function Mi(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return wt(function(){o.__=n,o.v=t,Ii(o)&&i({h:o})},[e,n,t]),J(function(){return Ii(o)&&i({h:o}),e(function(){Ii(o)&&i({h:o})})},[e]),n}function Ii(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 Zl={useState:K,useId:Ci,useReducer:zn,useEffect:J,useLayoutEffect:wt,useInsertionEffect:Li,useTransition:Ni,useDeferredValue:Di,useSyncExternalStore:Mi,startTransition:Ri,useRef:V,useImperativeHandle:Si,useMemo:me,useCallback:se,useContext:Wn,useDebugValue:Ei,version:"17.0.2",Children:nt,render:Ll,hydrate:Ml,unmountComponentAtNode:Yl,createPortal:Dl,createElement:T,createContext:Hn,createFactory:zl,cloneElement:on,createRef:Jc,Fragment:oe,isValidElement:rt,isElement:Xl,isFragment:Wl,isMemo:Bl,findDOMNode:Kl,Component:Ae,PureComponent:Tr,memo:jl,forwardRef:ue,flushSync:Yn,unstable_batchedUpdates:ql,StrictMode:Gl,Suspense:Bn,SuspenseList:rn,lazy:Pl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Vl};const w0=Object.freeze(Object.defineProperty({__proto__:null,Children:nt,Component:Ae,Fragment:oe,PureComponent:Tr,StrictMode:Gl,Suspense:Bn,SuspenseList:rn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Vl,cloneElement:on,createContext:Hn,createElement:T,createFactory:zl,createPortal:Dl,createRef:Jc,default:Zl,findDOMNode:Kl,flushSync:Yn,forwardRef:ue,hydrate:Ml,isElement:Xl,isFragment:Wl,isMemo:Bl,isValidElement:rt,lazy:Pl,memo:jl,render:Ll,startTransition:Ri,unmountComponentAtNode:Yl,unstable_batchedUpdates:ql,useCallback:se,useContext:Wn,useDebugValue:Ei,useDeferredValue:Di,useEffect:J,useErrorBoundary:n0,useId:Ci,useImperativeHandle:Si,useInsertionEffect:Li,useLayoutEffect:wt,useMemo:me,useReducer:zn,useRef:V,useState:K,useSyncExternalStore:Mi,useTransition:Ni,version:m0},Symbol.toStringTag,{value:"Module"}));function Ft(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 y0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Jl(...e){return t=>e.forEach(n=>y0(n,t))}function Ht(...e){return se(Jl(...e),e)}function Ql(e,t=[]){let n=[];function r(i,a){const s=Hn(a),l=n.length;n=[...n,a];function u(c){const{scope:f,children:d,..._}=c,h=(f==null?void 0:f[e][l])||s,m=me(()=>_,Object.values(_));return T(h.Provider,{value:m},d)}function p(c,f){const d=(f==null?void 0:f[e][l])||s,_=Wn(d);if(_)return _;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,p]}const o=()=>{const i=n.map(a=>Hn(a));return function(s){const l=(s==null?void 0:s[e])||i;return me(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,b0(o,...t)]}function b0(...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 me(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Fi=ue((e,t)=>{const{children:n,...r}=e,o=nt.toArray(n),i=o.find(k0);if(i){const a=i.props.children,s=o.map(l=>l===i?nt.count(a)>1?nt.only(null):rt(a)?a.props.children:null:l);return T(Hi,ve({},r,{ref:t}),rt(a)?on(a,void 0,s):null)}return T(Hi,ve({},r,{ref:t}),n)});Fi.displayName="Slot";const Hi=ue((e,t)=>{const{children:n,...r}=e;return rt(n)?on(n,{...$0(r,n.props),ref:t?Jl(t,n.ref):n.ref}):nt.count(n)>1?nt.only(null):null});Hi.displayName="SlotClone";const x0=({children:e})=>T(oe,null,e);function k0(e){return rt(e)&&e.type===x0}function $0(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 an=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=ue((r,o)=>{const{asChild:i,...a}=r,s=i?Fi:t;return J(()=>{window[Symbol.for("radix-ui")]=!0},[]),T(s,ve({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function j0(e,t){e&&Yn(()=>e.dispatchEvent(t))}function yt(e){const t=V(e);return J(()=>{t.current=e}),me(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function S0(e,t=globalThis==null?void 0:globalThis.document){const n=yt(e);J(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Ui="dismissableLayer.update",E0="dismissableLayer.pointerDownOutside",C0="dismissableLayer.focusOutside";let eu;const O0=Hn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A0=ue((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,p=Wn(O0),[c,f]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=K({}),h=Ht(t,j=>f(j)),m=Array.from(p.layers),[v]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=m.indexOf(v),x=c?m.indexOf(c):-1,y=p.layersWithOutsidePointerEventsDisabled.size>0,b=x>=w,k=T0(j=>{const O=j.target,$=[...p.branches].some(A=>A.contains(O));!b||$||(i==null||i(j),s==null||s(j),j.defaultPrevented||l==null||l())},d),S=P0(j=>{const O=j.target;[...p.branches].some(A=>A.contains(O))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},d);return S0(j=>{x===p.layers.size-1&&(o==null||o(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},d),J(()=>{if(c)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(eu=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(c)),p.layers.add(c),tu(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=eu)}},[c,d,r,p]),J(()=>()=>{c&&(p.layers.delete(c),p.layersWithOutsidePointerEventsDisabled.delete(c),tu())},[c,p]),J(()=>{const j=()=>_({});return document.addEventListener(Ui,j),()=>document.removeEventListener(Ui,j)},[]),T(an.div,ve({},u,{ref:h,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:Ft(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Ft(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Ft(e.onPointerDownCapture,k.onPointerDownCapture)}))});function T0(e,t=globalThis==null?void 0:globalThis.document){const n=yt(e),r=V(!1),o=V(()=>{});return J(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){nu(E0,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 P0(e,t=globalThis==null?void 0:globalThis.document){const n=yt(e),r=V(!1);return J(()=>{const o=i=>{i.target&&!r.current&&nu(C0,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 tu(){const e=new CustomEvent(Ui);document.dispatchEvent(e)}function nu(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?j0(o,i):o.dispatchEvent(i)}let Vi=0;function R0(){J(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ru()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ru()),Vi++,()=>{Vi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Vi--}},[])}function ru(){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 zi="focusScope.autoFocusOnMount",Wi="focusScope.autoFocusOnUnmount",ou={bubbles:!1,cancelable:!0},D0=ue((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=K(null),u=yt(o),p=yt(i),c=V(null),f=Ht(t,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;J(()=>{if(r){let h=function(x){if(d.paused||!s)return;const y=x.target;s.contains(y)?c.current=y:bt(c.current,{select:!0})},m=function(x){if(d.paused||!s)return;const y=x.relatedTarget;y!==null&&(s.contains(y)||bt(c.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const b of x)b.removedNodes.length>0&&bt(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",m);const w=new MutationObserver(v);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",m),w.disconnect()}}},[r,s,d.paused]),J(()=>{if(s){su.add(d);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(zi,ou);s.addEventListener(zi,u),s.dispatchEvent(v),v.defaultPrevented||(N0(H0(iu(s)),{select:!0}),document.activeElement===h&&bt(s))}return()=>{s.removeEventListener(zi,u),setTimeout(()=>{const v=new CustomEvent(Wi,ou);s.addEventListener(Wi,p),s.dispatchEvent(v),v.defaultPrevented||bt(h??document.body,{select:!0}),s.removeEventListener(Wi,p),su.remove(d)},0)}}},[s,u,p,d]);const _=se(h=>{if(!n&&!r||d.paused)return;const m=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(m&&v){const w=h.currentTarget,[x,y]=L0(w);x&&y?!h.shiftKey&&v===y?(h.preventDefault(),n&&bt(x,{select:!0})):h.shiftKey&&v===x&&(h.preventDefault(),n&&bt(y,{select:!0})):v===w&&h.preventDefault()}},[n,r,d.paused]);return T(an.div,ve({tabIndex:-1},a,{ref:f,onKeyDown:_}))});function N0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(bt(r,{select:t}),document.activeElement!==n)return}function L0(e){const t=iu(e),n=au(t,e),r=au(t.reverse(),e);return[n,r]}function iu(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 au(e,t){for(const n of e)if(!M0(n,{upTo:t}))return n}function M0(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 I0(e){return e instanceof HTMLInputElement&&"select"in e}function bt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&I0(e)&&t&&e.select()}}const su=F0();function F0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=cu(e,t),e.unshift(t)},remove(t){var n;e=cu(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function cu(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function H0(e){return e.filter(t=>t.tagName!=="A")}const sn=globalThis!=null&&globalThis.document?wt:()=>{},U0=w0["useId".toString()]||(()=>{});let V0=0;function z0(e){const[t,n]=K(U0());return sn(()=>{e||n(r=>r??String(V0++))},[e]),e||(t?`radix-${t}`:"")}const W0=["top","right","bottom","left"],Be=Math.min,je=Math.max,Pr=Math.round,Rr=Math.floor,xt=e=>({x:e,y:e}),B0={left:"right",right:"left",bottom:"top",top:"bottom"},Y0={start:"end",end:"start"};function Bi(e,t,n){return je(e,Be(t,n))}function ot(e,t){return typeof e=="function"?e(t):e}function it(e){return e.split("-")[0]}function cn(e){return e.split("-")[1]}function Yi(e){return e==="x"?"y":"x"}function Ki(e){return e==="y"?"height":"width"}function kt(e){return["top","bottom"].includes(it(e))?"y":"x"}function qi(e){return Yi(kt(e))}function K0(e,t,n){n===void 0&&(n=!1);const r=cn(e),o=qi(e),i=Ki(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Dr(a)),[a,Dr(a)]}function q0(e){const t=Dr(e);return[Gi(e),t,Gi(t)]}function Gi(e){return e.replace(/start|end/g,t=>Y0[t])}function G0(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 X0(e,t,n,r){const o=cn(e);let i=G0(it(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Gi)))),i}function Dr(e){return e.replace(/left|right|bottom|top/g,t=>B0[t])}function Z0(e){return{top:0,right:0,bottom:0,left:0,...e}}function lu(e){return typeof e!="number"?Z0(e):{top:e,right:e,bottom:e,left:e}}function Nr(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 uu(e,t,n){let{reference:r,floating:o}=e;const i=kt(t),a=qi(t),s=Ki(a),l=it(t),u=i==="y",p=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-o.height};break;case"bottom":d={x:p,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(cn(t)){case"start":d[a]-=f*(n&&u?-1:1);break;case"end":d[a]+=f*(n&&u?-1:1);break}return d}const J0=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:p,y:c}=uu(u,r,l),f=r,d={},_=0;for(let h=0;h<s.length;h++){const{name:m,fn:v}=s[h],{x:w,y:x,data:y,reset:b}=await v({x:p,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:e,floating:t}});p=w??p,c=x??c,d={...d,[m]:{...d[m],...y}},b&&_<=50&&(_++,typeof b=="object"&&(b.placement&&(f=b.placement),b.rects&&(u=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:p,y:c}=uu(u,f,l)),h=-1)}return{x:p,y:c,placement:f,strategy:o,middlewareData:d}};async function Kn(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:p="viewport",elementContext:c="floating",altBoundary:f=!1,padding:d=0}=ot(t,e),_=lu(d),m=s[f?c==="floating"?"reference":"floating":c],v=Nr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:p,strategy:l})),w=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),y=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},b=Nr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:x,strategy:l}):w);return{top:(v.top-b.top+_.top)/y.y,bottom:(b.bottom-v.bottom+_.bottom)/y.y,left:(v.left-b.left+_.left)/y.x,right:(b.right-v.right+_.right)/y.x}}const Q0=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:p=0}=ot(e,t)||{};if(u==null)return{};const c=lu(p),f={x:n,y:r},d=qi(o),_=Ki(d),h=await a.getDimensions(u),m=d==="y",v=m?"top":"left",w=m?"bottom":"right",x=m?"clientHeight":"clientWidth",y=i.reference[_]+i.reference[d]-f[d]-i.floating[_],b=f[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let S=k?k[x]:0;(!S||!await(a.isElement==null?void 0:a.isElement(k)))&&(S=s.floating[x]||i.floating[_]);const j=y/2-b/2,O=S/2-h[_]/2-1,$=Be(c[v],O),A=Be(c[w],O),I=$,L=S-h[_]-A,N=S/2-h[_]/2+j,M=Bi(I,N,L),E=!l.arrow&&cn(o)!=null&&N!==M&&i.reference[_]/2-(N<I?$:A)-h[_]/2<0,C=E?N<I?N-I:N-L:0;return{[d]:f[d]+C,data:{[d]:M,centerOffset:N-M-C,...E&&{alignmentOffset:C}},reset:E}}}),em=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:p=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...m}=ot(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=it(o),w=kt(s),x=it(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=f||(x||!h?[Dr(s)]:q0(s)),k=_!=="none";!f&&k&&b.push(...X0(s,h,_,y));const S=[s,...b],j=await Kn(t,m),O=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&O.push(j[v]),c){const N=K0(o,a,y);O.push(j[N[0]],j[N[1]])}if($=[...$,{placement:o,overflows:O}],!O.every(N=>N<=0)){var A,I;const N=(((A=i.flip)==null?void 0:A.index)||0)+1,M=S[N];if(M)return{data:{index:N,overflows:$},reset:{placement:M}};let E=(I=$.filter(C=>C.overflows[0]<=0).sort((C,U)=>C.overflows[1]-U.overflows[1])[0])==null?void 0:I.placement;if(!E)switch(d){case"bestFit":{var L;const C=(L=$.filter(U=>{if(k){const z=kt(U.placement);return z===w||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,q)=>z+q,0)]).sort((U,z)=>U[1]-z[1])[0])==null?void 0:L[0];C&&(E=C);break}case"initialPlacement":E=s;break}if(o!==E)return{reset:{placement:E}}}return{}}}};function du(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fu(e){return W0.some(t=>e[t]>=0)}const tm=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ot(e,t);switch(r){case"referenceHidden":{const i=await Kn(t,{...o,elementContext:"reference"}),a=du(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:fu(a)}}}case"escaped":{const i=await Kn(t,{...o,altBoundary:!0}),a=du(i,n.floating);return{data:{escapedOffsets:a,escaped:fu(a)}}}default:return{}}}}};async function nm(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=it(n),s=cn(n),l=kt(n)==="y",u=["left","top"].includes(a)?-1:1,p=i&&l?-1:1,c=ot(t,e);let{mainAxis:f,crossAxis:d,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(d=s==="end"?_*-1:_),l?{x:d*p,y:f*u}:{x:f*u,y:d*p}}const rm=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 nm(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}}}}},om=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:m=>{let{x:v,y:w}=m;return{x:v,y:w}}},...l}=ot(e,t),u={x:n,y:r},p=await Kn(t,l),c=kt(it(o)),f=Yi(c);let d=u[f],_=u[c];if(i){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",w=d+p[m],x=d-p[v];d=Bi(w,d,x)}if(a){const m=c==="y"?"top":"left",v=c==="y"?"bottom":"right",w=_+p[m],x=_-p[v];_=Bi(w,_,x)}const h=s.fn({...t,[f]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},im=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}=ot(e,t),p={x:n,y:r},c=kt(o),f=Yi(c);let d=p[f],_=p[c];const h=ot(s,t),m=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const x=f==="y"?"height":"width",y=i.reference[f]-i.floating[x]+m.mainAxis,b=i.reference[f]+i.reference[x]-m.mainAxis;d<y?d=y:d>b&&(d=b)}if(u){var v,w;const x=f==="y"?"width":"height",y=["top","left"].includes(it(o)),b=i.reference[c]-i.floating[x]+(y&&((v=a.offset)==null?void 0:v[c])||0)+(y?0:m.crossAxis),k=i.reference[c]+i.reference[x]+(y?0:((w=a.offset)==null?void 0:w[c])||0)-(y?m.crossAxis:0);_<b?_=b:_>k&&(_=k)}return{[f]:d,[c]:_}}}},am=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}=ot(e,t),l=await Kn(t,s),u=it(n),p=cn(n),c=kt(n)==="y",{width:f,height:d}=r.floating;let _,h;u==="top"||u==="bottom"?(_=u,h=p===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,_=p==="end"?"top":"bottom");const m=d-l.top-l.bottom,v=f-l.left-l.right,w=Be(d-l[_],m),x=Be(f-l[h],v),y=!t.middlewareData.shift;let b=w,k=x;if(c?k=p||y?Be(x,v):v:b=p||y?Be(w,m):m,y&&!p){const j=je(l.left,0),O=je(l.right,0),$=je(l.top,0),A=je(l.bottom,0);c?k=f-2*(j!==0||O!==0?j+O:je(l.left,l.right)):b=d-2*($!==0||A!==0?$+A:je(l.top,l.bottom))}await a({...t,availableWidth:k,availableHeight:b});const S=await o.getDimensions(i.floating);return f!==S.width||d!==S.height?{reset:{rects:!0}}:{}}}};function ln(e){return pu(e)?(e.nodeName||"").toLowerCase():"#document"}function Se(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function at(e){var t;return(t=(pu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function pu(e){return e instanceof Node||e instanceof Se(e).Node}function Ne(e){return e instanceof Element||e instanceof Se(e).Element}function Ye(e){return e instanceof HTMLElement||e instanceof Se(e).HTMLElement}function hu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Se(e).ShadowRoot}function qn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function sm(e){return["table","td","th"].includes(ln(e))}function Lr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Xi(e){const t=Zi(),n=Ne(e)?Le(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 cm(e){let t=$t(e);for(;Ye(t)&&!un(t);){if(Xi(t))return t;if(Lr(t))return null;t=$t(t)}return null}function Zi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function un(e){return["html","body","#document"].includes(ln(e))}function Le(e){return Se(e).getComputedStyle(e)}function Mr(e){return Ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $t(e){if(ln(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hu(e)&&e.host||at(e);return hu(t)?t.host:t}function vu(e){const t=$t(e);return un(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ye(t)&&qn(t)?t:vu(t)}function Gn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Se(o);if(i){const s=Ji(a);return t.concat(a,a.visualViewport||[],qn(o)?o:[],s&&n?Gn(s):[])}return t.concat(o,Gn(o,[],n))}function Ji(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function _u(e){const t=Le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ye(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Pr(n)!==i||Pr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Qi(e){return Ne(e)?e:e.contextElement}function dn(e){const t=Qi(e);if(!Ye(t))return xt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=_u(t);let a=(i?Pr(n.width):n.width)/r,s=(i?Pr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const lm=xt(0);function gu(e){const t=Se(e);return!Zi()||!t.visualViewport?lm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function um(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Se(e)?!1:t}function Ut(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Qi(e);let a=xt(1);t&&(r?Ne(r)&&(a=dn(r)):a=dn(e));const s=um(i,n,r)?gu(i):xt(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,p=o.width/a.x,c=o.height/a.y;if(i){const f=Se(i),d=r&&Ne(r)?Se(r):r;let _=f,h=Ji(_);for(;h&&r&&d!==_;){const m=dn(h),v=h.getBoundingClientRect(),w=Le(h),x=v.left+(h.clientLeft+parseFloat(w.paddingLeft))*m.x,y=v.top+(h.clientTop+parseFloat(w.paddingTop))*m.y;l*=m.x,u*=m.y,p*=m.x,c*=m.y,l+=x,u+=y,_=Se(h),h=Ji(_)}}return Nr({width:p,height:c,x:l,y:u})}function dm(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=at(r),s=t?Lr(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=xt(1);const p=xt(0),c=Ye(r);if((c||!c&&!i)&&((ln(r)!=="body"||qn(a))&&(l=Mr(r)),Ye(r))){const f=Ut(r);u=dn(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+p.x,y:n.y*u.y-l.scrollTop*u.y+p.y}}function fm(e){return Array.from(e.getClientRects())}function mu(e){return Ut(at(e)).left+Mr(e).scrollLeft}function pm(e){const t=at(e),n=Mr(e),r=e.ownerDocument.body,o=je(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=je(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+mu(e);const s=-n.scrollTop;return Le(r).direction==="rtl"&&(a+=je(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function hm(e,t){const n=Se(e),r=at(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=Zi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function vm(e,t){const n=Ut(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ye(e)?dn(e):xt(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 wu(e,t,n){let r;if(t==="viewport")r=hm(e,n);else if(t==="document")r=pm(at(e));else if(Ne(t))r=vm(t,n);else{const o=gu(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Nr(r)}function yu(e,t){const n=$t(e);return n===t||!Ne(n)||un(n)?!1:Le(n).position==="fixed"||yu(n,t)}function _m(e,t){const n=t.get(e);if(n)return n;let r=Gn(e,[],!1).filter(s=>Ne(s)&&ln(s)!=="body"),o=null;const i=Le(e).position==="fixed";let a=i?$t(e):e;for(;Ne(a)&&!un(a);){const s=Le(a),l=Xi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||qn(a)&&!l&&yu(e,a))?r=r.filter(p=>p!==a):o=s,a=$t(a)}return t.set(e,r),r}function gm(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Lr(t)?[]:_m(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,p)=>{const c=wu(t,p,o);return u.top=je(c.top,u.top),u.right=Be(c.right,u.right),u.bottom=Be(c.bottom,u.bottom),u.left=je(c.left,u.left),u},wu(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function mm(e){const{width:t,height:n}=_u(e);return{width:t,height:n}}function wm(e,t,n){const r=Ye(t),o=at(t),i=n==="fixed",a=Ut(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=xt(0);if(r||!r&&!i)if((ln(t)!=="body"||qn(o))&&(s=Mr(t)),r){const c=Ut(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=mu(o));const u=a.left+s.scrollLeft-l.x,p=a.top+s.scrollTop-l.y;return{x:u,y:p,width:a.width,height:a.height}}function ea(e){return Le(e).position==="static"}function bu(e,t){return!Ye(e)||Le(e).position==="fixed"?null:t?t(e):e.offsetParent}function xu(e,t){const n=Se(e);if(Lr(e))return n;if(!Ye(e)){let o=$t(e);for(;o&&!un(o);){if(Ne(o)&&!ea(o))return o;o=$t(o)}return n}let r=bu(e,t);for(;r&&sm(r)&&ea(r);)r=bu(r,t);return r&&un(r)&&ea(r)&&!Xi(r)?n:r||cm(e)||n}const ym=async function(e){const t=this.getOffsetParent||xu,n=this.getDimensions,r=await n(e.floating);return{reference:wm(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function bm(e){return Le(e).direction==="rtl"}const xm={convertOffsetParentRelativeRectToViewportRelativeRect:dm,getDocumentElement:at,getClippingRect:gm,getOffsetParent:xu,getElementRects:ym,getClientRects:fm,getDimensions:mm,getScale:dn,isElement:Ne,isRTL:bm};function km(e,t){let n=null,r;const o=at(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:p,width:c,height:f}=e.getBoundingClientRect();if(s||t(),!c||!f)return;const d=Rr(p),_=Rr(o.clientWidth-(u+c)),h=Rr(o.clientHeight-(p+f)),m=Rr(u),w={rootMargin:-d+"px "+-_+"px "+-h+"px "+-m+"px",threshold:je(0,Be(1,l))||1};let x=!0;function y(b){const k=b[0].intersectionRatio;if(k!==l){if(!x)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(y,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,w)}n.observe(e)}return a(!0),i}function $m(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=Qi(e),p=o||i?[...u?Gn(u):[],...Gn(t)]:[];p.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=u&&s?km(u,n):null;let f=-1,d=null;a&&(d=new ResizeObserver(v=>{let[w]=v;w&&w.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=d)==null||x.observe(t)})),n()}),u&&!l&&d.observe(u),d.observe(t));let _,h=l?Ut(e):null;l&&m();function m(){const v=Ut(e);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(m)}return n(),()=>{var v;p.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,l&&cancelAnimationFrame(_)}}const jm=rm,Sm=om,Em=em,Cm=am,Om=tm,ku=Q0,Am=im,Tm=(e,t,n)=>{const r=new Map,o={platform:xm,...n},i={...o.platform,_c:r};return J0(e,t,{...o,platform:i})};var Ir=typeof document<"u"?wt:J;function Fr(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(!Fr(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)&&!Fr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $u(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ju(e,t){const n=$u(e);return Math.round(t*n)/n}function Su(e){const t=V(e);return Ir(()=>{t.current=e}),t}function Pm(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,[p,c]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,d]=K(r);Fr(f,r)||d(r);const[_,h]=K(null),[m,v]=K(null),w=se(C=>{C!==k.current&&(k.current=C,h(C))},[]),x=se(C=>{C!==S.current&&(S.current=C,v(C))},[]),y=i||_,b=a||m,k=V(null),S=V(null),j=V(p),O=l!=null,$=Su(l),A=Su(o),I=se(()=>{if(!k.current||!S.current)return;const C={placement:t,strategy:n,middleware:f};A.current&&(C.platform=A.current),Tm(k.current,S.current,C).then(U=>{const z={...U,isPositioned:!0};L.current&&!Fr(j.current,z)&&(j.current=z,Yn(()=>{c(z)}))})},[f,t,n,A]);Ir(()=>{u===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,c(C=>({...C,isPositioned:!1})))},[u]);const L=V(!1);Ir(()=>(L.current=!0,()=>{L.current=!1}),[]),Ir(()=>{if(y&&(k.current=y),b&&(S.current=b),y&&b){if($.current)return $.current(y,b,I);I()}},[y,b,I,$,O]);const N=me(()=>({reference:k,floating:S,setReference:w,setFloating:x}),[w,x]),M=me(()=>({reference:y,floating:b}),[y,b]),E=me(()=>{const C={position:n,left:0,top:0};if(!M.floating)return C;const U=ju(M.floating,p.x),z=ju(M.floating,p.y);return s?{...C,transform:"translate("+U+"px, "+z+"px)",...$u(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,p.x,p.y]);return me(()=>({...p,update:I,refs:N,elements:M,floatingStyles:E}),[p,I,N,M,E])}const Rm=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?ku({element:r.current,padding:o}).fn(n):{}:r?ku({element:r,padding:o}).fn(n):{}}}},Dm=(e,t)=>({...jm(e),options:[e,t]}),Nm=(e,t)=>({...Sm(e),options:[e,t]}),Lm=(e,t)=>({...Am(e),options:[e,t]}),Mm=(e,t)=>({...Em(e),options:[e,t]}),Im=(e,t)=>({...Cm(e),options:[e,t]}),Fm=(e,t)=>({...Om(e),options:[e,t]}),Hm=(e,t)=>({...Rm(e),options:[e,t]});function Um(e){const[t,n]=K(void 0);return sn(()=>{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 Eu="Popper",[Cu,Ou]=Ql(Eu),[Vm,Au]=Cu(Eu),zm=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return T(Vm,{scope:t,anchor:r,onAnchorChange:o},n)},Wm="PopperAnchor",Bm=ue((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Au(Wm,n),a=V(null),s=Ht(t,a);return J(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:T(an.div,ve({},o,{ref:s}))}),Tu="PopperContent",[Ym,My]=Cu(Tu),Km=ue((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:p,side:c="bottom",sideOffset:f=0,align:d="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:m=!0,collisionBoundary:v=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:k,...S}=e,j=Au(Tu,p),[O,$]=K(null),A=Ht(t,Z=>$(Z)),[I,L]=K(null),N=Um(I),M=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,E=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,C=c+(d!=="center"?"-"+d:""),U=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},z=Array.isArray(v)?v:[v],q=z.length>0,ce={padding:U,boundary:z.filter(qm),altBoundary:q},{refs:de,floatingStyles:Vt,placement:Qr,isPositioned:st,middlewareData:ct}=Pm({strategy:"fixed",placement:C,whileElementsMounted:(...Z)=>$m(...Z,{animationFrame:b==="always"}),elements:{reference:j.anchor},middleware:[Dm({mainAxis:f+E,alignmentAxis:_}),m&&Nm({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Lm():void 0,...ce}),m&&Mm({...ce}),Im({...ce,apply:({elements:Z,rects:Ee,availableWidth:St,availableHeight:le})=>{const{width:ge,height:Me}=Ee.reference,Wt=Z.floating.style;Wt.setProperty("--radix-popper-available-width",`${St}px`),Wt.setProperty("--radix-popper-available-height",`${le}px`),Wt.setProperty("--radix-popper-anchor-width",`${ge}px`),Wt.setProperty("--radix-popper-anchor-height",`${Me}px`)}}),I&&Hm({element:I,padding:h}),Gm({arrowWidth:M,arrowHeight:E}),y&&Fm({strategy:"referenceHidden",...ce})]}),[Qn,ga]=Pu(Qr),wn=yt(k);sn(()=>{st&&(wn==null||wn())},[st,wn]);const zt=(o=ct.arrow)===null||o===void 0?void 0:o.x,eo=(i=ct.arrow)===null||i===void 0?void 0:i.y,G=((a=ct.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,fe]=K();return sn(()=>{O&&fe(window.getComputedStyle(O).zIndex)},[O]),T("div",{ref:de.setFloating,"data-radix-popper-content-wrapper":"",style:{...Vt,transform:st?Vt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=ct.transformOrigin)===null||s===void 0?void 0:s.x,(l=ct.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},T(Ym,{scope:p,placedSide:Qn,onArrowChange:L,arrowX:zt,arrowY:eo,shouldHideArrow:G},T(an.div,ve({"data-side":Qn,"data-align":ga},S,{ref:A,style:{...S.style,animation:st?void 0:"none",opacity:(u=ct.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function qm(e){return e!==null}const Gm=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,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[_,h]=Pu(s),m={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,w=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let x="",y="";return _==="bottom"?(x=c?m:`${v}px`,y=`${-d}px`):_==="top"?(x=c?m:`${v}px`,y=`${l.floating.height+d}px`):_==="right"?(x=`${-d}px`,y=c?m:`${w}px`):_==="left"&&(x=`${l.floating.width+d}px`,y=c?m:`${w}px`),{data:{x,y}}}});function Pu(e){const[t,n="center"]=e.split("-");return[t,n]}const Xm=zm,Zm=Bm,Jm=Km,Qm=ue((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Zl.createPortal(T(an.div,ve({},o,{ref:t})),r):null});function ew(e,t){return zn((n,r)=>{const o=t[n][r];return o??n},e)}const ta=e=>{const{present:t,children:n}=e,r=tw(t),o=typeof n=="function"?n({present:r.isPresent}):nt.only(n),i=Ht(r.ref,o.ref);return typeof n=="function"||r.isPresent?on(o,{ref:i}):null};ta.displayName="Presence";function tw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=ew(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return J(()=>{const u=Hr(r.current);i.current=s==="mounted"?u:"none"},[s]),sn(()=>{const u=r.current,p=o.current;if(p!==e){const f=i.current,d=Hr(u);e?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(p&&f!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),sn(()=>{if(t){const u=c=>{const d=Hr(r.current).includes(c.animationName);c.target===t&&d&&Yn(()=>l("ANIMATION_END"))},p=c=>{c.target===t&&(i.current=Hr(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:se(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Hr(e){return(e==null?void 0:e.animationName)||"none"}function nw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=rw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=yt(n),l=se(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 rw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=yt(t);return J(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var ow=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fn=new WeakMap,Ur=new WeakMap,Vr={},na=0,Ru=function(e){return e&&(e.host||Ru(e.parentNode))},iw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ru(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},aw=function(e,t,n,r){var o=iw(t,Array.isArray(e)?e:[e]);Vr[n]||(Vr[n]=new WeakMap);var i=Vr[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 p=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(f){if(s.has(f))p(f);else{var d=f.getAttribute(r),_=d!==null&&d!=="false",h=(fn.get(f)||0)+1,m=(i.get(f)||0)+1;fn.set(f,h),i.set(f,m),a.push(f),h===1&&_&&Ur.set(f,!0),m===1&&f.setAttribute(n,"true"),_||f.setAttribute(r,"true")}})};return p(t),s.clear(),na++,function(){a.forEach(function(c){var f=fn.get(c)-1,d=i.get(c)-1;fn.set(c,f),i.set(c,d),f||(Ur.has(c)||c.removeAttribute(r),Ur.delete(c)),d||c.removeAttribute(n)}),na--,na||(fn=new WeakMap,fn=new WeakMap,Ur=new WeakMap,Vr={})}},sw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||ow(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),aw(r,o,n,"aria-hidden")):function(){return null}},Ke=function(){return Ke=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},Ke.apply(this,arguments)};function Du(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function cw(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var zr="right-scroll-bar-position",Wr="width-before-scroll-bar",lw="with-scroll-bars-hidden",uw="--removed-body-scroll-bar-size";function dw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function fw(e,t){var n=K(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function pw(e,t){return fw(t||null,function(n){return e.forEach(function(r){return dw(r,n)})})}function hw(e){return e}function vw(e,t){t===void 0&&(t=hw);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var p=a;a=[],p.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(p){a.push(p),u()},filter:function(p){return a=a.filter(p),n}}}};return o}function _w(e){e===void 0&&(e={});var t=vw(null);return t.options=Ke({async:!0,ssr:!1},e),t}var Nu=function(e){var t=e.sideCar,n=Du(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 T(r,Ke({},n))};Nu.isSideCarExport=!0;function gw(e,t){return e.useMedium(t),Nu}var Lu=_w(),ra=function(){},Br=ue(function(e,t){var n=V(null),r=K({onScrollCapture:ra,onWheelCapture:ra,onTouchMoveCapture:ra}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,p=e.enabled,c=e.shards,f=e.sideCar,d=e.noIsolation,_=e.inert,h=e.allowPinchZoom,m=e.as,v=m===void 0?"div":m,w=Du(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=f,y=pw([n,t]),b=Ke(Ke({},w),o);return T(oe,null,p&&T(x,{sideCar:Lu,removeScrollBar:u,shards:c,noIsolation:d,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?on(nt.only(s),Ke(Ke({},b),{ref:y})):T(v,Ke({},b,{className:l,ref:y}),s))});Br.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Br.classNames={fullWidth:Wr,zeroRight:zr};var mw=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ww(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mw();return t&&e.setAttribute("nonce",t),e}function yw(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function bw(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var xw=function(){var e=0,t=null;return{add:function(n){e==0&&(t=ww())&&(yw(t,n),bw(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},kw=function(){var e=xw();return function(t,n){J(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Mu=function(){var e=kw(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},$w={left:0,top:0,right:0,gap:0},oa=function(e){return parseInt(e||"",10)||0},jw=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[oa(n),oa(r),oa(o)]},Sw=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return $w;var t=jw(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ew=Mu(),Cw=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
22
+ .`.concat(lw,` {
23
23
  overflow: hidden `).concat(r,`;
24
24
  padding-right: `).concat(s,"px ").concat(r,`;
25
25
  }
@@ -36,32 +36,32 @@ ${n.concat(n).join(`
36
36
  `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
37
37
  }
38
38
 
39
- .`).concat(Hr,` {
39
+ .`).concat(zr,` {
40
40
  right: `).concat(s,"px ").concat(r,`;
41
41
  }
42
42
 
43
- .`).concat(Ur,` {
43
+ .`).concat(Wr,` {
44
44
  margin-right: `).concat(s,"px ").concat(r,`;
45
45
  }
46
46
 
47
- .`).concat(Hr," .").concat(Hr,` {
47
+ .`).concat(zr," .").concat(zr,` {
48
48
  right: 0 `).concat(r,`;
49
49
  }
50
50
 
51
- .`).concat(Ur," .").concat(Ur,` {
51
+ .`).concat(Wr," .").concat(Wr,` {
52
52
  margin-right: 0 `).concat(r,`;
53
53
  }
54
54
 
55
55
  body {
56
- `).concat(rm,": ").concat(s,`px;
56
+ `).concat(uw,": ").concat(s,`px;
57
57
  }
58
- `)},xm=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=_e(function(){return mm(o)},[o]);return A(ym,{styles:bm(i,!t,o,n?"":"!important")})},ra=!1;if(typeof window<"u")try{var zr=Object.defineProperty({},"passive",{get:function(){return ra=!0,!0}});window.addEventListener("test",zr,zr),window.removeEventListener("test",zr,zr)}catch{ra=!1}var fn=ra?{passive:!1}:!1,km=function(e){return e.tagName==="TEXTAREA"},Mu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!km(e)&&n[t]==="visible")},$m=function(e){return Mu(e,"overflowY")},jm=function(e){return Mu(e,"overflowX")},Iu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Fu(e,n);if(r){var o=Hu(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Sm=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Em=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Fu=function(e,t){return e==="v"?$m(t):jm(t)},Hu=function(e,t){return e==="v"?Sm(t):Em(t)},Cm=function(e,t){return e==="h"&&t==="rtl"?-1:1},Om=function(e,t,n,r,o){var i=Cm(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=Hu(e,s),v=d[0],h=d[1],g=d[2],_=h-g-i*v;(v||_)&&Fu(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},Wr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uu=function(e){return[e.deltaX,e.deltaY]},Vu=function(e){return e&&"current"in e?e.current:e},Am=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Tm=function(e){return`
58
+ `)},Ow=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=me(function(){return Sw(o)},[o]);return T(Ew,{styles:Cw(i,!t,o,n?"":"!important")})},ia=!1;if(typeof window<"u")try{var Yr=Object.defineProperty({},"passive",{get:function(){return ia=!0,!0}});window.addEventListener("test",Yr,Yr),window.removeEventListener("test",Yr,Yr)}catch{ia=!1}var pn=ia?{passive:!1}:!1,Aw=function(e){return e.tagName==="TEXTAREA"},Iu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Aw(e)&&n[t]==="visible")},Tw=function(e){return Iu(e,"overflowY")},Pw=function(e){return Iu(e,"overflowX")},Fu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Hu(e,n);if(r){var o=Uu(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Rw=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Dw=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Hu=function(e,t){return e==="v"?Tw(t):Pw(t)},Uu=function(e,t){return e==="v"?Rw(t):Dw(t)},Nw=function(e,t){return e==="h"&&t==="rtl"?-1:1},Lw=function(e,t,n,r,o){var i=Nw(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,p=a>0,c=0,f=0;do{var d=Uu(e,s),_=d[0],h=d[1],m=d[2],v=h-m-i*_;(_||v)&&Hu(e,s)&&(c+=v,f+=_),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(p&&(o&&c===0||!o&&a>c)||!p&&(o&&f===0||!o&&-a>f))&&(u=!0),u},Kr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Vu=function(e){return[e.deltaX,e.deltaY]},zu=function(e){return e&&"current"in e?e.current:e},Mw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Iw=function(e){return`
59
59
  .block-interactivity-`.concat(e,` {pointer-events: none;}
60
60
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
61
- `)},Pm=0,pn=[];function Rm(e){var t=V([]),n=V([0,0]),r=V(),o=K(Pm++)[0],i=K(function(){return Lu()})[0],a=V(e);J(function(){a.current=e},[e]),J(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=tm([e.lockRef.current],(e.shards||[]).map(Vu),!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=ae(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var _=Wr(h),m=n.current,x="deltaX"in h?h.deltaX:m[0]-_[0],b="deltaY"in h?h.deltaY:m[1]-_[1],y,k=h.target,C=Math.abs(x)>Math.abs(b)?"h":"v";if("touches"in h&&C==="h"&&k.type==="range")return!1;var $=Iu(C,k);if(!$)return!0;if($?y=C:(y=C==="v"?"h":"v",$=Iu(C,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(x||b)&&(r.current=y),!y)return!0;var O=r.current||y;return Om(O,g,h,O==="h"?x:b,!0)},[]),l=ae(function(h){var g=h;if(!(!pn.length||pn[pn.length-1]!==i)){var _="deltaY"in g?Uu(g):Wr(g),m=t.current.filter(function(y){return y.name===g.type&&y.target===g.target&&Am(y.delta,_)})[0];if(m&&m.should){g.cancelable&&g.preventDefault();return}if(!m){var x=(a.current.shards||[]).map(Vu).filter(Boolean).filter(function(y){return y.contains(g.target)}),b=x.length>0?s(g,x[0]):!a.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),u=ae(function(h,g,_,m){var x={name:h,delta:g,target:_,should:m};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(b){return b!==x})},1)},[]),f=ae(function(h){n.current=Wr(h),r.current=void 0},[]),c=ae(function(h){u(h.type,Uu(h),h.target,s(h,e.lockRef.current))},[]),p=ae(function(h){u(h.type,Wr(h),h.target,s(h,e.lockRef.current))},[]);J(function(){return pn.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,fn),document.addEventListener("touchmove",l,fn),document.addEventListener("touchstart",f,fn),function(){pn=pn.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,fn),document.removeEventListener("touchmove",l,fn),document.removeEventListener("touchstart",f,fn)}},[]);var d=e.removeScrollBar,v=e.inert;return A(oe,null,v?A(i,{styles:Tm(o)}):null,d?A(xm,{gapMode:"margin"}):null)}const Dm=um(Nu,Rm);var zu=le(function(e,t){return A(Vr,ze({},e,{ref:t,sideCar:Dm}))});zu.classNames=Vr.classNames;const Nm=zu,Wu="Popover",[Bu,Ty]=Jl(Wu,[Cu]),oa=Cu(),[Lm,hn]=Bu(Wu),Mm=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=oa(t),l=V(null),[u,f]=K(!1),[c=!1,p]=Gw({prop:r,defaultProp:o,onChange:i});return A(zw,s,A(Lm,{scope:t,contentId:L0(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:ae(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:ae(()=>f(!0),[]),onCustomAnchorRemove:ae(()=>f(!1),[]),modal:a},n))},Im="PopoverTrigger",Fm=le((e,t)=>{const{__scopePopover:n,...r}=e,o=hn(Im,n),i=oa(n),a=Ft(t,o.triggerRef),s=A(on.button,pe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":qu(o.open)},r,{ref:a,onClick:It(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:A(Ww,pe({asChild:!0},i),s)}),Yu="PopoverPortal",[Hm,Um]=Bu(Yu,{forceMount:void 0}),Vm=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=hn(Yu,t);return A(Hm,{scope:t,forceMount:n},A(Qi,{present:n||i.open},A(Yw,{asChild:!0,container:o},r)))},Gn="PopoverContent",zm=le((e,t)=>{const n=Um(Gn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=hn(Gn,e.__scopePopover);return A(Qi,{present:r||i.open},i.modal?A(Wm,pe({},o,{ref:t})):A(Bm,pe({},o,{ref:t})))}),Wm=le((e,t)=>{const n=hn(Gn,e.__scopePopover),r=V(null),o=Ft(t,r),i=V(!1);return J(()=>{const a=r.current;if(a)return em(a)},[]),A(Nm,{as:Mi,allowPinchZoom:!0},A(Ku,pe({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:It(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:It(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:It(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Bm=le((e,t)=>{const n=hn(Gn,e.__scopePopover),r=V(!1),o=V(!1);return A(Ku,pe({},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()}}))}),Ku=le((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=e,p=hn(Gn,n),d=oa(n);return S0(),A(E0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},A(k0,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},A(Bw,pe({"data-state":qu(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 qu(e){return e?"open":"closed"}const Ym=Mm,Km=Fm,qm=Vm,Gm=zm;function Gu(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=Gu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ia(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Gu(e))&&(r&&(r+=" "),r+=t);return r}function Br(){throw new Error("Cycle detected")}var Xm=Symbol.for("preact-signals");function aa(){if(vn>1)vn--;else{for(var e,t=!1;Xn!==void 0;){var n=Xn;for(Xn=void 0,sa++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Zu(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(sa=0,vn--,t)throw e}}var ne=void 0,Xn=void 0,vn=0,sa=0,Yr=0;function Xu(e){if(ne!==void 0){var t=e.n;if(t===void 0||t.t!==ne)return t={i:0,S:e,p:ne.s,n:void 0,t:ne,e:void 0,x:void 0,r:t},ne.s!==void 0&&(ne.s.n=t),ne.s=t,e.n=t,32&ne.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=ne.s,t.n=void 0,ne.s.n=t,ne.s=t),t}}function he(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}he.prototype.brand=Xm,he.prototype.h=function(){return!0},he.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)},he.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)}},he.prototype.subscribe=function(e){var t=this;return la(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},he.prototype.valueOf=function(){return this.value},he.prototype.toString=function(){return this.value+""},he.prototype.toJSON=function(){return this.value},he.prototype.peek=function(){return this.v},Object.defineProperty(he.prototype,"value",{get:function(){var e=Xu(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(ne instanceof $t&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){sa>100&&Br(),this.v=e,this.i++,Yr++,vn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{aa()}}}});function Kr(e){return new he(e)}function Zu(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 Ju(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 Qu(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 $t(e){he.call(this,void 0),this.x=e,this.s=void 0,this.g=Yr-1,this.f=4}($t.prototype=new he).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Yr))return!0;if(this.g=Yr,this.f|=1,this.i>0&&!Zu(this))return this.f&=-2,!0;var e=ne;try{Ju(this),ne=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 ne=e,Qu(this),this.f&=-2,!0},$t.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)}he.prototype.S.call(this,e)},$t.prototype.U=function(e){if(this.t!==void 0&&(he.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)}},$t.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},$t.prototype.peek=function(){if(this.h()||Br(),16&this.f)throw this.v;return this.v},Object.defineProperty($t.prototype,"value",{get:function(){1&this.f&&Br();var e=Xu(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function Zm(e){return new $t(e)}function ed(e){var t=e.u;if(e.u=void 0,typeof t=="function"){vn++;var n=ne;ne=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,ca(e),r}finally{ne=n,aa()}}}function ca(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,ed(e)}function Jm(e){if(ne!==this)throw new Error("Out-of-order effect");Qu(this),ne=e,this.f&=-2,8&this.f&&ca(this),aa()}function Zn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Zn.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()}},Zn.prototype.S=function(){1&this.f&&Br(),this.f|=1,this.f&=-9,ed(this),Ju(this),vn++;var e=ne;return ne=this,Jm.bind(this,e)},Zn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Xn,Xn=this)},Zn.prototype.d=function(){this.f|=8,1&this.f||ca(this)};function la(e){var t=new Zn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var ua;function _n(e,t){P[e]=t.bind(null,P[e]||function(){})}function qr(e){ua&&ua(),ua=e&&e.S()}function td(e){var t=this,n=e.data,r=ey(n);r.value=n;var o=_e(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!Bc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},Zm(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}td.displayName="_st",Object.defineProperties(he.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:td},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),_n("__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 he&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),_n("__r",function(e,t){qr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return la(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),qr(n),e(t)}),_n("__e",function(e,t,n,r){qr(),e(t,n,r)}),_n("diffed",function(e,t){qr();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=Qm(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function Qm(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Kr(n);return{o:function(a,s){i.value=a,r=s},d:la(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}_n("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)}),_n("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),Oe.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 ey(e){return _e(function(){return Kr(e)},[])}const gn={config$:Kr({headerText:"",label:""}),filters$:Kr({})},nd="inploi-job-alerts",ty="ija";var ny=["1","2","3","4","5","6","7","8","9","10","11","12"],ry={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]}},oy=(e,t=1,n)=>r=>{const[o,i]=ry[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},rd=e=>{const t=oy(e.hue,e.chroma,e.mode);return Object.fromEntries(ny.map(n=>[e.prefix+n,e.transform(t(n))]))},od=e=>e,iy=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)},Gr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),da=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Gr(e)&&Gr(n))for(const r in n){const o=n[r];if(Gr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Gr(i)&&da(i,o)}else Object.assign(e,{[r]:n[r]})}return da(e,...t)},ay=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},sy=()=>({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=iy(da(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[fa,pa,cy]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],ly=sy().core(({theme:e})=>({color:{transparent:cy,black:fa,white:pa,lowest:e.mode==="light"?pa:fa,highest:e.mode==="light"?fa:pa,...rd({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:od}),...rd({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:od})},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(()=>({})),uy=ay({prefix:"i-"}),dy=e=>{const t=ly.from({theme:e,getToken:uy}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ty} {
61
+ `)},Fw=0,hn=[];function Hw(e){var t=V([]),n=V([0,0]),r=V(),o=K(Fw++)[0],i=K(function(){return Mu()})[0],a=V(e);J(function(){a.current=e},[e]),J(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=cw([e.lockRef.current],(e.shards||[]).map(zu),!0).filter(Boolean);return h.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=se(function(h,m){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var v=Kr(h),w=n.current,x="deltaX"in h?h.deltaX:w[0]-v[0],y="deltaY"in h?h.deltaY:w[1]-v[1],b,k=h.target,S=Math.abs(x)>Math.abs(y)?"h":"v";if("touches"in h&&S==="h"&&k.type==="range")return!1;var j=Fu(S,k);if(!j)return!0;if(j?b=S:(b=S==="v"?"h":"v",j=Fu(S,k)),!j)return!1;if(!r.current&&"changedTouches"in h&&(x||y)&&(r.current=b),!b)return!0;var O=r.current||b;return Lw(O,m,h,O==="h"?x:y,!0)},[]),l=se(function(h){var m=h;if(!(!hn.length||hn[hn.length-1]!==i)){var v="deltaY"in m?Vu(m):Kr(m),w=t.current.filter(function(b){return b.name===m.type&&b.target===m.target&&Mw(b.delta,v)})[0];if(w&&w.should){m.cancelable&&m.preventDefault();return}if(!w){var x=(a.current.shards||[]).map(zu).filter(Boolean).filter(function(b){return b.contains(m.target)}),y=x.length>0?s(m,x[0]):!a.current.noIsolation;y&&m.cancelable&&m.preventDefault()}}},[]),u=se(function(h,m,v,w){var x={name:h,delta:m,target:v,should:w};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(y){return y!==x})},1)},[]),p=se(function(h){n.current=Kr(h),r.current=void 0},[]),c=se(function(h){u(h.type,Vu(h),h.target,s(h,e.lockRef.current))},[]),f=se(function(h){u(h.type,Kr(h),h.target,s(h,e.lockRef.current))},[]);J(function(){return hn.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:f}),document.addEventListener("wheel",l,pn),document.addEventListener("touchmove",l,pn),document.addEventListener("touchstart",p,pn),function(){hn=hn.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,pn),document.removeEventListener("touchmove",l,pn),document.removeEventListener("touchstart",p,pn)}},[]);var d=e.removeScrollBar,_=e.inert;return T(oe,null,_?T(i,{styles:Iw(o)}):null,d?T(Ow,{gapMode:"margin"}):null)}const Uw=gw(Lu,Hw);var Wu=ue(function(e,t){return T(Br,Ke({},e,{ref:t,sideCar:Uw}))});Wu.classNames=Br.classNames;const Vw=Wu,Bu="Popover",[Yu,Iy]=Ql(Bu,[Ou]),aa=Ou(),[zw,vn]=Yu(Bu),Ww=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=aa(t),l=V(null),[u,p]=K(!1),[c=!1,f]=nw({prop:r,defaultProp:o,onChange:i});return T(Xm,s,T(zw,{scope:t,contentId:z0(),triggerRef:l,open:c,onOpenChange:f,onOpenToggle:se(()=>f(d=>!d),[f]),hasCustomAnchor:u,onCustomAnchorAdd:se(()=>p(!0),[]),onCustomAnchorRemove:se(()=>p(!1),[]),modal:a},n))},Bw="PopoverTrigger",Yw=ue((e,t)=>{const{__scopePopover:n,...r}=e,o=vn(Bw,n),i=aa(n),a=Ht(t,o.triggerRef),s=T(an.button,ve({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Gu(o.open)},r,{ref:a,onClick:Ft(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:T(Zm,ve({asChild:!0},i),s)}),Ku="PopoverPortal",[Kw,qw]=Yu(Ku,{forceMount:void 0}),Gw=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=vn(Ku,t);return T(Kw,{scope:t,forceMount:n},T(ta,{present:n||i.open},T(Qm,{asChild:!0,container:o},r)))},Xn="PopoverContent",Xw=ue((e,t)=>{const n=qw(Xn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=vn(Xn,e.__scopePopover);return T(ta,{present:r||i.open},i.modal?T(Zw,ve({},o,{ref:t})):T(Jw,ve({},o,{ref:t})))}),Zw=ue((e,t)=>{const n=vn(Xn,e.__scopePopover),r=V(null),o=Ht(t,r),i=V(!1);return J(()=>{const a=r.current;if(a)return sw(a)},[]),T(Vw,{as:Fi,allowPinchZoom:!0},T(qu,ve({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ft(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ft(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:Ft(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Jw=ue((e,t)=>{const n=vn(Xn,e.__scopePopover),r=V(!1),o=V(!1);return T(qu,ve({},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()}}))}),qu=ue((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:p,...c}=e,f=vn(Xn,n),d=aa(n);return R0(),T(D0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},T(A0,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:p,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1)},T(Jm,ve({"data-state":Gu(f.open),role:"dialog",id:f.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 Gu(e){return e?"open":"closed"}const Qw=Ww,ey=Yw,ty=Gw,ny=Xw;function Xu(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=Xu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function sa(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Xu(e))&&(r&&(r+=" "),r+=t);return r}function qr(){throw new Error("Cycle detected")}var ry=Symbol.for("preact-signals");function ca(){if(_n>1)_n--;else{for(var e,t=!1;Zn!==void 0;){var n=Zn;for(Zn=void 0,la++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Ju(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(la=0,_n--,t)throw e}}var ne=void 0,Zn=void 0,_n=0,la=0,Gr=0;function Zu(e){if(ne!==void 0){var t=e.n;if(t===void 0||t.t!==ne)return t={i:0,S:e,p:ne.s,n:void 0,t:ne,e:void 0,x:void 0,r:t},ne.s!==void 0&&(ne.s.n=t),ne.s=t,e.n=t,32&ne.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=ne.s,t.n=void 0,ne.s.n=t,ne.s=t),t}}function _e(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}_e.prototype.brand=ry,_e.prototype.h=function(){return!0},_e.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)},_e.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)}},_e.prototype.subscribe=function(e){var t=this;return da(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},_e.prototype.valueOf=function(){return this.value},_e.prototype.toString=function(){return this.value+""},_e.prototype.toJSON=function(){return this.value},_e.prototype.peek=function(){return this.v},Object.defineProperty(_e.prototype,"value",{get:function(){var e=Zu(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(ne instanceof jt&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){la>100&&qr(),this.v=e,this.i++,Gr++,_n++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ca()}}}});function Xr(e){return new _e(e)}function Ju(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 Qu(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 ed(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 jt(e){_e.call(this,void 0),this.x=e,this.s=void 0,this.g=Gr-1,this.f=4}(jt.prototype=new _e).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Gr))return!0;if(this.g=Gr,this.f|=1,this.i>0&&!Ju(this))return this.f&=-2,!0;var e=ne;try{Qu(this),ne=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 ne=e,ed(this),this.f&=-2,!0},jt.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)}_e.prototype.S.call(this,e)},jt.prototype.U=function(e){if(this.t!==void 0&&(_e.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)}},jt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},jt.prototype.peek=function(){if(this.h()||qr(),16&this.f)throw this.v;return this.v},Object.defineProperty(jt.prototype,"value",{get:function(){1&this.f&&qr();var e=Zu(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function oy(e){return new jt(e)}function td(e){var t=e.u;if(e.u=void 0,typeof t=="function"){_n++;var n=ne;ne=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,ua(e),r}finally{ne=n,ca()}}}function ua(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,td(e)}function iy(e){if(ne!==this)throw new Error("Out-of-order effect");ed(this),ne=e,this.f&=-2,8&this.f&&ua(this),ca()}function Jn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Jn.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()}},Jn.prototype.S=function(){1&this.f&&qr(),this.f|=1,this.f&=-9,td(this),Qu(this),_n++;var e=ne;return ne=this,iy.bind(this,e)},Jn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Zn,Zn=this)},Jn.prototype.d=function(){this.f|=8,1&this.f||ua(this)};function da(e){var t=new Jn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var fa;function gn(e,t){R[e]=t.bind(null,R[e]||function(){})}function Zr(e){fa&&fa(),fa=e&&e.S()}function nd(e){var t=this,n=e.data,r=sy(n);r.value=n;var o=me(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!Yc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},oy(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}nd.displayName="_st",Object.defineProperties(_e.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:nd},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),gn("__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 _e&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),gn("__r",function(e,t){Zr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return da(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Zr(n),e(t)}),gn("__e",function(e,t,n,r){Zr(),e(t,n,r)}),gn("diffed",function(e,t){Zr();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],p=r[l];u===void 0?(u=ay(n,l,p,o),i[l]=u):u.o(p,o)}}}e(t)});function ay(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Xr(n);return{o:function(a,s){i.value=a,r=s},d:da(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}gn("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)}),gn("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),Ae.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 sy(e){return me(function(){return Xr(e)},[])}const mn={config$:Xr({headerText:"",label:""}),filters$:Xr({})},rd="inploi-job-alerts",cy="ija";var ly=["1","2","3","4","5","6","7","8","9","10","11","12"],uy={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]}},dy=(e,t=1,n)=>r=>{const[o,i]=uy[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},od=e=>{const t=dy(e.hue,e.chroma,e.mode);return Object.fromEntries(ly.map(n=>[e.prefix+n,e.transform(t(n))]))},id=e=>e,fy=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)},Jr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),pa=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Jr(e)&&Jr(n))for(const r in n){const o=n[r];if(Jr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Jr(i)&&pa(i,o)}else Object.assign(e,{[r]:n[r]})}return pa(e,...t)},py=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},hy=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=f=>i("reference",f.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}}),p=fy(pa(s,l,u)),c=([f,d],_)=>{const h=[_,f].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(m=>c(m,h)):[[r.getToken("declaration",h),d]]};return{values:p,declarations:Object.fromEntries(Object.entries(p).flatMap(f=>c(f))),ref:f=>i("reference",f.toString())}}})})})});const[ha,va,vy]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],_y=hy().core(({theme:e})=>({color:{transparent:vy,black:ha,white:va,lowest:e.mode==="light"?va:ha,highest:e.mode==="light"?ha:va,...od({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:id}),...od({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:id})},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(()=>({})),gy=py({prefix:"i-"}),my=e=>{const t=_y.from({theme:e,getToken:gy}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${cy} {
62
62
  ${n.concat(n).join(`
63
63
  `)}
64
- }`},id=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},fy=({error:e})=>e?R("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[R("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:[R("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),R("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),R("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),R("p",{class:"pr-1 text-sm",children:e})]}):null,ha="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]",py=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.",hy=le(({class:e,...t},n)=>R("button",{ref:n,class:ia("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:ad,...t,children:[R(fl,{class:"flex-none",name:"bell"})," ",R("span",{class:"min-w-0 truncate text-center",children:gn.config$.value.label})]})),vy=()=>R("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:gn.config$.value.headerText});function ad(){}const _y=({theme:e,apiClient:t,logger:n})=>{const[r,o]=K("idle"),[i,a]=K(),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:gn.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(py(_)),o("idle")})};return R("div",{id:"ija",children:R("div",{class:id(e).join(" "),children:R(Ym,{children:[R(Km,{asChild:!0,children:R(hy,{})}),R(qm,{children:R("div",{id:"ija",children:R("div",{class:ia("absolute isolate z-50",id(e).join(" ")),children:R(Gm,{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:[R(vy,{}),R("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[R("div",{children:[R("fieldset",{class:"fieldset relative focus-within:z-10",children:[R("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),R("input",{name:"email",autocomplete:"email",class:ha,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),R("fieldset",{class:"fieldset relative focus-within:z-10",children:[R("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),R("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:ha,id:"ija-name",placeholder:"Full Name"})]}),R("fieldset",{class:"fieldset relative focus-within:z-10",children:[R("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),R("select",{disabled:r==="loading",class:ia(ha,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[R("option",{value:"INSTANTLY",children:"Instantly"}),R("option",{value:"DAILY",children:"Daily"}),R("option",{value:"WEEKLY",children:"Weekly"}),R("option",{value:"MONTHLY",children:"Monthly"})]}),R("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:R(fl,{name:"chevron-up-down"})})]})]}),R("button",{onTouchStart:ad,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:[R("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"}),R("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:R("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:[R("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),R("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),R(fy,{error:i})]})]})})})})]})})})},gy=`#ija {
64
+ }`},ad=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},wy=({error:e})=>e?D("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[D("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:[D("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),D("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),D("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),D("p",{class:"pr-1 text-sm",children:e})]}):null,_a="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]",yy=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.",by=ue(({class:e,...t},n)=>D("button",{ref:n,class:sa("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:sd,...t,children:[D(pl,{class:"flex-none",name:"bell"})," ",D("span",{class:"min-w-0 truncate text-center",children:mn.config$.value.label})]})),xy=()=>D("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:mn.config$.value.headerText});function sd(){}const ky=({theme:e,apiClient:t,logger:n})=>{const[r,o]=K("idle"),[i,a]=K(),s=async l=>{var u,p,c;if(l.preventDefault(),r!=="idle")return;const f=new FormData(l.currentTarget),d=(u=f.get("name"))==null?void 0:u.toString(),[_,...h]=(d==null?void 0:d.split(" "))??[],m=h.join(" ");o("loading"),await Promise.all([new Promise(v=>setTimeout(v,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(p=f.get("email"))==null?void 0:p.toString(),first_name:_,last_name:m},alerts:(c=f.get("frequency"))==null?void 0:c.toString(),filters:mn.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(v=>setTimeout(v,1e3)),o("idle")}).catch(v=>{n.error(v),a(yy(v)),o("idle")})};return D("div",{id:"ija",children:D("div",{class:ad(e).join(" "),children:D(Qw,{children:[D(ey,{asChild:!0,children:D(by,{})}),D(ty,{children:D("div",{id:"ija",children:D("div",{class:sa("absolute isolate z-50",ad(e).join(" ")),children:D(ny,{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:[D(xy,{}),D("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[D("div",{children:[D("fieldset",{class:"fieldset relative focus-within:z-10",children:[D("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),D("input",{name:"email",autocomplete:"email",class:_a,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),D("fieldset",{class:"fieldset relative focus-within:z-10",children:[D("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),D("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:_a,id:"ija-name",placeholder:"Full Name"})]}),D("fieldset",{class:"fieldset relative focus-within:z-10",children:[D("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),D("select",{disabled:r==="loading",class:sa(_a,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[D("option",{value:"INSTANTLY",children:"Instantly"}),D("option",{value:"DAILY",children:"Daily"}),D("option",{value:"WEEKLY",children:"Weekly"}),D("option",{value:"MONTHLY",children:"Monthly"})]}),D("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:D(pl,{name:"chevron-up-down"})})]})]}),D("button",{onTouchStart:sd,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:[D("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"}),D("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:D("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:[D("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),D("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),D(wy,{error:i})]})]})})})})]})})})},$y=`#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
- `,sd=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${nd}`);return zc(e,`Element with id ${nd} not found.`),e}}),wy=sd(),my=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:sd,jobAlertsPlugin:()=>ma(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>A(oe,{},[[A("style",{id:"inploi-job-alerts-styles"},gy),A("style",{id:"inploi-job-search-theme"},dy(s.theme))],A(qg,{theme:s.theme}),A(_y,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>gn.filters$.value=s,a=s=>gn.config$.value=typeof s=="function"?s(gn.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:Wg(A(oe,{},A(o,{params:s})))}),render:async s=>{const l=r?yi:en;zc(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}),wy.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
1070
+ `,cd=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${rd}`);return Wc(e,`Element with id ${rd} not found.`),e}}),jy=cd(),Sy=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:cd,jobAlertsPlugin:()=>ba(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>T(oe,{},[[T("style",{id:"inploi-job-alerts-styles"},$y),T("style",{id:"inploi-job-search-theme"},my(s.theme))],T(t0,{theme:s.theme}),T(ky,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>mn.filters$.value=s,a=s=>mn.config$.value=typeof s=="function"?s(mn.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:Zg(T(oe,{},T(o,{params:s})))}),render:async s=>{const l=r?xi:tn;Wc(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(T(o,{params:s}),jy.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();