@inploi/plugin-job-search 0.17.0 → 0.17.1
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 +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Cm=Object.defineProperty;var Om=(ve,fe,gt)=>fe in ve?Cm(ve,fe,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ve[fe]=gt;var Ui=(ve,fe,gt)=>(Om(ve,typeof fe!="symbol"?fe+"":fe,gt),gt);(function(){"use strict";var ve=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function fe(e,t){if(!e)throw new Error(t)}function gt(e,t){return e in t}var zi=e=>e,un,T,Wi,wt,Bi,Yi,Ir,Hr,Vr,Ur,Ki,dn={},qi=[],Au=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Mn=Array.isArray;function Me(e,t){for(var n in t)e[n]=t[n];return e}function Gi(e){var t=e.parentNode;t&&t.removeChild(e)}function Q(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?un.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return fn(e,a,r,o,null)}function fn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Wi,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Xi(){return{current:null}}function I(e){return e.children}function be(e,t){this.props=e,this.context=t}function mt(e,t){if(t==null)return e.__?mt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?mt(e):null}function Zi(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Zi(e)}}function zr(e){(!e.__d&&(e.__d=!0)&&wt.push(e)&&!Fn.__r++||Bi!==T.debounceRendering)&&((Bi=T.debounceRendering)||Yi)(Fn)}function Fn(){var e,t,n,r,o,i,a,s;for(wt.sort(Ir);e=wt.shift();)e.__d&&(t=wt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Me({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),Wr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??mt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,na(a,r,s),r.__e!=i&&Zi(r)),wt.length>t&&wt.sort(Ir));Fn.__r=0}function Ji(e,t,n,r,o,i,a,s,u,l,f){var c,p,d,_,h,g=r&&r.__k||qi,v=t.length;for(n.__d=u,Tu(n,t,g),u=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?dn:g[d.__i]||dn,d.__i=c,Wr(e,d,p,o,i,a,s,u,l,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Br(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(u&&typeof d.type=="string"&&!e.contains(u)&&(u=mt(p)),u=Qi(d,u,e)):typeof d.type=="function"&&d.__d!==void 0?u=d.__d:_&&(u=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=h}function Tu(e,t,n){var r,o,i,a,s,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],r=0;r<u;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?fn(null,o,null,null,null):Mn(o)?fn(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?fn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Pu(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?f>u-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=mt(i)),Yr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=mt(i)),Yr(i,i))}function Qi(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Qi(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Fe(e,t){return t=t||[],e==null||typeof e=="boolean"||(Mn(e)?e.some(function(n){Fe(n,t)}):t.push(e)),t}function Pu(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,u=t[n];if(u===null||u&&o==u.key&&i===u.type&&!(131072&u.__u))return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function ea(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Au.test(t)?n:n+"px"}function In(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||ea(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ea(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Hr,e.addEventListener(t,i?Ur:Vr,i)):e.removeEventListener(t,i?Ur:Vr,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function ta(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Hr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function Wr(e,t,n,r,o,i,a,s,u,l){var f,c,p,d,_,h,g,v,m,y,b,x,$,E,k,j,C=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof C=="function")try{if(v=t.props,m="prototype"in C&&C.prototype.render,y=(f=C.contextType)&&r[f.__c],b=f?y?y.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new C(v,b):(t.__c=c=new be(v,b),c.constructor=C,c.render=Du),y&&y.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&C.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Me({},c.__s)),Me(c.__s,C.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=t,p)m&&C.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&C.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=e,c.__e=!1,$=T.__r,E=0,m){for(c.state=c.__s,c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),k=0;k<c._sb.length;k++)c.__h.push(c._sb[k]);c._sb=[]}else do c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++E<25);c.state=c.__s,c.getChildContext!=null&&(r=Me(Me({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Ji(e,Mn(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],t,n,r,o,i,a,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,u||i!=null?(t.__e=s,t.__u|=u?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ru(n.__e,t,n,r,o,i,a,u,l);(f=T.diffed)&&f(t)}function na(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Br(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function Ru(e,t,n,r,o,i,a,s,u){var l,f,c,p,d,_,h,g=n.props,v=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((d=i[l])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[l]=null;break}}if(e==null){if(m===null)return document.createTextNode(v);e=document.createElementNS(o,m,v.is&&v),i=null,s=!1}if(m===null)g===v||s&&e.data===v||(e.data=v);else{if(i=i&&un.call(e.childNodes),g=n.props||dn,!s&&i!=null)for(g={},l=0;l<e.attributes.length;l++)g[(d=e.attributes[l]).name]=d.value;for(l in g)if(d=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=d;else if(l!=="key"&&!(l in v)){if(l=="value"&&"defaultValue"in v||l=="checked"&&"defaultChecked"in v)continue;In(e,l,null,d,o)}}for(l in v)d=v[l],l=="children"?p=d:l=="dangerouslySetInnerHTML"?f=d:l=="value"?_=d:l=="checked"?h=d:l==="key"||s&&typeof d!="function"||g[l]===d||In(e,l,d,g[l],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ji(e,Mn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&mt(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&Gi(i[l]);s||(l="value",_!==void 0&&(_!==e[l]||m==="progress"&&!_||m==="option"&&_!==g[l])&&In(e,l,_,g[l],o),l="checked",h!==void 0&&h!==e[l]&&In(e,l,h,g[l],o))}return e}function Br(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function Yr(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Br(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Yr(r[o],t,n||typeof e.type!="function");n||e.__e==null||Gi(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Du(e,t,n){return this.constructor(e,n)}function Mt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Wr(t,e=(!r&&n||t).__k=Q(I,null,[e]),o||dn,dn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?un.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),na(i,e,a)}function Kr(e,t){Mt(e,t,Kr)}function Nu(e,t,n){var r,o,i,a,s=Me({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?un.call(arguments,2):n),fn(e.type,s,r||e.key,o||e.ref,null)}function qr(e,t){var n={__c:t="__cC"+Ki++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,zr(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}un=qi.slice,T={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Wi=0,be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Me({},this.state),typeof e=="function"&&(e=e(Me({},n),this.props)),e&&Me(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),zr(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zr(this))},be.prototype.render=I,wt=[],Yi=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ir=function(e,t){return e.__v.__b-t.__v.__b},Fn.__r=0,Hr=0,Vr=ta(!1),Ur=ta(!0),Ki=0;var ra=/[\s\n\\/='"\0<>]/,oa=/^(xlink|xmlns|xml)([A-Z])/,Lu=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,Mu=/^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/,Fu=/["&<]/;function Hn(e){if(e.length===0||Fu.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var ia={},Iu=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"]),Hu=/[A-Z]/g;function Vu(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:ia[n]||(ia[n]=n.replace(Hu,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Iu.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Gr,yt,pn,hn,aa=[],sa=Array.isArray,Xr=Object.assign;function Uu(e,t,n){var r=T.__s;T.__s=!0,Gr=T.__b,yt=T.diffed,pn=T.__r,hn=T.unmount;var o=Q(I,null);o.__k=[e];try{var i=Te(e,t||la,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{T.__c&&T.__c(e,aa),T.__s=r,aa.length=0}}function ca(){this.__d=!0}var la={};function ua(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=la),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Xr({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),pn&&pn(e),n.render(n.props,n.state,t)}function Te(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Hn(e+"");if(sa(e)){var s,u="";o.__k=e;for(var l=0;l<e.length;l++){var f=e[l];if(f!=null&&typeof f!="boolean"){var c,p=Te(f,t,n,r,o,i,a);typeof p=="string"?u+=p:(s=s||[],u&&s.push(u),u="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(u&&s.push(u),s):u}if(e.constructor!==void 0)return"";e.__=o,Gr&&Gr(e);var d,_,h,g=e.type,v=e.props,m=t;if(typeof g=="function"){if(g===I){if(v.tpl){for(var y="",b=0;b<v.tpl.length;b++)if(y+=v.tpl[b],v.exprs&&b<v.exprs.length){var x=v.exprs[b];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!sa(x)?y+=x:y+=Te(x,t,n,r,e,i,a)}return y}if(v.UNSTABLE_comment)return"<!--"+Hn(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=g.contextType)!=null){var $=t[d.__c];m=$?$.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")_=ua(e,m),h=e.__c;else{e.__c=h={__v:e,props:v,context:m,setState:ca,forceUpdate:ca,__d:!0,__h:[]};for(var E=0;h.__d&&E++<25;)h.__d=!1,pn&&pn(e),_=g.call(h,v,m);h.__d=!0}if(h.getChildContext!=null&&(t=Xr({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var k="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return k=Te(_,t,n,r,e,i,a)}catch(he){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(he)),h.componentDidCatch&&h.componentDidCatch(he,{}),h.__d&&(_=ua(e,t),(h=e.__c).getChildContext!=null&&(t=Xr({},t,h.getChildContext())),k=Te(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,t,n,r,e,i,a)),k}finally{yt&&yt(e),e.__=null,hn&&hn(e)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=Te(_,t,n,r,e,i,a);return yt&&yt(e),e.__=null,T.unmount&&T.unmount(e),j}catch(he){if(!i&&a&&a.onError){var C=a.onError(he,e,function(de){return Te(de,t,n,r,e,i,a)});if(C!==void 0)return C;var D=T.__e;return D&&D(he,e),""}if(!i||!he||typeof he.then!="function")throw he;var M=function de(){try{return Te(_,t,n,r,e,i,a)}catch(me){if(!me||typeof me.then!="function")throw me;return me.then(function(){return Te(_,t,n,r,e,i,a)},function(){return de()})}};return he.then(function(){return M()})}}var L,N="<"+g,F="";for(var R in v){var P=v[R];switch(R){case"children":L=P;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",g){case"textarea":L=P;continue;case"select":r=P;continue;case"option":r!=P||"selected"in v||(N+=" selected")}break;case"dangerouslySetInnerHTML":F=P&&P.__html;continue;case"style":typeof P=="object"&&(P=Vu(P));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(oa.test(R))R=R.replace(oa,"$1:$2").toLowerCase();else{if(ra.test(R))continue;R[4]!=="-"&&R!=="draggable"||P==null?n?Mu.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):Lu.test(R)&&(R=R.toLowerCase()):P+=""}}P!=null&&P!==!1&&typeof P!="function"&&(N=P===!0||P===""?N+" "+R:N+" "+R+'="'+Hn(P+"")+'"')}if(ra.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(F||(typeof L=="string"?F=Hn(L):L!=null&&L!==!1&&L!==!0&&(F=Te(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),yt&&yt(e),e.__=null,hn&&hn(e),!F&&zu.has(g))return N+"/>";var te="</"+g+">",le=N+">";return Array.isArray(F)?[le].concat(F,[te]):typeof F!="string"?[le,F,te]:le+F+te}var zu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Zr="RFC3986",Jr={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},Wu="RFC1738",Bu=Array.isArray,Pe=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),Qr=1024,Yu=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=Qr){const u=i.length>=Qr?i.slice(s,s+Qr):i,l=[];for(let f=0;f<u.length;++f){let c=u.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===Wu&&(c===40||c===41)){l[l.length]=u.charAt(f);continue}if(c<128){l[l.length]=Pe[c];continue}if(c<2048){l[l.length]=Pe[192|c>>6]+Pe[128|c&63];continue}if(c<55296||c>=57344){l[l.length]=Pe[224|c>>12]+Pe[128|c>>6&63]+Pe[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|u.charCodeAt(f)&1023),l[l.length]=Pe[240|c>>18]+Pe[128|c>>12&63]+Pe[128|c>>6&63]+Pe[128|c&63]}a+=l.join("")}return a};function Ku(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function da(e,t){if(Bu(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var qu=Object.prototype.hasOwnProperty,fa={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Re=Array.isArray,Gu=Array.prototype.push,pa=function(e,t){Gu.apply(e,Re(t)?t:[t])},Xu=Date.prototype.toISOString,ee={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Yu,encodeValuesOnly:!1,format:Zr,formatter:Jr[Zr],indices:!1,serializeDate(e){return Xu.call(e)},skipNulls:!1,strictNullHandling:!1};function Zu(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var eo={};function ha(e,t,n,r,o,i,a,s,u,l,f,c,p,d,_,h,g,v){let m=e,y=v,b=0,x=!1;for(;(y=y.get(eo))!==void 0&&!x;){const C=y.get(e);if(b+=1,typeof C<"u"){if(C===b)throw new RangeError("Cyclic object value");x=!0}typeof y.get(eo)>"u"&&(b=0)}if(typeof l=="function"?m=l(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Re(m)&&(m=da(m,function(C){return C instanceof Date?p==null?void 0:p(C):C})),m===null){if(i)return u&&!h?u(t,ee.encoder,g,"key",d):t;m=""}if(Zu(m)||Ku(m)){if(u){const C=h?t:u(t,ee.encoder,g,"key",d);return[(_==null?void 0:_(C))+"="+(_==null?void 0:_(u(m,ee.encoder,g,"value",d)))]}return[(_==null?void 0:_(t))+"="+(_==null?void 0:_(String(m)))]}const $=[];if(typeof m>"u")return $;let E;if(n==="comma"&&Re(m))h&&u&&(m=da(m,u)),E=[{value:m.length>0?m.join(",")||null:void 0}];else if(Re(l))E=l;else{const C=Object.keys(m);E=f?C.sort(f):C}const k=s?String(t).replace(/\./g,"%2E"):String(t),j=r&&Re(m)&&m.length===1?k+"[]":k;if(o&&Re(m)&&m.length===0)return j+"[]";for(let C=0;C<E.length;++C){const D=E[C],M=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&M===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Re(m)?typeof n=="function"?n(j,L):j:j+(c?"."+L:"["+L+"]");v.set(e,b);const F=new WeakMap;F.set(eo,v),pa($,ha(M,N,n,r,o,i,a,s,n==="comma"&&h&&Re(m)?null:u,l,f,c,p,d,_,h,g,F))}return $}function Ju(e=ee){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ee.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=Zr;if(typeof e.format<"u"){if(!qu.call(Jr,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=Jr[n];let o=ee.filter;(typeof e.filter=="function"||Re(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in fa?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ee.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ee.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ee.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ee.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ee.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ee.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ee.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ee.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ee.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ee.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ee.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ee.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ee.strictNullHandling}}function va(e,t={}){let n=e;const r=Ju(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Re(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=fa[r.arrayFormat],u=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const l=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||pa(a,ha(n[d],d,s,u,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,l))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var Vn=class extends Error{constructor(t){super(t[0].message);Ui(this,"issues");this.name="ValiError",this.issues=t}};function _a(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function vn(e){return{issues:e}}function bt(e){return{output:e}}function Qu(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ed(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function tt(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return bt(e);let o,i,a=e;for(const s of t){const u=s._parse(a);if(u.issues){o=o||ed(n,r);for(const l of u.issues){const f=Qu(o,l);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=u.output}return i?vn(i):bt(a)}function nt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function ga(e){return typeof e=="function"?e():e}function td(e,t,n,r){return vn([{validation:e,message:ga(t),input:n,requirement:r}])}function nd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=nt(t,n);return[e,i,a]}const[r,o]=nt(e,t);return[void 0,r,o]}function rt(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:ga(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function wa(e){return typeof e.default=="function"?e.default():e.default}function rd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return tt(t,this.pipe,n,"any")}}}function ma(e,t,n){const[r="Invalid type",o]=nt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return rt(a,"type","array",this.message,i);let s;const u=[];for(let l=0;l<i.length;l++){const f=i[l],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:l,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else u.push(c.output)}return s?vn(s):tt(u,this.pipe,a,"array")}}}function ya(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?rt(i,"type","boolean",this.message,o):tt(o,this.pipe,i,"boolean")}}}function ot(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?rt(r,"type","literal",this.message,n):bt(n)}}}function xe(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=wa(this);if(o===void 0)return bt(n);n=o}return this.wrapped._parse(n,r)}}}function Ft(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?rt(i,"type","number",this.message,o):tt(o,this.pipe,i,"number")}}}function Un(e,t,n,r){const[o,i="Invalid type",a]=nd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(u,l){if(!u||typeof u!="object")return rt(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=u[p],h=d._parse(_,l);if(h.issues){const g={type:"object",input:u,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(g):v.path=[g],f==null||f.push(v);if(f||(f=h.issues),l!=null&&l.abortEarly)break}else(h.output!==void 0||p in u)&&(c[p]=h.output)}if(this.rest&&!(l!=null&&l.abortEarly&&f)){for(const p in u)if(!(p in this.entries)){const d=u[p],_=this.rest._parse(d,l);if(_.issues){const h={type:"object",input:u,key:p,value:d};for(const g of _.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=_.issues),l!=null&&l.abortEarly)break}else c[p]=_.output}}return f?vn(f):tt(c,this.pipe,l,"object")}}}function to(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=wa(this);if(o===void 0)return bt(n);n=o}return this.wrapped._parse(n,r)}}}function X(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?rt(i,"type","string",this.message,o):tt(o,this.pipe,i,"string")}}}function od(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=nt(n,r);return[e,t,a,s]}const[o,i]=nt(t,n);return[X(),e,o,i]}var id=["__proto__","prototype","constructor"];function ba(e,t,n,r){const[o,i,a="Invalid type",s]=od(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(u,l){if(!u||typeof u!="object")return rt(l,"type","record",this.message,u);let f;const c={};for(const[p,d]of Object.entries(u))if(!id.includes(p)){let _;const h=this.key._parse(p,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(h.issues){_={type:"record",input:u,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),l!=null&&l.abortEarly)break}const g=this.value._parse(d,l);if(g.issues){_=_||{type:"record",input:u,key:p,value:d};for(const v of g.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=g.issues),l!=null&&l.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?vn(f):tt(c,this.pipe,l,"record")}}}function xa(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const u of s.issues)o.push(u);else o=s.issues;else{i=[s.output];break}}return i?bt(i[0]):rt(r,"type","union",this.message,n,o)}}}function ka(e,t,n){const r=e._parse(t,n);if(r.issues)throw new Vn(r.issues);return r.output}function ad(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new Vn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function $a(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):tt(a,n,o,typeof a)}}}function sd(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?bt(t):td(this.type,this.message,t,this.requirement)}}}const ja="inploi-job-search",Sa="ijs",zn=10,Ea={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},cd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in Ea?Ea[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},ld=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),ud=({from:e=new Date,to:t,formatter:n=ld})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},dd=ba(ma(Un({label:_a(X(),String),value:_a(X(),String),jobs:Ft()}))),fd=X([sd()]),pd=Un({total:Ft(),current_page:Ft(),per_page:Ft(),last_page:Ft()}),hd=Un({id:Ft(),company_name:X(),company_logo:xe(to(X())),employment_type:X(),location_type:xa([ot("LOCATION"),ot("REMOTE"),ot("HYBRID")]),pay_type:xe(xa([ot("ANNUALLY"),ot("HOURLY"),ot("MONTHLY"),ot("WEEKLY"),ot("DAILY")])),pay_currency:X(),pay_mask:ya(),pay_display:ya(),pay:xe(X()),pay_min:xe(X()),pay_max:xe(X()),description:X(),title:X(),contract_type:xe(X()),created_at:xe(X()),custom_data:xe(ba(rd())),href:X(),industry:xe(X()),category:xe(X()),skills:to(X()),town:to(X()),city:xe(X()),country:xe(X())}),vd=$a(hd,e=>{const t=ad(fd,e.company_logo);return{raw:e,id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:void 0},employmentType:e.employment_type,locationType:e.location_type,pay:cd({salary:e,config:{locales:void 0}}),description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?ud({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data}}),_d=$a(Un({data:ma(vd),pagination:pd}),e=>({pagination:e.pagination,results:e.data})),gd=e=>!e||Array.isArray(e)&&e.length===0?null:e,Ca=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,gd(n==null?void 0:n.value)])),Oa=async({apiClient:e,filters:t,logger:n,signal:r})=>{try{const o=new URLSearchParams(va({filters:Ca(t)})),i="/search/filters",a=await e.fetch([i,o.toString()].filter(Boolean).join("?"),{signal:r});return ka(dd,a)}catch(o){throw o instanceof Vn?n.error(o.message,o.issues):n.error(o),o}},Aa=async({apiClient:e,logger:t,signal:n,filters:r,page:o=1})=>{try{const i=new URLSearchParams(va({filters:Ca(r)}));i.set("page",o.toString()),i.set("per_page",zn.toString());const a="/search/results",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:n});return ka(_d,s)}catch(i){throw i instanceof Vn?t.error(i.message,i.issues):t.error(i),i}},no=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},ro={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var wd=0;function w(e,t,n,r,o,i){t||(t={});var a,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--wd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return T.vnode&&T.vnode(l),l}function Ta(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ta(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function md(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ta(e))&&(r&&(r+=" "),r+=t);return r}function Pa(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Pa(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function oo(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Pa(e))&&(r&&(r+=" "),r+=t);return r}const Ra=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,yd=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,u;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](oo(i)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(oo(i)):oo(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[f]=l;return!["class","className"].includes(f)}));return t(i.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:u}=o,l=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],_=u==null?void 0:u[p],h=Ra(d)||Ra(_);return s[p][h]}),f={...u,...i&&Object.entries(i).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:_,className:h,...g}=d;return Object.entries(g).every(v=>{let[m,y]=v;const b=f[m];return Array.isArray(y)?y.includes(b):b===y})?[...p,_,h]:p},[]);return t(o==null?void 0:o.base,l,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:Am,cva:Ee,cx:Tm}=yd(),Wn=Ee({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}}),bd=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),it=({error:e,resetError:t,class:n,...r})=>w("div",{class:md("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:Wn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class _n extends be{constructor(){super(...arguments);Ui(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const xd={briefcase:w(I,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(I,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(I,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(I,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(I,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(I,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(I,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(I,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(I,{children:w(I,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:w(I,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:w(I,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},kd=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(xd).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),xt=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ie,U,io,Da,It=0,Na=[],q=T,La=q.__b,Ma=q.__r,Fa=q.diffed,Ia=q.__c,Ha=q.unmount,Va=q.__;function kt(e,t){q.__h&&q.__h(U,e,It||t),It=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Ce(e){return It=1,Bn(za,e)}function Bn(e,t,n){var r=kt(Ie++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):za(void 0,t),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};U.u=!0;var i=U.shouldComponentUpdate,a=U.componentWillUpdate;U.componentWillUpdate=function(s,u,l){if(this.__e){var f=i;i=void 0,o(s,u,l),i=f}a&&a.call(this,s,u,l)},U.shouldComponentUpdate=o}return r.__N||r.__}function Oe(e,t){var n=kt(Ie++,3);!q.__s&&lo(n.__H,t)&&(n.__=e,n.i=t,U.__H.__h.push(n))}function at(e,t){var n=kt(Ie++,4);!q.__s&&lo(n.__H,t)&&(n.__=e,n.i=t,U.__h.push(n))}function _e(e){return It=5,st(function(){return{current:e}},[])}function ao(e,t,n){It=6,at(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function st(e,t){var n=kt(Ie++,7);return lo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function $t(e,t){return It=8,st(function(){return e},t)}function Yn(e){var t=U.context[e.__c],n=kt(Ie++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(U)),t.props.value):e.__}function Kn(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function $d(e){var t=kt(Ie++,10),n=Ce();return t.__=e,U.componentDidCatch||(U.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function so(){var e=kt(Ie++,11);if(!e.__){for(var t=U.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function jd(){for(var e;e=Na.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qn),e.__H.__h.forEach(co),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){U=null,La&&La(e)},q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Va&&Va(e,t)},q.__r=function(e){Ma&&Ma(e),Ie=0;var t=(U=e.__c).__H;t&&(io===U?(t.__h=[],U.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(qn),t.__h.forEach(co),t.__h=[],Ie=0)),io=U},q.diffed=function(e){Fa&&Fa(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Na.push(t)!==1&&Da===q.requestAnimationFrame||((Da=q.requestAnimationFrame)||Sd)(jd)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),io=U=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(qn),n.__h=n.__h.filter(function(r){return!r.__||co(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],q.__e(r,n.__v)}}),Ia&&Ia(e,t)},q.unmount=function(e){Ha&&Ha(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{qn(r)}catch(o){t=o}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Ua=typeof requestAnimationFrame=="function";function Sd(e){var t,n=function(){clearTimeout(r),Ua&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ua&&(t=requestAnimationFrame(n))}function qn(e){var t=U,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),U=t}function co(e){var t=U;e.__c=e.__(),U=t}function lo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function za(e,t){return typeof t=="function"?t(e):t}const Gn=e=>{const t=Object.entries(e.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${e.baseKey}::${t}`},Pm="",Ed=e=>{const t=Object.entries(e).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(t)},Cd=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=Ce();return Oe(()=>{Promise.resolve().then(()=>Sm).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),Oe(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Oe(()=>{i==null||i.setFilters(Ed(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Wa(e,t){for(var n in t)e[n]=t[n];return e}function uo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Xn(e,t){this.props=e,this.context=t}function Ba(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:uo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Xn.prototype=new be).isPureReactComponent=!0,Xn.prototype.shouldComponentUpdate=function(e,t){return uo(this.props,e)||uo(this.state,t)};var Ya=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ya&&Ya(e)};var Od=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ka(e){function t(n){var r=Wa({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Od,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qa=function(e,t){return e==null?null:Fe(Fe(e).map(t))},Ga={map:qa,forEach:qa,count:function(e){return e?Fe(e).length:0},only:function(e){var t=Fe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Fe},Ad=T.__e;T.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Ad(e,t,n,r)};var Xa=T.unmount;function Za(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Wa({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Za(r,t,n)})),e}function Ja(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ja(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function gn(){this.__u=0,this.t=null,this.__b=null}function Qa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function es(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return Q(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ht(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Xa&&Xa(e)},(gn.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Qa(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Ja(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},gn.prototype.componentWillUnmount=function(){this.t=[]},gn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Za(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Q(I,null,e.fallback);return o&&(o.__u&=-33),[Q(I,null,t.__a?null:e.children),o]};var ts=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Td(e){return this.getChildContext=function(){return e.context},e.children}function Pd(e){var t=this,n=e.i;t.componentWillUnmount=function(){Mt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Mt(Q(Td,{context:t.context},e.__v),t.l)}function ns(e,t){var n=Q(Pd,{__v:e,i:t});return n.containerInfo=t,n}(Ht.prototype=new be).__a=function(e){var t=this,n=Qa(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ts(t,e,r)):o()};n?n(i):i()}},Ht.prototype.render=function(e){this.u=null,this.o=new Map;var t=Fe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ht.prototype.componentDidUpdate=Ht.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ts(e,n,t)})};var rs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Rd=/^(?: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]/,Dd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Nd=/[A-Z0-9]/g,Ld=typeof document<"u",Md=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function os(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}function is(e,t,n){return Kr(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var as=T.event;function Fd(){}function Id(){return this.cancelBubble}function Hd(){return this.defaultPrevented}T.event=function(e){return as&&(e=as(e)),e.persist=Fd,e.isPropagationStopped=Id,e.isDefaultPrevented=Hd,e.nativeEvent=e};var fo,Vd={enumerable:!1,configurable:!0,get:function(){return this.class}},ss=T.vnode;T.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Ld&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Md(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Dd.test(i)?i=s:r.indexOf("-")===-1&&Rd.test(i)?i=i.replace(Nd,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Fe(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Fe(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Vd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=rs,ss&&ss(e)};var cs=T.__r;T.__r=function(e){cs&&cs(e),fo=e.__c};var ls=T.diffed;T.diffed=function(e){ls&&ls(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),fo=null};var us={ReactCurrentDispatcher:{current:{readContext:function(e){return fo.__n[e.__c].props.value},useCallback:$t,useContext:Yn,useDebugValue:Kn,useDeferredValue:ho,useEffect:Oe,useId:so,useImperativeHandle:ao,useInsertionEffect:_o,useLayoutEffect:at,useMemo:st,useReducer:Bn,useRef:_e,useState:Ce,useSyncExternalStore:go,useTransition:vo}}},Ud="17.0.2";function ds(e){return Q.bind(null,e)}function wn(e){return!!e&&e.$$typeof===rs}function fs(e){return wn(e)&&e.type===I}function ps(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hs(e){return wn(e)?Nu.apply(null,arguments):e}function vs(e){return!!e.__k&&(Mt(null,e),!0)}function _s(e){return e&&(e.base||e.nodeType===1&&e)||null}var gs=function(e,t){return e(t)},ws=function(e,t){return e(t)},ms=I;function po(e){e()}function ho(e){return e}function vo(){return[!1,po]}var _o=at,ys=wn;function go(e,t){var n=t(),r=Ce({h:{__:n,v:t}}),o=r[0].h,i=r[1];return at(function(){o.__=n,o.v=t,wo(o)&&i({h:o})},[e,n,t]),Oe(function(){return wo(o)&&i({h:o}),e(function(){wo(o)&&i({h:o})})},[e]),n}function wo(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Zn={useState:Ce,useId:so,useReducer:Bn,useEffect:Oe,useLayoutEffect:at,useInsertionEffect:_o,useTransition:vo,useDeferredValue:ho,useSyncExternalStore:go,startTransition:po,useRef:_e,useImperativeHandle:ao,useMemo:st,useCallback:$t,useContext:Yn,useDebugValue:Kn,version:"17.0.2",Children:Ga,render:os,hydrate:is,unmountComponentAtNode:vs,createPortal:ns,createElement:Q,createContext:qr,createFactory:ds,cloneElement:hs,createRef:Xi,Fragment:I,isValidElement:wn,isElement:ys,isFragment:fs,isMemo:ps,findDOMNode:_s,Component:be,PureComponent:Xn,memo:Ba,forwardRef:Ka,flushSync:ws,unstable_batchedUpdates:gs,StrictMode:ms,Suspense:gn,SuspenseList:Ht,lazy:es,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us};const zd=Object.freeze(Object.defineProperty({__proto__:null,Children:Ga,Component:be,Fragment:I,PureComponent:Xn,StrictMode:ms,Suspense:gn,SuspenseList:Ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us,cloneElement:hs,createContext:qr,createElement:Q,createFactory:ds,createPortal:ns,createRef:Xi,default:Zn,findDOMNode:_s,flushSync:ws,forwardRef:Ka,hydrate:is,isElement:ys,isFragment:fs,isMemo:ps,isValidElement:wn,lazy:es,memo:Ba,render:os,startTransition:po,unmountComponentAtNode:vs,unstable_batchedUpdates:gs,useCallback:$t,useContext:Yn,useDebugValue:Kn,useDeferredValue:ho,useEffect:Oe,useErrorBoundary:$d,useId:so,useImperativeHandle:ao,useInsertionEffect:_o,useLayoutEffect:at,useMemo:st,useReducer:Bn,useRef:_e,useState:Ce,useSyncExternalStore:go,useTransition:vo,version:Ud},Symbol.toStringTag,{value:"Module"}));var Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Bd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mo={exports:{}},yo={};const bs=Bd(zd);/**
|
|
1
|
+
var Cm=Object.defineProperty;var Om=(ve,fe,gt)=>fe in ve?Cm(ve,fe,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ve[fe]=gt;var Ui=(ve,fe,gt)=>(Om(ve,typeof fe!="symbol"?fe+"":fe,gt),gt);(function(){"use strict";var ve=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function fe(e,t){if(!e)throw new Error(t)}function gt(e,t){return e in t}var zi=e=>e,un,T,Wi,wt,Bi,Yi,Ir,Hr,Vr,Ur,Ki,dn={},qi=[],Au=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Mn=Array.isArray;function Me(e,t){for(var n in t)e[n]=t[n];return e}function Gi(e){var t=e.parentNode;t&&t.removeChild(e)}function Q(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?un.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return fn(e,a,r,o,null)}function fn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Wi,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Xi(){return{current:null}}function I(e){return e.children}function be(e,t){this.props=e,this.context=t}function mt(e,t){if(t==null)return e.__?mt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?mt(e):null}function Zi(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Zi(e)}}function zr(e){(!e.__d&&(e.__d=!0)&&wt.push(e)&&!Fn.__r++||Bi!==T.debounceRendering)&&((Bi=T.debounceRendering)||Yi)(Fn)}function Fn(){var e,t,n,r,o,i,a,s;for(wt.sort(Ir);e=wt.shift();)e.__d&&(t=wt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Me({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),Wr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??mt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,na(a,r,s),r.__e!=i&&Zi(r)),wt.length>t&&wt.sort(Ir));Fn.__r=0}function Ji(e,t,n,r,o,i,a,s,u,l,f){var c,p,d,_,h,g=r&&r.__k||qi,v=t.length;for(n.__d=u,Tu(n,t,g),u=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?dn:g[d.__i]||dn,d.__i=c,Wr(e,d,p,o,i,a,s,u,l,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Br(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(u&&typeof d.type=="string"&&!e.contains(u)&&(u=mt(p)),u=Qi(d,u,e)):typeof d.type=="function"&&d.__d!==void 0?u=d.__d:_&&(u=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=h}function Tu(e,t,n){var r,o,i,a,s,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],r=0;r<u;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?fn(null,o,null,null,null):Mn(o)?fn(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?fn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Pu(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?f>u-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=mt(i)),Yr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=mt(i)),Yr(i,i))}function Qi(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Qi(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Fe(e,t){return t=t||[],e==null||typeof e=="boolean"||(Mn(e)?e.some(function(n){Fe(n,t)}):t.push(e)),t}function Pu(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,u=t[n];if(u===null||u&&o==u.key&&i===u.type&&!(131072&u.__u))return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function ea(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Au.test(t)?n:n+"px"}function In(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||ea(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ea(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Hr,e.addEventListener(t,i?Ur:Vr,i)):e.removeEventListener(t,i?Ur:Vr,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function ta(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Hr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function Wr(e,t,n,r,o,i,a,s,u,l){var f,c,p,d,_,h,g,v,m,y,b,x,$,E,k,j,C=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof C=="function")try{if(v=t.props,m="prototype"in C&&C.prototype.render,y=(f=C.contextType)&&r[f.__c],b=f?y?y.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new C(v,b):(t.__c=c=new be(v,b),c.constructor=C,c.render=Du),y&&y.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&C.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Me({},c.__s)),Me(c.__s,C.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=t,p)m&&C.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&C.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=e,c.__e=!1,$=T.__r,E=0,m){for(c.state=c.__s,c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),k=0;k<c._sb.length;k++)c.__h.push(c._sb[k]);c._sb=[]}else do c.__d=!1,$&&$(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++E<25);c.state=c.__s,c.getChildContext!=null&&(r=Me(Me({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Ji(e,Mn(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],t,n,r,o,i,a,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,u||i!=null?(t.__e=s,t.__u|=u?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ru(n.__e,t,n,r,o,i,a,u,l);(f=T.diffed)&&f(t)}function na(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Br(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function Ru(e,t,n,r,o,i,a,s,u){var l,f,c,p,d,_,h,g=n.props,v=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((d=i[l])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[l]=null;break}}if(e==null){if(m===null)return document.createTextNode(v);e=document.createElementNS(o,m,v.is&&v),i=null,s=!1}if(m===null)g===v||s&&e.data===v||(e.data=v);else{if(i=i&&un.call(e.childNodes),g=n.props||dn,!s&&i!=null)for(g={},l=0;l<e.attributes.length;l++)g[(d=e.attributes[l]).name]=d.value;for(l in g)if(d=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=d;else if(l!=="key"&&!(l in v)){if(l=="value"&&"defaultValue"in v||l=="checked"&&"defaultChecked"in v)continue;In(e,l,null,d,o)}}for(l in v)d=v[l],l=="children"?p=d:l=="dangerouslySetInnerHTML"?f=d:l=="value"?_=d:l=="checked"?h=d:l==="key"||s&&typeof d!="function"||g[l]===d||In(e,l,d,g[l],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ji(e,Mn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&mt(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&Gi(i[l]);s||(l="value",_!==void 0&&(_!==e[l]||m==="progress"&&!_||m==="option"&&_!==g[l])&&In(e,l,_,g[l],o),l="checked",h!==void 0&&h!==e[l]&&In(e,l,h,g[l],o))}return e}function Br(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function Yr(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Br(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Yr(r[o],t,n||typeof e.type!="function");n||e.__e==null||Gi(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Du(e,t,n){return this.constructor(e,n)}function Mt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Wr(t,e=(!r&&n||t).__k=Q(I,null,[e]),o||dn,dn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?un.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),na(i,e,a)}function Kr(e,t){Mt(e,t,Kr)}function Nu(e,t,n){var r,o,i,a,s=Me({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?un.call(arguments,2):n),fn(e.type,s,r||e.key,o||e.ref,null)}function qr(e,t){var n={__c:t="__cC"+Ki++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,zr(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}un=qi.slice,T={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Wi=0,be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Me({},this.state),typeof e=="function"&&(e=e(Me({},n),this.props)),e&&Me(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),zr(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zr(this))},be.prototype.render=I,wt=[],Yi=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ir=function(e,t){return e.__v.__b-t.__v.__b},Fn.__r=0,Hr=0,Vr=ta(!1),Ur=ta(!0),Ki=0;var ra=/[\s\n\\/='"\0<>]/,oa=/^(xlink|xmlns|xml)([A-Z])/,Lu=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,Mu=/^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/,Fu=/["&<]/;function Hn(e){if(e.length===0||Fu.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var ia={},Iu=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"]),Hu=/[A-Z]/g;function Vu(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:ia[n]||(ia[n]=n.replace(Hu,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Iu.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Gr,yt,pn,hn,aa=[],sa=Array.isArray,Xr=Object.assign;function Uu(e,t,n){var r=T.__s;T.__s=!0,Gr=T.__b,yt=T.diffed,pn=T.__r,hn=T.unmount;var o=Q(I,null);o.__k=[e];try{var i=Te(e,t||la,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{T.__c&&T.__c(e,aa),T.__s=r,aa.length=0}}function ca(){this.__d=!0}var la={};function ua(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=la),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Xr({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),pn&&pn(e),n.render(n.props,n.state,t)}function Te(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Hn(e+"");if(sa(e)){var s,u="";o.__k=e;for(var l=0;l<e.length;l++){var f=e[l];if(f!=null&&typeof f!="boolean"){var c,p=Te(f,t,n,r,o,i,a);typeof p=="string"?u+=p:(s=s||[],u&&s.push(u),u="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(u&&s.push(u),s):u}if(e.constructor!==void 0)return"";e.__=o,Gr&&Gr(e);var d,_,h,g=e.type,v=e.props,m=t;if(typeof g=="function"){if(g===I){if(v.tpl){for(var y="",b=0;b<v.tpl.length;b++)if(y+=v.tpl[b],v.exprs&&b<v.exprs.length){var x=v.exprs[b];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!sa(x)?y+=x:y+=Te(x,t,n,r,e,i,a)}return y}if(v.UNSTABLE_comment)return"<!--"+Hn(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=g.contextType)!=null){var $=t[d.__c];m=$?$.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")_=ua(e,m),h=e.__c;else{e.__c=h={__v:e,props:v,context:m,setState:ca,forceUpdate:ca,__d:!0,__h:[]};for(var E=0;h.__d&&E++<25;)h.__d=!1,pn&&pn(e),_=g.call(h,v,m);h.__d=!0}if(h.getChildContext!=null&&(t=Xr({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var k="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return k=Te(_,t,n,r,e,i,a)}catch(he){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(he)),h.componentDidCatch&&h.componentDidCatch(he,{}),h.__d&&(_=ua(e,t),(h=e.__c).getChildContext!=null&&(t=Xr({},t,h.getChildContext())),k=Te(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,t,n,r,e,i,a)),k}finally{yt&&yt(e),e.__=null,hn&&hn(e)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=Te(_,t,n,r,e,i,a);return yt&&yt(e),e.__=null,T.unmount&&T.unmount(e),j}catch(he){if(!i&&a&&a.onError){var C=a.onError(he,e,function(de){return Te(de,t,n,r,e,i,a)});if(C!==void 0)return C;var D=T.__e;return D&&D(he,e),""}if(!i||!he||typeof he.then!="function")throw he;var M=function de(){try{return Te(_,t,n,r,e,i,a)}catch(me){if(!me||typeof me.then!="function")throw me;return me.then(function(){return Te(_,t,n,r,e,i,a)},function(){return de()})}};return he.then(function(){return M()})}}var L,N="<"+g,F="";for(var R in v){var P=v[R];switch(R){case"children":L=P;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",g){case"textarea":L=P;continue;case"select":r=P;continue;case"option":r!=P||"selected"in v||(N+=" selected")}break;case"dangerouslySetInnerHTML":F=P&&P.__html;continue;case"style":typeof P=="object"&&(P=Vu(P));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(oa.test(R))R=R.replace(oa,"$1:$2").toLowerCase();else{if(ra.test(R))continue;R[4]!=="-"&&R!=="draggable"||P==null?n?Mu.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):Lu.test(R)&&(R=R.toLowerCase()):P+=""}}P!=null&&P!==!1&&typeof P!="function"&&(N=P===!0||P===""?N+" "+R:N+" "+R+'="'+Hn(P+"")+'"')}if(ra.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(F||(typeof L=="string"?F=Hn(L):L!=null&&L!==!1&&L!==!0&&(F=Te(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),yt&&yt(e),e.__=null,hn&&hn(e),!F&&zu.has(g))return N+"/>";var te="</"+g+">",le=N+">";return Array.isArray(F)?[le].concat(F,[te]):typeof F!="string"?[le,F,te]:le+F+te}var zu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Zr="RFC3986",Jr={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},Wu="RFC1738",Bu=Array.isArray,Pe=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),Qr=1024,Yu=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=Qr){const u=i.length>=Qr?i.slice(s,s+Qr):i,l=[];for(let f=0;f<u.length;++f){let c=u.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===Wu&&(c===40||c===41)){l[l.length]=u.charAt(f);continue}if(c<128){l[l.length]=Pe[c];continue}if(c<2048){l[l.length]=Pe[192|c>>6]+Pe[128|c&63];continue}if(c<55296||c>=57344){l[l.length]=Pe[224|c>>12]+Pe[128|c>>6&63]+Pe[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|u.charCodeAt(f)&1023),l[l.length]=Pe[240|c>>18]+Pe[128|c>>12&63]+Pe[128|c>>6&63]+Pe[128|c&63]}a+=l.join("")}return a};function Ku(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function da(e,t){if(Bu(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var qu=Object.prototype.hasOwnProperty,fa={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Re=Array.isArray,Gu=Array.prototype.push,pa=function(e,t){Gu.apply(e,Re(t)?t:[t])},Xu=Date.prototype.toISOString,ee={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Yu,encodeValuesOnly:!1,format:Zr,formatter:Jr[Zr],indices:!1,serializeDate(e){return Xu.call(e)},skipNulls:!1,strictNullHandling:!1};function Zu(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var eo={};function ha(e,t,n,r,o,i,a,s,u,l,f,c,p,d,_,h,g,v){let m=e,y=v,b=0,x=!1;for(;(y=y.get(eo))!==void 0&&!x;){const C=y.get(e);if(b+=1,typeof C<"u"){if(C===b)throw new RangeError("Cyclic object value");x=!0}typeof y.get(eo)>"u"&&(b=0)}if(typeof l=="function"?m=l(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Re(m)&&(m=da(m,function(C){return C instanceof Date?p==null?void 0:p(C):C})),m===null){if(i)return u&&!h?u(t,ee.encoder,g,"key",d):t;m=""}if(Zu(m)||Ku(m)){if(u){const C=h?t:u(t,ee.encoder,g,"key",d);return[(_==null?void 0:_(C))+"="+(_==null?void 0:_(u(m,ee.encoder,g,"value",d)))]}return[(_==null?void 0:_(t))+"="+(_==null?void 0:_(String(m)))]}const $=[];if(typeof m>"u")return $;let E;if(n==="comma"&&Re(m))h&&u&&(m=da(m,u)),E=[{value:m.length>0?m.join(",")||null:void 0}];else if(Re(l))E=l;else{const C=Object.keys(m);E=f?C.sort(f):C}const k=s?String(t).replace(/\./g,"%2E"):String(t),j=r&&Re(m)&&m.length===1?k+"[]":k;if(o&&Re(m)&&m.length===0)return j+"[]";for(let C=0;C<E.length;++C){const D=E[C],M=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&M===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Re(m)?typeof n=="function"?n(j,L):j:j+(c?"."+L:"["+L+"]");v.set(e,b);const F=new WeakMap;F.set(eo,v),pa($,ha(M,N,n,r,o,i,a,s,n==="comma"&&h&&Re(m)?null:u,l,f,c,p,d,_,h,g,F))}return $}function Ju(e=ee){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ee.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=Zr;if(typeof e.format<"u"){if(!qu.call(Jr,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=Jr[n];let o=ee.filter;(typeof e.filter=="function"||Re(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in fa?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ee.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ee.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ee.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ee.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ee.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ee.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ee.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ee.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ee.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ee.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ee.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ee.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ee.strictNullHandling}}function va(e,t={}){let n=e;const r=Ju(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Re(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=fa[r.arrayFormat],u=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const l=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||pa(a,ha(n[d],d,s,u,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,l))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var Vn=class extends Error{constructor(t){super(t[0].message);Ui(this,"issues");this.name="ValiError",this.issues=t}};function _a(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function vn(e){return{issues:e}}function bt(e){return{output:e}}function Qu(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ed(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function tt(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return bt(e);let o,i,a=e;for(const s of t){const u=s._parse(a);if(u.issues){o=o||ed(n,r);for(const l of u.issues){const f=Qu(o,l);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=u.output}return i?vn(i):bt(a)}function nt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function ga(e){return typeof e=="function"?e():e}function td(e,t,n,r){return vn([{validation:e,message:ga(t),input:n,requirement:r}])}function nd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=nt(t,n);return[e,i,a]}const[r,o]=nt(e,t);return[void 0,r,o]}function rt(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:ga(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function wa(e){return typeof e.default=="function"?e.default():e.default}function rd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return tt(t,this.pipe,n,"any")}}}function ma(e,t,n){const[r="Invalid type",o]=nt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return rt(a,"type","array",this.message,i);let s;const u=[];for(let l=0;l<i.length;l++){const f=i[l],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:l,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else u.push(c.output)}return s?vn(s):tt(u,this.pipe,a,"array")}}}function ya(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?rt(i,"type","boolean",this.message,o):tt(o,this.pipe,i,"boolean")}}}function ot(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?rt(r,"type","literal",this.message,n):bt(n)}}}function xe(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=wa(this);if(o===void 0)return bt(n);n=o}return this.wrapped._parse(n,r)}}}function Ft(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?rt(i,"type","number",this.message,o):tt(o,this.pipe,i,"number")}}}function Un(e,t,n,r){const[o,i="Invalid type",a]=nd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(u,l){if(!u||typeof u!="object")return rt(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=u[p],h=d._parse(_,l);if(h.issues){const g={type:"object",input:u,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(g):v.path=[g],f==null||f.push(v);if(f||(f=h.issues),l!=null&&l.abortEarly)break}else(h.output!==void 0||p in u)&&(c[p]=h.output)}if(this.rest&&!(l!=null&&l.abortEarly&&f)){for(const p in u)if(!(p in this.entries)){const d=u[p],_=this.rest._parse(d,l);if(_.issues){const h={type:"object",input:u,key:p,value:d};for(const g of _.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=_.issues),l!=null&&l.abortEarly)break}else c[p]=_.output}}return f?vn(f):tt(c,this.pipe,l,"object")}}}function to(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=wa(this);if(o===void 0)return bt(n);n=o}return this.wrapped._parse(n,r)}}}function X(e,t){const[n="Invalid type",r]=nt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?rt(i,"type","string",this.message,o):tt(o,this.pipe,i,"string")}}}function od(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=nt(n,r);return[e,t,a,s]}const[o,i]=nt(t,n);return[X(),e,o,i]}var id=["__proto__","prototype","constructor"];function ba(e,t,n,r){const[o,i,a="Invalid type",s]=od(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(u,l){if(!u||typeof u!="object")return rt(l,"type","record",this.message,u);let f;const c={};for(const[p,d]of Object.entries(u))if(!id.includes(p)){let _;const h=this.key._parse(p,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(h.issues){_={type:"record",input:u,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),l!=null&&l.abortEarly)break}const g=this.value._parse(d,l);if(g.issues){_=_||{type:"record",input:u,key:p,value:d};for(const v of g.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=g.issues),l!=null&&l.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?vn(f):tt(c,this.pipe,l,"record")}}}function xa(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const u of s.issues)o.push(u);else o=s.issues;else{i=[s.output];break}}return i?bt(i[0]):rt(r,"type","union",this.message,n,o)}}}function ka(e,t,n){const r=e._parse(t,n);if(r.issues)throw new Vn(r.issues);return r.output}function ad(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new Vn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function $a(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):tt(a,n,o,typeof a)}}}function sd(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?bt(t):td(this.type,this.message,t,this.requirement)}}}const ja="inploi-job-search",Sa="ijs",zn=10,Ea={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},cd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in Ea?Ea[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},ld=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),ud=({from:e=new Date,to:t,formatter:n=ld})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"over 30 days ago":"in over 30 days"},dd=ba(ma(Un({label:_a(X(),String),value:_a(X(),String),jobs:Ft()}))),fd=X([sd()]),pd=Un({total:Ft(),current_page:Ft(),per_page:Ft(),last_page:Ft()}),hd=Un({id:Ft(),company_name:X(),company_logo:xe(to(X())),employment_type:X(),location_type:xa([ot("LOCATION"),ot("REMOTE"),ot("HYBRID")]),pay_type:xe(xa([ot("ANNUALLY"),ot("HOURLY"),ot("MONTHLY"),ot("WEEKLY"),ot("DAILY")])),pay_currency:X(),pay_mask:ya(),pay_display:ya(),pay:xe(X()),pay_min:xe(X()),pay_max:xe(X()),description:X(),title:X(),contract_type:xe(X()),created_at:xe(X()),custom_data:xe(ba(rd())),href:X(),industry:xe(X()),category:xe(X()),skills:to(X()),town:to(X()),city:xe(X()),country:xe(X())}),vd=$a(hd,e=>{const t=ad(fd,e.company_logo);return{raw:e,id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:void 0},employmentType:e.employment_type,locationType:e.location_type,pay:cd({salary:e,config:{locales:void 0}}),description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?ud({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data}}),_d=$a(Un({data:ma(vd),pagination:pd}),e=>({pagination:e.pagination,results:e.data})),gd=e=>!e||Array.isArray(e)&&e.length===0?null:e,Ca=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,gd(n==null?void 0:n.value)])),Oa=async({apiClient:e,filters:t,logger:n,signal:r})=>{try{const o=new URLSearchParams(va({filters:Ca(t)})),i="/search/filters",a=await e.fetch([i,o.toString()].filter(Boolean).join("?"),{signal:r});return ka(dd,a)}catch(o){throw o instanceof Vn?n.error(o.message,o.issues):n.error(o),o}},Aa=async({apiClient:e,logger:t,signal:n,filters:r,page:o=1})=>{try{const i=new URLSearchParams(va({filters:Ca(r)}));i.set("page",o.toString()),i.set("per_page",zn.toString());const a="/search/results",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:n});return ka(_d,s)}catch(i){throw i instanceof Vn?t.error(i.message,i.issues):t.error(i),i}},no=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},ro={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var wd=0;function w(e,t,n,r,o,i){t||(t={});var a,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--wd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return T.vnode&&T.vnode(l),l}function Ta(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ta(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function md(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ta(e))&&(r&&(r+=" "),r+=t);return r}function Pa(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Pa(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function oo(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Pa(e))&&(r&&(r+=" "),r+=t);return r}const Ra=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,yd=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,u;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](oo(i)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(oo(i)):oo(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[f]=l;return!["class","className"].includes(f)}));return t(i.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:u}=o,l=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],_=u==null?void 0:u[p],h=Ra(d)||Ra(_);return s[p][h]}),f={...u,...i&&Object.entries(i).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:_,className:h,...g}=d;return Object.entries(g).every(v=>{let[m,y]=v;const b=f[m];return Array.isArray(y)?y.includes(b):b===y})?[...p,_,h]:p},[]);return t(o==null?void 0:o.base,l,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:Am,cva:Ee,cx:Tm}=yd(),Wn=Ee({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}}),bd=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),it=({error:e,resetError:t,class:n,...r})=>w("div",{class:md("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:Wn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class _n extends be{constructor(){super(...arguments);Ui(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const xd={briefcase:w(I,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(I,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(I,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(I,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(I,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(I,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(I,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(I,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(I,{children:w(I,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:w(I,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:w(I,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},kd=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(xd).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),xt=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ie,U,io,Da,It=0,Na=[],q=T,La=q.__b,Ma=q.__r,Fa=q.diffed,Ia=q.__c,Ha=q.unmount,Va=q.__;function kt(e,t){q.__h&&q.__h(U,e,It||t),It=0;var n=U.__H||(U.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Ce(e){return It=1,Bn(za,e)}function Bn(e,t,n){var r=kt(Ie++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):za(void 0,t),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};U.u=!0;var i=U.shouldComponentUpdate,a=U.componentWillUpdate;U.componentWillUpdate=function(s,u,l){if(this.__e){var f=i;i=void 0,o(s,u,l),i=f}a&&a.call(this,s,u,l)},U.shouldComponentUpdate=o}return r.__N||r.__}function Oe(e,t){var n=kt(Ie++,3);!q.__s&&lo(n.__H,t)&&(n.__=e,n.i=t,U.__H.__h.push(n))}function at(e,t){var n=kt(Ie++,4);!q.__s&&lo(n.__H,t)&&(n.__=e,n.i=t,U.__h.push(n))}function _e(e){return It=5,st(function(){return{current:e}},[])}function ao(e,t,n){It=6,at(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function st(e,t){var n=kt(Ie++,7);return lo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function $t(e,t){return It=8,st(function(){return e},t)}function Yn(e){var t=U.context[e.__c],n=kt(Ie++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(U)),t.props.value):e.__}function Kn(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function $d(e){var t=kt(Ie++,10),n=Ce();return t.__=e,U.componentDidCatch||(U.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function so(){var e=kt(Ie++,11);if(!e.__){for(var t=U.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function jd(){for(var e;e=Na.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qn),e.__H.__h.forEach(co),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){U=null,La&&La(e)},q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Va&&Va(e,t)},q.__r=function(e){Ma&&Ma(e),Ie=0;var t=(U=e.__c).__H;t&&(io===U?(t.__h=[],U.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(qn),t.__h.forEach(co),t.__h=[],Ie=0)),io=U},q.diffed=function(e){Fa&&Fa(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Na.push(t)!==1&&Da===q.requestAnimationFrame||((Da=q.requestAnimationFrame)||Sd)(jd)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),io=U=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(qn),n.__h=n.__h.filter(function(r){return!r.__||co(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],q.__e(r,n.__v)}}),Ia&&Ia(e,t)},q.unmount=function(e){Ha&&Ha(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{qn(r)}catch(o){t=o}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Ua=typeof requestAnimationFrame=="function";function Sd(e){var t,n=function(){clearTimeout(r),Ua&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ua&&(t=requestAnimationFrame(n))}function qn(e){var t=U,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),U=t}function co(e){var t=U;e.__c=e.__(),U=t}function lo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function za(e,t){return typeof t=="function"?t(e):t}const Gn=e=>{const t=Object.entries(e.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${e.baseKey}::${t}`},Pm="",Ed=e=>{const t=Object.entries(e).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(t)},Cd=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=Ce();return Oe(()=>{Promise.resolve().then(()=>Sm).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),Oe(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Oe(()=>{i==null||i.setFilters(Ed(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Wa(e,t){for(var n in t)e[n]=t[n];return e}function uo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Xn(e,t){this.props=e,this.context=t}function Ba(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:uo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Xn.prototype=new be).isPureReactComponent=!0,Xn.prototype.shouldComponentUpdate=function(e,t){return uo(this.props,e)||uo(this.state,t)};var Ya=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ya&&Ya(e)};var Od=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ka(e){function t(n){var r=Wa({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Od,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qa=function(e,t){return e==null?null:Fe(Fe(e).map(t))},Ga={map:qa,forEach:qa,count:function(e){return e?Fe(e).length:0},only:function(e){var t=Fe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Fe},Ad=T.__e;T.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Ad(e,t,n,r)};var Xa=T.unmount;function Za(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Wa({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Za(r,t,n)})),e}function Ja(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ja(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function gn(){this.__u=0,this.t=null,this.__b=null}function Qa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function es(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return Q(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ht(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Xa&&Xa(e)},(gn.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Qa(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Ja(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},gn.prototype.componentWillUnmount=function(){this.t=[]},gn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Za(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Q(I,null,e.fallback);return o&&(o.__u&=-33),[Q(I,null,t.__a?null:e.children),o]};var ts=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Td(e){return this.getChildContext=function(){return e.context},e.children}function Pd(e){var t=this,n=e.i;t.componentWillUnmount=function(){Mt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Mt(Q(Td,{context:t.context},e.__v),t.l)}function ns(e,t){var n=Q(Pd,{__v:e,i:t});return n.containerInfo=t,n}(Ht.prototype=new be).__a=function(e){var t=this,n=Qa(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ts(t,e,r)):o()};n?n(i):i()}},Ht.prototype.render=function(e){this.u=null,this.o=new Map;var t=Fe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ht.prototype.componentDidUpdate=Ht.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ts(e,n,t)})};var rs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Rd=/^(?: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]/,Dd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Nd=/[A-Z0-9]/g,Ld=typeof document<"u",Md=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function os(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}function is(e,t,n){return Kr(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var as=T.event;function Fd(){}function Id(){return this.cancelBubble}function Hd(){return this.defaultPrevented}T.event=function(e){return as&&(e=as(e)),e.persist=Fd,e.isPropagationStopped=Id,e.isDefaultPrevented=Hd,e.nativeEvent=e};var fo,Vd={enumerable:!1,configurable:!0,get:function(){return this.class}},ss=T.vnode;T.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Ld&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Md(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Dd.test(i)?i=s:r.indexOf("-")===-1&&Rd.test(i)?i=i.replace(Nd,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Fe(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Fe(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Vd)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=rs,ss&&ss(e)};var cs=T.__r;T.__r=function(e){cs&&cs(e),fo=e.__c};var ls=T.diffed;T.diffed=function(e){ls&&ls(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),fo=null};var us={ReactCurrentDispatcher:{current:{readContext:function(e){return fo.__n[e.__c].props.value},useCallback:$t,useContext:Yn,useDebugValue:Kn,useDeferredValue:ho,useEffect:Oe,useId:so,useImperativeHandle:ao,useInsertionEffect:_o,useLayoutEffect:at,useMemo:st,useReducer:Bn,useRef:_e,useState:Ce,useSyncExternalStore:go,useTransition:vo}}},Ud="17.0.2";function ds(e){return Q.bind(null,e)}function wn(e){return!!e&&e.$$typeof===rs}function fs(e){return wn(e)&&e.type===I}function ps(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hs(e){return wn(e)?Nu.apply(null,arguments):e}function vs(e){return!!e.__k&&(Mt(null,e),!0)}function _s(e){return e&&(e.base||e.nodeType===1&&e)||null}var gs=function(e,t){return e(t)},ws=function(e,t){return e(t)},ms=I;function po(e){e()}function ho(e){return e}function vo(){return[!1,po]}var _o=at,ys=wn;function go(e,t){var n=t(),r=Ce({h:{__:n,v:t}}),o=r[0].h,i=r[1];return at(function(){o.__=n,o.v=t,wo(o)&&i({h:o})},[e,n,t]),Oe(function(){return wo(o)&&i({h:o}),e(function(){wo(o)&&i({h:o})})},[e]),n}function wo(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Zn={useState:Ce,useId:so,useReducer:Bn,useEffect:Oe,useLayoutEffect:at,useInsertionEffect:_o,useTransition:vo,useDeferredValue:ho,useSyncExternalStore:go,startTransition:po,useRef:_e,useImperativeHandle:ao,useMemo:st,useCallback:$t,useContext:Yn,useDebugValue:Kn,version:"17.0.2",Children:Ga,render:os,hydrate:is,unmountComponentAtNode:vs,createPortal:ns,createElement:Q,createContext:qr,createFactory:ds,cloneElement:hs,createRef:Xi,Fragment:I,isValidElement:wn,isElement:ys,isFragment:fs,isMemo:ps,findDOMNode:_s,Component:be,PureComponent:Xn,memo:Ba,forwardRef:Ka,flushSync:ws,unstable_batchedUpdates:gs,StrictMode:ms,Suspense:gn,SuspenseList:Ht,lazy:es,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us};const zd=Object.freeze(Object.defineProperty({__proto__:null,Children:Ga,Component:be,Fragment:I,PureComponent:Xn,StrictMode:ms,Suspense:gn,SuspenseList:Ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us,cloneElement:hs,createContext:qr,createElement:Q,createFactory:ds,createPortal:ns,createRef:Xi,default:Zn,findDOMNode:_s,flushSync:ws,forwardRef:Ka,hydrate:is,isElement:ys,isFragment:fs,isMemo:ps,isValidElement:wn,lazy:es,memo:Ba,render:os,startTransition:po,unmountComponentAtNode:vs,unstable_batchedUpdates:gs,useCallback:$t,useContext:Yn,useDebugValue:Kn,useDeferredValue:ho,useEffect:Oe,useErrorBoundary:$d,useId:so,useImperativeHandle:ao,useInsertionEffect:_o,useLayoutEffect:at,useMemo:st,useReducer:Bn,useRef:_e,useState:Ce,useSyncExternalStore:go,useTransition:vo,version:Ud},Symbol.toStringTag,{value:"Module"}));var Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Bd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mo={exports:{}},yo={};const bs=Bd(zd);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -1528,7 +1528,7 @@ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, form
|
|
|
1528
1528
|
return formatter.format(diffIn.days, "days");
|
|
1529
1529
|
if (Math.abs(diffIn.days) < 3)
|
|
1530
1530
|
return formatter.format(diffIn.months, "months");
|
|
1531
|
-
return diffIn.months < 0 ? "
|
|
1531
|
+
return diffIn.months < 0 ? "over 30 days ago" : "in over 30 days";
|
|
1532
1532
|
};
|
|
1533
1533
|
const AvailablePropertiesSchema = record(
|
|
1534
1534
|
array(object({ label: coerce(string(), String), value: coerce(string(), String), jobs: number() }))
|
package/dist/index.js
CHANGED
|
@@ -1526,7 +1526,7 @@ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, form
|
|
|
1526
1526
|
return formatter.format(diffIn.days, "days");
|
|
1527
1527
|
if (Math.abs(diffIn.days) < 3)
|
|
1528
1528
|
return formatter.format(diffIn.months, "months");
|
|
1529
|
-
return diffIn.months < 0 ? "
|
|
1529
|
+
return diffIn.months < 0 ? "over 30 days ago" : "in over 30 days";
|
|
1530
1530
|
};
|
|
1531
1531
|
const AvailablePropertiesSchema = record(
|
|
1532
1532
|
array(object({ label: coerce(string(), String), value: coerce(string(), String), jobs: number() }))
|