@inploi/plugin-job-search 0.12.0 → 0.14.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 +15 -15
- package/cdn/style.css +1 -1
- package/dist/job-search.api.d.ts +28 -28
- package/dist/job-search.d.ts +9 -9
- package/dist/job-search.schemas.d.ts +20 -20
- package/dist/plugin-job-search.cjs +84 -24
- package/dist/plugin-job-search.js +84 -24
- package/dist/style.css +25 -9
- package/package.json +2 -2
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var tm=Object.defineProperty;var em=(ht,dt,he)=>dt in ht?tm(ht,dt,{enumerable:!0,configurable:!0,writable:!0,value:he}):ht[dt]=he;var Ni=(ht,dt,he)=>(em(ht,typeof dt!="symbol"?dt+"":dt,he),he);(function(){"use strict";var ht=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function dt(t,e){if(!t)throw new Error(e)}function he(t,e){return t in e}var Li=t=>t,cn,P,Mi,ve,Fi,Ii,Mr,Fr,Ir,Hr,Hi,ln={},Vi=[],mu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ln=Array.isArray;function Tt(t,e){for(var n in e)t[n]=e[n];return t}function zi(t){var e=t.parentNode;e&&e.removeChild(t)}function Q(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?cn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return un(t,a,r,o,null)}function un(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Mi,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function Ui(){return{current:null}}function I(t){return t.children}function yt(t,e){this.props=t,this.context=e}function _e(t,e){if(e==null)return t.__?_e(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?_e(t):null}function Wi(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Wi(t)}}function Vr(t){(!t.__d&&(t.__d=!0)&&ve.push(t)&&!Mn.__r++||Fi!==P.debounceRendering)&&((Fi=P.debounceRendering)||Ii)(Mn)}function Mn(){var t,e,n,r,o,i,a,s;for(ve.sort(Mr);t=ve.shift();)t.__d&&(e=ve.length,r=void 0,i=(o=(n=t).__v).__e,a=[],s=[],n.__P&&((r=Tt({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),zr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??_e(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Gi(a,r,s),r.__e!=i&&Wi(r)),ve.length>e&&ve.sort(Mr));Mn.__r=0}function Bi(t,e,n,r,o,i,a,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Vi,v=e.length;for(n.__d=l,yu(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?ln:w[d.__i]||ln,d.__i=c,zr(t,d,p,o,i,a,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Ur(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!t.contains(l)&&(l=_e(p)),l=Yi(d,l,t)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function yu(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)a=r+c,(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?un(null,o,null,null,null):Ln(o)?un(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?un(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=bu(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==t.__d&&(t.__d=_e(i)),Wr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=_e(i)),Wr(i,i))}function Yi(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=Yi(r[o],e,n));return e}t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Rt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Ln(t)?t.some(function(n){Rt(n,e)}):e.push(t)),e}function bu(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[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<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Ki(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||mu.test(e)?n:n+"px"}function Fn(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ki(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Ki(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Fr,t.addEventListener(e,i?Hr:Ir,i)):t.removeEventListener(e,i?Hr:Ir,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function qi(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Fr++;else if(e.t<n.u)return;return n(P.event?P.event(e):e)}}}function zr(t,e,n,r,o,i,a,s,l,u){var f,c,p,d,_,h,w,v,x,m,b,y,k,S,$,j,O=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(f=P.__b)&&f(e);t:if(typeof O=="function")try{if(v=e.props,x="prototype"in O&&O.prototype.render,m=(f=O.contextType)&&r[f.__c],b=f?m?m.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:(x?e.__c=c=new O(v,b):(e.__c=c=new yt(v,b),c.constructor=O,c.render=$u),m&&m.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),x&&c.__s==null&&(c.__s=c.state),x&&O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Tt({},c.__s)),Tt(c.__s,O.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)x&&O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),x&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(x&&O.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(N){N&&(N.__=e)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,b),x&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=t,c.__e=!1,k=P.__r,S=0,x){for(c.state=c.__s,c.__d=!1,k&&k(e),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(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++S<25);c.state=c.__s,c.getChildContext!=null&&(r=Tt(Tt({},r),c.getChildContext())),x&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Bi(t,Ln(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),w&&(c.__E=c.__=null)}catch(N){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),P.__e(N,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=xu(n.__e,e,n,r,o,i,a,l,u);(f=P.diffed)&&f(e)}function Gi(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Ur(n[r],n[++r],n[++r]);P.__c&&P.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function xu(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,x=e.type;if(x==="svg"?o="http://www.w3.org/2000/svg":x==="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==!!x&&(x?d.localName===x:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(x===null)return document.createTextNode(v);t=document.createElementNS(o,x,v.is&&v),i=null,s=!1}if(x===null)w===v||s&&t.data===v||(t.data=v);else{if(i=i&&cn.call(t.childNodes),w=n.props||ln,!s&&i!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)if(d=w[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;Fn(t,u,null,d,o)}}for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||Fn(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),Bi(t,Ln(p)?p:[p],e,n,r,x==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&_e(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&zi(i[u]);s||(u="value",_!==void 0&&(_!==t[u]||x==="progress"&&!_||x==="option"&&_!==w[u])&&Fn(t,u,_,w[u],o),u="checked",h!==void 0&&h!==t[u]&&Fn(t,u,h,w[u],o))}return t}function Ur(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){P.__e(r,n)}}function Wr(t,e,n){var r,o;if(P.unmount&&P.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Ur(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Wr(r[o],e,n||typeof t.type!="function");n||t.__e==null||zi(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function $u(t,e,n){return this.constructor(t,n)}function Ne(t,e,n){var r,o,i,a;P.__&&P.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],zr(e,t=(!r&&n||e).__k=Q(I,null,[t]),o||ln,ln,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?cn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),Gi(i,t,a)}function Br(t,e){Ne(t,e,Br)}function ku(t,e,n){var r,o,i,a,s=Tt({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?cn.call(arguments,2):n),un(t.type,s,r||t.key,o||t.ref,null)}function Yr(t,e){var n={__c:e="__cC"+Hi++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=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,Vr(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}cn=Vi.slice,P={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Mi=0,yt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Tt({},this.state),typeof t=="function"&&(t=t(Tt({},n),this.props)),t&&Tt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Vr(this))},yt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Vr(this))},yt.prototype.render=I,ve=[],Ii=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Mr=function(t,e){return t.__v.__b-e.__v.__b},Mn.__r=0,Fr=0,Ir=qi(!1),Hr=qi(!0),Hi=0;var Xi=/[\s\n\\/='"\0<>]/,Zi=/^(xlink|xmlns|xml)([A-Z])/,ju=/^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]/,Eu=/^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/,Su=/["&<]/;function In(t){if(t.length===0||Su.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var Ji={},Cu=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"]),Ou=/[A-Z]/g;function Au(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ji[n]||(Ji[n]=n.replace(Ou,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Cu.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Kr,ge,dn,fn,Qi=[],ta=Array.isArray,qr=Object.assign;function Pu(t,e,n){var r=P.__s;P.__s=!0,Kr=P.__b,ge=P.diffed,dn=P.__r,fn=P.unmount;var o=Q(I,null);o.__k=[t];try{var i=Ct(t,e||na,!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(t,Qi),P.__s=r,Qi.length=0}}function ea(){this.__d=!0}var na={};function ra(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=na),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=qr({},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(),dn&&dn(t),n.render(n.props,n.state,e)}function Ct(t,e,n,r,o,i,a){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":In(t+"");if(ta(t)){var s,l="";o.__k=t;for(var u=0;u<t.length;u++){var f=t[u];if(f!=null&&typeof f!="boolean"){var c,p=Ct(f,e,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(t.constructor!==void 0)return"";t.__=o,Kr&&Kr(t);var d,_,h,w=t.type,v=t.props,x=e;if(typeof w=="function"){if(w===I){if(v.tpl){for(var m="",b=0;b<v.tpl.length;b++)if(m+=v.tpl[b],v.exprs&&b<v.exprs.length){var y=v.exprs[b];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!ta(y)?m+=y:m+=Ct(y,e,n,r,t,i,a)}return m}if(v.UNSTABLE_comment)return"<!--"+In(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=w.contextType)!=null){var k=e[d.__c];x=k?k.props.value:d.__}if(w.prototype&&typeof w.prototype.render=="function")_=ra(t,x),h=t.__c;else{t.__c=h={__v:t,props:v,context:x,setState:ea,forceUpdate:ea,__d:!0,__h:[]};for(var S=0;h.__d&&S++<25;)h.__d=!1,dn&&dn(t),_=w.call(h,v,x);h.__d=!0}if(h.getChildContext!=null&&(e=qr({},e,h.getChildContext())),(w.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var $="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return $=Ct(_,e,n,r,t,i,a)}catch(pt){return w.getDerivedStateFromError&&(h.__s=w.getDerivedStateFromError(pt)),h.componentDidCatch&&h.componentDidCatch(pt,{}),h.__d&&(_=ra(t,e),(h=t.__c).getChildContext!=null&&(e=qr({},e,h.getChildContext())),$=Ct(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,e,n,r,t,i,a)),$}finally{ge&&ge(t),t.__=null,fn&&fn(t)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=Ct(_,e,n,r,t,i,a);return ge&&ge(t),t.__=null,P.unmount&&P.unmount(t),j}catch(pt){if(!i&&a&&a.onError){var O=a.onError(pt,t,function(ut){return Ct(ut,e,n,r,t,i,a)});if(O!==void 0)return O;var N=P.__e;return N&&N(pt,t),""}if(!i||!pt||typeof pt.then!="function")throw pt;var L=function ut(){try{return Ct(_,e,n,r,t,i,a)}catch(wt){if(!wt||typeof wt.then!="function")throw wt;return wt.then(function(){return Ct(_,e,n,r,t,i,a)},function(){return ut()})}};return pt.then(function(){return L()})}}var M,D="<"+w,F="";for(var R in v){var T=v[R];switch(R){case"children":M=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",w){case"textarea":M=T;continue;case"select":r=T;continue;case"option":r!=T||"selected"in v||(D+=" selected")}break;case"dangerouslySetInnerHTML":F=T&&T.__html;continue;case"style":typeof T=="object"&&(T=Au(T));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(Zi.test(R))R=R.replace(Zi,"$1:$2").toLowerCase();else{if(Xi.test(R))continue;R[4]!=="-"&&R!=="draggable"||T==null?n?Eu.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):ju.test(R)&&(R=R.toLowerCase()):T+=""}}T!=null&&T!==!1&&typeof T!="function"&&(D=T===!0||T===""?D+" "+R:D+" "+R+'="'+In(T+"")+'"')}if(Xi.test(w))throw new Error(w+" is not a valid HTML tag name in "+D+">");if(F||(typeof M=="string"?F=In(M):M!=null&&M!==!1&&M!==!0&&(F=Ct(M,e,w==="svg"||w!=="foreignObject"&&n,r,t,i,a))),ge&&ge(t),t.__=null,fn&&fn(t),!F&&Tu.has(w))return D+"/>";var tt="</"+w+">",ct=D+">";return Array.isArray(F)?[ct].concat(F,[tt]):typeof F!="string"?[ct,F,tt]:ct+F+tt}var Tu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Hn=class extends Error{constructor(e){super(e[0].message);Ni(this,"issues");this.name="ValiError",this.issues=e}};function oa(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function pn(t){return{issues:t}}function we(t){return{output:t}}function Ru(t,e){return{reason:t==null?void 0:t.reason,validation:e.validation,origin:(t==null?void 0:t.origin)||"value",message:e.message,input:e.input,path:e.path,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Du(t,e){return{reason:e,origin:t==null?void 0:t.origin,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Xt(t,e,n,r){if(!e||!e.length||n!=null&&n.skipPipe)return we(t);let o,i,a=t;for(const s of e){const l=s._parse(a);if(l.issues){o=o||Du(n,r);for(const u of l.issues){const f=Ru(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?pn(i):we(a)}function Zt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function ia(t){return typeof t=="function"?t():t}function Nu(t,e,n,r){return pn([{validation:t,message:ia(e),input:n,requirement:r}])}function Lu(t,e,n){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=Zt(e,n);return[t,i,a]}const[r,o]=Zt(t,e);return[void 0,r,o]}function Jt(t,e,n,r,o,i){return{issues:[{reason:e,validation:n,origin:(t==null?void 0:t.origin)||"value",message:ia(r),input:o,issues:i,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}]}}function aa(t){return typeof t.default=="function"?t.default():t.default}function Mu(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Xt(e,this.pipe,n,"any")}}}function sa(t,e,n){const[r="Invalid type",o]=Zt(e,n);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return Jt(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?pn(s):Xt(l,this.pipe,a,"array")}}}function ca(t,e){const[n="Invalid type",r]=Zt(t,e);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?Jt(i,"type","boolean",this.message,o):Xt(o,this.pipe,i,"boolean")}}}function Qt(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(n,r){return n!==this.literal?Jt(r,"type","literal",this.message,n):we(n)}}}function te(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(n,r){if(n===null){const o=aa(this);if(o===void 0)return we(n);n=o}return this.wrapped._parse(n,r)}}}function Le(t,e){const[n="Invalid type",r]=Zt(t,e);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?Jt(i,"type","number",this.message,o):Xt(o,this.pipe,i,"number")}}}function Vn(t,e,n,r){const[o,i="Invalid type",a]=Lu(e,n,r);let s;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return Jt(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=l[p],h=d._parse(_,u);if(h.issues){const w={type:"object",input:l,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(w):v.path=[w],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],_=this.rest._parse(d,u);if(_.issues){const h={type:"object",input:l,key:p,value:d};for(const w of _.issues)w.path?w.path.unshift(h):w.path=[h],f==null||f.push(w);if(f||(f=_.issues),u!=null&&u.abortEarly)break}else c[p]=_.output}}return f?pn(f):Xt(c,this.pipe,u,"object")}}}function me(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=aa(this);if(o===void 0)return we(n);n=o}return this.wrapped._parse(n,r)}}}function X(t,e){const[n="Invalid type",r]=Zt(t,e);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?Jt(i,"type","string",this.message,o):Xt(o,this.pipe,i,"string")}}}function Fu(t,e,n,r){if(typeof e=="object"&&!Array.isArray(e)){const[a,s]=Zt(n,r);return[t,e,a,s]}const[o,i]=Zt(e,n);return[X(),t,o,i]}var Iu=["__proto__","prototype","constructor"];function la(t,e,n,r){const[o,i,a="Invalid type",s]=Fu(t,e,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return Jt(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Iu.includes(p)){let _;const h=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(h.issues){_={type:"record",input:l,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const w=this.value._parse(d,u);if(w.issues){_=_||{type:"record",input:l,key:p,value:d};for(const v of w.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=w.issues),u!=null&&u.abortEarly)break}!h.issues&&!w.issues&&(c[h.output]=w.output)}return f?pn(f):Xt(c,this.pipe,u,"record")}}}function ua(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_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?we(i[0]):Jt(r,"type","union",this.message,n,o)}}}function da(t,e,n){const r=t._parse(e,n);if(r.issues)throw new Hn(r.issues);return r.output}function Hu(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new Hn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function fa(t,e,n){return{...t,_parse(r,o){const i=t._parse(r,o);if(i.issues)return i;const a=e(i.output);return n&&!Array.isArray(n)?n._parse(a,o):Xt(a,n,o,typeof a)}}}function Vu(t="Invalid URL"){return{type:"url",async:!1,message:t,requirement(e){try{return new URL(e),!0}catch{return!1}},_parse(e){return this.requirement(e)?we(e):Nu(this.type,this.message,e,this.requirement)}}}const pa="inploi-job-search",ha="ijs",zn=10,va={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},zu=t=>{const{salary:e,config:n}=t,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:e.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(e.pay_display===!1)return;if(e.pay_mask)return"Competitive";if(e.pay_max&&isNaN(+e.pay_max)||e.pay_min&&isNaN(+e.pay_min)||e.pay&&isNaN(+e.pay))return"Invalid salary";const o=e.pay_type&&e.pay_type in va?va[e.pay_type]:void 0;return e.pay?[r.format(+e.pay),o].filter(Boolean).join(" "):e.pay_max&&e.pay_min?[r.formatRange(+e.pay_min,+e.pay_max),o].filter(Boolean).join(" "):e.pay_max?"Up to "+[r.format(+e.pay_max),o].filter(Boolean).join(" "):e.pay_min?"From "+[r.format(+e.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Uu=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Wu=({from:t=new Date,to:e,formatter:n=Uu})=>{const o=(e instanceof Date?e:new Date(e)).getTime()-t.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?"a long time ago":"in a long time"},Bu=1e3*60*60*24*7,Yu=la(sa(Vn({label:oa(X(),String),value:oa(X(),String),jobs:Le()}))),Ku=X([Vu()]),qu=Vn({total:Le(),current_page:Le(),per_page:Le(),last_page:Le()}),Gu=Vn({id:Le(),company_name:X(),company_logo:te(me(X())),employment_type:X(),location_type:ua([Qt("LOCATION"),Qt("REMOTE"),Qt("HYBRID")]),pay_type:te(ua([Qt("ANNUALLY"),Qt("HOURLY"),Qt("MONTHLY"),Qt("WEEKLY"),Qt("DAILY")])),pay_currency:X(),pay_mask:ca(),pay_display:ca(),pay:te(X()),pay_min:te(X()),pay_max:te(X()),description:X(),title:X(),contract_type:te(X()),created_at:te(X()),custom_data:te(la(Mu())),href:X(),industry:me(X()),category:me(X()),skills:me(X()),town:me(X()),city:me(X()),country:me(X())}),Xu=fa(Gu,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-Bu:!1,n=Hu(Ku,t.company_logo);return{raw:t,id:t.id,isNew:e,company:{name:t.company_name,logo:n.success?n.output:void 0},employmentType:t.employment_type,locationType:t.location_type,pay:zu({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Wu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Zu=fa(Vn({data:sa(Xu),pagination:qu}),t=>({pagination:t.pagination,results:t.data})),_a=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),ga=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:_a(e)}),signal:r});return da(Yu,o)}catch(o){throw o instanceof Hn?n.error(o.message,o.issues):n.error(o),o}},wa=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${zn}`,{method:"POST",body:JSON.stringify({filters:_a(r)}),signal:n});return da(Zu,i)}catch(i){throw i instanceof Hn?e.error(i.message,i.issues):e.error(i),i}},Gr=t=>{if(t.error)return{state:"error",error:t.error,swr:t};if(t.isLoading&&t.data===void 0)return{state:"loading",swr:t};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data,swr:t};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data,swr:t};throw new Error("Unhandled data state")},Xr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Ju=0;function g(t,e,n,r,o,i){e||(e={});var a,s,l=e;if("ref"in l)for(s in l={},e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Ju,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}function ma(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=ma(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Qu(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=ma(t))&&(r&&(r+=" "),r+=e);return r}function ya(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ya(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Zr(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ya(t))&&(r&&(r+=" "),r+=e);return r}const ba=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,td=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(t==null||(s=t.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Zr(i)):typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Zr(i)):Zr(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 e(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 e(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],_=l==null?void 0:l[p],h=ba(d)||ba(_);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:_,className:h,...w}=d;return Object.entries(w).every(v=>{let[x,m]=v;const b=f[x];return Array.isArray(m)?m.includes(b):b===m})?[...p,_,h]:p},[]);return e(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:nm,cva:ye,cx:rm}=td(),hn=ye({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}}),ed=({error:t,resetError:e})=>g("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[g("p",{children:t.message}),g("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ee=({error:t,resetError:e,class:n,...r})=>g("div",{class:Qu("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),g("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:t.message})]}),g("button",{class:hn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class vn extends yt{constructor(){super(...arguments);Ni(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return g(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const nd={briefcase:g(I,{children:[g("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),g("path",{d:"M4.75 11.75H19.25"}),g("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),g("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:g(I,{children:[g("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),g("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),g("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),g("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),g("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),g("circle",{cx:"18.75",cy:"12",r:"2"}),g("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:g(I,{children:[g("path",{d:"M16.75 10.25H13.75"}),g("path",{d:"M16.75 13.25H13.75"}),g("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),g("path",{d:"M10.25 12.25V18.25"})]}),circles:g(I,{children:[g("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),g("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:g(I,{children:[g("path",{d:"M14 9L12 13L9.5 12"}),g("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:g(I,{children:g("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:g(I,{children:[g("path",{d:"M5 13.75H19"}),g("path",{d:"M5 10.25H19"}),g("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),g("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:g(I,{children:[g("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),g("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),g("path",{d:"M16 16L19 19"})]}),mapPin:g(I,{children:g(I,{children:[g("circle",{cx:"12",cy:"9",r:"2"}),g("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),g("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:g(I,{children:[g("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),g("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:g(I,{children:[g("path",{d:"M18.5 8.5L17.5 9.5"}),g("path",{d:"M5.5 8.5L6.5 9.5"}),g("path",{d:"M12 6L12 7.5"}),g("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),g("path",{d:"M20.25 15.25H12H3.75"}),g("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:g("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:g("path",{d:"M12 8V16M8 12H16"}),"chevron-right":g("path",{d:"M11 8L15 12L11 16"})},rd=({theme:t})=>g("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:g("defs",{children:Object.entries(nd).map(([e,n])=>{var r;return g("symbol",{id:`i-icon-${e}`,children:g("g",{fill:"none","stroke-width":t.mode==="dark"&&((r=t.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),ne=({name:t,...e})=>g("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:g("use",{href:`#i-icon-${t}`})});var Dt,z,Jr,xa,Me=0,$a=[],q=P,ka=q.__b,ja=q.__r,Ea=q.diffed,Sa=q.__c,Ca=q.unmount,Oa=q.__;function be(t,e){q.__h&&q.__h(z,t,Me||e),Me=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function bt(t){return Me=1,Un(Pa,t)}function Un(t,e,n){var r=be(Dt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Pa(void 0,e),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=z,!z.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))};z.u=!0;var i=z.shouldComponentUpdate,a=z.componentWillUpdate;z.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)},z.shouldComponentUpdate=o}return r.__N||r.__}function Et(t,e){var n=be(Dt++,3);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,z.__H.__h.push(n))}function re(t,e){var n=be(Dt++,4);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,z.__h.push(n))}function vt(t){return Me=5,oe(function(){return{current:t}},[])}function Qr(t,e,n){Me=6,re(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function oe(t,e){var n=be(Dt++,7);return no(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function xe(t,e){return Me=8,oe(function(){return t},e)}function Wn(t){var e=z.context[t.__c],n=be(Dt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(z)),e.props.value):t.__}function Bn(t,e){q.useDebugValue&&q.useDebugValue(e?e(t):t)}function od(t){var e=be(Dt++,10),n=bt();return e.__=t,z.componentDidCatch||(z.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function to(){var t=be(Dt++,11);if(!t.__){for(var e=z.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function id(){for(var t;t=$a.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Yn),t.__H.__h.forEach(eo),t.__H.__h=[]}catch(e){t.__H.__h=[],q.__e(e,t.__v)}}q.__b=function(t){z=null,ka&&ka(t)},q.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Oa&&Oa(t,e)},q.__r=function(t){ja&&ja(t),Dt=0;var e=(z=t.__c).__H;e&&(Jr===z?(e.__h=[],z.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(Yn),e.__h.forEach(eo),e.__h=[],Dt=0)),Jr=z},q.diffed=function(t){Ea&&Ea(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&($a.push(e)!==1&&xa===q.requestAnimationFrame||((xa=q.requestAnimationFrame)||ad)(id)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Jr=z=null},q.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Yn),n.__h=n.__h.filter(function(r){return!r.__||eo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],q.__e(r,n.__v)}}),Sa&&Sa(t,e)},q.unmount=function(t){Ca&&Ca(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Yn(r)}catch(o){e=o}}),n.__H=void 0,e&&q.__e(e,n.__v))};var Aa=typeof requestAnimationFrame=="function";function ad(t){var e,n=function(){clearTimeout(r),Aa&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Aa&&(e=requestAnimationFrame(n))}function Yn(t){var e=z,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),z=e}function eo(t){var e=z;t.__c=t.__(),z=e}function no(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Pa(t,e){return typeof e=="function"?e(t):e}const Kn=t=>{const e=Object.entries(t.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`${t.baseKey}::${e}`},om="",sd=t=>{const e=Object.entries(t).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(e)},cd=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=bt();return Et(()=>{Promise.resolve().then(()=>Jw).then(s=>a(s.jobAlertsPlugin()({analytics:t,apiClient:e,logger:n})))},[t,e,n]),Et(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Et(()=>{i==null||i.setFilters(sd(o))},[o,i]),g("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Ta(t,e){for(var n in e)t[n]=e[n];return t}function ro(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function qn(t,e){this.props=t,this.context=e}function Ra(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:ro(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(qn.prototype=new yt).isPureReactComponent=!0,qn.prototype.shouldComponentUpdate=function(t,e){return ro(this.props,t)||ro(this.state,e)};var Da=P.__b;P.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Da&&Da(t)};var ld=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Na(t){function e(n){var r=Ta({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=ld,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var La=function(t,e){return t==null?null:Rt(Rt(t).map(e))},Ma={map:La,forEach:La,count:function(t){return t?Rt(t).length:0},only:function(t){var e=Rt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Rt},ud=P.__e;P.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}ud(t,e,n,r)};var Fa=P.unmount;function Ia(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Ta({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Ia(r,e,n)})),t}function Ha(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Ha(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function _n(){this.__u=0,this.t=null,this.__b=null}function Va(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function za(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return Q(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Fe(){this.u=null,this.o=null}P.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Fa&&Fa(t)},(_n.prototype=new yt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Va(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]=Ha(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&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},_n.prototype.componentWillUnmount=function(){this.t=[]},_n.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ia(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&Q(I,null,t.fallback);return o&&(o.__u&=-33),[Q(I,null,e.__a?null:t.children),o]};var Ua=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function dd(t){return this.getChildContext=function(){return t.context},t.children}function fd(t){var e=this,n=t.i;e.componentWillUnmount=function(){Ne(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Ne(Q(dd,{context:e.context},t.__v),e.l)}function Wa(t,e){var n=Q(fd,{__v:t,i:e});return n.containerInfo=e,n}(Fe.prototype=new yt).__a=function(t){var e=this,n=Va(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Ua(e,t,r)):o()};n?n(i):i()}},Fe.prototype.render=function(t){this.u=null,this.o=new Map;var e=Rt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Ua(t,n,e)})};var Ba=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,pd=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,hd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,vd=/[A-Z0-9]/g,_d=typeof document<"u",gd=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ya(t,e,n){return e.__k==null&&(e.textContent=""),Ne(t,e),typeof n=="function"&&n(),t?t.__c:null}function Ka(t,e,n){return Br(t,e),typeof n=="function"&&n(),t?t.__c:null}yt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(yt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var qa=P.event;function wd(){}function md(){return this.cancelBubble}function yd(){return this.defaultPrevented}P.event=function(t){return qa&&(t=qa(t)),t.persist=wd,t.isPropagationStopped=md,t.isDefaultPrevented=yd,t.nativeEvent=t};var oo,bd={enumerable:!1,configurable:!0,get:function(){return this.class}},Ga=P.vnode;P.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||_d&&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"||gd(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":hd.test(i)?i=s:r.indexOf("-")===-1&&pd.test(i)?i=i.replace(vd,"-$&").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=Rt(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Rt(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",bd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Ba,Ga&&Ga(t)};var Xa=P.__r;P.__r=function(t){Xa&&Xa(t),oo=t.__c};var Za=P.diffed;P.diffed=function(t){Za&&Za(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),oo=null};var Ja={ReactCurrentDispatcher:{current:{readContext:function(t){return oo.__n[t.__c].props.value},useCallback:xe,useContext:Wn,useDebugValue:Bn,useDeferredValue:ao,useEffect:Et,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:re,useMemo:oe,useReducer:Un,useRef:vt,useState:bt,useSyncExternalStore:lo,useTransition:so}}},xd="17.0.2";function Qa(t){return Q.bind(null,t)}function gn(t){return!!t&&t.$$typeof===Ba}function ts(t){return gn(t)&&t.type===I}function es(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function ns(t){return gn(t)?ku.apply(null,arguments):t}function rs(t){return!!t.__k&&(Ne(null,t),!0)}function os(t){return t&&(t.base||t.nodeType===1&&t)||null}var is=function(t,e){return t(e)},as=function(t,e){return t(e)},ss=I;function io(t){t()}function ao(t){return t}function so(){return[!1,io]}var co=re,cs=gn;function lo(t,e){var n=e(),r=bt({h:{__:n,v:e}}),o=r[0].h,i=r[1];return re(function(){o.__=n,o.v=e,uo(o)&&i({h:o})},[t,n,e]),Et(function(){return uo(o)&&i({h:o}),t(function(){uo(o)&&i({h:o})})},[t]),n}function uo(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var Gn={useState:bt,useId:to,useReducer:Un,useEffect:Et,useLayoutEffect:re,useInsertionEffect:co,useTransition:so,useDeferredValue:ao,useSyncExternalStore:lo,startTransition:io,useRef:vt,useImperativeHandle:Qr,useMemo:oe,useCallback:xe,useContext:Wn,useDebugValue:Bn,version:"17.0.2",Children:Ma,render:Ya,hydrate:Ka,unmountComponentAtNode:rs,createPortal:Wa,createElement:Q,createContext:Yr,createFactory:Qa,cloneElement:ns,createRef:Ui,Fragment:I,isValidElement:gn,isElement:cs,isFragment:ts,isMemo:es,findDOMNode:os,Component:yt,PureComponent:qn,memo:Ra,forwardRef:Na,flushSync:as,unstable_batchedUpdates:is,StrictMode:ss,Suspense:_n,SuspenseList:Fe,lazy:za,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ja};const $d=Object.freeze(Object.defineProperty({__proto__:null,Children:Ma,Component:yt,Fragment:I,PureComponent:qn,StrictMode:ss,Suspense:_n,SuspenseList:Fe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ja,cloneElement:ns,createContext:Yr,createElement:Q,createFactory:Qa,createPortal:Wa,createRef:Ui,default:Gn,findDOMNode:os,flushSync:as,forwardRef:Na,hydrate:Ka,isElement:cs,isFragment:ts,isMemo:es,isValidElement:gn,lazy:za,memo:Ra,render:Ya,startTransition:io,unmountComponentAtNode:rs,unstable_batchedUpdates:is,useCallback:xe,useContext:Wn,useDebugValue:Bn,useDeferredValue:ao,useEffect:Et,useErrorBoundary:od,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:re,useMemo:oe,useReducer:Un,useRef:vt,useState:bt,useSyncExternalStore:lo,useTransition:so,version:xd},Symbol.toStringTag,{value:"Module"}));var Xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function jd(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var fo={exports:{}},po={};const ls=jd($d);/**
|
|
1
|
+
var om=Object.defineProperty;var im=(ht,dt,ve)=>dt in ht?om(ht,dt,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ht[dt]=ve;var Ni=(ht,dt,ve)=>(im(ht,typeof dt!="symbol"?dt+"":dt,ve),ve);(function(){"use strict";var ht=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function dt(t,e){if(!t)throw new Error(e)}function ve(t,e){return t in e}var Li=t=>t,sn,P,Mi,_e,Fi,Ii,Lr,Mr,Fr,Ir,Hi,cn={},Vi=[],mu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Nn=Array.isArray;function Rt(t,e){for(var n in e)t[n]=e[n];return t}function Ui(t){var e=t.parentNode;e&&e.removeChild(t)}function Q(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?sn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return ln(t,a,r,o,null)}function ln(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Mi,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function zi(){return{current:null}}function I(t){return t.children}function yt(t,e){this.props=t,this.context=e}function ge(t,e){if(e==null)return t.__?ge(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?ge(t):null}function Wi(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Wi(t)}}function Hr(t){(!t.__d&&(t.__d=!0)&&_e.push(t)&&!Ln.__r++||Fi!==P.debounceRendering)&&((Fi=P.debounceRendering)||Ii)(Ln)}function Ln(){var t,e,n,r,o,i,a,s;for(_e.sort(Lr);t=_e.shift();)t.__d&&(e=_e.length,r=void 0,i=(o=(n=t).__v).__e,a=[],s=[],n.__P&&((r=Rt({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),Vr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??ge(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Gi(a,r,s),r.__e!=i&&Wi(r)),_e.length>e&&_e.sort(Lr));Ln.__r=0}function Bi(t,e,n,r,o,i,a,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Vi,v=e.length;for(n.__d=l,yu(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?cn:w[d.__i]||cn,d.__i=c,Vr(t,d,p,o,i,a,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Ur(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!t.contains(l)&&(l=ge(p)),l=Yi(d,l,t)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function yu(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)a=r+c,(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?ln(null,o,null,null,null):Nn(o)?ln(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?ln(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=bu(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==t.__d&&(t.__d=ge(i)),zr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=ge(i)),zr(i,i))}function Yi(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=Yi(r[o],e,n));return e}t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Dt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Nn(t)?t.some(function(n){Dt(n,e)}):e.push(t)),e}function bu(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[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<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Ki(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||mu.test(e)?n:n+"px"}function Mn(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ki(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Ki(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Mr,t.addEventListener(e,i?Ir:Fr,i)):t.removeEventListener(e,i?Ir:Fr,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function qi(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Mr++;else if(e.t<n.u)return;return n(P.event?P.event(e):e)}}}function Vr(t,e,n,r,o,i,a,s,l,u){var f,c,p,d,_,h,w,v,x,y,b,m,k,C,$,j,O=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(f=P.__b)&&f(e);t:if(typeof O=="function")try{if(v=e.props,x="prototype"in O&&O.prototype.render,y=(f=O.contextType)&&r[f.__c],b=f?y?y.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:(x?e.__c=c=new O(v,b):(e.__c=c=new yt(v,b),c.constructor=O,c.render=$u),y&&y.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),x&&c.__s==null&&(c.__s=c.state),x&&O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Rt({},c.__s)),Rt(c.__s,O.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)x&&O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),x&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(x&&O.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(N){N&&(N.__=e)}),m=0;m<c._sb.length;m++)c.__h.push(c._sb[m]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,b),x&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=t,c.__e=!1,k=P.__r,C=0,x){for(c.state=c.__s,c.__d=!1,k&&k(e),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(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=Rt(Rt({},r),c.getChildContext())),x&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Bi(t,Nn(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),w&&(c.__E=c.__=null)}catch(N){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),P.__e(N,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=xu(n.__e,e,n,r,o,i,a,l,u);(f=P.diffed)&&f(e)}function Gi(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Ur(n[r],n[++r],n[++r]);P.__c&&P.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function xu(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,x=e.type;if(x==="svg"?o="http://www.w3.org/2000/svg":x==="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==!!x&&(x?d.localName===x:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(x===null)return document.createTextNode(v);t=document.createElementNS(o,x,v.is&&v),i=null,s=!1}if(x===null)w===v||s&&t.data===v||(t.data=v);else{if(i=i&&sn.call(t.childNodes),w=n.props||cn,!s&&i!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)if(d=w[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;Mn(t,u,null,d,o)}}for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||Mn(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),Bi(t,Nn(p)?p:[p],e,n,r,x==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&ge(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Ui(i[u]);s||(u="value",_!==void 0&&(_!==t[u]||x==="progress"&&!_||x==="option"&&_!==w[u])&&Mn(t,u,_,w[u],o),u="checked",h!==void 0&&h!==t[u]&&Mn(t,u,h,w[u],o))}return t}function Ur(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){P.__e(r,n)}}function zr(t,e,n){var r,o;if(P.unmount&&P.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Ur(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&zr(r[o],e,n||typeof t.type!="function");n||t.__e==null||Ui(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function $u(t,e,n){return this.constructor(t,n)}function De(t,e,n){var r,o,i,a;P.__&&P.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],Vr(e,t=(!r&&n||e).__k=Q(I,null,[t]),o||cn,cn,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?sn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),Gi(i,t,a)}function Wr(t,e){De(t,e,Wr)}function ku(t,e,n){var r,o,i,a,s=Rt({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?sn.call(arguments,2):n),ln(t.type,s,r||t.key,o||t.ref,null)}function Br(t,e){var n={__c:e="__cC"+Hi++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=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,Hr(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}sn=Vi.slice,P={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Mi=0,yt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Rt({},this.state),typeof t=="function"&&(t=t(Rt({},n),this.props)),t&&Rt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Hr(this))},yt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Hr(this))},yt.prototype.render=I,_e=[],Ii=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Lr=function(t,e){return t.__v.__b-e.__v.__b},Ln.__r=0,Mr=0,Fr=qi(!1),Ir=qi(!0),Hi=0;var Xi=/[\s\n\\/='"\0<>]/,Zi=/^(xlink|xmlns|xml)([A-Z])/,ju=/^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]/,Su=/^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/,Cu=/["&<]/;function Fn(t){if(t.length===0||Cu.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var Ji={},Eu=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"]),Ou=/[A-Z]/g;function Au(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ji[n]||(Ji[n]=n.replace(Ou,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Eu.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Yr,we,un,dn,Qi=[],ta=Array.isArray,Kr=Object.assign;function Pu(t,e,n){var r=P.__s;P.__s=!0,Yr=P.__b,we=P.diffed,un=P.__r,dn=P.unmount;var o=Q(I,null);o.__k=[t];try{var i=Ot(t,e||na,!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(t,Qi),P.__s=r,Qi.length=0}}function ea(){this.__d=!0}var na={};function ra(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=na),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Kr({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),un&&un(t),n.render(n.props,n.state,e)}function Ot(t,e,n,r,o,i,a){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Fn(t+"");if(ta(t)){var s,l="";o.__k=t;for(var u=0;u<t.length;u++){var f=t[u];if(f!=null&&typeof f!="boolean"){var c,p=Ot(f,e,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(t.constructor!==void 0)return"";t.__=o,Yr&&Yr(t);var d,_,h,w=t.type,v=t.props,x=e;if(typeof w=="function"){if(w===I){if(v.tpl){for(var y="",b=0;b<v.tpl.length;b++)if(y+=v.tpl[b],v.exprs&&b<v.exprs.length){var m=v.exprs[b];if(m==null)continue;typeof m!="object"||m.constructor!==void 0&&!ta(m)?y+=m:y+=Ot(m,e,n,r,t,i,a)}return y}if(v.UNSTABLE_comment)return"<!--"+Fn(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=w.contextType)!=null){var k=e[d.__c];x=k?k.props.value:d.__}if(w.prototype&&typeof w.prototype.render=="function")_=ra(t,x),h=t.__c;else{t.__c=h={__v:t,props:v,context:x,setState:ea,forceUpdate:ea,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,un&&un(t),_=w.call(h,v,x);h.__d=!0}if(h.getChildContext!=null&&(e=Kr({},e,h.getChildContext())),(w.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var $="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return $=Ot(_,e,n,r,t,i,a)}catch(pt){return w.getDerivedStateFromError&&(h.__s=w.getDerivedStateFromError(pt)),h.componentDidCatch&&h.componentDidCatch(pt,{}),h.__d&&(_=ra(t,e),(h=t.__c).getChildContext!=null&&(e=Kr({},e,h.getChildContext())),$=Ot(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,e,n,r,t,i,a)),$}finally{we&&we(t),t.__=null,dn&&dn(t)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=Ot(_,e,n,r,t,i,a);return we&&we(t),t.__=null,P.unmount&&P.unmount(t),j}catch(pt){if(!i&&a&&a.onError){var O=a.onError(pt,t,function(ut){return Ot(ut,e,n,r,t,i,a)});if(O!==void 0)return O;var N=P.__e;return N&&N(pt,t),""}if(!i||!pt||typeof pt.then!="function")throw pt;var L=function ut(){try{return Ot(_,e,n,r,t,i,a)}catch(wt){if(!wt||typeof wt.then!="function")throw wt;return wt.then(function(){return Ot(_,e,n,r,t,i,a)},function(){return ut()})}};return pt.then(function(){return L()})}}var M,D="<"+w,F="";for(var R in v){var T=v[R];switch(R){case"children":M=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",w){case"textarea":M=T;continue;case"select":r=T;continue;case"option":r!=T||"selected"in v||(D+=" selected")}break;case"dangerouslySetInnerHTML":F=T&&T.__html;continue;case"style":typeof T=="object"&&(T=Au(T));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(Zi.test(R))R=R.replace(Zi,"$1:$2").toLowerCase();else{if(Xi.test(R))continue;R[4]!=="-"&&R!=="draggable"||T==null?n?Su.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):ju.test(R)&&(R=R.toLowerCase()):T+=""}}T!=null&&T!==!1&&typeof T!="function"&&(D=T===!0||T===""?D+" "+R:D+" "+R+'="'+Fn(T+"")+'"')}if(Xi.test(w))throw new Error(w+" is not a valid HTML tag name in "+D+">");if(F||(typeof M=="string"?F=Fn(M):M!=null&&M!==!1&&M!==!0&&(F=Ot(M,e,w==="svg"||w!=="foreignObject"&&n,r,t,i,a))),we&&we(t),t.__=null,dn&&dn(t),!F&&Tu.has(w))return D+"/>";var tt="</"+w+">",ct=D+">";return Array.isArray(F)?[ct].concat(F,[tt]):typeof F!="string"?[ct,F,tt]:ct+F+tt}var Tu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),In=class extends Error{constructor(e){super(e[0].message);Ni(this,"issues");this.name="ValiError",this.issues=e}};function oa(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function fn(t){return{issues:t}}function me(t){return{output:t}}function Ru(t,e){return{reason:t==null?void 0:t.reason,validation:e.validation,origin:(t==null?void 0:t.origin)||"value",message:e.message,input:e.input,path:e.path,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Du(t,e){return{reason:e,origin:t==null?void 0:t.origin,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Zt(t,e,n,r){if(!e||!e.length||n!=null&&n.skipPipe)return me(t);let o,i,a=t;for(const s of e){const l=s._parse(a);if(l.issues){o=o||Du(n,r);for(const u of l.issues){const f=Ru(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?fn(i):me(a)}function Jt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function ia(t){return typeof t=="function"?t():t}function Nu(t,e,n,r){return fn([{validation:t,message:ia(e),input:n,requirement:r}])}function Lu(t,e,n){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=Jt(e,n);return[t,i,a]}const[r,o]=Jt(t,e);return[void 0,r,o]}function Qt(t,e,n,r,o,i){return{issues:[{reason:e,validation:n,origin:(t==null?void 0:t.origin)||"value",message:ia(r),input:o,issues:i,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}]}}function aa(t){return typeof t.default=="function"?t.default():t.default}function Mu(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Zt(e,this.pipe,n,"any")}}}function sa(t,e,n){const[r="Invalid type",o]=Jt(e,n);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return Qt(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?fn(s):Zt(l,this.pipe,a,"array")}}}function ca(t,e){const[n="Invalid type",r]=Jt(t,e);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?Qt(i,"type","boolean",this.message,o):Zt(o,this.pipe,i,"boolean")}}}function te(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(n,r){return n!==this.literal?Qt(r,"type","literal",this.message,n):me(n)}}}function bt(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(n,r){if(n===null){const o=aa(this);if(o===void 0)return me(n);n=o}return this.wrapped._parse(n,r)}}}function Ne(t,e){const[n="Invalid type",r]=Jt(t,e);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?Qt(i,"type","number",this.message,o):Zt(o,this.pipe,i,"number")}}}function Hn(t,e,n,r){const[o,i="Invalid type",a]=Lu(e,n,r);let s;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return Qt(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=l[p],h=d._parse(_,u);if(h.issues){const w={type:"object",input:l,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(w):v.path=[w],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],_=this.rest._parse(d,u);if(_.issues){const h={type:"object",input:l,key:p,value:d};for(const w of _.issues)w.path?w.path.unshift(h):w.path=[h],f==null||f.push(w);if(f||(f=_.issues),u!=null&&u.abortEarly)break}else c[p]=_.output}}return f?fn(f):Zt(c,this.pipe,u,"object")}}}function qr(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=aa(this);if(o===void 0)return me(n);n=o}return this.wrapped._parse(n,r)}}}function X(t,e){const[n="Invalid type",r]=Jt(t,e);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?Qt(i,"type","string",this.message,o):Zt(o,this.pipe,i,"string")}}}function Fu(t,e,n,r){if(typeof e=="object"&&!Array.isArray(e)){const[a,s]=Jt(n,r);return[t,e,a,s]}const[o,i]=Jt(e,n);return[X(),t,o,i]}var Iu=["__proto__","prototype","constructor"];function la(t,e,n,r){const[o,i,a="Invalid type",s]=Fu(t,e,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return Qt(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Iu.includes(p)){let _;const h=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(h.issues){_={type:"record",input:l,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const w=this.value._parse(d,u);if(w.issues){_=_||{type:"record",input:l,key:p,value:d};for(const v of w.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=w.issues),u!=null&&u.abortEarly)break}!h.issues&&!w.issues&&(c[h.output]=w.output)}return f?fn(f):Zt(c,this.pipe,u,"record")}}}function ua(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_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?me(i[0]):Qt(r,"type","union",this.message,n,o)}}}function da(t,e,n){const r=t._parse(e,n);if(r.issues)throw new In(r.issues);return r.output}function Hu(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new In(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function fa(t,e,n){return{...t,_parse(r,o){const i=t._parse(r,o);if(i.issues)return i;const a=e(i.output);return n&&!Array.isArray(n)?n._parse(a,o):Zt(a,n,o,typeof a)}}}function Vu(t="Invalid URL"){return{type:"url",async:!1,message:t,requirement(e){try{return new URL(e),!0}catch{return!1}},_parse(e){return this.requirement(e)?me(e):Nu(this.type,this.message,e,this.requirement)}}}const pa="inploi-job-search",ha="ijs",Vn=10,va={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Uu=t=>{const{salary:e,config:n}=t,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:e.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(e.pay_display===!1)return;if(e.pay_mask)return"Competitive";if(e.pay_max&&isNaN(+e.pay_max)||e.pay_min&&isNaN(+e.pay_min)||e.pay&&isNaN(+e.pay))return"Invalid salary";const o=e.pay_type&&e.pay_type in va?va[e.pay_type]:void 0;return e.pay?[r.format(+e.pay),o].filter(Boolean).join(" "):e.pay_max&&e.pay_min?[r.formatRange(+e.pay_min,+e.pay_max),o].filter(Boolean).join(" "):e.pay_max?"Up to "+[r.format(+e.pay_max),o].filter(Boolean).join(" "):e.pay_min?"From "+[r.format(+e.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},zu=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Wu=({from:t=new Date,to:e,formatter:n=zu})=>{const o=(e instanceof Date?e:new Date(e)).getTime()-t.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?"a long time ago":"in a long time"},Bu=1e3*60*60*24*7,Yu=la(sa(Hn({label:oa(X(),String),value:oa(X(),String),jobs:Ne()}))),Ku=X([Vu()]),qu=Hn({total:Ne(),current_page:Ne(),per_page:Ne(),last_page:Ne()}),Gu=Hn({id:Ne(),company_name:X(),company_logo:bt(qr(X())),employment_type:X(),location_type:ua([te("LOCATION"),te("REMOTE"),te("HYBRID")]),pay_type:bt(ua([te("ANNUALLY"),te("HOURLY"),te("MONTHLY"),te("WEEKLY"),te("DAILY")])),pay_currency:X(),pay_mask:ca(),pay_display:ca(),pay:bt(X()),pay_min:bt(X()),pay_max:bt(X()),description:X(),title:X(),contract_type:bt(X()),created_at:bt(X()),custom_data:bt(la(Mu())),href:X(),industry:bt(X()),category:bt(X()),skills:qr(X()),town:qr(X()),city:bt(X()),country:bt(X())}),Xu=fa(Gu,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-Bu:!1,n=Hu(Ku,t.company_logo);return{raw:t,id:t.id,isNew:e,company:{name:t.company_name,logo:n.success?n.output:void 0},employmentType:t.employment_type,locationType:t.location_type,pay:Uu({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Wu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Zu=fa(Hn({data:sa(Xu),pagination:qu}),t=>({pagination:t.pagination,results:t.data})),_a=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),ga=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:_a(e)}),signal:r});return da(Yu,o)}catch(o){throw o instanceof In?n.error(o.message,o.issues):n.error(o),o}},wa=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${Vn}`,{method:"POST",body:JSON.stringify({filters:_a(r)}),signal:n});return da(Zu,i)}catch(i){throw i instanceof In?e.error(i.message,i.issues):e.error(i),i}},Gr=t=>{if(t.error)return{state:"error",error:t.error,swr:t};if(t.isLoading&&t.data===void 0)return{state:"loading",swr:t};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data,swr:t};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data,swr:t};throw new Error("Unhandled data state")},Xr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Ju=0;function g(t,e,n,r,o,i){e||(e={});var a,s,l=e;if("ref"in l)for(s in l={},e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Ju,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}function ma(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=ma(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Qu(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=ma(t))&&(r&&(r+=" "),r+=e);return r}function ya(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ya(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Zr(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ya(t))&&(r&&(r+=" "),r+=e);return r}const ba=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,td=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(t==null||(s=t.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Zr(i)):typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Zr(i)):Zr(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 e(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 e(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],_=l==null?void 0:l[p],h=ba(d)||ba(_);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:_,className:h,...w}=d;return Object.entries(w).every(v=>{let[x,y]=v;const b=f[x];return Array.isArray(y)?y.includes(b):b===y})?[...p,_,h]:p},[]);return e(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:am,cva:ee,cx:sm}=td(),pn=ee({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}}),ed=({error:t,resetError:e})=>g("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[g("p",{children:t.message}),g("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ne=({error:t,resetError:e,class:n,...r})=>g("div",{class:Qu("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),g("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:t.message})]}),g("button",{class:pn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class hn extends yt{constructor(){super(...arguments);Ni(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return g(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const nd={briefcase:g(I,{children:[g("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),g("path",{d:"M4.75 11.75H19.25"}),g("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),g("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:g(I,{children:[g("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),g("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),g("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),g("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),g("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),g("circle",{cx:"18.75",cy:"12",r:"2"}),g("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:g(I,{children:[g("path",{d:"M16.75 10.25H13.75"}),g("path",{d:"M16.75 13.25H13.75"}),g("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),g("path",{d:"M10.25 12.25V18.25"})]}),circles:g(I,{children:[g("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),g("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:g(I,{children:[g("path",{d:"M14 9L12 13L9.5 12"}),g("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:g(I,{children:g("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:g(I,{children:[g("path",{d:"M5 13.75H19"}),g("path",{d:"M5 10.25H19"}),g("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),g("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:g(I,{children:[g("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),g("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),g("path",{d:"M16 16L19 19"})]}),mapPin:g(I,{children:g(I,{children:[g("circle",{cx:"12",cy:"9",r:"2"}),g("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),g("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:g(I,{children:[g("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),g("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:g(I,{children:[g("path",{d:"M18.5 8.5L17.5 9.5"}),g("path",{d:"M5.5 8.5L6.5 9.5"}),g("path",{d:"M12 6L12 7.5"}),g("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),g("path",{d:"M20.25 15.25H12H3.75"}),g("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:g("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:g("path",{d:"M12 8V16M8 12H16"}),"chevron-right":g("path",{d:"M11 8L15 12L11 16"})},rd=({theme:t})=>g("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:g("defs",{children:Object.entries(nd).map(([e,n])=>{var r;return g("symbol",{id:`i-icon-${e}`,children:g("g",{fill:"none","stroke-width":t.mode==="dark"&&((r=t.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),re=({name:t,...e})=>g("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:g("use",{href:`#i-icon-${t}`})});var Nt,U,Jr,xa,Le=0,$a=[],q=P,ka=q.__b,ja=q.__r,Sa=q.diffed,Ca=q.__c,Ea=q.unmount,Oa=q.__;function ye(t,e){q.__h&&q.__h(U,t,Le||e),Le=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function xt(t){return Le=1,Un(Pa,t)}function Un(t,e,n){var r=ye(Nt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Pa(void 0,e),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=U,!U.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))};U.u=!0;var i=U.shouldComponentUpdate,a=U.componentWillUpdate;U.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)},U.shouldComponentUpdate=o}return r.__N||r.__}function Ct(t,e){var n=ye(Nt++,3);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,U.__H.__h.push(n))}function oe(t,e){var n=ye(Nt++,4);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,U.__h.push(n))}function vt(t){return Le=5,ie(function(){return{current:t}},[])}function Qr(t,e,n){Le=6,oe(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function ie(t,e){var n=ye(Nt++,7);return no(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function be(t,e){return Le=8,ie(function(){return t},e)}function zn(t){var e=U.context[t.__c],n=ye(Nt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(U)),e.props.value):t.__}function Wn(t,e){q.useDebugValue&&q.useDebugValue(e?e(t):t)}function od(t){var e=ye(Nt++,10),n=xt();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function to(){var t=ye(Nt++,11);if(!t.__){for(var e=U.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function id(){for(var t;t=$a.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Bn),t.__H.__h.forEach(eo),t.__H.__h=[]}catch(e){t.__H.__h=[],q.__e(e,t.__v)}}q.__b=function(t){U=null,ka&&ka(t)},q.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Oa&&Oa(t,e)},q.__r=function(t){ja&&ja(t),Nt=0;var e=(U=t.__c).__H;e&&(Jr===U?(e.__h=[],U.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(Bn),e.__h.forEach(eo),e.__h=[],Nt=0)),Jr=U},q.diffed=function(t){Sa&&Sa(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&($a.push(e)!==1&&xa===q.requestAnimationFrame||((xa=q.requestAnimationFrame)||ad)(id)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Jr=U=null},q.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter(function(r){return!r.__||eo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],q.__e(r,n.__v)}}),Ca&&Ca(t,e)},q.unmount=function(t){Ea&&Ea(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Bn(r)}catch(o){e=o}}),n.__H=void 0,e&&q.__e(e,n.__v))};var Aa=typeof requestAnimationFrame=="function";function ad(t){var e,n=function(){clearTimeout(r),Aa&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Aa&&(e=requestAnimationFrame(n))}function Bn(t){var e=U,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),U=e}function eo(t){var e=U;t.__c=t.__(),U=e}function no(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Pa(t,e){return typeof e=="function"?e(t):e}const Yn=t=>{const e=Object.entries(t.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`${t.baseKey}::${e}`},cm="",sd=t=>{const e=Object.entries(t).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(e)},cd=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=xt();return Ct(()=>{Promise.resolve().then(()=>nm).then(s=>a(s.jobAlertsPlugin()({analytics:t,apiClient:e,logger:n})))},[t,e,n]),Ct(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Ct(()=>{i==null||i.setFilters(sd(o))},[o,i]),g("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Ta(t,e){for(var n in e)t[n]=e[n];return t}function ro(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Kn(t,e){this.props=t,this.context=e}function Ra(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:ro(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Kn.prototype=new yt).isPureReactComponent=!0,Kn.prototype.shouldComponentUpdate=function(t,e){return ro(this.props,t)||ro(this.state,e)};var Da=P.__b;P.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Da&&Da(t)};var ld=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Na(t){function e(n){var r=Ta({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=ld,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var La=function(t,e){return t==null?null:Dt(Dt(t).map(e))},Ma={map:La,forEach:La,count:function(t){return t?Dt(t).length:0},only:function(t){var e=Dt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Dt},ud=P.__e;P.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}ud(t,e,n,r)};var Fa=P.unmount;function Ia(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Ta({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Ia(r,e,n)})),t}function Ha(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Ha(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function vn(){this.__u=0,this.t=null,this.__b=null}function Va(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Ua(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return Q(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Me(){this.u=null,this.o=null}P.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Fa&&Fa(t)},(vn.prototype=new yt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Va(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]=Ha(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&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},vn.prototype.componentWillUnmount=function(){this.t=[]},vn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ia(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&Q(I,null,t.fallback);return o&&(o.__u&=-33),[Q(I,null,e.__a?null:t.children),o]};var za=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function dd(t){return this.getChildContext=function(){return t.context},t.children}function fd(t){var e=this,n=t.i;e.componentWillUnmount=function(){De(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),De(Q(dd,{context:e.context},t.__v),e.l)}function Wa(t,e){var n=Q(fd,{__v:t,i:e});return n.containerInfo=e,n}(Me.prototype=new yt).__a=function(t){var e=this,n=Va(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),za(e,t,r)):o()};n?n(i):i()}},Me.prototype.render=function(t){this.u=null,this.o=new Map;var e=Dt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Me.prototype.componentDidUpdate=Me.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){za(t,n,e)})};var Ba=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,pd=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,hd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,vd=/[A-Z0-9]/g,_d=typeof document<"u",gd=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ya(t,e,n){return e.__k==null&&(e.textContent=""),De(t,e),typeof n=="function"&&n(),t?t.__c:null}function Ka(t,e,n){return Wr(t,e),typeof n=="function"&&n(),t?t.__c:null}yt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(yt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var qa=P.event;function wd(){}function md(){return this.cancelBubble}function yd(){return this.defaultPrevented}P.event=function(t){return qa&&(t=qa(t)),t.persist=wd,t.isPropagationStopped=md,t.isDefaultPrevented=yd,t.nativeEvent=t};var oo,bd={enumerable:!1,configurable:!0,get:function(){return this.class}},Ga=P.vnode;P.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||_d&&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"||gd(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":hd.test(i)?i=s:r.indexOf("-")===-1&&pd.test(i)?i=i.replace(vd,"-$&").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=Dt(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Dt(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",bd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Ba,Ga&&Ga(t)};var Xa=P.__r;P.__r=function(t){Xa&&Xa(t),oo=t.__c};var Za=P.diffed;P.diffed=function(t){Za&&Za(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),oo=null};var Ja={ReactCurrentDispatcher:{current:{readContext:function(t){return oo.__n[t.__c].props.value},useCallback:be,useContext:zn,useDebugValue:Wn,useDeferredValue:ao,useEffect:Ct,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:oe,useMemo:ie,useReducer:Un,useRef:vt,useState:xt,useSyncExternalStore:lo,useTransition:so}}},xd="17.0.2";function Qa(t){return Q.bind(null,t)}function _n(t){return!!t&&t.$$typeof===Ba}function ts(t){return _n(t)&&t.type===I}function es(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function ns(t){return _n(t)?ku.apply(null,arguments):t}function rs(t){return!!t.__k&&(De(null,t),!0)}function os(t){return t&&(t.base||t.nodeType===1&&t)||null}var is=function(t,e){return t(e)},as=function(t,e){return t(e)},ss=I;function io(t){t()}function ao(t){return t}function so(){return[!1,io]}var co=oe,cs=_n;function lo(t,e){var n=e(),r=xt({h:{__:n,v:e}}),o=r[0].h,i=r[1];return oe(function(){o.__=n,o.v=e,uo(o)&&i({h:o})},[t,n,e]),Ct(function(){return uo(o)&&i({h:o}),t(function(){uo(o)&&i({h:o})})},[t]),n}function uo(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var qn={useState:xt,useId:to,useReducer:Un,useEffect:Ct,useLayoutEffect:oe,useInsertionEffect:co,useTransition:so,useDeferredValue:ao,useSyncExternalStore:lo,startTransition:io,useRef:vt,useImperativeHandle:Qr,useMemo:ie,useCallback:be,useContext:zn,useDebugValue:Wn,version:"17.0.2",Children:Ma,render:Ya,hydrate:Ka,unmountComponentAtNode:rs,createPortal:Wa,createElement:Q,createContext:Br,createFactory:Qa,cloneElement:ns,createRef:zi,Fragment:I,isValidElement:_n,isElement:cs,isFragment:ts,isMemo:es,findDOMNode:os,Component:yt,PureComponent:Kn,memo:Ra,forwardRef:Na,flushSync:as,unstable_batchedUpdates:is,StrictMode:ss,Suspense:vn,SuspenseList:Me,lazy:Ua,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ja};const $d=Object.freeze(Object.defineProperty({__proto__:null,Children:Ma,Component:yt,Fragment:I,PureComponent:Kn,StrictMode:ss,Suspense:vn,SuspenseList:Me,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ja,cloneElement:ns,createContext:Br,createElement:Q,createFactory:Qa,createPortal:Wa,createRef:zi,default:qn,findDOMNode:os,flushSync:as,forwardRef:Na,hydrate:Ka,isElement:cs,isFragment:ts,isMemo:es,isValidElement:_n,lazy:Ua,memo:Ra,render:Ya,startTransition:io,unmountComponentAtNode:rs,unstable_batchedUpdates:is,useCallback:be,useContext:zn,useDebugValue:Wn,useDeferredValue:ao,useEffect:Ct,useErrorBoundary:od,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:oe,useMemo:ie,useReducer:Un,useRef:vt,useState:xt,useSyncExternalStore:lo,useTransition:so,version:xd},Symbol.toStringTag,{value:"Module"}));var Gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function jd(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var fo={exports:{}},po={};const ls=jd($d);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var tm=Object.defineProperty;var em=(ht,dt,he)=>dt in ht?tm(ht,dt,{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 us;function
|
|
9
|
+
*/var us;function Sd(){if(us)return po;us=1;var t=ls;function e(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,o=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue;function s(c,p){var d=p(),_=r({inst:{value:d,getSnapshot:p}}),h=_[0].inst,w=_[1];return i(function(){h.value=d,h.getSnapshot=p,l(h)&&w({inst:h})},[c,d,p]),o(function(){return l(h)&&w({inst:h}),c(function(){l(h)&&w({inst:h})})},[c]),a(d),d}function l(c){var p=c.getSnapshot;c=c.value;try{var d=p();return!n(c,d)}catch{return!0}}function u(c,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return po.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,po}var ho={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,12 +14,12 @@ var tm=Object.defineProperty;var em=(ht,dt,he)=>dt in ht?tm(ht,dt,{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 ds;function Sd(){return ds||(ds=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 t=ls,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(m){{for(var b=arguments.length,y=new Array(b>1?b-1:0),k=1;k<b;k++)y[k-1]=arguments[k];r("error",m,y)}}function r(m,b,y){{var k=e.ReactDebugCurrentFrame,S=k.getStackAddendum();S!==""&&(b+="%s",y=y.concat([S]));var $=y.map(function(j){return String(j)});$.unshift("Warning: "+b),Function.prototype.apply.call(console[m],console,$)}}function o(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,s=t.useEffect,l=t.useLayoutEffect,u=t.useDebugValue,f=!1,c=!1;function p(m,b,y){f||t.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=b();if(!c){var S=b();i(k,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:b}}),j=$[0].inst,O=$[1];return l(function(){j.value=k,j.getSnapshot=b,d(j)&&O({inst:j})},[m,k,b]),s(function(){d(j)&&O({inst:j});var N=function(){d(j)&&O({inst:j})};return m(N)},[m]),u(k),k}function d(m){var b=m.getSnapshot,y=m.value;try{var k=b();return!i(y,k)}catch{return!0}}function _(m,b,y){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w=!h,v=w?_:p,x=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;ho.useSyncExternalStore=x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ho}process.env.NODE_ENV==="production"?fo.exports=Ed():fo.exports=Sd();var Cd=fo.exports;const ie=()=>{},ft=ie(),vo=Object,H=t=>t===ft,Ot=t=>typeof t=="function",ae=(t,e)=>({...t,...e}),Od=t=>Ot(t.then),Zn=new WeakMap;let Ad=0;const wn=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,i;if(vo(t)===t&&!r&&n!=RegExp){if(o=Zn.get(t),o)return o;if(o=++Ad+"~",Zn.set(t,o),n==Array){for(o="@",i=0;i<t.length;i++)o+=wn(t[i])+",";Zn.set(t,o)}if(n==vo){o="#";const a=vo.keys(t).sort();for(;!H(i=a.pop());)H(t[i])||(o+=i+":"+wn(t[i])+",");Zn.set(t,o)}}else o=r?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Nt=new WeakMap,_o={},Jn={},go="undefined",Qn=typeof window!=go,wo=typeof document!=go,Pd=()=>Qn&&typeof window.requestAnimationFrame!=go,fs=(t,e)=>{const n=Nt.get(t);return[()=>!H(e)&&t.get(e)||_o,r=>{if(!H(e)){const o=t.get(e);e in Jn||(Jn[e]=o),n[5](e,ae(o,r),o||_o)}},n[6],()=>!H(e)&&e in Jn?Jn[e]:!H(e)&&t.get(e)||_o]};let mo=!0;const Td=()=>mo,[yo,bo]=Qn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ie,ie],Rd=()=>{const t=wo&&document.visibilityState;return H(t)||t!=="hidden"},Dd=t=>(wo&&document.addEventListener("visibilitychange",t),yo("focus",t),()=>{wo&&document.removeEventListener("visibilitychange",t),bo("focus",t)}),Nd=t=>{const e=()=>{mo=!0,t()},n=()=>{mo=!1};return yo("online",e),yo("offline",n),()=>{bo("online",e),bo("offline",n)}},Ld={isOnline:Td,isVisible:Rd},Md={initFocus:Dd,initReconnect:Nd},ps=!Gn.useId,mn=!Qn||"Deno"in window,Fd=t=>Pd()?window.requestAnimationFrame(t):setTimeout(t,1),xo=mn?Et:re,$o=typeof navigator<"u"&&navigator.connection,hs=!mn&&$o&&(["slow-2g","2g"].includes($o.effectiveType)||$o.saveData),ko=t=>{if(Ot(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?wn(t):"",[t,e]};let Id=0;const jo=()=>++Id,vs=0,_s=1,gs=2;var yn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:vs,MUTATE_EVENT:gs,RECONNECT_EVENT:_s};async function ws(...t){const[e,n,r,o]=t,i=ae({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(Ot(n)){const p=n,d=[],_=e.keys();for(const h of _)!/^\$(inf|sub)\$/.test(h)&&p(e.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=ko(p);if(!d)return;const[_,h]=fs(e,d),[w,v,x,m]=Nt.get(e),b=()=>{const M=w[d];return(Ot(i.revalidate)?i.revalidate(_().data,p):i.revalidate!==!1)&&(delete x[d],delete m[d],M&&M[0])?M[0](gs).then(()=>_().data):_().data};if(t.length<3)return b();let y=r,k;const S=jo();v[d]=[S,0];const $=!H(l),j=_(),O=j.data,N=j._c,L=H(N)?O:N;if($&&(l=Ot(l)?l(L,O):l,h({data:l,_c:L})),Ot(y))try{y=y(L)}catch(M){k=M}if(y&&Od(y))if(y=await y.catch(M=>{k=M}),S!==v[d][0]){if(k)throw k;return y}else k&&$&&u(k)&&(a=!0,h({data:L,_c:ft}));if(a&&!k)if(Ot(a)){const M=a(y,L);h({data:M,error:ft,_c:ft})}else h({data:y,error:ft,_c:ft});if(v[d][1]=jo(),Promise.resolve(b()).then(()=>{h({_c:ft})}),k){if(f)throw k;return}return y}}const ms=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},Hd=(t,e)=>{if(!Nt.has(t)){const n=ae(Md,e),r={},o=ws.bind(ft,t);let i=ie;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)=>{t.set(f,c);const d=a[f];if(d)for(const _ of d)_(c,p)},u=()=>{if(!Nt.has(t)&&(Nt.set(t,[r,{},{},{},o,l,s]),!mn)){const f=n.initFocus(setTimeout.bind(ft,ms.bind(ft,r,vs))),c=n.initReconnect(setTimeout.bind(ft,ms.bind(ft,r,_s)));i=()=>{f&&f(),c&&c(),Nt.delete(t)}}};return u(),[t,o,u,i]}return[t,Nt.get(t)[4]]},Vd=(t,e,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)},zd=(t,e)=>wn(t)==wn(e),[ys,Ud]=Hd(new Map),Wd=ae({onLoadingSlow:ie,onSuccess:ie,onError:ie,onErrorRetry:Vd,onDiscarded:ie,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:hs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:hs?5e3:3e3,compare:zd,isPaused:()=>!1,cache:ys,mutate:Ud,fallback:{}},Ld),Bd=(t,e)=>{const n=ae(t,e);if(e){const{use:r,fallback:o}=t,{use:i,fallback:a}=e;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=ae(o,a))}return n},Yd=Yr({}),Kd="$inf$",bs=Qn&&window.__SWR_DEVTOOLS_USE__,qd=bs?window.__SWR_DEVTOOLS_USE__:[],Gd=()=>{bs&&(window.__SWR_DEVTOOLS_REACT__=Gn)},Xd=t=>Ot(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Zd=()=>ae(Wd,Wn(Yd)),Jd=t=>(e,n,r)=>t(e,n&&((...i)=>{const[a]=ko(e),[,,,s]=Nt.get(ys);if(a.startsWith(Kd))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),Qd=qd.concat(Jd),tf=t=>function(...n){const r=Zd(),[o,i,a]=Xd(n),s=Bd(r,a);let l=t;const{use:u}=s,f=(u||[]).concat(Qd);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},ef=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Gd();const xs=Gn.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t)}),Eo={dedupe:!0},So=tf((t,e,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,w]=Nt.get(r),[v,x]=ko(t),m=vt(!1),b=vt(!1),y=vt(v),k=vt(e),S=vt(n),$=()=>S.current,j=()=>$().isVisible()&&$().isOnline(),[O,N,L,M]=fs(r,v),D=vt({}).current,F=H(a)?n.fallback[v]:a,R=(W,B)=>{for(const ot in D){const Y=ot;if(Y==="data"){if(!o(W[Y],B[Y])&&(!H(W[Y])||!o(Kt,B[Y])))return!1}else if(B[Y]!==W[Y])return!1}return!0},T=oe(()=>{const W=(()=>!v||!e?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),B=st=>{const St=ae(st);return delete St._k,W?{isValidating:!0,isLoading:!0,...St}:St},ot=O(),Y=M(),mt=B(ot),pe=ot===Y?mt:B(Y);let et=mt;return[()=>{const st=B(O());return R(st,et)?(et.data=st.data,et.isLoading=st.isLoading,et.isValidating=st.isValidating,et.error=st.error,et):(et=st,st)},()=>pe]},[r,v]),tt=Cd.useSyncExternalStore(xe(W=>L(v,(B,ot)=>{R(ot,B)||W()}),[r,v]),T[0],T[1]),ct=!m.current,pt=d[v]&&d[v].length>0,ut=tt.data,wt=H(ut)?F:ut,Te=tt.error,Nr=vt(wt),Kt=p?H(ut)?Nr.current:ut:wt,qt=(()=>pt&&!H(Te)?!1:ct&&!H(s)?s:$().isPaused()?!1:i?H(wt)?!1:l:H(wt)||l)(),Nn=!!(v&&e&&ct&&qt),Ti=H(tt.isValidating)?Nn:tt.isValidating,sn=H(tt.isLoading)?Nn:tt.isLoading,Re=xe(async W=>{const B=k.current;if(!v||!B||b.current||$().isPaused())return!1;let ot,Y,mt=!0;const pe=W||{},et=!h[v]||!pe.dedupe,st=()=>ps?!b.current&&v===y.current&&m.current:v===y.current,St={isValidating:!1,isLoading:!1},De=()=>{N(St)},gu=()=>{const jt=h[v];jt&&jt[1]===Y&&delete h[v]},wu={isValidating:!0};H(O().data)&&(wu.isLoading=!0);try{if(et&&(N(wu),n.loadingTimeout&&H(O().data)&&setTimeout(()=>{mt&&st()&&$().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[B(x),jo()]),[ot,Y]=h[v],ot=await ot,et&&setTimeout(gu,n.dedupingInterval),!h[v]||h[v][1]!==Y)return et&&st()&&$().onDiscarded(v),!1;St.error=ft;const jt=_[v];if(!H(jt)&&(Y<=jt[0]||Y<=jt[1]||jt[1]===0))return De(),et&&st()&&$().onDiscarded(v),!1;const Gt=O().data;St.data=o(Gt,ot)?Gt:ot,et&&st()&&$().onSuccess(ot,v,n)}catch(jt){gu();const Gt=$(),{shouldRetryOnError:Ri}=Gt;Gt.isPaused()||(St.error=jt,et&&st()&&(Gt.onError(jt,v,Gt),(Ri===!0||Ot(Ri)&&Ri(jt))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||j())&&Gt.onErrorRetry(jt,v,Gt,Qw=>{const Di=d[v];Di&&Di[0]&&Di[0](yn.ERROR_REVALIDATE_EVENT,Qw)},{retryCount:(pe.retryCount||0)+1,dedupe:!0})))}return mt=!1,De(),!0},[v,r]),Lr=xe((...W)=>ws(r,y.current,...W),[]);if(xo(()=>{k.current=e,S.current=n,H(ut)||(Nr.current=ut)}),xo(()=>{if(!v)return;const W=Re.bind(ft,Eo);let B=0;const Y=ef(v,d,(mt,pe={})=>{if(mt==yn.FOCUS_EVENT){const et=Date.now();$().revalidateOnFocus&&et>B&&j()&&(B=et+$().focusThrottleInterval,W())}else if(mt==yn.RECONNECT_EVENT)$().revalidateOnReconnect&&j()&&W();else{if(mt==yn.MUTATE_EVENT)return Re();if(mt==yn.ERROR_REVALIDATE_EVENT)return Re(pe)}});return b.current=!1,y.current=v,m.current=!0,N({_k:x}),qt&&(H(wt)||mn?W():Fd(W)),()=>{b.current=!0,Y()}},[v]),xo(()=>{let W;function B(){const Y=Ot(u)?u(O().data):u;Y&&W!==-1&&(W=setTimeout(ot,Y))}function ot(){!O().error&&(f||$().isVisible())&&(c||$().isOnline())?Re(Eo).then(B):B()}return B(),()=>{W&&(clearTimeout(W),W=-1)}},[u,f,c,v]),Bn(Kt),i&&H(wt)&&v){if(!ps&&mn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=e,S.current=n,b.current=!1;const W=w[v];if(!H(W)){const B=Lr(W);xs(B)}if(H(Te)){const B=Re(Eo);H(Kt)||(B.status="fulfilled",B.value=!0),xs(B)}else throw Te}return{mutate:Lr,get data(){return D.data=!0,Kt},get error(){return D.error=!0,Te},get isValidating(){return D.isValidating=!0,Ti},get isLoading(){return D.isLoading=!0,sn}}}),Lt=ye({base:"truncate max-w-full block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"bg-tag-neutral-weak-bg border-solid border-px text-tag-neutral-weak-copy border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy border-solid border-px bg-tag-neutral-strong-bg border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy border-solid border-px bg-tag-accent-strong-bg border-tag-accent-strong-stroke",monetaryWeak:"bg-tag-monetary-weak-bg text-tag-monetary-weak-copy 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}}),nf=({query:t,property:e,selectedValues:n})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return dt(i),g("span",{class:Lt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return g("span",{class:Lt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:ht(t)}},rf=8,$s=42,of=8,af=6,sf=4,cf=ye({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),lf=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},ks=t=>{var n;const e=Number((n=t.match(/\d/g))==null?void 0:n.join(""));return isNaN(e)?0:e},uf=(t,e={by:"results-count",order:"descending"})=>{switch(e.by){case"results-count":t.sort((n,r)=>r.jobs-n.jobs);break;case"alphabetically":t.sort((n,r)=>n.label.localeCompare(r.label));break;case"numerically":t.sort((n,r)=>{const o=ks(n.value),i=ks(r.value);return o-i});break}return e.order==="descending"&&t.reverse(),t},df=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a,filterParams:s})=>{const l=Gr(r()),u=oe(()=>{switch(l.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const v=l.data[e.key]??[];return Object.fromEntries(v.map(x=>[x.value,!0]))}default:ht(l)}},[l,e.key]),f=Es(t),c=f.length>0,p=(s==null?void 0:s.suggestionsPerPage)??rf,[d,_]=bt(p),[h,w]=bt();return Et(()=>{a()}),l.state==="error"?g(ee,{error:new Error("We’re having trouble loading available filters.",{cause:l.error}),resetError:()=>l.swr.mutate()}):g("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&g("div",{class:"top-0 px-4 py-1",children:g("input",{type:"text",class:cf({hasValue:c}),value:h,onInput:v=>w(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return g(ee,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return g("div",{class:"flex px-4",children:g("div",{"aria-hidden":!0,class:Lt({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:g("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=uf(i.data[e.key]??[],e.sortSuggestions),x=h&&h.length>1?v.filter(y=>y.label.toLowerCase().includes(h.toLowerCase())):v,m=[];for(const y of x){if(y.label.length<1)continue;const k={...y,disabled:u===null?!1:u[y.value]!==!0};switch(e.results){case"only-available":k.disabled==!1&&m.push(k);break;default:m.push(k)}}return m.find(y=>!y.disabled)?g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{maxHeight:($s+of)*(af-1)+$s/2+2*sf},class:"hide-scrollbars 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 gap-2 overflow-y-auto px-4",children:[m.slice(0,d).map(y=>{const k=f.includes(y.value);return g("li",{class:"animate-appear-tag max-w-full origin-top",children:g("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(t.select){case"many":{const S=lf(f,y.value);o({select:"many",value:S});break}case"one":o({select:"one",value:y.value});break;default:ht(t)}},class:Lt({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag"}),children:y.label})},y.value)}),m.length>d&&g("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:g("button",{class:hn({variant:"neutral",icon:"right",size:"lg",class:"border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:()=>{_(d+p)},children:[g("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),g(ne,{"aria-hidden":!0,name:"plus"})]})})]})}):g("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."})}default:ht(i)}})(),g("footer",{class:"flex justify-end p-2",children:[g("div",{class:"flex-1",children:c&&g("button",{class:hn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[g(ne,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&g("div",{class:"flex items-center overflow-hidden",children:g("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[f.length," selected"]})}),g("div",{class:"flex-1",children:g("button",{class:hn({variant:c?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[c?"Done":"Skip"," ",g(ne,{name:"chevron-right"})]},c?"done":"skip")})]})]})},js={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"},ff=ye({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"}}}),pf=ye({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"}}}),hf=ye({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),vf=t=>{const e=vt(null),[n,r]=bt(0),o=()=>{var i;return r(((i=e.current)==null?void 0:i.clientHeight)??0)};return re(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:n,ref:e,updateHeight:o}},Es=t=>typeof t.value=="string"?[t.value]:t.value??[],_f=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s,filterParams:l})=>{const u=he(r.key,js)?js[r.key]:void 0,f=r.icon??u??"filter",c=Es(e),{height:p,ref:d,updateHeight:_}=vf([t]),h=c.length>0;return g("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:ff({hasValue:h}),onTouchStart:yf,children:[g("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[g("button",{"aria-label":t?"Close filter":"Open filter",class:pf({state:t?"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(!t),children:[g(ne,{"aria-hidden":!0,class:"flex-none",name:f}),g("p",{children:r.label})]}),g("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:p},children:g("div",{class:"w-full",ref:d,children:t&&g(df,{useQuery:s,onRender:_,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:e,filterParams:l})})})]}),!t&&g("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[g("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:g(nf,{property:r,query:a,selectedValues:c})}),g(ne,{"aria-hidden":!0,class:hf(),name:"chevron-right"})]})]})},gf=t=>{const e=vt();return Et(()=>{e.current=t},[t]),e.current},wf=(t,e)=>{var o;const n=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(dt(r instanceof HTMLButtonElement,"option must be button"),r.focus())},mf=(t,e)=>{const n=gf(t);Et(()=>{if(n===t)return;const r=t??n;r&&wf(r,e)},[t,n,e])};function yf(){}const bf=({property:t,value:e,activeKey:n,properties:r,appliedFilters:o})=>{var i,a;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:e,newActiveKey:n};case"one":{const s=r.findIndex(c=>c.key===t.key),l=s!==-1?(i=r[s+1])==null?void 0:i.key:void 0,f=(l?((a=o[l])==null?void 0:a.value)!==void 0:!1)?void 0:l;return{newValue:e,newActiveKey:f}}default:ht(e)}},xf=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i,filterParams:a})=>{var p;const[s,l]=bt((p=t[0])==null?void 0:p.key);mf(s,e);const u=oe(()=>No(t.map(({value:d,..._})=>_)),[t]),f=Gr(So(Kn({filter:u,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:u}),Xr)),c=xe(d=>()=>{const _={...n,[d]:u[d]};return So(Kn({filter:_,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:_}),Xr)},[o,n,u,i]);return f.state==="error"?g(ee,{error:new Error("We’re having trouble loading available filters.",{cause:f.error}),resetError:()=>f.swr.mutate()}):g("aside",{children:g("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.filter(d=>d.hidden!==!0).map(d=>{const _=s===d.key,h=n[d.key]??{select:d.select,value:void 0},w=m=>{const{newActiveKey:b,newValue:y}=bf({property:d,activeKey:s,value:m,properties:t,appliedFilters:n});return l(b),r(d.key,y)},v=m=>l(m?d.key:void 0),x=c(d.key);return g(vn,{Fallback:ee,children:g(_f,{unfilteredQuery:f,active:_,property:d,onActiveChange:v,value:h,onSkip:()=>{var y;const m=t.findIndex(k=>k.key===s),b=m!==-1?(y=t[m+1])==null?void 0:y.key:void 0;l(b)},useQuery:x,onValueChange:w,filterParams:a})},d.key)})})})};var $f=Array.isArray,Co=$f,kf=typeof Xn=="object"&&Xn&&Xn.Object===Object&&Xn,jf=kf,Ef=jf,Sf=typeof self=="object"&&self&&self.Object===Object&&self,Cf=Ef||Sf||Function("return this")(),Oo=Cf,Of=Oo,Af=Of.Symbol,Ao=Af,Ss=Ao,Cs=Object.prototype,Pf=Cs.hasOwnProperty,Tf=Cs.toString,bn=Ss?Ss.toStringTag:void 0;function Rf(t){var e=Pf.call(t,bn),n=t[bn];try{t[bn]=void 0;var r=!0}catch{}var o=Tf.call(t);return r&&(e?t[bn]=n:delete t[bn]),o}var Df=Rf,Nf=Object.prototype,Lf=Nf.toString;function Mf(t){return Lf.call(t)}var Ff=Mf,Os=Ao,If=Df,Hf=Ff,Vf="[object Null]",zf="[object Undefined]",As=Os?Os.toStringTag:void 0;function Uf(t){return t==null?t===void 0?zf:Vf:As&&As in Object(t)?If(t):Hf(t)}var Ps=Uf;function Wf(t){return t!=null&&typeof t=="object"}var Bf=Wf,Yf=Ps,Kf=Bf,qf="[object Symbol]";function Gf(t){return typeof t=="symbol"||Kf(t)&&Yf(t)==qf}var Po=Gf,Xf=Co,Zf=Po,Jf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qf=/^\w*$/;function tp(t,e){if(Xf(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Zf(t)?!0:Qf.test(t)||!Jf.test(t)||e!=null&&t in Object(e)}var ep=tp;function np(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ts=np,rp=Ps,op=Ts,ip="[object AsyncFunction]",ap="[object Function]",sp="[object GeneratorFunction]",cp="[object Proxy]";function lp(t){if(!op(t))return!1;var e=rp(t);return e==ap||e==sp||e==ip||e==cp}var up=lp,dp=Oo,fp=dp["__core-js_shared__"],pp=fp,To=pp,Rs=function(){var t=/[^.]+$/.exec(To&&To.keys&&To.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function hp(t){return!!Rs&&Rs in t}var vp=hp,_p=Function.prototype,gp=_p.toString;function wp(t){if(t!=null){try{return gp.call(t)}catch{}try{return t+""}catch{}}return""}var mp=wp,yp=up,bp=vp,xp=Ts,$p=mp,kp=/[\\^$.*+?()[\]{}|]/g,jp=/^\[object .+?Constructor\]$/,Ep=Function.prototype,Sp=Object.prototype,Cp=Ep.toString,Op=Sp.hasOwnProperty,Ap=RegExp("^"+Cp.call(Op).replace(kp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pp(t){if(!xp(t)||bp(t))return!1;var e=yp(t)?Ap:jp;return e.test($p(t))}var Tp=Pp;function Rp(t,e){return t==null?void 0:t[e]}var Dp=Rp,Np=Tp,Lp=Dp;function Mp(t,e){var n=Lp(t,e);return Np(n)?n:void 0}var Ds=Mp,Fp=Ds,Ip=Fp(Object,"create"),tr=Ip,Ns=tr;function Hp(){this.__data__=Ns?Ns(null):{},this.size=0}var Vp=Hp;function zp(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Up=zp,Wp=tr,Bp="__lodash_hash_undefined__",Yp=Object.prototype,Kp=Yp.hasOwnProperty;function qp(t){var e=this.__data__;if(Wp){var n=e[t];return n===Bp?void 0:n}return Kp.call(e,t)?e[t]:void 0}var Gp=qp,Xp=tr,Zp=Object.prototype,Jp=Zp.hasOwnProperty;function Qp(t){var e=this.__data__;return Xp?e[t]!==void 0:Jp.call(e,t)}var th=Qp,eh=tr,nh="__lodash_hash_undefined__";function rh(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=eh&&e===void 0?nh:e,this}var oh=rh,ih=Vp,ah=Up,sh=Gp,ch=th,lh=oh;function Ie(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ie.prototype.clear=ih,Ie.prototype.delete=ah,Ie.prototype.get=sh,Ie.prototype.has=ch,Ie.prototype.set=lh;var uh=Ie;function dh(){this.__data__=[],this.size=0}var fh=dh;function ph(t,e){return t===e||t!==t&&e!==e}var hh=ph,vh=hh;function _h(t,e){for(var n=t.length;n--;)if(vh(t[n][0],e))return n;return-1}var er=_h,gh=er,wh=Array.prototype,mh=wh.splice;function yh(t){var e=this.__data__,n=gh(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():mh.call(e,n,1),--this.size,!0}var bh=yh,xh=er;function $h(t){var e=this.__data__,n=xh(e,t);return n<0?void 0:e[n][1]}var kh=$h,jh=er;function Eh(t){return jh(this.__data__,t)>-1}var Sh=Eh,Ch=er;function Oh(t,e){var n=this.__data__,r=Ch(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Ah=Oh,Ph=fh,Th=bh,Rh=kh,Dh=Sh,Nh=Ah;function He(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}He.prototype.clear=Ph,He.prototype.delete=Th,He.prototype.get=Rh,He.prototype.has=Dh,He.prototype.set=Nh;var Lh=He,Mh=Ds,Fh=Oo,Ih=Mh(Fh,"Map"),Hh=Ih,Ls=uh,Vh=Lh,zh=Hh;function Uh(){this.size=0,this.__data__={hash:new Ls,map:new(zh||Vh),string:new Ls}}var Wh=Uh;function Bh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Yh=Bh,Kh=Yh;function qh(t,e){var n=t.__data__;return Kh(e)?n[typeof e=="string"?"string":"hash"]:n.map}var nr=qh,Gh=nr;function Xh(t){var e=Gh(this,t).delete(t);return this.size-=e?1:0,e}var Zh=Xh,Jh=nr;function Qh(t){return Jh(this,t).get(t)}var tv=Qh,ev=nr;function nv(t){return ev(this,t).has(t)}var rv=nv,ov=nr;function iv(t,e){var n=ov(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var av=iv,sv=Wh,cv=Zh,lv=tv,uv=rv,dv=av;function Ve(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ve.prototype.clear=sv,Ve.prototype.delete=cv,Ve.prototype.get=lv,Ve.prototype.has=uv,Ve.prototype.set=dv;var fv=Ve,Ms=fv,pv="Expected a function";function Ro(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(pv);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ro.Cache||Ms),n}Ro.Cache=Ms;var hv=Ro,vv=hv,_v=500;function gv(t){var e=vv(t,function(r){return n.size===_v&&n.clear(),r}),n=e.cache;return e}var wv=gv,mv=wv,yv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bv=/\\(\\)?/g,xv=mv(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(yv,function(n,r,o,i){e.push(o?i.replace(bv,"$1"):r||n)}),e}),$v=xv;function kv(t,e){for(var n=-1,r=t==null?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var jv=kv,Fs=Ao,Ev=jv,Sv=Co,Cv=Po,Ov=1/0,Is=Fs?Fs.prototype:void 0,Hs=Is?Is.toString:void 0;function Vs(t){if(typeof t=="string")return t;if(Sv(t))return Ev(t,Vs)+"";if(Cv(t))return Hs?Hs.call(t):"";var e=t+"";return e=="0"&&1/t==-Ov?"-0":e}var Av=Vs,Pv=Av;function Tv(t){return t==null?"":Pv(t)}var Rv=Tv,Dv=Co,Nv=ep,Lv=$v,Mv=Rv;function Fv(t,e){return Dv(t)?t:Nv(t,e)?[t]:Lv(Mv(t))}var Iv=Fv,Hv=Po,Vv=1/0;function zv(t){if(typeof t=="string"||Hv(t))return t;var e=t+"";return e=="0"&&1/t==-Vv?"-0":e}var Uv=zv,Wv=Iv,Bv=Uv;function Yv(t,e){e=Wv(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Bv(e[n++])];return n&&n==r?t:void 0}var Kv=Yv,qv=Kv;function Gv(t,e,n){var r=t==null?void 0:qv(t,e);return r===void 0?n:r}var Xv=Gv;const Zv=kd(Xv),rr=({chars:t})=>g("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),zs=ye({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}}),Do=({job:t,property:e})=>{if(!e)return null;const n=Zv(t.raw,e.key);return e.transform?e.transform(n):n},Jv=({job:t,config:e="hidden"})=>e==="hidden"?null:g("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:e.replace(":","/")},children:t.company.logo?g("img",{src:t.company.logo,alt:t.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Us=t=>Array.isArray(t)?t:[t],Qv=({job:t,config:e})=>{var a;const n=e.subheading?Do({job:t,property:e.subheading}):null,r=e.infoTags.flatMap(s=>Us(Do({job:t,property:s}))).filter(Boolean),o=Us((a=e.overrides)!=null&&a.salary?Do({job:t,property:e.overrides.salary}):t.pay).filter(Boolean),i=e.postedDate??"show";return g("a",{href:t.href,target:e.openJob==="redirect-new-tab"?"_blank":void 0,class:zs(),children:[g("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[g("div",{class:"gap-logo flex items-center",children:[g(Jv,{job:t,config:e.logo}),g("div",{class:"flex flex-col items-start gap-1",children:[g("div",{class:"order-2 flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[t.title.trim(),t.isNew&&i!=="hide"&&g(I,{children:[" ",g("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]}):null]})]}),g("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[g("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((s,l)=>g("span",{class:Lt({variant:"monetaryWeak",size:"xs"}),children:s},l))}),r.length>0&&g("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(s=>g("li",{class:Lt({size:"xs"}),children:s},s))})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(ne,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Ws=({config:t,animationDelay:e,seed:n})=>{const r=t.logo??"hidden",o=t.postedDate??"show";return g("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:zs({interactive:!1}),children:[g("div",{class:"flex flex-1 flex-col gap-4",children:[g("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:g("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),g("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info",children:g(rr,{chars:12})}):null,g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:g(rr,{chars:13+(n+5)*n%7})}),t.subheading!==null?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:g(rr,{chars:7+n*n%3})}):null]})]})]}),g("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&g("span",{class:Lt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),g("div",{class:"flex items-center gap-2",children:[g("span",{class:Lt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),g("span",{class:Lt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(ne,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},t_=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:zn}).map((r,o)=>g("li",{children:g(Ws,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):g("button",{class:hn({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),e_=({pagination:t})=>(dt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),n_=({appliedFilters:t,apiClient:e,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=bt(1);return g(I,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return g(vn,{Fallback:ee,children:g(r_,{appliedFilters:t,apiClient:e,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},r_=({appliedFilters:t,apiClient:e,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{data:f,error:c,state:p,swr:d}=Gr(So(Kn({filter:t,baseKey:r.toString()}),()=>wa({apiClient:e,logger:n,filters:t,page:r}),{...Xr,fallbackData:u}));switch(p){case"loading":return g(I,{children:[o&&g("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:g(rr,{chars:8})}),g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:zn}).map((_,h)=>g("li",{children:g(Ws,{seed:h,animationDelay:(h-zn)*.1,config:s})},h))})]});case"error":return g(ee,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(dt(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return g("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[g(ne,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),g("div",{class:"flex flex-col items-center gap-1",children:[g("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),g("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=f.pagination.last_page!==f.pagination.current_page;return g(I,{children:[o&&g("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:e_({pagination:f.pagination})}),g("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>g("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:g(Qv,{job:h,config:s})},h.id))}),_&&i&&g(t_,{state:p,fetchNextPage:a,config:s})]})}default:ht(p)}},No=t=>t.reduce((e,n)=>{switch(n.select){case"one":e[n.key]={select:n.select,value:n.value};break;case"many":e[n.key]={select:n.select,value:n.value?[n.value]:[]};break;default:ht(n.select)}return e},{}),o_=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=vt(null),[u,f]=bt(()=>({default:!0,filters:No(n)}));return g("div",{ref:l,class:r,id:ha,children:g("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[g(vn,{Fallback:ee,children:g("div",{class:"flex flex-col gap-2",children:[g(xf,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},filterParams:s.filter,properties:n,parentRef:l,logger:e,apiClient:t}),s.enableJobAlerts&&g("div",{class:"flex justify-center px-4 md:px-0",children:g(cd,{appliedFilters:u.filters,analytics:o,apiClient:t,logger:e,theme:s.theme})})]})}),g("div",{class:"md:col-span-2",children:g("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:g(vn,{Fallback:ee,children:g(n_,{appliedFilters:u.filters,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:u.default?i==null?void 0:i.jobs:void 0},Kn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},i_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .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-\\[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 appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@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 .flex-nowrap{flex-wrap:nowrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#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-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-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-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-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-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .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 .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#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 .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 .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\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:w-full{width:100%}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@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))}
|
|
18
|
-
`;var
|
|
17
|
+
*/var ds;function Cd(){return ds||(ds=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 t=ls,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(y){{for(var b=arguments.length,m=new Array(b>1?b-1:0),k=1;k<b;k++)m[k-1]=arguments[k];r("error",y,m)}}function r(y,b,m){{var k=e.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(b+="%s",m=m.concat([C]));var $=m.map(function(j){return String(j)});$.unshift("Warning: "+b),Function.prototype.apply.call(console[y],console,$)}}function o(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,s=t.useEffect,l=t.useLayoutEffect,u=t.useDebugValue,f=!1,c=!1;function p(y,b,m){f||t.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=b();if(!c){var C=b();i(k,C)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:b}}),j=$[0].inst,O=$[1];return l(function(){j.value=k,j.getSnapshot=b,d(j)&&O({inst:j})},[y,k,b]),s(function(){d(j)&&O({inst:j});var N=function(){d(j)&&O({inst:j})};return y(N)},[y]),u(k),k}function d(y){var b=y.getSnapshot,m=y.value;try{var k=b();return!i(m,k)}catch{return!0}}function _(y,b,m){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w=!h,v=w?_:p,x=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;ho.useSyncExternalStore=x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ho}process.env.NODE_ENV==="production"?fo.exports=Sd():fo.exports=Cd();var Ed=fo.exports;const ae=()=>{},ft=ae(),vo=Object,H=t=>t===ft,At=t=>typeof t=="function",se=(t,e)=>({...t,...e}),Od=t=>At(t.then),Xn=new WeakMap;let Ad=0;const gn=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,i;if(vo(t)===t&&!r&&n!=RegExp){if(o=Xn.get(t),o)return o;if(o=++Ad+"~",Xn.set(t,o),n==Array){for(o="@",i=0;i<t.length;i++)o+=gn(t[i])+",";Xn.set(t,o)}if(n==vo){o="#";const a=vo.keys(t).sort();for(;!H(i=a.pop());)H(t[i])||(o+=i+":"+gn(t[i])+",");Xn.set(t,o)}}else o=r?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Lt=new WeakMap,_o={},Zn={},go="undefined",Jn=typeof window!=go,wo=typeof document!=go,Pd=()=>Jn&&typeof window.requestAnimationFrame!=go,fs=(t,e)=>{const n=Lt.get(t);return[()=>!H(e)&&t.get(e)||_o,r=>{if(!H(e)){const o=t.get(e);e in Zn||(Zn[e]=o),n[5](e,se(o,r),o||_o)}},n[6],()=>!H(e)&&e in Zn?Zn[e]:!H(e)&&t.get(e)||_o]};let mo=!0;const Td=()=>mo,[yo,bo]=Jn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ae,ae],Rd=()=>{const t=wo&&document.visibilityState;return H(t)||t!=="hidden"},Dd=t=>(wo&&document.addEventListener("visibilitychange",t),yo("focus",t),()=>{wo&&document.removeEventListener("visibilitychange",t),bo("focus",t)}),Nd=t=>{const e=()=>{mo=!0,t()},n=()=>{mo=!1};return yo("online",e),yo("offline",n),()=>{bo("online",e),bo("offline",n)}},Ld={isOnline:Td,isVisible:Rd},Md={initFocus:Dd,initReconnect:Nd},ps=!qn.useId,wn=!Jn||"Deno"in window,Fd=t=>Pd()?window.requestAnimationFrame(t):setTimeout(t,1),xo=wn?Ct:oe,$o=typeof navigator<"u"&&navigator.connection,hs=!wn&&$o&&(["slow-2g","2g"].includes($o.effectiveType)||$o.saveData),ko=t=>{if(At(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?gn(t):"",[t,e]};let Id=0;const jo=()=>++Id,vs=0,_s=1,gs=2;var mn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:vs,MUTATE_EVENT:gs,RECONNECT_EVENT:_s};async function ws(...t){const[e,n,r,o]=t,i=se({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(At(n)){const p=n,d=[],_=e.keys();for(const h of _)!/^\$(inf|sub)\$/.test(h)&&p(e.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=ko(p);if(!d)return;const[_,h]=fs(e,d),[w,v,x,y]=Lt.get(e),b=()=>{const M=w[d];return(At(i.revalidate)?i.revalidate(_().data,p):i.revalidate!==!1)&&(delete x[d],delete y[d],M&&M[0])?M[0](gs).then(()=>_().data):_().data};if(t.length<3)return b();let m=r,k;const C=jo();v[d]=[C,0];const $=!H(l),j=_(),O=j.data,N=j._c,L=H(N)?O:N;if($&&(l=At(l)?l(L,O):l,h({data:l,_c:L})),At(m))try{m=m(L)}catch(M){k=M}if(m&&Od(m))if(m=await m.catch(M=>{k=M}),C!==v[d][0]){if(k)throw k;return m}else k&&$&&u(k)&&(a=!0,h({data:L,_c:ft}));if(a&&!k)if(At(a)){const M=a(m,L);h({data:M,error:ft,_c:ft})}else h({data:m,error:ft,_c:ft});if(v[d][1]=jo(),Promise.resolve(b()).then(()=>{h({_c:ft})}),k){if(f)throw k;return}return m}}const ms=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},Hd=(t,e)=>{if(!Lt.has(t)){const n=se(Md,e),r={},o=ws.bind(ft,t);let i=ae;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)=>{t.set(f,c);const d=a[f];if(d)for(const _ of d)_(c,p)},u=()=>{if(!Lt.has(t)&&(Lt.set(t,[r,{},{},{},o,l,s]),!wn)){const f=n.initFocus(setTimeout.bind(ft,ms.bind(ft,r,vs))),c=n.initReconnect(setTimeout.bind(ft,ms.bind(ft,r,_s)));i=()=>{f&&f(),c&&c(),Lt.delete(t)}}};return u(),[t,o,u,i]}return[t,Lt.get(t)[4]]},Vd=(t,e,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)},Ud=(t,e)=>gn(t)==gn(e),[ys,zd]=Hd(new Map),Wd=se({onLoadingSlow:ae,onSuccess:ae,onError:ae,onErrorRetry:Vd,onDiscarded:ae,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:hs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:hs?5e3:3e3,compare:Ud,isPaused:()=>!1,cache:ys,mutate:zd,fallback:{}},Ld),Bd=(t,e)=>{const n=se(t,e);if(e){const{use:r,fallback:o}=t,{use:i,fallback:a}=e;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=se(o,a))}return n},Yd=Br({}),Kd="$inf$",bs=Jn&&window.__SWR_DEVTOOLS_USE__,qd=bs?window.__SWR_DEVTOOLS_USE__:[],Gd=()=>{bs&&(window.__SWR_DEVTOOLS_REACT__=qn)},Xd=t=>At(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Zd=()=>se(Wd,zn(Yd)),Jd=t=>(e,n,r)=>t(e,n&&((...i)=>{const[a]=ko(e),[,,,s]=Lt.get(ys);if(a.startsWith(Kd))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),Qd=qd.concat(Jd),tf=t=>function(...n){const r=Zd(),[o,i,a]=Xd(n),s=Bd(r,a);let l=t;const{use:u}=s,f=(u||[]).concat(Qd);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},ef=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Gd();const xs=qn.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t)}),So={dedupe:!0},Co=tf((t,e,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,w]=Lt.get(r),[v,x]=ko(t),y=vt(!1),b=vt(!1),m=vt(v),k=vt(e),C=vt(n),$=()=>C.current,j=()=>$().isVisible()&&$().isOnline(),[O,N,L,M]=fs(r,v),D=vt({}).current,F=H(a)?n.fallback[v]:a,R=(W,B)=>{for(const ot in D){const Y=ot;if(Y==="data"){if(!o(W[Y],B[Y])&&(!H(W[Y])||!o(qt,B[Y])))return!1}else if(B[Y]!==W[Y])return!1}return!0},T=ie(()=>{const W=(()=>!v||!e?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),B=st=>{const Et=se(st);return delete Et._k,W?{isValidating:!0,isLoading:!0,...Et}:Et},ot=O(),Y=M(),mt=B(ot),he=ot===Y?mt:B(Y);let et=mt;return[()=>{const st=B(O());return R(st,et)?(et.data=st.data,et.isLoading=st.isLoading,et.isValidating=st.isValidating,et.error=st.error,et):(et=st,st)},()=>he]},[r,v]),tt=Ed.useSyncExternalStore(be(W=>L(v,(B,ot)=>{R(ot,B)||W()}),[r,v]),T[0],T[1]),ct=!y.current,pt=d[v]&&d[v].length>0,ut=tt.data,wt=H(ut)?F:ut,Pe=tt.error,Dr=vt(wt),qt=p?H(ut)?Dr.current:ut:wt,Gt=(()=>pt&&!H(Pe)?!1:ct&&!H(s)?s:$().isPaused()?!1:i?H(wt)?!1:l:H(wt)||l)(),Dn=!!(v&&e&&ct&&Gt),Ti=H(tt.isValidating)?Dn:tt.isValidating,an=H(tt.isLoading)?Dn:tt.isLoading,Te=be(async W=>{const B=k.current;if(!v||!B||b.current||$().isPaused())return!1;let ot,Y,mt=!0;const he=W||{},et=!h[v]||!he.dedupe,st=()=>ps?!b.current&&v===m.current&&y.current:v===m.current,Et={isValidating:!1,isLoading:!1},Re=()=>{N(Et)},gu=()=>{const St=h[v];St&&St[1]===Y&&delete h[v]},wu={isValidating:!0};H(O().data)&&(wu.isLoading=!0);try{if(et&&(N(wu),n.loadingTimeout&&H(O().data)&&setTimeout(()=>{mt&&st()&&$().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[B(x),jo()]),[ot,Y]=h[v],ot=await ot,et&&setTimeout(gu,n.dedupingInterval),!h[v]||h[v][1]!==Y)return et&&st()&&$().onDiscarded(v),!1;Et.error=ft;const St=_[v];if(!H(St)&&(Y<=St[0]||Y<=St[1]||St[1]===0))return Re(),et&&st()&&$().onDiscarded(v),!1;const Xt=O().data;Et.data=o(Xt,ot)?Xt:ot,et&&st()&&$().onSuccess(ot,v,n)}catch(St){gu();const Xt=$(),{shouldRetryOnError:Ri}=Xt;Xt.isPaused()||(Et.error=St,et&&st()&&(Xt.onError(St,v,Xt),(Ri===!0||At(Ri)&&Ri(St))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||j())&&Xt.onErrorRetry(St,v,Xt,rm=>{const Di=d[v];Di&&Di[0]&&Di[0](mn.ERROR_REVALIDATE_EVENT,rm)},{retryCount:(he.retryCount||0)+1,dedupe:!0})))}return mt=!1,Re(),!0},[v,r]),Nr=be((...W)=>ws(r,m.current,...W),[]);if(xo(()=>{k.current=e,C.current=n,H(ut)||(Dr.current=ut)}),xo(()=>{if(!v)return;const W=Te.bind(ft,So);let B=0;const Y=ef(v,d,(mt,he={})=>{if(mt==mn.FOCUS_EVENT){const et=Date.now();$().revalidateOnFocus&&et>B&&j()&&(B=et+$().focusThrottleInterval,W())}else if(mt==mn.RECONNECT_EVENT)$().revalidateOnReconnect&&j()&&W();else{if(mt==mn.MUTATE_EVENT)return Te();if(mt==mn.ERROR_REVALIDATE_EVENT)return Te(he)}});return b.current=!1,m.current=v,y.current=!0,N({_k:x}),Gt&&(H(wt)||wn?W():Fd(W)),()=>{b.current=!0,Y()}},[v]),xo(()=>{let W;function B(){const Y=At(u)?u(O().data):u;Y&&W!==-1&&(W=setTimeout(ot,Y))}function ot(){!O().error&&(f||$().isVisible())&&(c||$().isOnline())?Te(So).then(B):B()}return B(),()=>{W&&(clearTimeout(W),W=-1)}},[u,f,c,v]),Wn(qt),i&&H(wt)&&v){if(!ps&&wn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=e,C.current=n,b.current=!1;const W=w[v];if(!H(W)){const B=Nr(W);xs(B)}if(H(Pe)){const B=Te(So);H(qt)||(B.status="fulfilled",B.value=!0),xs(B)}else throw Pe}return{mutate:Nr,get data(){return D.data=!0,qt},get error(){return D.error=!0,Pe},get isValidating(){return D.isValidating=!0,Ti},get isLoading(){return D.isLoading=!0,an}}}),Mt=ee({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"bg-tag-neutral-weak-bg border-solid border-px text-tag-neutral-weak-copy border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy border-solid border-px bg-tag-neutral-strong-bg border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy border-solid border-px bg-tag-accent-strong-bg border-tag-accent-strong-stroke",monetaryWeak:"bg-tag-monetary-weak-bg text-tag-monetary-weak-copy 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}}),nf=({query:t,property:e,selectedValues:n})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return dt(i),g("span",{class:Mt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return g("span",{class:Mt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ht(t)}},rf=8,$s=42,of=8,af=6,sf=4,cf=ee({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),lf=ee({base:"rounded-job-tag inline-block px-1 border-solid border-px",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-5 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),uf=({children:t,colorScheme:e})=>g("span",{class:lf({colorScheme:e}),children:g("span",{class:"block w-[3ch] text-center tabular-nums",children:t})}),df=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},ks=t=>{var n;const e=Number((n=t.match(/\d/g))==null?void 0:n.join(""));return isNaN(e)?0:e},ff=(t,e={by:"results-count",order:"descending"})=>{switch(e.by){case"results-count":t.sort((n,r)=>r.jobs-n.jobs);break;case"alphabetically":t.sort((n,r)=>n.label.localeCompare(r.label));break;case"numerically":t.sort((n,r)=>{const o=ks(n.value),i=ks(r.value);return o-i});break}return e.order==="descending"&&t.reverse(),t},pf=(t,e)=>{if(t===null)return!1;const n=t[e.value];return n===void 0?!0:n===0},hf=(t,e)=>{const n=r=>r>99?"99+":r.toString();return n(t===null?e.jobs:t[e.value]??0)},vf=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a,filterParams:s})=>{const l=Gr(r()),u=ie(()=>{switch(l.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const v=l.data[e.key]??[];return Object.fromEntries(v.map(x=>[x.value,x.jobs]))}default:ht(l)}},[l,e.key]),f=Ss(t),c=f.length>0,p=(s==null?void 0:s.suggestionsPerPage)??rf,[d,_]=xt(p),[h,w]=xt();return Ct(()=>{a()}),l.state==="error"?g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:l.error}),resetError:()=>l.swr.mutate()}):g("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&g("div",{class:"top-0 px-4 py-1",children:g("input",{type:"text",class:cf({hasValue:c}),value:h,onInput:v=>w(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return g("div",{class:"flex px-4",children:g("div",{"aria-hidden":!0,class:Mt({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:g("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=ff(i.data[e.key]??[],e.sortSuggestions),x=h&&h.length>1?v.filter(m=>m.label.toLowerCase().includes(h.toLowerCase())):v,y=[];for(const m of x){if(m.label.length<1)continue;const k={...m,results:hf(u,m),disabled:pf(u,m)};switch(e.results){case"only-available":k.disabled==!1&&y.push(k);break;default:y.push(k)}}return y.find(m=>!m.disabled)?g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{maxHeight:($s+of)*(af-1)+$s/2+2*sf},class:"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 gap-2 overflow-y-auto px-4",children:[y.slice(0,d).map(m=>{const k=f.includes(m.value);return g("li",{class:"animate-appear-tag max-w-full origin-top",children:g("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(t.select){case"many":{const C=df(f,m.value);o({select:"many",value:C});break}case"one":o({select:"one",value:m.value});break;default:ht(t)}},class:Mt({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[g("span",{class:"max-w-full truncate",children:m.label})," ",g(uf,{colorScheme:k?"accentStrong":"neutralStrong",children:m.results})]})},m.value)}),y.length>d&&g("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:g("button",{class:pn({variant:"neutral",icon:"right",size:"lg",class:"border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:()=>{_(d+p)},children:[g("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),g(re,{"aria-hidden":!0,name:"plus"})]})})]})}):g("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."})}default:ht(i)}})(),g("footer",{class:"flex justify-end p-2",children:[g("div",{class:"flex-1",children:c&&g("button",{class:pn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[g(re,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&g("div",{class:"flex items-center overflow-hidden",children:g("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[f.length," selected"]})}),g("div",{class:"flex-1",children:g("button",{class:pn({variant:c?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[c?"Done":"Skip"," ",g(re,{name:"chevron-right"})]},c?"done":"skip")})]})]})},js={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"},_f=ee({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),gf=ee({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),wf=ee({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),mf=t=>{const e=vt(null),[n,r]=xt(0),o=()=>{var i;return r(((i=e.current)==null?void 0:i.clientHeight)??0)};return oe(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:n,ref:e,updateHeight:o}},Ss=t=>typeof t.value=="string"?[t.value]:t.value??[],yf=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s,filterParams:l})=>{const u=ve(r.key,js)?js[r.key]:void 0,f=r.icon??u??"filter",c=Ss(e),{height:p,ref:d,updateHeight:_}=mf([t]),h=c.length>0;return g("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:_f({hasValue:h}),onTouchStart:kf,children:[g("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[g("button",{"aria-label":t?"Close filter":"Open filter",class:gf({state:t?"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(!t),children:[g(re,{"aria-hidden":!0,class:"flex-none",name:f}),g("p",{children:r.label})]}),g("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:p},children:g("div",{class:"w-full",ref:d,children:t&&g(vf,{useQuery:s,onRender:_,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:e,filterParams:l})})})]}),!t&&g("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[g("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:g(nf,{property:r,query:a,selectedValues:c})}),g(re,{"aria-hidden":!0,class:wf(),name:"chevron-right"})]})]})},bf=t=>{const e=vt();return Ct(()=>{e.current=t},[t]),e.current},xf=(t,e)=>{var o;const n=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(dt(r instanceof HTMLButtonElement,"option must be button"),r.focus())},$f=(t,e)=>{const n=bf(t);Ct(()=>{if(n===t)return;const r=t??n;r&&xf(r,e)},[t,n,e])};function kf(){}const jf=({property:t,value:e,activeKey:n,properties:r,appliedFilters:o})=>{var i,a;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:e,newActiveKey:n};case"one":{const s=r.findIndex(c=>c.key===t.key),l=s!==-1?(i=r[s+1])==null?void 0:i.key:void 0,f=(l?((a=o[l])==null?void 0:a.value)!==void 0:!1)?void 0:l;return{newValue:e,newActiveKey:f}}default:ht(e)}},Sf=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i,filterParams:a})=>{var p;const[s,l]=xt((p=t[0])==null?void 0:p.key);$f(s,e);const u=ie(()=>No(t.map(({value:d,..._})=>_)),[t]),f=Gr(Co(Yn({filter:u,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:u}),Xr)),c=be(d=>()=>{const _={...n,[d]:u[d]};return Co(Yn({filter:_,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:_}),Xr)},[o,n,u,i]);return f.state==="error"?g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:f.error}),resetError:()=>f.swr.mutate()}):g("aside",{children:g("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.filter(d=>d.hidden!==!0).map(d=>{const _=s===d.key,h=n[d.key]??{select:d.select,value:void 0},w=y=>{const{newActiveKey:b,newValue:m}=jf({property:d,activeKey:s,value:y,properties:t,appliedFilters:n});return l(b),r(d.key,m)},v=y=>l(y?d.key:void 0),x=c(d.key);return g(hn,{Fallback:ne,children:g(yf,{unfilteredQuery:f,active:_,property:d,onActiveChange:v,value:h,onSkip:()=>{var m;const y=t.findIndex(k=>k.key===s),b=y!==-1?(m=t[y+1])==null?void 0:m.key:void 0;l(b)},useQuery:x,onValueChange:w,filterParams:a})},d.key)})})})};var Cf=Array.isArray,Eo=Cf,Ef=typeof Gn=="object"&&Gn&&Gn.Object===Object&&Gn,Of=Ef,Af=Of,Pf=typeof self=="object"&&self&&self.Object===Object&&self,Tf=Af||Pf||Function("return this")(),Oo=Tf,Rf=Oo,Df=Rf.Symbol,Ao=Df,Cs=Ao,Es=Object.prototype,Nf=Es.hasOwnProperty,Lf=Es.toString,yn=Cs?Cs.toStringTag:void 0;function Mf(t){var e=Nf.call(t,yn),n=t[yn];try{t[yn]=void 0;var r=!0}catch{}var o=Lf.call(t);return r&&(e?t[yn]=n:delete t[yn]),o}var Ff=Mf,If=Object.prototype,Hf=If.toString;function Vf(t){return Hf.call(t)}var Uf=Vf,Os=Ao,zf=Ff,Wf=Uf,Bf="[object Null]",Yf="[object Undefined]",As=Os?Os.toStringTag:void 0;function Kf(t){return t==null?t===void 0?Yf:Bf:As&&As in Object(t)?zf(t):Wf(t)}var Ps=Kf;function qf(t){return t!=null&&typeof t=="object"}var Gf=qf,Xf=Ps,Zf=Gf,Jf="[object Symbol]";function Qf(t){return typeof t=="symbol"||Zf(t)&&Xf(t)==Jf}var Po=Qf,tp=Eo,ep=Po,np=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rp=/^\w*$/;function op(t,e){if(tp(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||ep(t)?!0:rp.test(t)||!np.test(t)||e!=null&&t in Object(e)}var ip=op;function ap(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ts=ap,sp=Ps,cp=Ts,lp="[object AsyncFunction]",up="[object Function]",dp="[object GeneratorFunction]",fp="[object Proxy]";function pp(t){if(!cp(t))return!1;var e=sp(t);return e==up||e==dp||e==lp||e==fp}var hp=pp,vp=Oo,_p=vp["__core-js_shared__"],gp=_p,To=gp,Rs=function(){var t=/[^.]+$/.exec(To&&To.keys&&To.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function wp(t){return!!Rs&&Rs in t}var mp=wp,yp=Function.prototype,bp=yp.toString;function xp(t){if(t!=null){try{return bp.call(t)}catch{}try{return t+""}catch{}}return""}var $p=xp,kp=hp,jp=mp,Sp=Ts,Cp=$p,Ep=/[\\^$.*+?()[\]{}|]/g,Op=/^\[object .+?Constructor\]$/,Ap=Function.prototype,Pp=Object.prototype,Tp=Ap.toString,Rp=Pp.hasOwnProperty,Dp=RegExp("^"+Tp.call(Rp).replace(Ep,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Np(t){if(!Sp(t)||jp(t))return!1;var e=kp(t)?Dp:Op;return e.test(Cp(t))}var Lp=Np;function Mp(t,e){return t==null?void 0:t[e]}var Fp=Mp,Ip=Lp,Hp=Fp;function Vp(t,e){var n=Hp(t,e);return Ip(n)?n:void 0}var Ds=Vp,Up=Ds,zp=Up(Object,"create"),Qn=zp,Ns=Qn;function Wp(){this.__data__=Ns?Ns(null):{},this.size=0}var Bp=Wp;function Yp(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Kp=Yp,qp=Qn,Gp="__lodash_hash_undefined__",Xp=Object.prototype,Zp=Xp.hasOwnProperty;function Jp(t){var e=this.__data__;if(qp){var n=e[t];return n===Gp?void 0:n}return Zp.call(e,t)?e[t]:void 0}var Qp=Jp,th=Qn,eh=Object.prototype,nh=eh.hasOwnProperty;function rh(t){var e=this.__data__;return th?e[t]!==void 0:nh.call(e,t)}var oh=rh,ih=Qn,ah="__lodash_hash_undefined__";function sh(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ih&&e===void 0?ah:e,this}var ch=sh,lh=Bp,uh=Kp,dh=Qp,fh=oh,ph=ch;function Fe(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Fe.prototype.clear=lh,Fe.prototype.delete=uh,Fe.prototype.get=dh,Fe.prototype.has=fh,Fe.prototype.set=ph;var hh=Fe;function vh(){this.__data__=[],this.size=0}var _h=vh;function gh(t,e){return t===e||t!==t&&e!==e}var wh=gh,mh=wh;function yh(t,e){for(var n=t.length;n--;)if(mh(t[n][0],e))return n;return-1}var tr=yh,bh=tr,xh=Array.prototype,$h=xh.splice;function kh(t){var e=this.__data__,n=bh(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():$h.call(e,n,1),--this.size,!0}var jh=kh,Sh=tr;function Ch(t){var e=this.__data__,n=Sh(e,t);return n<0?void 0:e[n][1]}var Eh=Ch,Oh=tr;function Ah(t){return Oh(this.__data__,t)>-1}var Ph=Ah,Th=tr;function Rh(t,e){var n=this.__data__,r=Th(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Dh=Rh,Nh=_h,Lh=jh,Mh=Eh,Fh=Ph,Ih=Dh;function Ie(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ie.prototype.clear=Nh,Ie.prototype.delete=Lh,Ie.prototype.get=Mh,Ie.prototype.has=Fh,Ie.prototype.set=Ih;var Hh=Ie,Vh=Ds,Uh=Oo,zh=Vh(Uh,"Map"),Wh=zh,Ls=hh,Bh=Hh,Yh=Wh;function Kh(){this.size=0,this.__data__={hash:new Ls,map:new(Yh||Bh),string:new Ls}}var qh=Kh;function Gh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Xh=Gh,Zh=Xh;function Jh(t,e){var n=t.__data__;return Zh(e)?n[typeof e=="string"?"string":"hash"]:n.map}var er=Jh,Qh=er;function tv(t){var e=Qh(this,t).delete(t);return this.size-=e?1:0,e}var ev=tv,nv=er;function rv(t){return nv(this,t).get(t)}var ov=rv,iv=er;function av(t){return iv(this,t).has(t)}var sv=av,cv=er;function lv(t,e){var n=cv(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var uv=lv,dv=qh,fv=ev,pv=ov,hv=sv,vv=uv;function He(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}He.prototype.clear=dv,He.prototype.delete=fv,He.prototype.get=pv,He.prototype.has=hv,He.prototype.set=vv;var _v=He,Ms=_v,gv="Expected a function";function Ro(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(gv);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ro.Cache||Ms),n}Ro.Cache=Ms;var wv=Ro,mv=wv,yv=500;function bv(t){var e=mv(t,function(r){return n.size===yv&&n.clear(),r}),n=e.cache;return e}var xv=bv,$v=xv,kv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jv=/\\(\\)?/g,Sv=$v(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(kv,function(n,r,o,i){e.push(o?i.replace(jv,"$1"):r||n)}),e}),Cv=Sv;function Ev(t,e){for(var n=-1,r=t==null?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var Ov=Ev,Fs=Ao,Av=Ov,Pv=Eo,Tv=Po,Rv=1/0,Is=Fs?Fs.prototype:void 0,Hs=Is?Is.toString:void 0;function Vs(t){if(typeof t=="string")return t;if(Pv(t))return Av(t,Vs)+"";if(Tv(t))return Hs?Hs.call(t):"";var e=t+"";return e=="0"&&1/t==-Rv?"-0":e}var Dv=Vs,Nv=Dv;function Lv(t){return t==null?"":Nv(t)}var Mv=Lv,Fv=Eo,Iv=ip,Hv=Cv,Vv=Mv;function Uv(t,e){return Fv(t)?t:Iv(t,e)?[t]:Hv(Vv(t))}var zv=Uv,Wv=Po,Bv=1/0;function Yv(t){if(typeof t=="string"||Wv(t))return t;var e=t+"";return e=="0"&&1/t==-Bv?"-0":e}var Kv=Yv,qv=zv,Gv=Kv;function Xv(t,e){e=qv(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Gv(e[n++])];return n&&n==r?t:void 0}var Zv=Xv,Jv=Zv;function Qv(t,e,n){var r=t==null?void 0:Jv(t,e);return r===void 0?n:r}var t_=Qv;const e_=kd(t_),nr=({chars:t})=>g("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Us=ee({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),Do=({job:t,property:e})=>{if(!e)return null;const n=e_(t.raw,e.key);return e.transform?e.transform(n):n},n_=({job:t,config:e="hidden"})=>e==="hidden"?null:g("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:e.replace(":","/")},children:t.company.logo?g("img",{src:t.company.logo,alt:t.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),zs=t=>Array.isArray(t)?t:[t],r_=({job:t,config:e})=>{var s,l;const n=e.subheading?Do({job:t,property:e.subheading}):null,r=e.infoTags.flatMap(u=>zs(Do({job:t,property:u}))).filter(Boolean),o=zs((s=e.overrides)!=null&&s.salary?Do({job:t,property:e.overrides.salary}):t.pay).filter(Boolean),i=e.postedDate??"show",a=(l=e.overrides)!=null&&l.baseUrl?e.overrides.baseUrl(t.id.toString()):t.href;return g("a",{href:a,target:e.openJob==="redirect-new-tab"?"_blank":void 0,class:Us(),children:[g("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[g("div",{class:"gap-logo flex items-center",children:[g(n_,{job:t,config:e.logo}),g("div",{class:"flex flex-col items-start gap-1",children:[g("div",{class:"order-2 flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[t.title.trim(),t.isNew&&i!=="hide"&&g(I,{children:[" ",g("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]}):null]})]}),g("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[g("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((u,f)=>g("span",{class:Mt({variant:"monetaryWeak",size:"xs"}),children:u},f))}),r.length>0&&g("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(u=>g("li",{class:Mt({size:"xs",class:"max-w-full truncate"}),children:u},u))})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(re,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Ws=({config:t,animationDelay:e,seed:n})=>{const r=t.logo??"hidden",o=t.postedDate??"show";return g("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:Us({interactive:!1}),children:[g("div",{class:"flex flex-1 flex-col gap-4",children:[g("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:g("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),g("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info",children:g(nr,{chars:12})}):null,g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:g(nr,{chars:13+(n+5)*n%7})}),t.subheading!==null?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:g(nr,{chars:7+n*n%3})}):null]})]})]}),g("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&g("span",{class:Mt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),g("div",{class:"flex items-center gap-2",children:[g("span",{class:Mt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),g("span",{class:Mt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(re,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},o_=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Vn}).map((r,o)=>g("li",{children:g(Ws,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):g("button",{class:pn({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),i_=({pagination:t})=>(dt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),a_=({appliedFilters:t,apiClient:e,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=xt(1);return g(I,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return g(hn,{Fallback:ne,children:g(s_,{appliedFilters:t,apiClient:e,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},s_=({appliedFilters:t,apiClient:e,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{data:f,error:c,state:p,swr:d}=Gr(Co(Yn({filter:t,baseKey:r.toString()}),()=>wa({apiClient:e,logger:n,filters:t,page:r}),{...Xr,fallbackData:u}));switch(p){case"loading":return g(I,{children:[o&&g("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:g(nr,{chars:8})}),g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Vn}).map((_,h)=>g("li",{children:g(Ws,{seed:h,animationDelay:(h-Vn)*.1,config:s})},h))})]});case"error":return g(ne,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(dt(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return g("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[g(re,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),g("div",{class:"flex flex-col items-center gap-1",children:[g("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),g("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=f.pagination.last_page!==f.pagination.current_page;return g(I,{children:[o&&g("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:i_({pagination:f.pagination})}),g("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>g("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:g(r_,{job:h,config:s})},h.id))}),_&&i&&g(o_,{state:p,fetchNextPage:a,config:s})]})}default:ht(p)}},No=t=>t.reduce((e,n)=>{var r;switch(n.select){case"one":{const o=typeof n.value=="string"?n.value:(r=n.value)==null?void 0:r[0];e[n.key]={select:n.select,value:o};break}case"many":{const o=typeof n.value=="string"?[n.value]:Array.isArray(n.value)?n.value:[];e[n.key]={select:n.select,value:o};break}default:ht(n.select)}return e},{}),c_=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=vt(null),[u,f]=xt(()=>({default:!0,filters:No(n)}));return g("div",{ref:l,class:r,id:ha,children:g("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[g(hn,{Fallback:ne,children:g("div",{class:"flex flex-col gap-2",children:[g(Sf,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},filterParams:s.filter,properties:n,parentRef:l,logger:e,apiClient:t}),s.enableJobAlerts&&g("div",{class:"flex justify-center px-4 md:px-0",children:g(cd,{appliedFilters:u.filters,analytics:o,apiClient:t,logger:e,theme:s.theme})})]})}),g("div",{class:"md:col-span-2",children:g("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:g(hn,{Fallback:ne,children:g(a_,{appliedFilters:u.filters,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:u.default?i==null?void 0:i.jobs:void 0},Yn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},l_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .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 appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@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 .flex-nowrap{flex-wrap:nowrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#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-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-5{background-color:var(--i-color-a-5)}#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-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .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 .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\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:w-full{width:100%}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@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))}
|
|
18
|
+
`;var u_=["1","2","3","4","5","6","7","8","9","10","11","12"],d_={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]}},f_=(t,e=1,n)=>r=>{const[o,i]=d_[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},Lo=t=>{const e=f_(t.hue,t.chroma,t.mode);return Object.fromEntries(u_.map(n=>[t.prefix+n,t.transform(e(n))]))},Mo=t=>t,p_=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[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(e)},rr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Fo=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(rr(t)&&rr(n))for(const r in n){const o=n[r];if(rr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];rr(i)&&Fo(i,o)}else Object.assign(t,{[r]:n[r]})}return Fo(t,...e)},h_=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},v_=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=p_(Fo(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const $t=t=>{const e=[],n=r=>({with:(o,i)=>(e.push({pattern:o,fn:i}),n(r)),otherwise:o=>{t:for(const{fn:i,pattern:a}of e){for(const s in a)if(a[s]!==r[s])continue t;return i(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(t)},[Io,Ho,Ft]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],__=v_().core(({theme:t})=>({color:{black:Io,white:Ho,lowest:t.mode==="light"?Ho:Io,highest:t.mode==="light"?Io:Ho,...Lo({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:Mo}),...Lo({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:Mo}),...Lo({prefix:"m-",hue:140,chroma:t.accent.chroma,mode:t.mode,transform:Mo})}})).semantic(({core:t,theme:e,raw:n})=>{var s,l,u,f,c,p,d,_,h,w,v,x,y,b,m,k,C,$,j,O,N;const r=(L,M)=>n.core.color[L].replace(")",` / ${M})`),{typography:o,highlights:i}=e,a=((s=e.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(e.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=e.typography.jobHeading)==null?void 0:u.fontFamily)??e.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((_=(d=o.filter)==null?void 0:d.weight)==null?void 0:_.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((w=o.tag)==null?void 0:w.style)??o.style??"inherit","style-job-heading":((v=o.jobHeading)==null?void 0:v.style)??o.style??"inherit","weight-tag":((y=(x=o.tag)==null?void 0:x.weight)==null?void 0:y.toString())??((b=o.weight)==null?void 0:b.toString())??"inherit","weight-job-heading":((k=(m=o.jobHeading)==null?void 0:m.weight)==null?void 0:k.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((O=(j=o.input)==null?void 0:j.weight)==null?void 0:O.toString())??((N=o.weight)==null?void 0:N.toString())??"inherit","app-bg":t("color.lowest"),copy:t(a?"color.highest":"color.n-12"),"copy-lowcontrast":t("color.n-11"),"copy-info":t(a?"color.n-11":"color.n-10"),"copy-icon":t(a?"color.n-12":"color.n-11"),"copy-accent":t(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":t(a?"color.a-12":"color.a-11"),"copy-accent-icon":t(a?"color.a-12":"color.a-11"),"copy-inverted":t("color.lowest"),"copy-inverted-lowcontrast":t("color.n-4"),"copy-inverted-icon":t("color.n-3"),"tag-neutral-weak-bg":i==="fill"?t("color.n-2"):Ft,"tag-neutral-weak-copy":t("color.n-12"),"tag-neutral-weak-stroke-color":t(i==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":i==="fill"?t("color.n-12"):Ft,"tag-neutral-strong-copy":t(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":t("color.m-3"),"tag-monetary-weak-copy":t("color.m-11"),"tag-monetary-weak-stroke-color":t("color.m-4"),"tag-accent-strong-bg":e.mode==="dark"?t("color.a-9"):t("color.a-11"),"tag-accent-strong-copy":t("color.white"),"tag-accent-strong-stroke-color":Ft,"radius-app":$t(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":$t(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":$t(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":$t(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":$t(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":$t(e).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":$t(e).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":t(a?"color.n-5":"color.n-4"),"interactive-neutral-text":t("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":t(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":t("color.a-11"),"radius-interactive":$t(e).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?t("color.n-2"):Ft,"section-strong-bg":i==="fill"?t(a?"color.n-3":"color.n-2"):Ft,"section-weak-stroke-color":i==="fill"?Ft:t(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Ft:t(a?"color.n-11":"color.n-4"),"section-stroke-width":$t(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":$t(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Ft),"job-card-bg-active":$t(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Ft),"job-card-stroke-color":t(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":t("color.a-9"),"job-card-stroke-width":$t(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),g_=h_({prefix:"i-"}),w_=t=>{const e=__.from({theme:t,getToken:g_}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ha} {
|
|
19
19
|
${n.concat(n).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`},v_=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${pa}`);return dt(t,`Element with id ${pa} not found.`),t}}))(),__=()=>Li(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var i;return Q(vn,{Fallback:ed},[[Q("style",{id:"inploi-job-search-styles"},i_),Q("style",{id:"inploi-job-search-theme"},h_(o.theme))],Q(rd,{theme:o.theme}),Q(o_,{properties:o.properties,apiClient:t,logger:e,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,params:o})])};return{prerender:async o=>{const i=o.withData?await wa({filters:No(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Pu(Q(I,{},Q(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Br:Ne;dt(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(Q(r,{params:o}),v_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=__;function Bs(t,e){if(!t)throw new Error(e)}var xn,E,Ys,Ks,$e,qs,Gs,Vo,Xs,$n={},Zs=[],g_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ir=Array.isArray;function Ft(t,e){for(var n in e)t[n]=e[n];return t}function Js(t){var e=t.parentNode;e&&e.removeChild(t)}function C(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?xn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return kn(t,a,r,o,null)}function kn(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Ys,__i:-1,__u:0};return o==null&&E.vnode!=null&&E.vnode(i),i}function Qs(){return{current:null}}function J(t){return t.children}function $t(t,e){this.props=t,this.context=e}function ze(t,e){if(e==null)return t.__?ze(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?ze(t):null}function tc(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return tc(t)}}function zo(t){(!t.__d&&(t.__d=!0)&&$e.push(t)&&!ar.__r++||qs!==E.debounceRendering)&&((qs=E.debounceRendering)||Gs)(ar)}function ar(){var t,e,n,r,o,i,a,s,l;for($e.sort(Vo);t=$e.shift();)t.__d&&(e=$e.length,r=void 0,i=(o=(n=t).__v).__e,s=[],l=[],(a=n.__P)&&((r=Ft({},o)).__v=o.__v+1,E.vnode&&E.vnode(r),Uo(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??ze(o),!!(32&o.__u),l),r.__.__k[r.__i]=r,ac(s,r,l),r.__e!=i&&tc(r)),$e.length>e&&$e.sort(Vo));ar.__r=0}function ec(t,e,n,r,o,i,a,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Zs,v=e.length;for(n.__d=l,w_(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?$n:w[d.__i]||$n,d.__i=c,Uo(t,d,p,o,i,a,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Wo(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?l=nc(d,l,t):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function w_(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?kn(null,o,null,null,o):ir(o)?kn(J,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?kn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=m_(o,n,a=r+c,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?c++:s>a?f>l-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=ze(i)),Bo(i,i,!1),n[r]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=ze(i)),Bo(i,i))}function nc(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=nc(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function It(t,e){return e=e||[],t==null||typeof t=="boolean"||(ir(t)?t.some(function(n){It(n,e)}):e.push(t)),e}function m_(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&i===l.type)return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function rc(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||g_.test(e)?n:n+"px"}function sr(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||rc(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||rc(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?ic:oc,i)):t.removeEventListener(e,i?ic:oc,i);else{if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function oc(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(E.event?E.event(t):t)}function ic(t){return this.l[t.type+!0](E.event?E.event(t):t)}function Uo(t,e,n,r,o,i,a,s,l,u){var f,c,p,d,_,h,w,v,x,m,b,y,k,S,$,j=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(f=E.__b)&&f(e);t:if(typeof j=="function")try{if(v=e.props,x=(f=j.contextType)&&r[f.__c],m=f?x?x.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:("prototype"in j&&j.prototype.render?e.__c=c=new j(v,m):(e.__c=c=new $t(v,m),c.constructor=j,c.render=b_),x&&x.sub(c),c.props=v,c.state||(c.state={}),c.context=m,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ft({},c.__s)),Ft(c.__s,j.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(j.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,m)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(O){O&&(O.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,m),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=m,c.props=v,c.__P=t,c.__e=!1,y=E.__r,k=0,"prototype"in j&&j.prototype.render){for(c.state=c.__s,c.__d=!1,y&&y(e),f=c.render(c.props,c.state,c.context),S=0;S<c._sb.length;S++)c.__h.push(c._sb[S]);c._sb=[]}else do c.__d=!1,y&&y(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,c.getChildContext!=null&&(r=Ft(Ft({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(d,_)),ec(t,ir($=f!=null&&f.type===J&&f.key==null?f.props.children:f)?$:[$],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),w&&(c.__E=c.__=null)}catch(O){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),E.__e(O,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=y_(n.__e,e,n,r,o,i,a,l,u);(f=E.diffed)&&f(e)}function ac(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Wo(n[r],n[++r],n[++r]);E.__c&&E.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){E.__e(i,o.__v)}})}function y_(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,x=e.type;if(x==="svg"&&(o=!0),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!x&&(x?d.localName===x:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(x===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,v.is&&v),i=null,s=!1}if(x===null)w===v||s&&t.data===v||(t.data=v);else{if(i=i&&xn.call(t.childNodes),w=n.props||$n,!s&&i!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)d=w[u],u=="children"||(u=="dangerouslySetInnerHTML"?c=d:u==="key"||u in v||sr(t,u,null,d,o));for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||sr(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),ec(t,ir(p)?p:[p],e,n,r,o&&x!=="foreignObject",i,a,i?i[0]:n.__k&&ze(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Js(i[u]);s||(u="value",_!==void 0&&(_!==t[u]||x==="progress"&&!_||x==="option"&&_!==w[u])&&sr(t,u,_,w[u],!1),u="checked",h!==void 0&&h!==t[u]&&sr(t,u,h,w[u],!1))}return t}function Wo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){E.__e(r,n)}}function Bo(t,e,n){var r,o;if(E.unmount&&E.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Wo(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){E.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Bo(r[o],e,n||typeof t.type!="function");n||t.__e==null||Js(t.__e),t.__=t.__e=t.__d=void 0}function b_(t,e,n){return this.constructor(t,n)}function Ue(t,e,n){var r,o,i,a;E.__&&E.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],Uo(e,t=(!r&&n||e).__k=C(J,null,[t]),o||$n,$n,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?xn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),ac(i,t,a)}function Yo(t,e){Ue(t,e,Yo)}function x_(t,e,n){var r,o,i,a,s=Ft({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?xn.call(arguments,2):n),kn(t.type,s,r||t.key,o||t.ref,null)}function jn(t,e){var n={__c:e="__cC"+Xs++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,zo(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}xn=Zs.slice,E={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Ys=0,Ks=function(t){return t!=null&&t.constructor==null},$t.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ft({},this.state),typeof t=="function"&&(t=t(Ft({},n),this.props)),t&&Ft(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),zo(this))},$t.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),zo(this))},$t.prototype.render=J,$e=[],Gs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vo=function(t,e){return t.__v.__b-e.__v.__b},ar.__r=0,Xs=0;var sc=/[\s\n\\/='"\0<>]/,cc=/^(xlink|xmlns|xml)([A-Z])/,$_=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,k_=/^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/,j_=/["&<]/;function cr(t){if(t.length===0||j_.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var lc={},E_=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"]),S_=/[A-Z]/g;function C_(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:lc[n]||(lc[n]=n.replace(S_,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||E_.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Ko,ke,En,je,uc=[],dc=Array.isArray,qo=Object.assign;function O_(t,e){var n=E.__s;E.__s=!0,Ko=E.__b,ke=E.diffed,En=E.__r,je=E.unmount;var r=C(J,null);r.__k=[t];try{return Ee(t,e||pc,!1,void 0,r)}finally{E.__c&&E.__c(t,uc),E.__s=n,uc.length=0}}function fc(){this.__d=!0}var pc={};function hc(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=pc),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=qo({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),En&&En(t),n.render(n.props,n.state,e)}function Ee(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":cr(t+"");if(dc(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=Ee(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,Ko&&Ko(t);var l,u,f,c=t.type,p=t.props,d=e;if(typeof c=="function"){if(c===J){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var w=p.exprs[h];if(w==null)continue;typeof w!="object"||w.constructor!==void 0&&!dc(w)?_+=w:_+=Ee(w,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+cr(p.UNSTABLE_comment||"")+"-->";u=p.children}else{if((l=c.contextType)!=null){var v=e[l.__c];d=v?v.props.value:l.__}if(c.prototype&&typeof c.prototype.render=="function")u=hc(t,d),f=t.__c;else{t.__c=f={__v:t,props:p,context:d,setState:fc,forceUpdate:fc,__d:!0,__h:[]};for(var x=0;f.__d&&x++<25;)f.__d=!1,En&&En(t),u=c.call(f,p,d);f.__d=!0}if(f.getChildContext!=null&&(e=qo({},e,f.getChildContext())),(c.getDerivedStateFromError||f.componentDidCatch)&&E.errorBoundaries){var m="";u=u!=null&&u.type===J&&u.key==null?u.props.children:u;try{return m=Ee(u,e,n,r,t)}catch(O){return c.getDerivedStateFromError&&(f.__s=c.getDerivedStateFromError(O)),f.componentDidCatch&&f.componentDidCatch(O,{}),f.__d&&(u=hc(t,e),(f=t.__c).getChildContext!=null&&(e=qo({},e,f.getChildContext())),m=Ee(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t)),m}finally{ke&&ke(t),t.__=void 0,je&&je(t)}}}var b=Ee(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t);return ke&&ke(t),t.__=void 0,je&&je(t),b}var y,k="<"+c,S="";for(var $ in p){var j=p[$];switch($){case"children":y=j;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;$="for";break;case"className":if("class"in p)continue;$="class";break;case"defaultChecked":$="checked";break;case"defaultSelected":$="selected";break;case"defaultValue":case"value":switch($="value",c){case"textarea":y=j;continue;case"select":r=j;continue;case"option":r!=j||"selected"in p||(k+=" selected")}break;case"dangerouslySetInnerHTML":S=j&&j.__html;continue;case"style":typeof j=="object"&&(j=C_(j));break;case"acceptCharset":$="accept-charset";break;case"httpEquiv":$="http-equiv";break;default:if(cc.test($))$=$.replace(cc,"$1:$2").toLowerCase();else{if(sc.test($))continue;$[4]!=="-"&&$!=="draggable"||j==null?n?k_.test($)&&($=$==="panose1"?"panose-1":$.replace(/([A-Z])/g,"-$1").toLowerCase()):$_.test($)&&($=$.toLowerCase()):j+=""}}j!=null&&j!==!1&&typeof j!="function"&&(k=j===!0||j===""?k+" "+$:k+" "+$+'="'+cr(j+"")+'"')}if(sc.test(c))throw new Error(c+" is not a valid HTML tag name in "+k+">");return S||(typeof y=="string"?S=cr(y):y!=null&&y!==!1&&y!==!0&&(S=Ee(y,e,c==="svg"||c!=="foreignObject"&&n,r,t))),ke&&ke(t),t.__=void 0,je&&je(t),!S&&A_.has(c)?k+"/>":k+">"+S+"</"+c+">"}var A_=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),P_=0;function A(t,e,n,r,o,i){var a,s,l={};for(s in e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--P_,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return E.vnode&&E.vnode(u),u}const T_={bell:A("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:A("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":A("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},R_=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(T_).map(([e,n])=>A("symbol",{id:`i-icon-${e}`,children:A("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),vc=({name:t,...e})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:A("use",{href:`#i-icon-${t}`})});function it(){return it=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},it.apply(this,arguments)}var Ht,U,Go,_c,We=0,gc=[],lr=[],wc=E.__b,mc=E.__r,yc=E.diffed,bc=E.__c,xc=E.unmount;function Se(t,e){E.__h&&E.__h(U,t,We||e),We=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:lr}),n.__[t]}function K(t){return We=1,ur(Sc,t)}function ur(t,e,n){var r=Se(Ht++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Sc(void 0,e),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=U,!U.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))};U.u=!0;var i=U.shouldComponentUpdate,a=U.componentWillUpdate;U.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)},U.shouldComponentUpdate=o}return r.__N||r.__}function G(t,e){var n=Se(Ht++,3);!E.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,U.__H.__h.push(n))}function Ce(t,e){var n=Se(Ht++,4);!E.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,U.__h.push(n))}function V(t){return We=5,lt(function(){return{current:t}},[])}function $c(t,e,n){We=6,Ce(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function lt(t,e){var n=Se(Ht++,7);return Zo(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function nt(t,e){return We=8,lt(function(){return t},e)}function dr(t){var e=U.context[t.__c],n=Se(Ht++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(U)),e.props.value):t.__}function kc(t,e){E.useDebugValue&&E.useDebugValue(e?e(t):t)}function D_(t){var e=Se(Ht++,10),n=K();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function jc(){var t=Se(Ht++,11);if(!t.__){for(var e=U.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function N_(){for(var t;t=gc.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(fr),t.__H.__h.forEach(Xo),t.__H.__h=[]}catch(e){t.__H.__h=[],E.__e(e,t.__v)}}E.__b=function(t){U=null,wc&&wc(t)},E.__r=function(t){mc&&mc(t),Ht=0;var e=(U=t.__c).__H;e&&(Go===U?(e.__h=[],U.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=lr,n.__N=n.i=void 0})):(e.__h.forEach(fr),e.__h.forEach(Xo),e.__h=[],Ht=0)),Go=U},E.diffed=function(t){yc&&yc(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(gc.push(e)!==1&&_c===E.requestAnimationFrame||((_c=E.requestAnimationFrame)||L_)(N_)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==lr&&(n.__=n.__V),n.i=void 0,n.__V=lr})),Go=U=null},E.__c=function(t,e){e.some(function(n){try{n.__h.forEach(fr),n.__h=n.__h.filter(function(r){return!r.__||Xo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],E.__e(r,n.__v)}}),bc&&bc(t,e)},E.unmount=function(t){xc&&xc(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{fr(r)}catch(o){e=o}}),n.__H=void 0,e&&E.__e(e,n.__v))};var Ec=typeof requestAnimationFrame=="function";function L_(t){var e,n=function(){clearTimeout(r),Ec&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Ec&&(e=requestAnimationFrame(n))}function fr(t){var e=U,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),U=e}function Xo(t){var e=U;t.__c=t.__(),U=e}function Zo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Sc(t,e){return typeof e=="function"?e(t):e}function Cc(t,e){for(var n in e)t[n]=e[n];return t}function Jo(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function pr(t){this.props=t}function Oc(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:Jo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,C(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(pr.prototype=new $t).isPureReactComponent=!0,pr.prototype.shouldComponentUpdate=function(t,e){return Jo(this.props,t)||Jo(this.state,e)};var Ac=E.__b;E.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ac&&Ac(t)};var M_=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function rt(t){function e(n){var r=Cc({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=M_,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Pc=function(t,e){return t==null?null:It(It(t).map(e))},Vt={map:Pc,forEach:Pc,count:function(t){return t?It(t).length:0},only:function(t){var e=It(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:It},F_=E.__e;E.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}F_(t,e,n,r)};var Tc=E.unmount;function Rc(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Cc({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Rc(r,e,n)})),t}function Dc(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Dc(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function Sn(){this.__u=0,this.t=null,this.__b=null}function Nc(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Lc(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return C(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Be(){this.u=null,this.o=null}E.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Tc&&Tc(t)},(Sn.prototype=new $t).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Nc(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]=Dc(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&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},Sn.prototype.componentWillUnmount=function(){this.t=[]},Sn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Rc(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&C(J,null,t.fallback);return o&&(o.__u&=-33),[C(J,null,e.__a?null:t.children),o]};var Mc=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function I_(t){return this.getChildContext=function(){return t.context},t.children}function H_(t){var e=this,n=t.i;e.componentWillUnmount=function(){Ue(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Ue(C(I_,{context:e.context},t.__v),e.l)}function Fc(t,e){var n=C(H_,{__v:t,i:e});return n.containerInfo=e,n}(Be.prototype=new $t).__a=function(t){var e=this,n=Nc(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Mc(e,t,r)):o()};n?n(i):i()}},Be.prototype.render=function(t){this.u=null,this.o=new Map;var e=It(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Mc(t,n,e)})};var Ic=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,V_=/^(?: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]/,z_=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,U_=/[A-Z0-9]/g,W_=typeof document<"u",B_=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Hc(t,e,n){return e.__k==null&&(e.textContent=""),Ue(t,e),typeof n=="function"&&n(),t?t.__c:null}function Vc(t,e,n){return Yo(t,e),typeof n=="function"&&n(),t?t.__c:null}$t.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty($t.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var zc=E.event;function Y_(){}function K_(){return this.cancelBubble}function q_(){return this.defaultPrevented}E.event=function(t){return zc&&(t=zc(t)),t.persist=Y_,t.isPropagationStopped=K_,t.isDefaultPrevented=q_,t.nativeEvent=t};var Qo,G_={enumerable:!1,configurable:!0,get:function(){return this.class}},Uc=E.vnode;E.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||W_&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||B_(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":z_.test(i)?i=s:r.indexOf("-")===-1&&V_.test(i)?i=i.replace(U_,"-$&").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=It(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=It(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",G_)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Ic,Uc&&Uc(t)};var Wc=E.__r;E.__r=function(t){Wc&&Wc(t),Qo=t.__c};var Bc=E.diffed;E.diffed=function(t){Bc&&Bc(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Qo=null};var Yc={ReactCurrentDispatcher:{current:{readContext:function(t){return Qo.__n[t.__c].props.value}}}},X_="17.0.2";function Kc(t){return C.bind(null,t)}function zt(t){return!!t&&t.$$typeof===Ic}function qc(t){return zt(t)&&t.type===J}function Ye(t){return zt(t)?x_.apply(null,arguments):t}function Gc(t){return!!t.__k&&(Ue(null,t),!0)}function Xc(t){return t&&(t.base||t.nodeType===1&&t)||null}var Zc=function(t,e){return t(e)},Cn=function(t,e){return t(e)},Jc=J;function ti(t){t()}function Qc(t){return t}function tl(){return[!1,ti]}var el=Ce,nl=zt;function rl(t,e){var n=e(),r=K({h:{__:n,v:e}}),o=r[0].h,i=r[1];return Ce(function(){o.__=n,o.v=e,ei(o)&&i({h:o})},[t,n,e]),G(function(){return ei(o)&&i({h:o}),t(function(){ei(o)&&i({h:o})})},[t]),n}function ei(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var ol={useState:K,useId:jc,useReducer:ur,useEffect:G,useLayoutEffect:Ce,useInsertionEffect:el,useTransition:tl,useDeferredValue:Qc,useSyncExternalStore:rl,startTransition:ti,useRef:V,useImperativeHandle:$c,useMemo:lt,useCallback:nt,useContext:dr,useDebugValue:kc,version:"17.0.2",Children:Vt,render:Hc,hydrate:Vc,unmountComponentAtNode:Gc,createPortal:Fc,createElement:C,createContext:jn,createFactory:Kc,cloneElement:Ye,createRef:Qs,Fragment:J,isValidElement:zt,isElement:nl,isFragment:qc,findDOMNode:Xc,Component:$t,PureComponent:pr,memo:Oc,forwardRef:rt,flushSync:Cn,unstable_batchedUpdates:Zc,StrictMode:Jc,Suspense:Sn,SuspenseList:Be,lazy:Lc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yc};const Z_=Object.freeze(Object.defineProperty({__proto__:null,Children:Vt,Component:$t,Fragment:J,PureComponent:pr,StrictMode:Jc,Suspense:Sn,SuspenseList:Be,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yc,cloneElement:Ye,createContext:jn,createElement:C,createFactory:Kc,createPortal:Fc,createRef:Qs,default:ol,findDOMNode:Xc,flushSync:Cn,forwardRef:rt,hydrate:Vc,isElement:nl,isFragment:qc,isValidElement:zt,lazy:Lc,memo:Oc,render:Hc,startTransition:ti,unmountComponentAtNode:Gc,unstable_batchedUpdates:Zc,useCallback:nt,useContext:dr,useDebugValue:kc,useDeferredValue:Qc,useEffect:G,useErrorBoundary:D_,useId:jc,useImperativeHandle:$c,useInsertionEffect:el,useLayoutEffect:Ce,useMemo:lt,useReducer:ur,useRef:V,useState:K,useSyncExternalStore:rl,useTransition:tl,version:X_},Symbol.toStringTag,{value:"Module"}));function Oe(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t==null||t(o),n===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function J_(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function il(...t){return e=>t.forEach(n=>J_(n,e))}function Ae(...t){return nt(il(...t),t)}function al(t,e=[]){let n=[];function r(i,a){const s=jn(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:d,..._}=c,h=(p==null?void 0:p[t][l])||s,w=lt(()=>_,Object.values(_));return C(h.Provider,{value:w},d)}function f(c,p){const d=(p==null?void 0:p[t][l])||s,_=dr(d);if(_)return _;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=>jn(a));return function(s){const l=(s==null?void 0:s[t])||i;return lt(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,Q_(o,...e)]}function Q_(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.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 lt(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}const ni=rt((t,e)=>{const{children:n,...r}=t,o=Vt.toArray(n),i=o.find(eg);if(i){const a=i.props.children,s=o.map(l=>l===i?Vt.count(a)>1?Vt.only(null):zt(a)?a.props.children:null:l);return C(ri,it({},r,{ref:e}),zt(a)?Ye(a,void 0,s):null)}return C(ri,it({},r,{ref:e}),n)});ni.displayName="Slot";const ri=rt((t,e)=>{const{children:n,...r}=t;return zt(n)?Ye(n,{...ng(r,n.props),ref:e?il(e,n.ref):n.ref}):Vt.count(n)>1?Vt.only(null):null});ri.displayName="SlotClone";const tg=({children:t})=>C(J,null,t);function eg(t){return zt(t)&&t.type===tg}function ng(t,e){const n={...e};for(const r in e){const o=t[r],i=e[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{...t,...n}}const Ke=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=rt((r,o)=>{const{asChild:i,...a}=r,s=i?ni:e;return G(()=>{window[Symbol.for("radix-ui")]=!0},[]),C(s,it({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function rg(t,e){t&&Cn(()=>t.dispatchEvent(e))}function se(t){const e=V(t);return G(()=>{e.current=t}),lt(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function og(t,e=globalThis==null?void 0:globalThis.document){const n=se(t);G(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const oi="dismissableLayer.update",ig="dismissableLayer.pointerDownOutside",ag="dismissableLayer.focusOutside";let sl;const sg=jn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cg=rt((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,f=dr(sg),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=K({}),h=Ae(e,$=>p($)),w=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),x=w.indexOf(v),m=c?w.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,y=m>=x,k=lg($=>{const j=$.target,O=[...f.branches].some(N=>N.contains(j));!y||O||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),S=ug($=>{const j=$.target;[...f.branches].some(N=>N.contains(j))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return og($=>{m===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),G(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(sl=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),cl(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=sl)}},[c,d,r,f]),G(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),cl())},[c,f]),G(()=>{const $=()=>_({});return document.addEventListener(oi,$),()=>document.removeEventListener(oi,$)},[]),C(Ke.div,it({},u,{ref:h,style:{pointerEvents:b?y?"auto":"none":void 0,...t.style},onFocusCapture:Oe(t.onFocusCapture,S.onFocusCapture),onBlurCapture:Oe(t.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Oe(t.onPointerDownCapture,k.onPointerDownCapture)}))});function lg(t,e=globalThis==null?void 0:globalThis.document){const n=se(t),r=V(!1),o=V(()=>{});return G(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){ll(ig,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function ug(t,e=globalThis==null?void 0:globalThis.document){const n=se(t),r=V(!1);return G(()=>{const o=i=>{i.target&&!r.current&&ll(ag,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function cl(){const t=new CustomEvent(oi);document.dispatchEvent(t)}function ll(t,e,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?rg(o,i):o.dispatchEvent(i)}let ii=0;function dg(){G(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:ul()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:ul()),ii++,()=>{ii===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ii--}},[])}function ul(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}const ai="focusScope.autoFocusOnMount",si="focusScope.autoFocusOnUnmount",dl={bubbles:!1,cancelable:!0},fg=rt((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,l]=K(null),u=se(o),f=se(i),c=V(null),p=Ae(e,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;G(()=>{if(r){let h=function(m){if(d.paused||!s)return;const b=m.target;s.contains(b)?c.current=b:ce(c.current,{select:!0})},w=function(m){if(d.paused||!s)return;const b=m.relatedTarget;b!==null&&(s.contains(b)||ce(c.current,{select:!0}))},v=function(m){if(document.activeElement===document.body)for(const y of m)y.removedNodes.length>0&&ce(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",w);const x=new MutationObserver(v);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",w),x.disconnect()}}},[r,s,d.paused]),G(()=>{if(s){hl.add(d);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(ai,dl);s.addEventListener(ai,u),s.dispatchEvent(v),v.defaultPrevented||(pg(wg(fl(s)),{select:!0}),document.activeElement===h&&ce(s))}return()=>{s.removeEventListener(ai,u),setTimeout(()=>{const v=new CustomEvent(si,dl);s.addEventListener(si,f),s.dispatchEvent(v),v.defaultPrevented||ce(h??document.body,{select:!0}),s.removeEventListener(si,f),hl.remove(d)},0)}}},[s,u,f,d]);const _=nt(h=>{if(!n&&!r||d.paused)return;const w=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(w&&v){const x=h.currentTarget,[m,b]=hg(x);m&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&ce(m,{select:!0})):h.shiftKey&&v===m&&(h.preventDefault(),n&&ce(b,{select:!0})):v===x&&h.preventDefault()}},[n,r,d.paused]);return C(Ke.div,it({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function pg(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ce(r,{select:e}),document.activeElement!==n)return}function hg(t){const e=fl(t),n=pl(e,t),r=pl(e.reverse(),t);return[n,r]}function fl(t){const e=[],n=document.createTreeWalker(t,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();)e.push(n.currentNode);return e}function pl(t,e){for(const n of t)if(!vg(n,{upTo:e}))return n}function vg(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function _g(t){return t instanceof HTMLInputElement&&"select"in t}function ce(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&_g(t)&&e&&t.select()}}const hl=gg();function gg(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=vl(t,e),t.unshift(e)},remove(e){var n;t=vl(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function vl(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function wg(t){return t.filter(e=>e.tagName!=="A")}const qe=globalThis!=null&&globalThis.document?Ce:()=>{},mg=Z_["useId".toString()]||(()=>{});let yg=0;function bg(t){const[e,n]=K(mg());return qe(()=>{t||n(r=>r??String(yg++))},[t]),t||(e?`radix-${e}`:"")}const xg=["top","right","bottom","left"],le=Math.min,_t=Math.max,hr=Math.round,vr=Math.floor,ue=t=>({x:t,y:t}),$g={left:"right",right:"left",bottom:"top",top:"bottom"},kg={start:"end",end:"start"};function ci(t,e,n){return _t(t,le(e,n))}function Ut(t,e){return typeof t=="function"?t(e):t}function Wt(t){return t.split("-")[0]}function Ge(t){return t.split("-")[1]}function li(t){return t==="x"?"y":"x"}function ui(t){return t==="y"?"height":"width"}function Xe(t){return["top","bottom"].includes(Wt(t))?"y":"x"}function di(t){return li(Xe(t))}function jg(t,e,n){n===void 0&&(n=!1);const r=Ge(t),o=di(t),i=ui(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=_r(a)),[a,_r(a)]}function Eg(t){const e=_r(t);return[fi(t),e,fi(e)]}function fi(t){return t.replace(/start|end/g,e=>kg[e])}function Sg(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function Cg(t,e,n,r){const o=Ge(t);let i=Sg(Wt(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(fi)))),i}function _r(t){return t.replace(/left|right|bottom|top/g,e=>$g[e])}function Og(t){return{top:0,right:0,bottom:0,left:0,...t}}function _l(t){return typeof t!="number"?Og(t):{top:t,right:t,bottom:t,left:t}}function gr(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function gl(t,e,n){let{reference:r,floating:o}=t;const i=Xe(e),a=di(e),s=ui(a),l=Wt(e),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(Ge(e)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const Ag=async(t,e,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(e));let u=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:c}=gl(u,r,l),p=r,d={},_=0;for(let h=0;h<s.length;h++){const{name:w,fn:v}=s[h],{x,y:m,data:b,reset:y}=await v({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:t,floating:e}});f=x??f,c=m??c,d={...d,[w]:{...d[w],...b}},y&&_<=50&&(_++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(u=y.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):y.rects),{x:f,y:c}=gl(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function On(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=Ut(e,t),_=_l(d),w=s[p?c==="floating"?"reference":"floating":c],v=gr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),x=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,m=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(m))?await(i.getScale==null?void 0:i.getScale(m))||{x:1,y:1}:{x:1,y:1},y=gr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:m,strategy:l}):x);return{top:(v.top-y.top+_.top)/b.y,bottom:(y.bottom-v.bottom+_.bottom)/b.y,left:(v.left-y.left+_.left)/b.x,right:(y.right-v.right+_.right)/b.x}}const Pg=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=e,{element:u,padding:f=0}=Ut(t,e)||{};if(u==null)return{};const c=_l(f),p={x:n,y:r},d=di(o),_=ui(d),h=await a.getDimensions(u),w=d==="y",v=w?"top":"left",x=w?"bottom":"right",m=w?"clientHeight":"clientWidth",b=i.reference[_]+i.reference[d]-p[d]-i.floating[_],y=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let S=k?k[m]:0;(!S||!await(a.isElement==null?void 0:a.isElement(k)))&&(S=s.floating[m]||i.floating[_]);const $=b/2-y/2,j=S/2-h[_]/2-1,O=le(c[v],j),N=le(c[x],j),L=O,M=S-h[_]-N,D=S/2-h[_]/2+$,F=ci(L,D,M),R=!l.arrow&&Ge(o)!=null&&D!==F&&i.reference[_]/2-(D<L?O:N)-h[_]/2<0,T=R?D<L?D-L:D-M:0;return{[d]:p[d]+T,data:{[d]:F,centerOffset:D-F-T,...R&&{alignmentOffset:T}},reset:R}}}),Tg=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...w}=Ut(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Wt(o),x=Wt(s)===s,m=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=p||(x||!h?[_r(s)]:Eg(s));!p&&_!=="none"&&b.push(...Cg(s,h,_,m));const y=[s,...b],k=await On(e,w),S=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&S.push(k[v]),c){const L=jg(o,a,m);S.push(k[L[0]],k[L[1]])}if($=[...$,{placement:o,overflows:S}],!S.every(L=>L<=0)){var j,O;const L=(((j=i.flip)==null?void 0:j.index)||0)+1,M=y[L];if(M)return{data:{index:L,overflows:$},reset:{placement:M}};let D=(O=$.filter(F=>F.overflows[0]<=0).sort((F,R)=>F.overflows[1]-R.overflows[1])[0])==null?void 0:O.placement;if(!D)switch(d){case"bestFit":{var N;const F=(N=$.map(R=>[R.placement,R.overflows.filter(T=>T>0).reduce((T,tt)=>T+tt,0)]).sort((R,T)=>R[1]-T[1])[0])==null?void 0:N[0];F&&(D=F);break}case"initialPlacement":D=s;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function wl(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function ml(t){return xg.some(e=>t[e]>=0)}const Rg=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Ut(t,e);switch(r){case"referenceHidden":{const i=await On(e,{...o,elementContext:"reference"}),a=wl(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ml(a)}}}case"escaped":{const i=await On(e,{...o,altBoundary:!0}),a=wl(i,n.floating);return{data:{escapedOffsets:a,escaped:ml(a)}}}default:return{}}}}};async function Dg(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Wt(n),s=Ge(n),l=Xe(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=Ut(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(d=s==="end"?_*-1:_),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const Ng=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,l=await Dg(e,t);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}}}}},Lg=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:v,y:x}=w;return{x:v,y:x}}},...l}=Ut(t,e),u={x:n,y:r},f=await On(e,l),c=Xe(Wt(o)),p=li(c);let d=u[p],_=u[c];if(i){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",x=d+f[w],m=d-f[v];d=ci(x,d,m)}if(a){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",x=_+f[w],m=_-f[v];_=ci(x,_,m)}const h=s.fn({...e,[p]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Mg=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Ut(t,e),f={x:n,y:r},c=Xe(o),p=li(c);let d=f[p],_=f[c];const h=Ut(s,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const m=p==="y"?"height":"width",b=i.reference[p]-i.floating[m]+w.mainAxis,y=i.reference[p]+i.reference[m]-w.mainAxis;d<b?d=b:d>y&&(d=y)}if(u){var v,x;const m=p==="y"?"width":"height",b=["top","left"].includes(Wt(o)),y=i.reference[c]-i.floating[m]+(b&&((v=a.offset)==null?void 0:v[c])||0)+(b?0:w.crossAxis),k=i.reference[c]+i.reference[m]+(b?0:((x=a.offset)==null?void 0:x[c])||0)-(b?w.crossAxis:0);_<y?_=y:_>k&&(_=k)}return{[p]:d,[c]:_}}}},Fg=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=Ut(t,e),l=await On(e,s),u=Wt(n),f=Ge(n),c=Xe(n)==="y",{width:p,height:d}=r.floating;let _,h;u==="top"||u==="bottom"?(_=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,_=f==="end"?"top":"bottom");const w=d-l[_],v=p-l[h],x=!e.middlewareData.shift;let m=w,b=v;if(c){const k=p-l.left-l.right;b=f||x?le(v,k):k}else{const k=d-l.top-l.bottom;m=f||x?le(w,k):k}if(x&&!f){const k=_t(l.left,0),S=_t(l.right,0),$=_t(l.top,0),j=_t(l.bottom,0);c?b=p-2*(k!==0||S!==0?k+S:_t(l.left,l.right)):m=d-2*($!==0||j!==0?$+j:_t(l.top,l.bottom))}await a({...e,availableWidth:b,availableHeight:m});const y=await o.getDimensions(i.floating);return p!==y.width||d!==y.height?{reset:{rects:!0}}:{}}}};function de(t){return yl(t)?(t.nodeName||"").toLowerCase():"#document"}function gt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Bt(t){var e;return(e=(yl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function yl(t){return t instanceof Node||t instanceof gt(t).Node}function Yt(t){return t instanceof Element||t instanceof gt(t).Element}function At(t){return t instanceof HTMLElement||t instanceof gt(t).HTMLElement}function bl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gt(t).ShadowRoot}function An(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function Ig(t){return["table","td","th"].includes(de(t))}function pi(t){const e=hi(),n=kt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(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 Hg(t){let e=Ze(t);for(;At(e)&&!wr(e);){if(pi(e))return e;e=Ze(e)}return null}function hi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wr(t){return["html","body","#document"].includes(de(t))}function kt(t){return gt(t).getComputedStyle(t)}function mr(t){return Yt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ze(t){if(de(t)==="html")return t;const e=t.assignedSlot||t.parentNode||bl(t)&&t.host||Bt(t);return bl(e)?e.host:e}function xl(t){const e=Ze(t);return wr(e)?t.ownerDocument?t.ownerDocument.body:t.body:At(e)&&An(e)?e:xl(e)}function Pn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=xl(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=gt(o);return i?e.concat(a,a.visualViewport||[],An(o)?o:[],a.frameElement&&n?Pn(a.frameElement):[]):e.concat(o,Pn(o,[],n))}function $l(t){const e=kt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=At(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=hr(n)!==i||hr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function vi(t){return Yt(t)?t:t.contextElement}function Je(t){const e=vi(t);if(!At(e))return ue(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=$l(e);let a=(i?hr(n.width):n.width)/r,s=(i?hr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Vg=ue(0);function kl(t){const e=gt(t);return!hi()||!e.visualViewport?Vg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function zg(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==gt(t)?!1:e}function Pe(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=vi(t);let a=ue(1);e&&(r?Yt(r)&&(a=Je(r)):a=Je(t));const s=zg(i,n,r)?kl(i):ue(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=gt(i),d=r&&Yt(r)?gt(r):r;let _=p,h=_.frameElement;for(;h&&r&&d!==_;){const w=Je(h),v=h.getBoundingClientRect(),x=kt(h),m=v.left+(h.clientLeft+parseFloat(x.paddingLeft))*w.x,b=v.top+(h.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,u*=w.y,f*=w.x,c*=w.y,l+=m,u+=b,_=gt(h),h=_.frameElement}}return gr({width:f,height:c,x:l,y:u})}const Ug=[":popover-open",":modal"];function jl(t){return Ug.some(e=>{try{return t.matches(e)}catch{return!1}})}function Wg(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=Bt(r),s=e?jl(e.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=ue(1);const f=ue(0),c=At(r);if((c||!c&&!i)&&((de(r)!=="body"||An(a))&&(l=mr(r)),At(r))){const p=Pe(r);u=Je(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 Bg(t){return Array.from(t.getClientRects())}function El(t){return Pe(Bt(t)).left+mr(t).scrollLeft}function Yg(t){const e=Bt(t),n=mr(t),r=t.ownerDocument.body,o=_t(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=_t(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+El(t);const s=-n.scrollTop;return kt(r).direction==="rtl"&&(a+=_t(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Kg(t,e){const n=gt(t),r=Bt(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=hi();(!u||u&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function qg(t,e){const n=Pe(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=At(t)?Je(t):ue(1),a=t.clientWidth*i.x,s=t.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function Sl(t,e,n){let r;if(e==="viewport")r=Kg(t,n);else if(e==="document")r=Yg(Bt(t));else if(Yt(e))r=qg(e,n);else{const o=kl(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return gr(r)}function Cl(t,e){const n=Ze(t);return n===e||!Yt(n)||wr(n)?!1:kt(n).position==="fixed"||Cl(n,e)}function Gg(t,e){const n=e.get(t);if(n)return n;let r=Pn(t,[],!1).filter(s=>Yt(s)&&de(s)!=="body"),o=null;const i=kt(t).position==="fixed";let a=i?Ze(t):t;for(;Yt(a)&&!wr(a);){const s=kt(a),l=pi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||An(a)&&!l&&Cl(t,a))?r=r.filter(f=>f!==a):o=s,a=Ze(a)}return e.set(t,r),r}function Xg(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Gg(e,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=Sl(e,f,o);return u.top=_t(c.top,u.top),u.right=le(c.right,u.right),u.bottom=le(c.bottom,u.bottom),u.left=_t(c.left,u.left),u},Sl(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Zg(t){const{width:e,height:n}=$l(t);return{width:e,height:n}}function Jg(t,e,n){const r=At(e),o=Bt(e),i=n==="fixed",a=Pe(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=ue(0);if(r||!r&&!i)if((de(e)!=="body"||An(o))&&(s=mr(e)),r){const c=Pe(e,!0,i,e);l.x=c.x+e.clientLeft,l.y=c.y+e.clientTop}else o&&(l.x=El(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 Ol(t,e){return!At(t)||kt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Al(t,e){const n=gt(t);if(!At(t)||jl(t))return n;let r=Ol(t,e);for(;r&&Ig(r)&&kt(r).position==="static";)r=Ol(r,e);return r&&(de(r)==="html"||de(r)==="body"&&kt(r).position==="static"&&!pi(r))?n:r||Hg(t)||n}const Qg=async function(t){const e=this.getOffsetParent||Al,n=this.getDimensions,r=await n(t.floating);return{reference:Jg(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function t0(t){return kt(t).direction==="rtl"}const e0={convertOffsetParentRelativeRectToViewportRelativeRect:Wg,getDocumentElement:Bt,getClippingRect:Xg,getOffsetParent:Al,getElementRects:Qg,getClientRects:Bg,getDimensions:Zg,getScale:Je,isElement:Yt,isRTL:t0};function n0(t,e){let n=null,r;const o=Bt(t);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}=t.getBoundingClientRect();if(s||e(),!c||!p)return;const d=vr(f),_=vr(o.clientWidth-(u+c)),h=vr(o.clientHeight-(f+p)),w=vr(u),x={rootMargin:-d+"px "+-_+"px "+-h+"px "+-w+"px",threshold:_t(0,le(1,l))||1};let m=!0;function b(y){const k=y[0].intersectionRatio;if(k!==l){if(!m)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}m=!1}try{n=new IntersectionObserver(b,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,x)}n.observe(t)}return a(!0),i}function r0(t,e,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=vi(t),f=o||i?[...u?Pn(u):[],...Pn(e)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=u&&s?n0(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(v=>{let[x]=v;x&&x.target===u&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var m;(m=d)==null||m.observe(e)})),n()}),u&&!l&&d.observe(u),d.observe(e));let _,h=l?Pe(t):null;l&&w();function w(){const v=Pe(t);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(w)}return n(),()=>{var v;f.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,l&&cancelAnimationFrame(_)}}const o0=Ng,i0=Lg,a0=Tg,s0=Fg,c0=Rg,Pl=Pg,l0=Mg,u0=(t,e,n)=>{const r=new Map,o={platform:e0,...n},i={...o.platform,_c:r};return Ag(t,e,{...o,platform:i})},d0=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?Pl({element:r.current,padding:o}).fn(n):{}:r?Pl({element:r,padding:o}).fn(n):{}}}};var yr=typeof document<"u"?Ce:G;function br(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!br(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!br(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Tl(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Rl(t,e){const n=Tl(t);return Math.round(e*n)/n}function Dl(t){const e=V(t);return yr(()=>{e.current=t}),e}function f0(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[f,c]=K({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=K(r);br(p,r)||d(r);const[_,h]=K(null),[w,v]=K(null),x=nt(T=>{T!==k.current&&(k.current=T,h(T))},[]),m=nt(T=>{T!==S.current&&(S.current=T,v(T))},[]),b=i||_,y=a||w,k=V(null),S=V(null),$=V(f),j=l!=null,O=Dl(l),N=Dl(o),L=nt(()=>{if(!k.current||!S.current)return;const T={placement:e,strategy:n,middleware:p};N.current&&(T.platform=N.current),u0(k.current,S.current,T).then(tt=>{const ct={...tt,isPositioned:!0};M.current&&!br($.current,ct)&&($.current=ct,Cn(()=>{c(ct)}))})},[p,e,n,N]);yr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(T=>({...T,isPositioned:!1})))},[u]);const M=V(!1);yr(()=>(M.current=!0,()=>{M.current=!1}),[]),yr(()=>{if(b&&(k.current=b),y&&(S.current=y),b&&y){if(O.current)return O.current(b,y,L);L()}},[b,y,L,O,j]);const D=lt(()=>({reference:k,floating:S,setReference:x,setFloating:m}),[x,m]),F=lt(()=>({reference:b,floating:y}),[b,y]),R=lt(()=>{const T={position:n,left:0,top:0};if(!F.floating)return T;const tt=Rl(F.floating,f.x),ct=Rl(F.floating,f.y);return s?{...T,transform:"translate("+tt+"px, "+ct+"px)",...Tl(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:tt,top:ct}},[n,s,F.floating,f.x,f.y]);return lt(()=>({...f,update:L,refs:D,elements:F,floatingStyles:R}),[f,L,D,F,R])}function p0(t){const[e,n]=K(void 0);return qe(()=>{if(t){n({width:t.offsetWidth,height:t.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=t.offsetWidth,s=t.offsetHeight;n({width:a,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Nl="Popper",[Ll,Ml]=al(Nl),[h0,Fl]=Ll(Nl),v0=t=>{const{__scopePopper:e,children:n}=t,[r,o]=K(null);return C(h0,{scope:e,anchor:r,onAnchorChange:o},n)},_0="PopperAnchor",g0=rt((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=Fl(_0,n),a=V(null),s=Ae(e,a);return G(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:C(Ke.div,it({},o,{ref:s}))}),Il="PopperContent",[w0,lm]=Ll(Il),m0=rt((t,e)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:m="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:k,...S}=t,$=Fl(Il,f),[j,O]=K(null),N=Ae(e,Y=>O(Y)),[L,M]=K(null),D=p0(L),F=(n=D==null?void 0:D.width)!==null&&n!==void 0?n:0,R=(r=D==null?void 0:D.height)!==null&&r!==void 0?r:0,T=c+(d!=="center"?"-"+d:""),tt=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},ct=Array.isArray(v)?v:[v],pt=ct.length>0,ut={padding:tt,boundary:ct.filter(y0),altBoundary:pt},{refs:wt,floatingStyles:Te,placement:Nr,isPositioned:Kt,middlewareData:qt}=f0({strategy:"fixed",placement:T,whileElementsMounted:(...Y)=>r0(...Y,{animationFrame:y==="always"}),elements:{reference:$.anchor},middleware:[o0({mainAxis:p+R,alignmentAxis:_}),w&&i0({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?l0():void 0,...ut}),w&&a0({...ut}),s0({...ut,apply:({elements:Y,rects:mt,availableWidth:pe,availableHeight:et})=>{const{width:st,height:St}=mt.reference,De=Y.floating.style;De.setProperty("--radix-popper-available-width",`${pe}px`),De.setProperty("--radix-popper-available-height",`${et}px`),De.setProperty("--radix-popper-anchor-width",`${st}px`),De.setProperty("--radix-popper-anchor-height",`${St}px`)}}),L&&d0({element:L,padding:h}),b0({arrowWidth:F,arrowHeight:R}),b&&c0({strategy:"referenceHidden",...ut})]}),[Nn,Ti]=Hl(Nr),sn=se(k);qe(()=>{Kt&&(sn==null||sn())},[Kt,sn]);const Re=(o=qt.arrow)===null||o===void 0?void 0:o.x,Lr=(i=qt.arrow)===null||i===void 0?void 0:i.y,W=((a=qt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[B,ot]=K();return qe(()=>{j&&ot(window.getComputedStyle(j).zIndex)},[j]),C("div",{ref:wt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Te,transform:Kt?Te.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B,"--radix-popper-transform-origin":[(s=qt.transformOrigin)===null||s===void 0?void 0:s.x,(l=qt.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:t.dir},C(w0,{scope:f,placedSide:Nn,onArrowChange:M,arrowX:Re,arrowY:Lr,shouldHideArrow:W},C(Ke.div,it({"data-side":Nn,"data-align":Ti},S,{ref:N,style:{...S.style,animation:Kt?void 0:"none",opacity:(u=qt.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function y0(t){return t!==null}const b0=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=e,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[_,h]=Hl(s),w={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,x=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let m="",b="";return _==="bottom"?(m=c?w:`${v}px`,b=`${-d}px`):_==="top"?(m=c?w:`${v}px`,b=`${l.floating.height+d}px`):_==="right"?(m=`${-d}px`,b=c?w:`${x}px`):_==="left"&&(m=`${l.floating.width+d}px`,b=c?w:`${x}px`),{data:{x:m,y:b}}}});function Hl(t){const[e,n="center"]=t.split("-");return[e,n]}const x0=v0,$0=g0,k0=m0,j0=rt((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?ol.createPortal(C(Ke.div,it({},o,{ref:e})),r):null});function E0(t,e){return ur((n,r)=>{const o=e[n][r];return o??n},t)}const _i=t=>{const{present:e,children:n}=t,r=S0(e),o=typeof n=="function"?n({present:r.isPresent}):Vt.only(n),i=Ae(r.ref,o.ref);return typeof n=="function"||r.isPresent?Ye(o,{ref:i}):null};_i.displayName="Presence";function S0(t){const[e,n]=K(),r=V({}),o=V(t),i=V("none"),a=t?"mounted":"unmounted",[s,l]=E0(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return G(()=>{const u=xr(r.current);i.current=s==="mounted"?u:"none"},[s]),qe(()=>{const u=r.current,f=o.current;if(f!==t){const p=i.current,d=xr(u);t?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),qe(()=>{if(e){const u=c=>{const d=xr(r.current).includes(c.animationName);c.target===e&&d&&Cn(()=>l("ANIMATION_END"))},f=c=>{c.target===e&&(i.current=xr(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",u),e.addEventListener("animationend",u),()=>{e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",u),e.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:nt(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function xr(t){return(t==null?void 0:t.animationName)||"none"}function C0({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=O0({defaultProp:e,onChange:n}),i=t!==void 0,a=i?t:r,s=se(n),l=nt(u=>{if(i){const c=typeof u=="function"?u(t):u;c!==t&&s(c)}else o(u)},[i,t,o,s]);return[a,l]}function O0({defaultProp:t,onChange:e}){const n=K(t),[r]=n,o=V(r),i=se(e);return G(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var A0=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Qe=new WeakMap,$r=new WeakMap,kr={},gi=0,Vl=function(t){return t&&(t.host||Vl(t.parentNode))},P0=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Vl(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},T0=function(t,e,n,r){var o=P0(e,Array.isArray(t)?t:[t]);kr[n]||(kr[n]=new WeakMap);var i=kr[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),_=d!==null&&d!=="false",h=(Qe.get(p)||0)+1,w=(i.get(p)||0)+1;Qe.set(p,h),i.set(p,w),a.push(p),h===1&&_&&$r.set(p,!0),w===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return f(e),s.clear(),gi++,function(){a.forEach(function(c){var p=Qe.get(c)-1,d=i.get(c)-1;Qe.set(c,p),i.set(c,d),p||($r.has(c)||c.removeAttribute(r),$r.delete(c)),d||c.removeAttribute(n)}),gi--,gi||(Qe=new WeakMap,Qe=new WeakMap,$r=new WeakMap,kr={})}},R0=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||A0(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),T0(r,o,n,"aria-hidden")):function(){return null}},Pt=function(){return Pt=Object.assign||function(e){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)&&(e[i]=n[i])}return e},Pt.apply(this,arguments)};function zl(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function D0(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var jr="right-scroll-bar-position",Er="width-before-scroll-bar",N0="with-scroll-bars-hidden",L0="--removed-body-scroll-bar-size";function M0(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function F0(t,e){var n=K(function(){return{value:t,callback:e,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=e,n.facade}function I0(t,e){return F0(e||null,function(n){return t.forEach(function(r){return M0(r,n)})})}function H0(t){return t}function V0(t,e){e===void 0&&(e=H0);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]:t},useMedium:function(i){var a=e(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 z0(t){t===void 0&&(t={});var e=V0(null);return e.options=Pt({async:!0,ssr:!1},t),e}var Ul=function(t){var e=t.sideCar,n=zl(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return C(r,Pt({},n))};Ul.isSideCarExport=!0;function U0(t,e){return t.useMedium(e),Ul}var Wl=z0(),wi=function(){},Sr=rt(function(t,e){var n=V(null),r=K({onScrollCapture:wi,onWheelCapture:wi,onTouchMoveCapture:wi}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,f=t.enabled,c=t.shards,p=t.sideCar,d=t.noIsolation,_=t.inert,h=t.allowPinchZoom,w=t.as,v=w===void 0?"div":w,x=zl(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),m=p,b=I0([n,e]),y=Pt(Pt({},x),o);return C(J,null,f&&C(m,{sideCar:Wl,removeScrollBar:u,shards:c,noIsolation:d,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Ye(Vt.only(s),Pt(Pt({},y),{ref:b})):C(v,Pt({},y,{className:l,ref:b}),s))});Sr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Sr.classNames={fullWidth:Er,zeroRight:jr};var W0=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function B0(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=W0();return e&&t.setAttribute("nonce",e),t}function Y0(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function K0(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var q0=function(){var t=0,e=null;return{add:function(n){t==0&&(e=B0())&&(Y0(e,n),K0(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},G0=function(){var t=q0();return function(e,n){G(function(){return t.add(e),function(){t.remove()}},[e&&n])}},Bl=function(){var t=G0(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},X0={left:0,top:0,right:0,gap:0},mi=function(t){return parseInt(t||"",10)||0},Z0=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[mi(n),mi(r),mi(o)]},J0=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return X0;var e=Z0(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},Q0=Bl(),tw=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return n===void 0&&(n="margin"),`
|
|
22
|
-
.`.concat(
|
|
21
|
+
}`},m_=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${pa}`);return dt(t,`Element with id ${pa} not found.`),t}}))(),y_=()=>Li(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var i;return Q(hn,{Fallback:ed},[[Q("style",{id:"inploi-job-search-styles"},l_),Q("style",{id:"inploi-job-search-theme"},w_(o.theme))],Q(rd,{theme:o.theme}),Q(c_,{properties:o.properties,apiClient:t,logger:e,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,params:o})])};return{prerender:async o=>{const i=o.withData?await wa({filters:No(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Pu(Q(I,{},Q(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Wr:De;dt(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(Q(r,{params:o}),m_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=y_;function Bs(t,e){if(!t)throw new Error(e)}var bn,S,Ys,Ks,xe,qs,Gs,Vo,Xs,xn={},Zs=[],b_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,or=Array.isArray;function It(t,e){for(var n in e)t[n]=e[n];return t}function Js(t){var e=t.parentNode;e&&e.removeChild(t)}function E(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?bn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return $n(t,a,r,o,null)}function $n(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Ys,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(i),i}function Qs(){return{current:null}}function J(t){return t.children}function kt(t,e){this.props=t,this.context=e}function Ve(t,e){if(e==null)return t.__?Ve(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Ve(t):null}function tc(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return tc(t)}}function Uo(t){(!t.__d&&(t.__d=!0)&&xe.push(t)&&!ir.__r++||qs!==S.debounceRendering)&&((qs=S.debounceRendering)||Gs)(ir)}function ir(){var t,e,n,r,o,i,a,s,l;for(xe.sort(Vo);t=xe.shift();)t.__d&&(e=xe.length,r=void 0,i=(o=(n=t).__v).__e,s=[],l=[],(a=n.__P)&&((r=It({},o)).__v=o.__v+1,S.vnode&&S.vnode(r),zo(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Ve(o),!!(32&o.__u),l),r.__.__k[r.__i]=r,ac(s,r,l),r.__e!=i&&tc(r)),xe.length>e&&xe.sort(Vo));ir.__r=0}function ec(t,e,n,r,o,i,a,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Zs,v=e.length;for(n.__d=l,x_(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?xn:w[d.__i]||xn,d.__i=c,zo(t,d,p,o,i,a,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Wo(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?l=nc(d,l,t):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function x_(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?$n(null,o,null,null,o):or(o)?$n(J,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?$n(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=$_(o,n,a=r+c,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?c++:s>a?f>l-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=Ve(i)),Bo(i,i,!1),n[r]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=Ve(i)),Bo(i,i))}function nc(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=nc(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Ht(t,e){return e=e||[],t==null||typeof t=="boolean"||(or(t)?t.some(function(n){Ht(n,e)}):e.push(t)),e}function $_(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&i===l.type)return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function rc(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||b_.test(e)?n:n+"px"}function ar(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||rc(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||rc(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?ic:oc,i)):t.removeEventListener(e,i?ic:oc,i);else{if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function oc(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(S.event?S.event(t):t)}function ic(t){return this.l[t.type+!0](S.event?S.event(t):t)}function zo(t,e,n,r,o,i,a,s,l,u){var f,c,p,d,_,h,w,v,x,y,b,m,k,C,$,j=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(f=S.__b)&&f(e);t:if(typeof j=="function")try{if(v=e.props,x=(f=j.contextType)&&r[f.__c],y=f?x?x.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:("prototype"in j&&j.prototype.render?e.__c=c=new j(v,y):(e.__c=c=new kt(v,y),c.constructor=j,c.render=j_),x&&x.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=It({},c.__s)),It(c.__s,j.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(j.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,y)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(O){O&&(O.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=t,c.__e=!1,m=S.__r,k=0,"prototype"in j&&j.prototype.render){for(c.state=c.__s,c.__d=!1,m&&m(e),f=c.render(c.props,c.state,c.context),C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[]}else do c.__d=!1,m&&m(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,c.getChildContext!=null&&(r=It(It({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(d,_)),ec(t,or($=f!=null&&f.type===J&&f.key==null?f.props.children:f)?$:[$],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),w&&(c.__E=c.__=null)}catch(O){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),S.__e(O,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=k_(n.__e,e,n,r,o,i,a,l,u);(f=S.diffed)&&f(e)}function ac(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Wo(n[r],n[++r],n[++r]);S.__c&&S.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){S.__e(i,o.__v)}})}function k_(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,x=e.type;if(x==="svg"&&(o=!0),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!x&&(x?d.localName===x:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(x===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,v.is&&v),i=null,s=!1}if(x===null)w===v||s&&t.data===v||(t.data=v);else{if(i=i&&bn.call(t.childNodes),w=n.props||xn,!s&&i!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)d=w[u],u=="children"||(u=="dangerouslySetInnerHTML"?c=d:u==="key"||u in v||ar(t,u,null,d,o));for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||ar(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),ec(t,or(p)?p:[p],e,n,r,o&&x!=="foreignObject",i,a,i?i[0]:n.__k&&Ve(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Js(i[u]);s||(u="value",_!==void 0&&(_!==t[u]||x==="progress"&&!_||x==="option"&&_!==w[u])&&ar(t,u,_,w[u],!1),u="checked",h!==void 0&&h!==t[u]&&ar(t,u,h,w[u],!1))}return t}function Wo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){S.__e(r,n)}}function Bo(t,e,n){var r,o;if(S.unmount&&S.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Wo(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){S.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Bo(r[o],e,n||typeof t.type!="function");n||t.__e==null||Js(t.__e),t.__=t.__e=t.__d=void 0}function j_(t,e,n){return this.constructor(t,n)}function Ue(t,e,n){var r,o,i,a;S.__&&S.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],zo(e,t=(!r&&n||e).__k=E(J,null,[t]),o||xn,xn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?bn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),ac(i,t,a)}function Yo(t,e){Ue(t,e,Yo)}function S_(t,e,n){var r,o,i,a,s=It({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?bn.call(arguments,2):n),$n(t.type,s,r||t.key,o||t.ref,null)}function kn(t,e){var n={__c:e="__cC"+Xs++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,Uo(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}bn=Zs.slice,S={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Ys=0,Ks=function(t){return t!=null&&t.constructor==null},kt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=It({},this.state),typeof t=="function"&&(t=t(It({},n),this.props)),t&&It(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Uo(this))},kt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Uo(this))},kt.prototype.render=J,xe=[],Gs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vo=function(t,e){return t.__v.__b-e.__v.__b},ir.__r=0,Xs=0;var sc=/[\s\n\\/='"\0<>]/,cc=/^(xlink|xmlns|xml)([A-Z])/,C_=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,E_=/^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/,O_=/["&<]/;function sr(t){if(t.length===0||O_.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var lc={},A_=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"]),P_=/[A-Z]/g;function T_(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:lc[n]||(lc[n]=n.replace(P_,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||A_.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Ko,$e,jn,ke,uc=[],dc=Array.isArray,qo=Object.assign;function R_(t,e){var n=S.__s;S.__s=!0,Ko=S.__b,$e=S.diffed,jn=S.__r,ke=S.unmount;var r=E(J,null);r.__k=[t];try{return je(t,e||pc,!1,void 0,r)}finally{S.__c&&S.__c(t,uc),S.__s=n,uc.length=0}}function fc(){this.__d=!0}var pc={};function hc(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=pc),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=qo({},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(),jn&&jn(t),n.render(n.props,n.state,e)}function je(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":sr(t+"");if(dc(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=je(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,Ko&&Ko(t);var l,u,f,c=t.type,p=t.props,d=e;if(typeof c=="function"){if(c===J){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var w=p.exprs[h];if(w==null)continue;typeof w!="object"||w.constructor!==void 0&&!dc(w)?_+=w:_+=je(w,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+sr(p.UNSTABLE_comment||"")+"-->";u=p.children}else{if((l=c.contextType)!=null){var v=e[l.__c];d=v?v.props.value:l.__}if(c.prototype&&typeof c.prototype.render=="function")u=hc(t,d),f=t.__c;else{t.__c=f={__v:t,props:p,context:d,setState:fc,forceUpdate:fc,__d:!0,__h:[]};for(var x=0;f.__d&&x++<25;)f.__d=!1,jn&&jn(t),u=c.call(f,p,d);f.__d=!0}if(f.getChildContext!=null&&(e=qo({},e,f.getChildContext())),(c.getDerivedStateFromError||f.componentDidCatch)&&S.errorBoundaries){var y="";u=u!=null&&u.type===J&&u.key==null?u.props.children:u;try{return y=je(u,e,n,r,t)}catch(O){return c.getDerivedStateFromError&&(f.__s=c.getDerivedStateFromError(O)),f.componentDidCatch&&f.componentDidCatch(O,{}),f.__d&&(u=hc(t,e),(f=t.__c).getChildContext!=null&&(e=qo({},e,f.getChildContext())),y=je(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t)),y}finally{$e&&$e(t),t.__=void 0,ke&&ke(t)}}}var b=je(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t);return $e&&$e(t),t.__=void 0,ke&&ke(t),b}var m,k="<"+c,C="";for(var $ in p){var j=p[$];switch($){case"children":m=j;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;$="for";break;case"className":if("class"in p)continue;$="class";break;case"defaultChecked":$="checked";break;case"defaultSelected":$="selected";break;case"defaultValue":case"value":switch($="value",c){case"textarea":m=j;continue;case"select":r=j;continue;case"option":r!=j||"selected"in p||(k+=" selected")}break;case"dangerouslySetInnerHTML":C=j&&j.__html;continue;case"style":typeof j=="object"&&(j=T_(j));break;case"acceptCharset":$="accept-charset";break;case"httpEquiv":$="http-equiv";break;default:if(cc.test($))$=$.replace(cc,"$1:$2").toLowerCase();else{if(sc.test($))continue;$[4]!=="-"&&$!=="draggable"||j==null?n?E_.test($)&&($=$==="panose1"?"panose-1":$.replace(/([A-Z])/g,"-$1").toLowerCase()):C_.test($)&&($=$.toLowerCase()):j+=""}}j!=null&&j!==!1&&typeof j!="function"&&(k=j===!0||j===""?k+" "+$:k+" "+$+'="'+sr(j+"")+'"')}if(sc.test(c))throw new Error(c+" is not a valid HTML tag name in "+k+">");return C||(typeof m=="string"?C=sr(m):m!=null&&m!==!1&&m!==!0&&(C=je(m,e,c==="svg"||c!=="foreignObject"&&n,r,t))),$e&&$e(t),t.__=void 0,ke&&ke(t),!C&&D_.has(c)?k+"/>":k+">"+C+"</"+c+">"}var D_=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),N_=0;function A(t,e,n,r,o,i){var a,s,l={};for(s in e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--N_,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return S.vnode&&S.vnode(u),u}const L_={bell:A("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:A("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":A("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},M_=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(L_).map(([e,n])=>A("symbol",{id:`i-icon-${e}`,children:A("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),vc=({name:t,...e})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:A("use",{href:`#i-icon-${t}`})});function it(){return it=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},it.apply(this,arguments)}var Vt,z,Go,_c,ze=0,gc=[],cr=[],wc=S.__b,mc=S.__r,yc=S.diffed,bc=S.__c,xc=S.unmount;function Se(t,e){S.__h&&S.__h(z,t,ze||e),ze=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:cr}),n.__[t]}function K(t){return ze=1,lr(Cc,t)}function lr(t,e,n){var r=Se(Vt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Cc(void 0,e),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=z,!z.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))};z.u=!0;var i=z.shouldComponentUpdate,a=z.componentWillUpdate;z.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)},z.shouldComponentUpdate=o}return r.__N||r.__}function G(t,e){var n=Se(Vt++,3);!S.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,z.__H.__h.push(n))}function Ce(t,e){var n=Se(Vt++,4);!S.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,z.__h.push(n))}function V(t){return ze=5,lt(function(){return{current:t}},[])}function $c(t,e,n){ze=6,Ce(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function lt(t,e){var n=Se(Vt++,7);return Zo(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function nt(t,e){return ze=8,lt(function(){return t},e)}function ur(t){var e=z.context[t.__c],n=Se(Vt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(z)),e.props.value):t.__}function kc(t,e){S.useDebugValue&&S.useDebugValue(e?e(t):t)}function F_(t){var e=Se(Vt++,10),n=K();return e.__=t,z.componentDidCatch||(z.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function jc(){var t=Se(Vt++,11);if(!t.__){for(var e=z.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function I_(){for(var t;t=gc.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(dr),t.__H.__h.forEach(Xo),t.__H.__h=[]}catch(e){t.__H.__h=[],S.__e(e,t.__v)}}S.__b=function(t){z=null,wc&&wc(t)},S.__r=function(t){mc&&mc(t),Vt=0;var e=(z=t.__c).__H;e&&(Go===z?(e.__h=[],z.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=cr,n.__N=n.i=void 0})):(e.__h.forEach(dr),e.__h.forEach(Xo),e.__h=[],Vt=0)),Go=z},S.diffed=function(t){yc&&yc(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(gc.push(e)!==1&&_c===S.requestAnimationFrame||((_c=S.requestAnimationFrame)||H_)(I_)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==cr&&(n.__=n.__V),n.i=void 0,n.__V=cr})),Go=z=null},S.__c=function(t,e){e.some(function(n){try{n.__h.forEach(dr),n.__h=n.__h.filter(function(r){return!r.__||Xo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],S.__e(r,n.__v)}}),bc&&bc(t,e)},S.unmount=function(t){xc&&xc(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{dr(r)}catch(o){e=o}}),n.__H=void 0,e&&S.__e(e,n.__v))};var Sc=typeof requestAnimationFrame=="function";function H_(t){var e,n=function(){clearTimeout(r),Sc&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Sc&&(e=requestAnimationFrame(n))}function dr(t){var e=z,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),z=e}function Xo(t){var e=z;t.__c=t.__(),z=e}function Zo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Cc(t,e){return typeof e=="function"?e(t):e}function Ec(t,e){for(var n in e)t[n]=e[n];return t}function Jo(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function fr(t){this.props=t}function Oc(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:Jo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,E(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(fr.prototype=new kt).isPureReactComponent=!0,fr.prototype.shouldComponentUpdate=function(t,e){return Jo(this.props,t)||Jo(this.state,e)};var Ac=S.__b;S.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ac&&Ac(t)};var V_=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function rt(t){function e(n){var r=Ec({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=V_,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Pc=function(t,e){return t==null?null:Ht(Ht(t).map(e))},Ut={map:Pc,forEach:Pc,count:function(t){return t?Ht(t).length:0},only:function(t){var e=Ht(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Ht},U_=S.__e;S.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}U_(t,e,n,r)};var Tc=S.unmount;function Rc(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Ec({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Rc(r,e,n)})),t}function Dc(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Dc(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function Sn(){this.__u=0,this.t=null,this.__b=null}function Nc(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Lc(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return E(n,i)}return o.displayName="Lazy",o.__f=!0,o}function We(){this.u=null,this.o=null}S.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Tc&&Tc(t)},(Sn.prototype=new kt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Nc(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]=Dc(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&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},Sn.prototype.componentWillUnmount=function(){this.t=[]},Sn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Rc(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&E(J,null,t.fallback);return o&&(o.__u&=-33),[E(J,null,e.__a?null:t.children),o]};var Mc=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function z_(t){return this.getChildContext=function(){return t.context},t.children}function W_(t){var e=this,n=t.i;e.componentWillUnmount=function(){Ue(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Ue(E(z_,{context:e.context},t.__v),e.l)}function Fc(t,e){var n=E(W_,{__v:t,i:e});return n.containerInfo=e,n}(We.prototype=new kt).__a=function(t){var e=this,n=Nc(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Mc(e,t,r)):o()};n?n(i):i()}},We.prototype.render=function(t){this.u=null,this.o=new Map;var e=Ht(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},We.prototype.componentDidUpdate=We.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Mc(t,n,e)})};var Ic=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,B_=/^(?: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]/,Y_=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K_=/[A-Z0-9]/g,q_=typeof document<"u",G_=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Hc(t,e,n){return e.__k==null&&(e.textContent=""),Ue(t,e),typeof n=="function"&&n(),t?t.__c:null}function Vc(t,e,n){return Yo(t,e),typeof n=="function"&&n(),t?t.__c:null}kt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(kt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Uc=S.event;function X_(){}function Z_(){return this.cancelBubble}function J_(){return this.defaultPrevented}S.event=function(t){return Uc&&(t=Uc(t)),t.persist=X_,t.isPropagationStopped=Z_,t.isDefaultPrevented=J_,t.nativeEvent=t};var Qo,Q_={enumerable:!1,configurable:!0,get:function(){return this.class}},zc=S.vnode;S.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||q_&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||G_(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Y_.test(i)?i=s:r.indexOf("-")===-1&&B_.test(i)?i=i.replace(K_,"-$&").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=Ht(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ht(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",Q_)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Ic,zc&&zc(t)};var Wc=S.__r;S.__r=function(t){Wc&&Wc(t),Qo=t.__c};var Bc=S.diffed;S.diffed=function(t){Bc&&Bc(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Qo=null};var Yc={ReactCurrentDispatcher:{current:{readContext:function(t){return Qo.__n[t.__c].props.value}}}},tg="17.0.2";function Kc(t){return E.bind(null,t)}function zt(t){return!!t&&t.$$typeof===Ic}function qc(t){return zt(t)&&t.type===J}function Be(t){return zt(t)?S_.apply(null,arguments):t}function Gc(t){return!!t.__k&&(Ue(null,t),!0)}function Xc(t){return t&&(t.base||t.nodeType===1&&t)||null}var Zc=function(t,e){return t(e)},Cn=function(t,e){return t(e)},Jc=J;function ti(t){t()}function Qc(t){return t}function tl(){return[!1,ti]}var el=Ce,nl=zt;function rl(t,e){var n=e(),r=K({h:{__:n,v:e}}),o=r[0].h,i=r[1];return Ce(function(){o.__=n,o.v=e,ei(o)&&i({h:o})},[t,n,e]),G(function(){return ei(o)&&i({h:o}),t(function(){ei(o)&&i({h:o})})},[t]),n}function ei(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var ol={useState:K,useId:jc,useReducer:lr,useEffect:G,useLayoutEffect:Ce,useInsertionEffect:el,useTransition:tl,useDeferredValue:Qc,useSyncExternalStore:rl,startTransition:ti,useRef:V,useImperativeHandle:$c,useMemo:lt,useCallback:nt,useContext:ur,useDebugValue:kc,version:"17.0.2",Children:Ut,render:Hc,hydrate:Vc,unmountComponentAtNode:Gc,createPortal:Fc,createElement:E,createContext:kn,createFactory:Kc,cloneElement:Be,createRef:Qs,Fragment:J,isValidElement:zt,isElement:nl,isFragment:qc,findDOMNode:Xc,Component:kt,PureComponent:fr,memo:Oc,forwardRef:rt,flushSync:Cn,unstable_batchedUpdates:Zc,StrictMode:Jc,Suspense:Sn,SuspenseList:We,lazy:Lc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yc};const eg=Object.freeze(Object.defineProperty({__proto__:null,Children:Ut,Component:kt,Fragment:J,PureComponent:fr,StrictMode:Jc,Suspense:Sn,SuspenseList:We,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yc,cloneElement:Be,createContext:kn,createElement:E,createFactory:Kc,createPortal:Fc,createRef:Qs,default:ol,findDOMNode:Xc,flushSync:Cn,forwardRef:rt,hydrate:Vc,isElement:nl,isFragment:qc,isValidElement:zt,lazy:Lc,memo:Oc,render:Hc,startTransition:ti,unmountComponentAtNode:Gc,unstable_batchedUpdates:Zc,useCallback:nt,useContext:ur,useDebugValue:kc,useDeferredValue:Qc,useEffect:G,useErrorBoundary:F_,useId:jc,useImperativeHandle:$c,useInsertionEffect:el,useLayoutEffect:Ce,useMemo:lt,useReducer:lr,useRef:V,useState:K,useSyncExternalStore:rl,useTransition:tl,version:tg},Symbol.toStringTag,{value:"Module"}));function Ee(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t==null||t(o),n===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function ng(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function il(...t){return e=>t.forEach(n=>ng(n,e))}function Oe(...t){return nt(il(...t),t)}function al(t,e=[]){let n=[];function r(i,a){const s=kn(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:d,..._}=c,h=(p==null?void 0:p[t][l])||s,w=lt(()=>_,Object.values(_));return E(h.Provider,{value:w},d)}function f(c,p){const d=(p==null?void 0:p[t][l])||s,_=ur(d);if(_)return _;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=>kn(a));return function(s){const l=(s==null?void 0:s[t])||i;return lt(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,rg(o,...e)]}function rg(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.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 lt(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}const ni=rt((t,e)=>{const{children:n,...r}=t,o=Ut.toArray(n),i=o.find(ig);if(i){const a=i.props.children,s=o.map(l=>l===i?Ut.count(a)>1?Ut.only(null):zt(a)?a.props.children:null:l);return E(ri,it({},r,{ref:e}),zt(a)?Be(a,void 0,s):null)}return E(ri,it({},r,{ref:e}),n)});ni.displayName="Slot";const ri=rt((t,e)=>{const{children:n,...r}=t;return zt(n)?Be(n,{...ag(r,n.props),ref:e?il(e,n.ref):n.ref}):Ut.count(n)>1?Ut.only(null):null});ri.displayName="SlotClone";const og=({children:t})=>E(J,null,t);function ig(t){return zt(t)&&t.type===og}function ag(t,e){const n={...e};for(const r in e){const o=t[r],i=e[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{...t,...n}}const Ye=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=rt((r,o)=>{const{asChild:i,...a}=r,s=i?ni:e;return G(()=>{window[Symbol.for("radix-ui")]=!0},[]),E(s,it({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function sg(t,e){t&&Cn(()=>t.dispatchEvent(e))}function ce(t){const e=V(t);return G(()=>{e.current=t}),lt(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function cg(t,e=globalThis==null?void 0:globalThis.document){const n=ce(t);G(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const oi="dismissableLayer.update",lg="dismissableLayer.pointerDownOutside",ug="dismissableLayer.focusOutside";let sl;const dg=kn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fg=rt((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,f=ur(dg),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=K({}),h=Oe(e,$=>p($)),w=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),x=w.indexOf(v),y=c?w.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,m=y>=x,k=pg($=>{const j=$.target,O=[...f.branches].some(N=>N.contains(j));!m||O||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),C=hg($=>{const j=$.target;[...f.branches].some(N=>N.contains(j))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return cg($=>{y===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),G(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(sl=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),cl(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=sl)}},[c,d,r,f]),G(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),cl())},[c,f]),G(()=>{const $=()=>_({});return document.addEventListener(oi,$),()=>document.removeEventListener(oi,$)},[]),E(Ye.div,it({},u,{ref:h,style:{pointerEvents:b?m?"auto":"none":void 0,...t.style},onFocusCapture:Ee(t.onFocusCapture,C.onFocusCapture),onBlurCapture:Ee(t.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ee(t.onPointerDownCapture,k.onPointerDownCapture)}))});function pg(t,e=globalThis==null?void 0:globalThis.document){const n=ce(t),r=V(!1),o=V(()=>{});return G(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){ll(lg,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function hg(t,e=globalThis==null?void 0:globalThis.document){const n=ce(t),r=V(!1);return G(()=>{const o=i=>{i.target&&!r.current&&ll(ug,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function cl(){const t=new CustomEvent(oi);document.dispatchEvent(t)}function ll(t,e,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?sg(o,i):o.dispatchEvent(i)}let ii=0;function vg(){G(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:ul()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:ul()),ii++,()=>{ii===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ii--}},[])}function ul(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}const ai="focusScope.autoFocusOnMount",si="focusScope.autoFocusOnUnmount",dl={bubbles:!1,cancelable:!0},_g=rt((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,l]=K(null),u=ce(o),f=ce(i),c=V(null),p=Oe(e,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;G(()=>{if(r){let h=function(y){if(d.paused||!s)return;const b=y.target;s.contains(b)?c.current=b:le(c.current,{select:!0})},w=function(y){if(d.paused||!s)return;const b=y.relatedTarget;b!==null&&(s.contains(b)||le(c.current,{select:!0}))},v=function(y){if(document.activeElement===document.body)for(const m of y)m.removedNodes.length>0&&le(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",w);const x=new MutationObserver(v);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",w),x.disconnect()}}},[r,s,d.paused]),G(()=>{if(s){hl.add(d);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(ai,dl);s.addEventListener(ai,u),s.dispatchEvent(v),v.defaultPrevented||(gg(xg(fl(s)),{select:!0}),document.activeElement===h&&le(s))}return()=>{s.removeEventListener(ai,u),setTimeout(()=>{const v=new CustomEvent(si,dl);s.addEventListener(si,f),s.dispatchEvent(v),v.defaultPrevented||le(h??document.body,{select:!0}),s.removeEventListener(si,f),hl.remove(d)},0)}}},[s,u,f,d]);const _=nt(h=>{if(!n&&!r||d.paused)return;const w=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(w&&v){const x=h.currentTarget,[y,b]=wg(x);y&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&le(y,{select:!0})):h.shiftKey&&v===y&&(h.preventDefault(),n&&le(b,{select:!0})):v===x&&h.preventDefault()}},[n,r,d.paused]);return E(Ye.div,it({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function gg(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(le(r,{select:e}),document.activeElement!==n)return}function wg(t){const e=fl(t),n=pl(e,t),r=pl(e.reverse(),t);return[n,r]}function fl(t){const e=[],n=document.createTreeWalker(t,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();)e.push(n.currentNode);return e}function pl(t,e){for(const n of t)if(!mg(n,{upTo:e}))return n}function mg(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function yg(t){return t instanceof HTMLInputElement&&"select"in t}function le(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&yg(t)&&e&&t.select()}}const hl=bg();function bg(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=vl(t,e),t.unshift(e)},remove(e){var n;t=vl(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function vl(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function xg(t){return t.filter(e=>e.tagName!=="A")}const Ke=globalThis!=null&&globalThis.document?Ce:()=>{},$g=eg["useId".toString()]||(()=>{});let kg=0;function jg(t){const[e,n]=K($g());return Ke(()=>{t||n(r=>r??String(kg++))},[t]),t||(e?`radix-${e}`:"")}const Sg=["top","right","bottom","left"],ue=Math.min,_t=Math.max,pr=Math.round,hr=Math.floor,de=t=>({x:t,y:t}),Cg={left:"right",right:"left",bottom:"top",top:"bottom"},Eg={start:"end",end:"start"};function ci(t,e,n){return _t(t,ue(e,n))}function Wt(t,e){return typeof t=="function"?t(e):t}function Bt(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function li(t){return t==="x"?"y":"x"}function ui(t){return t==="y"?"height":"width"}function Ge(t){return["top","bottom"].includes(Bt(t))?"y":"x"}function di(t){return li(Ge(t))}function Og(t,e,n){n===void 0&&(n=!1);const r=qe(t),o=di(t),i=ui(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=vr(a)),[a,vr(a)]}function Ag(t){const e=vr(t);return[fi(t),e,fi(e)]}function fi(t){return t.replace(/start|end/g,e=>Eg[e])}function Pg(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function Tg(t,e,n,r){const o=qe(t);let i=Pg(Bt(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(fi)))),i}function vr(t){return t.replace(/left|right|bottom|top/g,e=>Cg[e])}function Rg(t){return{top:0,right:0,bottom:0,left:0,...t}}function _l(t){return typeof t!="number"?Rg(t):{top:t,right:t,bottom:t,left:t}}function _r(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function gl(t,e,n){let{reference:r,floating:o}=t;const i=Ge(e),a=di(e),s=ui(a),l=Bt(e),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(qe(e)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const Dg=async(t,e,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(e));let u=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:c}=gl(u,r,l),p=r,d={},_=0;for(let h=0;h<s.length;h++){const{name:w,fn:v}=s[h],{x,y,data:b,reset:m}=await v({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:t,floating:e}});f=x??f,c=y??c,d={...d,[w]:{...d[w],...b}},m&&_<=50&&(_++,typeof m=="object"&&(m.placement&&(p=m.placement),m.rects&&(u=m.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):m.rects),{x:f,y:c}=gl(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function En(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=Wt(e,t),_=_l(d),w=s[p?c==="floating"?"reference":"floating":c],v=_r(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),x=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},m=_r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:y,strategy:l}):x);return{top:(v.top-m.top+_.top)/b.y,bottom:(m.bottom-v.bottom+_.bottom)/b.y,left:(v.left-m.left+_.left)/b.x,right:(m.right-v.right+_.right)/b.x}}const Ng=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=e,{element:u,padding:f=0}=Wt(t,e)||{};if(u==null)return{};const c=_l(f),p={x:n,y:r},d=di(o),_=ui(d),h=await a.getDimensions(u),w=d==="y",v=w?"top":"left",x=w?"bottom":"right",y=w?"clientHeight":"clientWidth",b=i.reference[_]+i.reference[d]-p[d]-i.floating[_],m=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=k?k[y]:0;(!C||!await(a.isElement==null?void 0:a.isElement(k)))&&(C=s.floating[y]||i.floating[_]);const $=b/2-m/2,j=C/2-h[_]/2-1,O=ue(c[v],j),N=ue(c[x],j),L=O,M=C-h[_]-N,D=C/2-h[_]/2+$,F=ci(L,D,M),R=!l.arrow&&qe(o)!=null&&D!==F&&i.reference[_]/2-(D<L?O:N)-h[_]/2<0,T=R?D<L?D-L:D-M:0;return{[d]:p[d]+T,data:{[d]:F,centerOffset:D-F-T,...R&&{alignmentOffset:T}},reset:R}}}),Lg=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...w}=Wt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Bt(o),x=Bt(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=p||(x||!h?[vr(s)]:Ag(s));!p&&_!=="none"&&b.push(...Tg(s,h,_,y));const m=[s,...b],k=await En(e,w),C=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&C.push(k[v]),c){const L=Og(o,a,y);C.push(k[L[0]],k[L[1]])}if($=[...$,{placement:o,overflows:C}],!C.every(L=>L<=0)){var j,O;const L=(((j=i.flip)==null?void 0:j.index)||0)+1,M=m[L];if(M)return{data:{index:L,overflows:$},reset:{placement:M}};let D=(O=$.filter(F=>F.overflows[0]<=0).sort((F,R)=>F.overflows[1]-R.overflows[1])[0])==null?void 0:O.placement;if(!D)switch(d){case"bestFit":{var N;const F=(N=$.map(R=>[R.placement,R.overflows.filter(T=>T>0).reduce((T,tt)=>T+tt,0)]).sort((R,T)=>R[1]-T[1])[0])==null?void 0:N[0];F&&(D=F);break}case"initialPlacement":D=s;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function wl(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function ml(t){return Sg.some(e=>t[e]>=0)}const Mg=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Wt(t,e);switch(r){case"referenceHidden":{const i=await En(e,{...o,elementContext:"reference"}),a=wl(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ml(a)}}}case"escaped":{const i=await En(e,{...o,altBoundary:!0}),a=wl(i,n.floating);return{data:{escapedOffsets:a,escaped:ml(a)}}}default:return{}}}}};async function Fg(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Bt(n),s=qe(n),l=Ge(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=Wt(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(d=s==="end"?_*-1:_),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const Ig=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,l=await Fg(e,t);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}}}}},Hg=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:v,y:x}=w;return{x:v,y:x}}},...l}=Wt(t,e),u={x:n,y:r},f=await En(e,l),c=Ge(Bt(o)),p=li(c);let d=u[p],_=u[c];if(i){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",x=d+f[w],y=d-f[v];d=ci(x,d,y)}if(a){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",x=_+f[w],y=_-f[v];_=ci(x,_,y)}const h=s.fn({...e,[p]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Vg=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Wt(t,e),f={x:n,y:r},c=Ge(o),p=li(c);let d=f[p],_=f[c];const h=Wt(s,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=p==="y"?"height":"width",b=i.reference[p]-i.floating[y]+w.mainAxis,m=i.reference[p]+i.reference[y]-w.mainAxis;d<b?d=b:d>m&&(d=m)}if(u){var v,x;const y=p==="y"?"width":"height",b=["top","left"].includes(Bt(o)),m=i.reference[c]-i.floating[y]+(b&&((v=a.offset)==null?void 0:v[c])||0)+(b?0:w.crossAxis),k=i.reference[c]+i.reference[y]+(b?0:((x=a.offset)==null?void 0:x[c])||0)-(b?w.crossAxis:0);_<m?_=m:_>k&&(_=k)}return{[p]:d,[c]:_}}}},Ug=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=Wt(t,e),l=await En(e,s),u=Bt(n),f=qe(n),c=Ge(n)==="y",{width:p,height:d}=r.floating;let _,h;u==="top"||u==="bottom"?(_=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,_=f==="end"?"top":"bottom");const w=d-l[_],v=p-l[h],x=!e.middlewareData.shift;let y=w,b=v;if(c){const k=p-l.left-l.right;b=f||x?ue(v,k):k}else{const k=d-l.top-l.bottom;y=f||x?ue(w,k):k}if(x&&!f){const k=_t(l.left,0),C=_t(l.right,0),$=_t(l.top,0),j=_t(l.bottom,0);c?b=p-2*(k!==0||C!==0?k+C:_t(l.left,l.right)):y=d-2*($!==0||j!==0?$+j:_t(l.top,l.bottom))}await a({...e,availableWidth:b,availableHeight:y});const m=await o.getDimensions(i.floating);return p!==m.width||d!==m.height?{reset:{rects:!0}}:{}}}};function fe(t){return yl(t)?(t.nodeName||"").toLowerCase():"#document"}function gt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Yt(t){var e;return(e=(yl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function yl(t){return t instanceof Node||t instanceof gt(t).Node}function Kt(t){return t instanceof Element||t instanceof gt(t).Element}function Pt(t){return t instanceof HTMLElement||t instanceof gt(t).HTMLElement}function bl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gt(t).ShadowRoot}function On(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=jt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function zg(t){return["table","td","th"].includes(fe(t))}function pi(t){const e=hi(),n=jt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(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 Wg(t){let e=Xe(t);for(;Pt(e)&&!gr(e);){if(pi(e))return e;e=Xe(e)}return null}function hi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function gr(t){return["html","body","#document"].includes(fe(t))}function jt(t){return gt(t).getComputedStyle(t)}function wr(t){return Kt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(t){if(fe(t)==="html")return t;const e=t.assignedSlot||t.parentNode||bl(t)&&t.host||Yt(t);return bl(e)?e.host:e}function xl(t){const e=Xe(t);return gr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Pt(e)&&On(e)?e:xl(e)}function An(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=xl(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=gt(o);return i?e.concat(a,a.visualViewport||[],On(o)?o:[],a.frameElement&&n?An(a.frameElement):[]):e.concat(o,An(o,[],n))}function $l(t){const e=jt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Pt(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=pr(n)!==i||pr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function vi(t){return Kt(t)?t:t.contextElement}function Ze(t){const e=vi(t);if(!Pt(e))return de(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=$l(e);let a=(i?pr(n.width):n.width)/r,s=(i?pr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Bg=de(0);function kl(t){const e=gt(t);return!hi()||!e.visualViewport?Bg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Yg(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==gt(t)?!1:e}function Ae(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=vi(t);let a=de(1);e&&(r?Kt(r)&&(a=Ze(r)):a=Ze(t));const s=Yg(i,n,r)?kl(i):de(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=gt(i),d=r&&Kt(r)?gt(r):r;let _=p,h=_.frameElement;for(;h&&r&&d!==_;){const w=Ze(h),v=h.getBoundingClientRect(),x=jt(h),y=v.left+(h.clientLeft+parseFloat(x.paddingLeft))*w.x,b=v.top+(h.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,u*=w.y,f*=w.x,c*=w.y,l+=y,u+=b,_=gt(h),h=_.frameElement}}return _r({width:f,height:c,x:l,y:u})}const Kg=[":popover-open",":modal"];function jl(t){return Kg.some(e=>{try{return t.matches(e)}catch{return!1}})}function qg(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=Yt(r),s=e?jl(e.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=de(1);const f=de(0),c=Pt(r);if((c||!c&&!i)&&((fe(r)!=="body"||On(a))&&(l=wr(r)),Pt(r))){const p=Ae(r);u=Ze(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 Gg(t){return Array.from(t.getClientRects())}function Sl(t){return Ae(Yt(t)).left+wr(t).scrollLeft}function Xg(t){const e=Yt(t),n=wr(t),r=t.ownerDocument.body,o=_t(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=_t(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Sl(t);const s=-n.scrollTop;return jt(r).direction==="rtl"&&(a+=_t(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Zg(t,e){const n=gt(t),r=Yt(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=hi();(!u||u&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function Jg(t,e){const n=Ae(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=Pt(t)?Ze(t):de(1),a=t.clientWidth*i.x,s=t.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function Cl(t,e,n){let r;if(e==="viewport")r=Zg(t,n);else if(e==="document")r=Xg(Yt(t));else if(Kt(e))r=Jg(e,n);else{const o=kl(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return _r(r)}function El(t,e){const n=Xe(t);return n===e||!Kt(n)||gr(n)?!1:jt(n).position==="fixed"||El(n,e)}function Qg(t,e){const n=e.get(t);if(n)return n;let r=An(t,[],!1).filter(s=>Kt(s)&&fe(s)!=="body"),o=null;const i=jt(t).position==="fixed";let a=i?Xe(t):t;for(;Kt(a)&&!gr(a);){const s=jt(a),l=pi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||On(a)&&!l&&El(t,a))?r=r.filter(f=>f!==a):o=s,a=Xe(a)}return e.set(t,r),r}function t0(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Qg(e,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=Cl(e,f,o);return u.top=_t(c.top,u.top),u.right=ue(c.right,u.right),u.bottom=ue(c.bottom,u.bottom),u.left=_t(c.left,u.left),u},Cl(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function e0(t){const{width:e,height:n}=$l(t);return{width:e,height:n}}function n0(t,e,n){const r=Pt(e),o=Yt(e),i=n==="fixed",a=Ae(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=de(0);if(r||!r&&!i)if((fe(e)!=="body"||On(o))&&(s=wr(e)),r){const c=Ae(e,!0,i,e);l.x=c.x+e.clientLeft,l.y=c.y+e.clientTop}else o&&(l.x=Sl(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 Ol(t,e){return!Pt(t)||jt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Al(t,e){const n=gt(t);if(!Pt(t)||jl(t))return n;let r=Ol(t,e);for(;r&&zg(r)&&jt(r).position==="static";)r=Ol(r,e);return r&&(fe(r)==="html"||fe(r)==="body"&&jt(r).position==="static"&&!pi(r))?n:r||Wg(t)||n}const r0=async function(t){const e=this.getOffsetParent||Al,n=this.getDimensions,r=await n(t.floating);return{reference:n0(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function o0(t){return jt(t).direction==="rtl"}const i0={convertOffsetParentRelativeRectToViewportRelativeRect:qg,getDocumentElement:Yt,getClippingRect:t0,getOffsetParent:Al,getElementRects:r0,getClientRects:Gg,getDimensions:e0,getScale:Ze,isElement:Kt,isRTL:o0};function a0(t,e){let n=null,r;const o=Yt(t);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}=t.getBoundingClientRect();if(s||e(),!c||!p)return;const d=hr(f),_=hr(o.clientWidth-(u+c)),h=hr(o.clientHeight-(f+p)),w=hr(u),x={rootMargin:-d+"px "+-_+"px "+-h+"px "+-w+"px",threshold:_t(0,ue(1,l))||1};let y=!0;function b(m){const k=m[0].intersectionRatio;if(k!==l){if(!y)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,x)}n.observe(t)}return a(!0),i}function s0(t,e,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=vi(t),f=o||i?[...u?An(u):[],...An(e)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=u&&s?a0(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(v=>{let[x]=v;x&&x.target===u&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(e)})),n()}),u&&!l&&d.observe(u),d.observe(e));let _,h=l?Ae(t):null;l&&w();function w(){const v=Ae(t);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(w)}return n(),()=>{var v;f.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,l&&cancelAnimationFrame(_)}}const c0=Ig,l0=Hg,u0=Lg,d0=Ug,f0=Mg,Pl=Ng,p0=Vg,h0=(t,e,n)=>{const r=new Map,o={platform:i0,...n},i={...o.platform,_c:r};return Dg(t,e,{...o,platform:i})},v0=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?Pl({element:r.current,padding:o}).fn(n):{}:r?Pl({element:r,padding:o}).fn(n):{}}}};var mr=typeof document<"u"?Ce:G;function yr(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!yr(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!yr(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Tl(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Rl(t,e){const n=Tl(t);return Math.round(e*n)/n}function Dl(t){const e=V(t);return mr(()=>{e.current=t}),e}function _0(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[f,c]=K({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=K(r);yr(p,r)||d(r);const[_,h]=K(null),[w,v]=K(null),x=nt(T=>{T!==k.current&&(k.current=T,h(T))},[]),y=nt(T=>{T!==C.current&&(C.current=T,v(T))},[]),b=i||_,m=a||w,k=V(null),C=V(null),$=V(f),j=l!=null,O=Dl(l),N=Dl(o),L=nt(()=>{if(!k.current||!C.current)return;const T={placement:e,strategy:n,middleware:p};N.current&&(T.platform=N.current),h0(k.current,C.current,T).then(tt=>{const ct={...tt,isPositioned:!0};M.current&&!yr($.current,ct)&&($.current=ct,Cn(()=>{c(ct)}))})},[p,e,n,N]);mr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(T=>({...T,isPositioned:!1})))},[u]);const M=V(!1);mr(()=>(M.current=!0,()=>{M.current=!1}),[]),mr(()=>{if(b&&(k.current=b),m&&(C.current=m),b&&m){if(O.current)return O.current(b,m,L);L()}},[b,m,L,O,j]);const D=lt(()=>({reference:k,floating:C,setReference:x,setFloating:y}),[x,y]),F=lt(()=>({reference:b,floating:m}),[b,m]),R=lt(()=>{const T={position:n,left:0,top:0};if(!F.floating)return T;const tt=Rl(F.floating,f.x),ct=Rl(F.floating,f.y);return s?{...T,transform:"translate("+tt+"px, "+ct+"px)",...Tl(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:tt,top:ct}},[n,s,F.floating,f.x,f.y]);return lt(()=>({...f,update:L,refs:D,elements:F,floatingStyles:R}),[f,L,D,F,R])}function g0(t){const[e,n]=K(void 0);return Ke(()=>{if(t){n({width:t.offsetWidth,height:t.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=t.offsetWidth,s=t.offsetHeight;n({width:a,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Nl="Popper",[Ll,Ml]=al(Nl),[w0,Fl]=Ll(Nl),m0=t=>{const{__scopePopper:e,children:n}=t,[r,o]=K(null);return E(w0,{scope:e,anchor:r,onAnchorChange:o},n)},y0="PopperAnchor",b0=rt((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=Fl(y0,n),a=V(null),s=Oe(e,a);return G(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:E(Ye.div,it({},o,{ref:s}))}),Il="PopperContent",[x0,pm]=Ll(Il),$0=rt((t,e)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:m="optimized",onPlaced:k,...C}=t,$=Fl(Il,f),[j,O]=K(null),N=Oe(e,Y=>O(Y)),[L,M]=K(null),D=g0(L),F=(n=D==null?void 0:D.width)!==null&&n!==void 0?n:0,R=(r=D==null?void 0:D.height)!==null&&r!==void 0?r:0,T=c+(d!=="center"?"-"+d:""),tt=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},ct=Array.isArray(v)?v:[v],pt=ct.length>0,ut={padding:tt,boundary:ct.filter(k0),altBoundary:pt},{refs:wt,floatingStyles:Pe,placement:Dr,isPositioned:qt,middlewareData:Gt}=_0({strategy:"fixed",placement:T,whileElementsMounted:(...Y)=>s0(...Y,{animationFrame:m==="always"}),elements:{reference:$.anchor},middleware:[c0({mainAxis:p+R,alignmentAxis:_}),w&&l0({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?p0():void 0,...ut}),w&&u0({...ut}),d0({...ut,apply:({elements:Y,rects:mt,availableWidth:he,availableHeight:et})=>{const{width:st,height:Et}=mt.reference,Re=Y.floating.style;Re.setProperty("--radix-popper-available-width",`${he}px`),Re.setProperty("--radix-popper-available-height",`${et}px`),Re.setProperty("--radix-popper-anchor-width",`${st}px`),Re.setProperty("--radix-popper-anchor-height",`${Et}px`)}}),L&&v0({element:L,padding:h}),j0({arrowWidth:F,arrowHeight:R}),b&&f0({strategy:"referenceHidden",...ut})]}),[Dn,Ti]=Hl(Dr),an=ce(k);Ke(()=>{qt&&(an==null||an())},[qt,an]);const Te=(o=Gt.arrow)===null||o===void 0?void 0:o.x,Nr=(i=Gt.arrow)===null||i===void 0?void 0:i.y,W=((a=Gt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[B,ot]=K();return Ke(()=>{j&&ot(window.getComputedStyle(j).zIndex)},[j]),E("div",{ref:wt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Pe,transform:qt?Pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B,"--radix-popper-transform-origin":[(s=Gt.transformOrigin)===null||s===void 0?void 0:s.x,(l=Gt.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:t.dir},E(x0,{scope:f,placedSide:Dn,onArrowChange:M,arrowX:Te,arrowY:Nr,shouldHideArrow:W},E(Ye.div,it({"data-side":Dn,"data-align":Ti},C,{ref:N,style:{...C.style,animation:qt?void 0:"none",opacity:(u=Gt.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function k0(t){return t!==null}const j0=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=e,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[_,h]=Hl(s),w={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,x=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let y="",b="";return _==="bottom"?(y=c?w:`${v}px`,b=`${-d}px`):_==="top"?(y=c?w:`${v}px`,b=`${l.floating.height+d}px`):_==="right"?(y=`${-d}px`,b=c?w:`${x}px`):_==="left"&&(y=`${l.floating.width+d}px`,b=c?w:`${x}px`),{data:{x:y,y:b}}}});function Hl(t){const[e,n="center"]=t.split("-");return[e,n]}const S0=m0,C0=b0,E0=$0,O0=rt((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?ol.createPortal(E(Ye.div,it({},o,{ref:e})),r):null});function A0(t,e){return lr((n,r)=>{const o=e[n][r];return o??n},t)}const _i=t=>{const{present:e,children:n}=t,r=P0(e),o=typeof n=="function"?n({present:r.isPresent}):Ut.only(n),i=Oe(r.ref,o.ref);return typeof n=="function"||r.isPresent?Be(o,{ref:i}):null};_i.displayName="Presence";function P0(t){const[e,n]=K(),r=V({}),o=V(t),i=V("none"),a=t?"mounted":"unmounted",[s,l]=A0(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return G(()=>{const u=br(r.current);i.current=s==="mounted"?u:"none"},[s]),Ke(()=>{const u=r.current,f=o.current;if(f!==t){const p=i.current,d=br(u);t?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),Ke(()=>{if(e){const u=c=>{const d=br(r.current).includes(c.animationName);c.target===e&&d&&Cn(()=>l("ANIMATION_END"))},f=c=>{c.target===e&&(i.current=br(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",u),e.addEventListener("animationend",u),()=>{e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",u),e.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:nt(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function br(t){return(t==null?void 0:t.animationName)||"none"}function T0({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=R0({defaultProp:e,onChange:n}),i=t!==void 0,a=i?t:r,s=ce(n),l=nt(u=>{if(i){const c=typeof u=="function"?u(t):u;c!==t&&s(c)}else o(u)},[i,t,o,s]);return[a,l]}function R0({defaultProp:t,onChange:e}){const n=K(t),[r]=n,o=V(r),i=ce(e);return G(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var D0=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Je=new WeakMap,xr=new WeakMap,$r={},gi=0,Vl=function(t){return t&&(t.host||Vl(t.parentNode))},N0=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Vl(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},L0=function(t,e,n,r){var o=N0(e,Array.isArray(t)?t:[t]);$r[n]||($r[n]=new WeakMap);var i=$r[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),_=d!==null&&d!=="false",h=(Je.get(p)||0)+1,w=(i.get(p)||0)+1;Je.set(p,h),i.set(p,w),a.push(p),h===1&&_&&xr.set(p,!0),w===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return f(e),s.clear(),gi++,function(){a.forEach(function(c){var p=Je.get(c)-1,d=i.get(c)-1;Je.set(c,p),i.set(c,d),p||(xr.has(c)||c.removeAttribute(r),xr.delete(c)),d||c.removeAttribute(n)}),gi--,gi||(Je=new WeakMap,Je=new WeakMap,xr=new WeakMap,$r={})}},M0=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||D0(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),L0(r,o,n,"aria-hidden")):function(){return null}},Tt=function(){return Tt=Object.assign||function(e){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)&&(e[i]=n[i])}return e},Tt.apply(this,arguments)};function Ul(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function F0(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var kr="right-scroll-bar-position",jr="width-before-scroll-bar",I0="with-scroll-bars-hidden",H0="--removed-body-scroll-bar-size";function V0(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function U0(t,e){var n=K(function(){return{value:t,callback:e,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=e,n.facade}function z0(t,e){return U0(e||null,function(n){return t.forEach(function(r){return V0(r,n)})})}function W0(t){return t}function B0(t,e){e===void 0&&(e=W0);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]:t},useMedium:function(i){var a=e(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 Y0(t){t===void 0&&(t={});var e=B0(null);return e.options=Tt({async:!0,ssr:!1},t),e}var zl=function(t){var e=t.sideCar,n=Ul(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return E(r,Tt({},n))};zl.isSideCarExport=!0;function K0(t,e){return t.useMedium(e),zl}var Wl=Y0(),wi=function(){},Sr=rt(function(t,e){var n=V(null),r=K({onScrollCapture:wi,onWheelCapture:wi,onTouchMoveCapture:wi}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,f=t.enabled,c=t.shards,p=t.sideCar,d=t.noIsolation,_=t.inert,h=t.allowPinchZoom,w=t.as,v=w===void 0?"div":w,x=Ul(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,b=z0([n,e]),m=Tt(Tt({},x),o);return E(J,null,f&&E(y,{sideCar:Wl,removeScrollBar:u,shards:c,noIsolation:d,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Be(Ut.only(s),Tt(Tt({},m),{ref:b})):E(v,Tt({},m,{className:l,ref:b}),s))});Sr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Sr.classNames={fullWidth:jr,zeroRight:kr};var q0=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function G0(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=q0();return e&&t.setAttribute("nonce",e),t}function X0(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Z0(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var J0=function(){var t=0,e=null;return{add:function(n){t==0&&(e=G0())&&(X0(e,n),Z0(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Q0=function(){var t=J0();return function(e,n){G(function(){return t.add(e),function(){t.remove()}},[e&&n])}},Bl=function(){var t=Q0(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},tw={left:0,top:0,right:0,gap:0},mi=function(t){return parseInt(t||"",10)||0},ew=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[mi(n),mi(r),mi(o)]},nw=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return tw;var e=ew(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},rw=Bl(),ow=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return n===void 0&&(n="margin"),`
|
|
22
|
+
.`.concat(I0,` {
|
|
23
23
|
overflow: hidden `).concat(r,`;
|
|
24
24
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
25
25
|
}
|
|
@@ -36,32 +36,32 @@ ${n.concat(n).join(`
|
|
|
36
36
|
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.`).concat(
|
|
39
|
+
.`).concat(kr,` {
|
|
40
40
|
right: `).concat(s,"px ").concat(r,`;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.`).concat(
|
|
43
|
+
.`).concat(jr,` {
|
|
44
44
|
margin-right: `).concat(s,"px ").concat(r,`;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.`).concat(
|
|
47
|
+
.`).concat(kr," .").concat(kr,` {
|
|
48
48
|
right: 0 `).concat(r,`;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.`).concat(
|
|
51
|
+
.`).concat(jr," .").concat(jr,` {
|
|
52
52
|
margin-right: 0 `).concat(r,`;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
body {
|
|
56
|
-
`).concat(
|
|
56
|
+
`).concat(H0,": ").concat(s,`px;
|
|
57
57
|
}
|
|
58
|
-
`)},
|
|
58
|
+
`)},iw=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,i=lt(function(){return nw(o)},[o]);return E(rw,{styles:ow(i,!e,o,n?"":"!important")})},yi=!1;if(typeof window<"u")try{var Cr=Object.defineProperty({},"passive",{get:function(){return yi=!0,!0}});window.addEventListener("test",Cr,Cr),window.removeEventListener("test",Cr,Cr)}catch{yi=!1}var Qe=yi?{passive:!1}:!1,aw=function(t){return t.tagName==="TEXTAREA"},Yl=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!aw(t)&&n[e]==="visible")},sw=function(t){return Yl(t,"overflowY")},cw=function(t){return Yl(t,"overflowX")},Kl=function(t,e){var n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=ql(t,n);if(r){var o=Gl(t,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},lw=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},uw=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},ql=function(t,e){return t==="v"?sw(e):cw(e)},Gl=function(t,e){return t==="v"?lw(e):uw(e)},dw=function(t,e){return t==="h"&&e==="rtl"?-1:1},fw=function(t,e,n,r,o){var i=dw(t,window.getComputedStyle(e).direction),a=i*r,s=n.target,l=e.contains(s),u=!1,f=a>0,c=0,p=0;do{var d=Gl(t,s),_=d[0],h=d[1],w=d[2],v=h-w-i*_;(_||v)&&ql(t,s)&&(c+=v,p+=_),s=s.parentNode}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(f&&(o&&c===0||!o&&a>c)||!f&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Er=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Xl=function(t){return[t.deltaX,t.deltaY]},Zl=function(t){return t&&"current"in t?t.current:t},pw=function(t,e){return t[0]===e[0]&&t[1]===e[1]},hw=function(t){return`
|
|
59
59
|
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|
60
60
|
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|
61
|
-
`)},dw=0,en=[];function fw(t){var e=V([]),n=V([0,0]),r=V(),o=K(dw++)[0],i=K(function(){return Bl()})[0],a=V(t);G(function(){a.current=t},[t]),G(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var h=D0([t.lockRef.current],(t.shards||[]).map(Zl),!0).filter(Boolean);return h.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=nt(function(h,w){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var v=Or(h),x=n.current,m="deltaX"in h?h.deltaX:x[0]-v[0],b="deltaY"in h?h.deltaY:x[1]-v[1],y,k=h.target,S=Math.abs(m)>Math.abs(b)?"h":"v";if("touches"in h&&S==="h"&&k.type==="range")return!1;var $=Kl(S,k);if(!$)return!0;if($?y=S:(y=S==="v"?"h":"v",$=Kl(S,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(m||b)&&(r.current=y),!y)return!0;var j=r.current||y;return cw(j,w,h,j==="h"?m:b,!0)},[]),l=nt(function(h){var w=h;if(!(!en.length||en[en.length-1]!==i)){var v="deltaY"in w?Xl(w):Or(w),x=e.current.filter(function(y){return y.name===w.type&&y.target===w.target&&lw(y.delta,v)})[0];if(x&&x.should){w.cancelable&&w.preventDefault();return}if(!x){var m=(a.current.shards||[]).map(Zl).filter(Boolean).filter(function(y){return y.contains(w.target)}),b=m.length>0?s(w,m[0]):!a.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),u=nt(function(h,w,v,x){var m={name:h,delta:w,target:v,should:x};e.current.push(m),setTimeout(function(){e.current=e.current.filter(function(b){return b!==m})},1)},[]),f=nt(function(h){n.current=Or(h),r.current=void 0},[]),c=nt(function(h){u(h.type,Xl(h),h.target,s(h,t.lockRef.current))},[]),p=nt(function(h){u(h.type,Or(h),h.target,s(h,t.lockRef.current))},[]);G(function(){return en.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,tn),document.addEventListener("touchmove",l,tn),document.addEventListener("touchstart",f,tn),function(){en=en.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,tn),document.removeEventListener("touchmove",l,tn),document.removeEventListener("touchstart",f,tn)}},[]);var d=t.removeScrollBar,_=t.inert;return C(J,null,_?C(i,{styles:uw(o)}):null,d?C(ew,{gapMode:"margin"}):null)}const pw=U0(Wl,fw);var Jl=rt(function(t,e){return C(Sr,Pt({},t,{ref:e,sideCar:pw}))});Jl.classNames=Sr.classNames;const hw=Jl,Ql="Popover",[tu,um]=al(Ql,[Ml]),bi=Ml(),[vw,nn]=tu(Ql),_w=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=bi(e),l=V(null),[u,f]=K(!1),[c=!1,p]=C0({prop:r,defaultProp:o,onChange:i});return C(x0,s,C(vw,{scope:e,contentId:bg(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:nt(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:nt(()=>f(!0),[]),onCustomAnchorRemove:nt(()=>f(!1),[]),modal:a},n))},gw="PopoverTrigger",ww=rt((t,e)=>{const{__scopePopover:n,...r}=t,o=nn(gw,n),i=bi(n),a=Ae(e,o.triggerRef),s=C(Ke.button,it({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ru(o.open)},r,{ref:a,onClick:Oe(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:C($0,it({asChild:!0},i),s)}),eu="PopoverPortal",[mw,yw]=tu(eu,{forceMount:void 0}),bw=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=nn(eu,e);return C(mw,{scope:e,forceMount:n},C(_i,{present:n||i.open},C(j0,{asChild:!0,container:o},r)))},Tn="PopoverContent",xw=rt((t,e)=>{const n=yw(Tn,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=nn(Tn,t.__scopePopover);return C(_i,{present:r||i.open},i.modal?C($w,it({},o,{ref:e})):C(kw,it({},o,{ref:e})))}),$w=rt((t,e)=>{const n=nn(Tn,t.__scopePopover),r=V(null),o=Ae(e,r),i=V(!1);return G(()=>{const a=r.current;if(a)return R0(a)},[]),C(hw,{as:ni,allowPinchZoom:!0},C(nu,it({},t,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Oe(t.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Oe(t.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:Oe(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),kw=rt((t,e)=>{const n=nn(Tn,t.__scopePopover),r=V(!1),o=V(!1);return C(nu,it({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=t.onCloseAutoFocus)===null||a===void 0||a.call(t,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=t.onInteractOutside)===null||a===void 0||a.call(t,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()}}))}),nu=rt((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=t,p=nn(Tn,n),d=bi(n);return dg(),C(fg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},C(cg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},C(k0,it({"data-state":ru(p.open),role:"dialog",id:p.contentId},d,c,{ref:e,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 ru(t){return t?"open":"closed"}const jw=_w,Ew=ww,Sw=bw,Cw=xw;function ou(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ou(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function xi(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ou(t))&&(r&&(r+=" "),r+=e);return r}function Ar(){throw new Error("Cycle detected")}var Ow=Symbol.for("preact-signals");function $i(){if(rn>1)rn--;else{for(var t,e=!1;Rn!==void 0;){var n=Rn;for(Rn=void 0,ki++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&au(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(ki=0,rn--,e)throw t}}var Z=void 0,Rn=void 0,rn=0,ki=0,Pr=0;function iu(t){if(Z!==void 0){var e=t.n;if(e===void 0||e.t!==Z)return e={i:0,S:t,p:Z.s,n:void 0,t:Z,e:void 0,x:void 0,r:e},Z.s!==void 0&&(Z.s.n=e),Z.s=e,t.n=e,32&Z.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Z.s,e.n=void 0,Z.s.n=e,Z.s=e),e}}function at(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}at.prototype.brand=Ow,at.prototype.h=function(){return!0},at.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)},at.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}},at.prototype.subscribe=function(t){var e=this;return Ei(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})},at.prototype.valueOf=function(){return this.value},at.prototype.toString=function(){return this.value+""},at.prototype.toJSON=function(){return this.value},at.prototype.peek=function(){return this.v},Object.defineProperty(at.prototype,"value",{get:function(){var t=iu(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(Z instanceof fe&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){ki>100&&Ar(),this.v=t,this.i++,Pr++,rn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{$i()}}}});function Tr(t){return new at(t)}function au(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function su(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function cu(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function fe(t){at.call(this,void 0),this.x=t,this.s=void 0,this.g=Pr-1,this.f=4}(fe.prototype=new at).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Pr))return!0;if(this.g=Pr,this.f|=1,this.i>0&&!au(this))return this.f&=-2,!0;var t=Z;try{su(this),Z=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return Z=t,cu(this),this.f&=-2,!0},fe.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}at.prototype.S.call(this,t)},fe.prototype.U=function(t){if(this.t!==void 0&&(at.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},fe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}},fe.prototype.peek=function(){if(this.h()||Ar(),16&this.f)throw this.v;return this.v},Object.defineProperty(fe.prototype,"value",{get:function(){1&this.f&&Ar();var t=iu(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Aw(t){return new fe(t)}function lu(t){var e=t.u;if(t.u=void 0,typeof e=="function"){rn++;var n=Z;Z=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,ji(t),r}finally{Z=n,$i()}}}function ji(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,lu(t)}function Pw(t){if(Z!==this)throw new Error("Out-of-order effect");cu(this),Z=t,this.f&=-2,8&this.f&&ji(this),$i()}function Dn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Dn.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}},Dn.prototype.S=function(){1&this.f&&Ar(),this.f|=1,this.f&=-9,lu(this),su(this),rn++;var t=Z;return Z=this,Pw.bind(this,t)},Dn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Rn,Rn=this)},Dn.prototype.d=function(){this.f|=8,1&this.f||ji(this)};function Ei(t){var e=new Dn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var Si;function on(t,e){E[t]=e.bind(null,E[t]||function(){})}function Rr(t){Si&&Si(),Si=t&&t.S()}function uu(t){var e=this,n=t.data,r=Rw(n);r.value=n;var o=lt(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var a;!Ks(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Aw(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}uu.displayName="_st",Object.defineProperties(at.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:uu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),on("__b",function(t,e){if(typeof e.type=="string"){var n,r=e.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof at&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)}),on("__r",function(t,e){Rr();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Ei(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Rr(n),t(e)}),on("__e",function(t,e,n,r){Rr(),t(e,n,r)}),on("diffed",function(t,e){Rr();var n;if(typeof e.type=="string"&&(n=e.__e)){var r=e.__np,o=e.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=Tw(n,l,f,o),i[l]=u):u.o(f,o)}}}t(e)});function Tw(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=Tr(n);return{o:function(a,s){i.value=a,r=s},d:Ei(function(){var a=i.value.value;r[e]!==a&&(r[e]=a,o?t[e]=a:a?t.setAttribute(e,a):t.removeAttribute(e))})}}on("unmount",function(t,e){if(typeof e.type=="string"){var n=e.__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=e.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}t(e)}),on("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)}),$t.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};function Rw(t){return lt(function(){return Tr(t)},[])}const an={config$:Tr({headerText:"",label:""}),filters$:Tr({})},du="inploi-job-alerts",Dw="ija";var Nw=["1","2","3","4","5","6","7","8","9","10","11","12"],Lw={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]}},Mw=(t,e=1,n)=>r=>{const[o,i]=Lw[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},fu=t=>{const e=Mw(t.hue,t.chroma,t.mode);return Object.fromEntries(Nw.map(n=>[t.prefix+n,t.transform(e(n))]))},pu=t=>t,Fw=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[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(e)},Dr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Ci=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Dr(t)&&Dr(n))for(const r in n){const o=n[r];if(Dr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];Dr(i)&&Ci(i,o)}else Object.assign(t,{[r]:n[r]})}return Ci(t,...e)},Iw=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Hw=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=Fw(Ci(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[Oi,Ai,Vw]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],zw=Hw().core(({theme:t})=>({color:{transparent:Vw,black:Oi,white:Ai,lowest:t.mode==="light"?Ai:Oi,highest:t.mode==="light"?Oi:Ai,...fu({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:pu}),...fu({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:pu})},radius:{base:t.corners==="rounded"?".25rem":t.corners==="soft"?".125rem":"0",multiplier:t.corners==="rounded"?"0.5rem":t.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:t})=>({radius:{sm:`calc(${t("radius.base")} + (0 * ${t("radius.multiplier")}))`,md:`calc(${t("radius.base")} + (1 * ${t("radius.multiplier")}))`,lg:`calc(${t("radius.base")} + (2 * ${t("radius.multiplier")}))`,xl:`calc(${t("radius.base")} + (3 * ${t("radius.multiplier")}))`}})).component(()=>({})),Uw=Iw({prefix:"i-"}),Ww=t=>{const e=zw.from({theme:t,getToken:Uw}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Dw} {
|
|
61
|
+
`)},vw=0,tn=[];function _w(t){var e=V([]),n=V([0,0]),r=V(),o=K(vw++)[0],i=K(function(){return Bl()})[0],a=V(t);G(function(){a.current=t},[t]),G(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var h=F0([t.lockRef.current],(t.shards||[]).map(Zl),!0).filter(Boolean);return h.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=nt(function(h,w){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var v=Er(h),x=n.current,y="deltaX"in h?h.deltaX:x[0]-v[0],b="deltaY"in h?h.deltaY:x[1]-v[1],m,k=h.target,C=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in h&&C==="h"&&k.type==="range")return!1;var $=Kl(C,k);if(!$)return!0;if($?m=C:(m=C==="v"?"h":"v",$=Kl(C,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(y||b)&&(r.current=m),!m)return!0;var j=r.current||m;return fw(j,w,h,j==="h"?y:b,!0)},[]),l=nt(function(h){var w=h;if(!(!tn.length||tn[tn.length-1]!==i)){var v="deltaY"in w?Xl(w):Er(w),x=e.current.filter(function(m){return m.name===w.type&&m.target===w.target&&pw(m.delta,v)})[0];if(x&&x.should){w.cancelable&&w.preventDefault();return}if(!x){var y=(a.current.shards||[]).map(Zl).filter(Boolean).filter(function(m){return m.contains(w.target)}),b=y.length>0?s(w,y[0]):!a.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),u=nt(function(h,w,v,x){var y={name:h,delta:w,target:v,should:x};e.current.push(y),setTimeout(function(){e.current=e.current.filter(function(b){return b!==y})},1)},[]),f=nt(function(h){n.current=Er(h),r.current=void 0},[]),c=nt(function(h){u(h.type,Xl(h),h.target,s(h,t.lockRef.current))},[]),p=nt(function(h){u(h.type,Er(h),h.target,s(h,t.lockRef.current))},[]);G(function(){return tn.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Qe),document.addEventListener("touchmove",l,Qe),document.addEventListener("touchstart",f,Qe),function(){tn=tn.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,Qe),document.removeEventListener("touchmove",l,Qe),document.removeEventListener("touchstart",f,Qe)}},[]);var d=t.removeScrollBar,_=t.inert;return E(J,null,_?E(i,{styles:hw(o)}):null,d?E(iw,{gapMode:"margin"}):null)}const gw=K0(Wl,_w);var Jl=rt(function(t,e){return E(Sr,Tt({},t,{ref:e,sideCar:gw}))});Jl.classNames=Sr.classNames;const ww=Jl,Ql="Popover",[tu,hm]=al(Ql,[Ml]),bi=Ml(),[mw,en]=tu(Ql),yw=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=bi(e),l=V(null),[u,f]=K(!1),[c=!1,p]=T0({prop:r,defaultProp:o,onChange:i});return E(S0,s,E(mw,{scope:e,contentId:jg(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:nt(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:nt(()=>f(!0),[]),onCustomAnchorRemove:nt(()=>f(!1),[]),modal:a},n))},bw="PopoverTrigger",xw=rt((t,e)=>{const{__scopePopover:n,...r}=t,o=en(bw,n),i=bi(n),a=Oe(e,o.triggerRef),s=E(Ye.button,it({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ru(o.open)},r,{ref:a,onClick:Ee(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:E(C0,it({asChild:!0},i),s)}),eu="PopoverPortal",[$w,kw]=tu(eu,{forceMount:void 0}),jw=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=en(eu,e);return E($w,{scope:e,forceMount:n},E(_i,{present:n||i.open},E(O0,{asChild:!0,container:o},r)))},Pn="PopoverContent",Sw=rt((t,e)=>{const n=kw(Pn,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=en(Pn,t.__scopePopover);return E(_i,{present:r||i.open},i.modal?E(Cw,it({},o,{ref:e})):E(Ew,it({},o,{ref:e})))}),Cw=rt((t,e)=>{const n=en(Pn,t.__scopePopover),r=V(null),o=Oe(e,r),i=V(!1);return G(()=>{const a=r.current;if(a)return M0(a)},[]),E(ww,{as:ni,allowPinchZoom:!0},E(nu,it({},t,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(t.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ee(t.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:Ee(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Ew=rt((t,e)=>{const n=en(Pn,t.__scopePopover),r=V(!1),o=V(!1);return E(nu,it({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=t.onCloseAutoFocus)===null||a===void 0||a.call(t,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=t.onInteractOutside)===null||a===void 0||a.call(t,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()}}))}),nu=rt((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=t,p=en(Pn,n),d=bi(n);return vg(),E(_g,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},E(fg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},E(E0,it({"data-state":ru(p.open),role:"dialog",id:p.contentId},d,c,{ref:e,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 ru(t){return t?"open":"closed"}const Ow=yw,Aw=xw,Pw=jw,Tw=Sw;function ou(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ou(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function xi(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ou(t))&&(r&&(r+=" "),r+=e);return r}function Or(){throw new Error("Cycle detected")}var Rw=Symbol.for("preact-signals");function $i(){if(nn>1)nn--;else{for(var t,e=!1;Tn!==void 0;){var n=Tn;for(Tn=void 0,ki++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&au(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(ki=0,nn--,e)throw t}}var Z=void 0,Tn=void 0,nn=0,ki=0,Ar=0;function iu(t){if(Z!==void 0){var e=t.n;if(e===void 0||e.t!==Z)return e={i:0,S:t,p:Z.s,n:void 0,t:Z,e:void 0,x:void 0,r:e},Z.s!==void 0&&(Z.s.n=e),Z.s=e,t.n=e,32&Z.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Z.s,e.n=void 0,Z.s.n=e,Z.s=e),e}}function at(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}at.prototype.brand=Rw,at.prototype.h=function(){return!0},at.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)},at.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}},at.prototype.subscribe=function(t){var e=this;return Si(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})},at.prototype.valueOf=function(){return this.value},at.prototype.toString=function(){return this.value+""},at.prototype.toJSON=function(){return this.value},at.prototype.peek=function(){return this.v},Object.defineProperty(at.prototype,"value",{get:function(){var t=iu(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(Z instanceof pe&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){ki>100&&Or(),this.v=t,this.i++,Ar++,nn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{$i()}}}});function Pr(t){return new at(t)}function au(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function su(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function cu(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function pe(t){at.call(this,void 0),this.x=t,this.s=void 0,this.g=Ar-1,this.f=4}(pe.prototype=new at).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ar))return!0;if(this.g=Ar,this.f|=1,this.i>0&&!au(this))return this.f&=-2,!0;var t=Z;try{su(this),Z=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return Z=t,cu(this),this.f&=-2,!0},pe.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}at.prototype.S.call(this,t)},pe.prototype.U=function(t){if(this.t!==void 0&&(at.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},pe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}},pe.prototype.peek=function(){if(this.h()||Or(),16&this.f)throw this.v;return this.v},Object.defineProperty(pe.prototype,"value",{get:function(){1&this.f&&Or();var t=iu(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Dw(t){return new pe(t)}function lu(t){var e=t.u;if(t.u=void 0,typeof e=="function"){nn++;var n=Z;Z=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,ji(t),r}finally{Z=n,$i()}}}function ji(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,lu(t)}function Nw(t){if(Z!==this)throw new Error("Out-of-order effect");cu(this),Z=t,this.f&=-2,8&this.f&&ji(this),$i()}function Rn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Rn.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}},Rn.prototype.S=function(){1&this.f&&Or(),this.f|=1,this.f&=-9,lu(this),su(this),nn++;var t=Z;return Z=this,Nw.bind(this,t)},Rn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Tn,Tn=this)},Rn.prototype.d=function(){this.f|=8,1&this.f||ji(this)};function Si(t){var e=new Rn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var Ci;function rn(t,e){S[t]=e.bind(null,S[t]||function(){})}function Tr(t){Ci&&Ci(),Ci=t&&t.S()}function uu(t){var e=this,n=t.data,r=Mw(n);r.value=n;var o=lt(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var a;!Ks(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Dw(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}uu.displayName="_st",Object.defineProperties(at.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:uu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),rn("__b",function(t,e){if(typeof e.type=="string"){var n,r=e.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof at&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)}),rn("__r",function(t,e){Tr();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Si(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Tr(n),t(e)}),rn("__e",function(t,e,n,r){Tr(),t(e,n,r)}),rn("diffed",function(t,e){Tr();var n;if(typeof e.type=="string"&&(n=e.__e)){var r=e.__np,o=e.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=Lw(n,l,f,o),i[l]=u):u.o(f,o)}}}t(e)});function Lw(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=Pr(n);return{o:function(a,s){i.value=a,r=s},d:Si(function(){var a=i.value.value;r[e]!==a&&(r[e]=a,o?t[e]=a:a?t.setAttribute(e,a):t.removeAttribute(e))})}}rn("unmount",function(t,e){if(typeof e.type=="string"){var n=e.__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=e.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}t(e)}),rn("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)}),kt.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};function Mw(t){return lt(function(){return Pr(t)},[])}const on={config$:Pr({headerText:"",label:""}),filters$:Pr({})},du="inploi-job-alerts",Fw="ija";var Iw=["1","2","3","4","5","6","7","8","9","10","11","12"],Hw={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]}},Vw=(t,e=1,n)=>r=>{const[o,i]=Hw[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},fu=t=>{const e=Vw(t.hue,t.chroma,t.mode);return Object.fromEntries(Iw.map(n=>[t.prefix+n,t.transform(e(n))]))},pu=t=>t,Uw=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[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(e)},Rr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Ei=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Rr(t)&&Rr(n))for(const r in n){const o=n[r];if(Rr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];Rr(i)&&Ei(i,o)}else Object.assign(t,{[r]:n[r]})}return Ei(t,...e)},zw=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Ww=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=Uw(Ei(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[Oi,Ai,Bw]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Yw=Ww().core(({theme:t})=>({color:{transparent:Bw,black:Oi,white:Ai,lowest:t.mode==="light"?Ai:Oi,highest:t.mode==="light"?Oi:Ai,...fu({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:pu}),...fu({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:pu})},radius:{base:t.corners==="rounded"?".25rem":t.corners==="soft"?".125rem":"0",multiplier:t.corners==="rounded"?"0.5rem":t.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:t})=>({radius:{sm:`calc(${t("radius.base")} + (0 * ${t("radius.multiplier")}))`,md:`calc(${t("radius.base")} + (1 * ${t("radius.multiplier")}))`,lg:`calc(${t("radius.base")} + (2 * ${t("radius.multiplier")}))`,xl:`calc(${t("radius.base")} + (3 * ${t("radius.multiplier")}))`}})).component(()=>({})),Kw=zw({prefix:"i-"}),qw=t=>{const e=Yw.from({theme:t,getToken:Kw}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Fw} {
|
|
62
62
|
${n.concat(n).join(`
|
|
63
63
|
`)}
|
|
64
|
-
}`},hu=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},
|
|
64
|
+
}`},hu=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},Gw=({error:t})=>t?A("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[A("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),A("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),A("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),A("p",{class:"pr-1 text-sm",children:t})]}):null,Pi="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]",Xw=t=>typeof t=="string"?t:typeof t=="object"&&t!==null&&"message"in t&&typeof t.message=="string"?t.message:"Failed to create alert. Please try again later.",Zw=rt(({class:t,...e},n)=>A("button",{ref:n,class:xi("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]",t),onTouchStart:vu,...e,children:[A(vc,{class:"flex-none",name:"bell"})," ",A("span",{class:"min-w-0 truncate text-center",children:on.config$.value.label})]})),Jw=()=>A("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:on.config$.value.headerText});function vu(){}const Qw=({theme:t,apiClient:e,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]=(d==null?void 0:d.split(" "))??[],w=h.join(" ");o("loading"),await Promise.all([new Promise(v=>setTimeout(v,1e3)),e.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(f=p.get("email"))==null?void 0:f.toString(),first_name:_,last_name:w},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:on.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(v=>setTimeout(v,1e3)),o("idle")}).catch(v=>{n.error(v),a(Xw(v)),o("idle")})};return A("div",{id:"ija",children:A("div",{class:hu(t).join(" "),children:A(Ow,{children:[A(Aw,{asChild:!0,children:A(Zw,{})}),A(Pw,{children:A("div",{id:"ija",children:A("div",{class:xi("absolute isolate z-50",hu(t).join(" ")),children:A(Tw,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[A(Jw,{}),A("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[A("div",{children:[A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),A("input",{name:"email",autocomplete:"email",class:Pi,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),A("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Pi,id:"ija-name",placeholder:"Full Name"})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),A("select",{disabled:r==="loading",class:xi(Pi,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[A("option",{value:"INSTANTLY",children:"Instantly"}),A("option",{value:"DAILY",children:"Daily"}),A("option",{value:"WEEKLY",children:"Weekly"}),A("option",{value:"MONTHLY",children:"Monthly"})]}),A("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:A(vc,{name:"chevron-up-down"})})]})]}),A("button",{onTouchStart:vu,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[A("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),A("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:A("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),A("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),A(Gw,{error:i})]})]})})})})]})})})},tm=`#ija {
|
|
65
65
|
font-size: 16px;
|
|
66
66
|
--tw-content: '';
|
|
67
67
|
}
|
|
@@ -1068,4 +1068,4 @@ ${n.concat(n).join(`
|
|
|
1068
1068
|
#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
|
|
1069
1069
|
--tw-ring-color: var(--i-color-a-9);
|
|
1070
1070
|
}
|
|
1071
|
-
`,_u=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${du}`);return Bs(t,`Element with id ${du} not found.`),t}}),
|
|
1071
|
+
`,_u=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${du}`);return Bs(t,`Element with id ${du} not found.`),t}}),em=_u(),nm=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:_u,jobAlertsPlugin:()=>Li(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:s})=>E(J,{},[[E("style",{id:"inploi-job-alerts-styles"},tm),E("style",{id:"inploi-job-search-theme"},qw(s.theme))],E(M_,{theme:s.theme}),E(Qw,{theme:s.theme,apiClient:t,logger:e,analytics:n})]),i=s=>on.filters$.value=s,a=s=>on.config$.value=typeof s=="function"?s(on.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:R_(E(J,{},E(o,{params:s})))}),render:async s=>{const l=r?Yo:Ue;Bs(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(E(o,{params:s}),em.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
|