@inploi/plugin-job-search 0.22.1 → 0.23.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 +9 -9
- package/cdn/style.css +1 -1
- package/dist/index.cjs +38 -10
- package/dist/index.js +38 -10
- package/dist/job-search.api.d.ts +2 -0
- package/dist/style.css +8 -0
- package/package.json +1 -1
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var wy=Object.defineProperty;var my=(me,ge,$t)=>ge in me?wy(me,ge,{enumerable:!0,configurable:!0,writable:!0,value:$t}):me[ge]=$t;var ga=(me,ge,$t)=>(my(me,typeof ge!="symbol"?ge+"":ge,$t),$t);(function(){"use strict";var me=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function ge(e,t){if(!e)throw new Error(t)}function $t(e,t){return e in t}var wa=e=>e,gn,T,ma,ya,jt,ba,xa,Xr,Zr,Jr,Qr,ka,wn={},$a=[],cf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xn=Array.isArray;function We(e,t){for(var n in t)e[n]=t[n];return e}function ja(e){var t=e.parentNode;t&&t.removeChild(e)}function oe(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?gn.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 mn(e,a,r,o,null)}function mn(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??++ma,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Sa(){return{current:null}}function F(e){return e.children}function ye(e,t){this.props=e,this.context=t}function St(e,t){if(t==null)return e.__?St(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"?St(e):null}function Ea(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 Ea(e)}}function eo(e){(!e.__d&&(e.__d=!0)&&jt.push(e)&&!Zn.__r++||ba!==T.debounceRendering)&&((ba=T.debounceRendering)||xa)(Zn)}function Zn(){var e,t,n,r,o,i,a,s;for(jt.sort(Xr);e=jt.shift();)e.__d&&(t=jt.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),to(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??St(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Pa(a,r,s),r.__e!=i&&Ea(r)),jt.length>t&&jt.sort(Xr));Zn.__r=0}function Ca(e,t,n,r,o,i,a,s,l,u,d){var c,p,f,h,v,g=r&&r.__k||$a,_=t.length;for(n.__d=l,lf(n,t,g),l=n.__d,c=0;c<_;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?wn:g[f.__i]||wn,f.__i=c,to(e,f,p,o,i,a,s,l,u,d),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&no(p.ref,null,f),d.push(f.ref,f.__c||h,f)),v==null&&h!=null&&(v=h),65536&f.__u||p.__k===f.__k?(l&&typeof f.type=="string"&&!e.contains(l)&&(l=St(p)),l=Oa(f,l,e)):typeof f.type=="function"&&f.__d!==void 0?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=v}function lf(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,d=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?mn(null,o,null,null,null):Xn(o)?mn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?mn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=uf(o,n,a,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?d>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=St(i)),ro(i,i,!1),n[a]=null,d--);if(d)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=St(i)),ro(i,i))}function Oa(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=Oa(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"||(Xn(e)?e.some(function(n){Be(n,t)}):t.push(e)),t}function uf(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 Aa(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||cf.test(t)?n:n+"px"}function Jn(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||Aa(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Aa(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=Zr,e.addEventListener(t,i?Qr:Jr,i)):e.removeEventListener(t,i?Qr:Jr,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ta(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Zr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function to(e,t,n,r,o,i,a,s,l,u){var d,c,p,f,h,v,g,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(d=T.__b)&&d(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(d=j.contextType)&&r[d.__c],m=d?b?b.props.value:d.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new ye(_,m),c.constructor=j,c.render=df),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=We({},c.__s)),We(c.__s,j.getDerivedStateFromProps(_,c.__s))),f=c.props,h=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,h,v)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=T.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),d=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++O<25);c.state=c.__s,c.getChildContext!=null&&(r=We(We({},r),c.getChildContext())),y&&!p&&c.getSnapshotBeforeUpdate!=null&&(v=c.getSnapshotBeforeUpdate(f,h)),Ca(e,Xn(C=d!=null&&d.type===F&&d.key==null?d.props.children:d)?C:[C],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=ff(n.__e,t,n,r,o,i,a,l,u);(d=T.diffed)&&d(t)}function Pa(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)no(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 ff(e,t,n,r,o,i,a,s,l){var u,d,c,p,f,h,v,g=n.props,_=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((f=i[u])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){e=f,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&gn.call(e.childNodes),g=n.props||wn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(f=e.attributes[u]).name]=f.value;for(u in g)if(f=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=f;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;Jn(e,u,null,f,o)}}for(u in _)f=_[u],u=="children"?p=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?h=f:u=="checked"?v=f:u==="key"||s&&typeof f!="function"||g[u]===f||Jn(e,u,f,g[u],o);if(d)s||c&&(d.__html===c.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ca(e,Xn(p)?p:[p],t,n,r,y==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&St(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&ja(i[u]);s||(u="value",h!==void 0&&(h!==e[u]||y==="progress"&&!h||y==="option"&&h!==g[u])&&Jn(e,u,h,g[u],o),u="checked",v!==void 0&&v!==e[u]&&Jn(e,u,v,g[u],o))}return e}function no(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function ro(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||no(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]&&ro(r[o],t,n||typeof e.type!="function");n||e.__e==null||ja(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function df(e,t,n){return this.constructor(e,n)}function Vt(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=[],to(t,e=(!r&&n||t).__k=oe(F,null,[e]),o||wn,wn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?gn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Pa(i,e,a)}function oo(e,t){Vt(e,t,oo)}function pf(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?gn.call(arguments,2):n),mn(e.type,s,r||e.key,o||e.ref,null)}function io(e,t){var n={__c:t="__cC"+ka++,__: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,eo(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}gn=$a.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}},ma=0,ya=function(e){return e!=null&&e.constructor==null},ye.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),eo(this))},ye.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),eo(this))},ye.prototype.render=F,jt=[],xa=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xr=function(e,t){return e.__v.__b-t.__v.__b},Zn.__r=0,Zr=0,Jr=Ta(!1),Qr=Ta(!0),ka=0;var Ra=/[\s\n\\/='"\0<>]/,Da=/^(xlink|xmlns|xml)([A-Z])/,hf=/^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]/,vf=/^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/,_f=/["&<]/;function Qn(e){if(e.length===0||_f.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";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 Na={},gf=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"]),wf=/[A-Z]/g;function mf(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Na[n]||(Na[n]=n.replace(wf,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||gf.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var ao,Et,yn,bn,La=[],Ma=Array.isArray,so=Object.assign;function yf(e,t,n){var r=T.__s;T.__s=!0,ao=T.__b,Et=T.diffed,yn=T.__r,bn=T.unmount;var o=oe(F,null);o.__k=[e];try{var i=Ne(e,t||Fa,!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,La),T.__s=r,La.length=0}}function Ia(){this.__d=!0}var Fa={};function Ha(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=Fa),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=so({},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(),yn&&yn(e),n.render(n.props,n.state,t)}function Ne(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Qn(e+"");if(Ma(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var d=e[u];if(d!=null&&typeof d!="boolean"){var c,p=Ne(d,t,n,r,o,i,a);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,ao&&ao(e);var f,h,v,g=e.type,_=e.props,y=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!Ma(x)?b+=x:b+=Ne(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+Qn(_.UNSTABLE_comment||"")+"-->";h=_.children}else{if((f=g.contextType)!=null){var k=t[f.__c];y=k?k.props.value:f.__}if(g.prototype&&typeof g.prototype.render=="function")h=Ha(e,y),v=e.__c;else{e.__c=v={__v:e,props:_,context:y,setState:Ia,forceUpdate:Ia,__d:!0,__h:[]};for(var O=0;v.__d&&O++<25;)v.__d=!1,yn&&yn(e),h=g.call(v,_,y);v.__d=!0}if(v.getChildContext!=null&&(t=so({},t,v.getChildContext())),(g.getDerivedStateFromError||v.componentDidCatch)&&T.errorBoundaries){var $="";h=h!=null&&h.type===F&&h.key==null?h.props.children:h;try{return $=Ne(h,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(v.__s=g.getDerivedStateFromError(q)),v.componentDidCatch&&v.componentDidCatch(q,{}),v.__d&&(h=Ha(e,t),(v=e.__c).getChildContext!=null&&(t=so({},t,v.getChildContext())),$=Ne(h=h!=null&&h.type===F&&h.key==null?h.props.children:h,t,n,r,e,i,a)),$}finally{Et&&Et(e),e.__=null,bn&&bn(e)}}}h=h!=null&&h.type===F&&h.key==null&&h.props.tpl==null?h.props.children:h;try{var C=Ne(h,t,n,r,e,i,a);return Et&&Et(e),e.__=null,T.unmount&&T.unmount(e),C}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return Ne(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 Ne(h,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return Ne(h,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=mf(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(Da.test(S))S=S.replace(Da,"$1:$2").toLowerCase();else{if(Ra.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?vf.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):hf.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+Qn(E+"")+'"')}if(Ra.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=Qn(L):L!=null&&L!==!1&&L!==!0&&(M=Ne(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Et&&Et(e),e.__=null,bn&&bn(e),!M&&bf.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 bf=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),co="RFC3986",lo={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},xf="RFC1738",kf=Array.isArray,Le=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),uo=1024,$f=(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+=uo){const l=i.length>=uo?i.slice(s,s+uo):i,u=[];for(let d=0;d<l.length;++d){let c=l.charCodeAt(d);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===xf&&(c===40||c===41)){u[u.length]=l.charAt(d);continue}if(c<128){u[u.length]=Le[c];continue}if(c<2048){u[u.length]=Le[192|c>>6]+Le[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Le[224|c>>12]+Le[128|c>>6&63]+Le[128|c&63];continue}d+=1,c=65536+((c&1023)<<10|l.charCodeAt(d)&1023),u[u.length]=Le[240|c>>18]+Le[128|c>>12&63]+Le[128|c>>6&63]+Le[128|c&63]}a+=u.join("")}return a};function jf(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Ua(e,t){if(kf(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var Sf=Object.prototype.hasOwnProperty,Va={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Me=Array.isArray,Ef=Array.prototype.push,za=function(e,t){Ef.apply(e,Me(t)?t:[t])},Cf=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:$f,encodeValuesOnly:!1,format:co,formatter:lo[co],indices:!1,serializeDate(e){return Cf.call(e)},skipNulls:!1,strictNullHandling:!1};function Of(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var fo={};function Wa(e,t,n,r,o,i,a,s,l,u,d,c,p,f,h,v,g,_){let y=e,b=_,m=0,x=!1;for(;(b=b.get(fo))!==void 0&&!x;){const j=b.get(e);if(m+=1,typeof j<"u"){if(j===m)throw new RangeError("Cyclic object value");x=!0}typeof b.get(fo)>"u"&&(m=0)}if(typeof u=="function"?y=u(t,y):y instanceof Date?y=p==null?void 0:p(y):n==="comma"&&Me(y)&&(y=Ua(y,function(j){return j instanceof Date?p==null?void 0:p(j):j})),y===null){if(i)return l&&!v?l(t,ie.encoder,g,"key",f):t;y=""}if(Of(y)||jf(y)){if(l){const j=v?t:l(t,ie.encoder,g,"key",f);return[(h==null?void 0:h(j))+"="+(h==null?void 0:h(l(y,ie.encoder,g,"value",f)))]}return[(h==null?void 0:h(t))+"="+(h==null?void 0:h(String(y)))]}const k=[];if(typeof y>"u")return k;let O;if(n==="comma"&&Me(y))v&&l&&(y=Ua(y,l)),O=[{value:y.length>0?y.join(",")||null:void 0}];else if(Me(u))O=u;else{const j=Object.keys(y);O=d?j.sort(d):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),C=r&&Me(y)&&y.length===1?$+"[]":$;if(o&&Me(y)&&y.length===0)return C+"[]";for(let j=0;j<O.length;++j){const D=O[j],I=typeof D=="object"&&typeof D.value<"u"?D.value:y[D];if(a&&I===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Me(y)?typeof n=="function"?n(C,L):C:C+(c?"."+L:"["+L+"]");_.set(e,m);const M=new WeakMap;M.set(fo,_),za(k,Wa(I,N,n,r,o,i,a,s,n==="comma"&&v&&Me(y)?null:l,u,d,c,p,f,h,v,g,M))}return k}function Af(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=co;if(typeof e.format<"u"){if(!Sf.call(lo,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=lo[n];let o=ie.filter;(typeof e.filter=="function"||Me(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in Va?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 Ba(e,t={}){let n=e;const r=Af(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Me(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=Va[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 f=o[p];r.skipNulls&&n[f]===null||za(a,Wa(n[f],f,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 d=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&"),d.length>0?c+d:""}var er=class extends Error{constructor(t){super(t[0].message);ga(this,"issues");this.name="ValiError",this.issues=t}};function Ya(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function xn(e){return{issues:e}}function Ct(e){return{output:e}}function Tf(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 Pf(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 ct(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return Ct(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Pf(n,r);for(const u of l.issues){const d=Tf(o,u);i?i.push(d):i=[d]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?xn(i):Ct(a)}function lt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Ka(e){return typeof e=="function"?e():e}function Rf(e,t,n,r){return xn([{validation:e,message:Ka(t),input:n,requirement:r}])}function Df(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=lt(t,n);return[e,i,a]}const[r,o]=lt(e,t);return[void 0,r,o]}function ut(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Ka(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 qa(e){return typeof e.default=="function"?e.default():e.default}function Nf(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ct(t,this.pipe,n,"any")}}}function Ga(e,t,n){const[r="Invalid type",o]=lt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return ut(a,"type","array",this.message,i);let s;const l=[];for(let u=0;u<i.length;u++){const d=i[u],c=this.item._parse(d,a);if(c.issues){const p={type:"array",input:i,key:u,value:d};for(const f of c.issues)f.path?f.path.unshift(p):f.path=[p],s==null||s.push(f);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else l.push(c.output)}return s?xn(s):ct(l,this.pipe,a,"array")}}}function Xa(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?ut(i,"type","boolean",this.message,o):ct(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?ut(r,"type","literal",this.message,n):Ct(n)}}}function Ee(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=qa(this);if(o===void 0)return Ct(n);n=o}return this.wrapped._parse(n,r)}}}function zt(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?ut(i,"type","number",this.message,o):ct(o,this.pipe,i,"number")}}}function tr(e,t,n,r){const[o,i="Invalid type",a]=Df(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 ut(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let d;const c={};for(const[p,f]of s){const h=l[p],v=f._parse(h,u);if(v.issues){const g={type:"object",input:l,key:p,value:h};for(const _ of v.issues)_.path?_.path.unshift(g):_.path=[g],d==null||d.push(_);if(d||(d=v.issues),u!=null&&u.abortEarly)break}else(v.output!==void 0||p in l)&&(c[p]=v.output)}if(this.rest&&!(u!=null&&u.abortEarly&&d)){for(const p in l)if(!(p in this.entries)){const f=l[p],h=this.rest._parse(f,u);if(h.issues){const v={type:"object",input:l,key:p,value:f};for(const g of h.issues)g.path?g.path.unshift(v):g.path=[v],d==null||d.push(g);if(d||(d=h.issues),u!=null&&u.abortEarly)break}else c[p]=h.output}}return d?xn(d):ct(c,this.pipe,u,"object")}}}function po(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=qa(this);if(o===void 0)return Ct(n);n=o}return this.wrapped._parse(n,r)}}}function te(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?ut(i,"type","string",this.message,o):ct(o,this.pipe,i,"string")}}}function Lf(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=lt(n,r);return[e,t,a,s]}const[o,i]=lt(t,n);return[te(),e,o,i]}var Mf=["__proto__","prototype","constructor"];function Za(e,t,n,r){const[o,i,a="Invalid type",s]=Lf(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 ut(u,"type","record",this.message,l);let d;const c={};for(const[p,f]of Object.entries(l))if(!Mf.includes(p)){let h;const v=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(v.issues){h={type:"record",input:l,key:p,value:f};for(const _ of v.issues)_.path=[h],d==null||d.push(_);if(d||(d=v.issues),u!=null&&u.abortEarly)break}const g=this.value._parse(f,u);if(g.issues){h=h||{type:"record",input:l,key:p,value:f};for(const _ of g.issues)_.path?_.path.unshift(h):_.path=[h],d==null||d.push(_);if(d||(d=g.issues),u!=null&&u.abortEarly)break}!v.issues&&!g.issues&&(c[v.output]=g.output)}return d?xn(d):ct(c,this.pipe,u,"record")}}}function Ja(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?Ct(i[0]):ut(r,"type","union",this.message,n,o)}}}function Qa(e,t,n){const r=e._parse(t,n);if(r.issues)throw new er(r.issues);return r.output}function If(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new er(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function es(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):ct(a,n,o,typeof a)}}}function Ff(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)?Ct(t):Rf(this.type,this.message,t,this.requirement)}}}const ts="inploi-job-search",ns="ijs",nr=10,rs={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Hf=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in rs?rs[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Uf=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Vf=({from:e=new Date,to:t,formatter:n=Uf})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"over 30 days ago":"in over 30 days"},zf=Za(Ga(tr({label:Ya(te(),String),value:Ya(te(),String),jobs:zt()}))),Wf=te([Ff()]),Bf=tr({total:zt(),current_page:zt(),per_page:zt(),last_page:zt()}),Yf=tr({id:zt(),company_name:te(),company_logo:Ee(po(te())),employment_type:te(),location_type:Ja([ft("LOCATION"),ft("REMOTE"),ft("HYBRID")]),pay_type:Ee(Ja([ft("ANNUALLY"),ft("HOURLY"),ft("MONTHLY"),ft("WEEKLY"),ft("DAILY")])),pay_currency:te(),pay_mask:Xa(),pay_display:Xa(),pay:Ee(te()),pay_min:Ee(te()),pay_max:Ee(te()),description:te(),title:te(),contract_type:Ee(te()),created_at:Ee(te()),custom_data:Ee(Za(Nf())),href:te(),industry:Ee(te()),category:Ee(te()),skills:po(te()),town:po(te()),city:Ee(te()),country:Ee(te())}),Kf=es(Yf,e=>{const t=If(Wf,e.company_logo);return{id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:null},employmentType:e.employment_type,locationType:e.location_type,pay:Hf({salary:e,config:{locales:void 0}})??null,description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?Vf({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data,raw:e}}),qf=es(tr({data:Ga(Kf),pagination:Bf}),e=>({pagination:e.pagination,results:e.data})),Gf=e=>!e||Array.isArray(e)&&e.length===0?null:e,os=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Gf(n==null?void 0:n.value)])),is=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(Ba({filters:os(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return Qa(zf,s)}catch(i){throw i instanceof er?r.error(i.message,i.issues):r.error(i),i}},as=async({apiClient:e,logger:t,signal:n,filters:r,keyword:o,page:i=1})=>{try{const a=new URLSearchParams(Ba({filters:os(r)}));a.set("page",i.toString()),a.set("per_page",nr.toString()),a.set("query",o||"");const s="/search/results",l=await e.fetch([s,a.toString()].filter(Boolean).join("?"),{signal:n});return Qa(qf,l)}catch(a){throw a instanceof er?t.error(a.message,a.issues):t.error(a),a}},ho=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")},vo={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Xf=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:--Xf,__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 ss(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=ss(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function cs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ss(e))&&(r&&(r+=" "),r+=t);return r}function ls(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=ls(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=ls(e))&&(r&&(r+=" "),r+=t);return r}const us=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Zf=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[d]=u;return!["class","className"].includes(d)}));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 f=i==null?void 0:i[p],h=l==null?void 0:l[p],v=us(f)||us(h);return s[p][v]}),d={...l,...i&&Object.entries(i).reduce((p,f)=>{let[h,v]=f;return typeof v>"u"?p:{...p,[h]:v}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,f)=>{let{class:h,className:v,...g}=f;return Object.entries(g).every(_=>{let[y,b]=_;const m=d[y];return Array.isArray(b)?b.includes(m):m===b})?[...p,h,v]: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:yy,cva:Te,cx:by}=Zf(),kn=Te({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"}}),Jf=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),dt=({error:e,resetError:t,class:n,...r})=>w("div",{class:cs("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:kn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class $n extends ye{constructor(){super(...arguments);ga(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 Qf={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"})},ed=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(Qf).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})})})})}),Ye=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ke,W,go,fs,Wt=0,ds=[],Q=T,ps=Q.__b,hs=Q.__r,vs=Q.diffed,_s=Q.__c,gs=Q.unmount,ws=Q.__;function Ot(e,t){Q.__h&&Q.__h(W,e,Wt||t),Wt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function be(e){return Wt=1,rr(ys,e)}function rr(e,t,n){var r=Ot(Ke++,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 d=r.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};W.u=!0;var i=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(s,l,u){if(this.__e){var d=i;i=void 0,o(s,l,u),i=d}a&&a.call(this,s,l,u)},W.shouldComponentUpdate=o}return r.__N||r.__}function xe(e,t){var n=Ot(Ke++,3);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function pt(e,t){var n=Ot(Ke++,4);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ke(e){return Wt=5,Ie(function(){return{current:e}},[])}function wo(e,t,n){Wt=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 Ie(e,t){var n=Ot(Ke++,7);return bo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function At(e,t){return Wt=8,Ie(function(){return e},t)}function or(e){var t=W.context[e.__c],n=Ot(Ke++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function ir(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function td(e){var t=Ot(Ke++,10),n=be();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=Ot(Ke++,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 nd(){for(var e;e=ds.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ar),e.__H.__h.forEach(yo),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){W=null,ps&&ps(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ws&&ws(e,t)},Q.__r=function(e){hs&&hs(e),Ke=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(ar),t.__h.forEach(yo),t.__h=[],Ke=0)),go=W},Q.diffed=function(e){vs&&vs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ds.push(t)!==1&&fs===Q.requestAnimationFrame||((fs=Q.requestAnimationFrame)||rd)(nd)),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(ar),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)}}),_s&&_s(e,t)},Q.unmount=function(e){gs&&gs(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&&Q.__e(t,n.__v))};var ms=typeof requestAnimationFrame=="function";function rd(e){var t,n=function(){clearTimeout(r),ms&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ms&&(t=requestAnimationFrame(n))}function ar(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 ys(e,t){return typeof t=="function"?t(e):t}var od=Symbol.for("preact-signals");function xo(){if(Bt>1)Bt--;else{for(var e,t=!1;jn!==void 0;){var n=jn;for(jn=void 0,ko++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&xs(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(ko=0,Bt--,t)throw e}}var B=void 0,jn=void 0,Bt=0,ko=0,sr=0;function bs(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 de(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}de.prototype.brand=od,de.prototype.h=function(){return!0},de.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)},de.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)}},de.prototype.subscribe=function(e){var t=this;return So(function(){var n=t.value,r=B;B=void 0;try{e(n)}finally{B=r}})},de.prototype.valueOf=function(){return this.value},de.prototype.toString=function(){return this.value+""},de.prototype.toJSON=function(){return this.value},de.prototype.peek=function(){var e=B;B=void 0;try{return this.value}finally{B=e}},Object.defineProperty(de.prototype,"value",{get:function(){var e=bs(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(ko>100)throw new Error("Cycle detected");this.v=e,this.i++,sr++,Bt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{xo()}}}});function $o(e){return new de(e)}function xs(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 ks(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 $s(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 Yt(e){de.call(this,void 0),this.x=e,this.s=void 0,this.g=sr-1,this.f=4}(Yt.prototype=new de).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===sr))return!0;if(this.g=sr,this.f|=1,this.i>0&&!xs(this))return this.f&=-2,!0;var e=B;try{ks(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,$s(this),this.f&=-2,!0},Yt.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)}de.prototype.S.call(this,e)},Yt.prototype.U=function(e){if(this.t!==void 0&&(de.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)}},Yt.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(Yt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=bs(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function id(e){return new Yt(e)}function js(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Bt++;var n=B;B=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,jo(e),r}finally{B=n,xo()}}}function jo(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,js(e)}function ad(e){if(B!==this)throw new Error("Out-of-order effect");$s(this),B=e,this.f&=-2,8&this.f&&jo(this),xo()}function Sn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Sn.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()}},Sn.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,js(this),ks(this),Bt++;var e=B;return B=this,ad.bind(this,e)},Sn.prototype.N=function(){2&this.f||(this.f|=2,this.o=jn,jn=this)},Sn.prototype.d=function(){this.f|=8,1&this.f||jo(this)};function So(e){var t=new Sn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Eo;function Kt(e,t){T[e]=t.bind(null,T[e]||function(){})}function cr(e){Eo&&Eo(),Eo=e&&e.S()}function Ss(e){var t=this,n=e.data,r=cd(n);r.value=n;var o=Ie(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!ya(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},id(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Ss.displayName="_st",Object.defineProperties(de.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ss},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Kt("__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 de&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),Kt("__r",function(e,t){cr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return So(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),cr(n),e(t)}),Kt("__e",function(e,t,n,r){cr(),e(t,n,r)}),Kt("diffed",function(e,t){cr();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],d=r[l];u===void 0?(u=sd(n,l,d,o),i[l]=u):u.o(d,o)}}}e(t)});function sd(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=$o(n);return{o:function(a,s){i.value=a,r=s},d:So(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Kt("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)}),Kt("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),ye.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 cd(e){return Ie(function(){return $o(e)},[])}const Tt={keyword$:$o()},lr=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??""}`},xy="",ld=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)},ud=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=be();return xe(()=>{Promise.resolve().then(()=>_y).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),xe(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),xe(()=>{i==null||i.setFilters(ld(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Es(e,t){for(var n in t)e[n]=t[n];return e}function Co(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 ur(e,t){this.props=e,this.context=t}function Cs(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:Co(this.props,o)}function r(o){return this.shouldComponentUpdate=n,oe(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ur.prototype=new ye).isPureReactComponent=!0,ur.prototype.shouldComponentUpdate=function(e,t){return Co(this.props,e)||Co(this.state,t)};var Os=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Os&&Os(e)};var fd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function As(e){function t(n){var r=Es({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=fd,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ts=function(e,t){return e==null?null:Be(Be(e).map(t))},Ps={map:Ts,forEach:Ts,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},dd=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)}dd(e,t,n,r)};var Rs=T.unmount;function Ds(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=Es({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ds(r,t,n)})),e}function Ns(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ns(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 En(){this.__u=0,this.t=null,this.__b=null}function Ls(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ms(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 oe(n,i)}return o.displayName="Lazy",o.__f=!0,o}function qt(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Rs&&Rs(e)},(En.prototype=new ye).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ls(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]=Ns(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)},En.prototype.componentWillUnmount=function(){this.t=[]},En.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]=Ds(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&oe(F,null,e.fallback);return o&&(o.__u&=-33),[oe(F,null,t.__a?null:e.children),o]};var Is=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 pd(e){return this.getChildContext=function(){return e.context},e.children}function hd(e){var t=this,n=e.i;t.componentWillUnmount=function(){Vt(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)}}),Vt(oe(pd,{context:t.context},e.__v),t.l)}function Fs(e,t){var n=oe(hd,{__v:e,i:t});return n.containerInfo=t,n}(qt.prototype=new ye).__a=function(e){var t=this,n=Ls(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Is(t,e,r)):o()};n?n(i):i()}},qt.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},qt.prototype.componentDidUpdate=qt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Is(e,n,t)})};var Hs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,vd=/^(?: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]/,_d=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,gd=/[A-Z0-9]/g,wd=typeof document<"u",md=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Us(e,t,n){return t.__k==null&&(t.textContent=""),Vt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Vs(e,t,n){return oo(e,t),typeof n=="function"&&n(),e?e.__c:null}ye.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ye.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zs=T.event;function yd(){}function bd(){return this.cancelBubble}function xd(){return this.defaultPrevented}T.event=function(e){return zs&&(e=zs(e)),e.persist=yd,e.isPropagationStopped=bd,e.isDefaultPrevented=xd,e.nativeEvent=e};var Oo,kd={enumerable:!1,configurable:!0,get:function(){return this.class}},Ws=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||wd&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||md(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":_d.test(i)?i=s:r.indexOf("-")===-1&&vd.test(i)?i=i.replace(gd,"-$&").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",kd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Hs,Ws&&Ws(e)};var Bs=T.__r;T.__r=function(e){Bs&&Bs(e),Oo=e.__c};var Ys=T.diffed;T.diffed=function(e){Ys&&Ys(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),Oo=null};var Ks={ReactCurrentDispatcher:{current:{readContext:function(e){return Oo.__n[e.__c].props.value},useCallback:At,useContext:or,useDebugValue:ir,useDeferredValue:To,useEffect:xe,useId:mo,useImperativeHandle:wo,useInsertionEffect:Ro,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:be,useSyncExternalStore:Do,useTransition:Po}}},$d="17.0.2";function qs(e){return oe.bind(null,e)}function Cn(e){return!!e&&e.$$typeof===Hs}function Gs(e){return Cn(e)&&e.type===F}function Xs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Zs(e){return Cn(e)?pf.apply(null,arguments):e}function Js(e){return!!e.__k&&(Vt(null,e),!0)}function Qs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ec=function(e,t){return e(t)},tc=function(e,t){return e(t)},nc=F;function Ao(e){e()}function To(e){return e}function Po(){return[!1,Ao]}var Ro=pt,rc=Cn;function Do(e,t){var n=t(),r=be({h:{__:n,v:t}}),o=r[0].h,i=r[1];return pt(function(){o.__=n,o.v=t,No(o)&&i({h:o})},[e,n,t]),xe(function(){return No(o)&&i({h:o}),e(function(){No(o)&&i({h:o})})},[e]),n}function No(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 fr={useState:be,useId:mo,useReducer:rr,useEffect:xe,useLayoutEffect:pt,useInsertionEffect:Ro,useTransition:Po,useDeferredValue:To,useSyncExternalStore:Do,startTransition:Ao,useRef:ke,useImperativeHandle:wo,useMemo:Ie,useCallback:At,useContext:or,useDebugValue:ir,version:"17.0.2",Children:Ps,render:Us,hydrate:Vs,unmountComponentAtNode:Js,createPortal:Fs,createElement:oe,createContext:io,createFactory:qs,cloneElement:Zs,createRef:Sa,Fragment:F,isValidElement:Cn,isElement:rc,isFragment:Gs,isMemo:Xs,findDOMNode:Qs,Component:ye,PureComponent:ur,memo:Cs,forwardRef:As,flushSync:tc,unstable_batchedUpdates:ec,StrictMode:nc,Suspense:En,SuspenseList:qt,lazy:Ms,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks};const jd=Object.freeze(Object.defineProperty({__proto__:null,Children:Ps,Component:ye,Fragment:F,PureComponent:ur,StrictMode:nc,Suspense:En,SuspenseList:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks,cloneElement:Zs,createContext:io,createElement:oe,createFactory:qs,createPortal:Fs,createRef:Sa,default:fr,findDOMNode:Qs,flushSync:tc,forwardRef:As,hydrate:Vs,isElement:rc,isFragment:Gs,isMemo:Xs,isValidElement:Cn,lazy:Ms,memo:Cs,render:Us,startTransition:Ao,unmountComponentAtNode:Js,unstable_batchedUpdates:ec,useCallback:At,useContext:or,useDebugValue:ir,useDeferredValue:To,useEffect:xe,useErrorBoundary:td,useId:mo,useImperativeHandle:wo,useInsertionEffect:Ro,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:be,useSyncExternalStore:Do,useTransition:Po,version:$d},Symbol.toStringTag,{value:"Module"}));var dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ed(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 Lo={exports:{}},Mo={};const oc=Ed(jd);/**
|
|
1
|
+
var wy=Object.defineProperty;var my=(ye,ge,$t)=>ge in ye?wy(ye,ge,{enumerable:!0,configurable:!0,writable:!0,value:$t}):ye[ge]=$t;var wa=(ye,ge,$t)=>(my(ye,typeof ge!="symbol"?ge+"":ge,$t),$t);(function(){"use strict";var ye=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function ge(e,t){if(!e)throw new Error(t)}function $t(e,t){return e in t}var ma=e=>e,gn,T,ya,ba,jt,xa,ka,Xr,Zr,Jr,Qr,$a,wn={},ja=[],sd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xn=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 oe(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?gn.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 mn(e,a,r,o,null)}function mn(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 St(e,t){if(t==null)return e.__?St(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"?St(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 eo(e){(!e.__d&&(e.__d=!0)&&jt.push(e)&&!Zn.__r++||xa!==T.debounceRendering)&&((xa=T.debounceRendering)||ka)(Zn)}function Zn(){var e,t,n,r,o,i,a,s;for(jt.sort(Xr);e=jt.shift();)e.__d&&(t=jt.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),to(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??St(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Ra(a,r,s),r.__e!=i&&Ca(r)),jt.length>t&&jt.sort(Xr));Zn.__r=0}function Oa(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,h,v,g=r&&r.__k||ja,_=t.length;for(n.__d=l,cd(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?wn:g[d.__i]||wn,d.__i=c,to(e,d,p,o,i,a,s,l,u,f),h=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&no(p.ref,null,d),f.push(d.ref,d.__c||h,d)),v==null&&h!=null&&(v=h),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=St(p)),l=Aa(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:h&&(l=h.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=v}function cd(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?mn(null,o,null,null,null):Xn(o)?mn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?mn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=ld(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=St(i)),ro(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=St(i)),ro(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"||(Xn(e)?e.some(function(n){Be(n,t)}):t.push(e)),t}function ld(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"||sd.test(t)?n:n+"px"}function Jn(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=Zr,e.addEventListener(t,i?Qr:Jr,i)):e.removeEventListener(t,i?Qr:Jr,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=Zr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function to(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,h,v,g,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(f=j.contextType)&&r[f.__c],m=f?b?b.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new be(_,m),c.constructor=j,c.render=dd),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=We({},c.__s)),We(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,h=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,h,v)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=T.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++O<25);c.state=c.__s,c.getChildContext!=null&&(r=We(We({},r),c.getChildContext())),y&&!p&&c.getSnapshotBeforeUpdate!=null&&(v=c.getSnapshotBeforeUpdate(d,h)),Oa(e,Xn(C=f!=null&&f.type===F&&f.key==null?f.props.children:f)?C:[C],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(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=ud(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++)no(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 ud(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,h,v,g=n.props,_=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!y&&(y?d.localName===y:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&gn.call(e.childNodes),g=n.props||wn,!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;Jn(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?h=d:u=="checked"?v=d:u==="key"||s&&typeof d!="function"||g[u]===d||Jn(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,Xn(p)?p:[p],t,n,r,y==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&St(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Sa(i[u]);s||(u="value",h!==void 0&&(h!==e[u]||y==="progress"&&!h||y==="option"&&h!==g[u])&&Jn(e,u,h,g[u],o),u="checked",v!==void 0&&v!==e[u]&&Jn(e,u,v,g[u],o))}return e}function no(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function ro(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||no(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]&&ro(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 dd(e,t,n){return this.constructor(e,n)}function Vt(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=[],to(t,e=(!r&&n||t).__k=oe(F,null,[e]),o||wn,wn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?gn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Ra(i,e,a)}function oo(e,t){Vt(e,t,oo)}function fd(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?gn.call(arguments,2):n),mn(e.type,s,r||e.key,o||e.ref,null)}function io(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,eo(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}gn=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),eo(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),eo(this))},be.prototype.render=F,jt=[],ka=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xr=function(e,t){return e.__v.__b-t.__v.__b},Zn.__r=0,Zr=0,Jr=Pa(!1),Qr=Pa(!0),$a=0;var Da=/[\s\n\\/='"\0<>]/,Na=/^(xlink|xmlns|xml)([A-Z])/,pd=/^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]/,hd=/^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/,vd=/["&<]/;function Qn(e){if(e.length===0||vd.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";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={},_d=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"]),gd=/[A-Z]/g;function wd(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(gd,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||_d.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var ao,Et,yn,bn,Ma=[],Ia=Array.isArray,so=Object.assign;function md(e,t,n){var r=T.__s;T.__s=!0,ao=T.__b,Et=T.diffed,yn=T.__r,bn=T.unmount;var o=oe(F,null);o.__k=[e];try{var i=Ne(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=so({},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(),yn&&yn(e),n.render(n.props,n.state,t)}function Ne(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Qn(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=Ne(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,ao&&ao(e);var d,h,v,g=e.type,_=e.props,y=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!Ia(x)?b+=x:b+=Ne(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+Qn(_.UNSTABLE_comment||"")+"-->";h=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];y=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")h=Ua(e,y),v=e.__c;else{e.__c=v={__v:e,props:_,context:y,setState:Fa,forceUpdate:Fa,__d:!0,__h:[]};for(var O=0;v.__d&&O++<25;)v.__d=!1,yn&&yn(e),h=g.call(v,_,y);v.__d=!0}if(v.getChildContext!=null&&(t=so({},t,v.getChildContext())),(g.getDerivedStateFromError||v.componentDidCatch)&&T.errorBoundaries){var $="";h=h!=null&&h.type===F&&h.key==null?h.props.children:h;try{return $=Ne(h,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(v.__s=g.getDerivedStateFromError(q)),v.componentDidCatch&&v.componentDidCatch(q,{}),v.__d&&(h=Ua(e,t),(v=e.__c).getChildContext!=null&&(t=so({},t,v.getChildContext())),$=Ne(h=h!=null&&h.type===F&&h.key==null?h.props.children:h,t,n,r,e,i,a)),$}finally{Et&&Et(e),e.__=null,bn&&bn(e)}}}h=h!=null&&h.type===F&&h.key==null&&h.props.tpl==null?h.props.children:h;try{var C=Ne(h,t,n,r,e,i,a);return Et&&Et(e),e.__=null,T.unmount&&T.unmount(e),C}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return Ne(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 Ne(h,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return Ne(h,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=wd(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?hd.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):pd.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+Qn(E+"")+'"')}if(Da.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=Qn(L):L!=null&&L!==!1&&L!==!0&&(M=Ne(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Et&&Et(e),e.__=null,bn&&bn(e),!M&&yd.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 yd=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),co="RFC3986",lo={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},bd="RFC1738",xd=Array.isArray,Le=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),uo=1024,kd=(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+=uo){const l=i.length>=uo?i.slice(s,s+uo):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===bd&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=Le[c];continue}if(c<2048){u[u.length]=Le[192|c>>6]+Le[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Le[224|c>>12]+Le[128|c>>6&63]+Le[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=Le[240|c>>18]+Le[128|c>>12&63]+Le[128|c>>6&63]+Le[128|c&63]}a+=u.join("")}return a};function $d(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Va(e,t){if(xd(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var jd=Object.prototype.hasOwnProperty,za={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Me=Array.isArray,Sd=Array.prototype.push,Wa=function(e,t){Sd.apply(e,Me(t)?t:[t])},Ed=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:kd,encodeValuesOnly:!1,format:co,formatter:lo[co],indices:!1,serializeDate(e){return Ed.call(e)},skipNulls:!1,strictNullHandling:!1};function Cd(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var fo={};function Ba(e,t,n,r,o,i,a,s,l,u,f,c,p,d,h,v,g,_){let y=e,b=_,m=0,x=!1;for(;(b=b.get(fo))!==void 0&&!x;){const j=b.get(e);if(m+=1,typeof j<"u"){if(j===m)throw new RangeError("Cyclic object value");x=!0}typeof b.get(fo)>"u"&&(m=0)}if(typeof u=="function"?y=u(t,y):y instanceof Date?y=p==null?void 0:p(y):n==="comma"&&Me(y)&&(y=Va(y,function(j){return j instanceof Date?p==null?void 0:p(j):j})),y===null){if(i)return l&&!v?l(t,ie.encoder,g,"key",d):t;y=""}if(Cd(y)||$d(y)){if(l){const j=v?t:l(t,ie.encoder,g,"key",d);return[(h==null?void 0:h(j))+"="+(h==null?void 0:h(l(y,ie.encoder,g,"value",d)))]}return[(h==null?void 0:h(t))+"="+(h==null?void 0:h(String(y)))]}const k=[];if(typeof y>"u")return k;let O;if(n==="comma"&&Me(y))v&&l&&(y=Va(y,l)),O=[{value:y.length>0?y.join(",")||null:void 0}];else if(Me(u))O=u;else{const j=Object.keys(y);O=f?j.sort(f):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),C=r&&Me(y)&&y.length===1?$+"[]":$;if(o&&Me(y)&&y.length===0)return C+"[]";for(let j=0;j<O.length;++j){const D=O[j],I=typeof D=="object"&&typeof D.value<"u"?D.value:y[D];if(a&&I===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Me(y)?typeof n=="function"?n(C,L):C:C+(c?"."+L:"["+L+"]");_.set(e,m);const M=new WeakMap;M.set(fo,_),Wa(k,Ba(I,N,n,r,o,i,a,s,n==="comma"&&v&&Me(y)?null:l,u,f,c,p,d,h,v,g,M))}return k}function Od(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=co;if(typeof e.format<"u"){if(!jd.call(lo,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=lo[n];let o=ie.filter;(typeof e.filter=="function"||Me(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=Od(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Me(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 er=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 xn(e){return{issues:e}}function Ct(e){return{output:e}}function Ad(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 Td(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 ct(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return Ct(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Td(n,r);for(const u of l.issues){const f=Ad(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?xn(i):Ct(a)}function lt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function qa(e){return typeof e=="function"?e():e}function Pd(e,t,n,r){return xn([{validation:e,message:qa(t),input:n,requirement:r}])}function Rd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=lt(t,n);return[e,i,a]}const[r,o]=lt(e,t);return[void 0,r,o]}function ut(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 Dd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ct(t,this.pipe,n,"any")}}}function Xa(e,t,n){const[r="Invalid type",o]=lt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return ut(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?xn(s):ct(l,this.pipe,a,"array")}}}function Za(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?ut(i,"type","boolean",this.message,o):ct(o,this.pipe,i,"boolean")}}}function dt(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?ut(r,"type","literal",this.message,n):Ct(n)}}}function Ee(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 Ct(n);n=o}return this.wrapped._parse(n,r)}}}function zt(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?ut(i,"type","number",this.message,o):ct(o,this.pipe,i,"number")}}}function tr(e,t,n,r){const[o,i="Invalid type",a]=Rd(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 ut(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const h=l[p],v=d._parse(h,u);if(v.issues){const g={type:"object",input:l,key:p,value:h};for(const _ of v.issues)_.path?_.path.unshift(g):_.path=[g],f==null||f.push(_);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else(v.output!==void 0||p in l)&&(c[p]=v.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],h=this.rest._parse(d,u);if(h.issues){const v={type:"object",input:l,key:p,value:d};for(const g of h.issues)g.path?g.path.unshift(v):g.path=[v],f==null||f.push(g);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else c[p]=h.output}}return f?xn(f):ct(c,this.pipe,u,"object")}}}function po(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 Ct(n);n=o}return this.wrapped._parse(n,r)}}}function te(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?ut(i,"type","string",this.message,o):ct(o,this.pipe,i,"string")}}}function Nd(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=lt(n,r);return[e,t,a,s]}const[o,i]=lt(t,n);return[te(),e,o,i]}var Ld=["__proto__","prototype","constructor"];function Ja(e,t,n,r){const[o,i,a="Invalid type",s]=Nd(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 ut(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Ld.includes(p)){let h;const v=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(v.issues){h={type:"record",input:l,key:p,value:d};for(const _ of v.issues)_.path=[h],f==null||f.push(_);if(f||(f=v.issues),u!=null&&u.abortEarly)break}const g=this.value._parse(d,u);if(g.issues){h=h||{type:"record",input:l,key:p,value:d};for(const _ of g.issues)_.path?_.path.unshift(h):_.path=[h],f==null||f.push(_);if(f||(f=g.issues),u!=null&&u.abortEarly)break}!v.issues&&!g.issues&&(c[v.output]=g.output)}return f?xn(f):ct(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?Ct(i[0]):ut(r,"type","union",this.message,n,o)}}}function es(e,t,n){const r=e._parse(t,n);if(r.issues)throw new er(r.issues);return r.output}function Md(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new er(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):ct(a,n,o,typeof a)}}}function Id(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)?Ct(t):Pd(this.type,this.message,t,this.requirement)}}}const ns="inploi-job-search",rs="ijs",nr=10,os={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Fd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in 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?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Hd=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Ud=({from:e=new Date,to:t,formatter:n=Hd})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"over 30 days ago":"in over 30 days"},Vd=Ja(Xa(tr({label:Ka(te(),String),value:Ka(te(),String),jobs:zt()}))),zd=te([Id()]),Wd=tr({total:zt(),current_page:zt(),per_page:zt(),last_page:zt()}),Bd=tr({id:zt(),company_name:te(),company_logo:Ee(po(te())),employment_type:te(),location_type:Qa([dt("LOCATION"),dt("REMOTE"),dt("HYBRID")]),pay_type:Ee(Qa([dt("ANNUALLY"),dt("HOURLY"),dt("MONTHLY"),dt("WEEKLY"),dt("DAILY")])),pay_currency:te(),pay_mask:Za(),pay_display:Za(),pay:Ee(te()),pay_min:Ee(te()),pay_max:Ee(te()),description:te(),title:te(),contract_type:Ee(te()),created_at:Ee(te()),custom_data:Ee(Ja(Dd())),href:te(),industry:Ee(te()),category:Ee(te()),skills:po(te()),town:po(te()),city:Ee(te()),country:Ee(te())}),Yd=ts(Bd,e=>{const t=Md(zd,e.company_logo);return{id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:null},employmentType:e.employment_type,locationType:e.location_type,pay:Fd({salary:e,config:{locales:void 0}})??null,description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?Ud({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data,raw:e}}),Kd=ts(tr({data:Xa(Yd),pagination:Wd}),e=>({pagination:e.pagination,results:e.data})),qd=e=>!e||Array.isArray(e)&&e.length===0?null:e,ho=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,qd(n==null?void 0:n.value)])),is=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(Ya({filters:ho(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return es(Vd,s)}catch(i){throw i instanceof er?r.error(i.message,i.issues):r.error(i),i}},as=async({apiClient:e,logger:t,signal:n,filters:r,keyword:o,page:i=1})=>{try{const a=new URLSearchParams(Ya({filters:ho(r)}));a.set("page",i.toString()),a.set("per_page",nr.toString()),a.set("query",o||"");const s="/search/results",l=await e.fetch([s,a.toString()].filter(Boolean).join("?"),{signal:n});return es(Kd,l)}catch(a){throw a instanceof er?t.error(a.message,a.issues):t.error(a),a}},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 Gd=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:--Gd,__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 ss(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=ss(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function cs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ss(e))&&(r&&(r+=" "),r+=t);return r}function ls(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=ls(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function go(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ls(e))&&(r&&(r+=" "),r+=t);return r}const us=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Xd=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"](go(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(go(i)):go(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],h=l==null?void 0:l[p],v=us(d)||us(h);return s[p][v]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[h,v]=d;return typeof v>"u"?p:{...p,[h]:v}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:h,className:v,...g}=d;return Object.entries(g).every(_=>{let[y,b]=_;const m=f[y];return Array.isArray(b)?b.includes(m):m===b})?[...p,h,v]: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:yy,cva:Te,cx:by}=Xd(),kn=Te({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"}}),Zd=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ft=({error:e,resetError:t,class:n,...r})=>w("div",{class:cs("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:kn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class $n 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 Jd={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"})},Qd=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(Jd).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})})})})}),Ye=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ke,W,wo,ds,Wt=0,fs=[],Q=T,ps=Q.__b,hs=Q.__r,vs=Q.diffed,_s=Q.__c,gs=Q.unmount,ws=Q.__;function Ot(e,t){Q.__h&&Q.__h(W,e,Wt||t),Wt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function xe(e){return Wt=1,rr(ys,e)}function rr(e,t,n){var r=Ot(Ke++,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 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=Ot(Ke++,3);!Q.__s&&xo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function pt(e,t){var n=Ot(Ke++,4);!Q.__s&&xo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ke(e){return Wt=5,Ie(function(){return{current:e}},[])}function mo(e,t,n){Wt=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 Ie(e,t){var n=Ot(Ke++,7);return xo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function At(e,t){return Wt=8,Ie(function(){return e},t)}function or(e){var t=W.context[e.__c],n=Ot(Ke++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function ir(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function ef(e){var t=Ot(Ke++,10),n=xe();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 yo(){var e=Ot(Ke++,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(ar),e.__H.__h.forEach(bo),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){W=null,ps&&ps(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ws&&ws(e,t)},Q.__r=function(e){hs&&hs(e),Ke=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(ar),t.__h.forEach(bo),t.__h=[],Ke=0)),wo=W},Q.diffed=function(e){vs&&vs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fs.push(t)!==1&&ds===Q.requestAnimationFrame||((ds=Q.requestAnimationFrame)||nf)(tf)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),wo=W=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(ar),n.__h=n.__h.filter(function(r){return!r.__||bo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),_s&&_s(e,t)},Q.unmount=function(e){gs&&gs(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&&Q.__e(t,n.__v))};var ms=typeof requestAnimationFrame=="function";function nf(e){var t,n=function(){clearTimeout(r),ms&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ms&&(t=requestAnimationFrame(n))}function ar(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function bo(e){var t=W;e.__c=e.__(),W=t}function xo(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}var rf=Symbol.for("preact-signals");function ko(){if(Bt>1)Bt--;else{for(var e,t=!1;jn!==void 0;){var n=jn;for(jn=void 0,$o++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&xs(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if($o=0,Bt--,t)throw e}}var B=void 0,jn=void 0,Bt=0,$o=0,sr=0;function bs(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=rf,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=bs(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++,sr++,Bt++;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 xs(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 ks(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 $s(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 Yt(e){fe.call(this,void 0),this.x=e,this.s=void 0,this.g=sr-1,this.f=4}(Yt.prototype=new fe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===sr))return!0;if(this.g=sr,this.f|=1,this.i>0&&!xs(this))return this.f&=-2,!0;var e=B;try{ks(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,$s(this),this.f&=-2,!0},Yt.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)},Yt.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)}},Yt.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(Yt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=bs(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function of(e){return new Yt(e)}function js(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Bt++;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,js(e)}function af(e){if(B!==this)throw new Error("Out-of-order effect");$s(this),B=e,this.f&=-2,8&this.f&&So(this),ko()}function Sn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Sn.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()}},Sn.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,js(this),ks(this),Bt++;var e=B;return B=this,af.bind(this,e)},Sn.prototype.N=function(){2&this.f||(this.f|=2,this.o=jn,jn=this)},Sn.prototype.d=function(){this.f|=8,1&this.f||So(this)};function Eo(e){var t=new Sn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Co;function Kt(e,t){T[e]=t.bind(null,T[e]||function(){})}function cr(e){Co&&Co(),Co=e&&e.S()}function Ss(e){var t=this,n=e.data,r=cf(n);r.value=n;var o=Ie(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({}))},of(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Ss.displayName="_st",Object.defineProperties(fe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ss},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Kt("__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)}),Kt("__r",function(e,t){cr();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}())),cr(n),e(t)}),Kt("__e",function(e,t,n,r){cr(),e(t,n,r)}),Kt("diffed",function(e,t){cr();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=sf(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function sf(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))})}}Kt("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)}),Kt("__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 cf(e){return Ie(function(){return jo(e)},[])}const Tt={keyword$:jo()},lr=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??""}`},xy="",lf=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)},uf=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=xe();return we(()=>{Promise.resolve().then(()=>_y).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),we(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),we(()=>{i==null||i.setFilters(lf(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Es(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 ur(e,t){this.props=e,this.context=t}function Cs(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,oe(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ur.prototype=new be).isPureReactComponent=!0,ur.prototype.shouldComponentUpdate=function(e,t){return Oo(this.props,e)||Oo(this.state,t)};var Os=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Os&&Os(e)};var df=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function As(e){function t(n){var r=Es({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=df,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ts=function(e,t){return e==null?null:Be(Be(e).map(t))},Ps={map:Ts,forEach:Ts,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},ff=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)}ff(e,t,n,r)};var Rs=T.unmount;function Ds(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=Es({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ds(r,t,n)})),e}function Ns(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ns(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 En(){this.__u=0,this.t=null,this.__b=null}function Ls(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ms(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 oe(n,i)}return o.displayName="Lazy",o.__f=!0,o}function qt(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Rs&&Rs(e)},(En.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ls(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]=Ns(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)},En.prototype.componentWillUnmount=function(){this.t=[]},En.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]=Ds(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&oe(F,null,e.fallback);return o&&(o.__u&=-33),[oe(F,null,t.__a?null:e.children),o]};var Is=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 pf(e){return this.getChildContext=function(){return e.context},e.children}function hf(e){var t=this,n=e.i;t.componentWillUnmount=function(){Vt(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)}}),Vt(oe(pf,{context:t.context},e.__v),t.l)}function Fs(e,t){var n=oe(hf,{__v:e,i:t});return n.containerInfo=t,n}(qt.prototype=new be).__a=function(e){var t=this,n=Ls(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Is(t,e,r)):o()};n?n(i):i()}},qt.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},qt.prototype.componentDidUpdate=qt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Is(e,n,t)})};var Hs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,vf=/^(?: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)/,gf=/[A-Z0-9]/g,wf=typeof document<"u",mf=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Us(e,t,n){return t.__k==null&&(t.textContent=""),Vt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Vs(e,t,n){return oo(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 zs=T.event;function yf(){}function bf(){return this.cancelBubble}function xf(){return this.defaultPrevented}T.event=function(e){return zs&&(e=zs(e)),e.persist=yf,e.isPropagationStopped=bf,e.isDefaultPrevented=xf,e.nativeEvent=e};var Ao,kf={enumerable:!1,configurable:!0,get:function(){return this.class}},Ws=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||wf&&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"||mf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":_f.test(i)?i=s:r.indexOf("-")===-1&&vf.test(i)?i=i.replace(gf,"-$&").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",kf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Hs,Ws&&Ws(e)};var Bs=T.__r;T.__r=function(e){Bs&&Bs(e),Ao=e.__c};var Ys=T.diffed;T.diffed=function(e){Ys&&Ys(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 Ks={ReactCurrentDispatcher:{current:{readContext:function(e){return Ao.__n[e.__c].props.value},useCallback:At,useContext:or,useDebugValue:ir,useDeferredValue:Po,useEffect:we,useId:yo,useImperativeHandle:mo,useInsertionEffect:Do,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:xe,useSyncExternalStore:No,useTransition:Ro}}},$f="17.0.2";function qs(e){return oe.bind(null,e)}function Cn(e){return!!e&&e.$$typeof===Hs}function Gs(e){return Cn(e)&&e.type===F}function Xs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Zs(e){return Cn(e)?fd.apply(null,arguments):e}function Js(e){return!!e.__k&&(Vt(null,e),!0)}function Qs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ec=function(e,t){return e(t)},tc=function(e,t){return e(t)},nc=F;function To(e){e()}function Po(e){return e}function Ro(){return[!1,To]}var Do=pt,rc=Cn;function No(e,t){var n=t(),r=xe({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 dr={useState:xe,useId:yo,useReducer:rr,useEffect:we,useLayoutEffect:pt,useInsertionEffect:Do,useTransition:Ro,useDeferredValue:Po,useSyncExternalStore:No,startTransition:To,useRef:ke,useImperativeHandle:mo,useMemo:Ie,useCallback:At,useContext:or,useDebugValue:ir,version:"17.0.2",Children:Ps,render:Us,hydrate:Vs,unmountComponentAtNode:Js,createPortal:Fs,createElement:oe,createContext:io,createFactory:qs,cloneElement:Zs,createRef:Ea,Fragment:F,isValidElement:Cn,isElement:rc,isFragment:Gs,isMemo:Xs,findDOMNode:Qs,Component:be,PureComponent:ur,memo:Cs,forwardRef:As,flushSync:tc,unstable_batchedUpdates:ec,StrictMode:nc,Suspense:En,SuspenseList:qt,lazy:Ms,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks};const jf=Object.freeze(Object.defineProperty({__proto__:null,Children:Ps,Component:be,Fragment:F,PureComponent:ur,StrictMode:nc,Suspense:En,SuspenseList:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks,cloneElement:Zs,createContext:io,createElement:oe,createFactory:qs,createPortal:Fs,createRef:Ea,default:dr,findDOMNode:Qs,flushSync:tc,forwardRef:As,hydrate:Vs,isElement:rc,isFragment:Gs,isMemo:Xs,isValidElement:Cn,lazy:Ms,memo:Cs,render:Us,startTransition:To,unmountComponentAtNode:Js,unstable_batchedUpdates:ec,useCallback:At,useContext:or,useDebugValue:ir,useDeferredValue:Po,useEffect:we,useErrorBoundary:ef,useId:yo,useImperativeHandle:mo,useInsertionEffect:Do,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:xe,useSyncExternalStore:No,useTransition:Ro,version:$f},Symbol.toStringTag,{value:"Module"}));var fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ef(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 oc=Ef(jf);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var wy=Object.defineProperty;var my=(me,ge,$t)=>ge in me?wy(me,ge,{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 ic;function
|
|
9
|
+
*/var ic;function Cf(){if(ic)return Io;ic=1;var e=oc;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(),h=r({inst:{value:d,getSnapshot:p}}),v=h[0].inst,g=h[1];return i(function(){v.value=d,v.getSnapshot=p,l(v)&&g({inst:v})},[c,d,p]),o(function(){return l(v)&&g({inst:v}),c(function(){l(v)&&g({inst:v})})},[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={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,11 +14,11 @@ var wy=Object.defineProperty;var my=(me,ge,$t)=>ge in me?wy(me,ge,{enumerable:!0
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var ac;function Od(){return ac||(ac=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=oc,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var m=arguments.length,x=new Array(m>1?m-1:0),k=1;k<m;k++)x[k-1]=arguments[k];r("error",b,x)}}function r(b,m,x){{var k=t.ReactDebugCurrentFrame,O=k.getStackAddendum();O!==""&&(m+="%s",x=x.concat([O]));var $=x.map(function(C){return String(C)});$.unshift("Warning: "+m),Function.prototype.apply.call(console[b],console,$)}}function o(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,d=!1,c=!1;function p(b,m,x){d||e.startTransition!==void 0&&(d=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=m();if(!c){var O=m();i(k,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:m}}),C=$[0].inst,j=$[1];return l(function(){C.value=k,C.getSnapshot=m,f(C)&&j({inst:C})},[b,k,m]),s(function(){f(C)&&j({inst:C});var D=function(){f(C)&&j({inst:C})};return b(D)},[b]),u(k),k}function f(b){var m=b.getSnapshot,x=b.value;try{var k=m();return!i(x,k)}catch{return!0}}function h(b,m,x){return m()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!v,_=g?h:p,y=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;Io.useSyncExternalStore=y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Io}process.env.NODE_ENV==="production"?Lo.exports=Cd():Lo.exports=Od();var Ad=Lo.exports;const ht=()=>{},we=ht(),Fo=Object,H=e=>e===we,Fe=e=>typeof e=="function",vt=(e,t)=>({...e,...t}),Td=e=>Fe(e.then),pr=new WeakMap;let Pd=0;const On=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Fo(e)===e&&!r&&n!=RegExp){if(o=pr.get(e),o)return o;if(o=++Pd+"~",pr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=On(e[i])+",";pr.set(e,o)}if(n==Fo){o="#";const a=Fo.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+On(e[i])+",");pr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},qe=new WeakMap,Ho={},hr={},Uo="undefined",vr=typeof window!=Uo,Vo=typeof document!=Uo,Rd=()=>vr&&typeof window.requestAnimationFrame!=Uo,sc=(e,t)=>{const n=qe.get(e);return[()=>!H(t)&&e.get(t)||Ho,r=>{if(!H(t)){const o=e.get(t);t in hr||(hr[t]=o),n[5](t,vt(o,r),o||Ho)}},n[6],()=>!H(t)&&t in hr?hr[t]:!H(t)&&e.get(t)||Ho]};let zo=!0;const Dd=()=>zo,[Wo,Bo]=vr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ht,ht],Nd=()=>{const e=Vo&&document.visibilityState;return H(e)||e!=="hidden"},Ld=e=>(Vo&&document.addEventListener("visibilitychange",e),Wo("focus",e),()=>{Vo&&document.removeEventListener("visibilitychange",e),Bo("focus",e)}),Md=e=>{const t=()=>{zo=!0,e()},n=()=>{zo=!1};return Wo("online",t),Wo("offline",n),()=>{Bo("online",t),Bo("offline",n)}},Id={isOnline:Dd,isVisible:Nd},Fd={initFocus:Ld,initReconnect:Md},cc=!fr.useId,An=!vr||"Deno"in window,Hd=e=>Rd()?window.requestAnimationFrame(e):setTimeout(e,1),Yo=An?xe:pt,Ko=typeof navigator<"u"&&navigator.connection,lc=!An&&Ko&&(["slow-2g","2g"].includes(Ko.effectiveType)||Ko.saveData),qo=e=>{if(Fe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?On(e):"",[e,t]};let Ud=0;const Go=()=>++Ud,uc=0,fc=1,dc=2;var Tn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:uc,MUTATE_EVENT:dc,RECONNECT_EVENT:fc};async function pc(...e){const[t,n,r,o]=e,i=vt({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,d=i.throwOnError;if(Fe(n)){const p=n,f=[],h=t.keys();for(const v of h)!/^\$(inf|sub)\$/.test(v)&&p(t.get(v)._k)&&f.push(v);return Promise.all(f.map(c))}return c(n);async function c(p){const[f]=qo(p);if(!f)return;const[h,v]=sc(t,f),[g,_,y,b]=qe.get(t),m=()=>{const L=g[f];return(Fe(i.revalidate)?i.revalidate(h().data,p):i.revalidate!==!1)&&(delete y[f],delete b[f],L&&L[0])?L[0](dc).then(()=>h().data):h().data};if(e.length<3)return m();let x=r,k;const O=Go();_[f]=[O,0];const $=!H(l),C=h(),j=C.data,D=C._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,v({data:l,_c:I})),Fe(x))try{x=x(I)}catch(L){k=L}if(x&&Td(x))if(x=await x.catch(L=>{k=L}),O!==_[f][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,v({data:I,_c:we}));if(a&&!k)if(Fe(a)){const L=a(x,I);v({data:L,error:we,_c:we})}else v({data:x,error:we,_c:we});if(_[f][1]=Go(),Promise.resolve(m()).then(()=>{v({_c:we})}),k){if(d)throw k;return}return x}}const hc=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Vd=(e,t)=>{if(!qe.has(e)){const n=vt(Fd,t),r={},o=pc.bind(we,e);let i=ht;const a={},s=(d,c)=>{const p=a[d]||[];return a[d]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(d,c,p)=>{e.set(d,c);const f=a[d];if(f)for(const h of f)h(c,p)},u=()=>{if(!qe.has(e)&&(qe.set(e,[r,{},{},{},o,l,s]),!An)){const d=n.initFocus(setTimeout.bind(we,hc.bind(we,r,uc))),c=n.initReconnect(setTimeout.bind(we,hc.bind(we,r,fc)));i=()=>{d&&d(),c&&c(),qe.delete(e)}}};return u(),[e,o,u,i]}return[e,qe.get(e)[4]]},zd=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},Wd=(e,t)=>On(e)==On(t),[vc,Bd]=Vd(new Map),Yd=vt({onLoadingSlow:ht,onSuccess:ht,onError:ht,onErrorRetry:zd,onDiscarded:ht,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:lc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:lc?5e3:3e3,compare:Wd,isPaused:()=>!1,cache:vc,mutate:Bd,fallback:{}},Id),Kd=(e,t)=>{const n=vt(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=vt(o,a))}return n},qd=io({}),Gd="$inf$",_c=vr&&window.__SWR_DEVTOOLS_USE__,Xd=_c?window.__SWR_DEVTOOLS_USE__:[],Zd=()=>{_c&&(window.__SWR_DEVTOOLS_REACT__=fr)},Jd=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Qd=()=>vt(Yd,or(qd)),ep=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=qo(t),[,,,s]=qe.get(vc);if(a.startsWith(Gd))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),tp=Xd.concat(ep),np=e=>function(...n){const r=Qd(),[o,i,a]=Jd(n),s=Kd(r,a);let l=e;const{use:u}=s,d=(u||[]).concat(tp);for(let c=d.length;c--;)l=d[c](l);return l(o,i||s.fetcher||null,s)},rp=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Zd();const gc=fr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Xo={dedupe:!0},Zo=np((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:c,keepPreviousData:p}=n,[f,h,v,g]=qe.get(r),[_,y]=qo(e),b=ke(!1),m=ke(!1),x=ke(_),k=ke(t),O=ke(n),$=()=>O.current,C=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=sc(r,_),N=ke({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const fe in N){const Z=fe;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(it,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},E=Ie(()=>{const G=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=ve=>{const De=vt(ve);return delete De._k,G?{isValidating:!0,isLoading:!0,...De}:De},fe=j(),Z=L(),Se=X(fe),kt=fe===Z?Se:X(Z);let ce=Se;return[()=>{const ve=X(j());return S(ve,ce)?(ce.data=ve.data,ce.isLoading=ve.isLoading,ce.isValidating=ve.isValidating,ce.error=ve.error,ce):(ce=ve,ve)},()=>kt]},[r,_]),U=Ad.useSyncExternalStore(At(G=>I(_,(X,fe)=>{S(fe,X)||G()}),[r,_]),E[0],E[1]),z=!b.current,q=f[_]&&f[_].length>0,se=U.data,ue=H(se)?M:se,Ft=U.error,qr=ke(ue),it=p?H(se)?qr.current:se:ue,at=(()=>q&&!H(Ft)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Gn=!!(_&&t&&z&&at),ha=H(U.isValidating)?Gn:U.isValidating,_n=H(U.isLoading)?Gn:U.isLoading,Ht=At(async G=>{const X=k.current;if(!_||!X||m.current||$().isPaused())return!1;let fe,Z,Se=!0;const kt=G||{},ce=!v[_]||!kt.dedupe,ve=()=>cc?!m.current&&_===x.current&&b.current:_===x.current,De={isValidating:!1,isLoading:!1},Ut=()=>{D(De)},af=()=>{const Ae=v[_];Ae&&Ae[1]===Z&&delete v[_]},sf={isValidating:!0};H(j().data)&&(sf.isLoading=!0);try{if(ce&&(D(sf),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{Se&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),v[_]=[X(y),Go()]),[fe,Z]=v[_],fe=await fe,ce&&setTimeout(af,n.dedupingInterval),!v[_]||v[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;De.error=we;const Ae=h[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return Ut(),ce&&ve()&&$().onDiscarded(_),!1;const st=j().data;De.data=o(st,fe)?st:fe,ce&&ve()&&$().onSuccess(fe,_,n)}catch(Ae){af();const st=$(),{shouldRetryOnError:va}=st;st.isPaused()||(De.error=Ae,ce&&ve()&&(st.onError(Ae,_,st),(va===!0||Fe(va)&&va(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||C())&&st.onErrorRetry(Ae,_,st,gy=>{const _a=f[_];_a&&_a[0]&&_a[0](Tn.ERROR_REVALIDATE_EVENT,gy)},{retryCount:(kt.retryCount||0)+1,dedupe:!0})))}return Se=!1,Ut(),!0},[_,r]),Gr=At((...G)=>pc(r,x.current,...G),[]);if(Yo(()=>{k.current=t,O.current=n,H(se)||(qr.current=se)}),Yo(()=>{if(!_)return;const G=Ht.bind(we,Xo);let X=0;const Z=rp(_,f,(Se,kt={})=>{if(Se==Tn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&C()&&(X=ce+$().focusThrottleInterval,G())}else if(Se==Tn.RECONNECT_EVENT)$().revalidateOnReconnect&&C()&&G();else{if(Se==Tn.MUTATE_EVENT)return Ht();if(Se==Tn.ERROR_REVALIDATE_EVENT)return Ht(kt)}});return m.current=!1,x.current=_,b.current=!0,D({_k:y}),at&&(H(ue)||An?G():Hd(G)),()=>{m.current=!0,Z()}},[_]),Yo(()=>{let G;function X(){const Z=Fe(u)?u(j().data):u;Z&&G!==-1&&(G=setTimeout(fe,Z))}function fe(){!j().error&&(d||$().isVisible())&&(c||$().isOnline())?Ht(Xo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,d,c,_]),ir(it),i&&H(ue)&&_){if(!cc&&An)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,O.current=n,m.current=!1;const G=g[_];if(!H(G)){const X=Gr(G);gc(X)}if(H(Ft)){const X=Ht(Xo);H(it)||(X.status="fulfilled",X.value=!0),gc(X)}else throw Ft}return{mutate:Gr,get data(){return N.data=!0,it},get error(){return N.error=!0,Ft},get isValidating(){return N.isValidating=!0,ha},get isLoading(){return N.isLoading=!0,_n}}}),Ge=Te({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),op=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return ge(i),w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:me(e)}},ip=e=>{const[t,n]=be(!1);return xe(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},ap=44,sp=6,cp=12,lp=8,wc=Te({base:"fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-copy-accent-icon ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),up=Te({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),fp=Te({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),dp=Te({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),pp=Te({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),hp=({children:e,colorScheme:t})=>w("span",{class:pp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),vp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},mc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},_p=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=mc(r.value),a=mc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},gp=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},wp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},mp=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=ho(r()),l=Ie(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=s.data[t.key]??[];return Object.fromEntries(h.map(v=>[v.value,v.jobs]))}default:me(s)}},[s,t.key]),u=bc(e),d=u.length>0,[c,p]=be(),f=ip("(pointer: coarse)");return xe(()=>{a()}),s.state==="error"?w(dt,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"search",class:wc(),value:c,onInput:h=>p(h.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(dt,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Ge({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const h=i.data[t.key]??[],v=c&&c.length>1?h.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):h,g=[];for(const m of v){if(m.label.length<1)continue;const x={...m,results:wp(l,m),disabled:gp(l,m)};switch(t.results){case"only-available":x.disabled==!1&&g.push(x);break;default:g.push(x)}}if(!g.find(m=>!m.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const b=(h.length>cp||h.some(m=>m.label.length>24))&&!f;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":ap*(sp+.5)+2*lp+"px"},class:up({type:b?"long":"short"}),children:_p(g,t.sortSuggestions).map(m=>{const x=u.includes(m.value);return w("li",{class:fp({type:b?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=vp(u,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:me(e)}},class:b?dp({active:x,disabled:m.disabled}):Ge({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:m.label})," ",w(hp,{colorScheme:x?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:me(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:d&&w("button",{class:kn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(Ye,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:kn({variant:d?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[d?"Done":"Skip"," ",w(Ye,{name:"chevron-right"})]},d?"done":"skip")})]})]})},yc={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},yp=Te({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),bp=Te({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),xp=Te({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),kp=e=>{const t=ke(null),[n,r]=be(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return pt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},bc=e=>typeof e.value=="string"?[e.value]:e.value??[],$p=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=$t(r.key,yc)?yc[r.key]:void 0,u=r.icon??l??"filter",d=bc(t),{height:c,ref:p,updateHeight:f}=kp([e]),h=d.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:yp({hasValue:h}),onTouchStart:Cp,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:bp({state:e?"active":h?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(Ye,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(mp,{useQuery:s,onRender:f,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(op,{property:r,query:a,selectedValues:d})}),w(Ye,{"aria-hidden":!0,class:xp(),name:"chevron-right"})]})]})},jp=e=>{const t=ke();return xe(()=>{t.current=e},[e]),t.current},Sp=(e,t)=>{var o;const n=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(ge(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Ep=(e,t)=>{const n=jp(e);xe(()=>{if(n===e)return;const r=e??n;r&&Sp(r,t)},[e,n,t])};function Cp(){}const Op=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},Ap=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(f=>f.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:me(t)}},Tp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=be((c=e[0])==null?void 0:c.key);Ep(a,t);const l=Ie(()=>ii(e,"value"),[e]),u=ho(Zo(lr({filter:l,baseKey:"filters",keyword:void 0}),()=>is({apiClient:o,logger:i,filters:l,keyword:void 0}),vo)),d=At(p=>()=>{const f={...n,[p]:l[p]};return Zo(lr({filter:f,baseKey:"filters",keyword:Tt.keyword$.value}),()=>is({apiClient:o,logger:i,filters:f,keyword:Tt.keyword$.value}),vo)},[o,n,l,i]);return u.state==="error"?w(dt,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const f=a===p.key,h=n[p.key]??{select:p.select,value:void 0},v=l[p.key];v&&Op(h,v);const g=b=>{const{newActiveKey:m,newValue:x}=Ap({property:p,activeKey:a,value:b??v,properties:e,appliedFilters:n});return s(m),r(p.key,x)},_=b=>s(b?p.key:void 0),y=d(p.key);return w($n,{Fallback:dt,children:w($p,{unfilteredQuery:u,active:f,property:p,onActiveChange:_,value:h,onSkip:()=>{var x;const b=e.findIndex(k=>k.key===a),m=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(m)},useQuery:y,onValueChange:g})},p.key)})})})},Pp=2,Rp=({onKeywordChange:e})=>{const{keyword$:t}=Tt,[n,r]=be(t.value??""),o=n!==""&&n===t.value;return xe(()=>{let i=n.trim();if(i.length<=Pp&&(i=null),i===null){t.value="";return}const a=setTimeout(()=>{t.value=i},300);return()=>clearTimeout(a)},[n,t,e]),w("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:w("div",{class:"relative",children:[w("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[w(Ye,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:cs({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),w("span",{class:"sr-only",children:"Keyword"})]}),w("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:wc({hasValue:o,size:"unsized",class:"py-2 pl-10 pr-4"}),placeholder:"Type to search jobs",value:n,onChange:i=>{r(i.currentTarget.value),e==null||e(i.currentTarget.value)}}),w("button",{class:kn({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full",icon:"only"}),onClick:()=>{r("")},children:w(Ye,{name:"x"})})]})})};var Dp=Array.isArray,Jo=Dp,Np=typeof dr=="object"&&dr&&dr.Object===Object&&dr,Lp=Np,Mp=Lp,Ip=typeof self=="object"&&self&&self.Object===Object&&self,Fp=Mp||Ip||Function("return this")(),Qo=Fp,Hp=Qo,Up=Hp.Symbol,ei=Up,xc=ei,kc=Object.prototype,Vp=kc.hasOwnProperty,zp=kc.toString,Pn=xc?xc.toStringTag:void 0;function Wp(e){var t=Vp.call(e,Pn),n=e[Pn];try{e[Pn]=void 0;var r=!0}catch{}var o=zp.call(e);return r&&(t?e[Pn]=n:delete e[Pn]),o}var Bp=Wp,Yp=Object.prototype,Kp=Yp.toString;function qp(e){return Kp.call(e)}var Gp=qp,$c=ei,Xp=Bp,Zp=Gp,Jp="[object Null]",Qp="[object Undefined]",jc=$c?$c.toStringTag:void 0;function eh(e){return e==null?e===void 0?Qp:Jp:jc&&jc in Object(e)?Xp(e):Zp(e)}var Sc=eh;function th(e){return e!=null&&typeof e=="object"}var nh=th,rh=Sc,oh=nh,ih="[object Symbol]";function ah(e){return typeof e=="symbol"||oh(e)&&rh(e)==ih}var ti=ah,sh=Jo,ch=ti,lh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uh=/^\w*$/;function fh(e,t){if(sh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ch(e)?!0:uh.test(e)||!lh.test(e)||t!=null&&e in Object(t)}var dh=fh;function ph(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ec=ph,hh=Sc,vh=Ec,_h="[object AsyncFunction]",gh="[object Function]",wh="[object GeneratorFunction]",mh="[object Proxy]";function yh(e){if(!vh(e))return!1;var t=hh(e);return t==gh||t==wh||t==_h||t==mh}var bh=yh,xh=Qo,kh=xh["__core-js_shared__"],$h=kh,ni=$h,Cc=function(){var e=/[^.]+$/.exec(ni&&ni.keys&&ni.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jh(e){return!!Cc&&Cc in e}var Sh=jh,Eh=Function.prototype,Ch=Eh.toString;function Oh(e){if(e!=null){try{return Ch.call(e)}catch{}try{return e+""}catch{}}return""}var Ah=Oh,Th=bh,Ph=Sh,Rh=Ec,Dh=Ah,Nh=/[\\^$.*+?()[\]{}|]/g,Lh=/^\[object .+?Constructor\]$/,Mh=Function.prototype,Ih=Object.prototype,Fh=Mh.toString,Hh=Ih.hasOwnProperty,Uh=RegExp("^"+Fh.call(Hh).replace(Nh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Vh(e){if(!Rh(e)||Ph(e))return!1;var t=Th(e)?Uh:Lh;return t.test(Dh(e))}var zh=Vh;function Wh(e,t){return e==null?void 0:e[t]}var Bh=Wh,Yh=zh,Kh=Bh;function qh(e,t){var n=Kh(e,t);return Yh(n)?n:void 0}var Oc=qh,Gh=Oc,Xh=Gh(Object,"create"),_r=Xh,Ac=_r;function Zh(){this.__data__=Ac?Ac(null):{},this.size=0}var Jh=Zh;function Qh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ev=Qh,tv=_r,nv="__lodash_hash_undefined__",rv=Object.prototype,ov=rv.hasOwnProperty;function iv(e){var t=this.__data__;if(tv){var n=t[e];return n===nv?void 0:n}return ov.call(t,e)?t[e]:void 0}var av=iv,sv=_r,cv=Object.prototype,lv=cv.hasOwnProperty;function uv(e){var t=this.__data__;return sv?t[e]!==void 0:lv.call(t,e)}var fv=uv,dv=_r,pv="__lodash_hash_undefined__";function hv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=dv&&t===void 0?pv:t,this}var vv=hv,_v=Jh,gv=ev,wv=av,mv=fv,yv=vv;function Gt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gt.prototype.clear=_v,Gt.prototype.delete=gv,Gt.prototype.get=wv,Gt.prototype.has=mv,Gt.prototype.set=yv;var bv=Gt;function xv(){this.__data__=[],this.size=0}var kv=xv;function $v(e,t){return e===t||e!==e&&t!==t}var jv=$v,Sv=jv;function Ev(e,t){for(var n=e.length;n--;)if(Sv(e[n][0],t))return n;return-1}var gr=Ev,Cv=gr,Ov=Array.prototype,Av=Ov.splice;function Tv(e){var t=this.__data__,n=Cv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Av.call(t,n,1),--this.size,!0}var Pv=Tv,Rv=gr;function Dv(e){var t=this.__data__,n=Rv(t,e);return n<0?void 0:t[n][1]}var Nv=Dv,Lv=gr;function Mv(e){return Lv(this.__data__,e)>-1}var Iv=Mv,Fv=gr;function Hv(e,t){var n=this.__data__,r=Fv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Uv=Hv,Vv=kv,zv=Pv,Wv=Nv,Bv=Iv,Yv=Uv;function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=Vv,Xt.prototype.delete=zv,Xt.prototype.get=Wv,Xt.prototype.has=Bv,Xt.prototype.set=Yv;var Kv=Xt,qv=Oc,Gv=Qo,Xv=qv(Gv,"Map"),Zv=Xv,Tc=bv,Jv=Kv,Qv=Zv;function e_(){this.size=0,this.__data__={hash:new Tc,map:new(Qv||Jv),string:new Tc}}var t_=e_;function n_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var r_=n_,o_=r_;function i_(e,t){var n=e.__data__;return o_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var wr=i_,a_=wr;function s_(e){var t=a_(this,e).delete(e);return this.size-=t?1:0,t}var c_=s_,l_=wr;function u_(e){return l_(this,e).get(e)}var f_=u_,d_=wr;function p_(e){return d_(this,e).has(e)}var h_=p_,v_=wr;function __(e,t){var n=v_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var g_=__,w_=t_,m_=c_,y_=f_,b_=h_,x_=g_;function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=w_,Zt.prototype.delete=m_,Zt.prototype.get=y_,Zt.prototype.has=b_,Zt.prototype.set=x_;var k_=Zt,Pc=k_,$_="Expected a function";function ri(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError($_);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ri.Cache||Pc),n}ri.Cache=Pc;var j_=ri,S_=j_,E_=500;function C_(e){var t=S_(e,function(r){return n.size===E_&&n.clear(),r}),n=t.cache;return t}var O_=C_,A_=O_,T_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P_=/\\(\\)?/g,R_=A_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(T_,function(n,r,o,i){t.push(o?i.replace(P_,"$1"):r||n)}),t}),D_=R_;function N_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var L_=N_,Rc=ei,M_=L_,I_=Jo,F_=ti,H_=1/0,Dc=Rc?Rc.prototype:void 0,Nc=Dc?Dc.toString:void 0;function Lc(e){if(typeof e=="string")return e;if(I_(e))return M_(e,Lc)+"";if(F_(e))return Nc?Nc.call(e):"";var t=e+"";return t=="0"&&1/e==-H_?"-0":t}var U_=Lc,V_=U_;function z_(e){return e==null?"":V_(e)}var W_=z_,B_=Jo,Y_=dh,K_=D_,q_=W_;function G_(e,t){return B_(e)?e:Y_(e,t)?[e]:K_(q_(e))}var X_=G_,Z_=ti,J_=1/0;function Q_(e){if(typeof e=="string"||Z_(e))return e;var t=e+"";return t=="0"&&1/e==-J_?"-0":t}var eg=Q_,tg=X_,ng=eg;function rg(e,t){t=tg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ng(t[n++])];return n&&n==r?e:void 0}var og=rg,ig=og;function ag(e,t,n){var r=e==null?void 0:ig(e,t);return r===void 0?n:r}var sg=ag;const cg=Sd(sg),mr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Mc=Te({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),oi=({job:e,property:t})=>{if(!t)return null;const n=cg(e.raw,t.key);return t.transform?t.transform(n):n},lg=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Ic=e=>Array.isArray(e)?e:[e],ug=1e3*60*60*24*7,fg=({job:e,config:t})=>{var u,d,c,p;const n=t.subheading?oi({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(f=>Ic(oi({job:e,property:f}))).filter(Boolean),o=Ic((u=t.overrides)!=null&&u.salary?oi({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(d=t.overrides)!=null&&d.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,l=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*ug:!1;return w("a",{onMouseEnter:(c=t.overrides)==null?void 0:c.onMouseEnter,onClick:(p=t.overrides)==null?void 0:p.onClick,href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Mc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(lg,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),l&&i!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((f,h)=>w("span",{class:Ge({variant:"monetaryWeak",size:"xs"}),children:f},h))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(f=>w("li",{class:Ge({size:"xs",class:"max-w-full truncate"}),children:f},f))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Fc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:Mc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(mr,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(mr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(mr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},dg=({state:e,fetchNextPage:t,config:n})=>e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:nr}).map((r,o)=>w("li",{children:w(Fc,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:kn({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),pg=({pagination:e})=>(ge(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),hg=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=be(1);return w(F,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return w($n,{Fallback:dt,children:w(vg,{appliedFilters:e,apiClient:t,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},vg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{keyword$:d}=Tt,{data:c,error:p,state:f,swr:h}=ho(Zo(lr({filter:e,baseKey:r.toString(),keyword:d.value}),()=>as({apiClient:t,logger:n,filters:e,page:r,keyword:d.value}),{...vo,fallbackData:u}));switch(f){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(mr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:nr}).map((v,g)=>w("li",{children:w(Fc,{seed:g,animationDelay:(g-nr)*.1,config:s})},g))})]});case"error":return w(dt,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:p}),resetError:()=>h.mutate()});case"revalidating":case"loaded":{if(ge(c.pagination.current_page===r,"Received wrong page from server"),c.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(Ye,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const v=c.pagination.last_page!==c.pagination.current_page;return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:pg({pagination:c.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:c.results.map(g=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:f==="revalidating"?.33:1},children:w(fg,{job:g,config:s})},g.id))}),v&&i&&w(dg,{state:f,fetchNextPage:a,config:s})]})}default:me(f)}},ii=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],i=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:i};break}case"many":{const o=r[t],i=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:i};break}default:me(r.select)}return n},{}),_g=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=ke(null),[d,c]=be(()=>({default:!0,filters:ii(n,"defaultValue")})),{keyword$:p}=Tt;return w("div",{ref:u,class:r,id:ns,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w($n,{Fallback:dt,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Rp,{onKeywordChange:s}),w(Tp,{appliedFilters:d.filters,onFilterValueChange:(f,h)=>{c(v=>(a==null||a({...v.filters,[f]:h}),{default:!1,filters:{...v.filters,[f]:h}}))},properties:n,parentRef:u,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(ud,{appliedFilters:d.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w($n,{Fallback:dt,children:w(hg,{appliedFilters:d.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:d.default?i==null?void 0:i.jobs:void 0},lr({filter:d.filters,baseKey:"resultsSection",keyword:p.value}))})})})]})})},gg=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-10{padding-left:2.5rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent-icon{color:var(--i-copy-accent-icon)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
|
|
18
|
-
`;var wg=["1","2","3","4","5","6","7","8","9","10","11","12"],mg={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},yg=(e,t=1,n)=>r=>{const[o,i]=mg[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},
|
|
17
|
+
*/var ac;function Of(){return ac||(ac=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=oc,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var m=arguments.length,x=new Array(m>1?m-1:0),k=1;k<m;k++)x[k-1]=arguments[k];r("error",b,x)}}function r(b,m,x){{var k=t.ReactDebugCurrentFrame,O=k.getStackAddendum();O!==""&&(m+="%s",x=x.concat([O]));var $=x.map(function(C){return String(C)});$.unshift("Warning: "+m),Function.prototype.apply.call(console[b],console,$)}}function o(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(b,m,x){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=m();if(!c){var O=m();i(k,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:m}}),C=$[0].inst,j=$[1];return l(function(){C.value=k,C.getSnapshot=m,d(C)&&j({inst:C})},[b,k,m]),s(function(){d(C)&&j({inst:C});var D=function(){d(C)&&j({inst:C})};return b(D)},[b]),u(k),k}function d(b){var m=b.getSnapshot,x=b.value;try{var k=m();return!i(x,k)}catch{return!0}}function h(b,m,x){return m()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!v,_=g?h:p,y=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;Fo.useSyncExternalStore=y,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=Cf():Mo.exports=Of();var Af=Mo.exports;const ht=()=>{},me=ht(),Ho=Object,H=e=>e===me,Fe=e=>typeof e=="function",vt=(e,t)=>({...e,...t}),Tf=e=>Fe(e.then),pr=new WeakMap;let Pf=0;const On=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Ho(e)===e&&!r&&n!=RegExp){if(o=pr.get(e),o)return o;if(o=++Pf+"~",pr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=On(e[i])+",";pr.set(e,o)}if(n==Ho){o="#";const a=Ho.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+On(e[i])+",");pr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},qe=new WeakMap,Uo={},hr={},Vo="undefined",vr=typeof window!=Vo,zo=typeof document!=Vo,Rf=()=>vr&&typeof window.requestAnimationFrame!=Vo,sc=(e,t)=>{const n=qe.get(e);return[()=>!H(t)&&e.get(t)||Uo,r=>{if(!H(t)){const o=e.get(t);t in hr||(hr[t]=o),n[5](t,vt(o,r),o||Uo)}},n[6],()=>!H(t)&&t in hr?hr[t]:!H(t)&&e.get(t)||Uo]};let Wo=!0;const Df=()=>Wo,[Bo,Yo]=vr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ht,ht],Nf=()=>{const e=zo&&document.visibilityState;return H(e)||e!=="hidden"},Lf=e=>(zo&&document.addEventListener("visibilitychange",e),Bo("focus",e),()=>{zo&&document.removeEventListener("visibilitychange",e),Yo("focus",e)}),Mf=e=>{const t=()=>{Wo=!0,e()},n=()=>{Wo=!1};return Bo("online",t),Bo("offline",n),()=>{Yo("online",t),Yo("offline",n)}},If={isOnline:Df,isVisible:Nf},Ff={initFocus:Lf,initReconnect:Mf},cc=!dr.useId,An=!vr||"Deno"in window,Hf=e=>Rf()?window.requestAnimationFrame(e):setTimeout(e,1),Ko=An?we:pt,qo=typeof navigator<"u"&&navigator.connection,lc=!An&&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)?On(e):"",[e,t]};let Uf=0;const Xo=()=>++Uf,uc=0,dc=1,fc=2;var Tn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:uc,MUTATE_EVENT:fc,RECONNECT_EVENT:dc};async function pc(...e){const[t,n,r,o]=e,i=vt({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Fe(n)){const p=n,d=[],h=t.keys();for(const v of h)!/^\$(inf|sub)\$/.test(v)&&p(t.get(v)._k)&&d.push(v);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=Go(p);if(!d)return;const[h,v]=sc(t,d),[g,_,y,b]=qe.get(t),m=()=>{const L=g[d];return(Fe(i.revalidate)?i.revalidate(h().data,p):i.revalidate!==!1)&&(delete y[d],delete b[d],L&&L[0])?L[0](fc).then(()=>h().data):h().data};if(e.length<3)return m();let x=r,k;const O=Xo();_[d]=[O,0];const $=!H(l),C=h(),j=C.data,D=C._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,v({data:l,_c:I})),Fe(x))try{x=x(I)}catch(L){k=L}if(x&&Tf(x))if(x=await x.catch(L=>{k=L}),O!==_[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,v({data:I,_c:me}));if(a&&!k)if(Fe(a)){const L=a(x,I);v({data:L,error:me,_c:me})}else v({data:x,error:me,_c:me});if(_[d][1]=Xo(),Promise.resolve(m()).then(()=>{v({_c:me})}),k){if(f)throw k;return}return x}}const hc=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Vf=(e,t)=>{if(!qe.has(e)){const n=vt(Ff,t),r={},o=pc.bind(me,e);let i=ht;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 h of d)h(c,p)},u=()=>{if(!qe.has(e)&&(qe.set(e,[r,{},{},{},o,l,s]),!An)){const f=n.initFocus(setTimeout.bind(me,hc.bind(me,r,uc))),c=n.initReconnect(setTimeout.bind(me,hc.bind(me,r,dc)));i=()=>{f&&f(),c&&c(),qe.delete(e)}}};return u(),[e,o,u,i]}return[e,qe.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)},Wf=(e,t)=>On(e)==On(t),[vc,Bf]=Vf(new Map),Yf=vt({onLoadingSlow:ht,onSuccess:ht,onError:ht,onErrorRetry:zf,onDiscarded:ht,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:lc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:lc?5e3:3e3,compare:Wf,isPaused:()=>!1,cache:vc,mutate:Bf,fallback:{}},If),Kf=(e,t)=>{const n=vt(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=vt(o,a))}return n},qf=io({}),Gf="$inf$",_c=vr&&window.__SWR_DEVTOOLS_USE__,Xf=_c?window.__SWR_DEVTOOLS_USE__:[],Zf=()=>{_c&&(window.__SWR_DEVTOOLS_REACT__=dr)},Jf=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Qf=()=>vt(Yf,or(qf)),ep=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Go(t),[,,,s]=qe.get(vc);if(a.startsWith(Gf))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),tp=Xf.concat(ep),np=e=>function(...n){const r=Qf(),[o,i,a]=Jf(n),s=Kf(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(tp);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},rp=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Zf();const gc=dr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Zo={dedupe:!0},Jo=np((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,h,v,g]=qe.get(r),[_,y]=Go(e),b=ke(!1),m=ke(!1),x=ke(_),k=ke(t),O=ke(n),$=()=>O.current,C=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=sc(r,_),N=ke({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const de in N){const Z=de;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(it,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},E=Ie(()=>{const G=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=ve=>{const De=vt(ve);return delete De._k,G?{isValidating:!0,isLoading:!0,...De}:De},de=j(),Z=L(),Se=X(de),kt=de===Z?Se:X(Z);let ce=Se;return[()=>{const ve=X(j());return S(ve,ce)?(ce.data=ve.data,ce.isLoading=ve.isLoading,ce.isValidating=ve.isValidating,ce.error=ve.error,ce):(ce=ve,ve)},()=>kt]},[r,_]),U=Af.useSyncExternalStore(At(G=>I(_,(X,de)=>{S(de,X)||G()}),[r,_]),E[0],E[1]),z=!b.current,q=d[_]&&d[_].length>0,se=U.data,ue=H(se)?M:se,Ft=U.error,qr=ke(ue),it=p?H(se)?qr.current:se:ue,at=(()=>q&&!H(Ft)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Gn=!!(_&&t&&z&&at),va=H(U.isValidating)?Gn:U.isValidating,_n=H(U.isLoading)?Gn:U.isLoading,Ht=At(async G=>{const X=k.current;if(!_||!X||m.current||$().isPaused())return!1;let de,Z,Se=!0;const kt=G||{},ce=!v[_]||!kt.dedupe,ve=()=>cc?!m.current&&_===x.current&&b.current:_===x.current,De={isValidating:!1,isLoading:!1},Ut=()=>{D(De)},id=()=>{const Ae=v[_];Ae&&Ae[1]===Z&&delete v[_]},ad={isValidating:!0};H(j().data)&&(ad.isLoading=!0);try{if(ce&&(D(ad),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{Se&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),v[_]=[X(y),Xo()]),[de,Z]=v[_],de=await de,ce&&setTimeout(id,n.dedupingInterval),!v[_]||v[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;De.error=me;const Ae=h[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return Ut(),ce&&ve()&&$().onDiscarded(_),!1;const st=j().data;De.data=o(st,de)?st:de,ce&&ve()&&$().onSuccess(de,_,n)}catch(Ae){id();const st=$(),{shouldRetryOnError:_a}=st;st.isPaused()||(De.error=Ae,ce&&ve()&&(st.onError(Ae,_,st),(_a===!0||Fe(_a)&&_a(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||C())&&st.onErrorRetry(Ae,_,st,gy=>{const ga=d[_];ga&&ga[0]&&ga[0](Tn.ERROR_REVALIDATE_EVENT,gy)},{retryCount:(kt.retryCount||0)+1,dedupe:!0})))}return Se=!1,Ut(),!0},[_,r]),Gr=At((...G)=>pc(r,x.current,...G),[]);if(Ko(()=>{k.current=t,O.current=n,H(se)||(qr.current=se)}),Ko(()=>{if(!_)return;const G=Ht.bind(me,Zo);let X=0;const Z=rp(_,d,(Se,kt={})=>{if(Se==Tn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&C()&&(X=ce+$().focusThrottleInterval,G())}else if(Se==Tn.RECONNECT_EVENT)$().revalidateOnReconnect&&C()&&G();else{if(Se==Tn.MUTATE_EVENT)return Ht();if(Se==Tn.ERROR_REVALIDATE_EVENT)return Ht(kt)}});return m.current=!1,x.current=_,b.current=!0,D({_k:y}),at&&(H(ue)||An?G():Hf(G)),()=>{m.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())?Ht(Zo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,f,c,_]),ir(it),i&&H(ue)&&_){if(!cc&&An)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,O.current=n,m.current=!1;const G=g[_];if(!H(G)){const X=Gr(G);gc(X)}if(H(Ft)){const X=Ht(Zo);H(it)||(X.status="fulfilled",X.value=!0),gc(X)}else throw Ft}return{mutate:Gr,get data(){return N.data=!0,it},get error(){return N.error=!0,Ft},get isValidating(){return N.isValidating=!0,va},get isLoading(){return N.isLoading=!0,_n}}}),Ge=Te({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),op=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return ge(i),w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Ge({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ye(e)}},ip=e=>{const[t,n]=xe(!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},ap=44,sp=6,cp=12,lp=8,wc=Te({base:"fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-copy-accent-icon ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),up=Te({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),dp=Te({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),fp=Te({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),pp=Te({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),hp=({children:e,colorScheme:t})=>w("span",{class:pp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),vp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},mc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},_p=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=mc(r.value),a=mc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},gp=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},wp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},mp=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=vo(r()),l=Ie(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=s.data[t.key]??[];return Object.fromEntries(h.map(v=>[v.value,v.jobs]))}default:ye(s)}},[s,t.key]),u=bc(e),f=u.length>0,[c,p]=xe(),d=ip("(pointer: coarse)");return we(()=>{a()}),s.state==="error"?w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"search",class:wc(),value:c,onInput:h=>p(h.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Ge({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const h=i.data[t.key]??[],v=c&&c.length>1?h.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):h,g=[];for(const m of v){if(m.label.length<1)continue;const x={...m,results:wp(l,m),disabled:gp(l,m)};switch(t.results){case"only-available":x.disabled==!1&&g.push(x);break;default:g.push(x)}}if(!g.find(m=>!m.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const b=(h.length>cp||h.some(m=>m.label.length>24))&&!d;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":ap*(sp+.5)+2*lp+"px"},class:up({type:b?"long":"short"}),children:_p(g,t.sortSuggestions).map(m=>{const x=u.includes(m.value);return w("li",{class:dp({type:b?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=vp(u,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:ye(e)}},class:b?fp({active:x,disabled:m.disabled}):Ge({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:m.label})," ",w(hp,{colorScheme:x?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ye(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:kn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(Ye,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:kn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(Ye,{name:"chevron-right"})]},f?"done":"skip")})]})]})},yc={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},yp=Te({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),bp=Te({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),xp=Te({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),kp=e=>{const t=ke(null),[n,r]=xe(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return pt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},bc=e=>typeof e.value=="string"?[e.value]:e.value??[],$p=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=$t(r.key,yc)?yc[r.key]:void 0,u=r.icon??l??"filter",f=bc(t),{height:c,ref:p,updateHeight:d}=kp([e]),h=f.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:yp({hasValue:h}),onTouchStart:Cp,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:bp({state:e?"active":h?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(Ye,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(mp,{useQuery:s,onRender: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(op,{property:r,query:a,selectedValues:f})}),w(Ye,{"aria-hidden":!0,class:xp(),name:"chevron-right"})]})]})},jp=e=>{const t=ke();return we(()=>{t.current=e},[e]),t.current},Sp=(e,t)=>{var o;const n=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(ge(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Ep=(e,t)=>{const n=jp(e);we(()=>{if(n===e)return;const r=e??n;r&&Sp(r,t)},[e,n,t])};function Cp(){}const Op=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},Ap=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(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)}},Tp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=xe((c=e[0])==null?void 0:c.key);Ep(a,t);const l=Ie(()=>ai(e,"value"),[e]),u=vo(Jo(lr({filter:l,baseKey:"filters",keyword:void 0}),()=>is({apiClient:o,logger:i,filters:l,keyword:void 0}),_o)),f=At(p=>()=>{const d={...n,[p]:l[p]};return Jo(lr({filter:d,baseKey:"filters",keyword:Tt.keyword$.value}),()=>is({apiClient:o,logger:i,filters:d,keyword:Tt.keyword$.value}),_o)},[o,n,l,i]);return u.state==="error"?w(ft,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,h=n[p.key]??{select:p.select,value:void 0},v=l[p.key];v&&Op(h,v);const g=b=>{const{newActiveKey:m,newValue:x}=Ap({property:p,activeKey:a,value:b??v,properties:e,appliedFilters:n});return s(m),r(p.key,x)},_=b=>s(b?p.key:void 0),y=f(p.key);return w($n,{Fallback:ft,children:w($p,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:h,onSkip:()=>{var x;const b=e.findIndex(k=>k.key===a),m=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(m)},useQuery:y,onValueChange:g})},p.key)})})})},Pp=2,Rp=({onKeywordChange:e})=>{const{keyword$:t}=Tt,[n,r]=xe(t.value??""),o=n!==""&&n===t.value;return we(()=>{let i=n.trim();if(i.length<=Pp&&(i=null),i===null){t.value="";return}const a=setTimeout(()=>{t.value=i},300);return()=>clearTimeout(a)},[n,t,e]),w("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:w("div",{class:"relative",children:[w("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[w(Ye,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:cs({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),w("span",{class:"sr-only",children:"Keyword"})]}),w("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:wc({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:"Type to search jobs",value:n,onChange:i=>{r(i.currentTarget.value),e==null||e(i.currentTarget.value)}}),w("button",{class:kn({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:w(Ye,{name:"x"})})]})})};var Dp=Array.isArray,Qo=Dp,Np=typeof fr=="object"&&fr&&fr.Object===Object&&fr,Lp=Np,Mp=Lp,Ip=typeof self=="object"&&self&&self.Object===Object&&self,Fp=Mp||Ip||Function("return this")(),ei=Fp,Hp=ei,Up=Hp.Symbol,ti=Up,xc=ti,kc=Object.prototype,Vp=kc.hasOwnProperty,zp=kc.toString,Pn=xc?xc.toStringTag:void 0;function Wp(e){var t=Vp.call(e,Pn),n=e[Pn];try{e[Pn]=void 0;var r=!0}catch{}var o=zp.call(e);return r&&(t?e[Pn]=n:delete e[Pn]),o}var Bp=Wp,Yp=Object.prototype,Kp=Yp.toString;function qp(e){return Kp.call(e)}var Gp=qp,$c=ti,Xp=Bp,Zp=Gp,Jp="[object Null]",Qp="[object Undefined]",jc=$c?$c.toStringTag:void 0;function eh(e){return e==null?e===void 0?Qp:Jp:jc&&jc in Object(e)?Xp(e):Zp(e)}var Sc=eh;function th(e){return e!=null&&typeof e=="object"}var nh=th,rh=Sc,oh=nh,ih="[object Symbol]";function ah(e){return typeof e=="symbol"||oh(e)&&rh(e)==ih}var ni=ah,sh=Qo,ch=ni,lh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uh=/^\w*$/;function dh(e,t){if(sh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ch(e)?!0:uh.test(e)||!lh.test(e)||t!=null&&e in Object(t)}var fh=dh;function ph(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ec=ph,hh=Sc,vh=Ec,_h="[object AsyncFunction]",gh="[object Function]",wh="[object GeneratorFunction]",mh="[object Proxy]";function yh(e){if(!vh(e))return!1;var t=hh(e);return t==gh||t==wh||t==_h||t==mh}var bh=yh,xh=ei,kh=xh["__core-js_shared__"],$h=kh,ri=$h,Cc=function(){var e=/[^.]+$/.exec(ri&&ri.keys&&ri.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jh(e){return!!Cc&&Cc in e}var Sh=jh,Eh=Function.prototype,Ch=Eh.toString;function Oh(e){if(e!=null){try{return Ch.call(e)}catch{}try{return e+""}catch{}}return""}var Ah=Oh,Th=bh,Ph=Sh,Rh=Ec,Dh=Ah,Nh=/[\\^$.*+?()[\]{}|]/g,Lh=/^\[object .+?Constructor\]$/,Mh=Function.prototype,Ih=Object.prototype,Fh=Mh.toString,Hh=Ih.hasOwnProperty,Uh=RegExp("^"+Fh.call(Hh).replace(Nh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Vh(e){if(!Rh(e)||Ph(e))return!1;var t=Th(e)?Uh:Lh;return t.test(Dh(e))}var zh=Vh;function Wh(e,t){return e==null?void 0:e[t]}var Bh=Wh,Yh=zh,Kh=Bh;function qh(e,t){var n=Kh(e,t);return Yh(n)?n:void 0}var Oc=qh,Gh=Oc,Xh=Gh(Object,"create"),_r=Xh,Ac=_r;function Zh(){this.__data__=Ac?Ac(null):{},this.size=0}var Jh=Zh;function Qh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ev=Qh,tv=_r,nv="__lodash_hash_undefined__",rv=Object.prototype,ov=rv.hasOwnProperty;function iv(e){var t=this.__data__;if(tv){var n=t[e];return n===nv?void 0:n}return ov.call(t,e)?t[e]:void 0}var av=iv,sv=_r,cv=Object.prototype,lv=cv.hasOwnProperty;function uv(e){var t=this.__data__;return sv?t[e]!==void 0:lv.call(t,e)}var dv=uv,fv=_r,pv="__lodash_hash_undefined__";function hv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=fv&&t===void 0?pv:t,this}var vv=hv,_v=Jh,gv=ev,wv=av,mv=dv,yv=vv;function Gt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gt.prototype.clear=_v,Gt.prototype.delete=gv,Gt.prototype.get=wv,Gt.prototype.has=mv,Gt.prototype.set=yv;var bv=Gt;function xv(){this.__data__=[],this.size=0}var kv=xv;function $v(e,t){return e===t||e!==e&&t!==t}var jv=$v,Sv=jv;function Ev(e,t){for(var n=e.length;n--;)if(Sv(e[n][0],t))return n;return-1}var gr=Ev,Cv=gr,Ov=Array.prototype,Av=Ov.splice;function Tv(e){var t=this.__data__,n=Cv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Av.call(t,n,1),--this.size,!0}var Pv=Tv,Rv=gr;function Dv(e){var t=this.__data__,n=Rv(t,e);return n<0?void 0:t[n][1]}var Nv=Dv,Lv=gr;function Mv(e){return Lv(this.__data__,e)>-1}var Iv=Mv,Fv=gr;function Hv(e,t){var n=this.__data__,r=Fv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Uv=Hv,Vv=kv,zv=Pv,Wv=Nv,Bv=Iv,Yv=Uv;function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=Vv,Xt.prototype.delete=zv,Xt.prototype.get=Wv,Xt.prototype.has=Bv,Xt.prototype.set=Yv;var Kv=Xt,qv=Oc,Gv=ei,Xv=qv(Gv,"Map"),Zv=Xv,Tc=bv,Jv=Kv,Qv=Zv;function e_(){this.size=0,this.__data__={hash:new Tc,map:new(Qv||Jv),string:new Tc}}var t_=e_;function n_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var r_=n_,o_=r_;function i_(e,t){var n=e.__data__;return o_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var wr=i_,a_=wr;function s_(e){var t=a_(this,e).delete(e);return this.size-=t?1:0,t}var c_=s_,l_=wr;function u_(e){return l_(this,e).get(e)}var d_=u_,f_=wr;function p_(e){return f_(this,e).has(e)}var h_=p_,v_=wr;function __(e,t){var n=v_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var g_=__,w_=t_,m_=c_,y_=d_,b_=h_,x_=g_;function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=w_,Zt.prototype.delete=m_,Zt.prototype.get=y_,Zt.prototype.has=b_,Zt.prototype.set=x_;var k_=Zt,Pc=k_,$_="Expected a function";function oi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError($_);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(oi.Cache||Pc),n}oi.Cache=Pc;var j_=oi,S_=j_,E_=500;function C_(e){var t=S_(e,function(r){return n.size===E_&&n.clear(),r}),n=t.cache;return t}var O_=C_,A_=O_,T_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P_=/\\(\\)?/g,R_=A_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(T_,function(n,r,o,i){t.push(o?i.replace(P_,"$1"):r||n)}),t}),D_=R_;function N_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var L_=N_,Rc=ti,M_=L_,I_=Qo,F_=ni,H_=1/0,Dc=Rc?Rc.prototype:void 0,Nc=Dc?Dc.toString:void 0;function Lc(e){if(typeof e=="string")return e;if(I_(e))return M_(e,Lc)+"";if(F_(e))return Nc?Nc.call(e):"";var t=e+"";return t=="0"&&1/e==-H_?"-0":t}var U_=Lc,V_=U_;function z_(e){return e==null?"":V_(e)}var W_=z_,B_=Qo,Y_=fh,K_=D_,q_=W_;function G_(e,t){return B_(e)?e:Y_(e,t)?[e]:K_(q_(e))}var X_=G_,Z_=ni,J_=1/0;function Q_(e){if(typeof e=="string"||Z_(e))return e;var t=e+"";return t=="0"&&1/e==-J_?"-0":t}var eg=Q_,tg=X_,ng=eg;function rg(e,t){t=tg(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ng(t[n++])];return n&&n==r?e:void 0}var og=rg,ig=og;function ag(e,t,n){var r=e==null?void 0:ig(e,t);return r===void 0?n:r}var sg=ag;const cg=Sf(sg),mr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Mc=Te({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),ii=({job:e,property:t})=>{if(!t)return null;const n=cg(e.raw,t.key);return t.transform?t.transform(n):n},lg=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Ic=e=>Array.isArray(e)?e:[e],ug=1e3*60*60*24*7,dg=({job:e,config:t})=>{var u,f,c,p;const n=t.subheading?ii({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(d=>Ic(ii({job:e,property:d}))).filter(Boolean),o=Ic((u=t.overrides)!=null&&u.salary?ii({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(f=t.overrides)!=null&&f.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,l=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*ug:!1;return w("a",{onMouseEnter:(c=t.overrides)==null?void 0:c.onMouseEnter,onClick:(p=t.overrides)==null?void 0:p.onClick,href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Mc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(lg,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),l&&i!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((d,h)=>w("span",{class:Ge({variant:"monetaryWeak",size:"xs"}),children:d},h))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(d=>w("li",{class:Ge({size:"xs",class:"max-w-full truncate"}),children:d},d))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Fc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:Mc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(mr,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(mr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(mr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Ge({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Ye,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},fg=({state:e,fetchNextPage:t,config:n,analytics:r})=>{if(e==="revalidating")return w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:nr}).map((o,i)=>w("li",{children:w(Fc,{seed:i,animationDelay:(i-4)*.1,config:n})},i))});{const o=()=>{r.log({event:"SEARCH_PAGINATE"}),t()};return w("button",{class:kn({variant:"neutral",class:"py-2"}),onClick:o,children:"Load More"})}},pg=({pagination:e})=>(ge(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),hg=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,analytics:i})=>{const[a,s]=xe(1);return w(F,{children:Array.from({length:a}).map((l,u)=>{const f=u===a-1;return w($n,{Fallback:ft,children:w(vg,{appliedFilters:e,apiClient:t,logger:n,page:u+1,isFirst:u===0,isLast:f,fetchNextPage:()=>s(a+1),jobCardConfig:r,initialData:o,analytics:i},u)},u)})})},vg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l,analytics:u})=>{const f=r===1?l:void 0,{keyword$:c}=Tt,{data:p,error:d,state:h,swr:v}=vo(Jo(lr({filter:e,baseKey:r.toString(),keyword:c.value}),()=>as({apiClient:t,logger:n,filters:e,page:r,keyword:c.value}),{..._o,fallbackData:f}));switch(h){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(mr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:nr}).map((g,_)=>w("li",{children:w(Fc,{seed:_,animationDelay:(_-nr)*.1,config:s})},_))})]});case"error":return w(ft,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:d}),resetError:()=>v.mutate()});case"revalidating":case"loaded":{if(ge(p.pagination.current_page===r,"Received wrong page from server"),p.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(Ye,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const g=p.pagination.last_page!==p.pagination.current_page;return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:pg({pagination:p.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:p.results.map(_=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:h==="revalidating"?.33:1},children:w(dg,{job:_,config:s})},_.id))}),g&&i&&w(fg,{state:h,fetchNextPage:a,config:s,analytics:u})]})}default:ye(h)}},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},{}),_g=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=ke(null),[f,c]=xe(()=>({default:!0,filters:ai(n,"defaultValue")})),{keyword$:p}=Tt;return we(()=>{const d=window.setTimeout(()=>{console.log("settling");const h=ho(f.filters),v=f.default!==!0;!p.value&&!v||o.log({event:"SEARCH_SETTLE",properties:{query:p.value||void 0,filters:v?h:void 0}})},5e3);return()=>{clearTimeout(d)}},[f.filters,p.value,o,f.default]),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($n,{Fallback:ft,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Rp,{onKeywordChange:s}),w(Tp,{appliedFilters:f.filters,onFilterValueChange:(d,h)=>{c(v=>(a==null||a({...v.filters,[d]:h}),{default:!1,filters:{...v.filters,[d]:h}}))},properties:n,parentRef:u,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(uf,{appliedFilters:f.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w($n,{Fallback:ft,children:w(hg,{appliedFilters:f.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:f.default?i==null?void 0:i.jobs:void 0,analytics:o},lr({filter:f.filters,baseKey:"resultsSection",keyword:p.value}))})})})]})})},gg=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-10{padding-left:2.5rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent-icon{color:var(--i-copy-accent-icon)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .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 wg=["1","2","3","4","5","6","7","8","9","10","11","12"],mg={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},yg=(e,t=1,n)=>r=>{const[o,i]=mg[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},si=e=>{const t=yg(e.hue,e.chroma,e.mode);return Object.fromEntries(wg.map(n=>[e.prefix+n,e.transform(t(n))]))},ci=e=>e,bg=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},yr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),li=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(yr(e)&&yr(n))for(const r in n){const o=n[r];if(yr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];yr(i)&&li(i,o)}else Object.assign(e,{[r]:n[r]})}return li(e,...t)},xg=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},kg=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=bg(li(s,l,u)),c=([p,d],h)=>{const v=[h,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,v)):[[r.getToken("declaration",v),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,Xe]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],$g=kg().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,h,v,g,_,y,b,m,x,k,O,$,C,j,D;const r=(I,L)=>n.core.color[I].replace(")",` / ${L})`),{typography:o,highlights:i}=t,a=((s=t.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=t.typography.jobHeading)==null?void 0:u.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((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":((h=(d=o.filter)==null?void 0:d.weight)==null?void 0:h.toString())??((v=o.weight)==null?void 0:v.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((b=(y=o.tag)==null?void 0:y.weight)==null?void 0:b.toString())??((m=o.weight)==null?void 0:m.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((O=o.weight)==null?void 0:O.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(C=o.input)==null?void 0:C.weight)==null?void 0:j.toString())??((D=o.weight)==null?void 0:D.toString())??"inherit","app-bg":e("color.lowest"),copy:e(a?"color.highest":"color.n-12"),"copy-lowcontrast":e("color.n-11"),"copy-info":e(a?"color.n-11":"color.n-10"),"copy-icon":e(a?"color.n-12":"color.n-11"),"copy-accent":e(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":e(a?"color.a-12":"color.a-11"),"copy-accent-icon":e(a?"color.a-12":"color.a-11"),"copy-inverted":e("color.lowest"),"copy-inverted-lowcontrast":e("color.n-4"),"copy-inverted-icon":e("color.n-3"),"tag-neutral-weak-bg":i==="fill"?e("color.n-2"):Xe,"tag-neutral-weak-copy":e("color.n-12"),"tag-neutral-weak-stroke-color":e(i==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":i==="fill"?e("color.n-12"):Xe,"tag-neutral-strong-copy":e(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":r(a?"n-12":"n-4",i==="stroke"?1:0),"tag-monetary-weak-bg":e("color.m-3"),"tag-monetary-weak-copy":e("color.m-11"),"tag-monetary-weak-stroke-color":e("color.m-4"),"tag-accent-strong-bg":t.mode==="dark"?e("color.a-9"):e("color.a-11"),"tag-accent-strong-copy":e("color.white"),"tag-accent-strong-stroke-color":Xe,"radius-app":Ce(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Ce(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Ce(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Ce(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Ce(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Ce(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Ce(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(a?"n-5":"n-4",.01),"interactive-neutral-bg-hover":e(a?"color.n-5":"color.n-4"),"interactive-neutral-text":e("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":e(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":e("color.a-11"),"radius-interactive":Ce(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Xe,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Xe,"section-weak-stroke-color":i==="fill"?Xe:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Xe:e(a?"color.n-11":"color.n-4"),"section-stroke-width":Ce(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Ce(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Xe),"job-card-bg-active":Ce(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Xe),"job-card-stroke-color":e(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":e("color.a-9"),"job-card-stroke-width":Ce(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),jg=xg({prefix:"i-"}),Sg=e=>{const t=$g.from({theme:e,getToken:jg}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${rs} {
|
|
19
19
|
${n.concat(n).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`},Eg=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ts}`);return ge(e,`Element with id ${ts} not found.`),e}}))(),Cg=()=>wa(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return oe($n,{Fallback:Jf},[[oe("style",{id:"inploi-job-search-styles"},gg),oe("style",{id:"inploi-job-search-theme"},Sg(o.theme))],oe(ed,{theme:o.theme}),oe(_g,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,params:o})])};return{prerender:async o=>{o.defaultSearchKeyword&&(Tt.keyword$.value=o.defaultSearchKeyword);const i=o.withData?await as({filters:ii(o.properties),apiClient:e,logger:t,keyword:void 0}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:yf(oe(F,{},oe(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?oo:Vt;o.defaultSearchKeyword&&(Tt.keyword$.value=o.defaultSearchKeyword),ge(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(oe(r,{params:o}),Eg.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Cg;function Hc(e,t){if(!e)throw new Error(t)}var Rn,P,Uc,Vc,Pt,zc,Wc,fi,di,pi,hi,Bc,Dn={},Yc=[],Og=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,br=Array.isArray;function Ze(e,t){for(var n in t)e[n]=t[n];return e}function Kc(e){var t=e.parentNode;t&&t.removeChild(e)}function A(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?Rn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return Nn(e,a,r,o,null)}function Nn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Uc,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function qc(){return{current:null}}function re(e){return e.children}function Oe(e,t){this.props=e,this.context=t}function Rt(e,t){if(t==null)return e.__?Rt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Rt(e):null}function Gc(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Gc(e)}}function vi(e){(!e.__d&&(e.__d=!0)&&Pt.push(e)&&!xr.__r++||zc!==P.debounceRendering)&&((zc=P.debounceRendering)||Wc)(xr)}function xr(){var e,t,n,r,o,i,a,s;for(Pt.sort(fi);e=Pt.shift();)e.__d&&(t=Pt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ze({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),_i(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Rt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,el(a,r,s),r.__e!=i&&Gc(r)),Pt.length>t&&Pt.sort(fi));xr.__r=0}function Xc(e,t,n,r,o,i,a,s,l,u,d){var c,p,f,h,v,g=r&&r.__k||Yc,_=t.length;for(n.__d=l,Ag(n,t,g),l=n.__d,c=0;c<_;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?Dn:g[f.__i]||Dn,f.__i=c,_i(e,f,p,o,i,a,s,l,u,d),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&gi(p.ref,null,f),d.push(f.ref,f.__c||h,f)),v==null&&h!=null&&(v=h),65536&f.__u||p.__k===f.__k?(l&&typeof f.type=="string"&&!e.contains(l)&&(l=Rt(p)),l=Zc(f,l,e)):typeof f.type=="function"&&f.__d!==void 0?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=v}function Ag(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,d=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Nn(null,o,null,null,null):br(o)?Nn(re,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Nn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Tg(o,n,a,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?d>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Rt(i)),wi(i,i,!1),n[a]=null,d--);if(d)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Rt(i)),wi(i,i))}function Zc(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Zc(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Je(e,t){return t=t||[],e==null||typeof e=="boolean"||(br(e)?e.some(function(n){Je(n,t)}):t.push(e)),t}function Tg(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Jc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Og.test(t)?n:n+"px"}function kr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Jc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Jc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=di,e.addEventListener(t,i?hi:pi,i)):e.removeEventListener(t,i?hi:pi,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Qc(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=di++;else if(t.t<n.u)return;return n(P.event?P.event(t):t)}}}function _i(e,t,n,r,o,i,a,s,l,u){var d,c,p,f,h,v,g,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(d=P.__b)&&d(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(d=j.contextType)&&r[d.__c],m=d?b?b.props.value:d.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new Oe(_,m),c.constructor=j,c.render=Rg),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ze({},c.__s)),Ze(c.__s,j.getDerivedStateFromProps(_,c.__s))),f=c.props,h=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,h,v)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=P.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),d=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++O<25);c.state=c.__s,c.getChildContext!=null&&(r=Ze(Ze({},r),c.getChildContext())),y&&!p&&c.getSnapshotBeforeUpdate!=null&&(v=c.getSnapshotBeforeUpdate(f,h)),Xc(e,br(C=d!=null&&d.type===re&&d.key==null?d.props.children:d)?C:[C],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),P.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Pg(n.__e,t,n,r,o,i,a,l,u);(d=P.diffed)&&d(t)}function el(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)gi(n[r],n[++r],n[++r]);P.__c&&P.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function Pg(e,t,n,r,o,i,a,s,l){var u,d,c,p,f,h,v,g=n.props,_=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((f=i[u])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){e=f,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&Rn.call(e.childNodes),g=n.props||Dn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(f=e.attributes[u]).name]=f.value;for(u in g)if(f=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=f;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;kr(e,u,null,f,o)}}for(u in _)f=_[u],u=="children"?p=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?h=f:u=="checked"?v=f:u==="key"||s&&typeof f!="function"||g[u]===f||kr(e,u,f,g[u],o);if(d)s||c&&(d.__html===c.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),Xc(e,br(p)?p:[p],t,n,r,y==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Rt(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Kc(i[u]);s||(u="value",h!==void 0&&(h!==e[u]||y==="progress"&&!h||y==="option"&&h!==g[u])&&kr(e,u,h,g[u],o),u="checked",v!==void 0&&v!==e[u]&&kr(e,u,v,g[u],o))}return e}function gi(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){P.__e(r,n)}}function wi(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||gi(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&wi(r[o],t,n||typeof e.type!="function");n||e.__e==null||Kc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Rg(e,t,n){return this.constructor(e,n)}function Jt(e,t,n){var r,o,i,a;P.__&&P.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],_i(t,e=(!r&&n||t).__k=A(re,null,[e]),o||Dn,Dn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Rn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),el(i,e,a)}function mi(e,t){Jt(e,t,mi)}function Dg(e,t,n){var r,o,i,a,s=Ze({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?Rn.call(arguments,2):n),Nn(e.type,s,r||e.key,o||e.ref,null)}function Ln(e,t){var n={__c:t="__cC"+Bc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,vi(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Rn=Yc.slice,P={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Uc=0,Vc=function(e){return e!=null&&e.constructor==null},Oe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ze({},this.state),typeof e=="function"&&(e=e(Ze({},n),this.props)),e&&Ze(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),vi(this))},Oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),vi(this))},Oe.prototype.render=re,Pt=[],Wc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fi=function(e,t){return e.__v.__b-t.__v.__b},xr.__r=0,di=0,pi=Qc(!1),hi=Qc(!0),Bc=0;var tl=/[\s\n\\/='"\0<>]/,nl=/^(xlink|xmlns|xml)([A-Z])/,Ng=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,Lg=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Mg=/["&<]/;function $r(e){if(e.length===0||Mg.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var rl={},Ig=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Fg=/[A-Z]/g;function Hg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:rl[n]||(rl[n]=n.replace(Fg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Ig.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var yi,Dt,Mn,In,ol=[],il=Array.isArray,bi=Object.assign;function Ug(e,t,n){var r=P.__s;P.__s=!0,yi=P.__b,Dt=P.diffed,Mn=P.__r,In=P.unmount;var o=A(re,null);o.__k=[e];try{var i=He(e,t||sl,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{P.__c&&P.__c(e,ol),P.__s=r,ol.length=0}}function al(){this.__d=!0}var sl={};function cl(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=sl),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=bi({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),Mn&&Mn(e),n.render(n.props,n.state,t)}function He(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":$r(e+"");if(il(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var d=e[u];if(d!=null&&typeof d!="boolean"){var c,p=He(d,t,n,r,o,i,a);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,yi&&yi(e);var f,h,v,g=e.type,_=e.props,y=t;if(typeof g=="function"){if(g===re){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!il(x)?b+=x:b+=He(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+$r(_.UNSTABLE_comment||"")+"-->";h=_.children}else{if((f=g.contextType)!=null){var k=t[f.__c];y=k?k.props.value:f.__}if(g.prototype&&typeof g.prototype.render=="function")h=cl(e,y),v=e.__c;else{e.__c=v={__v:e,props:_,context:y,setState:al,forceUpdate:al,__d:!0,__h:[]};for(var O=0;v.__d&&O++<25;)v.__d=!1,Mn&&Mn(e),h=g.call(v,_,y);v.__d=!0}if(v.getChildContext!=null&&(t=bi({},t,v.getChildContext())),(g.getDerivedStateFromError||v.componentDidCatch)&&P.errorBoundaries){var $="";h=h!=null&&h.type===re&&h.key==null?h.props.children:h;try{return $=He(h,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(v.__s=g.getDerivedStateFromError(q)),v.componentDidCatch&&v.componentDidCatch(q,{}),v.__d&&(h=cl(e,t),(v=e.__c).getChildContext!=null&&(t=bi({},t,v.getChildContext())),$=He(h=h!=null&&h.type===re&&h.key==null?h.props.children:h,t,n,r,e,i,a)),$}finally{Dt&&Dt(e),e.__=null,In&&In(e)}}}h=h!=null&&h.type===re&&h.key==null&&h.props.tpl==null?h.props.children:h;try{var C=He(h,t,n,r,e,i,a);return Dt&&Dt(e),e.__=null,P.unmount&&P.unmount(e),C}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return He(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=P.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return He(h,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return He(h,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=Hg(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(nl.test(S))S=S.replace(nl,"$1:$2").toLowerCase();else{if(tl.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?Lg.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):Ng.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+$r(E+"")+'"')}if(tl.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=$r(L):L!=null&&L!==!1&&L!==!0&&(M=He(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Dt&&Dt(e),e.__=null,In&&In(e),!M&&Vg.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var Vg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),zg=0;function R(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--zg,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}const Wg={bell:R("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:R("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":R("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},Bg=({theme:e})=>R("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:R("defs",{children:Object.entries(Wg).map(([t,n])=>R("symbol",{id:`i-icon-${t}`,children:R("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),ll=({name:e,...t})=>R("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:R("use",{href:`#i-icon-${e}`})});function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}var Qe,Y,xi,ul,Qt=0,fl=[],ee=P,dl=ee.__b,pl=ee.__r,hl=ee.diffed,vl=ee.__c,_l=ee.unmount,gl=ee.__;function Nt(e,t){ee.__h&&ee.__h(Y,e,Qt||t),Qt=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function K(e){return Qt=1,Fn(ml,e)}function Fn(e,t,n){var r=Nt(Qe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ml(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};Y.u=!0;var i=Y.shouldComponentUpdate,a=Y.componentWillUpdate;Y.componentWillUpdate=function(s,l,u){if(this.__e){var d=i;i=void 0,o(s,l,u),i=d}a&&a.call(this,s,l,u)},Y.shouldComponentUpdate=o}return r.__N||r.__}function J(e,t){var n=Nt(Qe++,3);!ee.__s&&Ei(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function _t(e,t){var n=Nt(Qe++,4);!ee.__s&&Ei(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function V(e){return Qt=5,_e(function(){return{current:e}},[])}function ki(e,t,n){Qt=6,_t(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function _e(e,t){var n=Nt(Qe++,7);return Ei(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return Qt=8,_e(function(){return e},t)}function Hn(e){var t=Y.context[e.__c],n=Nt(Qe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function $i(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function Yg(e){var t=Nt(Qe++,10),n=K();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function ji(){var e=Nt(Qe++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Kg(){for(var e;e=fl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(jr),e.__H.__h.forEach(Si),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Y=null,dl&&dl(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),gl&&gl(e,t)},ee.__r=function(e){pl&&pl(e),Qe=0;var t=(Y=e.__c).__H;t&&(xi===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(jr),t.__h.forEach(Si),t.__h=[],Qe=0)),xi=Y},ee.diffed=function(e){hl&&hl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fl.push(t)!==1&&ul===ee.requestAnimationFrame||((ul=ee.requestAnimationFrame)||qg)(Kg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),xi=Y=null},ee.__c=function(e,t){t.some(function(n){try{n.__h.forEach(jr),n.__h=n.__h.filter(function(r){return!r.__||Si(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(r,n.__v)}}),vl&&vl(e,t)},ee.unmount=function(e){_l&&_l(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{jr(r)}catch(o){t=o}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var wl=typeof requestAnimationFrame=="function";function qg(e){var t,n=function(){clearTimeout(r),wl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);wl&&(t=requestAnimationFrame(n))}function jr(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function Si(e){var t=Y;e.__c=e.__(),Y=t}function Ei(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ml(e,t){return typeof t=="function"?t(e):t}function yl(e,t){for(var n in t)e[n]=t[n];return e}function Ci(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Sr(e,t){this.props=e,this.context=t}function bl(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Ci(this.props,o)}function r(o){return this.shouldComponentUpdate=n,A(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Sr.prototype=new Oe).isPureReactComponent=!0,Sr.prototype.shouldComponentUpdate=function(e,t){return Ci(this.props,e)||Ci(this.state,t)};var xl=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xl&&xl(e)};var Gg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(n){var r=yl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Gg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var kl=function(e,t){return e==null?null:Je(Je(e).map(t))},et={map:kl,forEach:kl,count:function(e){return e?Je(e).length:0},only:function(e){var t=Je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Je},Xg=P.__e;P.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Xg(e,t,n,r)};var $l=P.unmount;function jl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=yl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return jl(r,t,n)})),e}function Sl(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Sl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Un(){this.__u=0,this.t=null,this.__b=null}function El(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cl(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return A(n,i)}return o.displayName="Lazy",o.__f=!0,o}function en(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),$l&&$l(e)},(Un.prototype=new Oe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=El(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Sl(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Un.prototype.componentWillUnmount=function(){this.t=[]},Un.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=jl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(re,null,e.fallback);return o&&(o.__u&=-33),[A(re,null,t.__a?null:e.children),o]};var Ol=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Zg(e){return this.getChildContext=function(){return e.context},e.children}function Jg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Jt(A(Zg,{context:t.context},e.__v),t.l)}function Al(e,t){var n=A(Jg,{__v:e,i:t});return n.containerInfo=t,n}(en.prototype=new Oe).__a=function(e){var t=this,n=El(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ol(t,e,r)):o()};n?n(i):i()}},en.prototype.render=function(e){this.u=null,this.o=new Map;var t=Je(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},en.prototype.componentDidUpdate=en.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Ol(e,n,t)})};var Tl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Qg=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,e0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,t0=/[A-Z0-9]/g,n0=typeof document<"u",r0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Pl(e,t,n){return t.__k==null&&(t.textContent=""),Jt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Rl(e,t,n){return mi(e,t),typeof n=="function"&&n(),e?e.__c:null}Oe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Oe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Dl=P.event;function o0(){}function i0(){return this.cancelBubble}function a0(){return this.defaultPrevented}P.event=function(e){return Dl&&(e=Dl(e)),e.persist=o0,e.isPropagationStopped=i0,e.isDefaultPrevented=a0,e.nativeEvent=e};var Oi,s0={enumerable:!1,configurable:!0,get:function(){return this.class}},Nl=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||n0&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||r0(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":e0.test(i)?i=s:r.indexOf("-")===-1&&Qg.test(i)?i=i.replace(t0,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Je(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Je(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",s0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Tl,Nl&&Nl(e)};var Ll=P.__r;P.__r=function(e){Ll&&Ll(e),Oi=e.__c};var Ml=P.diffed;P.diffed=function(e){Ml&&Ml(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Oi=null};var Il={ReactCurrentDispatcher:{current:{readContext:function(e){return Oi.__n[e.__c].props.value},useCallback:ae,useContext:Hn,useDebugValue:$i,useDeferredValue:Ti,useEffect:J,useId:ji,useImperativeHandle:ki,useInsertionEffect:Ri,useLayoutEffect:_t,useMemo:_e,useReducer:Fn,useRef:V,useState:K,useSyncExternalStore:Di,useTransition:Pi}}},c0="17.0.2";function Fl(e){return A.bind(null,e)}function tt(e){return!!e&&e.$$typeof===Tl}function Hl(e){return tt(e)&&e.type===re}function Ul(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function tn(e){return tt(e)?Dg.apply(null,arguments):e}function Vl(e){return!!e.__k&&(Jt(null,e),!0)}function zl(e){return e&&(e.base||e.nodeType===1&&e)||null}var Wl=function(e,t){return e(t)},Vn=function(e,t){return e(t)},Bl=re;function Ai(e){e()}function Ti(e){return e}function Pi(){return[!1,Ai]}var Ri=_t,Yl=tt;function Di(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return _t(function(){o.__=n,o.v=t,Ni(o)&&i({h:o})},[e,n,t]),J(function(){return Ni(o)&&i({h:o}),e(function(){Ni(o)&&i({h:o})})},[e]),n}function Ni(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Kl={useState:K,useId:ji,useReducer:Fn,useEffect:J,useLayoutEffect:_t,useInsertionEffect:Ri,useTransition:Pi,useDeferredValue:Ti,useSyncExternalStore:Di,startTransition:Ai,useRef:V,useImperativeHandle:ki,useMemo:_e,useCallback:ae,useContext:Hn,useDebugValue:$i,version:"17.0.2",Children:et,render:Pl,hydrate:Rl,unmountComponentAtNode:Vl,createPortal:Al,createElement:A,createContext:Ln,createFactory:Fl,cloneElement:tn,createRef:qc,Fragment:re,isValidElement:tt,isElement:Yl,isFragment:Hl,isMemo:Ul,findDOMNode:zl,Component:Oe,PureComponent:Sr,memo:bl,forwardRef:le,flushSync:Vn,unstable_batchedUpdates:Wl,StrictMode:Bl,Suspense:Un,SuspenseList:en,lazy:Cl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Il};const l0=Object.freeze(Object.defineProperty({__proto__:null,Children:et,Component:Oe,Fragment:re,PureComponent:Sr,StrictMode:Bl,Suspense:Un,SuspenseList:en,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Il,cloneElement:tn,createContext:Ln,createElement:A,createFactory:Fl,createPortal:Al,createRef:qc,default:Kl,findDOMNode:zl,flushSync:Vn,forwardRef:le,hydrate:Rl,isElement:Yl,isFragment:Hl,isMemo:Ul,isValidElement:tt,lazy:Cl,memo:bl,render:Pl,startTransition:Ai,unmountComponentAtNode:Vl,unstable_batchedUpdates:Wl,useCallback:ae,useContext:Hn,useDebugValue:$i,useDeferredValue:Ti,useEffect:J,useErrorBoundary:Yg,useId:ji,useImperativeHandle:ki,useInsertionEffect:Ri,useLayoutEffect:_t,useMemo:_e,useReducer:Fn,useRef:V,useState:K,useSyncExternalStore:Di,useTransition:Pi,version:c0},Symbol.toStringTag,{value:"Module"}));function Lt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function u0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ql(...e){return t=>e.forEach(n=>u0(n,t))}function Mt(...e){return ae(ql(...e),e)}function Gl(e,t=[]){let n=[];function r(i,a){const s=Ln(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:f,...h}=c,v=(p==null?void 0:p[e][l])||s,g=_e(()=>h,Object.values(h));return A(v.Provider,{value:g},f)}function d(c,p){const f=(p==null?void 0:p[e][l])||s,h=Hn(f);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(a=>Ln(a));return function(s){const l=(s==null?void 0:s[e])||i;return _e(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,f0(o,...t)]}function f0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...s,...c}},{});return _e(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Li=le((e,t)=>{const{children:n,...r}=e,o=et.toArray(n),i=o.find(p0);if(i){const a=i.props.children,s=o.map(l=>l===i?et.count(a)>1?et.only(null):tt(a)?a.props.children:null:l);return A(Mi,pe({},r,{ref:t}),tt(a)?tn(a,void 0,s):null)}return A(Mi,pe({},r,{ref:t}),n)});Li.displayName="Slot";const Mi=le((e,t)=>{const{children:n,...r}=e;return tt(n)?tn(n,{...h0(r,n.props),ref:t?ql(t,n.ref):n.ref}):et.count(n)>1?et.only(null):null});Mi.displayName="SlotClone";const d0=({children:e})=>A(re,null,e);function p0(e){return tt(e)&&e.type===d0}function h0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const nn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=le((r,o)=>{const{asChild:i,...a}=r,s=i?Li:t;return J(()=>{window[Symbol.for("radix-ui")]=!0},[]),A(s,pe({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function v0(e,t){e&&Vn(()=>e.dispatchEvent(t))}function gt(e){const t=V(e);return J(()=>{t.current=e}),_e(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function _0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e);J(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Ii="dismissableLayer.update",g0="dismissableLayer.pointerDownOutside",w0="dismissableLayer.focusOutside";let Xl;const m0=Ln({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y0=le((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=Hn(m0),[c,p]=K(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=K({}),v=Mt(t,$=>p($)),g=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(_),b=c?g.indexOf(c):-1,m=d.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,k=b0($=>{const C=$.target,j=[...d.branches].some(D=>D.contains(C));!x||j||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},f),O=x0($=>{const C=$.target;[...d.branches].some(D=>D.contains(C))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},f);return _0($=>{b===d.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},f),J(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Xl=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),Zl(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Xl)}},[c,f,r,d]),J(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),Zl())},[c,d]),J(()=>{const $=()=>h({});return document.addEventListener(Ii,$),()=>document.removeEventListener(Ii,$)},[]),A(nn.div,pe({},u,{ref:v,style:{pointerEvents:m?x?"auto":"none":void 0,...e.style},onFocusCapture:Lt(e.onFocusCapture,O.onFocusCapture),onBlurCapture:Lt(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:Lt(e.onPointerDownCapture,k.onPointerDownCapture)}))});function b0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=V(!1),o=V(()=>{});return J(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Jl(g0,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function x0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=V(!1);return J(()=>{const o=i=>{i.target&&!r.current&&Jl(w0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Zl(){const e=new CustomEvent(Ii);document.dispatchEvent(e)}function Jl(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?v0(o,i):o.dispatchEvent(i)}let Fi=0;function k0(){J(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Ql()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Ql()),Fi++,()=>{Fi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fi--}},[])}function Ql(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Hi="focusScope.autoFocusOnMount",Ui="focusScope.autoFocusOnUnmount",eu={bubbles:!1,cancelable:!0},$0=le((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=K(null),u=gt(o),d=gt(i),c=V(null),p=Mt(t,v=>l(v)),f=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;J(()=>{if(r){let v=function(b){if(f.paused||!s)return;const m=b.target;s.contains(m)?c.current=m:wt(c.current,{select:!0})},g=function(b){if(f.paused||!s)return;const m=b.relatedTarget;m!==null&&(s.contains(m)||wt(c.current,{select:!0}))},_=function(b){if(document.activeElement===document.body)for(const x of b)x.removedNodes.length>0&&wt(s)};document.addEventListener("focusin",v),document.addEventListener("focusout",g);const y=new MutationObserver(_);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",g),y.disconnect()}}},[r,s,f.paused]),J(()=>{if(s){ru.add(f);const v=document.activeElement;if(!s.contains(v)){const _=new CustomEvent(Hi,eu);s.addEventListener(Hi,u),s.dispatchEvent(_),_.defaultPrevented||(j0(A0(tu(s)),{select:!0}),document.activeElement===v&&wt(s))}return()=>{s.removeEventListener(Hi,u),setTimeout(()=>{const _=new CustomEvent(Ui,eu);s.addEventListener(Ui,d),s.dispatchEvent(_),_.defaultPrevented||wt(v??document.body,{select:!0}),s.removeEventListener(Ui,d),ru.remove(f)},0)}}},[s,u,d,f]);const h=ae(v=>{if(!n&&!r||f.paused)return;const g=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,_=document.activeElement;if(g&&_){const y=v.currentTarget,[b,m]=S0(y);b&&m?!v.shiftKey&&_===m?(v.preventDefault(),n&&wt(b,{select:!0})):v.shiftKey&&_===b&&(v.preventDefault(),n&&wt(m,{select:!0})):_===y&&v.preventDefault()}},[n,r,f.paused]);return A(nn.div,pe({tabIndex:-1},a,{ref:p,onKeyDown:h}))});function j0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(wt(r,{select:t}),document.activeElement!==n)return}function S0(e){const t=tu(e),n=nu(t,e),r=nu(t.reverse(),e);return[n,r]}function tu(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nu(e,t){for(const n of e)if(!E0(n,{upTo:t}))return n}function E0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function C0(e){return e instanceof HTMLInputElement&&"select"in e}function wt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&C0(e)&&t&&e.select()}}const ru=O0();function O0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ou(e,t),e.unshift(t)},remove(t){var n;e=ou(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function ou(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function A0(e){return e.filter(t=>t.tagName!=="A")}const rn=globalThis!=null&&globalThis.document?_t:()=>{},T0=l0["useId".toString()]||(()=>{});let P0=0;function R0(e){const[t,n]=K(T0());return rn(()=>{e||n(r=>r??String(P0++))},[e]),e||(t?`radix-${t}`:"")}const D0=["top","right","bottom","left"],Ue=Math.min,$e=Math.max,Er=Math.round,Cr=Math.floor,mt=e=>({x:e,y:e}),N0={left:"right",right:"left",bottom:"top",top:"bottom"},L0={start:"end",end:"start"};function Vi(e,t,n){return $e(e,Ue(t,n))}function nt(e,t){return typeof e=="function"?e(t):e}function rt(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function zi(e){return e==="x"?"y":"x"}function Wi(e){return e==="y"?"height":"width"}function yt(e){return["top","bottom"].includes(rt(e))?"y":"x"}function Bi(e){return zi(yt(e))}function M0(e,t,n){n===void 0&&(n=!1);const r=on(e),o=Bi(e),i=Wi(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Or(a)),[a,Or(a)]}function I0(e){const t=Or(e);return[Yi(e),t,Yi(t)]}function Yi(e){return e.replace(/start|end/g,t=>L0[t])}function F0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function H0(e,t,n,r){const o=on(e);let i=F0(rt(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Yi)))),i}function Or(e){return e.replace(/left|right|bottom|top/g,t=>N0[t])}function U0(e){return{top:0,right:0,bottom:0,left:0,...e}}function iu(e){return typeof e!="number"?U0(e):{top:e,right:e,bottom:e,left:e}}function Ar(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function au(e,t,n){let{reference:r,floating:o}=e;const i=yt(t),a=Bi(t),s=Wi(a),l=rt(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-o.width,y:c};break;default:f={x:r.x,y:r.y}}switch(on(t)){case"start":f[a]-=p*(n&&u?-1:1);break;case"end":f[a]+=p*(n&&u?-1:1);break}return f}const V0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=au(u,r,l),p=r,f={},h=0;for(let v=0;v<s.length;v++){const{name:g,fn:_}=s[v],{x:y,y:b,data:m,reset:x}=await _({x:d,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});d=y??d,c=b??c,f={...f,[g]:{...f[g],...m}},x&&h<=50&&(h++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:d,y:c}=au(u,p,l)),v=-1)}return{x:d,y:c,placement:p,strategy:o,middlewareData:f}};async function zn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:f=0}=nt(t,e),h=iu(f),g=s[p?c==="floating"?"reference":"floating":c],_=Ar(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),y=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),m=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},x=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:l}):y);return{top:(_.top-x.top+h.top)/m.y,bottom:(x.bottom-_.bottom+h.bottom)/m.y,left:(_.left-x.left+h.left)/m.x,right:(x.right-_.right+h.right)/m.x}}const z0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=nt(e,t)||{};if(u==null)return{};const c=iu(d),p={x:n,y:r},f=Bi(o),h=Wi(f),v=await a.getDimensions(u),g=f==="y",_=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",m=i.reference[h]+i.reference[f]-p[f]-i.floating[h],x=p[f]-i.reference[f],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let O=k?k[b]:0;(!O||!await(a.isElement==null?void 0:a.isElement(k)))&&(O=s.floating[b]||i.floating[h]);const $=m/2-x/2,C=O/2-v[h]/2-1,j=Ue(c[_],C),D=Ue(c[y],C),I=j,L=O-v[h]-D,N=O/2-v[h]/2+$,M=Vi(I,N,L),S=!l.arrow&&on(o)!=null&&N!==M&&i.reference[h]/2-(N<I?j:D)-v[h]/2<0,E=S?N<I?N-I:N-L:0;return{[f]:p[f]+E,data:{[f]:M,centerOffset:N-M-E,...S&&{alignmentOffset:E}},reset:S}}}),W0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...g}=nt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=rt(o),y=yt(s),b=rt(s)===s,m=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=p||(b||!v?[Or(s)]:I0(s)),k=h!=="none";!p&&k&&x.push(...H0(s,v,h,m));const O=[s,...x],$=await zn(t,g),C=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&C.push($[_]),c){const N=M0(o,a,m);C.push($[N[0]],$[N[1]])}if(j=[...j,{placement:o,overflows:C}],!C.every(N=>N<=0)){var D,I;const N=(((D=i.flip)==null?void 0:D.index)||0)+1,M=O[N];if(M)return{data:{index:N,overflows:j},reset:{placement:M}};let S=(I=j.filter(E=>E.overflows[0]<=0).sort((E,U)=>E.overflows[1]-U.overflows[1])[0])==null?void 0:I.placement;if(!S)switch(f){case"bestFit":{var L;const E=(L=j.filter(U=>{if(k){const z=yt(U.placement);return z===y||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,q)=>z+q,0)]).sort((U,z)=>U[1]-z[1])[0])==null?void 0:L[0];E&&(S=E);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function su(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function cu(e){return D0.some(t=>e[t]>=0)}const B0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=nt(e,t);switch(r){case"referenceHidden":{const i=await zn(t,{...o,elementContext:"reference"}),a=su(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:cu(a)}}}case"escaped":{const i=await zn(t,{...o,altBoundary:!0}),a=su(i,n.floating);return{data:{escapedOffsets:a,escaped:cu(a)}}}default:return{}}}}};async function Y0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=rt(n),s=on(n),l=yt(n)==="y",u=["left","top"].includes(a)?-1:1,d=i&&l?-1:1,c=nt(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof h=="number"&&(f=s==="end"?h*-1:h),l?{x:f*d,y:p*u}:{x:p*u,y:f*d}}const K0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await Y0(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},q0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:_,y}=g;return{x:_,y}}},...l}=nt(e,t),u={x:n,y:r},d=await zn(t,l),c=yt(rt(o)),p=zi(c);let f=u[p],h=u[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",y=f+d[g],b=f-d[_];f=Vi(y,f,b)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",y=h+d[g],b=h-d[_];h=Vi(y,h,b)}const v=s.fn({...t,[p]:f,[c]:h});return{...v,data:{x:v.x-n,y:v.y-r}}}}},G0=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=nt(e,t),d={x:n,y:r},c=yt(o),p=zi(c);let f=d[p],h=d[c];const v=nt(s,t),g=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const b=p==="y"?"height":"width",m=i.reference[p]-i.floating[b]+g.mainAxis,x=i.reference[p]+i.reference[b]-g.mainAxis;f<m?f=m:f>x&&(f=x)}if(u){var _,y;const b=p==="y"?"width":"height",m=["top","left"].includes(rt(o)),x=i.reference[c]-i.floating[b]+(m&&((_=a.offset)==null?void 0:_[c])||0)+(m?0:g.crossAxis),k=i.reference[c]+i.reference[b]+(m?0:((y=a.offset)==null?void 0:y[c])||0)-(m?g.crossAxis:0);h<x?h=x:h>k&&(h=k)}return{[p]:f,[c]:h}}}},X0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=nt(e,t),l=await zn(t,s),u=rt(n),d=on(n),c=yt(n)==="y",{width:p,height:f}=r.floating;let h,v;u==="top"||u==="bottom"?(h=u,v=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,h=d==="end"?"top":"bottom");const g=f-l.top-l.bottom,_=p-l.left-l.right,y=Ue(f-l[h],g),b=Ue(p-l[v],_),m=!t.middlewareData.shift;let x=y,k=b;if(c?k=d||m?Ue(b,_):_:x=d||m?Ue(y,g):g,m&&!d){const $=$e(l.left,0),C=$e(l.right,0),j=$e(l.top,0),D=$e(l.bottom,0);c?k=p-2*($!==0||C!==0?$+C:$e(l.left,l.right)):x=f-2*(j!==0||D!==0?j+D:$e(l.top,l.bottom))}await a({...t,availableWidth:k,availableHeight:x});const O=await o.getDimensions(i.floating);return p!==O.width||f!==O.height?{reset:{rects:!0}}:{}}}};function an(e){return lu(e)?(e.nodeName||"").toLowerCase():"#document"}function je(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(lu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lu(e){return e instanceof Node||e instanceof je(e).Node}function Pe(e){return e instanceof Element||e instanceof je(e).Element}function Ve(e){return e instanceof HTMLElement||e instanceof je(e).HTMLElement}function uu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof je(e).ShadowRoot}function Wn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Z0(e){return["table","td","th"].includes(an(e))}function Tr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ki(e){const t=qi(),n=Pe(e)?Re(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function J0(e){let t=bt(e);for(;Ve(t)&&!sn(t);){if(Ki(t))return t;if(Tr(t))return null;t=bt(t)}return null}function qi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sn(e){return["html","body","#document"].includes(an(e))}function Re(e){return je(e).getComputedStyle(e)}function Pr(e){return Pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bt(e){if(an(e)==="html")return e;const t=e.assignedSlot||e.parentNode||uu(e)&&e.host||ot(e);return uu(t)?t.host:t}function fu(e){const t=bt(e);return sn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ve(t)&&Wn(t)?t:fu(t)}function Bn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=fu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=je(o);if(i){const s=Gi(a);return t.concat(a,a.visualViewport||[],Wn(o)?o:[],s&&n?Bn(s):[])}return t.concat(o,Bn(o,[],n))}function Gi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function du(e){const t=Re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ve(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Er(n)!==i||Er(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Xi(e){return Pe(e)?e:e.contextElement}function cn(e){const t=Xi(e);if(!Ve(t))return mt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=du(t);let a=(i?Er(n.width):n.width)/r,s=(i?Er(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Q0=mt(0);function pu(e){const t=je(e);return!qi()||!t.visualViewport?Q0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ew(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==je(e)?!1:t}function It(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Xi(e);let a=mt(1);t&&(r?Pe(r)&&(a=cn(r)):a=cn(e));const s=ew(i,n,r)?pu(i):mt(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const p=je(i),f=r&&Pe(r)?je(r):r;let h=p,v=Gi(h);for(;v&&r&&f!==h;){const g=cn(v),_=v.getBoundingClientRect(),y=Re(v),b=_.left+(v.clientLeft+parseFloat(y.paddingLeft))*g.x,m=_.top+(v.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,u*=g.y,d*=g.x,c*=g.y,l+=b,u+=m,h=je(v),v=Gi(h)}}return Ar({width:d,height:c,x:l,y:u})}function tw(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=ot(r),s=t?Tr(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=mt(1);const d=mt(0),c=Ve(r);if((c||!c&&!i)&&((an(r)!=="body"||Wn(a))&&(l=Pr(r)),Ve(r))){const p=It(r);u=cn(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function nw(e){return Array.from(e.getClientRects())}function hu(e){return It(ot(e)).left+Pr(e).scrollLeft}function rw(e){const t=ot(e),n=Pr(e),r=e.ownerDocument.body,o=$e(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=$e(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+hu(e);const s=-n.scrollTop;return Re(r).direction==="rtl"&&(a+=$e(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function ow(e,t){const n=je(e),r=ot(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=qi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function iw(e,t){const n=It(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ve(e)?cn(e):mt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function vu(e,t,n){let r;if(t==="viewport")r=ow(e,n);else if(t==="document")r=rw(ot(e));else if(Pe(t))r=iw(t,n);else{const o=pu(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ar(r)}function _u(e,t){const n=bt(e);return n===t||!Pe(n)||sn(n)?!1:Re(n).position==="fixed"||_u(n,t)}function aw(e,t){const n=t.get(e);if(n)return n;let r=Bn(e,[],!1).filter(s=>Pe(s)&&an(s)!=="body"),o=null;const i=Re(e).position==="fixed";let a=i?bt(e):e;for(;Pe(a)&&!sn(a);){const s=Re(a),l=Ki(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Wn(a)&&!l&&_u(e,a))?r=r.filter(d=>d!==a):o=s,a=bt(a)}return t.set(e,r),r}function sw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Tr(t)?[]:aw(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,d)=>{const c=vu(t,d,o);return u.top=$e(c.top,u.top),u.right=Ue(c.right,u.right),u.bottom=Ue(c.bottom,u.bottom),u.left=$e(c.left,u.left),u},vu(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cw(e){const{width:t,height:n}=du(e);return{width:t,height:n}}function lw(e,t,n){const r=Ve(t),o=ot(t),i=n==="fixed",a=It(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=mt(0);if(r||!r&&!i)if((an(t)!=="body"||Wn(o))&&(s=Pr(t)),r){const c=It(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=hu(o));const u=a.left+s.scrollLeft-l.x,d=a.top+s.scrollTop-l.y;return{x:u,y:d,width:a.width,height:a.height}}function Zi(e){return Re(e).position==="static"}function gu(e,t){return!Ve(e)||Re(e).position==="fixed"?null:t?t(e):e.offsetParent}function wu(e,t){const n=je(e);if(Tr(e))return n;if(!Ve(e)){let o=bt(e);for(;o&&!sn(o);){if(Pe(o)&&!Zi(o))return o;o=bt(o)}return n}let r=gu(e,t);for(;r&&Z0(r)&&Zi(r);)r=gu(r,t);return r&&sn(r)&&Zi(r)&&!Ki(r)?n:r||J0(e)||n}const uw=async function(e){const t=this.getOffsetParent||wu,n=this.getDimensions,r=await n(e.floating);return{reference:lw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function fw(e){return Re(e).direction==="rtl"}const dw={convertOffsetParentRelativeRectToViewportRelativeRect:tw,getDocumentElement:ot,getClippingRect:sw,getOffsetParent:wu,getElementRects:uw,getClientRects:nw,getDimensions:cw,getScale:cn,isElement:Pe,isRTL:fw};function pw(e,t){let n=null,r;const o=ot(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:d,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const f=Cr(d),h=Cr(o.clientWidth-(u+c)),v=Cr(o.clientHeight-(d+p)),g=Cr(u),y={rootMargin:-f+"px "+-h+"px "+-v+"px "+-g+"px",threshold:$e(0,Ue(1,l))||1};let b=!0;function m(x){const k=x[0].intersectionRatio;if(k!==l){if(!b)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(m,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(m,y)}n.observe(e)}return a(!0),i}function hw(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Xi(e),d=o||i?[...u?Bn(u):[],...Bn(t)]:[];d.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?pw(u,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(_=>{let[y]=_;y&&y.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let h,v=l?It(e):null;l&&g();function g(){const _=It(e);v&&(_.x!==v.x||_.y!==v.y||_.width!==v.width||_.height!==v.height)&&n(),v=_,h=requestAnimationFrame(g)}return n(),()=>{var _;d.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),c==null||c(),(_=f)==null||_.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const vw=K0,_w=q0,gw=W0,ww=X0,mw=B0,mu=z0,yw=G0,bw=(e,t,n)=>{const r=new Map,o={platform:dw,...n},i={...o.platform,_c:r};return V0(e,t,{...o,platform:i})};var Rr=typeof document<"u"?_t:J;function Dr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Dr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function yu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bu(e,t){const n=yu(e);return Math.round(t*n)/n}function xu(e){const t=V(e);return Rr(()=>{t.current=e}),t}function xw(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[d,c]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=K(r);Dr(p,r)||f(r);const[h,v]=K(null),[g,_]=K(null),y=ae(E=>{E!==k.current&&(k.current=E,v(E))},[]),b=ae(E=>{E!==O.current&&(O.current=E,_(E))},[]),m=i||h,x=a||g,k=V(null),O=V(null),$=V(d),C=l!=null,j=xu(l),D=xu(o),I=ae(()=>{if(!k.current||!O.current)return;const E={placement:t,strategy:n,middleware:p};D.current&&(E.platform=D.current),bw(k.current,O.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!Dr($.current,z)&&($.current=z,Vn(()=>{c(z)}))})},[p,t,n,D]);Rr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);Rr(()=>(L.current=!0,()=>{L.current=!1}),[]),Rr(()=>{if(m&&(k.current=m),x&&(O.current=x),m&&x){if(j.current)return j.current(m,x,I);I()}},[m,x,I,j,C]);const N=_e(()=>({reference:k,floating:O,setReference:y,setFloating:b}),[y,b]),M=_e(()=>({reference:m,floating:x}),[m,x]),S=_e(()=>{const E={position:n,left:0,top:0};if(!M.floating)return E;const U=bu(M.floating,d.x),z=bu(M.floating,d.y);return s?{...E,transform:"translate("+U+"px, "+z+"px)",...yu(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,d.x,d.y]);return _e(()=>({...d,update:I,refs:N,elements:M,floatingStyles:S}),[d,I,N,M,S])}const kw=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?mu({element:r.current,padding:o}).fn(n):{}:r?mu({element:r,padding:o}).fn(n):{}}}},$w=(e,t)=>({...vw(e),options:[e,t]}),jw=(e,t)=>({..._w(e),options:[e,t]}),Sw=(e,t)=>({...yw(e),options:[e,t]}),Ew=(e,t)=>({...gw(e),options:[e,t]}),Cw=(e,t)=>({...ww(e),options:[e,t]}),Ow=(e,t)=>({...mw(e),options:[e,t]}),Aw=(e,t)=>({...kw(e),options:[e,t]});function Tw(e){const[t,n]=K(void 0);return rn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const ku="Popper",[$u,ju]=Gl(ku),[Pw,Su]=$u(ku),Rw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return A(Pw,{scope:t,anchor:r,onAnchorChange:o},n)},Dw="PopperAnchor",Nw=le((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Su(Dw,n),a=V(null),s=Mt(t,a);return J(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:A(nn.div,pe({},o,{ref:s}))}),Eu="PopperContent",[Lw,Ey]=$u(Eu),Mw=le((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:d,side:c="bottom",sideOffset:p=0,align:f="center",alignOffset:h=0,arrowPadding:v=0,avoidCollisions:g=!0,collisionBoundary:_=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:m=!1,updatePositionStrategy:x="optimized",onPlaced:k,...O}=e,$=Su(Eu,d),[C,j]=K(null),D=Mt(t,Z=>j(Z)),[I,L]=K(null),N=Tw(I),M=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,S=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,E=c+(f!=="center"?"-"+f:""),U=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},z=Array.isArray(_)?_:[_],q=z.length>0,se={padding:U,boundary:z.filter(Iw),altBoundary:q},{refs:ue,floatingStyles:Ft,placement:qr,isPositioned:it,middlewareData:at}=xw({strategy:"fixed",placement:E,whileElementsMounted:(...Z)=>hw(...Z,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[$w({mainAxis:p+S,alignmentAxis:h}),g&&jw({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Sw():void 0,...se}),g&&Ew({...se}),Cw({...se,apply:({elements:Z,rects:Se,availableWidth:kt,availableHeight:ce})=>{const{width:ve,height:De}=Se.reference,Ut=Z.floating.style;Ut.setProperty("--radix-popper-available-width",`${kt}px`),Ut.setProperty("--radix-popper-available-height",`${ce}px`),Ut.setProperty("--radix-popper-anchor-width",`${ve}px`),Ut.setProperty("--radix-popper-anchor-height",`${De}px`)}}),I&&Aw({element:I,padding:v}),Fw({arrowWidth:M,arrowHeight:S}),m&&Ow({strategy:"referenceHidden",...se})]}),[Gn,ha]=Cu(qr),_n=gt(k);rn(()=>{it&&(_n==null||_n())},[it,_n]);const Ht=(o=at.arrow)===null||o===void 0?void 0:o.x,Gr=(i=at.arrow)===null||i===void 0?void 0:i.y,G=((a=at.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,fe]=K();return rn(()=>{C&&fe(window.getComputedStyle(C).zIndex)},[C]),A("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ft,transform:it?Ft.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=at.transformOrigin)===null||s===void 0?void 0:s.x,(l=at.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},A(Lw,{scope:d,placedSide:Gn,onArrowChange:L,arrowX:Ht,arrowY:Gr,shouldHideArrow:G},A(nn.div,pe({"data-side":Gn,"data-align":ha},O,{ref:D,style:{...O.style,animation:it?void 0:"none",opacity:(u=at.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Iw(e){return e!==null}const Fw=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,v]=Cu(s),g={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let b="",m="";return h==="bottom"?(b=c?g:`${_}px`,m=`${-f}px`):h==="top"?(b=c?g:`${_}px`,m=`${l.floating.height+f}px`):h==="right"?(b=`${-f}px`,m=c?g:`${y}px`):h==="left"&&(b=`${l.floating.width+f}px`,m=c?g:`${y}px`),{data:{x:b,y:m}}}});function Cu(e){const[t,n="center"]=e.split("-");return[t,n]}const Hw=Rw,Uw=Nw,Vw=Mw,zw=le((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Kl.createPortal(A(nn.div,pe({},o,{ref:t})),r):null});function Ww(e,t){return Fn((n,r)=>{const o=t[n][r];return o??n},e)}const Ji=e=>{const{present:t,children:n}=e,r=Bw(t),o=typeof n=="function"?n({present:r.isPresent}):et.only(n),i=Mt(r.ref,o.ref);return typeof n=="function"||r.isPresent?tn(o,{ref:i}):null};Ji.displayName="Presence";function Bw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=Ww(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return J(()=>{const u=Nr(r.current);i.current=s==="mounted"?u:"none"},[s]),rn(()=>{const u=r.current,d=o.current;if(d!==e){const p=i.current,f=Nr(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),rn(()=>{if(t){const u=c=>{const f=Nr(r.current).includes(c.animationName);c.target===t&&f&&Vn(()=>l("ANIMATION_END"))},d=c=>{c.target===t&&(i.current=Nr(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:ae(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Nr(e){return(e==null?void 0:e.animationName)||"none"}function Yw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Kw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=gt(n),l=ae(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function Kw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=gt(t);return J(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var qw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ln=new WeakMap,Lr=new WeakMap,Mr={},Qi=0,Ou=function(e){return e&&(e.host||Ou(e.parentNode))},Gw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ou(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Xw=function(e,t,n,r){var o=Gw(t,Array.isArray(e)?e:[e]);Mr[n]||(Mr[n]=new WeakMap);var i=Mr[n],a=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))d(p);else{var f=p.getAttribute(r),h=f!==null&&f!=="false",v=(ln.get(p)||0)+1,g=(i.get(p)||0)+1;ln.set(p,v),i.set(p,g),a.push(p),v===1&&h&&Lr.set(p,!0),g===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}})};return d(t),s.clear(),Qi++,function(){a.forEach(function(c){var p=ln.get(c)-1,f=i.get(c)-1;ln.set(c,p),i.set(c,f),p||(Lr.has(c)||c.removeAttribute(r),Lr.delete(c)),f||c.removeAttribute(n)}),Qi--,Qi||(ln=new WeakMap,ln=new WeakMap,Lr=new WeakMap,Mr={})}},Zw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||qw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Xw(r,o,n,"aria-hidden")):function(){return null}},ze=function(){return ze=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ze.apply(this,arguments)};function Au(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Jw(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ir="right-scroll-bar-position",Fr="width-before-scroll-bar",Qw="with-scroll-bars-hidden",em="--removed-body-scroll-bar-size";function tm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function nm(e,t){var n=K(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function rm(e,t){return nm(t||null,function(n){return e.forEach(function(r){return tm(r,n)})})}function om(e){return e}function im(e,t){t===void 0&&(t=om);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return o}function am(e){e===void 0&&(e={});var t=im(null);return t.options=ze({async:!0,ssr:!1},e),t}var Tu=function(e){var t=e.sideCar,n=Au(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return A(r,ze({},n))};Tu.isSideCarExport=!0;function sm(e,t){return e.useMedium(t),Tu}var Pu=am(),ea=function(){},Hr=le(function(e,t){var n=V(null),r=K({onScrollCapture:ea,onWheelCapture:ea,onTouchMoveCapture:ea}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,c=e.shards,p=e.sideCar,f=e.noIsolation,h=e.inert,v=e.allowPinchZoom,g=e.as,_=g===void 0?"div":g,y=Au(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=p,m=rm([n,t]),x=ze(ze({},y),o);return A(re,null,d&&A(b,{sideCar:Pu,removeScrollBar:u,shards:c,noIsolation:f,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?tn(et.only(s),ze(ze({},x),{ref:m})):A(_,ze({},x,{className:l,ref:m}),s))});Hr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Hr.classNames={fullWidth:Fr,zeroRight:Ir};var cm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function lm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=cm();return t&&e.setAttribute("nonce",t),e}function um(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function fm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var dm=function(){var e=0,t=null;return{add:function(n){e==0&&(t=lm())&&(um(t,n),fm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pm=function(){var e=dm();return function(t,n){J(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ru=function(){var e=pm(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},hm={left:0,top:0,right:0,gap:0},ta=function(e){return parseInt(e||"",10)||0},vm=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ta(n),ta(r),ta(o)]},_m=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hm;var t=vm(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},gm=Ru(),wm=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
21
|
+
}`},Eg=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ns}`);return ge(e,`Element with id ${ns} not found.`),e}}))(),Cg=()=>ma(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return oe($n,{Fallback:Zd},[[oe("style",{id:"inploi-job-search-styles"},gg),oe("style",{id:"inploi-job-search-theme"},Sg(o.theme))],oe(Qd,{theme:o.theme}),oe(_g,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,params:o})])};return{prerender:async o=>{o.defaultSearchKeyword&&(Tt.keyword$.value=o.defaultSearchKeyword);const i=o.withData?await as({filters:ai(o.properties),apiClient:e,logger:t,keyword:void 0}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:md(oe(F,{},oe(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?oo:Vt;o.defaultSearchKeyword&&(Tt.keyword$.value=o.defaultSearchKeyword),ge(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(oe(r,{params:o}),Eg.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Cg;function Hc(e,t){if(!e)throw new Error(t)}var Rn,P,Uc,Vc,Pt,zc,Wc,fi,pi,hi,vi,Bc,Dn={},Yc=[],Og=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,br=Array.isArray;function Ze(e,t){for(var n in t)e[n]=t[n];return e}function Kc(e){var t=e.parentNode;t&&t.removeChild(e)}function A(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?Rn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return Nn(e,a,r,o,null)}function Nn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Uc,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function qc(){return{current:null}}function re(e){return e.children}function Oe(e,t){this.props=e,this.context=t}function Rt(e,t){if(t==null)return e.__?Rt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Rt(e):null}function Gc(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Gc(e)}}function _i(e){(!e.__d&&(e.__d=!0)&&Pt.push(e)&&!xr.__r++||zc!==P.debounceRendering)&&((zc=P.debounceRendering)||Wc)(xr)}function xr(){var e,t,n,r,o,i,a,s;for(Pt.sort(fi);e=Pt.shift();)e.__d&&(t=Pt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ze({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),gi(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Rt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,el(a,r,s),r.__e!=i&&Gc(r)),Pt.length>t&&Pt.sort(fi));xr.__r=0}function Xc(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,h,v,g=r&&r.__k||Yc,_=t.length;for(n.__d=l,Ag(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?Dn:g[d.__i]||Dn,d.__i=c,gi(e,d,p,o,i,a,s,l,u,f),h=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&wi(p.ref,null,d),f.push(d.ref,d.__c||h,d)),v==null&&h!=null&&(v=h),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Rt(p)),l=Zc(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:h&&(l=h.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=v}function Ag(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,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?Nn(null,o,null,null,null):br(o)?Nn(re,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Nn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Tg(o,n,a,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=Rt(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=Rt(i)),mi(i,i))}function Zc(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Zc(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Je(e,t){return t=t||[],e==null||typeof e=="boolean"||(br(e)?e.some(function(n){Je(n,t)}):t.push(e)),t}function Tg(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Jc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Og.test(t)?n:n+"px"}function kr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Jc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Jc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=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 Qc(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,h,v,g,_,y,b,m,x,k,O,$,C,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=P.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,y="prototype"in j&&j.prototype.render,b=(f=j.contextType)&&r[f.__c],m=f?b?b.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(y?t.__c=c=new j(_,m):(t.__c=c=new Oe(_,m),c.constructor=j,c.render=Rg),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),y&&c.__s==null&&(c.__s=c.state),y&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ze({},c.__s)),Ze(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,h=c.state,c.__v=t,p)y&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),y&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),y&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,h,v)})}if(c.context=m,c.props=_,c.__P=e,c.__e=!1,k=P.__r,O=0,y){for(c.state=c.__s,c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++O<25);c.state=c.__s,c.getChildContext!=null&&(r=Ze(Ze({},r),c.getChildContext())),y&&!p&&c.getSnapshotBeforeUpdate!=null&&(v=c.getSnapshotBeforeUpdate(d,h)),Xc(e,br(C=f!=null&&f.type===re&&f.key==null?f.props.children:f)?C:[C],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),P.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Pg(n.__e,t,n,r,o,i,a,l,u);(f=P.diffed)&&f(t)}function el(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 Pg(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,h,v,g=n.props,_=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!y&&(y?d.localName===y:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(_);e=document.createElementNS(o,y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&Rn.call(e.childNodes),g=n.props||Dn,!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;kr(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?h=d:u=="checked"?v=d:u==="key"||s&&typeof d!="function"||g[u]===d||kr(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=""),Xc(e,br(p)?p:[p],t,n,r,y==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Rt(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Kc(i[u]);s||(u="value",h!==void 0&&(h!==e[u]||y==="progress"&&!h||y==="option"&&h!==g[u])&&kr(e,u,h,g[u],o),u="checked",v!==void 0&&v!==e[u]&&kr(e,u,v,g[u],o))}return e}function 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||Kc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Rg(e,t,n){return this.constructor(e,n)}function Jt(e,t,n){var r,o,i,a;P.__&&P.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],gi(t,e=(!r&&n||t).__k=A(re,null,[e]),o||Dn,Dn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Rn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),el(i,e,a)}function yi(e,t){Jt(e,t,yi)}function Dg(e,t,n){var r,o,i,a,s=Ze({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?Rn.call(arguments,2):n),Nn(e.type,s,r||e.key,o||e.ref,null)}function Ln(e,t){var n={__c:t="__cC"+Bc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,_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}Rn=Yc.slice,P={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Uc=0,Vc=function(e){return e!=null&&e.constructor==null},Oe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ze({},this.state),typeof e=="function"&&(e=e(Ze({},n),this.props)),e&&Ze(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),_i(this))},Oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_i(this))},Oe.prototype.render=re,Pt=[],Wc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fi=function(e,t){return e.__v.__b-t.__v.__b},xr.__r=0,pi=0,hi=Qc(!1),vi=Qc(!0),Bc=0;var tl=/[\s\n\\/='"\0<>]/,nl=/^(xlink|xmlns|xml)([A-Z])/,Ng=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,Lg=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Mg=/["&<]/;function $r(e){if(e.length===0||Mg.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var rl={},Ig=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Fg=/[A-Z]/g;function Hg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:rl[n]||(rl[n]=n.replace(Fg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Ig.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var bi,Dt,Mn,In,ol=[],il=Array.isArray,xi=Object.assign;function Ug(e,t,n){var r=P.__s;P.__s=!0,bi=P.__b,Dt=P.diffed,Mn=P.__r,In=P.unmount;var o=A(re,null);o.__k=[e];try{var i=He(e,t||sl,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{P.__c&&P.__c(e,ol),P.__s=r,ol.length=0}}function al(){this.__d=!0}var sl={};function cl(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=sl),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=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(),Mn&&Mn(e),n.render(n.props,n.state,t)}function He(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":$r(e+"");if(il(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var 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,h,v,g=e.type,_=e.props,y=t;if(typeof g=="function"){if(g===re){if(_.tpl){for(var b="",m=0;m<_.tpl.length;m++)if(b+=_.tpl[m],_.exprs&&m<_.exprs.length){var x=_.exprs[m];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!il(x)?b+=x:b+=He(x,t,n,r,e,i,a)}return b}if(_.UNSTABLE_comment)return"<!--"+$r(_.UNSTABLE_comment||"")+"-->";h=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];y=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")h=cl(e,y),v=e.__c;else{e.__c=v={__v:e,props:_,context:y,setState:al,forceUpdate:al,__d:!0,__h:[]};for(var O=0;v.__d&&O++<25;)v.__d=!1,Mn&&Mn(e),h=g.call(v,_,y);v.__d=!0}if(v.getChildContext!=null&&(t=xi({},t,v.getChildContext())),(g.getDerivedStateFromError||v.componentDidCatch)&&P.errorBoundaries){var $="";h=h!=null&&h.type===re&&h.key==null?h.props.children:h;try{return $=He(h,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(v.__s=g.getDerivedStateFromError(q)),v.componentDidCatch&&v.componentDidCatch(q,{}),v.__d&&(h=cl(e,t),(v=e.__c).getChildContext!=null&&(t=xi({},t,v.getChildContext())),$=He(h=h!=null&&h.type===re&&h.key==null?h.props.children:h,t,n,r,e,i,a)),$}finally{Dt&&Dt(e),e.__=null,In&&In(e)}}}h=h!=null&&h.type===re&&h.key==null&&h.props.tpl==null?h.props.children:h;try{var C=He(h,t,n,r,e,i,a);return Dt&&Dt(e),e.__=null,P.unmount&&P.unmount(e),C}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return He(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=P.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return He(h,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return He(h,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=Hg(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(nl.test(S))S=S.replace(nl,"$1:$2").toLowerCase();else{if(tl.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?Lg.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):Ng.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+$r(E+"")+'"')}if(tl.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=$r(L):L!=null&&L!==!1&&L!==!0&&(M=He(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Dt&&Dt(e),e.__=null,In&&In(e),!M&&Vg.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var Vg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),zg=0;function R(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--zg,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}const Wg={bell:R("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:R("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":R("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},Bg=({theme:e})=>R("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:R("defs",{children:Object.entries(Wg).map(([t,n])=>R("symbol",{id:`i-icon-${t}`,children:R("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),ll=({name:e,...t})=>R("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:R("use",{href:`#i-icon-${e}`})});function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}var Qe,Y,ki,ul,Qt=0,dl=[],ee=P,fl=ee.__b,pl=ee.__r,hl=ee.diffed,vl=ee.__c,_l=ee.unmount,gl=ee.__;function Nt(e,t){ee.__h&&ee.__h(Y,e,Qt||t),Qt=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function K(e){return Qt=1,Fn(ml,e)}function Fn(e,t,n){var r=Nt(Qe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ml(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var 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=Nt(Qe++,3);!ee.__s&&Ci(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function _t(e,t){var n=Nt(Qe++,4);!ee.__s&&Ci(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function V(e){return Qt=5,_e(function(){return{current:e}},[])}function $i(e,t,n){Qt=6,_t(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function _e(e,t){var n=Nt(Qe++,7);return Ci(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return Qt=8,_e(function(){return e},t)}function Hn(e){var t=Y.context[e.__c],n=Nt(Qe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function ji(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function Yg(e){var t=Nt(Qe++,10),n=K();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Si(){var e=Nt(Qe++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Kg(){for(var e;e=dl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(jr),e.__H.__h.forEach(Ei),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Y=null,fl&&fl(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),gl&&gl(e,t)},ee.__r=function(e){pl&&pl(e),Qe=0;var t=(Y=e.__c).__H;t&&(ki===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(jr),t.__h.forEach(Ei),t.__h=[],Qe=0)),ki=Y},ee.diffed=function(e){hl&&hl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(dl.push(t)!==1&&ul===ee.requestAnimationFrame||((ul=ee.requestAnimationFrame)||qg)(Kg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ki=Y=null},ee.__c=function(e,t){t.some(function(n){try{n.__h.forEach(jr),n.__h=n.__h.filter(function(r){return!r.__||Ei(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(r,n.__v)}}),vl&&vl(e,t)},ee.unmount=function(e){_l&&_l(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{jr(r)}catch(o){t=o}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var wl=typeof requestAnimationFrame=="function";function qg(e){var t,n=function(){clearTimeout(r),wl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);wl&&(t=requestAnimationFrame(n))}function jr(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function 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 ml(e,t){return typeof t=="function"?t(e):t}function yl(e,t){for(var n in t)e[n]=t[n];return e}function 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 Sr(e,t){this.props=e,this.context=t}function bl(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a: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}(Sr.prototype=new Oe).isPureReactComponent=!0,Sr.prototype.shouldComponentUpdate=function(e,t){return Oi(this.props,e)||Oi(this.state,t)};var xl=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xl&&xl(e)};var Gg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(n){var r=yl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Gg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var kl=function(e,t){return e==null?null:Je(Je(e).map(t))},et={map:kl,forEach:kl,count:function(e){return e?Je(e).length:0},only:function(e){var t=Je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Je},Xg=P.__e;P.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Xg(e,t,n,r)};var $l=P.unmount;function jl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=yl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return jl(r,t,n)})),e}function Sl(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Sl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Un(){this.__u=0,this.t=null,this.__b=null}function El(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cl(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return A(n,i)}return o.displayName="Lazy",o.__f=!0,o}function en(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),$l&&$l(e)},(Un.prototype=new Oe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=El(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Sl(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Un.prototype.componentWillUnmount=function(){this.t=[]},Un.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=jl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(re,null,e.fallback);return o&&(o.__u&=-33),[A(re,null,t.__a?null:e.children),o]};var Ol=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Zg(e){return this.getChildContext=function(){return e.context},e.children}function Jg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Jt(A(Zg,{context:t.context},e.__v),t.l)}function Al(e,t){var n=A(Jg,{__v:e,i:t});return n.containerInfo=t,n}(en.prototype=new Oe).__a=function(e){var t=this,n=El(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ol(t,e,r)):o()};n?n(i):i()}},en.prototype.render=function(e){this.u=null,this.o=new Map;var t=Je(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},en.prototype.componentDidUpdate=en.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Ol(e,n,t)})};var Tl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Qg=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,e0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,t0=/[A-Z0-9]/g,n0=typeof document<"u",r0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Pl(e,t,n){return t.__k==null&&(t.textContent=""),Jt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Rl(e,t,n){return 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 Dl=P.event;function o0(){}function i0(){return this.cancelBubble}function a0(){return this.defaultPrevented}P.event=function(e){return Dl&&(e=Dl(e)),e.persist=o0,e.isPropagationStopped=i0,e.isDefaultPrevented=a0,e.nativeEvent=e};var Ai,s0={enumerable:!1,configurable:!0,get:function(){return this.class}},Nl=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||n0&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||r0(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":e0.test(i)?i=s:r.indexOf("-")===-1&&Qg.test(i)?i=i.replace(t0,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Je(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Je(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",s0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Tl,Nl&&Nl(e)};var Ll=P.__r;P.__r=function(e){Ll&&Ll(e),Ai=e.__c};var Ml=P.diffed;P.diffed=function(e){Ml&&Ml(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Ai=null};var Il={ReactCurrentDispatcher:{current:{readContext:function(e){return Ai.__n[e.__c].props.value},useCallback:ae,useContext:Hn,useDebugValue:ji,useDeferredValue:Pi,useEffect:J,useId:Si,useImperativeHandle:$i,useInsertionEffect:Di,useLayoutEffect:_t,useMemo:_e,useReducer:Fn,useRef:V,useState:K,useSyncExternalStore:Ni,useTransition:Ri}}},c0="17.0.2";function Fl(e){return A.bind(null,e)}function tt(e){return!!e&&e.$$typeof===Tl}function Hl(e){return tt(e)&&e.type===re}function Ul(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function tn(e){return tt(e)?Dg.apply(null,arguments):e}function Vl(e){return!!e.__k&&(Jt(null,e),!0)}function zl(e){return e&&(e.base||e.nodeType===1&&e)||null}var Wl=function(e,t){return e(t)},Vn=function(e,t){return e(t)},Bl=re;function Ti(e){e()}function Pi(e){return e}function Ri(){return[!1,Ti]}var Di=_t,Yl=tt;function Ni(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return _t(function(){o.__=n,o.v=t,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 Kl={useState:K,useId:Si,useReducer:Fn,useEffect:J,useLayoutEffect:_t,useInsertionEffect:Di,useTransition:Ri,useDeferredValue:Pi,useSyncExternalStore:Ni,startTransition:Ti,useRef:V,useImperativeHandle:$i,useMemo:_e,useCallback:ae,useContext:Hn,useDebugValue:ji,version:"17.0.2",Children:et,render:Pl,hydrate:Rl,unmountComponentAtNode:Vl,createPortal:Al,createElement:A,createContext:Ln,createFactory:Fl,cloneElement:tn,createRef:qc,Fragment:re,isValidElement:tt,isElement:Yl,isFragment:Hl,isMemo:Ul,findDOMNode:zl,Component:Oe,PureComponent:Sr,memo:bl,forwardRef:le,flushSync:Vn,unstable_batchedUpdates:Wl,StrictMode:Bl,Suspense:Un,SuspenseList:en,lazy:Cl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Il};const l0=Object.freeze(Object.defineProperty({__proto__:null,Children:et,Component:Oe,Fragment:re,PureComponent:Sr,StrictMode:Bl,Suspense:Un,SuspenseList:en,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Il,cloneElement:tn,createContext:Ln,createElement:A,createFactory:Fl,createPortal:Al,createRef:qc,default:Kl,findDOMNode:zl,flushSync:Vn,forwardRef:le,hydrate:Rl,isElement:Yl,isFragment:Hl,isMemo:Ul,isValidElement:tt,lazy:Cl,memo:bl,render:Pl,startTransition:Ti,unmountComponentAtNode:Vl,unstable_batchedUpdates:Wl,useCallback:ae,useContext:Hn,useDebugValue:ji,useDeferredValue:Pi,useEffect:J,useErrorBoundary:Yg,useId:Si,useImperativeHandle:$i,useInsertionEffect:Di,useLayoutEffect:_t,useMemo:_e,useReducer:Fn,useRef:V,useState:K,useSyncExternalStore:Ni,useTransition:Ri,version:c0},Symbol.toStringTag,{value:"Module"}));function Lt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function u0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ql(...e){return t=>e.forEach(n=>u0(n,t))}function Mt(...e){return ae(ql(...e),e)}function Gl(e,t=[]){let n=[];function r(i,a){const s=Ln(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:d,...h}=c,v=(p==null?void 0:p[e][l])||s,g=_e(()=>h,Object.values(h));return A(v.Provider,{value:g},d)}function f(c,p){const d=(p==null?void 0:p[e][l])||s,h=Hn(d);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>Ln(a));return function(s){const l=(s==null?void 0:s[e])||i;return _e(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,d0(o,...t)]}function d0(...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=et.toArray(n),i=o.find(p0);if(i){const a=i.props.children,s=o.map(l=>l===i?et.count(a)>1?et.only(null):tt(a)?a.props.children:null:l);return A(Ii,pe({},r,{ref:t}),tt(a)?tn(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 tt(n)?tn(n,{...h0(r,n.props),ref:t?ql(t,n.ref):n.ref}):et.count(n)>1?et.only(null):null});Ii.displayName="SlotClone";const f0=({children:e})=>A(re,null,e);function p0(e){return tt(e)&&e.type===f0}function h0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const nn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=le((r,o)=>{const{asChild:i,...a}=r,s=i?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 v0(e,t){e&&Vn(()=>e.dispatchEvent(t))}function gt(e){const t=V(e);return J(()=>{t.current=e}),_e(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function _0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e);J(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Fi="dismissableLayer.update",g0="dismissableLayer.pointerDownOutside",w0="dismissableLayer.focusOutside";let Xl;const m0=Ln({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y0=le((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,f=Hn(m0),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=K({}),v=Mt(t,$=>p($)),g=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(_),b=c?g.indexOf(c):-1,m=f.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,k=b0($=>{const C=$.target,j=[...f.branches].some(D=>D.contains(C));!x||j||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),O=x0($=>{const C=$.target;[...f.branches].some(D=>D.contains(C))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return _0($=>{b===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),J(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Xl=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),Zl(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Xl)}},[c,d,r,f]),J(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),Zl())},[c,f]),J(()=>{const $=()=>h({});return document.addEventListener(Fi,$),()=>document.removeEventListener(Fi,$)},[]),A(nn.div,pe({},u,{ref:v,style:{pointerEvents:m?x?"auto":"none":void 0,...e.style},onFocusCapture:Lt(e.onFocusCapture,O.onFocusCapture),onBlurCapture:Lt(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:Lt(e.onPointerDownCapture,k.onPointerDownCapture)}))});function b0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=V(!1),o=V(()=>{});return J(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Jl(g0,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function x0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=V(!1);return J(()=>{const o=i=>{i.target&&!r.current&&Jl(w0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Zl(){const e=new CustomEvent(Fi);document.dispatchEvent(e)}function Jl(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?v0(o,i):o.dispatchEvent(i)}let Hi=0;function k0(){J(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Ql()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Ql()),Hi++,()=>{Hi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Hi--}},[])}function Ql(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Ui="focusScope.autoFocusOnMount",Vi="focusScope.autoFocusOnUnmount",eu={bubbles:!1,cancelable:!0},$0=le((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=K(null),u=gt(o),f=gt(i),c=V(null),p=Mt(t,v=>l(v)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;J(()=>{if(r){let v=function(b){if(d.paused||!s)return;const m=b.target;s.contains(m)?c.current=m:wt(c.current,{select:!0})},g=function(b){if(d.paused||!s)return;const m=b.relatedTarget;m!==null&&(s.contains(m)||wt(c.current,{select:!0}))},_=function(b){if(document.activeElement===document.body)for(const x of b)x.removedNodes.length>0&&wt(s)};document.addEventListener("focusin",v),document.addEventListener("focusout",g);const y=new MutationObserver(_);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",g),y.disconnect()}}},[r,s,d.paused]),J(()=>{if(s){ru.add(d);const v=document.activeElement;if(!s.contains(v)){const _=new CustomEvent(Ui,eu);s.addEventListener(Ui,u),s.dispatchEvent(_),_.defaultPrevented||(j0(A0(tu(s)),{select:!0}),document.activeElement===v&&wt(s))}return()=>{s.removeEventListener(Ui,u),setTimeout(()=>{const _=new CustomEvent(Vi,eu);s.addEventListener(Vi,f),s.dispatchEvent(_),_.defaultPrevented||wt(v??document.body,{select:!0}),s.removeEventListener(Vi,f),ru.remove(d)},0)}}},[s,u,f,d]);const h=ae(v=>{if(!n&&!r||d.paused)return;const g=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,_=document.activeElement;if(g&&_){const y=v.currentTarget,[b,m]=S0(y);b&&m?!v.shiftKey&&_===m?(v.preventDefault(),n&&wt(b,{select:!0})):v.shiftKey&&_===b&&(v.preventDefault(),n&&wt(m,{select:!0})):_===y&&v.preventDefault()}},[n,r,d.paused]);return A(nn.div,pe({tabIndex:-1},a,{ref:p,onKeyDown:h}))});function j0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(wt(r,{select:t}),document.activeElement!==n)return}function S0(e){const t=tu(e),n=nu(t,e),r=nu(t.reverse(),e);return[n,r]}function tu(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nu(e,t){for(const n of e)if(!E0(n,{upTo:t}))return n}function E0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function C0(e){return e instanceof HTMLInputElement&&"select"in e}function wt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&C0(e)&&t&&e.select()}}const ru=O0();function O0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ou(e,t),e.unshift(t)},remove(t){var n;e=ou(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function ou(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function A0(e){return e.filter(t=>t.tagName!=="A")}const rn=globalThis!=null&&globalThis.document?_t:()=>{},T0=l0["useId".toString()]||(()=>{});let P0=0;function R0(e){const[t,n]=K(T0());return rn(()=>{e||n(r=>r??String(P0++))},[e]),e||(t?`radix-${t}`:"")}const D0=["top","right","bottom","left"],Ue=Math.min,$e=Math.max,Er=Math.round,Cr=Math.floor,mt=e=>({x:e,y:e}),N0={left:"right",right:"left",bottom:"top",top:"bottom"},L0={start:"end",end:"start"};function zi(e,t,n){return $e(e,Ue(t,n))}function nt(e,t){return typeof e=="function"?e(t):e}function rt(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function Wi(e){return e==="x"?"y":"x"}function Bi(e){return e==="y"?"height":"width"}function yt(e){return["top","bottom"].includes(rt(e))?"y":"x"}function Yi(e){return Wi(yt(e))}function M0(e,t,n){n===void 0&&(n=!1);const r=on(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=Or(a)),[a,Or(a)]}function I0(e){const t=Or(e);return[Ki(e),t,Ki(t)]}function Ki(e){return e.replace(/start|end/g,t=>L0[t])}function F0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function H0(e,t,n,r){const o=on(e);let i=F0(rt(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Ki)))),i}function Or(e){return e.replace(/left|right|bottom|top/g,t=>N0[t])}function U0(e){return{top:0,right:0,bottom:0,left:0,...e}}function iu(e){return typeof e!="number"?U0(e):{top:e,right:e,bottom:e,left:e}}function Ar(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function au(e,t,n){let{reference:r,floating:o}=e;const i=yt(t),a=Yi(t),s=Bi(a),l=rt(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(on(t)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const V0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=au(u,r,l),p=r,d={},h=0;for(let v=0;v<s.length;v++){const{name:g,fn:_}=s[v],{x:y,y:b,data:m,reset:x}=await _({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:e,floating:t}});f=y??f,c=b??c,d={...d,[g]:{...d[g],...m}},x&&h<=50&&(h++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:f,y:c}=au(u,p,l)),v=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function zn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=nt(t,e),h=iu(d),g=s[p?c==="floating"?"reference":"floating":c],_=Ar(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),y=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),m=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},x=Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:l}):y);return{top:(_.top-x.top+h.top)/m.y,bottom:(x.bottom-_.bottom+h.bottom)/m.y,left:(_.left-x.left+h.left)/m.x,right:(x.right-_.right+h.right)/m.x}}const z0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:f=0}=nt(e,t)||{};if(u==null)return{};const c=iu(f),p={x:n,y:r},d=Yi(o),h=Bi(d),v=await a.getDimensions(u),g=d==="y",_=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",m=i.reference[h]+i.reference[d]-p[d]-i.floating[h],x=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let O=k?k[b]:0;(!O||!await(a.isElement==null?void 0:a.isElement(k)))&&(O=s.floating[b]||i.floating[h]);const $=m/2-x/2,C=O/2-v[h]/2-1,j=Ue(c[_],C),D=Ue(c[y],C),I=j,L=O-v[h]-D,N=O/2-v[h]/2+$,M=zi(I,N,L),S=!l.arrow&&on(o)!=null&&N!==M&&i.reference[h]/2-(N<I?j:D)-v[h]/2<0,E=S?N<I?N-I:N-L:0;return{[d]:p[d]+E,data:{[d]:M,centerOffset:N-M-E,...S&&{alignmentOffset:E}},reset:S}}}),W0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...g}=nt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=rt(o),y=yt(s),b=rt(s)===s,m=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=p||(b||!v?[Or(s)]:I0(s)),k=h!=="none";!p&&k&&x.push(...H0(s,v,h,m));const O=[s,...x],$=await zn(t,g),C=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&C.push($[_]),c){const N=M0(o,a,m);C.push($[N[0]],$[N[1]])}if(j=[...j,{placement:o,overflows:C}],!C.every(N=>N<=0)){var D,I;const N=(((D=i.flip)==null?void 0:D.index)||0)+1,M=O[N];if(M)return{data:{index:N,overflows:j},reset:{placement:M}};let S=(I=j.filter(E=>E.overflows[0]<=0).sort((E,U)=>E.overflows[1]-U.overflows[1])[0])==null?void 0:I.placement;if(!S)switch(d){case"bestFit":{var L;const E=(L=j.filter(U=>{if(k){const z=yt(U.placement);return z===y||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,q)=>z+q,0)]).sort((U,z)=>U[1]-z[1])[0])==null?void 0:L[0];E&&(S=E);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function su(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function cu(e){return D0.some(t=>e[t]>=0)}const B0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=nt(e,t);switch(r){case"referenceHidden":{const i=await zn(t,{...o,elementContext:"reference"}),a=su(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:cu(a)}}}case"escaped":{const i=await zn(t,{...o,altBoundary:!0}),a=su(i,n.floating);return{data:{escapedOffsets:a,escaped:cu(a)}}}default:return{}}}}};async function Y0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=rt(n),s=on(n),l=yt(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=nt(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof h=="number"&&(d=s==="end"?h*-1:h),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const K0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await Y0(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},q0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:_,y}=g;return{x:_,y}}},...l}=nt(e,t),u={x:n,y:r},f=await zn(t,l),c=yt(rt(o)),p=Wi(c);let d=u[p],h=u[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",y=d+f[g],b=d-f[_];d=zi(y,d,b)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",y=h+f[g],b=h-f[_];h=zi(y,h,b)}const v=s.fn({...t,[p]:d,[c]:h});return{...v,data:{x:v.x-n,y:v.y-r}}}}},G0=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=nt(e,t),f={x:n,y:r},c=yt(o),p=Wi(c);let d=f[p],h=f[c];const v=nt(s,t),g=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const b=p==="y"?"height":"width",m=i.reference[p]-i.floating[b]+g.mainAxis,x=i.reference[p]+i.reference[b]-g.mainAxis;d<m?d=m:d>x&&(d=x)}if(u){var _,y;const b=p==="y"?"width":"height",m=["top","left"].includes(rt(o)),x=i.reference[c]-i.floating[b]+(m&&((_=a.offset)==null?void 0:_[c])||0)+(m?0:g.crossAxis),k=i.reference[c]+i.reference[b]+(m?0:((y=a.offset)==null?void 0:y[c])||0)-(m?g.crossAxis:0);h<x?h=x:h>k&&(h=k)}return{[p]:d,[c]:h}}}},X0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=nt(e,t),l=await zn(t,s),u=rt(n),f=on(n),c=yt(n)==="y",{width:p,height:d}=r.floating;let h,v;u==="top"||u==="bottom"?(h=u,v=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,h=f==="end"?"top":"bottom");const g=d-l.top-l.bottom,_=p-l.left-l.right,y=Ue(d-l[h],g),b=Ue(p-l[v],_),m=!t.middlewareData.shift;let x=y,k=b;if(c?k=f||m?Ue(b,_):_:x=f||m?Ue(y,g):g,m&&!f){const $=$e(l.left,0),C=$e(l.right,0),j=$e(l.top,0),D=$e(l.bottom,0);c?k=p-2*($!==0||C!==0?$+C:$e(l.left,l.right)):x=d-2*(j!==0||D!==0?j+D:$e(l.top,l.bottom))}await a({...t,availableWidth:k,availableHeight:x});const O=await o.getDimensions(i.floating);return p!==O.width||d!==O.height?{reset:{rects:!0}}:{}}}};function an(e){return lu(e)?(e.nodeName||"").toLowerCase():"#document"}function je(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(lu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lu(e){return e instanceof Node||e instanceof je(e).Node}function Pe(e){return e instanceof Element||e instanceof je(e).Element}function Ve(e){return e instanceof HTMLElement||e instanceof je(e).HTMLElement}function uu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof je(e).ShadowRoot}function Wn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Z0(e){return["table","td","th"].includes(an(e))}function Tr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function qi(e){const t=Gi(),n=Pe(e)?Re(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function J0(e){let t=bt(e);for(;Ve(t)&&!sn(t);){if(qi(t))return t;if(Tr(t))return null;t=bt(t)}return null}function Gi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sn(e){return["html","body","#document"].includes(an(e))}function Re(e){return je(e).getComputedStyle(e)}function Pr(e){return Pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bt(e){if(an(e)==="html")return e;const t=e.assignedSlot||e.parentNode||uu(e)&&e.host||ot(e);return uu(t)?t.host:t}function du(e){const t=bt(e);return sn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ve(t)&&Wn(t)?t:du(t)}function Bn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=du(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=je(o);if(i){const s=Xi(a);return t.concat(a,a.visualViewport||[],Wn(o)?o:[],s&&n?Bn(s):[])}return t.concat(o,Bn(o,[],n))}function Xi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fu(e){const t=Re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ve(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Er(n)!==i||Er(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Zi(e){return Pe(e)?e:e.contextElement}function cn(e){const t=Zi(e);if(!Ve(t))return mt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=fu(t);let a=(i?Er(n.width):n.width)/r,s=(i?Er(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Q0=mt(0);function pu(e){const t=je(e);return!Gi()||!t.visualViewport?Q0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ew(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==je(e)?!1:t}function It(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Zi(e);let a=mt(1);t&&(r?Pe(r)&&(a=cn(r)):a=cn(e));const s=ew(i,n,r)?pu(i):mt(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const p=je(i),d=r&&Pe(r)?je(r):r;let h=p,v=Xi(h);for(;v&&r&&d!==h;){const g=cn(v),_=v.getBoundingClientRect(),y=Re(v),b=_.left+(v.clientLeft+parseFloat(y.paddingLeft))*g.x,m=_.top+(v.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,u*=g.y,f*=g.x,c*=g.y,l+=b,u+=m,h=je(v),v=Xi(h)}}return Ar({width:f,height:c,x:l,y:u})}function tw(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=ot(r),s=t?Tr(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=mt(1);const f=mt(0),c=Ve(r);if((c||!c&&!i)&&((an(r)!=="body"||Wn(a))&&(l=Pr(r)),Ve(r))){const p=It(r);u=cn(r),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 nw(e){return Array.from(e.getClientRects())}function hu(e){return It(ot(e)).left+Pr(e).scrollLeft}function rw(e){const t=ot(e),n=Pr(e),r=e.ownerDocument.body,o=$e(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=$e(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+hu(e);const s=-n.scrollTop;return Re(r).direction==="rtl"&&(a+=$e(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function ow(e,t){const n=je(e),r=ot(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=Gi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function iw(e,t){const n=It(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ve(e)?cn(e):mt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function vu(e,t,n){let r;if(t==="viewport")r=ow(e,n);else if(t==="document")r=rw(ot(e));else if(Pe(t))r=iw(t,n);else{const o=pu(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ar(r)}function _u(e,t){const n=bt(e);return n===t||!Pe(n)||sn(n)?!1:Re(n).position==="fixed"||_u(n,t)}function aw(e,t){const n=t.get(e);if(n)return n;let r=Bn(e,[],!1).filter(s=>Pe(s)&&an(s)!=="body"),o=null;const i=Re(e).position==="fixed";let a=i?bt(e):e;for(;Pe(a)&&!sn(a);){const s=Re(a),l=qi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Wn(a)&&!l&&_u(e,a))?r=r.filter(f=>f!==a):o=s,a=bt(a)}return t.set(e,r),r}function sw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Tr(t)?[]:aw(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=vu(t,f,o);return u.top=$e(c.top,u.top),u.right=Ue(c.right,u.right),u.bottom=Ue(c.bottom,u.bottom),u.left=$e(c.left,u.left),u},vu(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cw(e){const{width:t,height:n}=fu(e);return{width:t,height:n}}function lw(e,t,n){const r=Ve(t),o=ot(t),i=n==="fixed",a=It(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=mt(0);if(r||!r&&!i)if((an(t)!=="body"||Wn(o))&&(s=Pr(t)),r){const c=It(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=hu(o));const u=a.left+s.scrollLeft-l.x,f=a.top+s.scrollTop-l.y;return{x:u,y:f,width:a.width,height:a.height}}function Ji(e){return Re(e).position==="static"}function gu(e,t){return!Ve(e)||Re(e).position==="fixed"?null:t?t(e):e.offsetParent}function wu(e,t){const n=je(e);if(Tr(e))return n;if(!Ve(e)){let o=bt(e);for(;o&&!sn(o);){if(Pe(o)&&!Ji(o))return o;o=bt(o)}return n}let r=gu(e,t);for(;r&&Z0(r)&&Ji(r);)r=gu(r,t);return r&&sn(r)&&Ji(r)&&!qi(r)?n:r||J0(e)||n}const uw=async function(e){const t=this.getOffsetParent||wu,n=this.getDimensions,r=await n(e.floating);return{reference:lw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function dw(e){return Re(e).direction==="rtl"}const fw={convertOffsetParentRelativeRectToViewportRelativeRect:tw,getDocumentElement:ot,getClippingRect:sw,getOffsetParent:wu,getElementRects:uw,getClientRects:nw,getDimensions:cw,getScale:cn,isElement:Pe,isRTL:dw};function pw(e,t){let n=null,r;const o=ot(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:f,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const d=Cr(f),h=Cr(o.clientWidth-(u+c)),v=Cr(o.clientHeight-(f+p)),g=Cr(u),y={rootMargin:-d+"px "+-h+"px "+-v+"px "+-g+"px",threshold:$e(0,Ue(1,l))||1};let b=!0;function m(x){const k=x[0].intersectionRatio;if(k!==l){if(!b)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(m,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(m,y)}n.observe(e)}return a(!0),i}function hw(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Zi(e),f=o||i?[...u?Bn(u):[],...Bn(t)]:[];f.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?pw(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(_=>{let[y]=_;y&&y.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(t)})),n()}),u&&!l&&d.observe(u),d.observe(t));let h,v=l?It(e):null;l&&g();function g(){const _=It(e);v&&(_.x!==v.x||_.y!==v.y||_.width!==v.width||_.height!==v.height)&&n(),v=_,h=requestAnimationFrame(g)}return n(),()=>{var _;f.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),c==null||c(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(h)}}const vw=K0,_w=q0,gw=W0,ww=X0,mw=B0,mu=z0,yw=G0,bw=(e,t,n)=>{const r=new Map,o={platform:fw,...n},i={...o.platform,_c:r};return V0(e,t,{...o,platform:i})};var Rr=typeof document<"u"?_t:J;function Dr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Dr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function yu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bu(e,t){const n=yu(e);return Math.round(t*n)/n}function xu(e){const t=V(e);return Rr(()=>{t.current=e}),t}function xw(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[f,c]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=K(r);Dr(p,r)||d(r);const[h,v]=K(null),[g,_]=K(null),y=ae(E=>{E!==k.current&&(k.current=E,v(E))},[]),b=ae(E=>{E!==O.current&&(O.current=E,_(E))},[]),m=i||h,x=a||g,k=V(null),O=V(null),$=V(f),C=l!=null,j=xu(l),D=xu(o),I=ae(()=>{if(!k.current||!O.current)return;const E={placement:t,strategy:n,middleware:p};D.current&&(E.platform=D.current),bw(k.current,O.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!Dr($.current,z)&&($.current=z,Vn(()=>{c(z)}))})},[p,t,n,D]);Rr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);Rr(()=>(L.current=!0,()=>{L.current=!1}),[]),Rr(()=>{if(m&&(k.current=m),x&&(O.current=x),m&&x){if(j.current)return j.current(m,x,I);I()}},[m,x,I,j,C]);const N=_e(()=>({reference:k,floating:O,setReference:y,setFloating:b}),[y,b]),M=_e(()=>({reference:m,floating:x}),[m,x]),S=_e(()=>{const E={position:n,left:0,top:0};if(!M.floating)return E;const U=bu(M.floating,f.x),z=bu(M.floating,f.y);return s?{...E,transform:"translate("+U+"px, "+z+"px)",...yu(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,f.x,f.y]);return _e(()=>({...f,update:I,refs:N,elements:M,floatingStyles:S}),[f,I,N,M,S])}const kw=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?mu({element:r.current,padding:o}).fn(n):{}:r?mu({element:r,padding:o}).fn(n):{}}}},$w=(e,t)=>({...vw(e),options:[e,t]}),jw=(e,t)=>({..._w(e),options:[e,t]}),Sw=(e,t)=>({...yw(e),options:[e,t]}),Ew=(e,t)=>({...gw(e),options:[e,t]}),Cw=(e,t)=>({...ww(e),options:[e,t]}),Ow=(e,t)=>({...mw(e),options:[e,t]}),Aw=(e,t)=>({...kw(e),options:[e,t]});function Tw(e){const[t,n]=K(void 0);return rn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const ku="Popper",[$u,ju]=Gl(ku),[Pw,Su]=$u(ku),Rw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return A(Pw,{scope:t,anchor:r,onAnchorChange:o},n)},Dw="PopperAnchor",Nw=le((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Su(Dw,n),a=V(null),s=Mt(t,a);return J(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:A(nn.div,pe({},o,{ref:s}))}),Eu="PopperContent",[Lw,Ey]=$u(Eu),Mw=le((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:h=0,arrowPadding:v=0,avoidCollisions:g=!0,collisionBoundary:_=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:m=!1,updatePositionStrategy:x="optimized",onPlaced:k,...O}=e,$=Su(Eu,f),[C,j]=K(null),D=Mt(t,Z=>j(Z)),[I,L]=K(null),N=Tw(I),M=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,S=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,E=c+(d!=="center"?"-"+d:""),U=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},z=Array.isArray(_)?_:[_],q=z.length>0,se={padding:U,boundary:z.filter(Iw),altBoundary:q},{refs:ue,floatingStyles:Ft,placement:qr,isPositioned:it,middlewareData:at}=xw({strategy:"fixed",placement:E,whileElementsMounted:(...Z)=>hw(...Z,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[$w({mainAxis:p+S,alignmentAxis:h}),g&&jw({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Sw():void 0,...se}),g&&Ew({...se}),Cw({...se,apply:({elements:Z,rects:Se,availableWidth:kt,availableHeight:ce})=>{const{width:ve,height:De}=Se.reference,Ut=Z.floating.style;Ut.setProperty("--radix-popper-available-width",`${kt}px`),Ut.setProperty("--radix-popper-available-height",`${ce}px`),Ut.setProperty("--radix-popper-anchor-width",`${ve}px`),Ut.setProperty("--radix-popper-anchor-height",`${De}px`)}}),I&&Aw({element:I,padding:v}),Fw({arrowWidth:M,arrowHeight:S}),m&&Ow({strategy:"referenceHidden",...se})]}),[Gn,va]=Cu(qr),_n=gt(k);rn(()=>{it&&(_n==null||_n())},[it,_n]);const Ht=(o=at.arrow)===null||o===void 0?void 0:o.x,Gr=(i=at.arrow)===null||i===void 0?void 0:i.y,G=((a=at.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,de]=K();return rn(()=>{C&&de(window.getComputedStyle(C).zIndex)},[C]),A("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ft,transform:it?Ft.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=at.transformOrigin)===null||s===void 0?void 0:s.x,(l=at.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},A(Lw,{scope:f,placedSide:Gn,onArrowChange:L,arrowX:Ht,arrowY:Gr,shouldHideArrow:G},A(nn.div,pe({"data-side":Gn,"data-align":va},O,{ref:D,style:{...O.style,animation:it?void 0:"none",opacity:(u=at.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Iw(e){return e!==null}const Fw=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[h,v]=Cu(s),g={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let b="",m="";return h==="bottom"?(b=c?g:`${_}px`,m=`${-d}px`):h==="top"?(b=c?g:`${_}px`,m=`${l.floating.height+d}px`):h==="right"?(b=`${-d}px`,m=c?g:`${y}px`):h==="left"&&(b=`${l.floating.width+d}px`,m=c?g:`${y}px`),{data:{x:b,y:m}}}});function Cu(e){const[t,n="center"]=e.split("-");return[t,n]}const Hw=Rw,Uw=Nw,Vw=Mw,zw=le((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Kl.createPortal(A(nn.div,pe({},o,{ref:t})),r):null});function Ww(e,t){return Fn((n,r)=>{const o=t[n][r];return o??n},e)}const Qi=e=>{const{present:t,children:n}=e,r=Bw(t),o=typeof n=="function"?n({present:r.isPresent}):et.only(n),i=Mt(r.ref,o.ref);return typeof n=="function"||r.isPresent?tn(o,{ref:i}):null};Qi.displayName="Presence";function Bw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=Ww(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return J(()=>{const u=Nr(r.current);i.current=s==="mounted"?u:"none"},[s]),rn(()=>{const u=r.current,f=o.current;if(f!==e){const p=i.current,d=Nr(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]),rn(()=>{if(t){const u=c=>{const d=Nr(r.current).includes(c.animationName);c.target===t&&d&&Vn(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=Nr(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 Nr(e){return(e==null?void 0:e.animationName)||"none"}function Yw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Kw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=gt(n),l=ae(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function Kw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=gt(t);return J(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var qw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ln=new WeakMap,Lr=new WeakMap,Mr={},ea=0,Ou=function(e){return e&&(e.host||Ou(e.parentNode))},Gw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ou(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Xw=function(e,t,n,r){var o=Gw(t,Array.isArray(e)?e:[e]);Mr[n]||(Mr[n]=new WeakMap);var i=Mr[n],a=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var 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),h=d!==null&&d!=="false",v=(ln.get(p)||0)+1,g=(i.get(p)||0)+1;ln.set(p,v),i.set(p,g),a.push(p),v===1&&h&&Lr.set(p,!0),g===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}})};return f(t),s.clear(),ea++,function(){a.forEach(function(c){var p=ln.get(c)-1,d=i.get(c)-1;ln.set(c,p),i.set(c,d),p||(Lr.has(c)||c.removeAttribute(r),Lr.delete(c)),d||c.removeAttribute(n)}),ea--,ea||(ln=new WeakMap,ln=new WeakMap,Lr=new WeakMap,Mr={})}},Zw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||qw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Xw(r,o,n,"aria-hidden")):function(){return null}},ze=function(){return ze=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ze.apply(this,arguments)};function Au(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Jw(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ir="right-scroll-bar-position",Fr="width-before-scroll-bar",Qw="with-scroll-bars-hidden",em="--removed-body-scroll-bar-size";function tm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function nm(e,t){var n=K(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function rm(e,t){return nm(t||null,function(n){return e.forEach(function(r){return tm(r,n)})})}function om(e){return e}function im(e,t){t===void 0&&(t=om);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var 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 am(e){e===void 0&&(e={});var t=im(null);return t.options=ze({async:!0,ssr:!1},e),t}var Tu=function(e){var t=e.sideCar,n=Au(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return A(r,ze({},n))};Tu.isSideCarExport=!0;function sm(e,t){return e.useMedium(t),Tu}var Pu=am(),ta=function(){},Hr=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,h=e.inert,v=e.allowPinchZoom,g=e.as,_=g===void 0?"div":g,y=Au(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=p,m=rm([n,t]),x=ze(ze({},y),o);return A(re,null,f&&A(b,{sideCar:Pu,removeScrollBar:u,shards:c,noIsolation:d,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?tn(et.only(s),ze(ze({},x),{ref:m})):A(_,ze({},x,{className:l,ref:m}),s))});Hr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Hr.classNames={fullWidth:Fr,zeroRight:Ir};var cm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function lm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=cm();return t&&e.setAttribute("nonce",t),e}function um(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function dm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fm=function(){var e=0,t=null;return{add:function(n){e==0&&(t=lm())&&(um(t,n),dm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pm=function(){var e=fm();return function(t,n){J(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ru=function(){var e=pm(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},hm={left:0,top:0,right:0,gap:0},na=function(e){return parseInt(e||"",10)||0},vm=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[na(n),na(r),na(o)]},_m=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hm;var t=vm(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},gm=Ru(),wm=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
22
22
|
.`.concat(Qw,` {
|
|
23
23
|
overflow: hidden `).concat(r,`;
|
|
24
24
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
@@ -55,13 +55,13 @@ ${n.concat(n).join(`
|
|
|
55
55
|
body {
|
|
56
56
|
`).concat(em,": ").concat(s,`px;
|
|
57
57
|
}
|
|
58
|
-
`)},mm=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=_e(function(){return _m(o)},[o]);return A(gm,{styles:wm(i,!t,o,n?"":"!important")})},
|
|
58
|
+
`)},mm=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=_e(function(){return _m(o)},[o]);return A(gm,{styles:wm(i,!t,o,n?"":"!important")})},ra=!1;if(typeof window<"u")try{var Ur=Object.defineProperty({},"passive",{get:function(){return ra=!0,!0}});window.addEventListener("test",Ur,Ur),window.removeEventListener("test",Ur,Ur)}catch{ra=!1}var un=ra?{passive:!1}:!1,ym=function(e){return e.tagName==="TEXTAREA"},Du=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ym(e)&&n[t]==="visible")},bm=function(e){return Du(e,"overflowY")},xm=function(e){return Du(e,"overflowX")},Nu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Lu(e,n);if(r){var o=Mu(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},km=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},$m=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Lu=function(e,t){return e==="v"?bm(t):xm(t)},Mu=function(e,t){return e==="v"?km(t):$m(t)},jm=function(e,t){return e==="h"&&t==="rtl"?-1:1},Sm=function(e,t,n,r,o){var i=jm(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=Mu(e,s),h=d[0],v=d[1],g=d[2],_=v-g-i*h;(h||_)&&Lu(e,s)&&(c+=_,p+=h),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},Vr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Iu=function(e){return[e.deltaX,e.deltaY]},Fu=function(e){return e&&"current"in e?e.current:e},Em=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Cm=function(e){return`
|
|
59
59
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
60
60
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
61
|
-
`)},Om=0,fn=[];function Am(e){var t=V([]),n=V([0,0]),r=V(),o=K(Om++)[0],i=K(function(){return Ru()})[0],a=V(e);J(function(){a.current=e},[e]),J(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Jw([e.lockRef.current],(e.shards||[]).map(Fu),!0).filter(Boolean);return v.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=ae(function(v,g){if("touches"in v&&v.touches.length===2)return!a.current.allowPinchZoom;var _=Vr(v),y=n.current,b="deltaX"in v?v.deltaX:y[0]-_[0],m="deltaY"in v?v.deltaY:y[1]-_[1],x,k=v.target,O=Math.abs(b)>Math.abs(m)?"h":"v";if("touches"in v&&O==="h"&&k.type==="range")return!1;var $=Nu(O,k);if(!$)return!0;if($?x=O:(x=O==="v"?"h":"v",$=Nu(O,k)),!$)return!1;if(!r.current&&"changedTouches"in v&&(b||m)&&(r.current=x),!x)return!0;var C=r.current||x;return Sm(C,g,v,C==="h"?b:m,!0)},[]),l=ae(function(v){var g=v;if(!(!fn.length||fn[fn.length-1]!==i)){var _="deltaY"in g?Iu(g):Vr(g),y=t.current.filter(function(x){return x.name===g.type&&x.target===g.target&&Em(x.delta,_)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(Fu).filter(Boolean).filter(function(x){return x.contains(g.target)}),m=b.length>0?s(g,b[0]):!a.current.noIsolation;m&&g.cancelable&&g.preventDefault()}}},[]),u=ae(function(v,g,_,y){var b={name:v,delta:g,target:_,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(m){return m!==b})},1)},[]),d=ae(function(v){n.current=Vr(v),r.current=void 0},[]),c=ae(function(v){u(v.type,Iu(v),v.target,s(v,e.lockRef.current))},[]),p=ae(function(v){u(v.type,Vr(v),v.target,s(v,e.lockRef.current))},[]);J(function(){return fn.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,un),document.addEventListener("touchmove",l,un),document.addEventListener("touchstart",d,un),function(){fn=fn.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,un),document.removeEventListener("touchmove",l,un),document.removeEventListener("touchstart",d,un)}},[]);var f=e.removeScrollBar,h=e.inert;return A(re,null,h?A(i,{styles:Cm(o)}):null,f?A(mm,{gapMode:"margin"}):null)}const Tm=sm(Pu,Am);var Hu=le(function(e,t){return A(Hr,ze({},e,{ref:t,sideCar:Tm}))});Hu.classNames=Hr.classNames;const Pm=Hu,Uu="Popover",[Vu,Cy]=Gl(Uu,[ju]),ra=ju(),[Rm,dn]=Vu(Uu),Dm=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=ra(t),l=V(null),[u,d]=K(!1),[c=!1,p]=Yw({prop:r,defaultProp:o,onChange:i});return A(Hw,s,A(Rm,{scope:t,contentId:R0(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:ae(()=>p(f=>!f),[p]),hasCustomAnchor:u,onCustomAnchorAdd:ae(()=>d(!0),[]),onCustomAnchorRemove:ae(()=>d(!1),[]),modal:a},n))},Nm="PopoverTrigger",Lm=le((e,t)=>{const{__scopePopover:n,...r}=e,o=dn(Nm,n),i=ra(n),a=Mt(t,o.triggerRef),s=A(nn.button,pe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Bu(o.open)},r,{ref:a,onClick:Lt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:A(Uw,pe({asChild:!0},i),s)}),zu="PopoverPortal",[Mm,Im]=Vu(zu,{forceMount:void 0}),Fm=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=dn(zu,t);return A(Mm,{scope:t,forceMount:n},A(Ji,{present:n||i.open},A(zw,{asChild:!0,container:o},r)))},Yn="PopoverContent",Hm=le((e,t)=>{const n=Im(Yn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=dn(Yn,e.__scopePopover);return A(Ji,{present:r||i.open},i.modal?A(Um,pe({},o,{ref:t})):A(Vm,pe({},o,{ref:t})))}),Um=le((e,t)=>{const n=dn(Yn,e.__scopePopover),r=V(null),o=Mt(t,r),i=V(!1);return J(()=>{const a=r.current;if(a)return Zw(a)},[]),A(Pm,{as:Li,allowPinchZoom:!0},A(Wu,pe({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Lt(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:Lt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Vm=le((e,t)=>{const n=dn(Yn,e.__scopePopover),r=V(!1),o=V(!1);return A(Wu,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()}}))}),Wu=le((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...c}=e,p=dn(Yn,n),f=ra(n);return k0(),A($0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},A(y0,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},A(Vw,pe({"data-state":Bu(p.open),role:"dialog",id:p.contentId},f,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 Bu(e){return e?"open":"closed"}const zm=Dm,Wm=Lm,Bm=Fm,Ym=Hm;function Yu(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=Yu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function oa(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Yu(e))&&(r&&(r+=" "),r+=t);return r}function zr(){throw new Error("Cycle detected")}var Km=Symbol.for("preact-signals");function ia(){if(pn>1)pn--;else{for(var e,t=!1;Kn!==void 0;){var n=Kn;for(Kn=void 0,aa++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&qu(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(aa=0,pn--,t)throw e}}var ne=void 0,Kn=void 0,pn=0,aa=0,Wr=0;function Ku(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=Km,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 ca(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=Ku(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(ne instanceof xt&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){aa>100&&zr(),this.v=e,this.i++,Wr++,pn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ia()}}}});function Br(e){return new he(e)}function qu(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 Gu(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 Xu(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 xt(e){he.call(this,void 0),this.x=e,this.s=void 0,this.g=Wr-1,this.f=4}(xt.prototype=new he).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Wr))return!0;if(this.g=Wr,this.f|=1,this.i>0&&!qu(this))return this.f&=-2,!0;var e=ne;try{Gu(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,Xu(this),this.f&=-2,!0},xt.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)},xt.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)}},xt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},xt.prototype.peek=function(){if(this.h()||zr(),16&this.f)throw this.v;return this.v},Object.defineProperty(xt.prototype,"value",{get:function(){1&this.f&&zr();var e=Ku(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function qm(e){return new xt(e)}function Zu(e){var t=e.u;if(e.u=void 0,typeof t=="function"){pn++;var n=ne;ne=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,sa(e),r}finally{ne=n,ia()}}}function sa(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Zu(e)}function Gm(e){if(ne!==this)throw new Error("Out-of-order effect");Xu(this),ne=e,this.f&=-2,8&this.f&&sa(this),ia()}function qn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}qn.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()}},qn.prototype.S=function(){1&this.f&&zr(),this.f|=1,this.f&=-9,Zu(this),Gu(this),pn++;var e=ne;return ne=this,Gm.bind(this,e)},qn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Kn,Kn=this)},qn.prototype.d=function(){this.f|=8,1&this.f||sa(this)};function ca(e){var t=new qn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var la;function hn(e,t){P[e]=t.bind(null,P[e]||function(){})}function Yr(e){la&&la(),la=e&&e.S()}function Ju(e){var t=this,n=e.data,r=Zm(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;!Vc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},qm(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Ju.displayName="_st",Object.defineProperties(he.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ju},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),hn("__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)}),hn("__r",function(e,t){Yr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return ca(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Yr(n),e(t)}),hn("__e",function(e,t,n,r){Yr(),e(t,n,r)}),hn("diffed",function(e,t){Yr();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],d=r[l];u===void 0?(u=Xm(n,l,d,o),i[l]=u):u.o(d,o)}}}e(t)});function Xm(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Br(n);return{o:function(a,s){i.value=a,r=s},d:ca(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}hn("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)}),hn("__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 Zm(e){return _e(function(){return Br(e)},[])}const vn={config$:Br({headerText:"",label:""}),filters$:Br({})},Qu="inploi-job-alerts",Jm="ija";var Qm=["1","2","3","4","5","6","7","8","9","10","11","12"],ey={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]}},ty=(e,t=1,n)=>r=>{const[o,i]=ey[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ef=e=>{const t=ty(e.hue,e.chroma,e.mode);return Object.fromEntries(Qm.map(n=>[e.prefix+n,e.transform(t(n))]))},tf=e=>e,ny=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)},Kr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),ua=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Kr(e)&&Kr(n))for(const r in n){const o=n[r];if(Kr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Kr(i)&&ua(i,o)}else Object.assign(e,{[r]:n[r]})}return ua(e,...t)},ry=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},oy=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),d=ny(ua(s,l,u)),c=([p,f],h)=>{const v=[h,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(g=>c(g,v)):[[r.getToken("declaration",v),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[fa,da,iy]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],ay=oy().core(({theme:e})=>({color:{transparent:iy,black:fa,white:da,lowest:e.mode==="light"?da:fa,highest:e.mode==="light"?fa:da,...ef({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:tf}),...ef({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:tf})},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(()=>({})),sy=ry({prefix:"i-"}),cy=e=>{const t=ay.from({theme:e,getToken:sy}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Jm} {
|
|
61
|
+
`)},Om=0,dn=[];function Am(e){var t=V([]),n=V([0,0]),r=V(),o=K(Om++)[0],i=K(function(){return Ru()})[0],a=V(e);J(function(){a.current=e},[e]),J(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Jw([e.lockRef.current],(e.shards||[]).map(Fu),!0).filter(Boolean);return v.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=ae(function(v,g){if("touches"in v&&v.touches.length===2)return!a.current.allowPinchZoom;var _=Vr(v),y=n.current,b="deltaX"in v?v.deltaX:y[0]-_[0],m="deltaY"in v?v.deltaY:y[1]-_[1],x,k=v.target,O=Math.abs(b)>Math.abs(m)?"h":"v";if("touches"in v&&O==="h"&&k.type==="range")return!1;var $=Nu(O,k);if(!$)return!0;if($?x=O:(x=O==="v"?"h":"v",$=Nu(O,k)),!$)return!1;if(!r.current&&"changedTouches"in v&&(b||m)&&(r.current=x),!x)return!0;var C=r.current||x;return Sm(C,g,v,C==="h"?b:m,!0)},[]),l=ae(function(v){var g=v;if(!(!dn.length||dn[dn.length-1]!==i)){var _="deltaY"in g?Iu(g):Vr(g),y=t.current.filter(function(x){return x.name===g.type&&x.target===g.target&&Em(x.delta,_)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(Fu).filter(Boolean).filter(function(x){return x.contains(g.target)}),m=b.length>0?s(g,b[0]):!a.current.noIsolation;m&&g.cancelable&&g.preventDefault()}}},[]),u=ae(function(v,g,_,y){var b={name:v,delta:g,target:_,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(m){return m!==b})},1)},[]),f=ae(function(v){n.current=Vr(v),r.current=void 0},[]),c=ae(function(v){u(v.type,Iu(v),v.target,s(v,e.lockRef.current))},[]),p=ae(function(v){u(v.type,Vr(v),v.target,s(v,e.lockRef.current))},[]);J(function(){return dn.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,un),document.addEventListener("touchmove",l,un),document.addEventListener("touchstart",f,un),function(){dn=dn.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,un),document.removeEventListener("touchmove",l,un),document.removeEventListener("touchstart",f,un)}},[]);var d=e.removeScrollBar,h=e.inert;return A(re,null,h?A(i,{styles:Cm(o)}):null,d?A(mm,{gapMode:"margin"}):null)}const Tm=sm(Pu,Am);var Hu=le(function(e,t){return A(Hr,ze({},e,{ref:t,sideCar:Tm}))});Hu.classNames=Hr.classNames;const Pm=Hu,Uu="Popover",[Vu,Cy]=Gl(Uu,[ju]),oa=ju(),[Rm,fn]=Vu(Uu),Dm=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]=Yw({prop:r,defaultProp:o,onChange:i});return A(Hw,s,A(Rm,{scope:t,contentId:R0(),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))},Nm="PopoverTrigger",Lm=le((e,t)=>{const{__scopePopover:n,...r}=e,o=fn(Nm,n),i=oa(n),a=Mt(t,o.triggerRef),s=A(nn.button,pe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Bu(o.open)},r,{ref:a,onClick:Lt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:A(Uw,pe({asChild:!0},i),s)}),zu="PopoverPortal",[Mm,Im]=Vu(zu,{forceMount:void 0}),Fm=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=fn(zu,t);return A(Mm,{scope:t,forceMount:n},A(Qi,{present:n||i.open},A(zw,{asChild:!0,container:o},r)))},Yn="PopoverContent",Hm=le((e,t)=>{const n=Im(Yn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=fn(Yn,e.__scopePopover);return A(Qi,{present:r||i.open},i.modal?A(Um,pe({},o,{ref:t})):A(Vm,pe({},o,{ref:t})))}),Um=le((e,t)=>{const n=fn(Yn,e.__scopePopover),r=V(null),o=Mt(t,r),i=V(!1);return J(()=>{const a=r.current;if(a)return Zw(a)},[]),A(Pm,{as:Mi,allowPinchZoom:!0},A(Wu,pe({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Lt(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:Lt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Vm=le((e,t)=>{const n=fn(Yn,e.__scopePopover),r=V(!1),o=V(!1);return A(Wu,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()}}))}),Wu=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=fn(Yn,n),d=oa(n);return k0(),A($0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},A(y0,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},A(Vw,pe({"data-state":Bu(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 Bu(e){return e?"open":"closed"}const zm=Dm,Wm=Lm,Bm=Fm,Ym=Hm;function Yu(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=Yu(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=Yu(e))&&(r&&(r+=" "),r+=t);return r}function zr(){throw new Error("Cycle detected")}var Km=Symbol.for("preact-signals");function aa(){if(pn>1)pn--;else{for(var e,t=!1;Kn!==void 0;){var n=Kn;for(Kn=void 0,sa++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&qu(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(sa=0,pn--,t)throw e}}var ne=void 0,Kn=void 0,pn=0,sa=0,Wr=0;function Ku(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=Km,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=Ku(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(ne instanceof xt&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){sa>100&&zr(),this.v=e,this.i++,Wr++,pn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{aa()}}}});function Br(e){return new he(e)}function qu(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 Gu(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 Xu(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 xt(e){he.call(this,void 0),this.x=e,this.s=void 0,this.g=Wr-1,this.f=4}(xt.prototype=new he).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Wr))return!0;if(this.g=Wr,this.f|=1,this.i>0&&!qu(this))return this.f&=-2,!0;var e=ne;try{Gu(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,Xu(this),this.f&=-2,!0},xt.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)},xt.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)}},xt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},xt.prototype.peek=function(){if(this.h()||zr(),16&this.f)throw this.v;return this.v},Object.defineProperty(xt.prototype,"value",{get:function(){1&this.f&&zr();var e=Ku(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function qm(e){return new xt(e)}function Zu(e){var t=e.u;if(e.u=void 0,typeof t=="function"){pn++;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,Zu(e)}function Gm(e){if(ne!==this)throw new Error("Out-of-order effect");Xu(this),ne=e,this.f&=-2,8&this.f&&ca(this),aa()}function qn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}qn.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()}},qn.prototype.S=function(){1&this.f&&zr(),this.f|=1,this.f&=-9,Zu(this),Gu(this),pn++;var e=ne;return ne=this,Gm.bind(this,e)},qn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Kn,Kn=this)},qn.prototype.d=function(){this.f|=8,1&this.f||ca(this)};function la(e){var t=new qn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var ua;function hn(e,t){P[e]=t.bind(null,P[e]||function(){})}function Yr(e){ua&&ua(),ua=e&&e.S()}function Ju(e){var t=this,n=e.data,r=Zm(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;!Vc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},qm(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Ju.displayName="_st",Object.defineProperties(he.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ju},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),hn("__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)}),hn("__r",function(e,t){Yr();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}())),Yr(n),e(t)}),hn("__e",function(e,t,n,r){Yr(),e(t,n,r)}),hn("diffed",function(e,t){Yr();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=Xm(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function Xm(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Br(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))})}}hn("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)}),hn("__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 Zm(e){return _e(function(){return Br(e)},[])}const vn={config$:Br({headerText:"",label:""}),filters$:Br({})},Qu="inploi-job-alerts",Jm="ija";var Qm=["1","2","3","4","5","6","7","8","9","10","11","12"],ey={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]}},ty=(e,t=1,n)=>r=>{const[o,i]=ey[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ed=e=>{const t=ty(e.hue,e.chroma,e.mode);return Object.fromEntries(Qm.map(n=>[e.prefix+n,e.transform(t(n))]))},td=e=>e,ny=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)},Kr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),da=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Kr(e)&&Kr(n))for(const r in n){const o=n[r];if(Kr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Kr(i)&&da(i,o)}else Object.assign(e,{[r]:n[r]})}return da(e,...t)},ry=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},oy=()=>({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=ny(da(s,l,u)),c=([p,d],h)=>{const v=[h,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,v)):[[r.getToken("declaration",v),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[fa,pa,iy]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],ay=oy().core(({theme:e})=>({color:{transparent:iy,black:fa,white:pa,lowest:e.mode==="light"?pa:fa,highest:e.mode==="light"?fa:pa,...ed({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:td}),...ed({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:td})},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(()=>({})),sy=ry({prefix:"i-"}),cy=e=>{const t=ay.from({theme:e,getToken:sy}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Jm} {
|
|
62
62
|
${n.concat(n).join(`
|
|
63
63
|
`)}
|
|
64
|
-
}`},
|
|
64
|
+
}`},nd=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},ly=({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]",uy=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.",dy=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:rd,...t,children:[R(ll,{class:"flex-none",name:"bell"})," ",R("span",{class:"min-w-0 truncate text-center",children:vn.config$.value.label})]})),fy=()=>R("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:vn.config$.value.headerText});function rd(){}const py=({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(),[h,...v]=(d==null?void 0:d.split(" "))??[],g=v.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:h,last_name:g},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:vn.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(uy(_)),o("idle")})};return R("div",{id:"ija",children:R("div",{class:nd(e).join(" "),children:R(zm,{children:[R(Wm,{asChild:!0,children:R(dy,{})}),R(Bm,{children:R("div",{id:"ija",children:R("div",{class:ia("absolute isolate z-50",nd(e).join(" ")),children:R(Ym,{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(fy,{}),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(ll,{name:"chevron-up-down"})})]})]}),R("button",{onTouchStart:rd,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(ly,{error:i})]})]})})})})]})})})},hy=`#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
|
-
`,
|
|
1070
|
+
`,od=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Qu}`);return Hc(e,`Element with id ${Qu} not found.`),e}}),vy=od(),_y=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:od,jobAlertsPlugin:()=>ma(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>A(re,{},[[A("style",{id:"inploi-job-alerts-styles"},hy),A("style",{id:"inploi-job-search-theme"},cy(s.theme))],A(Bg,{theme:s.theme}),A(py,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>vn.filters$.value=s,a=s=>vn.config$.value=typeof s=="function"?s(vn.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:Ug(A(re,{},A(o,{params:s})))}),render:async s=>{const l=r?yi:Jt;Hc(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}),vy.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
|