@inploi/plugin-job-search 0.8.1 → 0.10.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/index.cdn.d.ts +1 -0
- package/dist/job-search.api.d.ts +36 -35
- package/dist/job-search.d.ts +35 -12
- package/dist/job-search.schemas.d.ts +59 -58
- package/dist/{plugin-job-alerts-2dab76ff.js → plugin-job-alerts-ddf07a02.js} +474 -635
- package/dist/{plugin-job-alerts-16396947.cjs → plugin-job-alerts-ee47a7fb.cjs} +474 -635
- package/dist/plugin-job-search.cjs +1778 -1638
- package/dist/plugin-job-search.js +1778 -1638
- package/dist/style.css +48 -5
- package/package.json +31 -29
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Hv=Object.defineProperty;var Iv=(ct,lt,le)=>lt in ct?Hv(ct,lt,{enumerable:!0,configurable:!0,writable:!0,value:le}):ct[lt]=le;var di=(ct,lt,le)=>(Iv(ct,typeof lt!="symbol"?lt+"":lt,le),le);(function(){"use strict";var ct=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function lt(t,e){if(!t)throw new Error(e)}function le(t,e){return t in e}var fi=t=>t,nn,C,pi,ue,hi,vi,Er,_i,rn={},gi=[],Ml=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,An=Array.isArray;function St(t,e){for(var n in e)t[n]=e[n];return t}function wi(t){var e=t.parentNode;e&&e.removeChild(t)}function G(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?nn.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 on(t,a,r,o,null)}function on(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??++pi,__i:-1,__u:0};return o==null&&C.vnode!=null&&C.vnode(i),i}function mi(){return{current:null}}function D(t){return t.children}function ht(t,e){this.props=t,this.context=e}function Te(t,e){if(e==null)return t.__?Te(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"?Te(t):null}function yi(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 yi(t)}}function Sr(t){(!t.__d&&(t.__d=!0)&&ue.push(t)&&!Pn.__r++||hi!==C.debounceRendering)&&((hi=C.debounceRendering)||vi)(Pn)}function Pn(){var t,e,n,r,o,i,a,s,u;for(ue.sort(Er);t=ue.shift();)t.__d&&(e=ue.length,r=void 0,i=(o=(n=t).__v).__e,s=[],u=[],(a=n.__P)&&((r=St({},o)).__v=o.__v+1,C.vnode&&C.vnode(r),Cr(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Te(o),!!(32&o.__u),u),r.__.__k[r.__i]=r,Ei(s,r,u),r.__e!=i&&yi(r)),ue.length>e&&ue.sort(Er));Pn.__r=0}function bi(t,e,n,r,o,i,a,s,u,l,d){var c,p,f,_,h,g=r&&r.__k||gi,v=e.length;for(n.__d=u,Fl(n,e,g),u=n.__d,c=0;c<v;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?rn:g[f.__i]||rn,f.__i=c,Cr(t,f,p,o,i,a,s,u,l,d),_=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Or(p.ref,null,f),d.push(f.ref,f.__c||_,f)),h==null&&_!=null&&(h=_),65536&f.__u||p.__k===f.__k?u=xi(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:_&&(u=_.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function Fl(t,e,n){var r,o,i,a,s,u=e.length,l=n.length,d=l,c=0;for(t.__k=[],r=0;r<u;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?on(null,o,null,null,o):An(o)?on(D,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?on(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=Vl(o,n,a=r+c,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?c++:s>a?d>u-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=Te(i)),Ar(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=Te(i)),Ar(i,i))}function xi(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=xi(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Ct(t,e){return e=e||[],t==null||typeof t=="boolean"||(An(t)?t.some(function(n){Ct(n,e)}):e.push(t)),e}function Vl(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,u=e[n];if(u===null||u&&o==u.key&&i===u.type)return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((u=e[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<e.length){if((u=e[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function ki(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Ml.test(e)?n:n+"px"}function Tn(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$/,"$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?ji:$i,i)):t.removeEventListener(e,i?ji:$i,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 $i(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(C.event?C.event(t):t)}function ji(t){return this.l[t.type+!0](C.event?C.event(t):t)}function Cr(t,e,n,r,o,i,a,s,u,l){var d,c,p,f,_,h,g,v,x,m,b,k,j,E,y,$=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=e.__e=n.__e]),(d=C.__b)&&d(e);t:if(typeof $=="function")try{if(v=e.props,x=(d=$.contextType)&&r[d.__c],m=d?x?x.props.value:d.__:r,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?e.__c=c=new $(v,m):(e.__c=c=new ht(v,m),c.constructor=$,c.render=Il),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),$.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=St({},c.__s)),St(c.__s,$.getDerivedStateFromProps(v,c.__s))),f=c.props,_=c.state,c.__v=e,p)$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($.getDerivedStateFromProps==null&&v!==f&&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(P){P&&(P.__=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(f,_,h)})}if(c.context=m,c.props=v,c.__P=t,c.__e=!1,k=C.__r,j=0,"prototype"in $&&$.prototype.render){for(c.state=c.__s,c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++j<25);c.state=c.__s,c.getChildContext!=null&&(r=St(St({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(f,_)),bi(t,An(y=d!=null&&d.type===D&&d.key==null?d.props.children:d)?y:[y],e,n,r,o,i,a,s,u,l),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(P){e.__v=null,u||i!=null?(e.__e=s,e.__u|=u?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),C.__e(P,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Hl(n.__e,e,n,r,o,i,a,u,l);(d=C.diffed)&&d(e)}function Ei(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Or(n[r],n[++r],n[++r]);C.__c&&C.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){C.__e(i,o.__v)}})}function Hl(t,e,n,r,o,i,a,s,u){var l,d,c,p,f,_,h,g=n.props,v=e.props,x=e.type;if(x==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!x&&(x?f.localName===x:f.nodeType===3)){t=f,i[l]=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)g===v||s&&t.data===v||(t.data=v);else{if(i=i&&nn.call(t.childNodes),g=n.props||rn,!s&&i!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)f=g[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=f:l==="key"||l in v||Tn(t,l,null,f,o));for(l in v)f=v[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?_=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||g[l]===f||Tn(t,l,f,g[l],o);if(d)s||c&&(d.__html===c.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(c&&(t.innerHTML=""),bi(t,An(p)?p:[p],e,n,r,o&&x!=="foreignObject",i,a,i?i[0]:n.__k&&Te(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&wi(i[l]);s||(l="value",_!==void 0&&(_!==t[l]||x==="progress"&&!_||x==="option"&&_!==g[l])&&Tn(t,l,_,g[l],!1),l="checked",h!==void 0&&h!==t[l]&&Tn(t,l,h,g[l],!1))}return t}function Or(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){C.__e(r,n)}}function Ar(t,e,n){var r,o;if(C.unmount&&C.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Or(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){C.__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]&&Ar(r[o],e,n||typeof t.type!="function");n||t.__e==null||wi(t.__e),t.__=t.__e=t.__d=void 0}function Il(t,e,n){return this.constructor(t,n)}function Re(t,e,n){var r,o,i,a;C.__&&C.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],Cr(e,t=(!r&&n||e).__k=G(D,null,[t]),o||rn,rn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?nn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),Ei(i,t,a)}function Pr(t,e){Re(t,e,Pr)}function Ul(t,e,n){var r,o,i,a,s=St({},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?nn.call(arguments,2):n),on(t.type,s,r||t.key,o||t.ref,null)}function Tr(t,e){var n={__c:e="__cC"+_i++,__: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,Sr(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}nn=gi.slice,C={__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}},pi=0,ht.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=St({},this.state),typeof t=="function"&&(t=t(St({},n),this.props)),t&&St(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Sr(this))},ht.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Sr(this))},ht.prototype.render=D,ue=[],vi=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Er=function(t,e){return t.__v.__b-e.__v.__b},Pn.__r=0,_i=0;var Si=/[\s\n\\/='"\0<>]/,Ci=/^(xlink|xmlns|xml)([A-Z])/,zl=/^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]/,Wl=/^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/,Bl=/["&<]/;function Rn(t){if(t.length===0||Bl.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 Oi={},Yl=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"]),ql=/[A-Z]/g;function Kl(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Oi[n]||(Oi[n]=n.replace(ql,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Yl.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Rr,de,an,fe,Ai=[],Pi=Array.isArray,Dr=Object.assign;function Xl(t,e){var n=C.__s;C.__s=!0,Rr=C.__b,de=C.diffed,an=C.__r,fe=C.unmount;var r=G(D,null);r.__k=[t];try{return pe(t,e||Ri,!1,void 0,r)}finally{C.__c&&C.__c(t,Ai),C.__s=n,Ai.length=0}}function Ti(){this.__d=!0}var Ri={};function Di(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=Ri),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Dr({},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(),an&&an(t),n.render(n.props,n.state,e)}function pe(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Rn(t+"");if(Pi(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=pe(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,Rr&&Rr(t);var u,l,d,c=t.type,p=t.props,f=e;if(typeof c=="function"){if(c===D){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var g=p.exprs[h];if(g==null)continue;typeof g!="object"||g.constructor!==void 0&&!Pi(g)?_+=g:_+=pe(g,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+Rn(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var v=e[u.__c];f=v?v.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Di(t,f),d=t.__c;else{t.__c=d={__v:t,props:p,context:f,setState:Ti,forceUpdate:Ti,__d:!0,__h:[]};for(var x=0;d.__d&&x++<25;)d.__d=!1,an&&an(t),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(e=Dr({},e,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&C.errorBoundaries){var m="";l=l!=null&&l.type===D&&l.key==null?l.props.children:l;try{return m=pe(l,e,n,r,t)}catch(P){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(P)),d.componentDidCatch&&d.componentDidCatch(P,{}),d.__d&&(l=Di(t,e),(d=t.__c).getChildContext!=null&&(e=Dr({},e,d.getChildContext())),m=pe(l=l!=null&&l.type===D&&l.key==null?l.props.children:l,e,n,r,t)),m}finally{de&&de(t),t.__=void 0,fe&&fe(t)}}}var b=pe(l=l!=null&&l.type===D&&l.key==null?l.props.children:l,e,n,r,t);return de&&de(t),t.__=void 0,fe&&fe(t),b}var k,j="<"+c,E="";for(var y in p){var $=p[y];switch(y){case"children":k=$;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;y="for";break;case"className":if("class"in p)continue;y="class";break;case"defaultChecked":y="checked";break;case"defaultSelected":y="selected";break;case"defaultValue":case"value":switch(y="value",c){case"textarea":k=$;continue;case"select":r=$;continue;case"option":r!=$||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":E=$&&$.__html;continue;case"style":typeof $=="object"&&($=Kl($));break;case"acceptCharset":y="accept-charset";break;case"httpEquiv":y="http-equiv";break;default:if(Ci.test(y))y=y.replace(Ci,"$1:$2").toLowerCase();else{if(Si.test(y))continue;y[4]!=="-"&&y!=="draggable"||$==null?n?Wl.test(y)&&(y=y==="panose1"?"panose-1":y.replace(/([A-Z])/g,"-$1").toLowerCase()):zl.test(y)&&(y=y.toLowerCase()):$+=""}}$!=null&&$!==!1&&typeof $!="function"&&(j=$===!0||$===""?j+" "+y:j+" "+y+'="'+Rn($+"")+'"')}if(Si.test(c))throw new Error(c+" is not a valid HTML tag name in "+j+">");return E||(typeof k=="string"?E=Rn(k):k!=null&&k!==!1&&k!==!0&&(E=pe(k,e,c==="svg"||c!=="foreignObject"&&n,r,t))),de&&de(t),t.__=void 0,fe&&fe(t),!E&&Zl.has(c)?j+"/>":j+">"+E+"</"+c+">"}var Zl=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Dn=class extends Error{constructor(e){super(e[0].message);di(this,"issues");this.name="ValiError",this.issues=e}};function Li(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function sn(t){return{issues:t}}function he(t){return{output:t}}function Gl(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 Jl(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 Yt(t,e,n,r){if(!e||!e.length||n!=null&&n.skipPipe)return he(t);let o,i,a=t;for(const s of e){const u=s._parse(a);if(u.issues){o=o||Jl(n,r);for(const l of u.issues){const d=Gl(o,l);i?i.push(d):i=[d]}if(o.abortEarly||o.abortPipeEarly)break}else a=u.output}return i?sn(i):he(a)}function qt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function Ni(t){return typeof t=="function"?t():t}function Ql(t,e,n,r){return sn([{validation:t,message:Ni(e),input:n,requirement:r}])}function tu(t,e,n){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=qt(e,n);return[t,i,a]}const[r,o]=qt(t,e);return[void 0,r,o]}function Kt(t,e,n,r,o,i){return{issues:[{reason:e,validation:n,origin:(t==null?void 0:t.origin)||"value",message:Ni(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 Mi(t){return typeof t.default=="function"?t.default():t.default}function eu(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Yt(e,this.pipe,n,"any")}}}function Fi(t,e,n){const[r="Invalid type",o]=qt(e,n);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return Kt(a,"type","array",this.message,i);let s;const u=[];for(let l=0;l<i.length;l++){const d=i[l],c=this.item._parse(d,a);if(c.issues){const p={type:"array",input:i,key:l,value:d};for(const f of c.issues)f.path?f.path.unshift(p):f.path=[p],s==null||s.push(f);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else u.push(c.output)}return s?sn(s):Yt(u,this.pipe,a,"array")}}}function Vi(t,e){const[n="Invalid type",r]=qt(t,e);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?Kt(i,"type","boolean",this.message,o):Yt(o,this.pipe,i,"boolean")}}}function Xt(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(n,r){return n!==this.literal?Kt(r,"type","literal",this.message,n):he(n)}}}function ve(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(n,r){if(n===null){const o=Mi(this);if(o===void 0)return he(n);n=o}return this.wrapped._parse(n,r)}}}function cn(t,e){const[n="Invalid type",r]=qt(t,e);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?Kt(i,"type","number",this.message,o):Yt(o,this.pipe,i,"number")}}}function Ln(t,e,n,r){const[o,i="Invalid type",a]=tu(e,n,r);let s;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(u,l){if(!u||typeof u!="object")return Kt(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let d;const c={};for(const[p,f]of s){const _=u[p],h=f._parse(_,l);if(h.issues){const g={type:"object",input:u,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(g):v.path=[g],d==null||d.push(v);if(d||(d=h.issues),l!=null&&l.abortEarly)break}else(h.output!==void 0||p in u)&&(c[p]=h.output)}if(this.rest&&!(l!=null&&l.abortEarly&&d)){for(const p in u)if(!(p in this.entries)){const f=u[p],_=this.rest._parse(f,l);if(_.issues){const h={type:"object",input:u,key:p,value:f};for(const g of _.issues)g.path?g.path.unshift(h):g.path=[h],d==null||d.push(g);if(d||(d=_.issues),l!=null&&l.abortEarly)break}else c[p]=_.output}}return d?sn(d):Yt(c,this.pipe,l,"object")}}}function _e(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=Mi(this);if(o===void 0)return he(n);n=o}return this.wrapped._parse(n,r)}}}function Y(t,e){const[n="Invalid type",r]=qt(t,e);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?Kt(i,"type","string",this.message,o):Yt(o,this.pipe,i,"string")}}}function nu(t,e,n,r){if(typeof e=="object"&&!Array.isArray(e)){const[a,s]=qt(n,r);return[t,e,a,s]}const[o,i]=qt(e,n);return[Y(),t,o,i]}var ru=["__proto__","prototype","constructor"];function Hi(t,e,n,r){const[o,i,a="Invalid type",s]=nu(t,e,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(u,l){if(!u||typeof u!="object")return Kt(l,"type","record",this.message,u);let d;const c={};for(const[p,f]of Object.entries(u))if(!ru.includes(p)){let _;const h=this.key._parse(p,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(h.issues){_={type:"record",input:u,key:p,value:f};for(const v of h.issues)v.path=[_],d==null||d.push(v);if(d||(d=h.issues),l!=null&&l.abortEarly)break}const g=this.value._parse(f,l);if(g.issues){_=_||{type:"record",input:u,key:p,value:f};for(const v of g.issues)v.path?v.path.unshift(_):v.path=[_],d==null||d.push(v);if(d||(d=g.issues),l!=null&&l.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return d?sn(d):Yt(c,this.pipe,l,"record")}}}function Ii(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 u of s.issues)o.push(u);else o=s.issues;else{i=[s.output];break}}return i?he(i[0]):Kt(r,"type","union",this.message,n,o)}}}function Ui(t,e,n){const r=t._parse(e,n);if(r.issues)throw new Dn(r.issues);return r.output}function ou(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new Dn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function zi(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):Yt(a,n,o,typeof a)}}}function iu(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)?he(e):Ql(this.type,this.message,e,this.requirement)}}}const Wi="inploi-job-search",Bi="ijs",Nn=10,Yi={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},au=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 Yi?Yi[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"},su=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),cu=({from:t=new Date,to:e,formatter:n=su})=>{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"},lu=1e3*60*60*24*7,uu=Hi(Fi(Ln({label:Li(Y(),String),value:Li(Y(),String)}))),du=Y([iu()]),fu=Ln({total:cn(),current_page:cn(),per_page:cn(),last_page:cn()}),pu=Ln({id:cn(),company_name:Y(),company_logo:_e(Y()),employment_type:Y(),location_type:Ii([Xt("LOCATION"),Xt("REMOTE"),Xt("HYBRID")]),pay_type:ve(Ii([Xt("ANNUALLY"),Xt("HOURLY"),Xt("MONTHLY"),Xt("WEEKLY"),Xt("DAILY")])),pay_currency:Y(),pay_mask:Vi(),pay_display:Vi(),pay:ve(Y()),pay_min:ve(Y()),pay_max:ve(Y()),description:Y(),title:Y(),contract_type:ve(Y()),created_at:ve(Y()),custom_data:ve(Hi(eu())),href:Y(),industry:_e(Y()),category:_e(Y()),skills:_e(Y()),town:_e(Y()),city:_e(Y()),country:_e(Y())}),hu=zi(pu,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-lu:!1,n=ou(du,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:au({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?cu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),vu=zi(Ln({data:Fi(hu),pagination:fu}),t=>({pagination:t.pagination,results:t.data})),qi=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),Ki=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:qi(e)}),signal:r});return Ui(uu,o)}catch(o){throw o instanceof Dn?n.error(o.message,o.issues):n.error(o),o}},Xi=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${Nn}`,{method:"POST",body:JSON.stringify({filters:qi(r)}),signal:n});return Ui(vu,i)}catch(i){throw i instanceof Dn?e.error(i.message,i.issues):e.error(i),i}},Lr=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")},Nr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function Zi(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=Zi(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Mn(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=Zi(t))&&(r&&(r+=" "),r+=e);return r}const Gi=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,_u=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,u;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"](Mn(i)):typeof(t==null||(u=t.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Mn(i)):Mn(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[d]=l;return!["class","className"].includes(d)}));return e(i.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return e(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:u}=o,l=Object.keys(s).map(p=>{const f=i==null?void 0:i[p],_=u==null?void 0:u[p],h=Gi(f)||Gi(_);return s[p][h]}),d={...u,...i&&Object.entries(i).reduce((p,f)=>{let[_,h]=f;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,f)=>{let{class:_,className:h,...g}=f;return Object.entries(g).every(v=>{let[x,m]=v;const b=d[x];return Array.isArray(m)?m.includes(b):b===m})?[...p,_,h]:p},[]);return e(o==null?void 0:o.base,l,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:Uv,cva:Zt,cx:zv}=_u(),ln=Zt({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"}});var gu=0;function w(t,e,n,r,o,i){var a,s,u={};for(s in e)s=="ref"?a=e[s]:u[s]=e[s];var l={type:t,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--gu,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return C.vnode&&C.vnode(l),l}const wu=({error:t,resetError:e})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:t.message}),w("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),Gt=({error:t,resetError:e,class:n,...r})=>w("div",{class:Mn("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:t.message})]}),w("button",{class:ln({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class un extends ht{constructor(){super(...arguments);di(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const mu={briefcase:w(D,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(D,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(D,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(D,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(D,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(D,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(D,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(D,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(D,{children:w(D,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),sunset:w(D,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},yu=({theme:t})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(mu).map(([e,n])=>{var r;return w("symbol",{id:`i-icon-${e}`,children:w("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})})})})}),Jt=({name:t,...e})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:w("use",{href:`#i-icon-${t}`})});var Ot,F,Mr,Ji,De=0,Qi=[],Fn=[],ta=C.__b,ea=C.__r,na=C.diffed,ra=C.__c,oa=C.unmount;function ge(t,e){C.__h&&C.__h(F,t,De||e),De=0;var n=F.__H||(F.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:Fn}),n.__[t]}function bt(t){return De=1,Fr(ca,t)}function Fr(t,e,n){var r=ge(Ot++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):ca(void 0,e),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};F.u=!0;var i=F.shouldComponentUpdate,a=F.componentWillUpdate;F.componentWillUpdate=function(s,u,l){if(this.__e){var d=i;i=void 0,o(s,u,l),i=d}a&&a.call(this,s,u,l)},F.shouldComponentUpdate=o}return r.__N||r.__}function $t(t,e){var n=ge(Ot++,3);!C.__s&&Ur(n.__H,e)&&(n.__=t,n.i=e,F.__H.__h.push(n))}function we(t,e){var n=ge(Ot++,4);!C.__s&&Ur(n.__H,e)&&(n.__=t,n.i=e,F.__h.push(n))}function vt(t){return De=5,me(function(){return{current:t}},[])}function ia(t,e,n){De=6,we(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 me(t,e){var n=ge(Ot++,7);return Ur(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Le(t,e){return De=8,me(function(){return t},e)}function Vr(t){var e=F.context[t.__c],n=ge(Ot++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(F)),e.props.value):t.__}function Hr(t,e){C.useDebugValue&&C.useDebugValue(e?e(t):t)}function bu(t){var e=ge(Ot++,10),n=bt();return e.__=t,F.componentDidCatch||(F.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function aa(){var t=ge(Ot++,11);if(!t.__){for(var e=F.__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 xu(){for(var t;t=Qi.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Vn),t.__H.__h.forEach(Ir),t.__H.__h=[]}catch(e){t.__H.__h=[],C.__e(e,t.__v)}}C.__b=function(t){F=null,ta&&ta(t)},C.__r=function(t){ea&&ea(t),Ot=0;var e=(F=t.__c).__H;e&&(Mr===F?(e.__h=[],F.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Fn,n.__N=n.i=void 0})):(e.__h.forEach(Vn),e.__h.forEach(Ir),e.__h=[],Ot=0)),Mr=F},C.diffed=function(t){na&&na(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qi.push(e)!==1&&Ji===C.requestAnimationFrame||((Ji=C.requestAnimationFrame)||ku)(xu)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Fn&&(n.__=n.__V),n.i=void 0,n.__V=Fn})),Mr=F=null},C.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Vn),n.__h=n.__h.filter(function(r){return!r.__||Ir(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],C.__e(r,n.__v)}}),ra&&ra(t,e)},C.unmount=function(t){oa&&oa(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Vn(r)}catch(o){e=o}}),n.__H=void 0,e&&C.__e(e,n.__v))};var sa=typeof requestAnimationFrame=="function";function ku(t){var e,n=function(){clearTimeout(r),sa&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);sa&&(e=requestAnimationFrame(n))}function Vn(t){var e=F,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),F=e}function Ir(t){var e=F;t.__c=t.__(),F=e}function Ur(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function ca(t,e){return typeof e=="function"?e(t):e}const Hn=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}`},Wv="",$u=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)},ju=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=bt();return $t(()=>{Promise.resolve().then(()=>Fv).then(s=>a(s.jobAlertsPlugin()({analytics:t,apiClient:e,logger:n})))},[t,e,n]),$t(()=>{i==null||i.render({config:{label:"Create alert",headerText:"asd"},initialFilters:{},theme:r})}),$t(()=>{i==null||i.setFilters($u(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function la(t,e){for(var n in e)t[n]=e[n];return t}function zr(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 In(t){this.props=t}function ua(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:zr(this.props,o)}function r(o){return this.shouldComponentUpdate=n,G(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(In.prototype=new ht).isPureReactComponent=!0,In.prototype.shouldComponentUpdate=function(t,e){return zr(this.props,t)||zr(this.state,e)};var da=C.__b;C.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),da&&da(t)};var Eu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fa(t){function e(n){var r=la({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=Eu,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var pa=function(t,e){return t==null?null:Ct(Ct(t).map(e))},ha={map:pa,forEach:pa,count:function(t){return t?Ct(t).length:0},only:function(t){var e=Ct(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Ct},Su=C.__e;C.__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)}Su(t,e,n,r)};var va=C.unmount;function _a(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=la({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return _a(r,e,n)})),t}function ga(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return ga(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 dn(){this.__u=0,this.t=null,this.__b=null}function wa(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function ma(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 G(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ne(){this.u=null,this.o=null}C.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),va&&va(t)},(dn.prototype=new ht).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=wa(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=ga(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},dn.prototype.componentWillUnmount=function(){this.t=[]},dn.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]=_a(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&G(D,null,t.fallback);return o&&(o.__u&=-33),[G(D,null,e.__a?null:t.children),o]};var ya=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 Cu(t){return this.getChildContext=function(){return t.context},t.children}function Ou(t){var e=this,n=t.i;e.componentWillUnmount=function(){Re(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)}}),Re(G(Cu,{context:e.context},t.__v),e.l)}function ba(t,e){var n=G(Ou,{__v:t,i:e});return n.containerInfo=e,n}(Ne.prototype=new ht).__a=function(t){var e=this,n=wa(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),ya(e,t,r)):o()};n?n(i):i()}},Ne.prototype.render=function(t){this.u=null,this.o=new Map;var e=Ct(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},Ne.prototype.componentDidUpdate=Ne.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){ya(t,n,e)})};var xa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Au=/^(?: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]/,Pu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Tu=/[A-Z0-9]/g,Ru=typeof document<"u",Du=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function ka(t,e,n){return e.__k==null&&(e.textContent=""),Re(t,e),typeof n=="function"&&n(),t?t.__c:null}function $a(t,e,n){return Pr(t,e),typeof n=="function"&&n(),t?t.__c:null}ht.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(ht.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ja=C.event;function Lu(){}function Nu(){return this.cancelBubble}function Mu(){return this.defaultPrevented}C.event=function(t){return ja&&(t=ja(t)),t.persist=Lu,t.isPropagationStopped=Nu,t.isDefaultPrevented=Mu,t.nativeEvent=t};var Wr,Fu={enumerable:!1,configurable:!0,get:function(){return this.class}},Ea=C.vnode;C.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||Ru&&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"||Du(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Pu.test(i)?i=s:r.indexOf("-")===-1&&Au.test(i)?i=i.replace(Tu,"-$&").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=Ct(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ct(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Fu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=xa,Ea&&Ea(t)};var Sa=C.__r;C.__r=function(t){Sa&&Sa(t),Wr=t.__c};var Ca=C.diffed;C.diffed=function(t){Ca&&Ca(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),Wr=null};var Oa={ReactCurrentDispatcher:{current:{readContext:function(t){return Wr.__n[t.__c].props.value}}}},Vu="17.0.2";function Aa(t){return G.bind(null,t)}function fn(t){return!!t&&t.$$typeof===xa}function Pa(t){return fn(t)&&t.type===D}function Ta(t){return fn(t)?Ul.apply(null,arguments):t}function Ra(t){return!!t.__k&&(Re(null,t),!0)}function Da(t){return t&&(t.base||t.nodeType===1&&t)||null}var La=function(t,e){return t(e)},Na=function(t,e){return t(e)},Ma=D;function Br(t){t()}function Fa(t){return t}function Va(){return[!1,Br]}var Ha=we,Ia=fn;function Ua(t,e){var n=e(),r=bt({h:{__:n,v:e}}),o=r[0].h,i=r[1];return we(function(){o.__=n,o.v=e,Yr(o)&&i({h:o})},[t,n,e]),$t(function(){return Yr(o)&&i({h:o}),t(function(){Yr(o)&&i({h:o})})},[t]),n}function Yr(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 Un={useState:bt,useId:aa,useReducer:Fr,useEffect:$t,useLayoutEffect:we,useInsertionEffect:Ha,useTransition:Va,useDeferredValue:Fa,useSyncExternalStore:Ua,startTransition:Br,useRef:vt,useImperativeHandle:ia,useMemo:me,useCallback:Le,useContext:Vr,useDebugValue:Hr,version:"17.0.2",Children:ha,render:ka,hydrate:$a,unmountComponentAtNode:Ra,createPortal:ba,createElement:G,createContext:Tr,createFactory:Aa,cloneElement:Ta,createRef:mi,Fragment:D,isValidElement:fn,isElement:Ia,isFragment:Pa,findDOMNode:Da,Component:ht,PureComponent:In,memo:ua,forwardRef:fa,flushSync:Na,unstable_batchedUpdates:La,StrictMode:Ma,Suspense:dn,SuspenseList:Ne,lazy:ma,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Oa};const Hu=Object.freeze(Object.defineProperty({__proto__:null,Children:ha,Component:ht,Fragment:D,PureComponent:In,StrictMode:Ma,Suspense:dn,SuspenseList:Ne,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Oa,cloneElement:Ta,createContext:Tr,createElement:G,createFactory:Aa,createPortal:ba,createRef:mi,default:Un,findDOMNode:Da,flushSync:Na,forwardRef:fa,hydrate:$a,isElement:Ia,isFragment:Pa,isValidElement:fn,lazy:ma,memo:ua,render:ka,startTransition:Br,unmountComponentAtNode:Ra,unstable_batchedUpdates:La,useCallback:Le,useContext:Vr,useDebugValue:Hr,useDeferredValue:Fa,useEffect:$t,useErrorBoundary:bu,useId:aa,useImperativeHandle:ia,useInsertionEffect:Ha,useLayoutEffect:we,useMemo:me,useReducer:Fr,useRef:vt,useState:bt,useSyncExternalStore:Ua,useTransition:Va,version:Vu},Symbol.toStringTag,{value:"Module"}));function Iu(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 qr={exports:{}},Kr={};const za=Iu(Hu);/**
|
|
1
|
+
var Jw=Object.defineProperty;var Qw=(ht,dt,he)=>dt in ht?Jw(ht,dt,{enumerable:!0,configurable:!0,writable:!0,value:he}):ht[dt]=he;var Ni=(ht,dt,he)=>(Qw(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,sn,P,Mi,ve,Fi,Ii,Mr,Fr,Ir,Hr,Hi,cn={},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?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 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?cn:w[d.__i]||cn,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?ln(null,o,null,null,null):Ln(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=_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,b,m,y,x,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,b="prototype"in O&&O.prototype.render,m=(f=O.contextType)&&r[f.__c],y=f?m?m.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:(b?e.__c=c=new O(v,y):(e.__c=c=new yt(v,y),c.constructor=O,c.render=$u),m&&m.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),b&&c.__s==null&&(c.__s=c.state),b&&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)b&&O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),b&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(b&&O.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(N){N&&(N.__=e)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),b&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=t,c.__e=!1,k=P.__r,S=0,b){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())),b&&!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,b=e.type;if(b==="svg"?o="http://www.w3.org/2000/svg":b==="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==!!b&&(b?d.localName===b:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(b===null)return document.createTextNode(v);t=document.createElementNS(o,b,v.is&&v),i=null,s=!1}if(b===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;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,b==="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]||b==="progress"&&!_||b==="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||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 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?sn.call(arguments,2):n),ln(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}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=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,un,dn,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,un=P.__r,dn=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(),un&&un(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,b=e;if(typeof w=="function"){if(w===I){if(v.tpl){for(var m="",y=0;y<v.tpl.length;y++)if(m+=v.tpl[y],v.exprs&&y<v.exprs.length){var x=v.exprs[y];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!ta(x)?m+=x:m+=Ct(x,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];b=k?k.props.value:d.__}if(w.prototype&&typeof w.prototype.render=="function")_=ra(t,b),h=t.__c;else{t.__c=h={__v:t,props:v,context:b,setState:ea,forceUpdate:ea,__d:!0,__h:[]};for(var S=0;h.__d&&S++<25;)h.__d=!1,un&&un(t),_=w.call(h,v,b);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,dn&&dn(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,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"]),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 fn(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?fn(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 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]=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?fn(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 pn(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?fn(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?fn(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)}))),Ku=X([Vu()]),qu=Vn({total:pn(),current_page:pn(),per_page:pn(),last_page:pn()}),Gu=Vn({id:pn(),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[b,m]=v;const y=f[b];return Array.isArray(m)?m.includes(y):y===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:tm,cva:ye,cx:em}=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,Le=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,Le||e),Le=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function bt(t){return Le=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 Le=5,oe(function(){return{current:t}},[])}function Qr(t,e,n){Le=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 Le=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}`},nm="",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(()=>Xw).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 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)},(_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}(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),Ua(e,t,r)):o()};n?n(i):i()}},Me.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},Me.prototype.componentDidUpdate=Me.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:Me,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:Me,__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);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var Hv=Object.defineProperty;var Iv=(ct,lt,le)=>lt in ct?Hv(ct,lt,{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
|
|
9
|
+
*/var us;function Ed(){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 Hv=Object.defineProperty;var Iv=(ct,lt,le)=>lt in ct?Hv(ct,lt,{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 Ba;function zu(){return Ba||(Ba=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=za,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(m){{for(var b=arguments.length,k=new Array(b>1?b-1:0),j=1;j<b;j++)k[j-1]=arguments[j];r("error",m,k)}}function r(m,b,k){{var j=e.ReactDebugCurrentFrame,E=j.getStackAddendum();E!==""&&(b+="%s",k=k.concat([E]));var y=k.map(function($){return String($)});y.unshift("Warning: "+b),Function.prototype.apply.call(console[m],console,y)}}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,u=t.useLayoutEffect,l=t.useDebugValue,d=!1,c=!1;function p(m,b,k){d||t.startTransition!==void 0&&(d=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var j=b();if(!c){var E=b();i(j,E)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var y=a({inst:{value:j,getSnapshot:b}}),$=y[0].inst,P=y[1];return u(function(){$.value=j,$.getSnapshot=b,f($)&&P({inst:$})},[m,j,b]),s(function(){f($)&&P({inst:$});var H=function(){f($)&&P({inst:$})};return m(H)},[m]),l(j),j}function f(m){var b=m.getSnapshot,k=m.value;try{var j=b();return!i(k,j)}catch{return!0}}function _(m,b,k){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,v=g?_:p,x=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;Xr.useSyncExternalStore=x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Xr}process.env.NODE_ENV==="production"?qr.exports=Uu():qr.exports=zu();var Wu=qr.exports;const Qt=()=>{},ut=Qt(),Zr=Object,R=t=>t===ut,At=t=>typeof t=="function",te=(t,e)=>({...t,...e}),Bu=t=>At(t.then),zn=new WeakMap;let Yu=0;const pn=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,i;if(Zr(t)===t&&!r&&n!=RegExp){if(o=zn.get(t),o)return o;if(o=++Yu+"~",zn.set(t,o),n==Array){for(o="@",i=0;i<t.length;i++)o+=pn(t[i])+",";zn.set(t,o)}if(n==Zr){o="#";const a=Zr.keys(t).sort();for(;!R(i=a.pop());)R(t[i])||(o+=i+":"+pn(t[i])+",");zn.set(t,o)}}else o=r?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Pt=new WeakMap,Gr={},Wn={},Jr="undefined",Bn=typeof window!=Jr,Qr=typeof document!=Jr,qu=()=>Bn&&typeof window.requestAnimationFrame!=Jr,Ya=(t,e)=>{const n=Pt.get(t);return[()=>!R(e)&&t.get(e)||Gr,r=>{if(!R(e)){const o=t.get(e);e in Wn||(Wn[e]=o),n[5](e,te(o,r),o||Gr)}},n[6],()=>!R(e)&&e in Wn?Wn[e]:!R(e)&&t.get(e)||Gr]};let to=!0;const Ku=()=>to,[eo,no]=Bn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Qt,Qt],Xu=()=>{const t=Qr&&document.visibilityState;return R(t)||t!=="hidden"},Zu=t=>(Qr&&document.addEventListener("visibilitychange",t),eo("focus",t),()=>{Qr&&document.removeEventListener("visibilitychange",t),no("focus",t)}),Gu=t=>{const e=()=>{to=!0,t()},n=()=>{to=!1};return eo("online",e),eo("offline",n),()=>{no("online",e),no("offline",n)}},Ju={isOnline:Ku,isVisible:Xu},Qu={initFocus:Zu,initReconnect:Gu},qa=!Un.useId,hn=!Bn||"Deno"in window,td=t=>qu()?window.requestAnimationFrame(t):setTimeout(t,1),ro=hn?$t:we,oo=typeof navigator<"u"&&navigator.connection,Ka=!hn&&oo&&(["slow-2g","2g"].includes(oo.effectiveType)||oo.saveData),io=t=>{if(At(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?pn(t):"",[t,e]};let ed=0;const ao=()=>++ed,Xa=0,Za=1,Ga=2;var vn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Xa,MUTATE_EVENT:Ga,RECONNECT_EVENT:Za};async function Ja(...t){const[e,n,r,o]=t,i=te({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let u=i.optimisticData;const l=i.revalidate!==!1,d=f=>typeof s=="function"?s(f):s!==!1,c=i.throwOnError;if(At(n)){const f=n,_=[],h=e.keys();for(const g of h)!/^\$(inf|sub)\$/.test(g)&&f(e.get(g)._k)&&_.push(g);return Promise.all(_.map(p))}return p(n);async function p(f){const[_]=io(f);if(!_)return;const[h,g]=Ya(e,_),[v,x,m,b]=Pt.get(e),k=()=>{const T=v[_];return l&&(delete m[_],delete b[_],T&&T[0])?T[0](Ga).then(()=>h().data):h().data};if(t.length<3)return k();let j=r,E;const y=ao();x[_]=[y,0];const $=!R(u),P=h(),H=P.data,N=P._c,X=R(N)?H:N;if($&&(u=At(u)?u(X,H):u,g({data:u,_c:X})),At(j))try{j=j(X)}catch(T){E=T}if(j&&Bu(j))if(j=await j.catch(T=>{E=T}),y!==x[_][0]){if(E)throw E;return j}else E&&$&&d(E)&&(a=!0,g({data:X,_c:ut}));if(a&&!E)if(At(a)){const T=a(j,X);g({data:T,error:ut,_c:ut})}else g({data:j,error:ut,_c:ut});if(x[_][1]=ao(),Promise.resolve(k()).then(()=>{g({_c:ut})}),E){if(c)throw E;return}return j}}const Qa=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},nd=(t,e)=>{if(!Pt.has(t)){const n=te(Qu,e),r={},o=Ja.bind(ut,t);let i=Qt;const a={},s=(d,c)=>{const p=a[d]||[];return a[d]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},u=(d,c,p)=>{t.set(d,c);const f=a[d];if(f)for(const _ of f)_(c,p)},l=()=>{if(!Pt.has(t)&&(Pt.set(t,[r,{},{},{},o,u,s]),!hn)){const d=n.initFocus(setTimeout.bind(ut,Qa.bind(ut,r,Xa))),c=n.initReconnect(setTimeout.bind(ut,Qa.bind(ut,r,Za)));i=()=>{d&&d(),c&&c(),Pt.delete(t)}}};return l(),[t,o,l,i]}return[t,Pt.get(t)[4]]},rd=(t,e,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!R(i)&&a>i||setTimeout(r,s,o)},od=(t,e)=>pn(t)==pn(e),[ts,id]=nd(new Map),ad=te({onLoadingSlow:Qt,onSuccess:Qt,onError:Qt,onErrorRetry:rd,onDiscarded:Qt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ka?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ka?5e3:3e3,compare:od,isPaused:()=>!1,cache:ts,mutate:id,fallback:{}},Ju),sd=(t,e)=>{const n=te(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=te(o,a))}return n},cd=Tr({}),ld="$inf$",es=Bn&&window.__SWR_DEVTOOLS_USE__,ud=es?window.__SWR_DEVTOOLS_USE__:[],dd=()=>{es&&(window.__SWR_DEVTOOLS_REACT__=Un)},fd=t=>At(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],pd=()=>te(ad,Vr(cd)),hd=t=>(e,n,r)=>t(e,n&&((...i)=>{const[a]=io(e),[,,,s]=Pt.get(ts);if(a.startsWith(ld))return n(...i);const u=s[a];return R(u)?n(...i):(delete s[a],u)}),r),vd=ud.concat(hd),_d=t=>function(...n){const r=pd(),[o,i,a]=fd(n),s=sd(r,a);let u=t;const{use:l}=s,d=(l||[]).concat(vd);for(let c=d.length;c--;)u=d[c](u);return u(o,i||s.fetcher||null,s)},gd=(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())}};dd();const ns=Un.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=_d((t,e,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:l,refreshWhenHidden:d,refreshWhenOffline:c,keepPreviousData:p}=n,[f,_,h,g]=Pt.get(r),[v,x]=io(t),m=vt(!1),b=vt(!1),k=vt(v),j=vt(e),E=vt(n),y=()=>E.current,$=()=>y().isVisible()&&y().isOnline(),[P,H,N,X]=Ya(r,v),T=vt({}).current,K=R(a)?n.fallback[v]:a,J=(I,U)=>{for(const nt in T){const z=nt;if(z==="data"){if(!o(I[z],U[z])&&(!R(I[z])||!o(zt,U[z])))return!1}else if(U[z]!==I[z])return!1}return!0},L=me(()=>{const I=(()=>!v||!e?!1:R(s)?y().isPaused()||i?!1:R(u)?!0:u:s)(),U=it=>{const kt=te(it);return delete kt._k,I?{isValidating:!0,isLoading:!0,...kt}:kt},nt=P(),z=X(),pt=U(nt),ce=nt===z?pt:U(z);let Q=pt;return[()=>{const it=U(P());return J(it,Q)?(Q.data=it.data,Q.isLoading=it.isLoading,Q.isValidating=it.isValidating,Q.error=it.error,Q):(Q=it,it)},()=>ce]},[r,v]),st=Wu.useSyncExternalStore(Le(I=>N(v,(U,nt)=>{J(nt,U)||I()}),[r,v]),L[0],L[1]),mt=!m.current,si=f[v]&&f[v].length>0,xt=st.data,se=R(xt)?K:xt,Oe=st.error,$r=vt(se),zt=p?R(xt)?$r.current:xt:se,Wt=(()=>si&&!R(Oe)?!1:mt&&!R(s)?s:y().isPaused()?!1:i?R(se)?!1:u:R(se)||u)(),On=!!(v&&e&&mt&&Wt),ci=R(st.isValidating)?On:st.isValidating,en=R(st.isLoading)?On:st.isLoading,Ae=Le(async I=>{const U=j.current;if(!v||!U||b.current||y().isPaused())return!1;let nt,z,pt=!0;const ce=I||{},Q=!h[v]||!ce.dedupe,it=()=>qa?!b.current&&v===k.current&&m.current:v===k.current,kt={isValidating:!1,isLoading:!1},Pe=()=>{H(kt)},Ll=()=>{const yt=h[v];yt&&yt[1]===z&&delete h[v]},Nl={isValidating:!0};R(P().data)&&(Nl.isLoading=!0);try{if(Q&&(H(Nl),n.loadingTimeout&&R(P().data)&&setTimeout(()=>{pt&&it()&&y().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[U(x),ao()]),[nt,z]=h[v],nt=await nt,Q&&setTimeout(Ll,n.dedupingInterval),!h[v]||h[v][1]!==z)return Q&&it()&&y().onDiscarded(v),!1;kt.error=ut;const yt=_[v];if(!R(yt)&&(z<=yt[0]||z<=yt[1]||yt[1]===0))return Pe(),Q&&it()&&y().onDiscarded(v),!1;const Bt=P().data;kt.data=o(Bt,nt)?Bt:nt,Q&&it()&&y().onSuccess(nt,v,n)}catch(yt){Ll();const Bt=y(),{shouldRetryOnError:li}=Bt;Bt.isPaused()||(kt.error=yt,Q&&it()&&(Bt.onError(yt,v,Bt),(li===!0||At(li)&&li(yt))&&$()&&Bt.onErrorRetry(yt,v,Bt,Vv=>{const ui=f[v];ui&&ui[0]&&ui[0](vn.ERROR_REVALIDATE_EVENT,Vv)},{retryCount:(ce.retryCount||0)+1,dedupe:!0})))}return pt=!1,Pe(),!0},[v,r]),jr=Le((...I)=>Ja(r,k.current,...I),[]);if(ro(()=>{j.current=e,E.current=n,R(xt)||($r.current=xt)}),ro(()=>{if(!v)return;const I=Ae.bind(ut,so);let U=0;const z=gd(v,f,(pt,ce={})=>{if(pt==vn.FOCUS_EVENT){const Q=Date.now();y().revalidateOnFocus&&Q>U&&$()&&(U=Q+y().focusThrottleInterval,I())}else if(pt==vn.RECONNECT_EVENT)y().revalidateOnReconnect&&$()&&I();else{if(pt==vn.MUTATE_EVENT)return Ae();if(pt==vn.ERROR_REVALIDATE_EVENT)return Ae(ce)}});return b.current=!1,k.current=v,m.current=!0,H({_k:x}),Wt&&(R(se)||hn?I():td(I)),()=>{b.current=!0,z()}},[v]),ro(()=>{let I;function U(){const z=At(l)?l(P().data):l;z&&I!==-1&&(I=setTimeout(nt,z))}function nt(){!P().error&&(d||y().isVisible())&&(c||y().isOnline())?Ae(so).then(U):U()}return U(),()=>{I&&(clearTimeout(I),I=-1)}},[l,d,c,v]),Hr(zt),i&&R(se)&&v){if(!qa&&hn)throw new Error("Fallback data is required when using suspense in SSR.");j.current=e,E.current=n,b.current=!1;const I=g[v];if(!R(I)){const U=jr(I);ns(U)}if(R(Oe)){const U=Ae(so);R(zt)||(U.status="fulfilled",U.value=!0),ns(U)}else throw Oe}return{mutate:jr,get data(){return T.data=!0,zt},get error(){return T.error=!0,Oe},get isValidating(){return T.isValidating=!0,ci},get isLoading(){return T.isLoading=!0,en}}}),Tt=Zt({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}}),wd=({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 lt(i),w("span",{class:Tt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Tt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:ct(t)}},rs=8,os=42,md=8,yd=6,bd=4,xd=Zt({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"}}}),kd=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},$d=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=Lr(r()),u=me(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=s.data[e.key]??[];return Object.fromEntries(h.map(g=>[g.value,!0]))}default:ct(s)}},[s,e.key]),l=is(t),d=l.length>0,[c,p]=bt(rs),[f,_]=bt();return $t(()=>{a()}),s.state==="error"?w(Gt,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"text",class:xd({hasValue:d}),value:f,onInput:h=>_(h.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(Gt,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Tt({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const h=i.data[e.key]??[],v=(f&&f.length>1?h.filter(m=>m.label.toLowerCase().includes(f.toLowerCase())):h).map(m=>({...m,disabled:u===null?!1:u[m.value]!==!0}));return v.find(m=>!m.disabled)?w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{maxHeight:(os+md)*(yd-1)+os/2+2*bd},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:[v.slice(0,c).map(m=>{const b=l.includes(m.value);return w("li",{class:"animate-appear-tag max-w-full origin-top",children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":b?"true":void 0,onClick:()=>{switch(t.select){case"many":{const k=kd(l,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:ct(t)}},class:Tt({size:"lg",variant:b?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),v.length>c&&w("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:w("button",{class:ln({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:()=>{p(c+rs)},children:[w("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),w(Jt,{"aria-hidden":!0,name:"plus"})]})})]})}):w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."})}default:ct(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:d&&w("button",{class:ln({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(Jt,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[l.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:ln({variant:d?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[d?"Done":"Skip"," ",w(Jt,{name:"chevron-right"})]},d?"done":"skip")})]})]})},jd={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},Ed=Zt({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"}}}),Sd=Zt({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"}}}),Cd=Zt({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Od=t=>{const e=vt(null),[n,r]=bt(0),o=()=>{var i;return r(((i=e.current)==null?void 0:i.clientHeight)??0)};return we(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:n,ref:e,updateHeight:o}},is=t=>typeof t.value=="string"?[t.value]:t.value??[],Ad=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const u=r.icon??jd[r.key]??"filter",l=is(e),{height:d,ref:c,updateHeight:p}=Od([t]),f=l.length>0;return w("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:Ed({hasValue:f}),onTouchStart:Dd,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":t?"Close filter":"Open filter",class:Sd({state:t?"active":f?"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:[w(Jt,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:d},children:w("div",{class:"w-full",ref:c,children:t&&w($d,{useQuery:s,onRender:p,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:e})})})]}),!t&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(wd,{property:r,query:a,selectedValues:l})}),w(Jt,{"aria-hidden":!0,class:Cd(),name:"chevron-right"})]})]})},Pd=t=>{const e=vt();return $t(()=>{e.current=t},[t]),e.current},Td=(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&&(lt(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Rd=(t,e)=>{const n=Pd(t);$t(()=>{if(n===t)return;const r=t??n;r&&Td(r,e)},[t,n,e])};function Dd(){}const Ld=({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),u=s!==-1?(i=r[s+1])==null?void 0:i.key:void 0,d=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return{newValue:e,newActiveKey:d}}default:ct(e)}},Nd=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=bt((c=t[0])==null?void 0:c.key);Rd(a,e);const u=me(()=>lo(t.map(({value:p,...f})=>f)),[t]),l=Lr(co(Hn({filter:u,baseKey:"filters"}),()=>Ki({apiClient:o,logger:i,filters:u}),Nr)),d=Le(p=>()=>{const f={...n,[p]:u[p]};return co(Hn({filter:f,baseKey:"filters"}),()=>Ki({apiClient:o,logger:i,filters:f}),Nr)},[o,n,u,i]);return l.state==="error"?w(Gt,{error:new Error("We’re having trouble loading available filters.",{cause:l.error}),resetError:()=>l.swr.mutate()}):w("aside",{children:w("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.map(p=>{const f=a===p.key,_=n[p.key]??{select:p.select,value:void 0},h=x=>{const{newActiveKey:m,newValue:b}=Ld({property:p,activeKey:a,value:x,properties:t,appliedFilters:n});return s(m),r(p.key,b)},g=x=>s(x?p.key:void 0),v=d(p.key);return w(un,{Fallback:Gt,children:w(Ad,{unfilteredQuery:l,active:f,property:p,onActiveChange:g,value:_,onSkip:()=>{var b;const x=t.findIndex(k=>k.key===a),m=x!==-1?(b=t[x+1])==null?void 0:b.key:void 0;s(m)},useQuery:v,onValueChange:h})},p.key)})})})},Yn=({chars:t})=>w("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),as=Zt({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}}),Md=Zt({base:"bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"}),ss=({job:t,property:e})=>{switch(typeof e){case"string":return le(e,t.raw)?t.raw[e]:null;case"object":return t.customData&&e.transform(t.customData[e.key]);default:ct(e)}},Fd=({job:t,config:e})=>{const n=e.subheading?ss({job:t,property:e.subheading}):null,r=e.infoTags.map(o=>ss({job:t,property:o})).filter(Boolean);return w("a",{href:t.href,class:as(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[!e.logo||e.logo==="hidden"?null:w("div",{class:"rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",style:{aspectRatio:e.logo.replace(":","/")},children:t.company.logo?w("img",{src:t.company.logo,alt:t.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:t.title}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),t.isNew?w("span",{class:Md({class:"order-1"}),children:"NEW"}):w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]})]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[t.pay&&w("span",{class:Tt({variant:"monetaryWeak",size:"xs"}),children:t.pay}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(o=>w("li",{class:Tt({size:"xs"}),children:o},o))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Jt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},cs=({config:t,animationDelay:e,seed:n})=>w("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:as({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[!t.logo||t.logo==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:t.logo.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(Yn,{chars:12})}),w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(Yn,{chars:13+(n+5)*n%7})}),t.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(Yn,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Tt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Tt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Tt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Jt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),Vd=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Nn}).map((r,o)=>w("li",{children:w(cs,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:ln({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),Hd=({pagination:t})=>(lt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),Id=({appliedFilters:t,apiClient:e,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=bt(1);return w(D,{children:Array.from({length:i}).map((s,u)=>{const l=u===i-1;return w(un,{Fallback:Gt,children:w(Ud,{appliedFilters:t,apiClient:e,logger:n,page:u+1,isFirst:u===0,isLast:l,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},u)},u)})})},Ud=({appliedFilters:t,apiClient:e,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:u})=>{const l=r===1?u:void 0,{data:d,error:c,state:p,swr:f}=Lr(co(Hn({filter:t,baseKey:r.toString()}),()=>Xi({apiClient:e,logger:n,filters:t,page:r}),{...Nr,fallbackData:l}));switch(p){case"loading":return w(D,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(Yn,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Nn}).map((_,h)=>w("li",{children:w(cs,{seed:h,animationDelay:(h-Nn)*.1,config:s})},h))})]});case"error":return w(Gt,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>f.mutate()});case"revalidating":case"loaded":{if(lt(d.pagination.current_page===r,"Received wrong page from server"),d.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(Jt,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=d.pagination.last_page!==d.pagination.current_page;return w(D,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:Hd({pagination:d.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:d.results.map(h=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:w(Fd,{job:h,config:s})},h.id))}),_&&i&&w(Vd,{state:p,fetchNextPage:a,config:s})]})}default:ct(p)}},lo=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:ct(n.select)}return e},{}),zd=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const u=vt(null),[l,d]=bt(()=>({default:!0,filters:lo(n)}));return w("div",{ref:u,class:r,id:Bi,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w(un,{Fallback:Gt,children:w("div",{class:"flex flex-col gap-2",children:[w(Nd,{appliedFilters:l.filters,onFilterValueChange:(c,p)=>{d(f=>(a==null||a({...f.filters,[c]:p}),{default:!1,filters:{...f.filters,[c]:p}}))},properties:n,parentRef:u,logger:e,apiClient:t}),s.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(ju,{appliedFilters:l.filters,analytics:o,apiClient:t,logger:e,theme:s.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(un,{Fallback:Gt,children:w(Id,{appliedFilters:l.filters,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:l.default?i==null?void 0:i.jobs:void 0},Hn({filter:l.filters,baseKey:"resultsSection"}))})})})]})})},Wd=`#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: }#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: }#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 .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{margin-top:0}#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 .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 .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-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-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-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 .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 .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 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 y=arguments.length,x=new Array(y>1?y-1:0),k=1;k<y;k++)x[k-1]=arguments[k];r("error",m,x)}}function r(m,y,x){{var k=e.ReactDebugCurrentFrame,S=k.getStackAddendum();S!==""&&(y+="%s",x=x.concat([S]));var $=x.map(function(j){return String(j)});$.unshift("Warning: "+y),Function.prototype.apply.call(console[m],console,$)}}function o(m,y){return m===y&&(m!==0||1/m===1/y)||m!==m&&y!==y}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,y,x){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=y();if(!c){var S=y();i(k,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:y}}),j=$[0].inst,O=$[1];return l(function(){j.value=k,j.getSnapshot=y,d(j)&&O({inst:j})},[m,k,y]),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 y=m.getSnapshot,x=m.value;try{var k=y();return!i(x,k)}catch{return!0}}function _(m,y,x){return y()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w=!h,v=w?_:p,b=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;ho.useSyncExternalStore=b,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,b,m]=Nt.get(e),y=()=>{const M=w[d];return(Ot(i.revalidate)?i.revalidate(_().data,p):i.revalidate!==!1)&&(delete b[d],delete m[d],M&&M[0])?M[0](gs).then(()=>_().data):_().data};if(t.length<3)return y();let x=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(x))try{x=x(L)}catch(M){k=M}if(x&&Od(x))if(x=await x.catch(M=>{k=M}),S!==v[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,h({data:L,_c:ft}));if(a&&!k)if(Ot(a)){const M=a(x,L);h({data:M,error:ft,_c:ft})}else h({data:x,error:ft,_c:ft});if(v[d][1]=jo(),Promise.resolve(y()).then(()=>{h({_c:ft})}),k){if(f)throw k;return}return x}}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,b]=ko(t),m=vt(!1),y=vt(!1),x=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,an=H(tt.isLoading)?Nn:tt.isLoading,Re=xe(async W=>{const B=k.current;if(!v||!B||y.current||$().isPaused())return!1;let ot,Y,mt=!0;const pe=W||{},et=!h[v]||!pe.dedupe,st=()=>ps?!y.current&&v===x.current&&m.current:v===x.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(b),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,Zw=>{const Di=d[v];Di&&Di[0]&&Di[0](yn.ERROR_REVALIDATE_EVENT,Zw)},{retryCount:(pe.retryCount||0)+1,dedupe:!0})))}return mt=!1,De(),!0},[v,r]),Lr=xe((...W)=>ws(r,x.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 y.current=!1,x.current=v,m.current=!0,N({_k:b}),qt&&(H(wt)||mn?W():Fd(W)),()=>{y.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,y.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,an}}}),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)}},$s=8,ks=42,rf=8,of=6,af=4,sf=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"}}}),cf=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},lf=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=Gr(r()),l=oe(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=s.data[e.key]??[];return Object.fromEntries(h.map(w=>[w.value,!0]))}default:ht(s)}},[s,e.key]),u=Es(t),f=u.length>0,[c,p]=bt($s),[d,_]=bt();return Et(()=>{a()}),s.state==="error"?g(ee,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.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:sf({hasValue:f}),value:d,onInput:h=>_(h.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 h=i.data[e.key]??[],w=d&&d.length>1?h.filter(m=>m.label.toLowerCase().includes(d.toLowerCase())):h,v=[];for(const m of w){if(m.label.length<1)continue;const y={...m,disabled:l===null?!1:l[m.value]!==!0};switch(e.results){case"only-available":y.disabled==!1&&v.push(y);break;default:v.push(y)}}return v.find(m=>!m.disabled)?g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{maxHeight:(ks+rf)*(of-1)+ks/2+2*af},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:[v.slice(0,c).map(m=>{const y=u.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":y?"true":void 0,onClick:()=>{switch(t.select){case"many":{const x=cf(u,m.value);o({select:"many",value:x});break}case"one":o({select:"one",value:m.value});break;default:ht(t)}},class:Lt({size:"lg",variant:y?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),v.length>c&&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:()=>{p(c+$s)},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:f&&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:[u.length," selected"]})}),g("div",{class:"flex-1",children:g("button",{class:hn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",g(ne,{name:"chevron-right"})]},f?"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"},uf=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"}}}),df=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"}}}),ff=ye({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),pf=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??[],hf=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=he(r.key,js)?js[r.key]:void 0,u=r.icon??l??"filter",f=Es(e),{height:c,ref:p,updateHeight:d}=pf([t]),_=f.length>0;return g("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:uf({hasValue:_}),onTouchStart:wf,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:df({state:t?"active":_?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!t),children:[g(ne,{"aria-hidden":!0,class:"flex-none",name:u}),g("p",{children:r.label})]}),g("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:g("div",{class:"w-full",ref:p,children:t&&g(lf,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:e})})})]}),!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:f})}),g(ne,{"aria-hidden":!0,class:ff(),name:"chevron-right"})]})]})},vf=t=>{const e=vt();return Et(()=>{e.current=t},[t]),e.current},_f=(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())},gf=(t,e)=>{const n=vf(t);Et(()=>{if(n===t)return;const r=t??n;r&&_f(r,e)},[t,n,e])};function wf(){}const mf=({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)}},yf=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=bt((c=t[0])==null?void 0:c.key);gf(a,e);const l=oe(()=>No(t.map(({value:p,...d})=>d)),[t]),u=Gr(So(Kn({filter:l,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:l}),Xr)),f=xe(p=>()=>{const d={...n,[p]:l[p]};return So(Kn({filter:d,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:d}),Xr)},[o,n,l,i]);return u.state==="error"?g(ee,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.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(p=>p.hidden!==!0).map(p=>{const d=a===p.key,_=n[p.key]??{select:p.select,value:void 0},h=b=>{const{newActiveKey:m,newValue:y}=mf({property:p,activeKey:a,value:b,properties:t,appliedFilters:n});return s(m),r(p.key,y)},w=b=>s(b?p.key:void 0),v=f(p.key);return g(vn,{Fallback:ee,children:g(hf,{unfilteredQuery:u,active:d,property:p,onActiveChange:w,value:_,onSkip:()=>{var y;const b=t.findIndex(x=>x.key===a),m=b!==-1?(y=t[b+1])==null?void 0:y.key:void 0;s(m)},useQuery:v,onValueChange:h})},p.key)})})})};var bf=Array.isArray,Co=bf,xf=typeof Xn=="object"&&Xn&&Xn.Object===Object&&Xn,$f=xf,kf=$f,jf=typeof self=="object"&&self&&self.Object===Object&&self,Ef=kf||jf||Function("return this")(),Oo=Ef,Sf=Oo,Cf=Sf.Symbol,Ao=Cf,Ss=Ao,Cs=Object.prototype,Of=Cs.hasOwnProperty,Af=Cs.toString,bn=Ss?Ss.toStringTag:void 0;function Pf(t){var e=Of.call(t,bn),n=t[bn];try{t[bn]=void 0;var r=!0}catch{}var o=Af.call(t);return r&&(e?t[bn]=n:delete t[bn]),o}var Tf=Pf,Rf=Object.prototype,Df=Rf.toString;function Nf(t){return Df.call(t)}var Lf=Nf,Os=Ao,Mf=Tf,Ff=Lf,If="[object Null]",Hf="[object Undefined]",As=Os?Os.toStringTag:void 0;function Vf(t){return t==null?t===void 0?Hf:If:As&&As in Object(t)?Mf(t):Ff(t)}var Ps=Vf;function zf(t){return t!=null&&typeof t=="object"}var Uf=zf,Wf=Ps,Bf=Uf,Yf="[object Symbol]";function Kf(t){return typeof t=="symbol"||Bf(t)&&Wf(t)==Yf}var Po=Kf,qf=Co,Gf=Po,Xf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zf=/^\w*$/;function Jf(t,e){if(qf(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Gf(t)?!0:Zf.test(t)||!Xf.test(t)||e!=null&&t in Object(e)}var Qf=Jf;function tp(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ts=tp,ep=Ps,np=Ts,rp="[object AsyncFunction]",op="[object Function]",ip="[object GeneratorFunction]",ap="[object Proxy]";function sp(t){if(!np(t))return!1;var e=ep(t);return e==op||e==ip||e==rp||e==ap}var cp=sp,lp=Oo,up=lp["__core-js_shared__"],dp=up,To=dp,Rs=function(){var t=/[^.]+$/.exec(To&&To.keys&&To.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function fp(t){return!!Rs&&Rs in t}var pp=fp,hp=Function.prototype,vp=hp.toString;function _p(t){if(t!=null){try{return vp.call(t)}catch{}try{return t+""}catch{}}return""}var gp=_p,wp=cp,mp=pp,yp=Ts,bp=gp,xp=/[\\^$.*+?()[\]{}|]/g,$p=/^\[object .+?Constructor\]$/,kp=Function.prototype,jp=Object.prototype,Ep=kp.toString,Sp=jp.hasOwnProperty,Cp=RegExp("^"+Ep.call(Sp).replace(xp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Op(t){if(!yp(t)||mp(t))return!1;var e=wp(t)?Cp:$p;return e.test(bp(t))}var Ap=Op;function Pp(t,e){return t==null?void 0:t[e]}var Tp=Pp,Rp=Ap,Dp=Tp;function Np(t,e){var n=Dp(t,e);return Rp(n)?n:void 0}var Ds=Np,Lp=Ds,Mp=Lp(Object,"create"),tr=Mp,Ns=tr;function Fp(){this.__data__=Ns?Ns(null):{},this.size=0}var Ip=Fp;function Hp(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Vp=Hp,zp=tr,Up="__lodash_hash_undefined__",Wp=Object.prototype,Bp=Wp.hasOwnProperty;function Yp(t){var e=this.__data__;if(zp){var n=e[t];return n===Up?void 0:n}return Bp.call(e,t)?e[t]:void 0}var Kp=Yp,qp=tr,Gp=Object.prototype,Xp=Gp.hasOwnProperty;function Zp(t){var e=this.__data__;return qp?e[t]!==void 0:Xp.call(e,t)}var Jp=Zp,Qp=tr,th="__lodash_hash_undefined__";function eh(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Qp&&e===void 0?th:e,this}var nh=eh,rh=Ip,oh=Vp,ih=Kp,ah=Jp,sh=nh;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=rh,Fe.prototype.delete=oh,Fe.prototype.get=ih,Fe.prototype.has=ah,Fe.prototype.set=sh;var ch=Fe;function lh(){this.__data__=[],this.size=0}var uh=lh;function dh(t,e){return t===e||t!==t&&e!==e}var fh=dh,ph=fh;function hh(t,e){for(var n=t.length;n--;)if(ph(t[n][0],e))return n;return-1}var er=hh,vh=er,_h=Array.prototype,gh=_h.splice;function wh(t){var e=this.__data__,n=vh(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():gh.call(e,n,1),--this.size,!0}var mh=wh,yh=er;function bh(t){var e=this.__data__,n=yh(e,t);return n<0?void 0:e[n][1]}var xh=bh,$h=er;function kh(t){return $h(this.__data__,t)>-1}var jh=kh,Eh=er;function Sh(t,e){var n=this.__data__,r=Eh(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Ch=Sh,Oh=uh,Ah=mh,Ph=xh,Th=jh,Rh=Ch;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=Oh,Ie.prototype.delete=Ah,Ie.prototype.get=Ph,Ie.prototype.has=Th,Ie.prototype.set=Rh;var Dh=Ie,Nh=Ds,Lh=Oo,Mh=Nh(Lh,"Map"),Fh=Mh,Ls=ch,Ih=Dh,Hh=Fh;function Vh(){this.size=0,this.__data__={hash:new Ls,map:new(Hh||Ih),string:new Ls}}var zh=Vh;function Uh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Wh=Uh,Bh=Wh;function Yh(t,e){var n=t.__data__;return Bh(e)?n[typeof e=="string"?"string":"hash"]:n.map}var nr=Yh,Kh=nr;function qh(t){var e=Kh(this,t).delete(t);return this.size-=e?1:0,e}var Gh=qh,Xh=nr;function Zh(t){return Xh(this,t).get(t)}var Jh=Zh,Qh=nr;function tv(t){return Qh(this,t).has(t)}var ev=tv,nv=nr;function rv(t,e){var n=nv(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var ov=rv,iv=zh,av=Gh,sv=Jh,cv=ev,lv=ov;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=iv,He.prototype.delete=av,He.prototype.get=sv,He.prototype.has=cv,He.prototype.set=lv;var uv=He,Ms=uv,dv="Expected a function";function Ro(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(dv);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 fv=Ro,pv=fv,hv=500;function vv(t){var e=pv(t,function(r){return n.size===hv&&n.clear(),r}),n=e.cache;return e}var _v=vv,gv=_v,wv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mv=/\\(\\)?/g,yv=gv(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(wv,function(n,r,o,i){e.push(o?i.replace(mv,"$1"):r||n)}),e}),bv=yv;function xv(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 $v=xv,Fs=Ao,kv=$v,jv=Co,Ev=Po,Sv=1/0,Is=Fs?Fs.prototype:void 0,Hs=Is?Is.toString:void 0;function Vs(t){if(typeof t=="string")return t;if(jv(t))return kv(t,Vs)+"";if(Ev(t))return Hs?Hs.call(t):"";var e=t+"";return e=="0"&&1/t==-Sv?"-0":e}var Cv=Vs,Ov=Cv;function Av(t){return t==null?"":Ov(t)}var Pv=Av,Tv=Co,Rv=Qf,Dv=bv,Nv=Pv;function Lv(t,e){return Tv(t)?t:Rv(t,e)?[t]:Dv(Nv(t))}var Mv=Lv,Fv=Po,Iv=1/0;function Hv(t){if(typeof t=="string"||Fv(t))return t;var e=t+"";return e=="0"&&1/t==-Iv?"-0":e}var Vv=Hv,zv=Mv,Uv=Vv;function Wv(t,e){e=zv(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Uv(e[n++])];return n&&n==r?t:void 0}var Bv=Wv,Yv=Bv;function Kv(t,e,n){var r=t==null?void 0:Yv(t,e);return r===void 0?n:r}var qv=Kv;const Gv=kd(qv),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=Gv(t.raw,e.key);return e.transform?e.transform(n):n},Xv=({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],Zv=({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,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(Xv,{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"})})]})},Jv=({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"}),Qv=({pagination:t})=>(dt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),t_=({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(e_,{appliedFilters:t,apiClient:e,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},e_=({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:Qv({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(Zv,{job:h,config:s})},h.id))}),_&&i&&g(Jv,{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},{}),n_=({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(yf,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:l,logger: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(t_,{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"}))})})})]})})},r_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .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 o_=["1","2","3","4","5","6","7","8","9","10","11","12"],i_={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]}},a_=(t,e=1,n)=>r=>{const[o,i]=i_[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},Lo=t=>{const e=a_(t.hue,t.chroma,t.mode);return Object.fromEntries(o_.map(n=>[t.prefix+n,t.transform(e(n))]))},Mo=t=>t,s_=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)},or=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Fo=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(or(t)&&or(n))for(const r in n){const o=n[r];if(or(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];or(i)&&Fo(i,o)}else Object.assign(t,{[r]:n[r]})}return Fo(t,...e)},c_=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},l_=()=>({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=s_(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 xt=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,Mt]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],u_=l_().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,b,m,y,x,k,S,$,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":((m=(b=o.tag)==null?void 0:b.weight)==null?void 0:m.toString())??((y=o.weight)==null?void 0:y.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((S=o.weight)==null?void 0:S.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"):Mt,"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"):Mt,"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":Mt,"radius-app":xt(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":xt(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":xt(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":xt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":xt(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":xt(e).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":xt(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":xt(e).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?t("color.n-2"):Mt,"section-strong-bg":i==="fill"?t(a?"color.n-3":"color.n-2"):Mt,"section-weak-stroke-color":i==="fill"?Mt:t(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Mt:t(a?"color.n-11":"color.n-4"),"section-stroke-width":xt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":xt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Mt),"job-card-bg-active":xt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Mt),"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":xt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),d_=c_({prefix:"i-"}),f_=t=>{const e=u_.from({theme:t,getToken:d_}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ha} {
|
|
19
19
|
${n.concat(n).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`},tf=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Wi}`);return lt(t,`Element with id ${Wi} not found.`),t}}))(),ef=()=>fi(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var i;return G(un,{Fallback:wu},[[G("style",{id:"inploi-job-search-styles"},Wd),G("style",{id:"inploi-job-search-theme"},Qd(o.theme))],G(yu,{theme:o.theme}),G(zd,{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 Xi({filters:lo(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Xl(G(D,{},G(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Pr:Re;lt(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(G(r,{params:o}),tf.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=ef;function ls(t,e){if(!t)throw new Error(e)}var _n,S,us,ds,ye,fs,ps,_o,hs,gn={},vs=[],nf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Kn=Array.isArray;function Dt(t,e){for(var n in e)t[n]=e[n];return t}function _s(t){var e=t.parentNode;e&&e.removeChild(t)}function O(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?_n.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 wn(t,a,r,o,null)}function wn(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??++us,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(i),i}function gs(){return{current:null}}function Z(t){return t.children}function gt(t,e){this.props=t,this.context=e}function Me(t,e){if(e==null)return t.__?Me(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"?Me(t):null}function ws(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 ws(t)}}function go(t){(!t.__d&&(t.__d=!0)&&ye.push(t)&&!Xn.__r++||fs!==S.debounceRendering)&&((fs=S.debounceRendering)||ps)(Xn)}function Xn(){var t,e,n,r,o,i,a,s,u;for(ye.sort(_o);t=ye.shift();)t.__d&&(e=ye.length,r=void 0,i=(o=(n=t).__v).__e,s=[],u=[],(a=n.__P)&&((r=Dt({},o)).__v=o.__v+1,S.vnode&&S.vnode(r),wo(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Me(o),!!(32&o.__u),u),r.__.__k[r.__i]=r,$s(s,r,u),r.__e!=i&&ws(r)),ye.length>e&&ye.sort(_o));Xn.__r=0}function ms(t,e,n,r,o,i,a,s,u,l,d){var c,p,f,_,h,g=r&&r.__k||vs,v=e.length;for(n.__d=u,rf(n,e,g),u=n.__d,c=0;c<v;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?gn:g[f.__i]||gn,f.__i=c,wo(t,f,p,o,i,a,s,u,l,d),_=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&mo(p.ref,null,f),d.push(f.ref,f.__c||_,f)),h==null&&_!=null&&(h=_),65536&f.__u||p.__k===f.__k?u=ys(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:_&&(u=_.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function rf(t,e,n){var r,o,i,a,s,u=e.length,l=n.length,d=l,c=0;for(t.__k=[],r=0;r<u;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?wn(null,o,null,null,o):Kn(o)?wn(Z,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?wn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=of(o,n,a=r+c,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?c++:s>a?d>u-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=Me(i)),yo(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=Me(i)),yo(i,i))}function ys(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=ys(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Lt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Kn(t)?t.some(function(n){Lt(n,e)}):e.push(t)),e}function of(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,u=e[n];if(u===null||u&&o==u.key&&i===u.type)return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((u=e[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<e.length){if((u=e[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function bs(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||nf.test(e)?n:n+"px"}function Zn(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||bs(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||bs(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?ks:xs,i)):t.removeEventListener(e,i?ks:xs,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 xs(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 ks(t){return this.l[t.type+!0](S.event?S.event(t):t)}function wo(t,e,n,r,o,i,a,s,u,l){var d,c,p,f,_,h,g,v,x,m,b,k,j,E,y,$=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=e.__e=n.__e]),(d=S.__b)&&d(e);t:if(typeof $=="function")try{if(v=e.props,x=(d=$.contextType)&&r[d.__c],m=d?x?x.props.value:d.__:r,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?e.__c=c=new $(v,m):(e.__c=c=new gt(v,m),c.constructor=$,c.render=sf),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),$.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Dt({},c.__s)),Dt(c.__s,$.getDerivedStateFromProps(v,c.__s))),f=c.props,_=c.state,c.__v=e,p)$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($.getDerivedStateFromProps==null&&v!==f&&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(P){P&&(P.__=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(f,_,h)})}if(c.context=m,c.props=v,c.__P=t,c.__e=!1,k=S.__r,j=0,"prototype"in $&&$.prototype.render){for(c.state=c.__s,c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++j<25);c.state=c.__s,c.getChildContext!=null&&(r=Dt(Dt({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(f,_)),ms(t,Kn(y=d!=null&&d.type===Z&&d.key==null?d.props.children:d)?y:[y],e,n,r,o,i,a,s,u,l),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(P){e.__v=null,u||i!=null?(e.__e=s,e.__u|=u?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),S.__e(P,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=af(n.__e,e,n,r,o,i,a,u,l);(d=S.diffed)&&d(e)}function $s(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)mo(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 af(t,e,n,r,o,i,a,s,u){var l,d,c,p,f,_,h,g=n.props,v=e.props,x=e.type;if(x==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!x&&(x?f.localName===x:f.nodeType===3)){t=f,i[l]=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)g===v||s&&t.data===v||(t.data=v);else{if(i=i&&_n.call(t.childNodes),g=n.props||gn,!s&&i!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)f=g[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=f:l==="key"||l in v||Zn(t,l,null,f,o));for(l in v)f=v[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?_=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||g[l]===f||Zn(t,l,f,g[l],o);if(d)s||c&&(d.__html===c.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(c&&(t.innerHTML=""),ms(t,Kn(p)?p:[p],e,n,r,o&&x!=="foreignObject",i,a,i?i[0]:n.__k&&Me(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&_s(i[l]);s||(l="value",_!==void 0&&(_!==t[l]||x==="progress"&&!_||x==="option"&&_!==g[l])&&Zn(t,l,_,g[l],!1),l="checked",h!==void 0&&h!==t[l]&&Zn(t,l,h,g[l],!1))}return t}function mo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){S.__e(r,n)}}function yo(t,e,n){var r,o;if(S.unmount&&S.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||mo(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]&&yo(r[o],e,n||typeof t.type!="function");n||t.__e==null||_s(t.__e),t.__=t.__e=t.__d=void 0}function sf(t,e,n){return this.constructor(t,n)}function Fe(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=[],wo(e,t=(!r&&n||e).__k=O(Z,null,[t]),o||gn,gn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?_n.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),$s(i,t,a)}function bo(t,e){Fe(t,e,bo)}function cf(t,e,n){var r,o,i,a,s=Dt({},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?_n.call(arguments,2):n),wn(t.type,s,r||t.key,o||t.ref,null)}function mn(t,e){var n={__c:e="__cC"+hs++,__: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,go(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}_n=vs.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}},us=0,ds=function(t){return t!=null&&t.constructor==null},gt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Dt({},this.state),typeof t=="function"&&(t=t(Dt({},n),this.props)),t&&Dt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),go(this))},gt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),go(this))},gt.prototype.render=Z,ye=[],ps=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_o=function(t,e){return t.__v.__b-e.__v.__b},Xn.__r=0,hs=0;var js=/[\s\n\\/='"\0<>]/,Es=/^(xlink|xmlns|xml)([A-Z])/,lf=/^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]/,uf=/^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/,df=/["&<]/;function Gn(t){if(t.length===0||df.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 Ss={},ff=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"]),pf=/[A-Z]/g;function hf(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ss[n]||(Ss[n]=n.replace(pf,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||ff.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var xo,be,yn,xe,Cs=[],Os=Array.isArray,ko=Object.assign;function vf(t,e){var n=S.__s;S.__s=!0,xo=S.__b,be=S.diffed,yn=S.__r,xe=S.unmount;var r=O(Z,null);r.__k=[t];try{return ke(t,e||Ps,!1,void 0,r)}finally{S.__c&&S.__c(t,Cs),S.__s=n,Cs.length=0}}function As(){this.__d=!0}var Ps={};function Ts(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=Ps),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=ko({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),yn&&yn(t),n.render(n.props,n.state,e)}function ke(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Gn(t+"");if(Os(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=ke(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,xo&&xo(t);var u,l,d,c=t.type,p=t.props,f=e;if(typeof c=="function"){if(c===Z){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var g=p.exprs[h];if(g==null)continue;typeof g!="object"||g.constructor!==void 0&&!Os(g)?_+=g:_+=ke(g,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+Gn(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var v=e[u.__c];f=v?v.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Ts(t,f),d=t.__c;else{t.__c=d={__v:t,props:p,context:f,setState:As,forceUpdate:As,__d:!0,__h:[]};for(var x=0;d.__d&&x++<25;)d.__d=!1,yn&&yn(t),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(e=ko({},e,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&S.errorBoundaries){var m="";l=l!=null&&l.type===Z&&l.key==null?l.props.children:l;try{return m=ke(l,e,n,r,t)}catch(P){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(P)),d.componentDidCatch&&d.componentDidCatch(P,{}),d.__d&&(l=Ts(t,e),(d=t.__c).getChildContext!=null&&(e=ko({},e,d.getChildContext())),m=ke(l=l!=null&&l.type===Z&&l.key==null?l.props.children:l,e,n,r,t)),m}finally{be&&be(t),t.__=void 0,xe&&xe(t)}}}var b=ke(l=l!=null&&l.type===Z&&l.key==null?l.props.children:l,e,n,r,t);return be&&be(t),t.__=void 0,xe&&xe(t),b}var k,j="<"+c,E="";for(var y in p){var $=p[y];switch(y){case"children":k=$;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;y="for";break;case"className":if("class"in p)continue;y="class";break;case"defaultChecked":y="checked";break;case"defaultSelected":y="selected";break;case"defaultValue":case"value":switch(y="value",c){case"textarea":k=$;continue;case"select":r=$;continue;case"option":r!=$||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":E=$&&$.__html;continue;case"style":typeof $=="object"&&($=hf($));break;case"acceptCharset":y="accept-charset";break;case"httpEquiv":y="http-equiv";break;default:if(Es.test(y))y=y.replace(Es,"$1:$2").toLowerCase();else{if(js.test(y))continue;y[4]!=="-"&&y!=="draggable"||$==null?n?uf.test(y)&&(y=y==="panose1"?"panose-1":y.replace(/([A-Z])/g,"-$1").toLowerCase()):lf.test(y)&&(y=y.toLowerCase()):$+=""}}$!=null&&$!==!1&&typeof $!="function"&&(j=$===!0||$===""?j+" "+y:j+" "+y+'="'+Gn($+"")+'"')}if(js.test(c))throw new Error(c+" is not a valid HTML tag name in "+j+">");return E||(typeof k=="string"?E=Gn(k):k!=null&&k!==!1&&k!==!0&&(E=ke(k,e,c==="svg"||c!=="foreignObject"&&n,r,t))),be&&be(t),t.__=void 0,xe&&xe(t),!E&&_f.has(c)?j+"/>":j+">"+E+"</"+c+">"}var _f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),gf=0;function A(t,e,n,r,o,i){var a,s,u={};for(s in e)s=="ref"?a=e[s]:u[s]=e[s];var l={type:t,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--gf,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return S.vnode&&S.vnode(l),l}const wf={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"})},mf=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(wf).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})}))})}),Rs=({name:t,...e})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:A("use",{href:`#i-icon-${t}`})});function rt(){return rt=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},rt.apply(this,arguments)}var Nt,V,$o,Ds,Ve=0,Ls=[],Jn=[],Ns=S.__b,Ms=S.__r,Fs=S.diffed,Vs=S.__c,Hs=S.unmount;function $e(t,e){S.__h&&S.__h(V,t,Ve||e),Ve=0;var n=V.__H||(V.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:Jn}),n.__[t]}function W(t){return Ve=1,Qn(Bs,t)}function Qn(t,e,n){var r=$e(Nt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Bs(void 0,e),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=V,!V.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};V.u=!0;var i=V.shouldComponentUpdate,a=V.componentWillUpdate;V.componentWillUpdate=function(s,u,l){if(this.__e){var d=i;i=void 0,o(s,u,l),i=d}a&&a.call(this,s,u,l)},V.shouldComponentUpdate=o}return r.__N||r.__}function B(t,e){var n=$e(Nt++,3);!S.__s&&Eo(n.__H,e)&&(n.__=t,n.i=e,V.__H.__h.push(n))}function je(t,e){var n=$e(Nt++,4);!S.__s&&Eo(n.__H,e)&&(n.__=t,n.i=e,V.__h.push(n))}function M(t){return Ve=5,at(function(){return{current:t}},[])}function Is(t,e,n){Ve=6,je(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 at(t,e){var n=$e(Nt++,7);return Eo(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function tt(t,e){return Ve=8,at(function(){return t},e)}function tr(t){var e=V.context[t.__c],n=$e(Nt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(V)),e.props.value):t.__}function Us(t,e){S.useDebugValue&&S.useDebugValue(e?e(t):t)}function yf(t){var e=$e(Nt++,10),n=W();return e.__=t,V.componentDidCatch||(V.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function zs(){var t=$e(Nt++,11);if(!t.__){for(var e=V.__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 bf(){for(var t;t=Ls.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(er),t.__H.__h.forEach(jo),t.__H.__h=[]}catch(e){t.__H.__h=[],S.__e(e,t.__v)}}S.__b=function(t){V=null,Ns&&Ns(t)},S.__r=function(t){Ms&&Ms(t),Nt=0;var e=(V=t.__c).__H;e&&($o===V?(e.__h=[],V.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Jn,n.__N=n.i=void 0})):(e.__h.forEach(er),e.__h.forEach(jo),e.__h=[],Nt=0)),$o=V},S.diffed=function(t){Fs&&Fs(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Ls.push(e)!==1&&Ds===S.requestAnimationFrame||((Ds=S.requestAnimationFrame)||xf)(bf)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Jn&&(n.__=n.__V),n.i=void 0,n.__V=Jn})),$o=V=null},S.__c=function(t,e){e.some(function(n){try{n.__h.forEach(er),n.__h=n.__h.filter(function(r){return!r.__||jo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],S.__e(r,n.__v)}}),Vs&&Vs(t,e)},S.unmount=function(t){Hs&&Hs(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{er(r)}catch(o){e=o}}),n.__H=void 0,e&&S.__e(e,n.__v))};var Ws=typeof requestAnimationFrame=="function";function xf(t){var e,n=function(){clearTimeout(r),Ws&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Ws&&(e=requestAnimationFrame(n))}function er(t){var e=V,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),V=e}function jo(t){var e=V;t.__c=t.__(),V=e}function Eo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Bs(t,e){return typeof e=="function"?e(t):e}function Ys(t,e){for(var n in e)t[n]=e[n];return t}function So(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 nr(t){this.props=t}function qs(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:So(this.props,o)}function r(o){return this.shouldComponentUpdate=n,O(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(nr.prototype=new gt).isPureReactComponent=!0,nr.prototype.shouldComponentUpdate=function(t,e){return So(this.props,t)||So(this.state,e)};var Ks=S.__b;S.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ks&&Ks(t)};var kf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function et(t){function e(n){var r=Ys({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=kf,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Xs=function(t,e){return t==null?null:Lt(Lt(t).map(e))},Mt={map:Xs,forEach:Xs,count:function(t){return t?Lt(t).length:0},only:function(t){var e=Lt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Lt},$f=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)}$f(t,e,n,r)};var Zs=S.unmount;function Gs(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=Ys({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Gs(r,e,n)})),t}function Js(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Js(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 bn(){this.__u=0,this.t=null,this.__b=null}function Qs(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function tc(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 O(n,i)}return o.displayName="Lazy",o.__f=!0,o}function He(){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),Zs&&Zs(t)},(bn.prototype=new gt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Qs(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Js(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},bn.prototype.componentWillUnmount=function(){this.t=[]},bn.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]=Gs(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&O(Z,null,t.fallback);return o&&(o.__u&=-33),[O(Z,null,e.__a?null:t.children),o]};var ec=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 jf(t){return this.getChildContext=function(){return t.context},t.children}function Ef(t){var e=this,n=t.i;e.componentWillUnmount=function(){Fe(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)}}),Fe(O(jf,{context:e.context},t.__v),e.l)}function nc(t,e){var n=O(Ef,{__v:t,i:e});return n.containerInfo=e,n}(He.prototype=new gt).__a=function(t){var e=this,n=Qs(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),ec(e,t,r)):o()};n?n(i):i()}},He.prototype.render=function(t){this.u=null,this.o=new Map;var e=Lt(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},He.prototype.componentDidUpdate=He.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){ec(t,n,e)})};var rc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Sf=/^(?: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]/,Cf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Of=/[A-Z0-9]/g,Af=typeof document<"u",Pf=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function oc(t,e,n){return e.__k==null&&(e.textContent=""),Fe(t,e),typeof n=="function"&&n(),t?t.__c:null}function ic(t,e,n){return bo(t,e),typeof n=="function"&&n(),t?t.__c:null}gt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(gt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ac=S.event;function Tf(){}function Rf(){return this.cancelBubble}function Df(){return this.defaultPrevented}S.event=function(t){return ac&&(t=ac(t)),t.persist=Tf,t.isPropagationStopped=Rf,t.isDefaultPrevented=Df,t.nativeEvent=t};var Co,Lf={enumerable:!1,configurable:!0,get:function(){return this.class}},sc=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||Af&&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"||Pf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Cf.test(i)?i=s:r.indexOf("-")===-1&&Sf.test(i)?i=i.replace(Of,"-$&").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=Lt(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Lt(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Lf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=rc,sc&&sc(t)};var cc=S.__r;S.__r=function(t){cc&&cc(t),Co=t.__c};var lc=S.diffed;S.diffed=function(t){lc&&lc(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),Co=null};var uc={ReactCurrentDispatcher:{current:{readContext:function(t){return Co.__n[t.__c].props.value}}}},Nf="17.0.2";function dc(t){return O.bind(null,t)}function Ft(t){return!!t&&t.$$typeof===rc}function fc(t){return Ft(t)&&t.type===Z}function Ie(t){return Ft(t)?cf.apply(null,arguments):t}function pc(t){return!!t.__k&&(Fe(null,t),!0)}function hc(t){return t&&(t.base||t.nodeType===1&&t)||null}var vc=function(t,e){return t(e)},xn=function(t,e){return t(e)},_c=Z;function Oo(t){t()}function gc(t){return t}function wc(){return[!1,Oo]}var mc=je,yc=Ft;function bc(t,e){var n=e(),r=W({h:{__:n,v:e}}),o=r[0].h,i=r[1];return je(function(){o.__=n,o.v=e,Ao(o)&&i({h:o})},[t,n,e]),B(function(){return Ao(o)&&i({h:o}),t(function(){Ao(o)&&i({h:o})})},[t]),n}function Ao(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 xc={useState:W,useId:zs,useReducer:Qn,useEffect:B,useLayoutEffect:je,useInsertionEffect:mc,useTransition:wc,useDeferredValue:gc,useSyncExternalStore:bc,startTransition:Oo,useRef:M,useImperativeHandle:Is,useMemo:at,useCallback:tt,useContext:tr,useDebugValue:Us,version:"17.0.2",Children:Mt,render:oc,hydrate:ic,unmountComponentAtNode:pc,createPortal:nc,createElement:O,createContext:mn,createFactory:dc,cloneElement:Ie,createRef:gs,Fragment:Z,isValidElement:Ft,isElement:yc,isFragment:fc,findDOMNode:hc,Component:gt,PureComponent:nr,memo:qs,forwardRef:et,flushSync:xn,unstable_batchedUpdates:vc,StrictMode:_c,Suspense:bn,SuspenseList:He,lazy:tc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:uc};const Mf=Object.freeze(Object.defineProperty({__proto__:null,Children:Mt,Component:gt,Fragment:Z,PureComponent:nr,StrictMode:_c,Suspense:bn,SuspenseList:He,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:uc,cloneElement:Ie,createContext:mn,createElement:O,createFactory:dc,createPortal:nc,createRef:gs,default:xc,findDOMNode:hc,flushSync:xn,forwardRef:et,hydrate:ic,isElement:yc,isFragment:fc,isValidElement:Ft,lazy:tc,memo:qs,render:oc,startTransition:Oo,unmountComponentAtNode:pc,unstable_batchedUpdates:vc,useCallback:tt,useContext:tr,useDebugValue:Us,useDeferredValue:gc,useEffect:B,useErrorBoundary:yf,useId:zs,useImperativeHandle:Is,useInsertionEffect:mc,useLayoutEffect:je,useMemo:at,useReducer:Qn,useRef:M,useState:W,useSyncExternalStore:bc,useTransition:wc,version:Nf},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 Ff(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function kc(...t){return e=>t.forEach(n=>Ff(n,e))}function Se(...t){return tt(kc(...t),t)}function $c(t,e=[]){let n=[];function r(i,a){const s=mn(a),u=n.length;n=[...n,a];function l(c){const{scope:p,children:f,..._}=c,h=(p==null?void 0:p[t][u])||s,g=at(()=>_,Object.values(_));return O(h.Provider,{value:g},f)}function d(c,p){const f=(p==null?void 0:p[t][u])||s,_=tr(f);if(_)return _;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,d]}const o=()=>{const i=n.map(a=>mn(a));return function(s){const u=(s==null?void 0:s[t])||i;return at(()=>({[`__scope${t}`]:{...s,[t]:u}}),[s,u])}};return o.scopeName=t,[r,Vf(o,...e)]}function Vf(...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:u,scopeName:l})=>{const c=u(i)[`__scope${l}`];return{...s,...c}},{});return at(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}const Po=et((t,e)=>{const{children:n,...r}=t,o=Mt.toArray(n),i=o.find(If);if(i){const a=i.props.children,s=o.map(u=>u===i?Mt.count(a)>1?Mt.only(null):Ft(a)?a.props.children:null:u);return O(To,rt({},r,{ref:e}),Ft(a)?Ie(a,void 0,s):null)}return O(To,rt({},r,{ref:e}),n)});Po.displayName="Slot";const To=et((t,e)=>{const{children:n,...r}=t;return Ft(n)?Ie(n,{...Uf(r,n.props),ref:e?kc(e,n.ref):n.ref}):Mt.count(n)>1?Mt.only(null):null});To.displayName="SlotClone";const Hf=({children:t})=>O(Z,null,t);function If(t){return Ft(t)&&t.type===Hf}function Uf(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 Ue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=et((r,o)=>{const{asChild:i,...a}=r,s=i?Po:e;return B(()=>{window[Symbol.for("radix-ui")]=!0},[]),O(s,rt({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function zf(t,e){t&&xn(()=>t.dispatchEvent(e))}function ee(t){const e=M(t);return B(()=>{e.current=t}),at(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function Wf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t);B(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const Ro="dismissableLayer.update",Bf="dismissableLayer.pointerDownOutside",Yf="dismissableLayer.focusOutside";let jc;const qf=mn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kf=et((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=t,d=tr(qf),[c,p]=W(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=W({}),h=Se(e,y=>p(y)),g=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=g.indexOf(v),m=c?g.indexOf(c):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,k=m>=x,j=Xf(y=>{const $=y.target,P=[...d.branches].some(H=>H.contains($));!k||P||(i==null||i(y),s==null||s(y),y.defaultPrevented||u==null||u())},f),E=Zf(y=>{const $=y.target;[...d.branches].some(H=>H.contains($))||(a==null||a(y),s==null||s(y),y.defaultPrevented||u==null||u())},f);return Wf(y=>{m===d.layers.size-1&&(o==null||o(y),!y.defaultPrevented&&u&&(y.preventDefault(),u()))},f),B(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(jc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),Ec(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=jc)}},[c,f,r,d]),B(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),Ec())},[c,d]),B(()=>{const y=()=>_({});return document.addEventListener(Ro,y),()=>document.removeEventListener(Ro,y)},[]),O(Ue.div,rt({},l,{ref:h,style:{pointerEvents:b?k?"auto":"none":void 0,...t.style},onFocusCapture:Ee(t.onFocusCapture,E.onFocusCapture),onBlurCapture:Ee(t.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ee(t.onPointerDownCapture,j.onPointerDownCapture)}))});function Xf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=M(!1),o=M(()=>{});return B(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){Sc(Bf,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=u,e.addEventListener("click",o.current,{once:!0})):u()}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 Zf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=M(!1);return B(()=>{const o=i=>{i.target&&!r.current&&Sc(Yf,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 Ec(){const t=new CustomEvent(Ro);document.dispatchEvent(t)}function Sc(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?zf(o,i):o.dispatchEvent(i)}let Do=0;function Gf(){B(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:Cc()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:Cc()),Do++,()=>{Do===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Do--}},[])}function Cc(){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 Lo="focusScope.autoFocusOnMount",No="focusScope.autoFocusOnUnmount",Oc={bubbles:!1,cancelable:!0},Jf=et((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,u]=W(null),l=ee(o),d=ee(i),c=M(null),p=Se(e,h=>u(h)),f=M({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;B(()=>{if(r){let h=function(m){if(f.paused||!s)return;const b=m.target;s.contains(b)?c.current=b:ne(c.current,{select:!0})},g=function(m){if(f.paused||!s)return;const b=m.relatedTarget;b!==null&&(s.contains(b)||ne(c.current,{select:!0}))},v=function(m){if(document.activeElement===document.body)for(const k of m)k.removedNodes.length>0&&ne(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const x=new MutationObserver(v);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),x.disconnect()}}},[r,s,f.paused]),B(()=>{if(s){Tc.add(f);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(Lo,Oc);s.addEventListener(Lo,l),s.dispatchEvent(v),v.defaultPrevented||(Qf(op(Ac(s)),{select:!0}),document.activeElement===h&&ne(s))}return()=>{s.removeEventListener(Lo,l),setTimeout(()=>{const v=new CustomEvent(No,Oc);s.addEventListener(No,d),s.dispatchEvent(v),v.defaultPrevented||ne(h??document.body,{select:!0}),s.removeEventListener(No,d),Tc.remove(f)},0)}}},[s,l,d,f]);const _=tt(h=>{if(!n&&!r||f.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(g&&v){const x=h.currentTarget,[m,b]=tp(x);m&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&ne(m,{select:!0})):h.shiftKey&&v===m&&(h.preventDefault(),n&&ne(b,{select:!0})):v===x&&h.preventDefault()}},[n,r,f.paused]);return O(Ue.div,rt({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function Qf(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ne(r,{select:e}),document.activeElement!==n)return}function tp(t){const e=Ac(t),n=Pc(e,t),r=Pc(e.reverse(),t);return[n,r]}function Ac(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 Pc(t,e){for(const n of t)if(!ep(n,{upTo:e}))return n}function ep(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 np(t){return t instanceof HTMLInputElement&&"select"in t}function ne(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&np(t)&&e&&t.select()}}const Tc=rp();function rp(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Rc(t,e),t.unshift(e)},remove(e){var n;t=Rc(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function Rc(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function op(t){return t.filter(e=>e.tagName!=="A")}const ze=globalThis!=null&&globalThis.document?je:()=>{},ip=Mf["useId".toString()]||(()=>{});let ap=0;function sp(t){const[e,n]=W(ip());return ze(()=>{t||n(r=>r??String(ap++))},[t]),t||(e?`radix-${e}`:"")}const cp=["top","right","bottom","left"],re=Math.min,dt=Math.max,rr=Math.round,or=Math.floor,oe=t=>({x:t,y:t}),lp={left:"right",right:"left",bottom:"top",top:"bottom"},up={start:"end",end:"start"};function Mo(t,e,n){return dt(t,re(e,n))}function Vt(t,e){return typeof t=="function"?t(e):t}function Ht(t){return t.split("-")[0]}function We(t){return t.split("-")[1]}function Fo(t){return t==="x"?"y":"x"}function Vo(t){return t==="y"?"height":"width"}function Be(t){return["top","bottom"].includes(Ht(t))?"y":"x"}function Ho(t){return Fo(Be(t))}function dp(t,e,n){n===void 0&&(n=!1);const r=We(t),o=Ho(t),i=Vo(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=ir(a)),[a,ir(a)]}function fp(t){const e=ir(t);return[Io(t),e,Io(e)]}function Io(t){return t.replace(/start|end/g,e=>up[e])}function pp(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 hp(t,e,n,r){const o=We(t);let i=pp(Ht(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(Io)))),i}function ir(t){return t.replace(/left|right|bottom|top/g,e=>lp[e])}function vp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Dc(t){return typeof t!="number"?vp(t):{top:t,right:t,bottom:t,left:t}}function ar(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 Lc(t,e,n){let{reference:r,floating:o}=t;const i=Be(e),a=Ho(e),s=Vo(a),u=Ht(e),l=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(u){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-o.width,y:c};break;default:f={x:r.x,y:r.y}}switch(We(e)){case"start":f[a]-=p*(n&&l?-1:1);break;case"end":f[a]+=p*(n&&l?-1:1);break}return f}const _p=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:d,y:c}=Lc(l,r,u),p=r,f={},_=0;for(let h=0;h<s.length;h++){const{name:g,fn:v}=s[h],{x,y:m,data:b,reset:k}=await v({x:d,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:t,floating:e}});d=x??d,c=m??c,f={...f,[g]:{...f[g],...b}},k&&_<=50&&(_++,typeof k=="object"&&(k.placement&&(p=k.placement),k.rects&&(l=k.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):k.rects),{x:d,y:c}=Lc(l,p,u)),h=-1)}return{x:d,y:c,placement:p,strategy:o,middlewareData:f}};async function kn(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:u}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:f=0}=Vt(e,t),_=Dc(f),g=s[p?c==="floating"?"reference":"floating":c],v=ar(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:d,strategy:u})),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},k=ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:m,strategy:u}):x);return{top:(v.top-k.top+_.top)/b.y,bottom:(k.bottom-v.bottom+_.bottom)/b.y,left:(v.left-k.left+_.left)/b.x,right:(k.right-v.right+_.right)/b.x}}const gp=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:u}=e,{element:l,padding:d=0}=Vt(t,e)||{};if(l==null)return{};const c=Dc(d),p={x:n,y:r},f=Ho(o),_=Vo(f),h=await a.getDimensions(l),g=f==="y",v=g?"top":"left",x=g?"bottom":"right",m=g?"clientHeight":"clientWidth",b=i.reference[_]+i.reference[f]-p[f]-i.floating[_],k=p[f]-i.reference[f],j=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=j?j[m]:0;(!E||!await(a.isElement==null?void 0:a.isElement(j)))&&(E=s.floating[m]||i.floating[_]);const y=b/2-k/2,$=E/2-h[_]/2-1,P=re(c[v],$),H=re(c[x],$),N=P,X=E-h[_]-H,T=E/2-h[_]/2+y,K=Mo(N,T,X),J=!u.arrow&&We(o)!=null&&T!==K&&i.reference[_]/2-(T<N?P:H)-h[_]/2<0,L=J?T<N?T-N:T-X:0;return{[f]:p[f]+L,data:{[f]:K,centerOffset:T-K-L,...J&&{alignmentOffset:L}},reset:J}}}),wp=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:u,elements:l}=e,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...g}=Vt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Ht(o),x=Ht(s)===s,m=await(u.isRTL==null?void 0:u.isRTL(l.floating)),b=p||(x||!h?[ir(s)]:fp(s));!p&&_!=="none"&&b.push(...hp(s,h,_,m));const k=[s,...b],j=await kn(e,g),E=[];let y=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&E.push(j[v]),c){const N=dp(o,a,m);E.push(j[N[0]],j[N[1]])}if(y=[...y,{placement:o,overflows:E}],!E.every(N=>N<=0)){var $,P;const N=((($=i.flip)==null?void 0:$.index)||0)+1,X=k[N];if(X)return{data:{index:N,overflows:y},reset:{placement:X}};let T=(P=y.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:P.placement;if(!T)switch(f){case"bestFit":{var H;const K=(H=y.map(J=>[J.placement,J.overflows.filter(L=>L>0).reduce((L,st)=>L+st,0)]).sort((J,L)=>J[1]-L[1])[0])==null?void 0:H[0];K&&(T=K);break}case"initialPlacement":T=s;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function Nc(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Mc(t){return cp.some(e=>t[e]>=0)}const mp=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Vt(t,e);switch(r){case"referenceHidden":{const i=await kn(e,{...o,elementContext:"reference"}),a=Nc(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Mc(a)}}}case"escaped":{const i=await kn(e,{...o,altBoundary:!0}),a=Nc(i,n.floating);return{data:{escapedOffsets:a,escaped:Mc(a)}}}default:return{}}}}};async function yp(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Ht(n),s=We(n),u=Be(n)==="y",l=["left","top"].includes(a)?-1:1,d=i&&u?-1:1,c=Vt(e,t);let{mainAxis:p,crossAxis:f,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(f=s==="end"?_*-1:_),u?{x:f*d,y:p*l}:{x:p*l,y:f*d}}const bp=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,u=await yp(e,t);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},xp=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:g=>{let{x:v,y:x}=g;return{x:v,y:x}}},...u}=Vt(t,e),l={x:n,y:r},d=await kn(e,u),c=Be(Ht(o)),p=Fo(c);let f=l[p],_=l[c];if(i){const g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",x=f+d[g],m=f-d[v];f=Mo(x,f,m)}if(a){const g=c==="y"?"top":"left",v=c==="y"?"bottom":"right",x=_+d[g],m=_-d[v];_=Mo(x,_,m)}const h=s.fn({...e,[p]:f,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},kp=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:u=!0,crossAxis:l=!0}=Vt(t,e),d={x:n,y:r},c=Be(o),p=Fo(c);let f=d[p],_=d[c];const h=Vt(s,e),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const m=p==="y"?"height":"width",b=i.reference[p]-i.floating[m]+g.mainAxis,k=i.reference[p]+i.reference[m]-g.mainAxis;f<b?f=b:f>k&&(f=k)}if(l){var v,x;const m=p==="y"?"width":"height",b=["top","left"].includes(Ht(o)),k=i.reference[c]-i.floating[m]+(b&&((v=a.offset)==null?void 0:v[c])||0)+(b?0:g.crossAxis),j=i.reference[c]+i.reference[m]+(b?0:((x=a.offset)==null?void 0:x[c])||0)-(b?g.crossAxis:0);_<k?_=k:_>j&&(_=j)}return{[p]:f,[c]:_}}}},$p=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}=Vt(t,e),u=await kn(e,s),l=Ht(n),d=We(n),c=Be(n)==="y",{width:p,height:f}=r.floating;let _,h;l==="top"||l==="bottom"?(_=l,h=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=l,_=d==="end"?"top":"bottom");const g=f-u[_],v=p-u[h],x=!e.middlewareData.shift;let m=g,b=v;if(c){const j=p-u.left-u.right;b=d||x?re(v,j):j}else{const j=f-u.top-u.bottom;m=d||x?re(g,j):j}if(x&&!d){const j=dt(u.left,0),E=dt(u.right,0),y=dt(u.top,0),$=dt(u.bottom,0);c?b=p-2*(j!==0||E!==0?j+E:dt(u.left,u.right)):m=f-2*(y!==0||$!==0?y+$:dt(u.top,u.bottom))}await a({...e,availableWidth:b,availableHeight:m});const k=await o.getDimensions(i.floating);return p!==k.width||f!==k.height?{reset:{rects:!0}}:{}}}};function ie(t){return Fc(t)?(t.nodeName||"").toLowerCase():"#document"}function ft(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function It(t){var e;return(e=(Fc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Fc(t){return t instanceof Node||t instanceof ft(t).Node}function Ut(t){return t instanceof Element||t instanceof ft(t).Element}function jt(t){return t instanceof HTMLElement||t instanceof ft(t).HTMLElement}function Vc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ft(t).ShadowRoot}function $n(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=wt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function jp(t){return["table","td","th"].includes(ie(t))}function Uo(t){const e=zo(),n=wt(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 Ep(t){let e=Ye(t);for(;jt(e)&&!sr(e);){if(Uo(e))return e;e=Ye(e)}return null}function zo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sr(t){return["html","body","#document"].includes(ie(t))}function wt(t){return ft(t).getComputedStyle(t)}function cr(t){return Ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ye(t){if(ie(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Vc(t)&&t.host||It(t);return Vc(e)?e.host:e}function Hc(t){const e=Ye(t);return sr(e)?t.ownerDocument?t.ownerDocument.body:t.body:jt(e)&&$n(e)?e:Hc(e)}function jn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=Hc(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=ft(o);return i?e.concat(a,a.visualViewport||[],$n(o)?o:[],a.frameElement&&n?jn(a.frameElement):[]):e.concat(o,jn(o,[],n))}function Ic(t){const e=wt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=jt(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=rr(n)!==i||rr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Wo(t){return Ut(t)?t:t.contextElement}function qe(t){const e=Wo(t);if(!jt(e))return oe(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=Ic(e);let a=(i?rr(n.width):n.width)/r,s=(i?rr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Sp=oe(0);function Uc(t){const e=ft(t);return!zo()||!e.visualViewport?Sp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Cp(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ft(t)?!1:e}function Ce(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=Wo(t);let a=oe(1);e&&(r?Ut(r)&&(a=qe(r)):a=qe(t));const s=Cp(i,n,r)?Uc(i):oe(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const p=ft(i),f=r&&Ut(r)?ft(r):r;let _=p,h=_.frameElement;for(;h&&r&&f!==_;){const g=qe(h),v=h.getBoundingClientRect(),x=wt(h),m=v.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x,b=v.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;u*=g.x,l*=g.y,d*=g.x,c*=g.y,u+=m,l+=b,_=ft(h),h=_.frameElement}}return ar({width:d,height:c,x:u,y:l})}const Op=[":popover-open",":modal"];function zc(t){return Op.some(e=>{try{return t.matches(e)}catch{return!1}})}function Ap(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=It(r),s=e?zc(e.floating):!1;if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},l=oe(1);const d=oe(0),c=jt(r);if((c||!c&&!i)&&((ie(r)!=="body"||$n(a))&&(u=cr(r)),jt(r))){const p=Ce(r);l=qe(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+d.x,y:n.y*l.y-u.scrollTop*l.y+d.y}}function Pp(t){return Array.from(t.getClientRects())}function Wc(t){return Ce(It(t)).left+cr(t).scrollLeft}function Tp(t){const e=It(t),n=cr(t),r=t.ownerDocument.body,o=dt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=dt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Wc(t);const s=-n.scrollTop;return wt(r).direction==="rtl"&&(a+=dt(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Rp(t,e){const n=ft(t),r=It(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;const l=zo();(!l||l&&e==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s,y:u}}function Dp(t,e){const n=Ce(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=jt(t)?qe(t):oe(1),a=t.clientWidth*i.x,s=t.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:a,height:s,x:u,y:l}}function Bc(t,e,n){let r;if(e==="viewport")r=Rp(t,n);else if(e==="document")r=Tp(It(t));else if(Ut(e))r=Dp(e,n);else{const o=Uc(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return ar(r)}function Yc(t,e){const n=Ye(t);return n===e||!Ut(n)||sr(n)?!1:wt(n).position==="fixed"||Yc(n,e)}function Lp(t,e){const n=e.get(t);if(n)return n;let r=jn(t,[],!1).filter(s=>Ut(s)&&ie(s)!=="body"),o=null;const i=wt(t).position==="fixed";let a=i?Ye(t):t;for(;Ut(a)&&!sr(a);){const s=wt(a),u=Uo(a);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||$n(a)&&!u&&Yc(t,a))?r=r.filter(d=>d!==a):o=s,a=Ye(a)}return e.set(t,r),r}function Np(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Lp(e,this._c):[].concat(n),r],s=a[0],u=a.reduce((l,d)=>{const c=Bc(e,d,o);return l.top=dt(c.top,l.top),l.right=re(c.right,l.right),l.bottom=re(c.bottom,l.bottom),l.left=dt(c.left,l.left),l},Bc(e,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Mp(t){const{width:e,height:n}=Ic(t);return{width:e,height:n}}function Fp(t,e,n){const r=jt(e),o=It(e),i=n==="fixed",a=Ce(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const u=oe(0);if(r||!r&&!i)if((ie(e)!=="body"||$n(o))&&(s=cr(e)),r){const c=Ce(e,!0,i,e);u.x=c.x+e.clientLeft,u.y=c.y+e.clientTop}else o&&(u.x=Wc(o));const l=a.left+s.scrollLeft-u.x,d=a.top+s.scrollTop-u.y;return{x:l,y:d,width:a.width,height:a.height}}function qc(t,e){return!jt(t)||wt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Kc(t,e){const n=ft(t);if(!jt(t)||zc(t))return n;let r=qc(t,e);for(;r&&jp(r)&&wt(r).position==="static";)r=qc(r,e);return r&&(ie(r)==="html"||ie(r)==="body"&&wt(r).position==="static"&&!Uo(r))?n:r||Ep(t)||n}const Vp=async function(t){const e=this.getOffsetParent||Kc,n=this.getDimensions,r=await n(t.floating);return{reference:Fp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Hp(t){return wt(t).direction==="rtl"}const Ip={convertOffsetParentRelativeRectToViewportRelativeRect:Ap,getDocumentElement:It,getClippingRect:Np,getOffsetParent:Kc,getElementRects:Vp,getClientRects:Pp,getDimensions:Mp,getScale:qe,isElement:Ut,isRTL:Hp};function Up(t,e){let n=null,r;const o=It(t);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const{left:l,top:d,width:c,height:p}=t.getBoundingClientRect();if(s||e(),!c||!p)return;const f=or(d),_=or(o.clientWidth-(l+c)),h=or(o.clientHeight-(d+p)),g=or(l),x={rootMargin:-f+"px "+-_+"px "+-h+"px "+-g+"px",threshold:dt(0,re(1,u))||1};let m=!0;function b(k){const j=k[0].intersectionRatio;if(j!==u){if(!m)return a();j?a(!1,j):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 zp(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:u=!1}=r,l=Wo(t),d=o||i?[...l?jn(l):[],...jn(e)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=l&&s?Up(l,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(v=>{let[x]=v;x&&x.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var m;(m=f)==null||m.observe(e)})),n()}),l&&!u&&f.observe(l),f.observe(e));let _,h=u?Ce(t):null;u&&g();function g(){const v=Ce(t);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(g)}return n(),()=>{var v;d.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),c==null||c(),(v=f)==null||v.disconnect(),f=null,u&&cancelAnimationFrame(_)}}const Wp=bp,Bp=xp,Yp=wp,qp=$p,Kp=mp,Xc=gp,Xp=kp,Zp=(t,e,n)=>{const r=new Map,o={platform:Ip,...n},i={...o.platform,_c:r};return _p(t,e,{...o,platform:i})},Gp=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?Xc({element:r.current,padding:o}).fn(n):{}:r?Xc({element:r,padding:o}).fn(n):{}}}};var lr=typeof document<"u"?je:B;function ur(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(!ur(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)&&!ur(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Zc(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Gc(t,e){const n=Zc(t);return Math.round(e*n)/n}function Jc(t){const e=M(t);return lr(()=>{e.current=t}),e}function Jp(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:u,open:l}=t,[d,c]=W({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,f]=W(r);ur(p,r)||f(r);const[_,h]=W(null),[g,v]=W(null),x=tt(L=>{L!==j.current&&(j.current=L,h(L))},[]),m=tt(L=>{L!==E.current&&(E.current=L,v(L))},[]),b=i||_,k=a||g,j=M(null),E=M(null),y=M(d),$=u!=null,P=Jc(u),H=Jc(o),N=tt(()=>{if(!j.current||!E.current)return;const L={placement:e,strategy:n,middleware:p};H.current&&(L.platform=H.current),Zp(j.current,E.current,L).then(st=>{const mt={...st,isPositioned:!0};X.current&&!ur(y.current,mt)&&(y.current=mt,xn(()=>{c(mt)}))})},[p,e,n,H]);lr(()=>{l===!1&&y.current.isPositioned&&(y.current.isPositioned=!1,c(L=>({...L,isPositioned:!1})))},[l]);const X=M(!1);lr(()=>(X.current=!0,()=>{X.current=!1}),[]),lr(()=>{if(b&&(j.current=b),k&&(E.current=k),b&&k){if(P.current)return P.current(b,k,N);N()}},[b,k,N,P,$]);const T=at(()=>({reference:j,floating:E,setReference:x,setFloating:m}),[x,m]),K=at(()=>({reference:b,floating:k}),[b,k]),J=at(()=>{const L={position:n,left:0,top:0};if(!K.floating)return L;const st=Gc(K.floating,d.x),mt=Gc(K.floating,d.y);return s?{...L,transform:"translate("+st+"px, "+mt+"px)",...Zc(K.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:st,top:mt}},[n,s,K.floating,d.x,d.y]);return at(()=>({...d,update:N,refs:T,elements:K,floatingStyles:J}),[d,N,T,K,J])}function Qp(t){const[e,n]=W(void 0);return ze(()=>{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 u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.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 Qc="Popper",[tl,el]=$c(Qc),[th,nl]=tl(Qc),eh=t=>{const{__scopePopper:e,children:n}=t,[r,o]=W(null);return O(th,{scope:e,anchor:r,onAnchorChange:o},n)},nh="PopperAnchor",rh=et((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=nl(nh,n),a=M(null),s=Se(e,a);return B(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:O(Ue.div,rt({},o,{ref:s}))}),rl="PopperContent",[oh,Xv]=tl(rl),ih=et((t,e)=>{var n,r,o,i,a,s,u,l;const{__scopePopper:d,side:c="bottom",sideOffset:p=0,align:f="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:m="partial",hideWhenDetached:b=!1,updatePositionStrategy:k="optimized",onPlaced:j,...E}=t,y=nl(rl,d),[$,P]=W(null),H=Se(e,z=>P(z)),[N,X]=W(null),T=Qp(N),K=(n=T==null?void 0:T.width)!==null&&n!==void 0?n:0,J=(r=T==null?void 0:T.height)!==null&&r!==void 0?r:0,L=c+(f!=="center"?"-"+f:""),st=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},mt=Array.isArray(v)?v:[v],si=mt.length>0,xt={padding:st,boundary:mt.filter(ah),altBoundary:si},{refs:se,floatingStyles:Oe,placement:$r,isPositioned:zt,middlewareData:Wt}=Jp({strategy:"fixed",placement:L,whileElementsMounted:(...z)=>zp(...z,{animationFrame:k==="always"}),elements:{reference:y.anchor},middleware:[Wp({mainAxis:p+J,alignmentAxis:_}),g&&Bp({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Xp():void 0,...xt}),g&&Yp({...xt}),qp({...xt,apply:({elements:z,rects:pt,availableWidth:ce,availableHeight:Q})=>{const{width:it,height:kt}=pt.reference,Pe=z.floating.style;Pe.setProperty("--radix-popper-available-width",`${ce}px`),Pe.setProperty("--radix-popper-available-height",`${Q}px`),Pe.setProperty("--radix-popper-anchor-width",`${it}px`),Pe.setProperty("--radix-popper-anchor-height",`${kt}px`)}}),N&&Gp({element:N,padding:h}),sh({arrowWidth:K,arrowHeight:J}),b&&Kp({strategy:"referenceHidden",...xt})]}),[On,ci]=ol($r),en=ee(j);ze(()=>{zt&&(en==null||en())},[zt,en]);const Ae=(o=Wt.arrow)===null||o===void 0?void 0:o.x,jr=(i=Wt.arrow)===null||i===void 0?void 0:i.y,I=((a=Wt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[U,nt]=W();return ze(()=>{$&&nt(window.getComputedStyle($).zIndex)},[$]),O("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...Oe,transform:zt?Oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[(s=Wt.transformOrigin)===null||s===void 0?void 0:s.x,(u=Wt.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:t.dir},O(oh,{scope:d,placedSide:On,onArrowChange:X,arrowX:Ae,arrowY:jr,shouldHideArrow:I},O(Ue.div,rt({"data-side":On,"data-align":ci},E,{ref:H,style:{...E.style,animation:zt?void 0:"none",opacity:(l=Wt.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))});function ah(t){return t!==null}const sh=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,i,a;const{placement:s,rects:u,middlewareData:l}=e,c=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:t.arrowWidth,f=c?0:t.arrowHeight,[_,h]=ol(s),g={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,x=((i=(a=l.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let m="",b="";return _==="bottom"?(m=c?g:`${v}px`,b=`${-f}px`):_==="top"?(m=c?g:`${v}px`,b=`${u.floating.height+f}px`):_==="right"?(m=`${-f}px`,b=c?g:`${x}px`):_==="left"&&(m=`${u.floating.width+f}px`,b=c?g:`${x}px`),{data:{x:m,y:b}}}});function ol(t){const[e,n="center"]=t.split("-");return[e,n]}const ch=eh,lh=rh,uh=ih,dh=et((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?xc.createPortal(O(Ue.div,rt({},o,{ref:e})),r):null});function fh(t,e){return Qn((n,r)=>{const o=e[n][r];return o??n},t)}const Bo=t=>{const{present:e,children:n}=t,r=ph(e),o=typeof n=="function"?n({present:r.isPresent}):Mt.only(n),i=Se(r.ref,o.ref);return typeof n=="function"||r.isPresent?Ie(o,{ref:i}):null};Bo.displayName="Presence";function ph(t){const[e,n]=W(),r=M({}),o=M(t),i=M("none"),a=t?"mounted":"unmounted",[s,u]=fh(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return B(()=>{const l=dr(r.current);i.current=s==="mounted"?l:"none"},[s]),ze(()=>{const l=r.current,d=o.current;if(d!==t){const p=i.current,f=dr(l);t?u("MOUNT"):f==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,u]),ze(()=>{if(e){const l=c=>{const f=dr(r.current).includes(c.animationName);c.target===e&&f&&xn(()=>u("ANIMATION_END"))},d=c=>{c.target===e&&(i.current=dr(r.current))};return e.addEventListener("animationstart",d),e.addEventListener("animationcancel",l),e.addEventListener("animationend",l),()=>{e.removeEventListener("animationstart",d),e.removeEventListener("animationcancel",l),e.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:tt(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function dr(t){return(t==null?void 0:t.animationName)||"none"}function hh({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=vh({defaultProp:e,onChange:n}),i=t!==void 0,a=i?t:r,s=ee(n),u=tt(l=>{if(i){const c=typeof l=="function"?l(t):l;c!==t&&s(c)}else o(l)},[i,t,o,s]);return[a,u]}function vh({defaultProp:t,onChange:e}){const n=W(t),[r]=n,o=M(r),i=ee(e);return B(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var _h=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Ke=new WeakMap,fr=new WeakMap,pr={},Yo=0,il=function(t){return t&&(t.host||il(t.parentNode))},gh=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=il(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})},wh=function(t,e,n,r){var o=gh(e,Array.isArray(t)?t:[t]);pr[n]||(pr[n]=new WeakMap);var i=pr[n],a=[],s=new Set,u=new Set(o),l=function(c){!c||s.has(c)||(s.add(c),l(c.parentNode))};o.forEach(l);var d=function(c){!c||u.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))d(p);else{var f=p.getAttribute(r),_=f!==null&&f!=="false",h=(Ke.get(p)||0)+1,g=(i.get(p)||0)+1;Ke.set(p,h),i.set(p,g),a.push(p),h===1&&_&&fr.set(p,!0),g===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return d(e),s.clear(),Yo++,function(){a.forEach(function(c){var p=Ke.get(c)-1,f=i.get(c)-1;Ke.set(c,p),i.set(c,f),p||(fr.has(c)||c.removeAttribute(r),fr.delete(c)),f||c.removeAttribute(n)}),Yo--,Yo||(Ke=new WeakMap,Ke=new WeakMap,fr=new WeakMap,pr={})}},mh=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||_h(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),wh(r,o,n,"aria-hidden")):function(){return null}},Et=function(){return Et=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},Et.apply(this,arguments)};function al(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 yh(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 hr="right-scroll-bar-position",vr="width-before-scroll-bar",bh="with-scroll-bars-hidden",xh="--removed-body-scroll-bar-size";function kh(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function $h(t,e){var n=W(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 jh(t,e){return $h(e||null,function(n){return t.forEach(function(r){return kh(r,n)})})}function Eh(t){return t}function Sh(t,e){e===void 0&&(e=Eh);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 u=function(){var d=a;a=[],d.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(d){a.push(d),l()},filter:function(d){return a=a.filter(d),n}}}};return o}function Ch(t){t===void 0&&(t={});var e=Sh(null);return e.options=Et({async:!0,ssr:!1},t),e}var sl=function(t){var e=t.sideCar,n=al(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 O(r,Et({},n))};sl.isSideCarExport=!0;function Oh(t,e){return t.useMedium(e),sl}var cl=Ch(),qo=function(){},_r=et(function(t,e){var n=M(null),r=W({onScrollCapture:qo,onWheelCapture:qo,onTouchMoveCapture:qo}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,u=t.className,l=t.removeScrollBar,d=t.enabled,c=t.shards,p=t.sideCar,f=t.noIsolation,_=t.inert,h=t.allowPinchZoom,g=t.as,v=g===void 0?"div":g,x=al(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),m=p,b=jh([n,e]),k=Et(Et({},x),o);return O(Z,null,d&&O(m,{sideCar:cl,removeScrollBar:l,shards:c,noIsolation:f,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Ie(Mt.only(s),Et(Et({},k),{ref:b})):O(v,Et({},k,{className:u,ref:b}),s))});_r.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},_r.classNames={fullWidth:vr,zeroRight:hr};var Ah=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ph(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Ah();return e&&t.setAttribute("nonce",e),t}function Th(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Rh(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Dh=function(){var t=0,e=null;return{add:function(n){t==0&&(e=Ph())&&(Th(e,n),Rh(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Lh=function(){var t=Dh();return function(e,n){B(function(){return t.add(e),function(){t.remove()}},[e&&n])}},ll=function(){var t=Lh(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},Nh={left:0,top:0,right:0,gap:0},Ko=function(t){return parseInt(t||"",10)||0},Mh=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[Ko(n),Ko(r),Ko(o)]},Fh=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return Nh;var e=Mh(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])}},Vh=ll(),Hh=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
|
+
}`},p_=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${pa}`);return dt(t,`Element with id ${pa} not found.`),t}}))(),h_=()=>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"},r_),Q("style",{id:"inploi-job-search-theme"},f_(o.theme))],Q(rd,{theme:o.theme}),Q(n_,{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}),p_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=h_;function Bs(t,e){if(!t)throw new Error(e)}var xn,E,Ys,Ks,$e,qs,Gs,Vo,Xs,$n={},Zs=[],v_=/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 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 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??Ve(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,__(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 __(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=g_(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 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 g_(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"||v_.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,b,m,y,x,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,b=(f=j.contextType)&&r[f.__c],m=f?b?b.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=m_),b&&b.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)}),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,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,x=E.__r,k=0,"prototype"in j&&j.prototype.render){for(c.state=c.__s,c.__d=!1,x&&x(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,x&&x(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=w_(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 w_(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,b=e.type;if(b==="svg"&&(o=!0),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!b&&(b?d.localName===b:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(b===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,v.is&&v),i=null,s=!1}if(b===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&&b!=="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]||b==="progress"&&!_||b==="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 m_(t,e,n){return this.constructor(t,n)}function ze(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){ze(t,e,Yo)}function y_(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])/,b_=/^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]/,x_=/^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/,$_=/["&<]/;function cr(t){if(t.length===0||$_.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={},k_=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"]),j_=/[A-Z]/g;function E_(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(j_,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||k_.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 S_(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 b=0;f.__d&&b++<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 y=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),y}var x,k="<"+c,S="";for(var $ in p){var j=p[$];switch($){case"children":x=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":x=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=E_(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?x_.test($)&&($=$==="panose1"?"panose-1":$.replace(/([A-Z])/g,"-$1").toLowerCase()):b_.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 x=="string"?S=cr(x):x!=null&&x!==!1&&x!==!0&&(S=Ee(x,e,c==="svg"||c!=="foreignObject"&&n,r,t))),ke&&ke(t),t.__=void 0,je&&je(t),!S&&C_.has(c)?k+"/>":k+">"+S+"</"+c+">"}var C_=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),O_=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:--O_,__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 A_={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"})},P_=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(A_).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,Ue=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,Ue||e),Ue=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:lr}),n.__[t]}function K(t){return Ue=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 Ue=5,lt(function(){return{current:t}},[])}function $c(t,e,n){Ue=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 Ue=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 T_(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 R_(){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)||D_)(R_)),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 D_(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 N_=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=N_,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},L_=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)}L_(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 We(){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 M_(t){return this.getChildContext=function(){return t.context},t.children}function F_(t){var e=this,n=t.i;e.componentWillUnmount=function(){ze(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)}}),ze(C(M_,{context:e.context},t.__v),e.l)}function Fc(t,e){var n=C(F_,{__v:t,i:e});return n.containerInfo=e,n}(We.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()}},We.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},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,I_=/^(?: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]/,H_=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,V_=/[A-Z0-9]/g,z_=typeof document<"u",U_=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=""),ze(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 W_(){}function B_(){return this.cancelBubble}function Y_(){return this.defaultPrevented}E.event=function(t){return zc&&(t=zc(t)),t.persist=W_,t.isPropagationStopped=B_,t.isDefaultPrevented=Y_,t.nativeEvent=t};var Qo,K_={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||z_&&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"||U_(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":H_.test(i)?i=s:r.indexOf("-")===-1&&I_.test(i)?i=i.replace(V_,"-$&").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",K_)):(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}}}},q_="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 Be(t){return zt(t)?y_.apply(null,arguments):t}function Gc(t){return!!t.__k&&(ze(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:Be,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:We,lazy:Lc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yc};const G_=Object.freeze(Object.defineProperty({__proto__:null,Children:Vt,Component:$t,Fragment:J,PureComponent:pr,StrictMode:Jc,Suspense:Sn,SuspenseList:We,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yc,cloneElement:Be,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:T_,useId:jc,useImperativeHandle:$c,useInsertionEffect:el,useLayoutEffect:Ce,useMemo:lt,useReducer:ur,useRef:V,useState:K,useSyncExternalStore:rl,useTransition:tl,version:q_},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 X_(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function il(...t){return e=>t.forEach(n=>X_(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,Z_(o,...e)]}function Z_(...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(Q_);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)?Be(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)?Be(n,{...tg(r,n.props),ref:e?il(e,n.ref):n.ref}):Vt.count(n)>1?Vt.only(null):null});ri.displayName="SlotClone";const J_=({children:t})=>C(J,null,t);function Q_(t){return zt(t)&&t.type===J_}function tg(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},[]),C(s,it({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function eg(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 ng(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",rg="dismissableLayer.pointerDownOutside",og="dismissableLayer.focusOutside";let sl;const ig=jn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ag=rt((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,f=dr(ig),[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),b=w.indexOf(v),m=c?w.indexOf(c):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,x=m>=b,k=sg($=>{const j=$.target,O=[...f.branches].some(N=>N.contains(j));!x||O||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),S=cg($=>{const j=$.target;[...f.branches].some(N=>N.contains(j))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return ng($=>{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(Ye.div,it({},u,{ref:h,style:{pointerEvents:y?x?"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 sg(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(rg,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 cg(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(og,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?eg(o,i):o.dispatchEvent(i)}let ii=0;function lg(){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},ug=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 y=m.target;s.contains(y)?c.current=y:ce(c.current,{select:!0})},w=function(m){if(d.paused||!s)return;const y=m.relatedTarget;y!==null&&(s.contains(y)||ce(c.current,{select:!0}))},v=function(m){if(document.activeElement===document.body)for(const x of m)x.removedNodes.length>0&&ce(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",w);const b=new MutationObserver(v);return s&&b.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",w),b.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||(dg(_g(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 b=h.currentTarget,[m,y]=fg(b);m&&y?!h.shiftKey&&v===y?(h.preventDefault(),n&&ce(m,{select:!0})):h.shiftKey&&v===m&&(h.preventDefault(),n&&ce(y,{select:!0})):v===b&&h.preventDefault()}},[n,r,d.paused]);return C(Ye.div,it({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function dg(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ce(r,{select:e}),document.activeElement!==n)return}function fg(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(!pg(n,{upTo:e}))return n}function pg(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 hg(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&&hg(t)&&e&&t.select()}}const hl=vg();function vg(){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 _g(t){return t.filter(e=>e.tagName!=="A")}const Ke=globalThis!=null&&globalThis.document?Ce:()=>{},gg=G_["useId".toString()]||(()=>{});let wg=0;function mg(t){const[e,n]=K(gg());return Ke(()=>{t||n(r=>r??String(wg++))},[t]),t||(e?`radix-${e}`:"")}const yg=["top","right","bottom","left"],le=Math.min,_t=Math.max,hr=Math.round,vr=Math.floor,ue=t=>({x:t,y:t}),bg={left:"right",right:"left",bottom:"top",top:"bottom"},xg={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 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(Wt(t))?"y":"x"}function di(t){return li(Ge(t))}function $g(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=_r(a)),[a,_r(a)]}function kg(t){const e=_r(t);return[fi(t),e,fi(e)]}function fi(t){return t.replace(/start|end/g,e=>xg[e])}function jg(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 Eg(t,e,n,r){const o=qe(t);let i=jg(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=>bg[e])}function Sg(t){return{top:0,right:0,bottom:0,left:0,...t}}function _l(t){return typeof t!="number"?Sg(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=Ge(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(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 Cg=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:b,y:m,data:y,reset:x}=await v({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:t,floating:e}});f=b??f,c=m??c,d={...d,[w]:{...d[w],...y}},x&&_<=50&&(_++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):x.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})),b=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)),y=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},x=gr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:m,strategy:l}):b);return{top:(v.top-x.top+_.top)/y.y,bottom:(x.bottom-v.bottom+_.bottom)/y.y,left:(v.left-x.left+_.left)/y.x,right:(x.right-v.right+_.right)/y.x}}const Og=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",b=w?"bottom":"right",m=w?"clientHeight":"clientWidth",y=i.reference[_]+i.reference[d]-p[d]-i.floating[_],x=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 $=y/2-x/2,j=S/2-h[_]/2-1,O=le(c[v],j),N=le(c[b],j),L=O,M=S-h[_]-N,D=S/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}}}),Ag=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),b=Wt(s)===s,m=await(l.isRTL==null?void 0:l.isRTL(u.floating)),y=p||(b||!h?[_r(s)]:kg(s));!p&&_!=="none"&&y.push(...Eg(s,h,_,m));const x=[s,...y],k=await On(e,w),S=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&S.push(k[v]),c){const L=$g(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=x[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 yg.some(e=>t[e]>=0)}const Pg=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 Tg(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=qe(n),l=Ge(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 Rg=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 Tg(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}}}}},Dg=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:b}=w;return{x:v,y:b}}},...l}=Ut(t,e),u={x:n,y:r},f=await On(e,l),c=Ge(Wt(o)),p=li(c);let d=u[p],_=u[c];if(i){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",b=d+f[w],m=d-f[v];d=ci(b,d,m)}if(a){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",b=_+f[w],m=_-f[v];_=ci(b,_,m)}const h=s.fn({...e,[p]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Ng=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=Ge(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",y=i.reference[p]-i.floating[m]+w.mainAxis,x=i.reference[p]+i.reference[m]-w.mainAxis;d<y?d=y:d>x&&(d=x)}if(u){var v,b;const m=p==="y"?"width":"height",y=["top","left"].includes(Wt(o)),x=i.reference[c]-i.floating[m]+(y&&((v=a.offset)==null?void 0:v[c])||0)+(y?0:w.crossAxis),k=i.reference[c]+i.reference[m]+(y?0:((b=a.offset)==null?void 0:b[c])||0)-(y?w.crossAxis:0);_<x?_=x:_>k&&(_=k)}return{[p]:d,[c]:_}}}},Lg=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=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],b=!e.middlewareData.shift;let m=w,y=v;if(c){const k=p-l.left-l.right;y=f||b?le(v,k):k}else{const k=d-l.top-l.bottom;m=f||b?le(w,k):k}if(b&&!f){const k=_t(l.left,0),S=_t(l.right,0),$=_t(l.top,0),j=_t(l.bottom,0);c?y=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:y,availableHeight:m});const x=await o.getDimensions(i.floating);return p!==x.width||d!==x.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 Mg(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 Fg(t){let e=Xe(t);for(;At(e)&&!wr(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 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 Xe(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=Xe(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 Ze(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 Ig=ue(0);function kl(t){const e=gt(t);return!hi()||!e.visualViewport?Ig:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hg(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=Ze(r)):a=Ze(t));const s=Hg(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=Ze(h),v=h.getBoundingClientRect(),b=kt(h),m=v.left+(h.clientLeft+parseFloat(b.paddingLeft))*w.x,y=v.top+(h.clientTop+parseFloat(b.paddingTop))*w.y;l*=w.x,u*=w.y,f*=w.x,c*=w.y,l+=m,u+=y,_=gt(h),h=_.frameElement}}return gr({width:f,height:c,x:l,y:u})}const Vg=[":popover-open",":modal"];function jl(t){return Vg.some(e=>{try{return t.matches(e)}catch{return!1}})}function zg(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=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 Ug(t){return Array.from(t.getClientRects())}function El(t){return Pe(Bt(t)).left+mr(t).scrollLeft}function Wg(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 Bg(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 Yg(t,e){const n=Pe(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=At(t)?Ze(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=Bg(t,n);else if(e==="document")r=Wg(Bt(t));else if(Yt(e))r=Yg(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=Xe(t);return n===e||!Yt(n)||wr(n)?!1:kt(n).position==="fixed"||Cl(n,e)}function Kg(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?Xe(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=Xe(a)}return e.set(t,r),r}function qg(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Kg(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 Gg(t){const{width:e,height:n}=$l(t);return{width:e,height:n}}function Xg(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&&Mg(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||Fg(t)||n}const Zg=async function(t){const e=this.getOffsetParent||Al,n=this.getDimensions,r=await n(t.floating);return{reference:Xg(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Jg(t){return kt(t).direction==="rtl"}const Qg={convertOffsetParentRelativeRectToViewportRelativeRect:zg,getDocumentElement:Bt,getClippingRect:qg,getOffsetParent:Al,getElementRects:Zg,getClientRects:Ug,getDimensions:Gg,getScale:Ze,isElement:Yt,isRTL:Jg};function t0(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),b={rootMargin:-d+"px "+-_+"px "+-h+"px "+-w+"px",threshold:_t(0,le(1,l))||1};let m=!0;function y(x){const k=x[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(y,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return a(!0),i}function e0(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?t0(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(v=>{let[b]=v;b&&b.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(b=>{o&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,l&&cancelAnimationFrame(_)}}const n0=Rg,r0=Dg,o0=Ag,i0=Lg,a0=Pg,Pl=Og,s0=Ng,c0=(t,e,n)=>{const r=new Map,o={platform:Qg,...n},i={...o.platform,_c:r};return Cg(t,e,{...o,platform:i})},l0=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 u0(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),b=nt(T=>{T!==k.current&&(k.current=T,h(T))},[]),m=nt(T=>{T!==S.current&&(S.current=T,v(T))},[]),y=i||_,x=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),c0(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(y&&(k.current=y),x&&(S.current=x),y&&x){if(O.current)return O.current(y,x,L);L()}},[y,x,L,O,j]);const D=lt(()=>({reference:k,floating:S,setReference:b,setFloating:m}),[b,m]),F=lt(()=>({reference:y,floating:x}),[y,x]),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 d0(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),[f0,Fl]=Ll(Nl),p0=t=>{const{__scopePopper:e,children:n}=t,[r,o]=K(null);return C(f0,{scope:e,anchor:r,onAnchorChange:o},n)},h0="PopperAnchor",v0=rt((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=Fl(h0,n),a=V(null),s=Ae(e,a);return G(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:C(Ye.div,it({},o,{ref:s}))}),Il="PopperContent",[_0,sm]=Ll(Il),g0=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:b=0,sticky:m="partial",hideWhenDetached:y=!1,updatePositionStrategy:x="optimized",onPlaced:k,...S}=t,$=Fl(Il,f),[j,O]=K(null),N=Ae(e,Y=>O(Y)),[L,M]=K(null),D=d0(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 b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},ct=Array.isArray(v)?v:[v],pt=ct.length>0,ut={padding:tt,boundary:ct.filter(w0),altBoundary:pt},{refs:wt,floatingStyles:Te,placement:Nr,isPositioned:Kt,middlewareData:qt}=u0({strategy:"fixed",placement:T,whileElementsMounted:(...Y)=>e0(...Y,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[n0({mainAxis:p+R,alignmentAxis:_}),w&&r0({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?s0():void 0,...ut}),w&&o0({...ut}),i0({...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&&l0({element:L,padding:h}),m0({arrowWidth:F,arrowHeight:R}),y&&a0({strategy:"referenceHidden",...ut})]}),[Nn,Ti]=Hl(Nr),an=se(k);Ke(()=>{Kt&&(an==null||an())},[Kt,an]);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 Ke(()=>{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(_0,{scope:f,placedSide:Nn,onArrowChange:M,arrowX:Re,arrowY:Lr,shouldHideArrow:W},C(Ye.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 w0(t){return t!==null}const m0=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,b=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let m="",y="";return _==="bottom"?(m=c?w:`${v}px`,y=`${-d}px`):_==="top"?(m=c?w:`${v}px`,y=`${l.floating.height+d}px`):_==="right"?(m=`${-d}px`,y=c?w:`${b}px`):_==="left"&&(m=`${l.floating.width+d}px`,y=c?w:`${b}px`),{data:{x:m,y}}}});function Hl(t){const[e,n="center"]=t.split("-");return[e,n]}const y0=p0,b0=v0,x0=g0,$0=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(Ye.div,it({},o,{ref:e})),r):null});function k0(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=j0(e),o=typeof n=="function"?n({present:r.isPresent}):Vt.only(n),i=Ae(r.ref,o.ref);return typeof n=="function"||r.isPresent?Be(o,{ref:i}):null};_i.displayName="Presence";function j0(t){const[e,n]=K(),r=V({}),o=V(t),i=V("none"),a=t?"mounted":"unmounted",[s,l]=k0(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]),Ke(()=>{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]),Ke(()=>{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 E0({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=S0({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 S0({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 C0=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Je=new WeakMap,$r=new WeakMap,kr={},gi=0,Vl=function(t){return t&&(t.host||Vl(t.parentNode))},O0=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})},A0=function(t,e,n,r){var o=O0(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=(Je.get(p)||0)+1,w=(i.get(p)||0)+1;Je.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=Je.get(c)-1,d=i.get(c)-1;Je.set(c,p),i.set(c,d),p||($r.has(c)||c.removeAttribute(r),$r.delete(c)),d||c.removeAttribute(n)}),gi--,gi||(Je=new WeakMap,Je=new WeakMap,$r=new WeakMap,kr={})}},P0=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||C0(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),A0(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 T0(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",R0="with-scroll-bars-hidden",D0="--removed-body-scroll-bar-size";function N0(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function L0(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 M0(t,e){return L0(e||null,function(n){return t.forEach(function(r){return N0(r,n)})})}function F0(t){return t}function I0(t,e){e===void 0&&(e=F0);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 H0(t){t===void 0&&(t={});var e=I0(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 V0(t,e){return t.useMedium(e),Ul}var Wl=H0(),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,b=zl(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),m=p,y=M0([n,e]),x=Pt(Pt({},b),o);return C(J,null,f&&C(m,{sideCar:Wl,removeScrollBar:u,shards:c,noIsolation:d,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Be(Vt.only(s),Pt(Pt({},x),{ref:y})):C(v,Pt({},x,{className:l,ref:y}),s))});Sr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Sr.classNames={fullWidth:Er,zeroRight:jr};var z0=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function U0(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=z0();return e&&t.setAttribute("nonce",e),t}function W0(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function B0(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Y0=function(){var t=0,e=null;return{add:function(n){t==0&&(e=U0())&&(W0(e,n),B0(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},K0=function(){var t=Y0();return function(e,n){G(function(){return t.add(e),function(){t.remove()}},[e&&n])}},Bl=function(){var t=K0(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},q0={left:0,top:0,right:0,gap:0},mi=function(t){return parseInt(t||"",10)||0},G0=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)]},X0=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return q0;var e=G0(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])}},Z0=Bl(),J0=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(R0,` {
|
|
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(jr,` {
|
|
40
40
|
right: `).concat(s,"px ").concat(r,`;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.`).concat(
|
|
43
|
+
.`).concat(Er,` {
|
|
44
44
|
margin-right: `).concat(s,"px ").concat(r,`;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.`).concat(
|
|
47
|
+
.`).concat(jr," .").concat(jr,` {
|
|
48
48
|
right: 0 `).concat(r,`;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.`).concat(
|
|
51
|
+
.`).concat(Er," .").concat(Er,` {
|
|
52
52
|
margin-right: 0 `).concat(r,`;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
body {
|
|
56
|
-
`).concat(
|
|
56
|
+
`).concat(D0,": ").concat(s,`px;
|
|
57
57
|
}
|
|
58
|
-
`)},
|
|
58
|
+
`)},Q0=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,i=lt(function(){return X0(o)},[o]);return C(Z0,{styles:J0(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,tw=function(t){return t.tagName==="TEXTAREA"},Yl=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!tw(t)&&n[e]==="visible")},ew=function(t){return Yl(t,"overflowY")},nw=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},rw=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},ow=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},ql=function(t,e){return t==="v"?ew(e):nw(e)},Gl=function(t,e){return t==="v"?rw(e):ow(e)},iw=function(t,e){return t==="h"&&e==="rtl"?-1:1},aw=function(t,e,n,r,o){var i=iw(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},Or=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},sw=function(t,e){return t[0]===e[0]&&t[1]===e[1]},cw=function(t){return`
|
|
59
59
|
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|
60
60
|
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|
61
|
-
`)},Gh=0,Ze=[];function Jh(t){var e=M([]),n=M([0,0]),r=M(),o=W(Gh++)[0],i=W(function(){return ll()})[0],a=M(t);B(function(){a.current=t},[t]),B(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var h=yh([t.lockRef.current],(t.shards||[]).map(vl),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=tt(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var v=wr(h),x=n.current,m="deltaX"in h?h.deltaX:x[0]-v[0],b="deltaY"in h?h.deltaY:x[1]-v[1],k,j=h.target,E=Math.abs(m)>Math.abs(b)?"h":"v";if("touches"in h&&E==="h"&&j.type==="range")return!1;var y=dl(E,j);if(!y)return!0;if(y?k=E:(k=E==="v"?"h":"v",y=dl(E,j)),!y)return!1;if(!r.current&&"changedTouches"in h&&(m||b)&&(r.current=k),!k)return!0;var $=r.current||k;return Kh($,g,h,$==="h"?m:b,!0)},[]),u=tt(function(h){var g=h;if(!(!Ze.length||Ze[Ze.length-1]!==i)){var v="deltaY"in g?hl(g):wr(g),x=e.current.filter(function(k){return k.name===g.type&&k.target===g.target&&Xh(k.delta,v)})[0];if(x&&x.should){g.cancelable&&g.preventDefault();return}if(!x){var m=(a.current.shards||[]).map(vl).filter(Boolean).filter(function(k){return k.contains(g.target)}),b=m.length>0?s(g,m[0]):!a.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),l=tt(function(h,g,v,x){var m={name:h,delta:g,target:v,should:x};e.current.push(m),setTimeout(function(){e.current=e.current.filter(function(b){return b!==m})},1)},[]),d=tt(function(h){n.current=wr(h),r.current=void 0},[]),c=tt(function(h){l(h.type,hl(h),h.target,s(h,t.lockRef.current))},[]),p=tt(function(h){l(h.type,wr(h),h.target,s(h,t.lockRef.current))},[]);B(function(){return Ze.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Xe),document.addEventListener("touchmove",u,Xe),document.addEventListener("touchstart",d,Xe),function(){Ze=Ze.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,Xe),document.removeEventListener("touchmove",u,Xe),document.removeEventListener("touchstart",d,Xe)}},[]);var f=t.removeScrollBar,_=t.inert;return O(Z,null,_?O(i,{styles:Zh(o)}):null,f?O(Ih,{gapMode:"margin"}):null)}const Qh=Oh(cl,Jh);var _l=et(function(t,e){return O(_r,Et({},t,{ref:e,sideCar:Qh}))});_l.classNames=_r.classNames;const tv=_l,gl="Popover",[wl,Zv]=$c(gl,[el]),Zo=el(),[ev,Ge]=wl(gl),nv=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=Zo(e),u=M(null),[l,d]=W(!1),[c=!1,p]=hh({prop:r,defaultProp:o,onChange:i});return O(ch,s,O(ev,{scope:e,contentId:sp(),triggerRef:u,open:c,onOpenChange:p,onOpenToggle:tt(()=>p(f=>!f),[p]),hasCustomAnchor:l,onCustomAnchorAdd:tt(()=>d(!0),[]),onCustomAnchorRemove:tt(()=>d(!1),[]),modal:a},n))},rv="PopoverTrigger",ov=et((t,e)=>{const{__scopePopover:n,...r}=t,o=Ge(rv,n),i=Zo(n),a=Se(e,o.triggerRef),s=O(Ue.button,rt({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":bl(o.open)},r,{ref:a,onClick:Ee(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:O(lh,rt({asChild:!0},i),s)}),ml="PopoverPortal",[iv,av]=wl(ml,{forceMount:void 0}),sv=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=Ge(ml,e);return O(iv,{scope:e,forceMount:n},O(Bo,{present:n||i.open},O(dh,{asChild:!0,container:o},r)))},En="PopoverContent",cv=et((t,e)=>{const n=av(En,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=Ge(En,t.__scopePopover);return O(Bo,{present:r||i.open},i.modal?O(lv,rt({},o,{ref:e})):O(uv,rt({},o,{ref:e})))}),lv=et((t,e)=>{const n=Ge(En,t.__scopePopover),r=M(null),o=Se(e,r),i=M(!1);return B(()=>{const a=r.current;if(a)return mh(a)},[]),O(tv,{as:Po,allowPinchZoom:!0},O(yl,rt({},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,u=s.button===0&&s.ctrlKey===!0,l=s.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:Ee(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),uv=et((t,e)=>{const n=Ge(En,t.__scopePopover),r=M(!1),o=M(!1);return O(yl,rt({},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 u=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(u))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),yl=et((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:d,...c}=t,p=Ge(En,n),f=Zo(n);return Gf(),O(Jf,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},O(Kf,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},O(uh,rt({"data-state":bl(p.open),role:"dialog",id:p.contentId},f,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 bl(t){return t?"open":"closed"}const dv=nv,fv=ov,pv=sv,hv=cv;function xl(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=xl(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Go(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=xl(t))&&(r&&(r+=" "),r+=e);return r}function mr(){throw new Error("Cycle detected")}var vv=Symbol.for("preact-signals");function Jo(){if(Je>1)Je--;else{for(var t,e=!1;Sn!==void 0;){var n=Sn;for(Sn=void 0,Qo++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&$l(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(Qo=0,Je--,e)throw t}}var q=void 0,Sn=void 0,Je=0,Qo=0,yr=0;function kl(t){if(q!==void 0){var e=t.n;if(e===void 0||e.t!==q)return e={i:0,S:t,p:q.s,n:void 0,t:q,e:void 0,x:void 0,r:e},q.s!==void 0&&(q.s.n=e),q.s=e,t.n=e,32&q.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=q.s,e.n=void 0,q.s.n=e,q.s=e),e}}function ot(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}ot.prototype.brand=vv,ot.prototype.h=function(){return!0},ot.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)},ot.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)}},ot.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}})},ot.prototype.valueOf=function(){return this.value},ot.prototype.toString=function(){return this.value+""},ot.prototype.toJSON=function(){return this.value},ot.prototype.peek=function(){return this.v},Object.defineProperty(ot.prototype,"value",{get:function(){var t=kl(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(q instanceof ae&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){Qo>100&&mr(),this.v=t,this.i++,yr++,Je++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Jo()}}}});function br(t){return new ot(t)}function $l(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 jl(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 El(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 ae(t){ot.call(this,void 0),this.x=t,this.s=void 0,this.g=yr-1,this.f=4}(ae.prototype=new ot).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===yr))return!0;if(this.g=yr,this.f|=1,this.i>0&&!$l(this))return this.f&=-2,!0;var t=q;try{jl(this),q=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 q=t,El(this),this.f&=-2,!0},ae.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)}ot.prototype.S.call(this,t)},ae.prototype.U=function(t){if(this.t!==void 0&&(ot.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)}},ae.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}},ae.prototype.peek=function(){if(this.h()||mr(),16&this.f)throw this.v;return this.v},Object.defineProperty(ae.prototype,"value",{get:function(){1&this.f&&mr();var t=kl(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function _v(t){return new ae(t)}function Sl(t){var e=t.u;if(t.u=void 0,typeof e=="function"){Je++;var n=q;q=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,ti(t),r}finally{q=n,Jo()}}}function ti(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Sl(t)}function gv(t){if(q!==this)throw new Error("Out-of-order effect");El(this),q=t,this.f&=-2,8&this.f&&ti(this),Jo()}function Cn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Cn.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()}},Cn.prototype.S=function(){1&this.f&&mr(),this.f|=1,this.f&=-9,Sl(this),jl(this),Je++;var t=q;return q=this,gv.bind(this,t)},Cn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Sn,Sn=this)},Cn.prototype.d=function(){this.f|=8,1&this.f||ti(this)};function ei(t){var e=new Cn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var ni;function Qe(t,e){S[t]=e.bind(null,S[t]||function(){})}function xr(t){ni&&ni(),ni=t&&t.S()}function Cl(t){var e=this,n=t.data,r=mv(n);r.value=n;var o=at(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var a;!ds(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},_v(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Cl.displayName="_st",Object.defineProperties(ot.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Cl},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Qe("__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 ot&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)}),Qe("__r",function(t,e){xr();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}())),xr(n),t(e)}),Qe("__e",function(t,e,n,r){xr(),t(e,n,r)}),Qe("diffed",function(t,e){xr();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 u in r){var l=i[u],d=r[u];l===void 0?(l=wv(n,u,d,o),i[u]=l):l.o(d,o)}}}t(e)});function wv(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=br(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))})}}Qe("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)}),Qe("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)}),gt.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 mv(t){return at(function(){return br(t)},[])}const tn={config$:br({headerText:"",label:""}),filters$:br({})},Ol="inploi-job-alerts",yv="ija";var bv=["1","2","3","4","5","6","7","8","9","10","11","12"],xv={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]}},kv=(t,e=1,n)=>r=>{const[o,i]=xv[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},Al=t=>{const e=kv(t.hue,t.chroma,t.mode);return Object.fromEntries(bv.map(n=>[t.prefix+n,t.transform(e(n))]))},Pl=t=>t,$v=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)},kr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),ri=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(kr(t)&&kr(n))for(const r in n){const o=n[r];if(kr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];kr(i)&&ri(i,o)}else Object.assign(t,{[r]:n[r]})}return ri(t,...e)},jv=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Ev=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),u=e({theme:o,core:a,raw:{core:s}}),l=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:u}}),d=$v(ri(s,u,l)),c=([p,f],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[oi,ii,Sv]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Cv=Ev().core(({theme:t})=>({color:{transparent:Sv,black:oi,white:ii,lowest:t.mode==="light"?ii:oi,highest:t.mode==="light"?oi:ii,...Al({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:Pl}),...Al({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:Pl})},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(()=>({})),Ov=jv({prefix:"i-"}),Av=t=>{const e=Cv.from({theme:t,getToken:Ov}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${yv} {
|
|
61
|
+
`)},lw=0,tn=[];function uw(t){var e=V([]),n=V([0,0]),r=V(),o=K(lw++)[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=T0([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),b=n.current,m="deltaX"in h?h.deltaX:b[0]-v[0],y="deltaY"in h?h.deltaY:b[1]-v[1],x,k=h.target,S=Math.abs(m)>Math.abs(y)?"h":"v";if("touches"in h&&S==="h"&&k.type==="range")return!1;var $=Kl(S,k);if(!$)return!0;if($?x=S:(x=S==="v"?"h":"v",$=Kl(S,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(m||y)&&(r.current=x),!x)return!0;var j=r.current||x;return aw(j,w,h,j==="h"?m:y,!0)},[]),l=nt(function(h){var w=h;if(!(!tn.length||tn[tn.length-1]!==i)){var v="deltaY"in w?Xl(w):Or(w),b=e.current.filter(function(x){return x.name===w.type&&x.target===w.target&&sw(x.delta,v)})[0];if(b&&b.should){w.cancelable&&w.preventDefault();return}if(!b){var m=(a.current.shards||[]).map(Zl).filter(Boolean).filter(function(x){return x.contains(w.target)}),y=m.length>0?s(w,m[0]):!a.current.noIsolation;y&&w.cancelable&&w.preventDefault()}}},[]),u=nt(function(h,w,v,b){var m={name:h,delta:w,target:v,should:b};e.current.push(m),setTimeout(function(){e.current=e.current.filter(function(y){return y!==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 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 C(J,null,_?C(i,{styles:cw(o)}):null,d?C(Q0,{gapMode:"margin"}):null)}const dw=V0(Wl,uw);var Jl=rt(function(t,e){return C(Sr,Pt({},t,{ref:e,sideCar:dw}))});Jl.classNames=Sr.classNames;const fw=Jl,Ql="Popover",[tu,cm]=al(Ql,[Ml]),bi=Ml(),[pw,en]=tu(Ql),hw=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]=E0({prop:r,defaultProp:o,onChange:i});return C(y0,s,C(pw,{scope:e,contentId:mg(),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))},vw="PopoverTrigger",_w=rt((t,e)=>{const{__scopePopover:n,...r}=t,o=en(vw,n),i=bi(n),a=Ae(e,o.triggerRef),s=C(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:Oe(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:C(b0,it({asChild:!0},i),s)}),eu="PopoverPortal",[gw,ww]=tu(eu,{forceMount:void 0}),mw=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=en(eu,e);return C(gw,{scope:e,forceMount:n},C(_i,{present:n||i.open},C($0,{asChild:!0,container:o},r)))},Tn="PopoverContent",yw=rt((t,e)=>{const n=ww(Tn,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=en(Tn,t.__scopePopover);return C(_i,{present:r||i.open},i.modal?C(bw,it({},o,{ref:e})):C(xw,it({},o,{ref:e})))}),bw=rt((t,e)=>{const n=en(Tn,t.__scopePopover),r=V(null),o=Ae(e,r),i=V(!1);return G(()=>{const a=r.current;if(a)return P0(a)},[]),C(fw,{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})})))}),xw=rt((t,e)=>{const n=en(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=en(Tn,n),d=bi(n);return lg(),C(ug,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},C(ag,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},C(x0,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 $w=hw,kw=_w,jw=mw,Ew=yw;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 Sw=Symbol.for("preact-signals");function $i(){if(nn>1)nn--;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,nn--,e)throw t}}var Z=void 0,Rn=void 0,nn=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=Sw,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++,nn++;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 Cw(t){return new fe(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 Ow(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),nn++;var t=Z;return Z=this,Ow.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 rn(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=Pw(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({}))},Cw(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){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)}),rn("__e",function(t,e,n,r){Rr(),t(e,n,r)}),rn("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=Aw(n,l,f,o),i[l]=u):u.o(f,o)}}}t(e)});function Aw(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))})}}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)}),$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 Pw(t){return lt(function(){return Tr(t)},[])}const on={config$:Tr({headerText:"",label:""}),filters$:Tr({})},du="inploi-job-alerts",Tw="ija";var Rw=["1","2","3","4","5","6","7","8","9","10","11","12"],Dw={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]}},Nw=(t,e=1,n)=>r=>{const[o,i]=Dw[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},fu=t=>{const e=Nw(t.hue,t.chroma,t.mode);return Object.fromEntries(Rw.map(n=>[t.prefix+n,t.transform(e(n))]))},pu=t=>t,Lw=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)},Mw=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Fw=()=>({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=Lw(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,Iw]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Hw=Fw().core(({theme:t})=>({color:{transparent:Iw,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(()=>({})),Vw=Mw({prefix:"i-"}),zw=t=>{const e=Hw.from({theme:t,getToken:Vw}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Tw} {
|
|
62
62
|
${n.concat(n).join(`
|
|
63
63
|
`)}
|
|
64
|
-
}`},
|
|
64
|
+
}`},hu=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},Uw=({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]",Ww=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.",Bw=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})]})),Yw=()=>A("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:on.config$.value.headerText});function vu(){}const Kw=({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(Ww(v)),o("idle")})};return A("div",{id:"ija",children:A("div",{class:hu(t).join(" "),children:A($w,{children:[A(kw,{asChild:!0,children:A(Bw,{})}),A(jw,{children:A("div",{id:"ija",children:A("div",{class:xi("absolute isolate z-50",hu(t).join(" ")),children:A(Ew,{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(Yw,{}),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(Uw,{error:i})]})]})})})})]})})})},qw=`#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
|
-
`,
|
|
1071
|
+
`,_u=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${du}`);return Bs(t,`Element with id ${du} not found.`),t}}),Gw=_u(),Xw=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:_u,jobAlertsPlugin:()=>Li(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:s})=>C(J,{},[[C("style",{id:"inploi-job-alerts-styles"},qw),C("style",{id:"inploi-job-search-theme"},zw(s.theme))],C(P_,{theme:s.theme}),C(Kw,{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:S_(C(J,{},C(o,{params:s})))}),render:async s=>{const l=r?Yo:ze;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(C(o,{params:s}),Gw.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
|