@inploi/plugin-job-search 0.3.0 → 0.4.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 +5 -5
- package/dist/job-search.d.ts +2 -0
- package/dist/plugin-job-search.cjs +22 -9
- package/dist/plugin-job-search.js +22 -9
- package/package.json +2 -2
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,configurable:!0,writable:!0,value:ht}):F[U]=ht;var cr=(F,U,ht)=>(Na(F,typeof U!="symbol"?U+"":U,ht),ht);(function(){"use strict";var F=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function U(t,e){if(!t)throw new Error(e)}function ht(t,e){return t in e}var vo=t=>t,Nt,w,ur,gt,dr,fr,ge,pr,Mt={},_r=[],wo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Gt=Array.isArray;function X(t,e){for(var r in e)t[r]=e[r];return t}function hr(t){var e=t.parentNode;e&&e.removeChild(t)}function V(t,e,r){var n,o,i,a={};for(i in e)i=="key"?n=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?Nt.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return Ht(t,a,n,o,null)}function Ht(t,e,r,n,o){var i={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ur,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(i),i}function gr(){return{current:null}}function T(t){return t.children}function W(t,e){this.props=t,this.context=e}function jt(t,e){if(e==null)return t.__?jt(t.__,t.__i+1):null;for(var r;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?jt(t):null}function vr(t){var e,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return vr(t)}}function ve(t){(!t.__d&&(t.__d=!0)&>.push(t)&&!Jt.__r++||dr!==w.debounceRendering)&&((dr=w.debounceRendering)||fr)(Jt)}function Jt(){var t,e,r,n,o,i,a,l,d;for(gt.sort(ge);t=gt.shift();)t.__d&&(e=gt.length,n=void 0,i=(o=(r=t).__v).__e,l=[],d=[],(a=r.__P)&&((n=X({},o)).__v=o.__v+1,w.vnode&&w.vnode(n),we(a,n,o,r.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,l,i??jt(o),!!(32&o.__u),d),n.__.__k[n.__i]=n,kr(l,n,d),n.__e!=i&&vr(n)),gt.length>e&>.sort(ge));Jt.__r=0}function wr(t,e,r,n,o,i,a,l,d,c,f){var s,p,_,v,g,y=n&&n.__k||_r,h=e.length;for(r.__d=d,yo(r,e,y),d=r.__d,s=0;s<h;s++)(_=r.__k[s])!=null&&typeof _!="boolean"&&typeof _!="function"&&(p=_.__i===-1?Mt:y[_.__i]||Mt,_.__i=s,we(t,_,p,o,i,a,l,d,c,f),v=_.__e,_.ref&&p.ref!=_.ref&&(p.ref&&ye(p.ref,null,_),f.push(_.ref,_.__c||v,_)),g==null&&v!=null&&(g=v),65536&_.__u||p.__k===_.__k?d=yr(_,d,t):typeof _.type=="function"&&_.__d!==void 0?d=_.__d:v&&(d=v.nextSibling),_.__d=void 0,_.__u&=-196609);r.__d=d,r.__e=g}function yo(t,e,r){var n,o,i,a,l,d=e.length,c=r.length,f=c,s=0;for(t.__k=[],n=0;n<d;n++)(o=t.__k[n]=(o=e[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Ht(null,o,null,null,o):Gt(o)?Ht(T,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Ht(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,l=mo(o,r,a=n+s,f),o.__i=l,i=null,l!==-1&&(f--,(i=r[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&s--,typeof o.type!="function"&&(o.__u|=65536)):l!==a&&(l===a+1?s++:l>a?f>d-a?s+=l-a:s--:s=l<a&&l==a-1?l-a:0,l!==n+s&&(o.__u|=65536))):(i=r[n])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=jt(i)),me(i,i,!1),r[n]=null,f--);if(f)for(n=0;n<c;n++)(i=r[n])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=jt(i)),me(i,i))}function yr(t,e,r){var n,o;if(typeof t.type=="function"){for(n=t.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=t,e=yr(n[o],e,r));return e}return t.__e!=e&&(r.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Q(t,e){return e=e||[],t==null||typeof t=="boolean"||(Gt(t)?t.some(function(r){Q(r,e)}):e.push(t)),e}function mo(t,e,r,n){var o=t.key,i=t.type,a=r-1,l=r+1,d=e[r];if(d===null||d&&o==d.key&&i===d.type)return r;if(n>(d!=null&&!(131072&d.__u)?1:0))for(;a>=0||l<e.length;){if(a>=0){if((d=e[a])&&!(131072&d.__u)&&o==d.key&&i===d.type)return a;a--}if(l<e.length){if((d=e[l])&&!(131072&d.__u)&&o==d.key&&i===d.type)return l;l++}}return-1}function mr(t,e,r){e[0]==="-"?t.setProperty(e,r??""):t[e]=r==null?"":typeof r!="number"||wo.test(e)?r:r+"px"}function Xt(t,e,r,n,o){var i;t:if(e==="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof n=="string"&&(t.style.cssText=n=""),n)for(e in n)r&&e in r||mr(t.style,e,"");if(r)for(e in r)n&&r[e]===n[e]||mr(t.style,e,r[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]=r,r?n?r.u=n.u:(r.u=Date.now(),t.addEventListener(e,i?xr:br,i)):t.removeEventListener(e,i?xr:br,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]=r??"";break t}catch{}typeof r=="function"||(r==null||r===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,r))}}function br(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(w.event?w.event(t):t)}function xr(t){return this.l[t.type+!0](w.event?w.event(t):t)}function we(t,e,r,n,o,i,a,l,d,c){var f,s,p,_,v,g,y,h,E,m,k,S,j,C,b,x=e.type;if(e.constructor!==void 0)return null;128&r.__u&&(d=!!(32&r.__u),i=[l=e.__e=r.__e]),(f=w.__b)&&f(e);t:if(typeof x=="function")try{if(h=e.props,E=(f=x.contextType)&&n[f.__c],m=f?E?E.props.value:f.__:n,r.__c?y=(s=e.__c=r.__c).__=s.__E:("prototype"in x&&x.prototype.render?e.__c=s=new x(h,m):(e.__c=s=new W(h,m),s.constructor=x,s.render=xo),E&&E.sub(s),s.props=h,s.state||(s.state={}),s.context=m,s.__n=n,p=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),x.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=X({},s.__s)),X(s.__s,x.getDerivedStateFromProps(h,s.__s))),_=s.props,v=s.state,s.__v=e,p)x.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(x.getDerivedStateFromProps==null&&h!==_&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(h,m),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(h,s.__s,m)===!1||e.__v===r.__v)){for(e.__v!==r.__v&&(s.props=h,s.state=s.__s,s.__d=!1),e.__e=r.__e,e.__k=r.__k,e.__k.forEach(function(A){A&&(A.__=e)}),k=0;k<s._sb.length;k++)s.__h.push(s._sb[k]);s._sb=[],s.__h.length&&a.push(s);break t}s.componentWillUpdate!=null&&s.componentWillUpdate(h,s.__s,m),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(_,v,g)})}if(s.context=m,s.props=h,s.__P=t,s.__e=!1,S=w.__r,j=0,"prototype"in x&&x.prototype.render){for(s.state=s.__s,s.__d=!1,S&&S(e),f=s.render(s.props,s.state,s.context),C=0;C<s._sb.length;C++)s.__h.push(s._sb[C]);s._sb=[]}else do s.__d=!1,S&&S(e),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++j<25);s.state=s.__s,s.getChildContext!=null&&(n=X(X({},n),s.getChildContext())),p||s.getSnapshotBeforeUpdate==null||(g=s.getSnapshotBeforeUpdate(_,v)),wr(t,Gt(b=f!=null&&f.type===T&&f.key==null?f.props.children:f)?b:[b],e,r,n,o,i,a,l,d,c),s.base=e.__e,e.__u&=-161,s.__h.length&&a.push(s),y&&(s.__E=s.__=null)}catch(A){e.__v=null,d||i!=null?(e.__e=l,e.__u|=d?160:32,i[i.indexOf(l)]=null):(e.__e=r.__e,e.__k=r.__k),w.__e(A,e,r)}else i==null&&e.__v===r.__v?(e.__k=r.__k,e.__e=r.__e):e.__e=bo(r.__e,e,r,n,o,i,a,d,c);(f=w.diffed)&&f(e)}function kr(t,e,r){e.__d=void 0;for(var n=0;n<r.length;n++)ye(r[n],r[++n],r[++n]);w.__c&&w.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){w.__e(i,o.__v)}})}function bo(t,e,r,n,o,i,a,l,d){var c,f,s,p,_,v,g,y=r.props,h=e.props,E=e.type;if(E==="svg"&&(o=!0),i!=null){for(c=0;c<i.length;c++)if((_=i[c])&&"setAttribute"in _==!!E&&(E?_.localName===E:_.nodeType===3)){t=_,i[c]=null;break}}if(t==null){if(E===null)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,h.is&&h),i=null,l=!1}if(E===null)y===h||l&&t.data===h||(t.data=h);else{if(i=i&&Nt.call(t.childNodes),y=r.props||Mt,!l&&i!=null)for(y={},c=0;c<t.attributes.length;c++)y[(_=t.attributes[c]).name]=_.value;for(c in y)_=y[c],c=="children"||(c=="dangerouslySetInnerHTML"?s=_:c==="key"||c in h||Xt(t,c,null,_,o));for(c in h)_=h[c],c=="children"?p=_:c=="dangerouslySetInnerHTML"?f=_:c=="value"?v=_:c=="checked"?g=_:c==="key"||l&&typeof _!="function"||y[c]===_||Xt(t,c,_,y[c],o);if(f)l||s&&(f.__html===s.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(s&&(t.innerHTML=""),wr(t,Gt(p)?p:[p],e,r,n,o&&E!=="foreignObject",i,a,i?i[0]:r.__k&&jt(r,0),l,d),i!=null)for(c=i.length;c--;)i[c]!=null&&hr(i[c]);l||(c="value",v!==void 0&&(v!==t[c]||E==="progress"&&!v||E==="option"&&v!==y[c])&&Xt(t,c,v,y[c],!1),c="checked",g!==void 0&&g!==t[c]&&Xt(t,c,g,y[c],!1))}return t}function ye(t,e,r){try{typeof t=="function"?t(e):t.current=e}catch(n){w.__e(n,r)}}function me(t,e,r){var n,o;if(w.unmount&&w.unmount(t),(n=t.ref)&&(n.current&&n.current!==t.__e||ye(n,null,e)),(n=t.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){w.__e(i,e)}n.base=n.__P=null,t.__c=void 0}if(n=t.__k)for(o=0;o<n.length;o++)n[o]&&me(n[o],e,r||typeof t.type!="function");r||t.__e==null||hr(t.__e),t.__=t.__e=t.__d=void 0}function xo(t,e,r){return this.constructor(t,r)}function Et(t,e,r){var n,o,i,a;w.__&&w.__(t,e),o=(n=typeof r=="function")?null:r&&r.__k||e.__k,i=[],a=[],we(e,t=(!n&&r||e).__k=V(T,null,[t]),o||Mt,Mt,e.ownerSVGElement!==void 0,!n&&r?[r]:o?null:e.firstChild?Nt.call(e.childNodes):null,i,!n&&r?r:o?o.__e:e.firstChild,n,a),kr(i,t,a)}function be(t,e){Et(t,e,be)}function ko(t,e,r){var n,o,i,a,l=X({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?n=e[i]:i=="ref"?o=e[i]:l[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(l.children=arguments.length>3?Nt.call(arguments,2):r),Ht(t.type,l,n||t.key,o||t.ref,null)}function xe(t,e){var r={__c:e="__cC"+pr++,__:t,Consumer:function(n,o){return n.children(o)},Provider:function(n){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(l){l.__e=!0,ve(l)})},this.sub=function(a){o.push(a);var l=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),l&&l.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Nt=_r.slice,w={__e:function(t,e,r,n){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,n||{}),a=o.__d),a)return o.__E=o}catch(l){t=l}throw t}},ur=0,W.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=X({},this.state),typeof t=="function"&&(t=t(X({},r),this.props)),t&&X(r,t),t!=null&&this.__v&&(e&&this._sb.push(e),ve(this))},W.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ve(this))},W.prototype.render=T,gt=[],fr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ge=function(t,e){return t.__v.__b-e.__v.__b},Jt.__r=0,pr=0;var jr=/[\s\n\\/='"\0<>]/,Er=/^(xlink|xmlns|xml)([A-Z])/,jo=/^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]/,Eo=/^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/,So=/["&<]/;function Qt(t){if(t.length===0||So.test(t)===!1)return t;for(var e=0,r=0,n="",o="";r<t.length;r++){switch(t.charCodeAt(r)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}r!==e&&(n+=t.slice(e,r)),n+=o,e=r+1}return r!==e&&(n+=t.slice(e,r)),n}var Sr={},Co=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"]),Oo=/[A-Z]/g;function To(t){var e="";for(var r in t){var n=t[r];if(n!=null&&n!==""){var o=r[0]=="-"?r:Sr[r]||(Sr[r]=r.replace(Oo,"-$&").toLowerCase()),i=";";typeof n!="number"||o.startsWith("--")||Co.has(o)||(i="px;"),e=e+o+":"+n+i}}return e||void 0}var ke,vt,It,wt,Cr=[],Or=Array.isArray,je=Object.assign;function Ro(t,e){var r=w.__s;w.__s=!0,ke=w.__b,vt=w.diffed,It=w.__r,wt=w.unmount;var n=V(T,null);n.__k=[t];try{return yt(t,e||Rr,!1,void 0,n)}finally{w.__c&&w.__c(t,Cr),w.__s=r,Cr.length=0}}function Tr(){this.__d=!0}var Rr={};function Ar(t,e){var r,n=t.type,o=!0;return t.__c?(o=!1,(r=t.__c).state=r.__s):r=new n(t.props,e),t.__c=r,r.__v=t,r.props=t.props,r.context=e,r.__d=!0,r.state==null&&(r.state=Rr),r.__s==null&&(r.__s=r.state),n.getDerivedStateFromProps?r.state=je({},r.state,n.getDerivedStateFromProps(r.props,r.state)):o&&r.componentWillMount?(r.componentWillMount(),r.state=r.__s!==r.state?r.__s:r.state):!o&&r.componentWillUpdate&&r.componentWillUpdate(),It&&It(t),r.render(r.props,r.state,e)}function yt(t,e,r,n,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Qt(t+"");if(Or(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var l=t[a];l!=null&&typeof l!="boolean"&&(i+=yt(l,e,r,n,o))}return i}if(t.constructor!==void 0)return"";t.__=o,ke&&ke(t);var d,c,f,s=t.type,p=t.props,_=e;if(typeof s=="function"){if(s===T){if(p.tpl){for(var v="",g=0;g<p.tpl.length;g++)if(v+=p.tpl[g],p.exprs&&g<p.exprs.length){var y=p.exprs[g];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Or(y)?v+=y:v+=yt(y,e,r,n,t)}return v}if(p.UNSTABLE_comment)return"<!--"+Qt(p.UNSTABLE_comment||"")+"-->";c=p.children}else{if((d=s.contextType)!=null){var h=e[d.__c];_=h?h.props.value:d.__}if(s.prototype&&typeof s.prototype.render=="function")c=Ar(t,_),f=t.__c;else{t.__c=f={__v:t,props:p,context:_,setState:Tr,forceUpdate:Tr,__d:!0,__h:[]};for(var E=0;f.__d&&E++<25;)f.__d=!1,It&&It(t),c=s.call(f,p,_);f.__d=!0}if(f.getChildContext!=null&&(e=je({},e,f.getChildContext())),(s.getDerivedStateFromError||f.componentDidCatch)&&w.errorBoundaries){var m="";c=c!=null&&c.type===T&&c.key==null?c.props.children:c;try{return m=yt(c,e,r,n,t)}catch(A){return s.getDerivedStateFromError&&(f.__s=s.getDerivedStateFromError(A)),f.componentDidCatch&&f.componentDidCatch(A,{}),f.__d&&(c=Ar(t,e),(f=t.__c).getChildContext!=null&&(e=je({},e,f.getChildContext())),m=yt(c=c!=null&&c.type===T&&c.key==null?c.props.children:c,e,r,n,t)),m}finally{vt&&vt(t),t.__=void 0,wt&&wt(t)}}}var k=yt(c=c!=null&&c.type===T&&c.key==null?c.props.children:c,e,r,n,t);return vt&&vt(t),t.__=void 0,wt&&wt(t),k}var S,j="<"+s,C="";for(var b in p){var x=p[b];switch(b){case"children":S=x;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",s){case"textarea":S=x;continue;case"select":n=x;continue;case"option":n!=x||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":C=x&&x.__html;continue;case"style":typeof x=="object"&&(x=To(x));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(Er.test(b))b=b.replace(Er,"$1:$2").toLowerCase();else{if(jr.test(b))continue;b[4]!=="-"&&b!=="draggable"||x==null?r?Eo.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):jo.test(b)&&(b=b.toLowerCase()):x+=""}}x!=null&&x!==!1&&typeof x!="function"&&(j=x===!0||x===""?j+" "+b:j+" "+b+'="'+Qt(x+"")+'"')}if(jr.test(s))throw new Error(s+" is not a valid HTML tag name in "+j+">");return C||(typeof S=="string"?C=Qt(S):S!=null&&S!==!1&&S!==!0&&(C=yt(S,e,s==="svg"||s!=="foreignObject"&&r,n,t))),vt&&vt(t),t.__=void 0,wt&&wt(t),!C&&Ao.has(s)?j+"/>":j+">"+C+"</"+s+">"}var Ao=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ee=class extends Error{constructor(e){super(e[0].message);cr(this,"issues");this.name="ValiError",this.issues=e}};function Dr(t,e){return{...t,_parse(r,n){return t._parse(e(r),n)}}}function te(t){return{issues:t}}function St(t){return{output:t}}function Do(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 Lo(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 st(t,e,r,n){if(!e||!e.length||r!=null&&r.skipPipe)return St(t);let o,i,a=t;for(const l of e){const d=l._parse(a);if(d.issues){o=o||Lo(r,n);for(const c of d.issues){const f=Do(o,c);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=d.output}return i?te(i):St(a)}function lt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function $o(t){return typeof t=="function"?t():t}function Po(t,e,r){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=lt(e,r);return[t,i,a]}const[n,o]=lt(t,e);return[void 0,n,o]}function ct(t,e,r,n,o,i){return{issues:[{reason:e,validation:r,origin:(t==null?void 0:t.origin)||"value",message:$o(n),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 Lr(t){return typeof t.default=="function"?t.default():t.default}function Vo(t){return{type:"any",async:!1,pipe:t,_parse(e,r){return st(e,this.pipe,r,"any")}}}function $r(t,e,r){const[n="Invalid type",o]=lt(e,r);return{type:"array",async:!1,item:t,message:n,pipe:o,_parse(i,a){if(!Array.isArray(i))return ct(a,"type","array",this.message,i);let l;const d=[];for(let c=0;c<i.length;c++){const f=i[c],s=this.item._parse(f,a);if(s.issues){const p={type:"array",input:i,key:c,value:f};for(const _ of s.issues)_.path?_.path.unshift(p):_.path=[p],l==null||l.push(_);if(l||(l=s.issues),a!=null&&a.abortEarly)break}else d.push(s.output)}return l?te(l):st(d,this.pipe,a,"array")}}}function Pr(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"boolean",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="boolean"?ct(i,"type","boolean",this.message,o):st(o,this.pipe,i,"boolean")}}}function ut(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(r,n){return r!==this.literal?ct(n,"type","literal",this.message,r):St(r)}}}function Ct(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(r,n){if(r===null){const o=Lr(this);if(o===void 0)return St(r);r=o}return this.wrapped._parse(r,n)}}}function Ft(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"number",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="number"||isNaN(o)?ct(i,"type","number",this.message,o):st(o,this.pipe,i,"number")}}}function ee(t,e,r,n){const[o,i="Invalid type",a]=Po(e,r,n);let l;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(d,c){if(!d||typeof d!="object")return ct(c,"type","object",this.message,d);l=l||Object.entries(this.entries);let f;const s={};for(const[p,_]of l){const v=d[p],g=_._parse(v,c);if(g.issues){const y={type:"object",input:d,key:p,value:v};for(const h of g.issues)h.path?h.path.unshift(y):h.path=[y],f==null||f.push(h);if(f||(f=g.issues),c!=null&&c.abortEarly)break}else(g.output!==void 0||p in d)&&(s[p]=g.output)}if(this.rest&&!(c!=null&&c.abortEarly&&f)){for(const p in d)if(!(p in this.entries)){const _=d[p],v=this.rest._parse(_,c);if(v.issues){const g={type:"object",input:d,key:p,value:_};for(const y of v.issues)y.path?y.path.unshift(g):y.path=[g],f==null||f.push(y);if(f||(f=v.issues),c!=null&&c.abortEarly)break}else s[p]=v.output}}return f?te(f):st(s,this.pipe,c,"object")}}}function Ot(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(r,n){if(r===void 0){const o=Lr(this);if(o===void 0)return St(r);r=o}return this.wrapped._parse(r,n)}}}function P(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"string",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="string"?ct(i,"type","string",this.message,o):st(o,this.pipe,i,"string")}}}function No(t,e,r,n){if(typeof e=="object"&&!Array.isArray(e)){const[a,l]=lt(r,n);return[t,e,a,l]}const[o,i]=lt(e,r);return[P(),t,o,i]}var Mo=["__proto__","prototype","constructor"];function Vr(t,e,r,n){const[o,i,a="Invalid type",l]=No(t,e,r,n);return{type:"record",async:!1,key:o,value:i,message:a,pipe:l,_parse(d,c){if(!d||typeof d!="object")return ct(c,"type","record",this.message,d);let f;const s={};for(const[p,_]of Object.entries(d))if(!Mo.includes(p)){let v;const g=this.key._parse(p,{origin:"key",abortEarly:c==null?void 0:c.abortEarly,abortPipeEarly:c==null?void 0:c.abortPipeEarly,skipPipe:c==null?void 0:c.skipPipe});if(g.issues){v={type:"record",input:d,key:p,value:_};for(const h of g.issues)h.path=[v],f==null||f.push(h);if(f||(f=g.issues),c!=null&&c.abortEarly)break}const y=this.value._parse(_,c);if(y.issues){v=v||{type:"record",input:d,key:p,value:_};for(const h of y.issues)h.path?h.path.unshift(v):h.path=[v],f==null||f.push(h);if(f||(f=y.issues),c!=null&&c.abortEarly)break}!g.issues&&!y.issues&&(s[g.output]=y.output)}return f?te(f):st(s,this.pipe,c,"record")}}}function Nr(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(r,n){let o,i;for(const a of this.options){const l=a._parse(r,n);if(l.issues)if(o)for(const d of l.issues)o.push(d);else o=l.issues;else{i=[l.output];break}}return i?St(i[0]):ct(n,"type","union",this.message,r,o)}}}function Mr(t,e,r){const n=t._parse(e,r);if(n.issues)throw new Ee(n.issues);return n.output}function Hr(t,e,r){return{...t,_parse(n,o){const i=t._parse(n,o);if(i.issues)return i;const a=e(i.output);return r&&!Array.isArray(r)?r._parse(a,o):st(a,r,o,typeof a)}}}const Ir="inploi-job-search",Fr="ijs",re=10,Ho=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Io=({from:t=new Date,to:e,formatter:r=Ho})=>{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?r.format(i.days,"days"):Math.abs(i.days)<3?r.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},Fo=1e3*60*60*24*7,Uo=Vr($r(ee({label:Dr(P(),String),value:Dr(P(),String)}))),zo=ee({total:Ft(),current_page:Ft(),per_page:Ft(),last_page:Ft()}),Ur={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Wo=ee({id:Ft(),company_name:P(),employment_type:P(),location_type:Nr([ut("LOCATION"),ut("REMOTE"),ut("HYBRID")]),pay_type:Nr([ut("ANNUALLY"),ut("HOURLY"),ut("MONTHLY"),ut("WEEKLY"),ut("DAILY")]),pay_currency:P(),pay_mask:Pr(),pay_display:Pr(),pay:Ct(P()),pay_min:Ct(P()),pay_max:Ct(P()),description:P(),title:P(),contract_type:Ct(P()),created_at:Ct(P()),custom_data:Ct(Vr(Vo())),href:P(),industry:Ot(P()),category:Ot(P()),skills:Ot(P()),town:Ot(P()),city:Ot(P()),country:Ot(P())}),Bo=Hr(Wo,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-Fo:!1,r=new Intl.NumberFormat(void 0,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"}),n=(()=>{if(t.pay_display!==!1){if(t.pay_mask)return"Competitive";if(t.pay_max&&t.pay_min)return[r.formatRange(+t.pay_min,+t.pay_max),Ur[t.pay_type]].join(" ");if(t.pay)return[r.format(+t.pay),Ur[t.pay_type]].join(" ");if(!(!t.pay&&!t.pay_min&&!t.pay_max))throw new Error("Invalid pay data")}})();return{raw:t,id:t.id,isNew:e,company:{name:t.company_name},employmentType:t.employment_type,locationType:t.location_type,pay:n,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Io({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Ko=Hr(ee({data:$r(Bo),pagination:zo}),t=>({pagination:t.pagination,results:t.data})),zr=t=>Object.fromEntries(Object.entries(t).map(([e,r])=>[e,(r==null?void 0:r.value)??null])),Wr=async({apiClient:t,filters:e,logger:r,signal:n})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:zr(e)}),signal:n});return Mr(Uo,o)}catch(o){throw o instanceof Ee?r.error(o.message,o.issues):r.error(o),o}},Br=async({apiClient:t,logger:e,signal:r,filters:n,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${re}`,{method:"POST",body:JSON.stringify({filters:zr(n)}),signal:r});return Mr(Ko,i)}catch(i){throw i instanceof Ee?e.error(i.message,i.issues):e.error(i),i}},Se=t=>{if(t.error)return{state:"error",error:t.error};if(t.isLoading&&t.data===void 0)return{state:"loading"};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data};throw new Error("Unhandled data state")},Ce={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function Kr(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=Kr(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function Oe(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=Kr(t))&&(n&&(n+=" "),n+=e);return n}const Yr=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Yo=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var l,d;return typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Oe(i)):typeof(t==null||(d=t.hooks)===null||d===void 0?void 0:d.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Oe(i)):Oe(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return l=>{const d=Object.fromEntries(Object.entries(l||{}).filter(c=>{let[f]=c;return!["class","className"].includes(f)}));return e(i.map(c=>c(d)),l==null?void 0:l.class,l==null?void 0:l.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:l,defaultVariants:d}=o,c=Object.keys(l).map(p=>{const _=i==null?void 0:i[p],v=d==null?void 0:d[p],g=Yr(_)||Yr(v);return l[p][g]}),f={...d,...i&&Object.entries(i).reduce((p,_)=>{let[v,g]=_;return typeof g>"u"?p:{...p,[v]:g}},{})},s=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,_)=>{let{class:v,className:g,...y}=_;return Object.entries(y).every(h=>{let[E,m]=h;const k=f[E];return Array.isArray(m)?m.includes(k):k===m})?[...p,v,g]:p},[]);return e(o==null?void 0:o.base,c,s,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:Ma,cva:dt,cx:Ha}=Yo(),Ut=dt({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:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}});var qo=0;function u(t,e,r,n,o,i){var a,l,d={};for(l in e)l=="ref"?a=e[l]:d[l]=e[l];var c={type:t,props:d,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--qo,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(l in a)d[l]===void 0&&(d[l]=a[l]);return w.vnode&&w.vnode(c),c}const Zo=({error:t,resetError:e})=>u("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:[u("p",{children:t.message}),u("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ne=({error:t,resetError:e})=>u("div",{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:[u("p",{class:"text-neutral-11",children:["An error occured: ",t.message]}),u("button",{class:Ut({variant:"neutral",size:"lg",class:"border-px flex flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:e,children:"Retry"})]});class zt extends W{constructor(){super(...arguments);cr(this,"state",{error:null})}static getDerivedStateFromError(r){return{error:r.message}}componentDidCatch(r){this.setState({error:r})}render(){if(this.state.error){const{Fallback:r}=this.props;return u(r,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const Go={briefcase:u(T,{children:[u("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"}),u("path",{d:"M4.75 11.75H19.25"}),u("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),u("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:u(T,{children:[u("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"}),u("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"}),u("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),u("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),u("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),u("circle",{cx:"18.75",cy:"12",r:"2"}),u("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:u(T,{children:[u("path",{d:"M16.75 10.25H13.75"}),u("path",{d:"M16.75 13.25H13.75"}),u("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"}),u("path",{d:"M10.25 12.25V18.25"})]}),circles:u(T,{children:[u("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"}),u("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:u(T,{children:[u("path",{d:"M14 9L12 13L9.5 12"}),u("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:u(T,{children:u("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:u(T,{children:[u("path",{d:"M5 13.75H19"}),u("path",{d:"M5 10.25H19"}),u("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"}),u("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:u(T,{children:[u("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"}),u("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"}),u("path",{d:"M16 16L19 19"})]}),mapPin:u(T,{children:u(T,{children:[u("circle",{cx:"12",cy:"9",r:"2"}),u("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"}),u("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:u(T,{children:[u("path",{d:"M18.5 8.5L17.5 9.5"}),u("path",{d:"M5.5 8.5L6.5 9.5"}),u("path",{d:"M12 6L12 7.5"}),u("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"}),u("path",{d:"M20.25 15.25H12H3.75"}),u("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:u("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:u("path",{d:"M12 8V16M8 12H16"}),"chevron-right":u("path",{d:"M11 8L15 12L11 16"})},Jo=({theme:t})=>u("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:u("defs",{children:Object.entries(Go).map(([e,r])=>{var n;return u("symbol",{id:`i-icon-${e}`,children:u("g",{fill:"none","stroke-width":t.mode==="dark"&&((n=t.accessibility)==null?void 0:n.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:r})})})})}),ft=({name:t,...e})=>u("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:u("use",{href:`#i-icon-${t}`})});var tt,R,Te,qr,Tt=0,Zr=[],oe=[],Gr=w.__b,Jr=w.__r,Xr=w.diffed,Qr=w.__c,tn=w.unmount;function mt(t,e){w.__h&&w.__h(R,t,Tt||e),Tt=0;var r=R.__H||(R.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({__V:oe}),r.__[t]}function q(t){return Tt=1,Re(on,t)}function Re(t,e,r){var n=mt(tt++,2);if(n.t=t,!n.__c&&(n.__=[r?r(e):on(void 0,e),function(l){var d=n.__N?n.__N[0]:n.__[0],c=n.t(d,l);d!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=R,!R.u)){var o=function(l,d,c){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,l,d,c);var s=!1;return f.forEach(function(p){if(p.__N){var _=p.__[0];p.__=p.__N,p.__N=void 0,_!==p.__[0]&&(s=!0)}}),!(!s&&n.__c.props===l)&&(!i||i.call(this,l,d,c))};R.u=!0;var i=R.shouldComponentUpdate,a=R.componentWillUpdate;R.componentWillUpdate=function(l,d,c){if(this.__e){var f=i;i=void 0,o(l,d,c),i=f}a&&a.call(this,l,d,c)},R.shouldComponentUpdate=o}return n.__N||n.__}function bt(t,e){var r=mt(tt++,3);!w.__s&&$e(r.__H,e)&&(r.__=t,r.i=e,R.__H.__h.push(r))}function xt(t,e){var r=mt(tt++,4);!w.__s&&$e(r.__H,e)&&(r.__=t,r.i=e,R.__h.push(r))}function B(t){return Tt=5,kt(function(){return{current:t}},[])}function en(t,e,r){Tt=6,xt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},r==null?r:r.concat(t))}function kt(t,e){var r=mt(tt++,7);return $e(r.__H,e)?(r.__V=t(),r.i=e,r.__h=t,r.__V):r.__}function Rt(t,e){return Tt=8,kt(function(){return t},e)}function Ae(t){var e=R.context[t.__c],r=mt(tt++,9);return r.c=t,e?(r.__==null&&(r.__=!0,e.sub(R)),e.props.value):t.__}function De(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)}function Xo(t){var e=mt(tt++,10),r=q();return e.__=t,R.componentDidCatch||(R.componentDidCatch=function(n,o){e.__&&e.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function rn(){var t=mt(tt++,11);if(!t.__){for(var e=R.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var r=e.__m||(e.__m=[0,0]);t.__="P"+r[0]+"-"+r[1]++}return t.__}function Qo(){for(var t;t=Zr.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ie),t.__H.__h.forEach(Le),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}w.__b=function(t){R=null,Gr&&Gr(t)},w.__r=function(t){Jr&&Jr(t),tt=0;var e=(R=t.__c).__H;e&&(Te===R?(e.__h=[],R.__h=[],e.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=oe,r.__N=r.i=void 0})):(e.__h.forEach(ie),e.__h.forEach(Le),e.__h=[],tt=0)),Te=R},w.diffed=function(t){Xr&&Xr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Zr.push(e)!==1&&qr===w.requestAnimationFrame||((qr=w.requestAnimationFrame)||ti)(Qo)),e.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==oe&&(r.__=r.__V),r.i=void 0,r.__V=oe})),Te=R=null},w.__c=function(t,e){e.some(function(r){try{r.__h.forEach(ie),r.__h=r.__h.filter(function(n){return!n.__||Le(n)})}catch(n){e.some(function(o){o.__h&&(o.__h=[])}),e=[],w.__e(n,r.__v)}}),Qr&&Qr(t,e)},w.unmount=function(t){tn&&tn(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ie(n)}catch(o){e=o}}),r.__H=void 0,e&&w.__e(e,r.__v))};var nn=typeof requestAnimationFrame=="function";function ti(t){var e,r=function(){clearTimeout(n),nn&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(r,100);nn&&(e=requestAnimationFrame(r))}function ie(t){var e=R,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),R=e}function Le(t){var e=R;t.__c=t.__(),R=e}function $e(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function on(t,e){return typeof e=="function"?e(t):e}const ae=t=>{const e=Object.entries(t.filter).sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>{var o;return(n==null?void 0:n.select)==="many"?`${r}=${(o=n.value)==null?void 0:o.sort().join("|")}`:`${r}=${n==null?void 0:n.value}`}).join("&");return`${t.baseKey}::${e}`};function an(t,e){for(var r in e)t[r]=e[r];return t}function Pe(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function se(t){this.props=t}function sn(t,e){function r(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:Pe(this.props,o)}function n(o){return this.shouldComponentUpdate=r,V(t,o)}return n.displayName="Memo("+(t.displayName||t.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(se.prototype=new W).isPureReactComponent=!0,se.prototype.shouldComponentUpdate=function(t,e){return Pe(this.props,t)||Pe(this.state,e)};var ln=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),ln&&ln(t)};var ei=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function cn(t){function e(r){var n=an({},r);return delete n.ref,t(n,r.ref||null)}return e.$$typeof=ei,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var un=function(t,e){return t==null?null:Q(Q(t).map(e))},dn={map:un,forEach:un,count:function(t){return t?Q(t).length:0},only:function(t){var e=Q(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Q},ri=w.__e;w.__e=function(t,e,r,n){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),o.__c(t,e)}ri(t,e,r,n)};var fn=w.unmount;function pn(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),t.__c.__H=null),(t=an({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(n){return pn(n,e,r)})),t}function _n(t,e,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(n){return _n(n,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}function Wt(){this.__u=0,this.t=null,this.__b=null}function hn(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function gn(t){var e,r,n;function o(i){if(e||(e=t()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw e;return V(r,i)}return o.displayName="Lazy",o.__f=!0,o}function At(){this.u=null,this.o=null}w.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),fn&&fn(t)},(Wt.prototype=new W).__c=function(t,e){var r=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=hn(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(l):l())};r.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=_n(d,d.__c.__P,d.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.t.pop();)c.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(a,a)},Wt.prototype.componentWillUnmount=function(){this.t=[]},Wt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=pn(this.__b,r,n.__O=n.__P)}this.__b=null}var o=e.__a&&V(T,null,t.fallback);return o&&(o.__u&=-33),[V(T,null,e.__a?null:t.children),o]};var vn=function(t,e,r){if(++r[1]===r[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(r=t.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.u=r=r[2]}};function ni(t){return this.getChildContext=function(){return t.context},t.children}function oi(t){var e=this,r=t.i;e.componentWillUnmount=function(){Et(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),Et(V(ni,{context:e.context},t.__v),e.l)}function wn(t,e){var r=V(oi,{__v:t,i:e});return r.containerInfo=e,r}(At.prototype=new W).__a=function(t){var e=this,r=hn(e.__v),n=e.o.get(t);return n[0]++,function(o){var i=function(){e.props.revealOrder?(n.push(o),vn(e,t,n)):o()};r?r(i):i()}},At.prototype.render=function(t){this.u=null,this.o=new Map;var e=Q(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.o.set(e[r],this.u=[1,0,this.u]);return t.children},At.prototype.componentDidUpdate=At.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,r){vn(t,r,e)})};var yn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ii=/^(?: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]/,ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,si=/[A-Z0-9]/g,li=typeof document<"u",ci=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function mn(t,e,r){return e.__k==null&&(e.textContent=""),Et(t,e),typeof r=="function"&&r(),t?t.__c:null}function bn(t,e,r){return be(t,e),typeof r=="function"&&r(),t?t.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(W.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var xn=w.event;function ui(){}function di(){return this.cancelBubble}function fi(){return this.defaultPrevented}w.event=function(t){return xn&&(t=xn(t)),t.persist=ui,t.isPropagationStopped=di,t.isDefaultPrevented=fi,t.nativeEvent=t};var Ve,pi={enumerable:!1,configurable:!0,get:function(){return this.class}},kn=w.vnode;w.vnode=function(t){typeof t.type=="string"&&function(e){var r=e.props,n=e.type,o={};for(var i in r){var a=r[i];if(!(i==="value"&&"defaultValue"in r&&a==null||li&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||ci(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":ai.test(i)?i=l:n.indexOf("-")===-1&&ii.test(i)?i=i.replace(si,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=a}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.value.indexOf(d.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.multiple?o.defaultValue.indexOf(d.props.value)!=-1:o.defaultValue==d.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",pi)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),e.props=o}(t),t.$$typeof=yn,kn&&kn(t)};var jn=w.__r;w.__r=function(t){jn&&jn(t),Ve=t.__c};var En=w.diffed;w.diffed=function(t){En&&En(t);var e=t.props,r=t.__e;r!=null&&t.type==="textarea"&&"value"in e&&e.value!==r.value&&(r.value=e.value==null?"":e.value),Ve=null};var Sn={ReactCurrentDispatcher:{current:{readContext:function(t){return Ve.__n[t.__c].props.value}}}},_i="17.0.2";function Cn(t){return V.bind(null,t)}function Bt(t){return!!t&&t.$$typeof===yn}function On(t){return Bt(t)&&t.type===T}function Tn(t){return Bt(t)?ko.apply(null,arguments):t}function Rn(t){return!!t.__k&&(Et(null,t),!0)}function An(t){return t&&(t.base||t.nodeType===1&&t)||null}var Dn=function(t,e){return t(e)},Ln=function(t,e){return t(e)},$n=T;function Ne(t){t()}function Pn(t){return t}function Vn(){return[!1,Ne]}var Nn=xt,Mn=Bt;function Hn(t,e){var r=e(),n=q({h:{__:r,v:e}}),o=n[0].h,i=n[1];return xt(function(){o.__=r,o.v=e,Me(o)&&i({h:o})},[t,r,e]),bt(function(){return Me(o)&&i({h:o}),t(function(){Me(o)&&i({h:o})})},[t]),r}function Me(t){var e,r,n=t.v,o=t.__;try{var i=n();return!((e=o)===(r=i)&&(e!==0||1/e==1/r)||e!=e&&r!=r)}catch{return!0}}var le={useState:q,useId:rn,useReducer:Re,useEffect:bt,useLayoutEffect:xt,useInsertionEffect:Nn,useTransition:Vn,useDeferredValue:Pn,useSyncExternalStore:Hn,startTransition:Ne,useRef:B,useImperativeHandle:en,useMemo:kt,useCallback:Rt,useContext:Ae,useDebugValue:De,version:"17.0.2",Children:dn,render:mn,hydrate:bn,unmountComponentAtNode:Rn,createPortal:wn,createElement:V,createContext:xe,createFactory:Cn,cloneElement:Tn,createRef:gr,Fragment:T,isValidElement:Bt,isElement:Mn,isFragment:On,findDOMNode:An,Component:W,PureComponent:se,memo:sn,forwardRef:cn,flushSync:Ln,unstable_batchedUpdates:Dn,StrictMode:$n,Suspense:Wt,SuspenseList:At,lazy:gn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sn};const hi=Object.freeze(Object.defineProperty({__proto__:null,Children:dn,Component:W,Fragment:T,PureComponent:se,StrictMode:$n,Suspense:Wt,SuspenseList:At,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sn,cloneElement:Tn,createContext:xe,createElement:V,createFactory:Cn,createPortal:wn,createRef:gr,default:le,findDOMNode:An,flushSync:Ln,forwardRef:cn,hydrate:bn,isElement:Mn,isFragment:On,isValidElement:Bt,lazy:gn,memo:sn,render:mn,startTransition:Ne,unmountComponentAtNode:Rn,unstable_batchedUpdates:Dn,useCallback:Rt,useContext:Ae,useDebugValue:De,useDeferredValue:Pn,useEffect:bt,useErrorBoundary:Xo,useId:rn,useImperativeHandle:en,useInsertionEffect:Nn,useLayoutEffect:xt,useMemo:kt,useReducer:Re,useRef:B,useState:q,useSyncExternalStore:Hn,useTransition:Vn,version:_i},Symbol.toStringTag,{value:"Module"}));function gi(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var He={exports:{}},Ie={};const In=gi(hi);/**
|
|
1
|
+
var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,configurable:!0,writable:!0,value:ht}):F[U]=ht;var cr=(F,U,ht)=>(Na(F,typeof U!="symbol"?U+"":U,ht),ht);(function(){"use strict";var F=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function U(t,e){if(!t)throw new Error(e)}function ht(t,e){return t in e}var vo=t=>t,Nt,w,ur,gt,dr,fr,ge,pr,Mt={},_r=[],wo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Gt=Array.isArray;function X(t,e){for(var r in e)t[r]=e[r];return t}function hr(t){var e=t.parentNode;e&&e.removeChild(t)}function V(t,e,r){var n,o,i,a={};for(i in e)i=="key"?n=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?Nt.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return Ht(t,a,n,o,null)}function Ht(t,e,r,n,o){var i={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ur,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(i),i}function gr(){return{current:null}}function T(t){return t.children}function W(t,e){this.props=t,this.context=e}function jt(t,e){if(e==null)return t.__?jt(t.__,t.__i+1):null;for(var r;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?jt(t):null}function vr(t){var e,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return vr(t)}}function ve(t){(!t.__d&&(t.__d=!0)&>.push(t)&&!Jt.__r++||dr!==w.debounceRendering)&&((dr=w.debounceRendering)||fr)(Jt)}function Jt(){var t,e,r,n,o,i,a,l,d;for(gt.sort(ge);t=gt.shift();)t.__d&&(e=gt.length,n=void 0,i=(o=(r=t).__v).__e,l=[],d=[],(a=r.__P)&&((n=X({},o)).__v=o.__v+1,w.vnode&&w.vnode(n),we(a,n,o,r.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,l,i??jt(o),!!(32&o.__u),d),n.__.__k[n.__i]=n,kr(l,n,d),n.__e!=i&&vr(n)),gt.length>e&>.sort(ge));Jt.__r=0}function wr(t,e,r,n,o,i,a,l,d,c,f){var s,p,_,g,v,y=n&&n.__k||_r,h=e.length;for(r.__d=d,yo(r,e,y),d=r.__d,s=0;s<h;s++)(_=r.__k[s])!=null&&typeof _!="boolean"&&typeof _!="function"&&(p=_.__i===-1?Mt:y[_.__i]||Mt,_.__i=s,we(t,_,p,o,i,a,l,d,c,f),g=_.__e,_.ref&&p.ref!=_.ref&&(p.ref&&ye(p.ref,null,_),f.push(_.ref,_.__c||g,_)),v==null&&g!=null&&(v=g),65536&_.__u||p.__k===_.__k?d=yr(_,d,t):typeof _.type=="function"&&_.__d!==void 0?d=_.__d:g&&(d=g.nextSibling),_.__d=void 0,_.__u&=-196609);r.__d=d,r.__e=v}function yo(t,e,r){var n,o,i,a,l,d=e.length,c=r.length,f=c,s=0;for(t.__k=[],n=0;n<d;n++)(o=t.__k[n]=(o=e[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Ht(null,o,null,null,o):Gt(o)?Ht(T,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Ht(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,l=mo(o,r,a=n+s,f),o.__i=l,i=null,l!==-1&&(f--,(i=r[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&s--,typeof o.type!="function"&&(o.__u|=65536)):l!==a&&(l===a+1?s++:l>a?f>d-a?s+=l-a:s--:s=l<a&&l==a-1?l-a:0,l!==n+s&&(o.__u|=65536))):(i=r[n])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=jt(i)),me(i,i,!1),r[n]=null,f--);if(f)for(n=0;n<c;n++)(i=r[n])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=jt(i)),me(i,i))}function yr(t,e,r){var n,o;if(typeof t.type=="function"){for(n=t.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=t,e=yr(n[o],e,r));return e}return t.__e!=e&&(r.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Q(t,e){return e=e||[],t==null||typeof t=="boolean"||(Gt(t)?t.some(function(r){Q(r,e)}):e.push(t)),e}function mo(t,e,r,n){var o=t.key,i=t.type,a=r-1,l=r+1,d=e[r];if(d===null||d&&o==d.key&&i===d.type)return r;if(n>(d!=null&&!(131072&d.__u)?1:0))for(;a>=0||l<e.length;){if(a>=0){if((d=e[a])&&!(131072&d.__u)&&o==d.key&&i===d.type)return a;a--}if(l<e.length){if((d=e[l])&&!(131072&d.__u)&&o==d.key&&i===d.type)return l;l++}}return-1}function mr(t,e,r){e[0]==="-"?t.setProperty(e,r??""):t[e]=r==null?"":typeof r!="number"||wo.test(e)?r:r+"px"}function Xt(t,e,r,n,o){var i;t:if(e==="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof n=="string"&&(t.style.cssText=n=""),n)for(e in n)r&&e in r||mr(t.style,e,"");if(r)for(e in r)n&&r[e]===n[e]||mr(t.style,e,r[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]=r,r?n?r.u=n.u:(r.u=Date.now(),t.addEventListener(e,i?xr:br,i)):t.removeEventListener(e,i?xr:br,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]=r??"";break t}catch{}typeof r=="function"||(r==null||r===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,r))}}function br(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(w.event?w.event(t):t)}function xr(t){return this.l[t.type+!0](w.event?w.event(t):t)}function we(t,e,r,n,o,i,a,l,d,c){var f,s,p,_,g,v,y,h,E,m,k,S,j,C,b,x=e.type;if(e.constructor!==void 0)return null;128&r.__u&&(d=!!(32&r.__u),i=[l=e.__e=r.__e]),(f=w.__b)&&f(e);t:if(typeof x=="function")try{if(h=e.props,E=(f=x.contextType)&&n[f.__c],m=f?E?E.props.value:f.__:n,r.__c?y=(s=e.__c=r.__c).__=s.__E:("prototype"in x&&x.prototype.render?e.__c=s=new x(h,m):(e.__c=s=new W(h,m),s.constructor=x,s.render=xo),E&&E.sub(s),s.props=h,s.state||(s.state={}),s.context=m,s.__n=n,p=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),x.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=X({},s.__s)),X(s.__s,x.getDerivedStateFromProps(h,s.__s))),_=s.props,g=s.state,s.__v=e,p)x.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(x.getDerivedStateFromProps==null&&h!==_&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(h,m),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(h,s.__s,m)===!1||e.__v===r.__v)){for(e.__v!==r.__v&&(s.props=h,s.state=s.__s,s.__d=!1),e.__e=r.__e,e.__k=r.__k,e.__k.forEach(function(A){A&&(A.__=e)}),k=0;k<s._sb.length;k++)s.__h.push(s._sb[k]);s._sb=[],s.__h.length&&a.push(s);break t}s.componentWillUpdate!=null&&s.componentWillUpdate(h,s.__s,m),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(_,g,v)})}if(s.context=m,s.props=h,s.__P=t,s.__e=!1,S=w.__r,j=0,"prototype"in x&&x.prototype.render){for(s.state=s.__s,s.__d=!1,S&&S(e),f=s.render(s.props,s.state,s.context),C=0;C<s._sb.length;C++)s.__h.push(s._sb[C]);s._sb=[]}else do s.__d=!1,S&&S(e),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++j<25);s.state=s.__s,s.getChildContext!=null&&(n=X(X({},n),s.getChildContext())),p||s.getSnapshotBeforeUpdate==null||(v=s.getSnapshotBeforeUpdate(_,g)),wr(t,Gt(b=f!=null&&f.type===T&&f.key==null?f.props.children:f)?b:[b],e,r,n,o,i,a,l,d,c),s.base=e.__e,e.__u&=-161,s.__h.length&&a.push(s),y&&(s.__E=s.__=null)}catch(A){e.__v=null,d||i!=null?(e.__e=l,e.__u|=d?160:32,i[i.indexOf(l)]=null):(e.__e=r.__e,e.__k=r.__k),w.__e(A,e,r)}else i==null&&e.__v===r.__v?(e.__k=r.__k,e.__e=r.__e):e.__e=bo(r.__e,e,r,n,o,i,a,d,c);(f=w.diffed)&&f(e)}function kr(t,e,r){e.__d=void 0;for(var n=0;n<r.length;n++)ye(r[n],r[++n],r[++n]);w.__c&&w.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){w.__e(i,o.__v)}})}function bo(t,e,r,n,o,i,a,l,d){var c,f,s,p,_,g,v,y=r.props,h=e.props,E=e.type;if(E==="svg"&&(o=!0),i!=null){for(c=0;c<i.length;c++)if((_=i[c])&&"setAttribute"in _==!!E&&(E?_.localName===E:_.nodeType===3)){t=_,i[c]=null;break}}if(t==null){if(E===null)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,h.is&&h),i=null,l=!1}if(E===null)y===h||l&&t.data===h||(t.data=h);else{if(i=i&&Nt.call(t.childNodes),y=r.props||Mt,!l&&i!=null)for(y={},c=0;c<t.attributes.length;c++)y[(_=t.attributes[c]).name]=_.value;for(c in y)_=y[c],c=="children"||(c=="dangerouslySetInnerHTML"?s=_:c==="key"||c in h||Xt(t,c,null,_,o));for(c in h)_=h[c],c=="children"?p=_:c=="dangerouslySetInnerHTML"?f=_:c=="value"?g=_:c=="checked"?v=_:c==="key"||l&&typeof _!="function"||y[c]===_||Xt(t,c,_,y[c],o);if(f)l||s&&(f.__html===s.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(s&&(t.innerHTML=""),wr(t,Gt(p)?p:[p],e,r,n,o&&E!=="foreignObject",i,a,i?i[0]:r.__k&&jt(r,0),l,d),i!=null)for(c=i.length;c--;)i[c]!=null&&hr(i[c]);l||(c="value",g!==void 0&&(g!==t[c]||E==="progress"&&!g||E==="option"&&g!==y[c])&&Xt(t,c,g,y[c],!1),c="checked",v!==void 0&&v!==t[c]&&Xt(t,c,v,y[c],!1))}return t}function ye(t,e,r){try{typeof t=="function"?t(e):t.current=e}catch(n){w.__e(n,r)}}function me(t,e,r){var n,o;if(w.unmount&&w.unmount(t),(n=t.ref)&&(n.current&&n.current!==t.__e||ye(n,null,e)),(n=t.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){w.__e(i,e)}n.base=n.__P=null,t.__c=void 0}if(n=t.__k)for(o=0;o<n.length;o++)n[o]&&me(n[o],e,r||typeof t.type!="function");r||t.__e==null||hr(t.__e),t.__=t.__e=t.__d=void 0}function xo(t,e,r){return this.constructor(t,r)}function Et(t,e,r){var n,o,i,a;w.__&&w.__(t,e),o=(n=typeof r=="function")?null:r&&r.__k||e.__k,i=[],a=[],we(e,t=(!n&&r||e).__k=V(T,null,[t]),o||Mt,Mt,e.ownerSVGElement!==void 0,!n&&r?[r]:o?null:e.firstChild?Nt.call(e.childNodes):null,i,!n&&r?r:o?o.__e:e.firstChild,n,a),kr(i,t,a)}function be(t,e){Et(t,e,be)}function ko(t,e,r){var n,o,i,a,l=X({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?n=e[i]:i=="ref"?o=e[i]:l[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(l.children=arguments.length>3?Nt.call(arguments,2):r),Ht(t.type,l,n||t.key,o||t.ref,null)}function xe(t,e){var r={__c:e="__cC"+pr++,__:t,Consumer:function(n,o){return n.children(o)},Provider:function(n){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(l){l.__e=!0,ve(l)})},this.sub=function(a){o.push(a);var l=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),l&&l.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Nt=_r.slice,w={__e:function(t,e,r,n){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,n||{}),a=o.__d),a)return o.__E=o}catch(l){t=l}throw t}},ur=0,W.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=X({},this.state),typeof t=="function"&&(t=t(X({},r),this.props)),t&&X(r,t),t!=null&&this.__v&&(e&&this._sb.push(e),ve(this))},W.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ve(this))},W.prototype.render=T,gt=[],fr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ge=function(t,e){return t.__v.__b-e.__v.__b},Jt.__r=0,pr=0;var jr=/[\s\n\\/='"\0<>]/,Er=/^(xlink|xmlns|xml)([A-Z])/,jo=/^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]/,Eo=/^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/,So=/["&<]/;function Qt(t){if(t.length===0||So.test(t)===!1)return t;for(var e=0,r=0,n="",o="";r<t.length;r++){switch(t.charCodeAt(r)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}r!==e&&(n+=t.slice(e,r)),n+=o,e=r+1}return r!==e&&(n+=t.slice(e,r)),n}var Sr={},Co=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"]),Oo=/[A-Z]/g;function To(t){var e="";for(var r in t){var n=t[r];if(n!=null&&n!==""){var o=r[0]=="-"?r:Sr[r]||(Sr[r]=r.replace(Oo,"-$&").toLowerCase()),i=";";typeof n!="number"||o.startsWith("--")||Co.has(o)||(i="px;"),e=e+o+":"+n+i}}return e||void 0}var ke,vt,It,wt,Cr=[],Or=Array.isArray,je=Object.assign;function Ro(t,e){var r=w.__s;w.__s=!0,ke=w.__b,vt=w.diffed,It=w.__r,wt=w.unmount;var n=V(T,null);n.__k=[t];try{return yt(t,e||Rr,!1,void 0,n)}finally{w.__c&&w.__c(t,Cr),w.__s=r,Cr.length=0}}function Tr(){this.__d=!0}var Rr={};function Ar(t,e){var r,n=t.type,o=!0;return t.__c?(o=!1,(r=t.__c).state=r.__s):r=new n(t.props,e),t.__c=r,r.__v=t,r.props=t.props,r.context=e,r.__d=!0,r.state==null&&(r.state=Rr),r.__s==null&&(r.__s=r.state),n.getDerivedStateFromProps?r.state=je({},r.state,n.getDerivedStateFromProps(r.props,r.state)):o&&r.componentWillMount?(r.componentWillMount(),r.state=r.__s!==r.state?r.__s:r.state):!o&&r.componentWillUpdate&&r.componentWillUpdate(),It&&It(t),r.render(r.props,r.state,e)}function yt(t,e,r,n,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Qt(t+"");if(Or(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var l=t[a];l!=null&&typeof l!="boolean"&&(i+=yt(l,e,r,n,o))}return i}if(t.constructor!==void 0)return"";t.__=o,ke&&ke(t);var d,c,f,s=t.type,p=t.props,_=e;if(typeof s=="function"){if(s===T){if(p.tpl){for(var g="",v=0;v<p.tpl.length;v++)if(g+=p.tpl[v],p.exprs&&v<p.exprs.length){var y=p.exprs[v];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Or(y)?g+=y:g+=yt(y,e,r,n,t)}return g}if(p.UNSTABLE_comment)return"<!--"+Qt(p.UNSTABLE_comment||"")+"-->";c=p.children}else{if((d=s.contextType)!=null){var h=e[d.__c];_=h?h.props.value:d.__}if(s.prototype&&typeof s.prototype.render=="function")c=Ar(t,_),f=t.__c;else{t.__c=f={__v:t,props:p,context:_,setState:Tr,forceUpdate:Tr,__d:!0,__h:[]};for(var E=0;f.__d&&E++<25;)f.__d=!1,It&&It(t),c=s.call(f,p,_);f.__d=!0}if(f.getChildContext!=null&&(e=je({},e,f.getChildContext())),(s.getDerivedStateFromError||f.componentDidCatch)&&w.errorBoundaries){var m="";c=c!=null&&c.type===T&&c.key==null?c.props.children:c;try{return m=yt(c,e,r,n,t)}catch(A){return s.getDerivedStateFromError&&(f.__s=s.getDerivedStateFromError(A)),f.componentDidCatch&&f.componentDidCatch(A,{}),f.__d&&(c=Ar(t,e),(f=t.__c).getChildContext!=null&&(e=je({},e,f.getChildContext())),m=yt(c=c!=null&&c.type===T&&c.key==null?c.props.children:c,e,r,n,t)),m}finally{vt&&vt(t),t.__=void 0,wt&&wt(t)}}}var k=yt(c=c!=null&&c.type===T&&c.key==null?c.props.children:c,e,r,n,t);return vt&&vt(t),t.__=void 0,wt&&wt(t),k}var S,j="<"+s,C="";for(var b in p){var x=p[b];switch(b){case"children":S=x;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",s){case"textarea":S=x;continue;case"select":n=x;continue;case"option":n!=x||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":C=x&&x.__html;continue;case"style":typeof x=="object"&&(x=To(x));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(Er.test(b))b=b.replace(Er,"$1:$2").toLowerCase();else{if(jr.test(b))continue;b[4]!=="-"&&b!=="draggable"||x==null?r?Eo.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):jo.test(b)&&(b=b.toLowerCase()):x+=""}}x!=null&&x!==!1&&typeof x!="function"&&(j=x===!0||x===""?j+" "+b:j+" "+b+'="'+Qt(x+"")+'"')}if(jr.test(s))throw new Error(s+" is not a valid HTML tag name in "+j+">");return C||(typeof S=="string"?C=Qt(S):S!=null&&S!==!1&&S!==!0&&(C=yt(S,e,s==="svg"||s!=="foreignObject"&&r,n,t))),vt&&vt(t),t.__=void 0,wt&&wt(t),!C&&Ao.has(s)?j+"/>":j+">"+C+"</"+s+">"}var Ao=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ee=class extends Error{constructor(e){super(e[0].message);cr(this,"issues");this.name="ValiError",this.issues=e}};function Dr(t,e){return{...t,_parse(r,n){return t._parse(e(r),n)}}}function te(t){return{issues:t}}function St(t){return{output:t}}function Do(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 Lo(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 st(t,e,r,n){if(!e||!e.length||r!=null&&r.skipPipe)return St(t);let o,i,a=t;for(const l of e){const d=l._parse(a);if(d.issues){o=o||Lo(r,n);for(const c of d.issues){const f=Do(o,c);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=d.output}return i?te(i):St(a)}function lt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function $o(t){return typeof t=="function"?t():t}function Po(t,e,r){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=lt(e,r);return[t,i,a]}const[n,o]=lt(t,e);return[void 0,n,o]}function ct(t,e,r,n,o,i){return{issues:[{reason:e,validation:r,origin:(t==null?void 0:t.origin)||"value",message:$o(n),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 Lr(t){return typeof t.default=="function"?t.default():t.default}function Vo(t){return{type:"any",async:!1,pipe:t,_parse(e,r){return st(e,this.pipe,r,"any")}}}function $r(t,e,r){const[n="Invalid type",o]=lt(e,r);return{type:"array",async:!1,item:t,message:n,pipe:o,_parse(i,a){if(!Array.isArray(i))return ct(a,"type","array",this.message,i);let l;const d=[];for(let c=0;c<i.length;c++){const f=i[c],s=this.item._parse(f,a);if(s.issues){const p={type:"array",input:i,key:c,value:f};for(const _ of s.issues)_.path?_.path.unshift(p):_.path=[p],l==null||l.push(_);if(l||(l=s.issues),a!=null&&a.abortEarly)break}else d.push(s.output)}return l?te(l):st(d,this.pipe,a,"array")}}}function Pr(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"boolean",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="boolean"?ct(i,"type","boolean",this.message,o):st(o,this.pipe,i,"boolean")}}}function ut(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(r,n){return r!==this.literal?ct(n,"type","literal",this.message,r):St(r)}}}function Ct(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(r,n){if(r===null){const o=Lr(this);if(o===void 0)return St(r);r=o}return this.wrapped._parse(r,n)}}}function Ft(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"number",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="number"||isNaN(o)?ct(i,"type","number",this.message,o):st(o,this.pipe,i,"number")}}}function ee(t,e,r,n){const[o,i="Invalid type",a]=Po(e,r,n);let l;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(d,c){if(!d||typeof d!="object")return ct(c,"type","object",this.message,d);l=l||Object.entries(this.entries);let f;const s={};for(const[p,_]of l){const g=d[p],v=_._parse(g,c);if(v.issues){const y={type:"object",input:d,key:p,value:g};for(const h of v.issues)h.path?h.path.unshift(y):h.path=[y],f==null||f.push(h);if(f||(f=v.issues),c!=null&&c.abortEarly)break}else(v.output!==void 0||p in d)&&(s[p]=v.output)}if(this.rest&&!(c!=null&&c.abortEarly&&f)){for(const p in d)if(!(p in this.entries)){const _=d[p],g=this.rest._parse(_,c);if(g.issues){const v={type:"object",input:d,key:p,value:_};for(const y of g.issues)y.path?y.path.unshift(v):y.path=[v],f==null||f.push(y);if(f||(f=g.issues),c!=null&&c.abortEarly)break}else s[p]=g.output}}return f?te(f):st(s,this.pipe,c,"object")}}}function Ot(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(r,n){if(r===void 0){const o=Lr(this);if(o===void 0)return St(r);r=o}return this.wrapped._parse(r,n)}}}function P(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"string",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="string"?ct(i,"type","string",this.message,o):st(o,this.pipe,i,"string")}}}function No(t,e,r,n){if(typeof e=="object"&&!Array.isArray(e)){const[a,l]=lt(r,n);return[t,e,a,l]}const[o,i]=lt(e,r);return[P(),t,o,i]}var Mo=["__proto__","prototype","constructor"];function Vr(t,e,r,n){const[o,i,a="Invalid type",l]=No(t,e,r,n);return{type:"record",async:!1,key:o,value:i,message:a,pipe:l,_parse(d,c){if(!d||typeof d!="object")return ct(c,"type","record",this.message,d);let f;const s={};for(const[p,_]of Object.entries(d))if(!Mo.includes(p)){let g;const v=this.key._parse(p,{origin:"key",abortEarly:c==null?void 0:c.abortEarly,abortPipeEarly:c==null?void 0:c.abortPipeEarly,skipPipe:c==null?void 0:c.skipPipe});if(v.issues){g={type:"record",input:d,key:p,value:_};for(const h of v.issues)h.path=[g],f==null||f.push(h);if(f||(f=v.issues),c!=null&&c.abortEarly)break}const y=this.value._parse(_,c);if(y.issues){g=g||{type:"record",input:d,key:p,value:_};for(const h of y.issues)h.path?h.path.unshift(g):h.path=[g],f==null||f.push(h);if(f||(f=y.issues),c!=null&&c.abortEarly)break}!v.issues&&!y.issues&&(s[v.output]=y.output)}return f?te(f):st(s,this.pipe,c,"record")}}}function Nr(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(r,n){let o,i;for(const a of this.options){const l=a._parse(r,n);if(l.issues)if(o)for(const d of l.issues)o.push(d);else o=l.issues;else{i=[l.output];break}}return i?St(i[0]):ct(n,"type","union",this.message,r,o)}}}function Mr(t,e,r){const n=t._parse(e,r);if(n.issues)throw new Ee(n.issues);return n.output}function Hr(t,e,r){return{...t,_parse(n,o){const i=t._parse(n,o);if(i.issues)return i;const a=e(i.output);return r&&!Array.isArray(r)?r._parse(a,o):st(a,r,o,typeof a)}}}const Ir="inploi-job-search",Fr="ijs",re=10,Ho=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Io=({from:t=new Date,to:e,formatter:r=Ho})=>{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?r.format(i.days,"days"):Math.abs(i.days)<3?r.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},Fo=1e3*60*60*24*7,Uo=Vr($r(ee({label:Dr(P(),String),value:Dr(P(),String)}))),zo=ee({total:Ft(),current_page:Ft(),per_page:Ft(),last_page:Ft()}),Ur={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Wo=ee({id:Ft(),company_name:P(),employment_type:P(),location_type:Nr([ut("LOCATION"),ut("REMOTE"),ut("HYBRID")]),pay_type:Nr([ut("ANNUALLY"),ut("HOURLY"),ut("MONTHLY"),ut("WEEKLY"),ut("DAILY")]),pay_currency:P(),pay_mask:Pr(),pay_display:Pr(),pay:Ct(P()),pay_min:Ct(P()),pay_max:Ct(P()),description:P(),title:P(),contract_type:Ct(P()),created_at:Ct(P()),custom_data:Ct(Vr(Vo())),href:P(),industry:Ot(P()),category:Ot(P()),skills:Ot(P()),town:Ot(P()),city:Ot(P()),country:Ot(P())}),Bo=Hr(Wo,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-Fo:!1,r=new Intl.NumberFormat(void 0,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"}),n=(()=>{if(t.pay_display!==!1){if(t.pay_mask)return"Competitive";if(t.pay_max&&t.pay_min)return[r.formatRange(+t.pay_min,+t.pay_max),Ur[t.pay_type]].join(" ");if(t.pay)return[r.format(+t.pay),Ur[t.pay_type]].join(" ");if(!(!t.pay&&!t.pay_min&&!t.pay_max))throw new Error("Invalid pay data")}})();return{raw:t,id:t.id,isNew:e,company:{name:t.company_name},employmentType:t.employment_type,locationType:t.location_type,pay:n,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Io({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Ko=Hr(ee({data:$r(Bo),pagination:zo}),t=>({pagination:t.pagination,results:t.data})),zr=t=>Object.fromEntries(Object.entries(t).map(([e,r])=>[e,(r==null?void 0:r.value)??null])),Wr=async({apiClient:t,filters:e,logger:r,signal:n})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:zr(e)}),signal:n});return Mr(Uo,o)}catch(o){throw o instanceof Ee?r.error(o.message,o.issues):r.error(o),o}},Br=async({apiClient:t,logger:e,signal:r,filters:n,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${re}`,{method:"POST",body:JSON.stringify({filters:zr(n)}),signal:r});return Mr(Ko,i)}catch(i){throw i instanceof Ee?e.error(i.message,i.issues):e.error(i),i}},Se=t=>{if(t.error)return{state:"error",error:t.error};if(t.isLoading&&t.data===void 0)return{state:"loading"};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data};throw new Error("Unhandled data state")},Ce={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function Kr(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=Kr(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function Oe(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=Kr(t))&&(n&&(n+=" "),n+=e);return n}const Yr=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Yo=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var l,d;return typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Oe(i)):typeof(t==null||(d=t.hooks)===null||d===void 0?void 0:d.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Oe(i)):Oe(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return l=>{const d=Object.fromEntries(Object.entries(l||{}).filter(c=>{let[f]=c;return!["class","className"].includes(f)}));return e(i.map(c=>c(d)),l==null?void 0:l.class,l==null?void 0:l.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:l,defaultVariants:d}=o,c=Object.keys(l).map(p=>{const _=i==null?void 0:i[p],g=d==null?void 0:d[p],v=Yr(_)||Yr(g);return l[p][v]}),f={...d,...i&&Object.entries(i).reduce((p,_)=>{let[g,v]=_;return typeof v>"u"?p:{...p,[g]:v}},{})},s=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,_)=>{let{class:g,className:v,...y}=_;return Object.entries(y).every(h=>{let[E,m]=h;const k=f[E];return Array.isArray(m)?m.includes(k):k===m})?[...p,g,v]:p},[]);return e(o==null?void 0:o.base,c,s,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:Ma,cva:dt,cx:Ha}=Yo(),Ut=dt({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:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}});var qo=0;function u(t,e,r,n,o,i){var a,l,d={};for(l in e)l=="ref"?a=e[l]:d[l]=e[l];var c={type:t,props:d,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--qo,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(l in a)d[l]===void 0&&(d[l]=a[l]);return w.vnode&&w.vnode(c),c}const Zo=({error:t,resetError:e})=>u("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:[u("p",{children:t.message}),u("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ne=({error:t,resetError:e})=>u("div",{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:[u("p",{class:"text-neutral-11",children:["An error occured: ",t.message]}),u("button",{class:Ut({variant:"neutral",size:"lg",class:"border-px flex flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:e,children:"Retry"})]});class zt extends W{constructor(){super(...arguments);cr(this,"state",{error:null})}static getDerivedStateFromError(r){return{error:r.message}}componentDidCatch(r){this.setState({error:r})}render(){if(this.state.error){const{Fallback:r}=this.props;return u(r,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const Go={briefcase:u(T,{children:[u("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"}),u("path",{d:"M4.75 11.75H19.25"}),u("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),u("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:u(T,{children:[u("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"}),u("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"}),u("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),u("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),u("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),u("circle",{cx:"18.75",cy:"12",r:"2"}),u("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:u(T,{children:[u("path",{d:"M16.75 10.25H13.75"}),u("path",{d:"M16.75 13.25H13.75"}),u("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"}),u("path",{d:"M10.25 12.25V18.25"})]}),circles:u(T,{children:[u("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"}),u("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:u(T,{children:[u("path",{d:"M14 9L12 13L9.5 12"}),u("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:u(T,{children:u("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:u(T,{children:[u("path",{d:"M5 13.75H19"}),u("path",{d:"M5 10.25H19"}),u("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"}),u("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:u(T,{children:[u("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"}),u("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"}),u("path",{d:"M16 16L19 19"})]}),mapPin:u(T,{children:u(T,{children:[u("circle",{cx:"12",cy:"9",r:"2"}),u("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"}),u("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:u(T,{children:[u("path",{d:"M18.5 8.5L17.5 9.5"}),u("path",{d:"M5.5 8.5L6.5 9.5"}),u("path",{d:"M12 6L12 7.5"}),u("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"}),u("path",{d:"M20.25 15.25H12H3.75"}),u("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:u("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:u("path",{d:"M12 8V16M8 12H16"}),"chevron-right":u("path",{d:"M11 8L15 12L11 16"})},Jo=({theme:t})=>u("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:u("defs",{children:Object.entries(Go).map(([e,r])=>{var n;return u("symbol",{id:`i-icon-${e}`,children:u("g",{fill:"none","stroke-width":t.mode==="dark"&&((n=t.accessibility)==null?void 0:n.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:r})})})})}),ft=({name:t,...e})=>u("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:u("use",{href:`#i-icon-${t}`})});var tt,R,Te,qr,Tt=0,Zr=[],oe=[],Gr=w.__b,Jr=w.__r,Xr=w.diffed,Qr=w.__c,tn=w.unmount;function mt(t,e){w.__h&&w.__h(R,t,Tt||e),Tt=0;var r=R.__H||(R.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({__V:oe}),r.__[t]}function q(t){return Tt=1,Re(on,t)}function Re(t,e,r){var n=mt(tt++,2);if(n.t=t,!n.__c&&(n.__=[r?r(e):on(void 0,e),function(l){var d=n.__N?n.__N[0]:n.__[0],c=n.t(d,l);d!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=R,!R.u)){var o=function(l,d,c){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,l,d,c);var s=!1;return f.forEach(function(p){if(p.__N){var _=p.__[0];p.__=p.__N,p.__N=void 0,_!==p.__[0]&&(s=!0)}}),!(!s&&n.__c.props===l)&&(!i||i.call(this,l,d,c))};R.u=!0;var i=R.shouldComponentUpdate,a=R.componentWillUpdate;R.componentWillUpdate=function(l,d,c){if(this.__e){var f=i;i=void 0,o(l,d,c),i=f}a&&a.call(this,l,d,c)},R.shouldComponentUpdate=o}return n.__N||n.__}function bt(t,e){var r=mt(tt++,3);!w.__s&&$e(r.__H,e)&&(r.__=t,r.i=e,R.__H.__h.push(r))}function xt(t,e){var r=mt(tt++,4);!w.__s&&$e(r.__H,e)&&(r.__=t,r.i=e,R.__h.push(r))}function B(t){return Tt=5,kt(function(){return{current:t}},[])}function en(t,e,r){Tt=6,xt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},r==null?r:r.concat(t))}function kt(t,e){var r=mt(tt++,7);return $e(r.__H,e)?(r.__V=t(),r.i=e,r.__h=t,r.__V):r.__}function Rt(t,e){return Tt=8,kt(function(){return t},e)}function Ae(t){var e=R.context[t.__c],r=mt(tt++,9);return r.c=t,e?(r.__==null&&(r.__=!0,e.sub(R)),e.props.value):t.__}function De(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)}function Xo(t){var e=mt(tt++,10),r=q();return e.__=t,R.componentDidCatch||(R.componentDidCatch=function(n,o){e.__&&e.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function rn(){var t=mt(tt++,11);if(!t.__){for(var e=R.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var r=e.__m||(e.__m=[0,0]);t.__="P"+r[0]+"-"+r[1]++}return t.__}function Qo(){for(var t;t=Zr.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ie),t.__H.__h.forEach(Le),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}w.__b=function(t){R=null,Gr&&Gr(t)},w.__r=function(t){Jr&&Jr(t),tt=0;var e=(R=t.__c).__H;e&&(Te===R?(e.__h=[],R.__h=[],e.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=oe,r.__N=r.i=void 0})):(e.__h.forEach(ie),e.__h.forEach(Le),e.__h=[],tt=0)),Te=R},w.diffed=function(t){Xr&&Xr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Zr.push(e)!==1&&qr===w.requestAnimationFrame||((qr=w.requestAnimationFrame)||ti)(Qo)),e.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==oe&&(r.__=r.__V),r.i=void 0,r.__V=oe})),Te=R=null},w.__c=function(t,e){e.some(function(r){try{r.__h.forEach(ie),r.__h=r.__h.filter(function(n){return!n.__||Le(n)})}catch(n){e.some(function(o){o.__h&&(o.__h=[])}),e=[],w.__e(n,r.__v)}}),Qr&&Qr(t,e)},w.unmount=function(t){tn&&tn(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ie(n)}catch(o){e=o}}),r.__H=void 0,e&&w.__e(e,r.__v))};var nn=typeof requestAnimationFrame=="function";function ti(t){var e,r=function(){clearTimeout(n),nn&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(r,100);nn&&(e=requestAnimationFrame(r))}function ie(t){var e=R,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),R=e}function Le(t){var e=R;t.__c=t.__(),R=e}function $e(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function on(t,e){return typeof e=="function"?e(t):e}const ae=t=>{const e=Object.entries(t.filter).sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>{var o;return(n==null?void 0:n.select)==="many"?`${r}=${(o=n.value)==null?void 0:o.sort().join("|")}`:`${r}=${n==null?void 0:n.value}`}).join("&");return`${t.baseKey}::${e}`};function an(t,e){for(var r in e)t[r]=e[r];return t}function Pe(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function se(t){this.props=t}function sn(t,e){function r(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:Pe(this.props,o)}function n(o){return this.shouldComponentUpdate=r,V(t,o)}return n.displayName="Memo("+(t.displayName||t.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(se.prototype=new W).isPureReactComponent=!0,se.prototype.shouldComponentUpdate=function(t,e){return Pe(this.props,t)||Pe(this.state,e)};var ln=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),ln&&ln(t)};var ei=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function cn(t){function e(r){var n=an({},r);return delete n.ref,t(n,r.ref||null)}return e.$$typeof=ei,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var un=function(t,e){return t==null?null:Q(Q(t).map(e))},dn={map:un,forEach:un,count:function(t){return t?Q(t).length:0},only:function(t){var e=Q(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Q},ri=w.__e;w.__e=function(t,e,r,n){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),o.__c(t,e)}ri(t,e,r,n)};var fn=w.unmount;function pn(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),t.__c.__H=null),(t=an({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(n){return pn(n,e,r)})),t}function _n(t,e,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(n){return _n(n,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}function Wt(){this.__u=0,this.t=null,this.__b=null}function hn(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function gn(t){var e,r,n;function o(i){if(e||(e=t()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw e;return V(r,i)}return o.displayName="Lazy",o.__f=!0,o}function At(){this.u=null,this.o=null}w.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),fn&&fn(t)},(Wt.prototype=new W).__c=function(t,e){var r=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=hn(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(l):l())};r.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=_n(d,d.__c.__P,d.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.t.pop();)c.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(a,a)},Wt.prototype.componentWillUnmount=function(){this.t=[]},Wt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=pn(this.__b,r,n.__O=n.__P)}this.__b=null}var o=e.__a&&V(T,null,t.fallback);return o&&(o.__u&=-33),[V(T,null,e.__a?null:t.children),o]};var vn=function(t,e,r){if(++r[1]===r[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(r=t.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.u=r=r[2]}};function ni(t){return this.getChildContext=function(){return t.context},t.children}function oi(t){var e=this,r=t.i;e.componentWillUnmount=function(){Et(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),Et(V(ni,{context:e.context},t.__v),e.l)}function wn(t,e){var r=V(oi,{__v:t,i:e});return r.containerInfo=e,r}(At.prototype=new W).__a=function(t){var e=this,r=hn(e.__v),n=e.o.get(t);return n[0]++,function(o){var i=function(){e.props.revealOrder?(n.push(o),vn(e,t,n)):o()};r?r(i):i()}},At.prototype.render=function(t){this.u=null,this.o=new Map;var e=Q(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.o.set(e[r],this.u=[1,0,this.u]);return t.children},At.prototype.componentDidUpdate=At.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,r){vn(t,r,e)})};var yn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ii=/^(?: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]/,ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,si=/[A-Z0-9]/g,li=typeof document<"u",ci=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function mn(t,e,r){return e.__k==null&&(e.textContent=""),Et(t,e),typeof r=="function"&&r(),t?t.__c:null}function bn(t,e,r){return be(t,e),typeof r=="function"&&r(),t?t.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(W.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var xn=w.event;function ui(){}function di(){return this.cancelBubble}function fi(){return this.defaultPrevented}w.event=function(t){return xn&&(t=xn(t)),t.persist=ui,t.isPropagationStopped=di,t.isDefaultPrevented=fi,t.nativeEvent=t};var Ve,pi={enumerable:!1,configurable:!0,get:function(){return this.class}},kn=w.vnode;w.vnode=function(t){typeof t.type=="string"&&function(e){var r=e.props,n=e.type,o={};for(var i in r){var a=r[i];if(!(i==="value"&&"defaultValue"in r&&a==null||li&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||ci(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":ai.test(i)?i=l:n.indexOf("-")===-1&&ii.test(i)?i=i.replace(si,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=a}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.value.indexOf(d.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.multiple?o.defaultValue.indexOf(d.props.value)!=-1:o.defaultValue==d.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",pi)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),e.props=o}(t),t.$$typeof=yn,kn&&kn(t)};var jn=w.__r;w.__r=function(t){jn&&jn(t),Ve=t.__c};var En=w.diffed;w.diffed=function(t){En&&En(t);var e=t.props,r=t.__e;r!=null&&t.type==="textarea"&&"value"in e&&e.value!==r.value&&(r.value=e.value==null?"":e.value),Ve=null};var Sn={ReactCurrentDispatcher:{current:{readContext:function(t){return Ve.__n[t.__c].props.value}}}},_i="17.0.2";function Cn(t){return V.bind(null,t)}function Bt(t){return!!t&&t.$$typeof===yn}function On(t){return Bt(t)&&t.type===T}function Tn(t){return Bt(t)?ko.apply(null,arguments):t}function Rn(t){return!!t.__k&&(Et(null,t),!0)}function An(t){return t&&(t.base||t.nodeType===1&&t)||null}var Dn=function(t,e){return t(e)},Ln=function(t,e){return t(e)},$n=T;function Ne(t){t()}function Pn(t){return t}function Vn(){return[!1,Ne]}var Nn=xt,Mn=Bt;function Hn(t,e){var r=e(),n=q({h:{__:r,v:e}}),o=n[0].h,i=n[1];return xt(function(){o.__=r,o.v=e,Me(o)&&i({h:o})},[t,r,e]),bt(function(){return Me(o)&&i({h:o}),t(function(){Me(o)&&i({h:o})})},[t]),r}function Me(t){var e,r,n=t.v,o=t.__;try{var i=n();return!((e=o)===(r=i)&&(e!==0||1/e==1/r)||e!=e&&r!=r)}catch{return!0}}var le={useState:q,useId:rn,useReducer:Re,useEffect:bt,useLayoutEffect:xt,useInsertionEffect:Nn,useTransition:Vn,useDeferredValue:Pn,useSyncExternalStore:Hn,startTransition:Ne,useRef:B,useImperativeHandle:en,useMemo:kt,useCallback:Rt,useContext:Ae,useDebugValue:De,version:"17.0.2",Children:dn,render:mn,hydrate:bn,unmountComponentAtNode:Rn,createPortal:wn,createElement:V,createContext:xe,createFactory:Cn,cloneElement:Tn,createRef:gr,Fragment:T,isValidElement:Bt,isElement:Mn,isFragment:On,findDOMNode:An,Component:W,PureComponent:se,memo:sn,forwardRef:cn,flushSync:Ln,unstable_batchedUpdates:Dn,StrictMode:$n,Suspense:Wt,SuspenseList:At,lazy:gn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sn};const hi=Object.freeze(Object.defineProperty({__proto__:null,Children:dn,Component:W,Fragment:T,PureComponent:se,StrictMode:$n,Suspense:Wt,SuspenseList:At,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sn,cloneElement:Tn,createContext:xe,createElement:V,createFactory:Cn,createPortal:wn,createRef:gr,default:le,findDOMNode:An,flushSync:Ln,forwardRef:cn,hydrate:bn,isElement:Mn,isFragment:On,isValidElement:Bt,lazy:gn,memo:sn,render:mn,startTransition:Ne,unmountComponentAtNode:Rn,unstable_batchedUpdates:Dn,useCallback:Rt,useContext:Ae,useDebugValue:De,useDeferredValue:Pn,useEffect:bt,useErrorBoundary:Xo,useId:rn,useImperativeHandle:en,useInsertionEffect:Nn,useLayoutEffect:xt,useMemo:kt,useReducer:Re,useRef:B,useState:q,useSyncExternalStore:Hn,useTransition:Vn,version:_i},Symbol.toStringTag,{value:"Module"}));function gi(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var He={exports:{}},Ie={};const In=gi(hi);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,confi
|
|
|
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 Fn;function vi(){if(Fn)return Ie;Fn=1;var t=In;function e(s,p){return s===p&&(s!==0||1/s===1/p)||s!==s&&p!==p}var r=typeof Object.is=="function"?Object.is:e,n=t.useState,o=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue;function l(s,p){var _=p(),
|
|
9
|
+
*/var Fn;function vi(){if(Fn)return Ie;Fn=1;var t=In;function e(s,p){return s===p&&(s!==0||1/s===1/p)||s!==s&&p!==p}var r=typeof Object.is=="function"?Object.is:e,n=t.useState,o=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue;function l(s,p){var _=p(),g=n({inst:{value:_,getSnapshot:p}}),v=g[0].inst,y=g[1];return i(function(){v.value=_,v.getSnapshot=p,d(v)&&y({inst:v})},[s,_,p]),o(function(){return d(v)&&y({inst:v}),s(function(){d(v)&&y({inst:v})})},[s]),a(_),_}function d(s){var p=s.getSnapshot;s=s.value;try{var _=p();return!r(s,_)}catch{return!0}}function c(s,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:l;return Ie.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,Ie}var Fe={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,8 +14,8 @@ var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,confi
|
|
|
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 Un;function wi(){return Un||(Un=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=In,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(m){{for(var k=arguments.length,S=new Array(k>1?k-1:0),j=1;j<k;j++)S[j-1]=arguments[j];n("error",m,S)}}function n(m,k,S){{var j=e.ReactDebugCurrentFrame,C=j.getStackAddendum();C!==""&&(k+="%s",S=S.concat([C]));var b=S.map(function(x){return String(x)});b.unshift("Warning: "+k),Function.prototype.apply.call(console[m],console,b)}}function o(m,k){return m===k&&(m!==0||1/m===1/k)||m!==m&&k!==k}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,l=t.useEffect,d=t.useLayoutEffect,c=t.useDebugValue,f=!1,s=!1;function p(m,k,S){f||t.startTransition!==void 0&&(f=!0,r("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=k();if(!s){var C=k();i(j,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var b=a({inst:{value:j,getSnapshot:k}}),x=b[0].inst,A=b[1];return d(function(){x.value=j,x.getSnapshot=k,_(x)&&A({inst:x})},[m,j,k]),l(function(){_(x)&&A({inst:x});var Y=function(){_(x)&&A({inst:x})};return m(Y)},[m]),c(j),j}function _(m){var k=m.getSnapshot,S=m.value;try{var j=k();return!i(S,j)}catch{return!0}}function v(m,k,S){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!g,h=y?v:p,E=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:h;Fe.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Fe}process.env.NODE_ENV==="production"?He.exports=vi():He.exports=wi();var yi=He.exports;const pt=()=>{},z=pt(),Ue=Object,O=t=>t===z,et=t=>typeof t=="function",_t=(t,e)=>({...t,...e}),mi=t=>et(t.then),ce=new WeakMap;let bi=0;const Kt=t=>{const e=typeof t,r=t&&t.constructor,n=r==Date;let o,i;if(Ue(t)===t&&!n&&r!=RegExp){if(o=ce.get(t),o)return o;if(o=++bi+"~",ce.set(t,o),r==Array){for(o="@",i=0;i<t.length;i++)o+=Kt(t[i])+",";ce.set(t,o)}if(r==Ue){o="#";const a=Ue.keys(t).sort();for(;!O(i=a.pop());)O(t[i])||(o+=i+":"+Kt(t[i])+",");ce.set(t,o)}}else o=n?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},rt=new WeakMap,ze={},ue={},We="undefined",de=typeof window!=We,Be=typeof document!=We,xi=()=>de&&typeof window.requestAnimationFrame!=We,zn=(t,e)=>{const r=rt.get(t);return[()=>!O(e)&&t.get(e)||ze,n=>{if(!O(e)){const o=t.get(e);e in ue||(ue[e]=o),r[5](e,_t(o,n),o||ze)}},r[6],()=>!O(e)&&e in ue?ue[e]:!O(e)&&t.get(e)||ze]};let Ke=!0;const ki=()=>Ke,[Ye,qe]=de&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[pt,pt],ji=()=>{const t=Be&&document.visibilityState;return O(t)||t!=="hidden"},Ei=t=>(Be&&document.addEventListener("visibilitychange",t),Ye("focus",t),()=>{Be&&document.removeEventListener("visibilitychange",t),qe("focus",t)}),Si=t=>{const e=()=>{Ke=!0,t()},r=()=>{Ke=!1};return Ye("online",e),Ye("offline",r),()=>{qe("online",e),qe("offline",r)}},Ci={isOnline:ki,isVisible:ji},Oi={initFocus:Ei,initReconnect:Si},Wn=!le.useId,Yt=!de||"Deno"in window,Ti=t=>xi()?window.requestAnimationFrame(t):setTimeout(t,1),Ze=Yt?bt:xt,Ge=typeof navigator<"u"&&navigator.connection,Bn=!Yt&&Ge&&(["slow-2g","2g"].includes(Ge.effectiveType)||Ge.saveData),Je=t=>{if(et(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Kt(t):"",[t,e]};let Ri=0;const Xe=()=>++Ri,Kn=0,Yn=1,qn=2;var qt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Kn,MUTATE_EVENT:qn,RECONNECT_EVENT:Yn};async function Zn(...t){const[e,r,n,o]=t,i=_t({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const l=i.rollbackOnError;let d=i.optimisticData;const c=i.revalidate!==!1,f=_=>typeof l=="function"?l(_):l!==!1,s=i.throwOnError;if(et(r)){const _=r,v=[],g=e.keys();for(const y of g)!/^\$(inf|sub)\$/.test(y)&&_(e.get(y)._k)&&v.push(y);return Promise.all(v.map(p))}return p(r);async function p(_){const[v]=Je(_);if(!v)return;const[g,y]=zn(e,v),[h,E,m,k]=rt.get(e),S=()=>{const H=h[v];return c&&(delete m[v],delete k[v],H&&H[0])?H[0](qn).then(()=>g().data):g().data};if(t.length<3)return S();let j=n,C;const b=Xe();E[v]=[b,0];const x=!O(d),A=g(),Y=A.data,Dt=A._c,ot=O(Dt)?Y:Dt;if(x&&(d=et(d)?d(ot,Y):d,y({data:d,_c:ot})),et(j))try{j=j(ot)}catch(H){C=H}if(j&&mi(j))if(j=await j.catch(H=>{C=H}),b!==E[v][0]){if(C)throw C;return j}else C&&x&&f(C)&&(a=!0,y({data:ot,_c:z}));if(a&&!C)if(et(a)){const H=a(j,ot);y({data:H,error:z,_c:z})}else y({data:j,error:z,_c:z});if(E[v][1]=Xe(),Promise.resolve(S()).then(()=>{y({_c:z})}),C){if(s)throw C;return}return j}}const Gn=(t,e)=>{for(const r in t)t[r][0]&&t[r][0](e)},Ai=(t,e)=>{if(!rt.has(t)){const r=_t(Oi,e),n={},o=Zn.bind(z,t);let i=pt;const a={},l=(f,s)=>{const p=a[f]||[];return a[f]=p,p.push(s),()=>p.splice(p.indexOf(s),1)},d=(f,s,p)=>{t.set(f,s);const _=a[f];if(_)for(const v of _)v(s,p)},c=()=>{if(!rt.has(t)&&(rt.set(t,[n,{},{},{},o,d,l]),!Yt)){const f=r.initFocus(setTimeout.bind(z,Gn.bind(z,n,Kn))),s=r.initReconnect(setTimeout.bind(z,Gn.bind(z,n,Yn)));i=()=>{f&&f(),s&&s(),rt.delete(t)}}};return c(),[t,o,c,i]}return[t,rt.get(t)[4]]},Di=(t,e,r,n,o)=>{const i=r.errorRetryCount,a=o.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!O(i)&&a>i||setTimeout(n,l,o)},Li=(t,e)=>Kt(t)==Kt(e),[Jn,$i]=Ai(new Map),Pi=_t({onLoadingSlow:pt,onSuccess:pt,onError:pt,onErrorRetry:Di,onDiscarded:pt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bn?5e3:3e3,compare:Li,isPaused:()=>!1,cache:Jn,mutate:$i,fallback:{}},Ci),Vi=(t,e)=>{const r=_t(t,e);if(e){const{use:n,fallback:o}=t,{use:i,fallback:a}=e;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=_t(o,a))}return r},Ni=xe({}),Mi="$inf$",Xn=de&&window.__SWR_DEVTOOLS_USE__,Hi=Xn?window.__SWR_DEVTOOLS_USE__:[],Ii=()=>{Xn&&(window.__SWR_DEVTOOLS_REACT__=le)},Fi=t=>et(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Ui=()=>_t(Pi,Ae(Ni)),zi=t=>(e,r,n)=>t(e,r&&((...i)=>{const[a]=Je(e),[,,,l]=rt.get(Jn);if(a.startsWith(Mi))return r(...i);const d=l[a];return O(d)?r(...i):(delete l[a],d)}),n),Wi=Hi.concat(zi),Bi=t=>function(...r){const n=Ui(),[o,i,a]=Fi(r),l=Vi(n,a);let d=t;const{use:c}=l,f=(c||[]).concat(Wi);for(let s=f.length;s--;)d=f[s](d);return d(o,i||l.fetcher||null,l)},Ki=(t,e,r)=>{const n=e[t]||(e[t]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};Ii();const Qn=le.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)}),Qe={dedupe:!0},tr=Bi((t,e,r)=>{const{cache:n,compare:o,suspense:i,fallbackData:a,revalidateOnMount:l,revalidateIfStale:d,refreshInterval:c,refreshWhenHidden:f,refreshWhenOffline:s,keepPreviousData:p}=r,[_,v,g,y]=rt.get(n),[h,E]=Je(t),m=B(!1),k=B(!1),S=B(h),j=B(e),C=B(r),b=()=>C.current,x=()=>b().isVisible()&&b().isOnline(),[A,Y,Dt,ot]=zn(n,h),H=B({}).current,Aa=O(a)?r.fallback[h]:a,ao=(D,L)=>{for(const M in H){const $=M;if($==="data"){if(!o(D[$],L[$])&&(!O(D[$])||!o(he,L[$])))return!1}else if(L[$]!==D[$])return!1}return!0},so=kt(()=>{const D=(()=>!h||!e?!1:O(l)?b().isPaused()||i?!1:O(d)?!0:d:l)(),L=I=>{const it=_t(I);return delete it._k,D?{isValidating:!0,isLoading:!0,...it}:it},M=A(),$=ot(),J=L(M),Vt=M===$?J:L($);let N=J;return[()=>{const I=L(A());return ao(I,N)?(N.data=I.data,N.isLoading=I.isLoading,N.isValidating=I.isValidating,N.error=I.error,N):(N=I,I)},()=>Vt]},[n,h]),Lt=yi.useSyncExternalStore(Rt(D=>Dt(h,(L,M)=>{ao(M,L)||D()}),[n,h]),so[0],so[1]),lo=!m.current,Da=_[h]&&_[h].length>0,$t=Lt.data,Pt=O($t)?Aa:$t,_e=Lt.error,co=B(Pt),he=p?O($t)?co.current:$t:Pt,uo=(()=>Da&&!O(_e)?!1:lo&&!O(l)?l:b().isPaused()?!1:i?O(Pt)?!1:d:O(Pt)||d)(),fo=!!(h&&e&&lo&&uo),La=O(Lt.isValidating)?fo:Lt.isValidating,$a=O(Lt.isLoading)?fo:Lt.isLoading,Zt=Rt(async D=>{const L=j.current;if(!h||!L||k.current||b().isPaused())return!1;let M,$,J=!0;const Vt=D||{},N=!g[h]||!Vt.dedupe,I=()=>Wn?!k.current&&h===S.current&&m.current:h===S.current,it={isValidating:!1,isLoading:!1},_o=()=>{Y(it)},ho=()=>{const K=g[h];K&&K[1]===$&&delete g[h]},go={isValidating:!0};O(A().data)&&(go.isLoading=!0);try{if(N&&(Y(go),r.loadingTimeout&&O(A().data)&&setTimeout(()=>{J&&I()&&b().onLoadingSlow(h,r)},r.loadingTimeout),g[h]=[L(E),Xe()]),[M,$]=g[h],M=await M,N&&setTimeout(ho,r.dedupingInterval),!g[h]||g[h][1]!==$)return N&&I()&&b().onDiscarded(h),!1;it.error=z;const K=v[h];if(!O(K)&&($<=K[0]||$<=K[1]||K[1]===0))return _o(),N&&I()&&b().onDiscarded(h),!1;const at=A().data;it.data=o(at,M)?at:M,N&&I()&&b().onSuccess(M,h,r)}catch(K){ho();const at=b(),{shouldRetryOnError:sr}=at;at.isPaused()||(it.error=K,N&&I()&&(at.onError(K,h,at),(sr===!0||et(sr)&&sr(K))&&x()&&at.onErrorRetry(K,h,at,Pa=>{const lr=_[h];lr&&lr[0]&&lr[0](qt.ERROR_REVALIDATE_EVENT,Pa)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return J=!1,_o(),!0},[h,n]),po=Rt((...D)=>Zn(n,S.current,...D),[]);if(Ze(()=>{j.current=e,C.current=r,O($t)||(co.current=$t)}),Ze(()=>{if(!h)return;const D=Zt.bind(z,Qe);let L=0;const $=Ki(h,_,(J,Vt={})=>{if(J==qt.FOCUS_EVENT){const N=Date.now();b().revalidateOnFocus&&N>L&&x()&&(L=N+b().focusThrottleInterval,D())}else if(J==qt.RECONNECT_EVENT)b().revalidateOnReconnect&&x()&&D();else{if(J==qt.MUTATE_EVENT)return Zt();if(J==qt.ERROR_REVALIDATE_EVENT)return Zt(Vt)}});return k.current=!1,S.current=h,m.current=!0,Y({_k:E}),uo&&(O(Pt)||Yt?D():Ti(D)),()=>{k.current=!0,$()}},[h]),Ze(()=>{let D;function L(){const $=et(c)?c(A().data):c;$&&D!==-1&&(D=setTimeout(M,$))}function M(){!A().error&&(f||b().isVisible())&&(s||b().isOnline())?Zt(Qe).then(L):L()}return L(),()=>{D&&(clearTimeout(D),D=-1)}},[c,f,s,h]),De(he),i&&O(Pt)&&h){if(!Wn&&Yt)throw new Error("Fallback data is required when using suspense in SSR.");j.current=e,C.current=r,k.current=!1;const D=y[h];if(!O(D)){const L=po(D);Qn(L)}if(O(_e)){const L=Zt(Qe);O(he)||(L.status="fulfilled",L.value=!0),Qn(L)}else throw _e}return{mutate:po,get data(){return H.data=!0,he},get error(){return H.error=!0,_e},get isValidating(){return H.isValidating=!0,La},get isLoading(){return H.isLoading=!0,$a}}}),nt=dt({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 border-none text-tag-monetary-weak-copy"},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}}),Yi=({query:t,property:e,selectedValues:r})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>r.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return U(i),u("span",{class:nt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return u("span",{class:nt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:F(t)}},to=8,eo=42,qi=8,Zi=6,Gi=4,Ji=dt({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"}}}),Xi=(t,e)=>{const r=t.indexOf(e);return r===-1?[...t,e]:t.filter((n,o)=>o!==r)},Qi=({value:t,property:e,onSkip:r,useQuery:n,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const l=Se(n());if(l.state==="error")throw l.error;const d=kt(()=>{switch(l.state){case"loading":return null;case"loaded":case"revalidating":{const g=l.data[e.key]??[];return Object.fromEntries(g.map(y=>[y.value,!0]))}default:F(l)}},[l,e.key]),c=ro(t),f=c.length>0,[s,p]=q(to),[_,v]=q();return bt(()=>{a()}),u("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&u("div",{class:"top-0 px-4 py-1",children:u("input",{type:"text",class:Ji({hasValue:f}),value:_,onInput:g=>v(g.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":throw i.error;case"loading":return u("div",{class:"flex px-4",children:u("div",{"aria-hidden":!0,class:nt({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:u("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const g=i.data[e.key]??[],h=(_&&_.length>1?g.filter(m=>m.label.toLowerCase().includes(_.toLowerCase())):g).map(m=>({...m,disabled:d===null?!1:d[m.value]!==!0}));return h.find(m=>!m.disabled)?u("div",{class:"pointer-fine:px-4",children:u("ul",{style:{maxHeight:(eo+qi)*(Zi-1)+eo/2+2*Gi},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:[h.slice(0,s).map(m=>{const k=c.includes(m.value);return u("li",{class:"animate-appear-tag max-w-full origin-top",children:u("button",{"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(t.select){case"many":{const S=Xi(c,m.value);o({select:"many",value:S});break}case"one":o({select:"one",value:m.value});break;default:F(t)}},class:nt({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),h.length>s&&u("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:u("button",{class:Ut({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(s+to)},children:[u("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),u(ft,{"aria-hidden":!0,name:"plus"})]})})]})}):u("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:F(i)}})(),u("footer",{class:"flex justify-end p-2",children:[u("div",{class:"flex-1",children:f&&u("button",{class:Ut({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[u(ft,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&u("div",{class:"flex items-center overflow-hidden",children:u("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[c.length," selected"]})}),u("div",{class:"flex-1",children:u("button",{class:Ut({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:r,children:[f?"Done":"Skip"," ",u(ft,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ta={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},ea=dt({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"}}}),ra=dt({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"}}}),na=dt({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),oa=t=>{const e=B(null),[r,n]=q(0),o=()=>{var i;return n(((i=e.current)==null?void 0:i.clientHeight)??0)};return xt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:r,ref:e,updateHeight:o}},ro=t=>typeof t.value=="string"?[t.value]:t.value??[],ia=({active:t,value:e,onActiveChange:r,property:n,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:l})=>{const d=n.icon??ta[n.key]??"filter",c=ro(e),{height:f,ref:s,updateHeight:p}=oa([t]),_=c.length>0;return u("section",{"data-filter-key":n.key,role:"tab","aria-label":n.label,"aria-selected":t?"true":void 0,class:ea({hasValue:_}),onTouchStart:ca,children:[u("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[u("button",{"aria-label":t?"Close filter":"Open filter",class:ra({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:()=>r(!t),children:[u(ft,{"aria-hidden":!0,class:"flex-none",name:d}),u("p",{children:n.label})]}),u("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:f},children:u("div",{class:"w-full",ref:s,children:t&&u(Qi,{useQuery:l,onRender:p,onSkip:o,onValueChange:i,unfilteredQuery:a,property:n,value:e})})})]}),!t&&u("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:()=>r(!0),children:[u("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:u(Yi,{property:n,query:a,selectedValues:c})}),u(ft,{"aria-hidden":!0,class:na(),name:"chevron-right"})]})]})},aa=t=>{const e=B();return bt(()=>{e.current=t},[t]),e.current},sa=(t,e)=>{var o;const r=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),n=(r==null?void 0:r.querySelector("[data-current-value]"))??(r==null?void 0:r.querySelector("[data-filter]"));n&&(U(n instanceof HTMLButtonElement,"option must be button"),n.focus())},la=(t,e)=>{const r=aa(t);bt(()=>{if(r===t)return;const n=t??r;n&&sa(n,e)},[t,r,e])};function ca(){}const ua=({property:t,value:e,activeKey:r,properties:n,appliedFilters:o})=>{var i,a;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:r};case"many":return{newValue:e,newActiveKey:r};case"one":{const l=n.findIndex(s=>s.key===t.key),d=l!==-1?(i=n[l+1])==null?void 0:i.key:void 0,f=(d?((a=o[d])==null?void 0:a.value)!==void 0:!1)?void 0:d;return{newValue:e,newActiveKey:f}}default:F(e)}},da=({properties:t,parentRef:e,appliedFilters:r,onFilterValueChange:n,apiClient:o,logger:i})=>{var s;const[a,l]=q((s=t[0])==null?void 0:s.key);la(a,e);const d=kt(()=>er(t),[t]),c=Se(tr(ae({filter:d,baseKey:"filters"}),()=>Wr({apiClient:o,logger:i,filters:d}),Ce));if(c.state==="error")throw c.error;const f=Rt(p=>()=>{const _={...r,[p]:d[p]};return tr(ae({filter:_,baseKey:"filters"}),()=>Wr({apiClient:o,logger:i,filters:_}),Ce)},[o,r,d,i]);return u("aside",{children:u("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 _=a===p.key,v=r[p.key]??{select:p.select,value:void 0},g=E=>{const{newActiveKey:m,newValue:k}=ua({property:p,activeKey:a,value:E,properties:t,appliedFilters:r});return l(m),n(p.key,k)},y=E=>l(E?p.key:void 0),h=f(p.key);return u(zt,{Fallback:ne,children:u(ia,{unfilteredQuery:c,active:_,property:p,onActiveChange:y,value:v,onSkip:()=>{var k;const E=t.findIndex(S=>S.key===a),m=E!==-1?(k=t[E+1])==null?void 0:k.key:void 0;l(m)},useQuery:h,onValueChange:g})},p.key)})})})},fe=({chars:t})=>u("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),no=dt({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}}),fa=dt({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"}),oo=({job:t,property:e})=>{switch(typeof e){case"string":return ht(e,t.raw)?t.raw[e]:null;case"object":return t.customData&&e.transform(t.customData[e.key]);default:F(e)}},pa=({job:t,config:e})=>{const r=oo({job:t,property:e.subheading}),n=e.infoTags.map(o=>oo({job:t,property:o})).filter(Boolean);return u("a",{href:t.href,class:no(),children:[u("div",{class:"flex flex-1 flex-col gap-4",children:[u("div",{class:"flex flex-col items-start gap-1",children:[u("div",{class:"order-2 flex flex-col gap-1",children:[u("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:t.title}),r?u("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),t.isNew?u("span",{class:fa({class:"order-1"}),children:"NEW"}):u("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]})]}),u("div",{class:"flex flex-col items-start gap-2",children:[t.pay&&u("span",{class:nt({variant:"monetaryWeak",size:"xs"}),children:t.pay}),n.length>0&&u("div",{class:"flex items-center gap-2",children:n.map(o=>u("span",{class:nt({size:"xs"}),children:o},o))})]})]}),u("div",{"aria-hidden":!0,class:"flex items-center",children:u(ft,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},io=({animationDelay:t,seed:e})=>u("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:no({interactive:!1}),children:[u("div",{class:"flex flex-1 flex-col gap-4",children:[u("div",{class:"flex flex-col items-start gap-1",children:[u("p",{class:"text-style-job-card-info text-copy-job-info",children:u(fe,{chars:12})}),u("div",{class:"flex flex-col gap-1",children:[u("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:u(fe,{chars:13+(e+5)*e%7})}),u("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:u(fe,{chars:7+e*e%3})})]})]}),u("div",{class:"flex flex-col items-start gap-2",children:[e%2===0&&u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),u("div",{class:"flex items-center gap-2",children:[u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),u("div",{"aria-hidden":!0,class:"flex items-center",children:u(ft,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),_a=({state:t,fetchNextPage:e})=>t==="revalidating"?u("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:re}).map((r,n)=>u("li",{children:u(io,{seed:n,animationDelay:(n-4)*.1})},n))}):u("button",{class:Ut({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),ha=({pagination:t})=>(U(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),ga=({appliedFilters:t,apiClient:e,logger:r,jobCardConfig:n,initialData:o})=>{const[i,a]=q(1);return u(T,{children:Array.from({length:i}).map((l,d)=>{const c=d===i-1;return u(zt,{Fallback:ne,children:u(va,{appliedFilters:t,apiClient:e,logger:r,page:d+1,isFirst:d===0,isLast:c,fetchNextPage:()=>a(i+1),jobCardConfig:n,initialData:o},d)},d)})})},va=({appliedFilters:t,apiClient:e,logger:r,page:n,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:l,initialData:d})=>{const{data:c,error:f,state:s}=Se(tr(ae({filter:t,baseKey:n.toString()}),()=>Br({apiClient:e,logger:r,filters:t,page:n}),{...Ce,fallbackData:d}));switch(s){case"loading":return u(T,{children:[o&&u("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:u(fe,{chars:8})}),u("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:re}).map((p,_)=>u("li",{children:u(io,{seed:_,animationDelay:(_-re)*.1})},_))})]});case"error":throw f;case"revalidating":case"loaded":{if(U(c.pagination.current_page===n),c.pagination.total===0)return u("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[u(ft,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),u("div",{class:"flex flex-col items-center gap-1",children:[u("p",{class:"text-copy-neutral",children:"No jobs found"}),u("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const p=c.pagination.last_page!==c.pagination.current_page;return u(T,{children:[o&&u("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:ha({pagination:c.pagination})}),u("ul",{"aria-label":`Page ${n}`,class:"flex flex-col gap-3",children:c.results.map(_=>u("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:s==="revalidating"?.33:1},children:u(pa,{job:_,config:l})},_.id))}),p&&i&&u(_a,{state:s,fetchNextPage:a})]})}default:F(s)}},er=t=>t.reduce((e,r)=>{switch(r.select){case"one":e[r.key]={select:r.select,value:r.value};break;case"many":e[r.key]={select:r.select,value:r.value?[r.value]:[]};break;default:F(r.select)}return e},{}),wa=({apiClient:t,logger:e,properties:r,class:n,jobCardConfig:o,initialData:i})=>{const a=B(null),[l,d]=q(()=>er(r));return u("div",{ref:a,class:n,id:Fr,children:u("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:[u(zt,{Fallback:ne,children:u(da,{appliedFilters:l,onFilterValueChange:(c,f)=>{d(s=>({...s,[c]:f}))},properties:r,parentRef:a,logger:e,apiClient:t})}),u("div",{class:"md:col-span-2",children:u("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:u(zt,{Fallback:ne,children:u(ga,{appliedFilters:l,logger:e,apiClient:t,jobCardConfig:o,initialData:i==null?void 0:i.jobs},ae({filter:l,baseKey:"resultsSection"}))})})})]})})},ya=`#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 .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 .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#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-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-screen{min-height:100vh}#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-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 .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 .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-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#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-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-none{border-style:none}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-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-app{background-color:var(--i-app-bg)}#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-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 .p-0{padding:0}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#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-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#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 .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 .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-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#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-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 .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#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-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 .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 .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#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 .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#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-\\[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-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)}@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 ma=["1","2","3","4","5","6","7","8","9","10","11","12"],ba={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:[60.5,.2],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]}},xa=(t,e=1,r)=>n=>{const[o,i]=ba[r][n];return"oklch("+o+"% "+i*e+" "+t+")"},rr=t=>{const e=xa(t.hue,t.chroma,t.mode);return Object.fromEntries(ma.map(r=>[t.prefix+r,t.transform(e(r))]))},nr=t=>t,ka=t=>{const e=Object.keys(t).flatMap(r=>{const n=t[r];return typeof n=="object"&&n!==null?Object.keys(n).map(o=>{const i=n[o];return[`${String(r)}.${o}`,i]}):[[r,n]]});return Object.fromEntries(e)},pe=t=>!!t&&typeof t=="object"&&!Array.isArray(t),or=(t,...e)=>{if(!e.length)return t;const r=e.shift();if(pe(t)&&pe(r))for(const n in r){const o=r[n];if(pe(o)){t[n]||Object.assign(t,{[n]:{}});const i=t[n];pe(i)&&or(i,o)}else Object.assign(t,{[n]:r[n]})}return or(t,...e)},ja=t=>{function e(r,n){const o=[t.prefix,n.toString().replace(/\./g,"-")].join("");return r==="declaration"?`--${o}`:`var(--${o})`}return e},Ea=()=>({core:t=>({semantic:e=>({component:r=>({from:n=>{const{theme:o,getToken:i}=n,a=p=>i("reference",p.toString()),l=t({theme:o}),d=e({theme:o,core:a,raw:{core:l}}),c=r({theme:o,core:a,semantic:a,raw:{core:l,semantic:d}}),f=ka(or(l,d,c)),s=([p,_],
|
|
17
|
+
*/var Un;function wi(){return Un||(Un=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=In,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(m){{for(var k=arguments.length,S=new Array(k>1?k-1:0),j=1;j<k;j++)S[j-1]=arguments[j];n("error",m,S)}}function n(m,k,S){{var j=e.ReactDebugCurrentFrame,C=j.getStackAddendum();C!==""&&(k+="%s",S=S.concat([C]));var b=S.map(function(x){return String(x)});b.unshift("Warning: "+k),Function.prototype.apply.call(console[m],console,b)}}function o(m,k){return m===k&&(m!==0||1/m===1/k)||m!==m&&k!==k}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,l=t.useEffect,d=t.useLayoutEffect,c=t.useDebugValue,f=!1,s=!1;function p(m,k,S){f||t.startTransition!==void 0&&(f=!0,r("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=k();if(!s){var C=k();i(j,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var b=a({inst:{value:j,getSnapshot:k}}),x=b[0].inst,A=b[1];return d(function(){x.value=j,x.getSnapshot=k,_(x)&&A({inst:x})},[m,j,k]),l(function(){_(x)&&A({inst:x});var Y=function(){_(x)&&A({inst:x})};return m(Y)},[m]),c(j),j}function _(m){var k=m.getSnapshot,S=m.value;try{var j=k();return!i(S,j)}catch{return!0}}function g(m,k,S){return k()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,h=y?g:p,E=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:h;Fe.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Fe}process.env.NODE_ENV==="production"?He.exports=vi():He.exports=wi();var yi=He.exports;const pt=()=>{},z=pt(),Ue=Object,O=t=>t===z,et=t=>typeof t=="function",_t=(t,e)=>({...t,...e}),mi=t=>et(t.then),ce=new WeakMap;let bi=0;const Kt=t=>{const e=typeof t,r=t&&t.constructor,n=r==Date;let o,i;if(Ue(t)===t&&!n&&r!=RegExp){if(o=ce.get(t),o)return o;if(o=++bi+"~",ce.set(t,o),r==Array){for(o="@",i=0;i<t.length;i++)o+=Kt(t[i])+",";ce.set(t,o)}if(r==Ue){o="#";const a=Ue.keys(t).sort();for(;!O(i=a.pop());)O(t[i])||(o+=i+":"+Kt(t[i])+",");ce.set(t,o)}}else o=n?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},rt=new WeakMap,ze={},ue={},We="undefined",de=typeof window!=We,Be=typeof document!=We,xi=()=>de&&typeof window.requestAnimationFrame!=We,zn=(t,e)=>{const r=rt.get(t);return[()=>!O(e)&&t.get(e)||ze,n=>{if(!O(e)){const o=t.get(e);e in ue||(ue[e]=o),r[5](e,_t(o,n),o||ze)}},r[6],()=>!O(e)&&e in ue?ue[e]:!O(e)&&t.get(e)||ze]};let Ke=!0;const ki=()=>Ke,[Ye,qe]=de&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[pt,pt],ji=()=>{const t=Be&&document.visibilityState;return O(t)||t!=="hidden"},Ei=t=>(Be&&document.addEventListener("visibilitychange",t),Ye("focus",t),()=>{Be&&document.removeEventListener("visibilitychange",t),qe("focus",t)}),Si=t=>{const e=()=>{Ke=!0,t()},r=()=>{Ke=!1};return Ye("online",e),Ye("offline",r),()=>{qe("online",e),qe("offline",r)}},Ci={isOnline:ki,isVisible:ji},Oi={initFocus:Ei,initReconnect:Si},Wn=!le.useId,Yt=!de||"Deno"in window,Ti=t=>xi()?window.requestAnimationFrame(t):setTimeout(t,1),Ze=Yt?bt:xt,Ge=typeof navigator<"u"&&navigator.connection,Bn=!Yt&&Ge&&(["slow-2g","2g"].includes(Ge.effectiveType)||Ge.saveData),Je=t=>{if(et(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Kt(t):"",[t,e]};let Ri=0;const Xe=()=>++Ri,Kn=0,Yn=1,qn=2;var qt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Kn,MUTATE_EVENT:qn,RECONNECT_EVENT:Yn};async function Zn(...t){const[e,r,n,o]=t,i=_t({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const l=i.rollbackOnError;let d=i.optimisticData;const c=i.revalidate!==!1,f=_=>typeof l=="function"?l(_):l!==!1,s=i.throwOnError;if(et(r)){const _=r,g=[],v=e.keys();for(const y of v)!/^\$(inf|sub)\$/.test(y)&&_(e.get(y)._k)&&g.push(y);return Promise.all(g.map(p))}return p(r);async function p(_){const[g]=Je(_);if(!g)return;const[v,y]=zn(e,g),[h,E,m,k]=rt.get(e),S=()=>{const H=h[g];return c&&(delete m[g],delete k[g],H&&H[0])?H[0](qn).then(()=>v().data):v().data};if(t.length<3)return S();let j=n,C;const b=Xe();E[g]=[b,0];const x=!O(d),A=v(),Y=A.data,Dt=A._c,ot=O(Dt)?Y:Dt;if(x&&(d=et(d)?d(ot,Y):d,y({data:d,_c:ot})),et(j))try{j=j(ot)}catch(H){C=H}if(j&&mi(j))if(j=await j.catch(H=>{C=H}),b!==E[g][0]){if(C)throw C;return j}else C&&x&&f(C)&&(a=!0,y({data:ot,_c:z}));if(a&&!C)if(et(a)){const H=a(j,ot);y({data:H,error:z,_c:z})}else y({data:j,error:z,_c:z});if(E[g][1]=Xe(),Promise.resolve(S()).then(()=>{y({_c:z})}),C){if(s)throw C;return}return j}}const Gn=(t,e)=>{for(const r in t)t[r][0]&&t[r][0](e)},Ai=(t,e)=>{if(!rt.has(t)){const r=_t(Oi,e),n={},o=Zn.bind(z,t);let i=pt;const a={},l=(f,s)=>{const p=a[f]||[];return a[f]=p,p.push(s),()=>p.splice(p.indexOf(s),1)},d=(f,s,p)=>{t.set(f,s);const _=a[f];if(_)for(const g of _)g(s,p)},c=()=>{if(!rt.has(t)&&(rt.set(t,[n,{},{},{},o,d,l]),!Yt)){const f=r.initFocus(setTimeout.bind(z,Gn.bind(z,n,Kn))),s=r.initReconnect(setTimeout.bind(z,Gn.bind(z,n,Yn)));i=()=>{f&&f(),s&&s(),rt.delete(t)}}};return c(),[t,o,c,i]}return[t,rt.get(t)[4]]},Di=(t,e,r,n,o)=>{const i=r.errorRetryCount,a=o.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!O(i)&&a>i||setTimeout(n,l,o)},Li=(t,e)=>Kt(t)==Kt(e),[Jn,$i]=Ai(new Map),Pi=_t({onLoadingSlow:pt,onSuccess:pt,onError:pt,onErrorRetry:Di,onDiscarded:pt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bn?5e3:3e3,compare:Li,isPaused:()=>!1,cache:Jn,mutate:$i,fallback:{}},Ci),Vi=(t,e)=>{const r=_t(t,e);if(e){const{use:n,fallback:o}=t,{use:i,fallback:a}=e;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=_t(o,a))}return r},Ni=xe({}),Mi="$inf$",Xn=de&&window.__SWR_DEVTOOLS_USE__,Hi=Xn?window.__SWR_DEVTOOLS_USE__:[],Ii=()=>{Xn&&(window.__SWR_DEVTOOLS_REACT__=le)},Fi=t=>et(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Ui=()=>_t(Pi,Ae(Ni)),zi=t=>(e,r,n)=>t(e,r&&((...i)=>{const[a]=Je(e),[,,,l]=rt.get(Jn);if(a.startsWith(Mi))return r(...i);const d=l[a];return O(d)?r(...i):(delete l[a],d)}),n),Wi=Hi.concat(zi),Bi=t=>function(...r){const n=Ui(),[o,i,a]=Fi(r),l=Vi(n,a);let d=t;const{use:c}=l,f=(c||[]).concat(Wi);for(let s=f.length;s--;)d=f[s](d);return d(o,i||l.fetcher||null,l)},Ki=(t,e,r)=>{const n=e[t]||(e[t]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};Ii();const Qn=le.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)}),Qe={dedupe:!0},tr=Bi((t,e,r)=>{const{cache:n,compare:o,suspense:i,fallbackData:a,revalidateOnMount:l,revalidateIfStale:d,refreshInterval:c,refreshWhenHidden:f,refreshWhenOffline:s,keepPreviousData:p}=r,[_,g,v,y]=rt.get(n),[h,E]=Je(t),m=B(!1),k=B(!1),S=B(h),j=B(e),C=B(r),b=()=>C.current,x=()=>b().isVisible()&&b().isOnline(),[A,Y,Dt,ot]=zn(n,h),H=B({}).current,Aa=O(a)?r.fallback[h]:a,ao=(D,L)=>{for(const M in H){const $=M;if($==="data"){if(!o(D[$],L[$])&&(!O(D[$])||!o(he,L[$])))return!1}else if(L[$]!==D[$])return!1}return!0},so=kt(()=>{const D=(()=>!h||!e?!1:O(l)?b().isPaused()||i?!1:O(d)?!0:d:l)(),L=I=>{const it=_t(I);return delete it._k,D?{isValidating:!0,isLoading:!0,...it}:it},M=A(),$=ot(),J=L(M),Vt=M===$?J:L($);let N=J;return[()=>{const I=L(A());return ao(I,N)?(N.data=I.data,N.isLoading=I.isLoading,N.isValidating=I.isValidating,N.error=I.error,N):(N=I,I)},()=>Vt]},[n,h]),Lt=yi.useSyncExternalStore(Rt(D=>Dt(h,(L,M)=>{ao(M,L)||D()}),[n,h]),so[0],so[1]),lo=!m.current,Da=_[h]&&_[h].length>0,$t=Lt.data,Pt=O($t)?Aa:$t,_e=Lt.error,co=B(Pt),he=p?O($t)?co.current:$t:Pt,uo=(()=>Da&&!O(_e)?!1:lo&&!O(l)?l:b().isPaused()?!1:i?O(Pt)?!1:d:O(Pt)||d)(),fo=!!(h&&e&&lo&&uo),La=O(Lt.isValidating)?fo:Lt.isValidating,$a=O(Lt.isLoading)?fo:Lt.isLoading,Zt=Rt(async D=>{const L=j.current;if(!h||!L||k.current||b().isPaused())return!1;let M,$,J=!0;const Vt=D||{},N=!v[h]||!Vt.dedupe,I=()=>Wn?!k.current&&h===S.current&&m.current:h===S.current,it={isValidating:!1,isLoading:!1},_o=()=>{Y(it)},ho=()=>{const K=v[h];K&&K[1]===$&&delete v[h]},go={isValidating:!0};O(A().data)&&(go.isLoading=!0);try{if(N&&(Y(go),r.loadingTimeout&&O(A().data)&&setTimeout(()=>{J&&I()&&b().onLoadingSlow(h,r)},r.loadingTimeout),v[h]=[L(E),Xe()]),[M,$]=v[h],M=await M,N&&setTimeout(ho,r.dedupingInterval),!v[h]||v[h][1]!==$)return N&&I()&&b().onDiscarded(h),!1;it.error=z;const K=g[h];if(!O(K)&&($<=K[0]||$<=K[1]||K[1]===0))return _o(),N&&I()&&b().onDiscarded(h),!1;const at=A().data;it.data=o(at,M)?at:M,N&&I()&&b().onSuccess(M,h,r)}catch(K){ho();const at=b(),{shouldRetryOnError:sr}=at;at.isPaused()||(it.error=K,N&&I()&&(at.onError(K,h,at),(sr===!0||et(sr)&&sr(K))&&x()&&at.onErrorRetry(K,h,at,Pa=>{const lr=_[h];lr&&lr[0]&&lr[0](qt.ERROR_REVALIDATE_EVENT,Pa)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return J=!1,_o(),!0},[h,n]),po=Rt((...D)=>Zn(n,S.current,...D),[]);if(Ze(()=>{j.current=e,C.current=r,O($t)||(co.current=$t)}),Ze(()=>{if(!h)return;const D=Zt.bind(z,Qe);let L=0;const $=Ki(h,_,(J,Vt={})=>{if(J==qt.FOCUS_EVENT){const N=Date.now();b().revalidateOnFocus&&N>L&&x()&&(L=N+b().focusThrottleInterval,D())}else if(J==qt.RECONNECT_EVENT)b().revalidateOnReconnect&&x()&&D();else{if(J==qt.MUTATE_EVENT)return Zt();if(J==qt.ERROR_REVALIDATE_EVENT)return Zt(Vt)}});return k.current=!1,S.current=h,m.current=!0,Y({_k:E}),uo&&(O(Pt)||Yt?D():Ti(D)),()=>{k.current=!0,$()}},[h]),Ze(()=>{let D;function L(){const $=et(c)?c(A().data):c;$&&D!==-1&&(D=setTimeout(M,$))}function M(){!A().error&&(f||b().isVisible())&&(s||b().isOnline())?Zt(Qe).then(L):L()}return L(),()=>{D&&(clearTimeout(D),D=-1)}},[c,f,s,h]),De(he),i&&O(Pt)&&h){if(!Wn&&Yt)throw new Error("Fallback data is required when using suspense in SSR.");j.current=e,C.current=r,k.current=!1;const D=y[h];if(!O(D)){const L=po(D);Qn(L)}if(O(_e)){const L=Zt(Qe);O(he)||(L.status="fulfilled",L.value=!0),Qn(L)}else throw _e}return{mutate:po,get data(){return H.data=!0,he},get error(){return H.error=!0,_e},get isValidating(){return H.isValidating=!0,La},get isLoading(){return H.isLoading=!0,$a}}}),nt=dt({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 border-none text-tag-monetary-weak-copy"},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}}),Yi=({query:t,property:e,selectedValues:r})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>r.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return U(i),u("span",{class:nt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return u("span",{class:nt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:F(t)}},to=8,eo=42,qi=8,Zi=6,Gi=4,Ji=dt({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"}}}),Xi=(t,e)=>{const r=t.indexOf(e);return r===-1?[...t,e]:t.filter((n,o)=>o!==r)},Qi=({value:t,property:e,onSkip:r,useQuery:n,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const l=Se(n());if(l.state==="error")throw l.error;const d=kt(()=>{switch(l.state){case"loading":return null;case"loaded":case"revalidating":{const v=l.data[e.key]??[];return Object.fromEntries(v.map(y=>[y.value,!0]))}default:F(l)}},[l,e.key]),c=ro(t),f=c.length>0,[s,p]=q(to),[_,g]=q();return bt(()=>{a()}),u("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&u("div",{class:"top-0 px-4 py-1",children:u("input",{type:"text",class:Ji({hasValue:f}),value:_,onInput:v=>g(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":throw i.error;case"loading":return u("div",{class:"flex px-4",children:u("div",{"aria-hidden":!0,class:nt({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:u("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=i.data[e.key]??[],h=(_&&_.length>1?v.filter(m=>m.label.toLowerCase().includes(_.toLowerCase())):v).map(m=>({...m,disabled:d===null?!1:d[m.value]!==!0}));return h.find(m=>!m.disabled)?u("div",{class:"pointer-fine:px-4",children:u("ul",{style:{maxHeight:(eo+qi)*(Zi-1)+eo/2+2*Gi},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:[h.slice(0,s).map(m=>{const k=c.includes(m.value);return u("li",{class:"animate-appear-tag max-w-full origin-top",children:u("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(t.select){case"many":{const S=Xi(c,m.value);o({select:"many",value:S});break}case"one":o({select:"one",value:m.value});break;default:F(t)}},class:nt({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),h.length>s&&u("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:u("button",{class:Ut({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(s+to)},children:[u("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),u(ft,{"aria-hidden":!0,name:"plus"})]})})]})}):u("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:F(i)}})(),u("footer",{class:"flex justify-end p-2",children:[u("div",{class:"flex-1",children:f&&u("button",{class:Ut({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[u(ft,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&u("div",{class:"flex items-center overflow-hidden",children:u("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[c.length," selected"]})}),u("div",{class:"flex-1",children:u("button",{class:Ut({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:r,children:[f?"Done":"Skip"," ",u(ft,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ta={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},ea=dt({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"}}}),ra=dt({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"}}}),na=dt({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),oa=t=>{const e=B(null),[r,n]=q(0),o=()=>{var i;return n(((i=e.current)==null?void 0:i.clientHeight)??0)};return xt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:r,ref:e,updateHeight:o}},ro=t=>typeof t.value=="string"?[t.value]:t.value??[],ia=({active:t,value:e,onActiveChange:r,property:n,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:l})=>{const d=n.icon??ta[n.key]??"filter",c=ro(e),{height:f,ref:s,updateHeight:p}=oa([t]),_=c.length>0;return u("section",{"data-filter-key":n.key,role:"tab","aria-label":n.label,"aria-selected":t?"true":void 0,class:ea({hasValue:_}),onTouchStart:ca,children:[u("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[u("button",{"aria-label":t?"Close filter":"Open filter",class:ra({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:()=>r(!t),children:[u(ft,{"aria-hidden":!0,class:"flex-none",name:d}),u("p",{children:n.label})]}),u("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:f},children:u("div",{class:"w-full",ref:s,children:t&&u(Qi,{useQuery:l,onRender:p,onSkip:o,onValueChange:i,unfilteredQuery:a,property:n,value:e})})})]}),!t&&u("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:()=>r(!0),children:[u("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:u(Yi,{property:n,query:a,selectedValues:c})}),u(ft,{"aria-hidden":!0,class:na(),name:"chevron-right"})]})]})},aa=t=>{const e=B();return bt(()=>{e.current=t},[t]),e.current},sa=(t,e)=>{var o;const r=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),n=(r==null?void 0:r.querySelector("[data-current-value]"))??(r==null?void 0:r.querySelector("[data-filter]"));n&&(U(n instanceof HTMLButtonElement,"option must be button"),n.focus())},la=(t,e)=>{const r=aa(t);bt(()=>{if(r===t)return;const n=t??r;n&&sa(n,e)},[t,r,e])};function ca(){}const ua=({property:t,value:e,activeKey:r,properties:n,appliedFilters:o})=>{var i,a;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:r};case"many":return{newValue:e,newActiveKey:r};case"one":{const l=n.findIndex(s=>s.key===t.key),d=l!==-1?(i=n[l+1])==null?void 0:i.key:void 0,f=(d?((a=o[d])==null?void 0:a.value)!==void 0:!1)?void 0:d;return{newValue:e,newActiveKey:f}}default:F(e)}},da=({properties:t,parentRef:e,appliedFilters:r,onFilterValueChange:n,apiClient:o,logger:i})=>{var s;const[a,l]=q((s=t[0])==null?void 0:s.key);la(a,e);const d=kt(()=>er(t.map(({value:p,..._})=>_)),[t]),c=Se(tr(ae({filter:d,baseKey:"filters"}),()=>Wr({apiClient:o,logger:i,filters:d}),Ce));if(c.state==="error")throw c.error;const f=Rt(p=>()=>{const _={...r,[p]:d[p]};return tr(ae({filter:_,baseKey:"filters"}),()=>Wr({apiClient:o,logger:i,filters:_}),Ce)},[o,r,d,i]);return u("aside",{children:u("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 _=a===p.key,g=r[p.key]??{select:p.select,value:void 0},v=E=>{const{newActiveKey:m,newValue:k}=ua({property:p,activeKey:a,value:E,properties:t,appliedFilters:r});return l(m),n(p.key,k)},y=E=>l(E?p.key:void 0),h=f(p.key);return u(zt,{Fallback:ne,children:u(ia,{unfilteredQuery:c,active:_,property:p,onActiveChange:y,value:g,onSkip:()=>{var k;const E=t.findIndex(S=>S.key===a),m=E!==-1?(k=t[E+1])==null?void 0:k.key:void 0;l(m)},useQuery:h,onValueChange:v})},p.key)})})})},fe=({chars:t})=>u("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),no=dt({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}}),fa=dt({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"}),oo=({job:t,property:e})=>{switch(typeof e){case"string":return ht(e,t.raw)?t.raw[e]:null;case"object":return t.customData&&e.transform(t.customData[e.key]);default:F(e)}},pa=({job:t,config:e})=>{const r=oo({job:t,property:e.subheading}),n=e.infoTags.map(o=>oo({job:t,property:o})).filter(Boolean);return u("a",{href:t.href,class:no(),children:[u("div",{class:"flex flex-1 flex-col gap-4",children:[u("div",{class:"flex flex-col items-start gap-1",children:[u("div",{class:"order-2 flex flex-col gap-1",children:[u("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:t.title}),r?u("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),t.isNew?u("span",{class:fa({class:"order-1"}),children:"NEW"}):u("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]})]}),u("div",{class:"flex flex-col items-start gap-2",children:[t.pay&&u("span",{class:nt({variant:"monetaryWeak",size:"xs"}),children:t.pay}),n.length>0&&u("div",{class:"flex items-center gap-2",children:n.map(o=>u("span",{class:nt({size:"xs"}),children:o},o))})]})]}),u("div",{"aria-hidden":!0,class:"flex items-center",children:u(ft,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},io=({animationDelay:t,seed:e})=>u("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:no({interactive:!1}),children:[u("div",{class:"flex flex-1 flex-col gap-4",children:[u("div",{class:"flex flex-col items-start gap-1",children:[u("p",{class:"text-style-job-card-info text-copy-job-info",children:u(fe,{chars:12})}),u("div",{class:"flex flex-col gap-1",children:[u("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:u(fe,{chars:13+(e+5)*e%7})}),u("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:u(fe,{chars:7+e*e%3})})]})]}),u("div",{class:"flex flex-col items-start gap-2",children:[e%2===0&&u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),u("div",{class:"flex items-center gap-2",children:[u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),u("div",{"aria-hidden":!0,class:"flex items-center",children:u(ft,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),_a=({state:t,fetchNextPage:e})=>t==="revalidating"?u("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:re}).map((r,n)=>u("li",{children:u(io,{seed:n,animationDelay:(n-4)*.1})},n))}):u("button",{class:Ut({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),ha=({pagination:t})=>(U(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),ga=({appliedFilters:t,apiClient:e,logger:r,jobCardConfig:n,initialData:o})=>{const[i,a]=q(1);return u(T,{children:Array.from({length:i}).map((l,d)=>{const c=d===i-1;return u(zt,{Fallback:ne,children:u(va,{appliedFilters:t,apiClient:e,logger:r,page:d+1,isFirst:d===0,isLast:c,fetchNextPage:()=>a(i+1),jobCardConfig:n,initialData:o},d)},d)})})},va=({appliedFilters:t,apiClient:e,logger:r,page:n,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:l,initialData:d})=>{const c=n===1?d:void 0,{data:f,error:s,state:p}=Se(tr(ae({filter:t,baseKey:n.toString()}),()=>Br({apiClient:e,logger:r,filters:t,page:n}),{...Ce,fallbackData:c}));switch(p){case"loading":return u(T,{children:[o&&u("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:u(fe,{chars:8})}),u("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:re}).map((_,g)=>u("li",{children:u(io,{seed:g,animationDelay:(g-re)*.1})},g))})]});case"error":throw s;case"revalidating":case"loaded":{if(U(f.pagination.current_page===n,"Received wrong page from server"),f.pagination.total===0)return u("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[u(ft,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),u("div",{class:"flex flex-col items-center gap-1",children:[u("p",{class:"text-copy-neutral",children:"No jobs found"}),u("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 u(T,{children:[o&&u("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:ha({pagination:f.pagination})}),u("ul",{"aria-label":`Page ${n}`,class:"flex flex-col gap-3",children:f.results.map(g=>u("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:u(pa,{job:g,config:l})},g.id))}),_&&i&&u(_a,{state:p,fetchNextPage:a})]})}default:F(p)}},er=t=>t.reduce((e,r)=>{switch(r.select){case"one":e[r.key]={select:r.select,value:r.value};break;case"many":e[r.key]={select:r.select,value:r.value?[r.value]:[]};break;default:F(r.select)}return e},{}),wa=({apiClient:t,logger:e,properties:r,class:n,jobCardConfig:o,initialData:i,onFilterChange:a})=>{const l=B(null),[d,c]=q(()=>er(r));return u("div",{ref:l,class:n,id:Fr,children:u("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:[u(zt,{Fallback:ne,children:u(da,{appliedFilters:d,onFilterValueChange:(f,s)=>{c(p=>(a==null||a({...p,[f]:s}),{...p,[f]:s}))},properties:r,parentRef:l,logger:e,apiClient:t})}),u("div",{class:"md:col-span-2",children:u("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:u(zt,{Fallback:ne,children:u(ga,{appliedFilters:d,logger:e,apiClient:t,jobCardConfig:o,initialData:i==null?void 0:i.jobs},ae({filter:d,baseKey:"resultsSection"}))})})})]})})},ya=`#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 .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 .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#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-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-screen{min-height:100vh}#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-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 .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 .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-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#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-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-none{border-style:none}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-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-app{background-color:var(--i-app-bg)}#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-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 .p-0{padding:0}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#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-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#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 .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 .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-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#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-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 .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#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-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 .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 .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#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 .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#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-\\[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-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)}@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 ma=["1","2","3","4","5","6","7","8","9","10","11","12"],ba={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:[60.5,.2],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]}},xa=(t,e=1,r)=>n=>{const[o,i]=ba[r][n];return"oklch("+o+"% "+i*e+" "+t+")"},rr=t=>{const e=xa(t.hue,t.chroma,t.mode);return Object.fromEntries(ma.map(r=>[t.prefix+r,t.transform(e(r))]))},nr=t=>t,ka=t=>{const e=Object.keys(t).flatMap(r=>{const n=t[r];return typeof n=="object"&&n!==null?Object.keys(n).map(o=>{const i=n[o];return[`${String(r)}.${o}`,i]}):[[r,n]]});return Object.fromEntries(e)},pe=t=>!!t&&typeof t=="object"&&!Array.isArray(t),or=(t,...e)=>{if(!e.length)return t;const r=e.shift();if(pe(t)&&pe(r))for(const n in r){const o=r[n];if(pe(o)){t[n]||Object.assign(t,{[n]:{}});const i=t[n];pe(i)&&or(i,o)}else Object.assign(t,{[n]:r[n]})}return or(t,...e)},ja=t=>{function e(r,n){const o=[t.prefix,n.toString().replace(/\./g,"-")].join("");return r==="declaration"?`--${o}`:`var(--${o})`}return e},Ea=()=>({core:t=>({semantic:e=>({component:r=>({from:n=>{const{theme:o,getToken:i}=n,a=p=>i("reference",p.toString()),l=t({theme:o}),d=e({theme:o,core:a,raw:{core:l}}),c=r({theme:o,core:a,semantic:a,raw:{core:l,semantic:d}}),f=ka(or(l,d,c)),s=([p,_],g)=>{const v=[g,p].filter(Boolean).join(".");return typeof _=="object"?Object.entries(_).flatMap(y=>s(y,v)):[[n.getToken("declaration",v),_]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>s(p))),ref:p=>i("reference",p.toString())}}})})})});const Z=t=>{const e=[],r=n=>({with:(o,i)=>(e.push({p:o,fn:i}),r(n)),otherwise:o=>{t:for(let i=e.length-1;i>=0;i--){const a=e[i];for(const l in a.p){if(a.p[l]!==n[l])continue t;return a.fn(n)}}if(o)return o(n);throw new Error("No pattern matched")}});return r(t)},[ir,ar,G]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Sa=Ea().core(({theme:t})=>({color:{black:ir,white:ar,lowest:t.mode==="light"?ar:ir,highest:t.mode==="light"?ir:ar,...rr({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:nr}),...rr({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:nr}),...rr({prefix:"m-",hue:140,chroma:t.accent.chroma,mode:t.mode,transform:nr})}})).semantic(({core:t,theme:e,raw:r})=>{var l,d,c,f,s,p,_,g,v,y,h,E,m,k,S,j,C,b,x,A,Y;const n=(Dt,ot)=>r.core.color[Dt].replace(")",` / ${ot})`),{typography:o,highlights:i}=e,a=((l=e.accessibility)==null?void 0:l.highContrast)??!1;return{"filters-offset-top":(e.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((d=o.filter)==null?void 0:d.fontFamily)??o.fontFamily??"inherit","font-job-heading":((c=e.typography.jobHeading)==null?void 0:c.fontFamily)??e.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((s=o.weight)==null?void 0:s.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((g=(_=o.filter)==null?void 0:_.weight)==null?void 0:g.toString())??((v=o.weight)==null?void 0:v.toString())??"inherit","style-tag":((y=o.tag)==null?void 0:y.style)??o.style??"inherit","style-job-heading":((h=o.jobHeading)==null?void 0:h.style)??o.style??"inherit","weight-tag":((m=(E=o.tag)==null?void 0:E.weight)==null?void 0:m.toString())??((k=o.weight)==null?void 0:k.toString())??"inherit","weight-job-heading":((j=(S=o.jobHeading)==null?void 0:S.weight)==null?void 0:j.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":((b=o.input)==null?void 0:b.style)??o.style??"inherit","weight-input":((A=(x=o.input)==null?void 0:x.weight)==null?void 0:A.toString())??((Y=o.weight)==null?void 0:Y.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"):G,"tag-neutral-weak-copy":t("color.n-12"),"tag-neutral-weak-stroke-color":i==="stroke"?t("color.n-8"):G,"tag-neutral-strong-bg":i==="fill"?t("color.n-12"):G,"tag-neutral-strong-copy":t(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":n(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-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":G,"radius-app":Z(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Z(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Z(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Z(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Z(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"interactive-neutral-bg":n(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":n(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":Z(e).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?t("color.n-2"):G,"section-strong-bg":i==="fill"?t(a?"color.n-3":"color.n-2"):G,"section-weak-stroke-color":i==="fill"?G:t(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?G:t(a?"color.n-11":"color.n-4"),"section-stroke-width":Z(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Z(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>G),"job-card-bg-active":Z(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>G),"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":Z(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Ca=ja({prefix:"i-"}),Oa=t=>{const e=Sa.from({theme:t,getToken:Ca}),r=Object.entries(e.declarations).map(([n,o])=>`${n}: ${o};`);return`#${Fr} {
|
|
19
19
|
${r.concat(r).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`},Ta=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Ir}`);return U(t,`Element with id ${Ir} not found.`),t}}))(),Ra=()=>vo(({apiClient:t,logger:e,analytics:r})=>{const n=({params:o})=>{var i;return V(zt,{Fallback:Zo},[[V("style",{id:"inploi-job-search-styles"},ya),V("style",{id:"inploi-job-search-theme"},Oa(o.theme))],V(Jo,{theme:o.theme}),V(wa,{properties:o.properties,apiClient:t,logger:e,analytics:r,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,jobCardConfig:o.jobCard,initialData:o.initialData})])};return{prerender:async o=>{const i=o.withData?await Br({filters:er(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Ro(V(T,{},V(n,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?be:Et;U(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(V(n,{params:o}),Ta.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Ra})();
|
|
21
|
+
}`},Ta=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Ir}`);return U(t,`Element with id ${Ir} not found.`),t}}))(),Ra=()=>vo(({apiClient:t,logger:e,analytics:r})=>{const n=({params:o})=>{var i;return V(zt,{Fallback:Zo},[[V("style",{id:"inploi-job-search-styles"},ya),V("style",{id:"inploi-job-search-theme"},Oa(o.theme))],V(Jo,{theme:o.theme}),V(wa,{properties:o.properties,apiClient:t,logger:e,analytics:r,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,jobCardConfig:o.jobCard,initialData:o.initialData,onFilterChange:o.onFilterChange})])};return{prerender:async o=>{const i=o.withData?await Br({filters:er(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Ro(V(T,{},V(n,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?be:Et;U(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(V(n,{params:o}),Ta.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Ra})();
|
package/dist/job-search.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getJobSearchResults } from './job-search.api.ts';
|
|
2
|
+
import { FilterValue } from './components/filter.tsx';
|
|
2
3
|
import { IconName } from './components/icon.tsx';
|
|
3
4
|
import { HintedString } from './lib/type-utils.ts';
|
|
4
5
|
type FontSettings = {
|
|
@@ -86,6 +87,7 @@ export interface CSRJobSearchPluginParams extends JobSearchPluginParams {
|
|
|
86
87
|
initialData?: {
|
|
87
88
|
jobs: Awaited<ReturnType<typeof getJobSearchResults>>;
|
|
88
89
|
};
|
|
90
|
+
onFilterChange: (params: Record<string, FilterValue | undefined>) => void;
|
|
89
91
|
}
|
|
90
92
|
export declare const createJobSearchDomManager: () => {
|
|
91
93
|
getRenderTargetElement: () => Element;
|
|
@@ -3399,6 +3399,7 @@ const FilterContentActive = ({
|
|
|
3399
3399
|
return u$1("li", {
|
|
3400
3400
|
class: "animate-appear-tag max-w-full origin-top",
|
|
3401
3401
|
children: u$1("button", {
|
|
3402
|
+
disabled: suggestion.disabled,
|
|
3402
3403
|
"data-filter": true,
|
|
3403
3404
|
"data-current-value": active ? "true" : void 0,
|
|
3404
3405
|
onClick: () => {
|
|
@@ -3706,7 +3707,10 @@ const FilterSection = ({
|
|
|
3706
3707
|
var _a;
|
|
3707
3708
|
const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
|
|
3708
3709
|
useFilterKeyboardFocus(activeKey, parentRef);
|
|
3709
|
-
const defaultFilters = F$1(() => getFilterDefaults(properties
|
|
3710
|
+
const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
|
|
3711
|
+
value: _2,
|
|
3712
|
+
...prop
|
|
3713
|
+
}) => prop)), [properties]);
|
|
3710
3714
|
const unfilteredQuery = getQueryState(useSWR(cacheKey({
|
|
3711
3715
|
filter: defaultFilters,
|
|
3712
3716
|
baseKey: "filters"
|
|
@@ -4031,6 +4035,7 @@ const ResultsPage = ({
|
|
|
4031
4035
|
jobCardConfig,
|
|
4032
4036
|
initialData
|
|
4033
4037
|
}) => {
|
|
4038
|
+
const fallbackData = page === 1 ? initialData : void 0;
|
|
4034
4039
|
const {
|
|
4035
4040
|
data,
|
|
4036
4041
|
error,
|
|
@@ -4045,7 +4050,7 @@ const ResultsPage = ({
|
|
|
4045
4050
|
page
|
|
4046
4051
|
}), {
|
|
4047
4052
|
...SWR_SETTINGS,
|
|
4048
|
-
fallbackData
|
|
4053
|
+
fallbackData
|
|
4049
4054
|
}));
|
|
4050
4055
|
switch (state) {
|
|
4051
4056
|
case "loading":
|
|
@@ -4072,7 +4077,7 @@ const ResultsPage = ({
|
|
|
4072
4077
|
throw error;
|
|
4073
4078
|
case "revalidating":
|
|
4074
4079
|
case "loaded": {
|
|
4075
|
-
invariant(data.pagination.current_page === page);
|
|
4080
|
+
invariant(data.pagination.current_page === page, "Received wrong page from server");
|
|
4076
4081
|
if (data.pagination.total === 0)
|
|
4077
4082
|
return u$1("div", {
|
|
4078
4083
|
class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
|
|
@@ -4148,7 +4153,8 @@ const JobSearch = ({
|
|
|
4148
4153
|
properties,
|
|
4149
4154
|
class: className,
|
|
4150
4155
|
jobCardConfig,
|
|
4151
|
-
initialData
|
|
4156
|
+
initialData,
|
|
4157
|
+
onFilterChange
|
|
4152
4158
|
}) => {
|
|
4153
4159
|
const appRef = _(null);
|
|
4154
4160
|
const [appliedFilters, setAppliedFilters] = h(() => getFilterDefaults(properties));
|
|
@@ -4163,10 +4169,16 @@ const JobSearch = ({
|
|
|
4163
4169
|
children: u$1(FilterSection, {
|
|
4164
4170
|
appliedFilters,
|
|
4165
4171
|
onFilterValueChange: (key, value) => {
|
|
4166
|
-
setAppliedFilters((prev) =>
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4172
|
+
setAppliedFilters((prev) => {
|
|
4173
|
+
onFilterChange == null ? void 0 : onFilterChange({
|
|
4174
|
+
...prev,
|
|
4175
|
+
[key]: value
|
|
4176
|
+
});
|
|
4177
|
+
return {
|
|
4178
|
+
...prev,
|
|
4179
|
+
[key]: value
|
|
4180
|
+
};
|
|
4181
|
+
});
|
|
4170
4182
|
},
|
|
4171
4183
|
properties,
|
|
4172
4184
|
parentRef: appRef,
|
|
@@ -4542,7 +4554,8 @@ const jobSearchPlugin = () => {
|
|
|
4542
4554
|
analytics,
|
|
4543
4555
|
class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
|
|
4544
4556
|
jobCardConfig: params.jobCard,
|
|
4545
|
-
initialData: params.initialData
|
|
4557
|
+
initialData: params.initialData,
|
|
4558
|
+
onFilterChange: params.onFilterChange
|
|
4546
4559
|
})]);
|
|
4547
4560
|
};
|
|
4548
4561
|
return {
|
|
@@ -3397,6 +3397,7 @@ const FilterContentActive = ({
|
|
|
3397
3397
|
return u$1("li", {
|
|
3398
3398
|
class: "animate-appear-tag max-w-full origin-top",
|
|
3399
3399
|
children: u$1("button", {
|
|
3400
|
+
disabled: suggestion.disabled,
|
|
3400
3401
|
"data-filter": true,
|
|
3401
3402
|
"data-current-value": active ? "true" : void 0,
|
|
3402
3403
|
onClick: () => {
|
|
@@ -3704,7 +3705,10 @@ const FilterSection = ({
|
|
|
3704
3705
|
var _a;
|
|
3705
3706
|
const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
|
|
3706
3707
|
useFilterKeyboardFocus(activeKey, parentRef);
|
|
3707
|
-
const defaultFilters = F$1(() => getFilterDefaults(properties
|
|
3708
|
+
const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
|
|
3709
|
+
value: _2,
|
|
3710
|
+
...prop
|
|
3711
|
+
}) => prop)), [properties]);
|
|
3708
3712
|
const unfilteredQuery = getQueryState(useSWR(cacheKey({
|
|
3709
3713
|
filter: defaultFilters,
|
|
3710
3714
|
baseKey: "filters"
|
|
@@ -4029,6 +4033,7 @@ const ResultsPage = ({
|
|
|
4029
4033
|
jobCardConfig,
|
|
4030
4034
|
initialData
|
|
4031
4035
|
}) => {
|
|
4036
|
+
const fallbackData = page === 1 ? initialData : void 0;
|
|
4032
4037
|
const {
|
|
4033
4038
|
data,
|
|
4034
4039
|
error,
|
|
@@ -4043,7 +4048,7 @@ const ResultsPage = ({
|
|
|
4043
4048
|
page
|
|
4044
4049
|
}), {
|
|
4045
4050
|
...SWR_SETTINGS,
|
|
4046
|
-
fallbackData
|
|
4051
|
+
fallbackData
|
|
4047
4052
|
}));
|
|
4048
4053
|
switch (state) {
|
|
4049
4054
|
case "loading":
|
|
@@ -4070,7 +4075,7 @@ const ResultsPage = ({
|
|
|
4070
4075
|
throw error;
|
|
4071
4076
|
case "revalidating":
|
|
4072
4077
|
case "loaded": {
|
|
4073
|
-
invariant(data.pagination.current_page === page);
|
|
4078
|
+
invariant(data.pagination.current_page === page, "Received wrong page from server");
|
|
4074
4079
|
if (data.pagination.total === 0)
|
|
4075
4080
|
return u$1("div", {
|
|
4076
4081
|
class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
|
|
@@ -4146,7 +4151,8 @@ const JobSearch = ({
|
|
|
4146
4151
|
properties,
|
|
4147
4152
|
class: className,
|
|
4148
4153
|
jobCardConfig,
|
|
4149
|
-
initialData
|
|
4154
|
+
initialData,
|
|
4155
|
+
onFilterChange
|
|
4150
4156
|
}) => {
|
|
4151
4157
|
const appRef = _(null);
|
|
4152
4158
|
const [appliedFilters, setAppliedFilters] = h(() => getFilterDefaults(properties));
|
|
@@ -4161,10 +4167,16 @@ const JobSearch = ({
|
|
|
4161
4167
|
children: u$1(FilterSection, {
|
|
4162
4168
|
appliedFilters,
|
|
4163
4169
|
onFilterValueChange: (key, value) => {
|
|
4164
|
-
setAppliedFilters((prev) =>
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4170
|
+
setAppliedFilters((prev) => {
|
|
4171
|
+
onFilterChange == null ? void 0 : onFilterChange({
|
|
4172
|
+
...prev,
|
|
4173
|
+
[key]: value
|
|
4174
|
+
});
|
|
4175
|
+
return {
|
|
4176
|
+
...prev,
|
|
4177
|
+
[key]: value
|
|
4178
|
+
};
|
|
4179
|
+
});
|
|
4168
4180
|
},
|
|
4169
4181
|
properties,
|
|
4170
4182
|
parentRef: appRef,
|
|
@@ -4540,7 +4552,8 @@ const jobSearchPlugin = () => {
|
|
|
4540
4552
|
analytics,
|
|
4541
4553
|
class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
|
|
4542
4554
|
jobCardConfig: params.jobCard,
|
|
4543
|
-
initialData: params.initialData
|
|
4555
|
+
initialData: params.initialData,
|
|
4556
|
+
onFilterChange: params.onFilterChange
|
|
4544
4557
|
})]);
|
|
4545
4558
|
};
|
|
4546
4559
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-job-search",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-job-search.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vite": "^4.4.5",
|
|
45
45
|
"vite-plugin-dts": "^3.7.0",
|
|
46
46
|
"vite-tsconfig-paths": "^4.2.1",
|
|
47
|
-
"@inploi/core": "1.11.
|
|
47
|
+
"@inploi/core": "1.11.6",
|
|
48
48
|
"@inploi/design-tokens": "0.2.0",
|
|
49
49
|
"@inploi/sdk": "1.12.0",
|
|
50
50
|
"eslint-config-custom": "0.1.0"
|