@inploi/plugin-job-search 0.23.4 → 0.23.5
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 +3 -3
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var yy=Object.defineProperty;var by=(be,me,jt)=>me in be?yy(be,me,{enumerable:!0,configurable:!0,writable:!0,value:jt}):be[me]=jt;var ga=(be,me,jt)=>(by(be,typeof me!="symbol"?me+"":me,jt),jt);(function(){"use strict";var be=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function me(e,t){if(!e)throw new Error(t)}function jt(e,t){return e in t}var wa=e=>e,wn,T,ma,ya,St,ba,xa,Xr,Zr,Jr,Qr,ka,mn={},$a=[],cd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Zn=Array.isArray;function We(e,t){for(var n in t)e[n]=t[n];return e}function ja(e){var t=e.parentNode;t&&t.removeChild(e)}function oe(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?wn.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 yn(e,a,r,o,null)}function yn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ma,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Sa(){return{current:null}}function F(e){return e.children}function xe(e,t){this.props=e,this.context=t}function Et(e,t){if(t==null)return e.__?Et(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"?Et(e):null}function Ea(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Ea(e)}}function eo(e){(!e.__d&&(e.__d=!0)&&St.push(e)&&!Jn.__r++||ba!==T.debounceRendering)&&((ba=T.debounceRendering)||xa)(Jn)}function Jn(){var e,t,n,r,o,i,a,s;for(St.sort(Xr);e=St.shift();)e.__d&&(t=St.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=We({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),to(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Et(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Pa(a,r,s),r.__e!=i&&Ea(r)),St.length>t&&St.sort(Xr));Jn.__r=0}function Ca(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||$a,_=t.length;for(n.__d=l,ld(n,t,g),l=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?mn:g[d.__i]||mn,d.__i=c,to(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&no(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Et(p)),l=Oa(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:v&&(l=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function ld(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,f=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?yn(null,o,null,null,null):Zn(o)?yn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?yn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=ud(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?f>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Et(i)),ro(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Et(i)),ro(i,i))}function Oa(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Oa(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Be(e,t){return t=t||[],e==null||typeof e=="boolean"||(Zn(e)?e.some(function(n){Be(n,t)}):t.push(e)),t}function ud(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Aa(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||cd.test(t)?n:n+"px"}function Qn(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Aa(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Aa(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Zr,e.addEventListener(t,i?Qr:Jr,i)):e.removeEventListener(t,i?Qr:Jr,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ta(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Zr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function to(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,x,y,b,k,C,$,O,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,x=(f=j.contextType)&&r[f.__c],y=f?x?x.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,y):(t.__c=c=new xe(_,y),c.constructor=j,c.render=fd),x&&x.sub(c),c.props=_,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=We({},c.__s)),We(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)m&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,y)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,y),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=y,c.props=_,c.__P=e,c.__e=!1,k=T.__r,C=0,m){for(c.state=c.__s,c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=We(We({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),Ca(e,Zn(O=f!=null&&f.type===F&&f.key==null?f.props.children:f)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=dd(n.__e,t,n,r,o,i,a,l,u);(f=T.diffed)&&f(t)}function Pa(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)no(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function dd(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=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(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(m===null)return document.createTextNode(_);e=document.createElementNS(o,m,_.is&&_),i=null,s=!1}if(m===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&wn.call(e.childNodes),g=n.props||mn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;Qn(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||g[u]===d||Qn(e,u,d,g[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ca(e,Zn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Et(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&ja(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&Qn(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&Qn(e,u,h,g[u],o))}return e}function no(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function ro(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||no(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ro(r[o],t,n||typeof e.type!="function");n||e.__e==null||ja(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function fd(e,t,n){return this.constructor(e,n)}function zt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],to(t,e=(!r&&n||t).__k=oe(F,null,[e]),o||mn,mn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?wn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Pa(i,e,a)}function oo(e,t){zt(e,t,oo)}function pd(e,t,n){var r,o,i,a,s=We({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?wn.call(arguments,2):n),yn(e.type,s,r||e.key,o||e.ref,null)}function io(e,t){var n={__c:t="__cC"+ka++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,eo(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}wn=$a.slice,T={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},ma=0,ya=function(e){return e!=null&&e.constructor==null},xe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=We({},this.state),typeof e=="function"&&(e=e(We({},n),this.props)),e&&We(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),eo(this))},xe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),eo(this))},xe.prototype.render=F,St=[],xa=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xr=function(e,t){return e.__v.__b-t.__v.__b},Jn.__r=0,Zr=0,Jr=Ta(!1),Qr=Ta(!0),ka=0;var Ra=/[\s\n\\/='"\0<>]/,Da=/^(xlink|xmlns|xml)([A-Z])/,hd=/^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]/,vd=/^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/,_d=/["&<]/;function er(e){if(e.length===0||_d.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var Na={},gd=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"]),wd=/[A-Z]/g;function md(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Na[n]||(Na[n]=n.replace(wd,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||gd.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var ao,Ct,bn,xn,La=[],Ma=Array.isArray,so=Object.assign;function yd(e,t,n){var r=T.__s;T.__s=!0,ao=T.__b,Ct=T.diffed,bn=T.__r,xn=T.unmount;var o=oe(F,null);o.__k=[e];try{var i=Ne(e,t||Fa,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{T.__c&&T.__c(e,La),T.__s=r,La.length=0}}function Ia(){this.__d=!0}var Fa={};function Ha(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Fa),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=so({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),bn&&bn(e),n.render(n.props,n.state,t)}function Ne(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":er(e+"");if(Ma(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,p=Ne(f,t,n,r,o,i,a);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,ao&&ao(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var x="",y=0;y<_.tpl.length;y++)if(x+=_.tpl[y],_.exprs&&y<_.exprs.length){var b=_.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!Ma(b)?x+=b:x+=Ne(b,t,n,r,e,i,a)}return x}if(_.UNSTABLE_comment)return"<!--"+er(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];m=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=Ha(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:Ia,forceUpdate:Ia,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,bn&&bn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=so({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var $="";v=v!=null&&v.type===F&&v.key==null?v.props.children:v;try{return $=Ne(v,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(v=Ha(e,t),(h=e.__c).getChildContext!=null&&(t=so({},t,h.getChildContext())),$=Ne(v=v!=null&&v.type===F&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{Ct&&Ct(e),e.__=null,xn&&xn(e)}}}v=v!=null&&v.type===F&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var O=Ne(v,t,n,r,e,i,a);return Ct&&Ct(e),e.__=null,T.unmount&&T.unmount(e),O}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return Ne(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=T.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return Ne(v,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return Ne(v,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=md(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(Da.test(S))S=S.replace(Da,"$1:$2").toLowerCase();else{if(Ra.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?vd.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):hd.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+er(E+"")+'"')}if(Ra.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=er(L):L!=null&&L!==!1&&L!==!0&&(M=Ne(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Ct&&Ct(e),e.__=null,xn&&xn(e),!M&&bd.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var bd=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),co="RFC3986",lo={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},xd="RFC1738",kd=Array.isArray,Le=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),uo=1024,$d=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=uo){const l=i.length>=uo?i.slice(s,s+uo):i,u=[];for(let f=0;f<l.length;++f){let c=l.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===xd&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=Le[c];continue}if(c<2048){u[u.length]=Le[192|c>>6]+Le[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Le[224|c>>12]+Le[128|c>>6&63]+Le[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=Le[240|c>>18]+Le[128|c>>12&63]+Le[128|c>>6&63]+Le[128|c&63]}a+=u.join("")}return a};function jd(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Ua(e,t){if(kd(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var Sd=Object.prototype.hasOwnProperty,Va={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Me=Array.isArray,Ed=Array.prototype.push,za=function(e,t){Ed.apply(e,Me(t)?t:[t])},Cd=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:$d,encodeValuesOnly:!1,format:co,formatter:lo[co],indices:!1,serializeDate(e){return Cd.call(e)},skipNulls:!1,strictNullHandling:!1};function Od(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var fo={};function Wa(e,t,n,r,o,i,a,s,l,u,f,c,p,d,v,h,g,_){let m=e,x=_,y=0,b=!1;for(;(x=x.get(fo))!==void 0&&!b;){const j=x.get(e);if(y+=1,typeof j<"u"){if(j===y)throw new RangeError("Cyclic object value");b=!0}typeof x.get(fo)>"u"&&(y=0)}if(typeof u=="function"?m=u(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Me(m)&&(m=Ua(m,function(j){return j instanceof Date?p==null?void 0:p(j):j})),m===null){if(i)return l&&!h?l(t,ie.encoder,g,"key",d):t;m=""}if(Od(m)||jd(m)){if(l){const j=h?t:l(t,ie.encoder,g,"key",d);return[(v==null?void 0:v(j))+"="+(v==null?void 0:v(l(m,ie.encoder,g,"value",d)))]}return[(v==null?void 0:v(t))+"="+(v==null?void 0:v(String(m)))]}const k=[];if(typeof m>"u")return k;let C;if(n==="comma"&&Me(m))h&&l&&(m=Ua(m,l)),C=[{value:m.length>0?m.join(",")||null:void 0}];else if(Me(u))C=u;else{const j=Object.keys(m);C=f?j.sort(f):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),O=r&&Me(m)&&m.length===1?$+"[]":$;if(o&&Me(m)&&m.length===0)return O+"[]";for(let j=0;j<C.length;++j){const D=C[j],I=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&I===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Me(m)?typeof n=="function"?n(O,L):O:O+(c?"."+L:"["+L+"]");_.set(e,y);const M=new WeakMap;M.set(fo,_),za(k,Wa(I,N,n,r,o,i,a,s,n==="comma"&&h&&Me(m)?null:l,u,f,c,p,d,v,h,g,M))}return k}function Ad(e=ie){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ie.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=co;if(typeof e.format<"u"){if(!Sd.call(lo,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=lo[n];let o=ie.filter;(typeof e.filter=="function"||Me(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in Va?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ie.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ie.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ie.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ie.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ie.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ie.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ie.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ie.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ie.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ie.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ie.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ie.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ie.strictNullHandling}}function Ba(e,t={}){let n=e;const r=Ad(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Me(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=Va[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const u=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||za(a,Wa(n[d],d,s,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var tr=class extends Error{constructor(t){super(t[0].message);ga(this,"issues");this.name="ValiError",this.issues=t}};function Ya(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function kn(e){return{issues:e}}function Ot(e){return{output:e}}function Td(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 Pd(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ct(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return Ot(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Pd(n,r);for(const u of l.issues){const f=Td(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?kn(i):Ot(a)}function lt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Ka(e){return typeof e=="function"?e():e}function Rd(e,t,n,r){return kn([{validation:e,message:Ka(t),input:n,requirement:r}])}function Dd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=lt(t,n);return[e,i,a]}const[r,o]=lt(e,t);return[void 0,r,o]}function ut(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Ka(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function qa(e){return typeof e.default=="function"?e.default():e.default}function Nd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ct(t,this.pipe,n,"any")}}}function Ga(e,t,n){const[r="Invalid type",o]=lt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return ut(a,"type","array",this.message,i);let s;const l=[];for(let u=0;u<i.length;u++){const f=i[u],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:u,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else l.push(c.output)}return s?kn(s):ct(l,this.pipe,a,"array")}}}function Xa(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?ut(i,"type","boolean",this.message,o):ct(o,this.pipe,i,"boolean")}}}function dt(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?ut(r,"type","literal",this.message,n):Ot(n)}}}function Ee(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=qa(this);if(o===void 0)return Ot(n);n=o}return this.wrapped._parse(n,r)}}}function Wt(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?ut(i,"type","number",this.message,o):ct(o,this.pipe,i,"number")}}}function nr(e,t,n,r){const[o,i="Invalid type",a]=Dd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return ut(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const v=l[p],h=d._parse(v,u);if(h.issues){const g={type:"object",input:l,key:p,value:v};for(const _ of h.issues)_.path?_.path.unshift(g):_.path=[g],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],v=this.rest._parse(d,u);if(v.issues){const h={type:"object",input:l,key:p,value:d};for(const g of v.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else c[p]=v.output}}return f?kn(f):ct(c,this.pipe,u,"object")}}}function po(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=qa(this);if(o===void 0)return Ot(n);n=o}return this.wrapped._parse(n,r)}}}function te(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?ut(i,"type","string",this.message,o):ct(o,this.pipe,i,"string")}}}function Ld(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=lt(n,r);return[e,t,a,s]}const[o,i]=lt(t,n);return[te(),e,o,i]}var Md=["__proto__","prototype","constructor"];function Za(e,t,n,r){const[o,i,a="Invalid type",s]=Ld(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return ut(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Md.includes(p)){let v;const h=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(h.issues){v={type:"record",input:l,key:p,value:d};for(const _ of h.issues)_.path=[v],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const g=this.value._parse(d,u);if(g.issues){v=v||{type:"record",input:l,key:p,value:d};for(const _ of g.issues)_.path?_.path.unshift(v):_.path=[v],f==null||f.push(_);if(f||(f=g.issues),u!=null&&u.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?kn(f):ct(c,this.pipe,u,"record")}}}function Ja(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const l of s.issues)o.push(l);else o=s.issues;else{i=[s.output];break}}return i?Ot(i[0]):ut(r,"type","union",this.message,n,o)}}}function Qa(e,t,n){const r=e._parse(t,n);if(r.issues)throw new tr(r.issues);return r.output}function Id(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new tr(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function es(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):ct(a,n,o,typeof a)}}}function Fd(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)?Ot(t):Rd(this.type,this.message,t,this.requirement)}}}const ts="inploi-job-search",ns="ijs",At=10,rs={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Hd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in rs?rs[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Ud=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Vd=({from:e=new Date,to:t,formatter:n=Ud})=>{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"},zd=Za(Ga(nr({label:Ya(te(),String),value:Ya(te(),String),jobs:Wt()}))),Wd=te([Fd()]),Bd=nr({total:Wt(),current_page:Wt(),per_page:Wt(),last_page:Wt()}),Yd=nr({id:Wt(),company_name:te(),company_logo:Ee(po(te())),employment_type:te(),location_type:Ja([dt("LOCATION"),dt("REMOTE"),dt("HYBRID")]),pay_type:Ee(Ja([dt("ANNUALLY"),dt("HOURLY"),dt("MONTHLY"),dt("WEEKLY"),dt("DAILY")])),pay_currency:te(),pay_mask:Xa(),pay_display:Xa(),pay:Ee(te()),pay_min:Ee(te()),pay_max:Ee(te()),description:te(),title:te(),contract_type:Ee(te()),created_at:Ee(te()),custom_data:Ee(Za(Nd())),href:te(),industry:Ee(te()),category:Ee(te()),skills:po(te()),town:po(te()),city:Ee(te()),country:Ee(te())}),Kd=es(Yd,e=>{const t=Id(Wd,e.company_logo);return{id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:null},employmentType:e.employment_type,locationType:e.location_type,pay:Hd({salary:e,config:{locales:void 0}})??null,description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?Vd({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data,raw:e}}),qd=es(nr({data:Ga(Kd),pagination:Bd}),e=>({pagination:e.pagination,results:e.data})),Gd=e=>!e||Array.isArray(e)&&e.length===0?null:e,os=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Gd(n==null?void 0:n.value)])),is=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(Ba({filters:os(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return Qa(zd,s)}catch(i){throw i instanceof tr?r.error(i.message,i.issues):r.error(i),i}},as=async({apiClient:e,logger:t,signal:n,filters:r,keyword:o,page:i=1})=>{try{const a=new URLSearchParams(Ba({filters:os(r)}));a.set("page",i.toString()),a.set("per_page",At.toString()),a.set("query",o||"");const s="/search/results",l=await e.fetch([s,a.toString()].filter(Boolean).join("?"),{signal:n});return Qa(qd,l)}catch(a){throw a instanceof tr?t.error(a.message,a.issues):t.error(a),a}},ho=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},vo={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Xd=0;function w(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Xd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return T.vnode&&T.vnode(u),u}function ss(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ss(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function cs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ss(e))&&(r&&(r+=" "),r+=t);return r}function ls(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ls(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _o(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ls(e))&&(r&&(r+=" "),r+=t);return r}const us=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Zd=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](_o(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(_o(i)):_o(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return t(i.map(u=>u(l)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:l}=o,u=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],v=l==null?void 0:l[p],h=us(d)||us(v);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[v,h]=d;return typeof h>"u"?p:{...p,[v]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:v,className:h,...g}=d;return Object.entries(g).every(_=>{let[m,x]=_;const y=f[m];return Array.isArray(x)?x.includes(y):y===x})?[...p,v,h]:p},[]);return t(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:xy,cva:Te,cx:ky}=Zd(),$n=Te({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive flex cursor-pointer items-center transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:"",only:""},position:{relative:"relative",absolute:"absolute"},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"},{size:"lg",icon:"only",class:"px-2 py-2"},{size:"sm",icon:"only",class:"px-1 py-1"}],defaultVariants:{variant:"neutral",icon:"none",position:"relative",size:"sm"}}),Jd=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ft=({error:e,resetError:t,class:n,...r})=>w("div",{class:cs("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:$n({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class jn extends xe{constructor(){super(...arguments);ga(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const Qd={briefcase:w(F,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(F,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(F,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(F,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(F,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(F,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(F,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(F,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),magnifierSimple:w(F,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(F,{children:w(F,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:w(F,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:w(F,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},ef=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(Qd).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),Ye=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ke,W,go,ds,Bt=0,fs=[],Q=T,ps=Q.__b,hs=Q.__r,vs=Q.diffed,_s=Q.__c,gs=Q.unmount,ws=Q.__;function Tt(e,t){Q.__h&&Q.__h(W,e,Bt||t),Bt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function we(e){return Bt=1,rr(ys,e)}function rr(e,t,n){var r=Tt(Ke++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ys(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=W,!W.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};W.u=!0;var i=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},W.shouldComponentUpdate=o}return r.__N||r.__}function _e(e,t){var n=Tt(Ke++,3);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function pt(e,t){var n=Tt(Ke++,4);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ke(e){return Bt=5,Ie(function(){return{current:e}},[])}function wo(e,t,n){Bt=6,pt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Ie(e,t){var n=Tt(Ke++,7);return bo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ht(e,t){return Bt=8,Ie(function(){return e},t)}function or(e){var t=W.context[e.__c],n=Tt(Ke++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function ir(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function tf(e){var t=Tt(Ke++,10),n=we();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function mo(){var e=Tt(Ke++,11);if(!e.__){for(var t=W.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function nf(){for(var e;e=fs.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ar),e.__H.__h.forEach(yo),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){W=null,ps&&ps(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ws&&ws(e,t)},Q.__r=function(e){hs&&hs(e),Ke=0;var t=(W=e.__c).__H;t&&(go===W?(t.__h=[],W.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(ar),t.__h.forEach(yo),t.__h=[],Ke=0)),go=W},Q.diffed=function(e){vs&&vs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fs.push(t)!==1&&ds===Q.requestAnimationFrame||((ds=Q.requestAnimationFrame)||rf)(nf)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),go=W=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(ar),n.__h=n.__h.filter(function(r){return!r.__||yo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),_s&&_s(e,t)},Q.unmount=function(e){gs&&gs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{ar(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var ms=typeof requestAnimationFrame=="function";function rf(e){var t,n=function(){clearTimeout(r),ms&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ms&&(t=requestAnimationFrame(n))}function ar(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function yo(e){var t=W;e.__c=e.__(),W=t}function bo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ys(e,t){return typeof t=="function"?t(e):t}var of=Symbol.for("preact-signals");function xo(){if(Yt>1)Yt--;else{for(var e,t=!1;Sn!==void 0;){var n=Sn;for(Sn=void 0,ko++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&xs(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(ko=0,Yt--,t)throw e}}var B=void 0,Sn=void 0,Yt=0,ko=0,sr=0;function bs(e){if(B!==void 0){var t=e.n;if(t===void 0||t.t!==B)return t={i:0,S:e,p:B.s,n:void 0,t:B,e:void 0,x:void 0,r:t},B.s!==void 0&&(B.s.n=t),B.s=t,e.n=t,32&B.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=B.s,t.n=void 0,B.s.n=t,B.s=t),t}}function fe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}fe.prototype.brand=of,fe.prototype.h=function(){return!0},fe.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},fe.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},fe.prototype.subscribe=function(e){var t=this;return So(function(){var n=t.value,r=B;B=void 0;try{e(n)}finally{B=r}})},fe.prototype.valueOf=function(){return this.value},fe.prototype.toString=function(){return this.value+""},fe.prototype.toJSON=function(){return this.value},fe.prototype.peek=function(){var e=B;B=void 0;try{return this.value}finally{B=e}},Object.defineProperty(fe.prototype,"value",{get:function(){var e=bs(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(ko>100)throw new Error("Cycle detected");this.v=e,this.i++,sr++,Yt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{xo()}}}});function $o(e){return new fe(e)}function xs(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function ks(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function $s(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function Kt(e){fe.call(this,void 0),this.x=e,this.s=void 0,this.g=sr-1,this.f=4}(Kt.prototype=new fe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===sr))return!0;if(this.g=sr,this.f|=1,this.i>0&&!xs(this))return this.f&=-2,!0;var e=B;try{ks(this),B=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return B=e,$s(this),this.f&=-2,!0},Kt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}fe.prototype.S.call(this,e)},Kt.prototype.U=function(e){if(this.t!==void 0&&(fe.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},Kt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(Kt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=bs(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function af(e){return new Kt(e)}function js(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Yt++;var n=B;B=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,jo(e),r}finally{B=n,xo()}}}function jo(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,js(e)}function sf(e){if(B!==this)throw new Error("Out-of-order effect");$s(this),B=e,this.f&=-2,8&this.f&&jo(this),xo()}function En(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}En.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},En.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,js(this),ks(this),Yt++;var e=B;return B=this,sf.bind(this,e)},En.prototype.N=function(){2&this.f||(this.f|=2,this.o=Sn,Sn=this)},En.prototype.d=function(){this.f|=8,1&this.f||jo(this)};function So(e){var t=new En(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Eo;function qt(e,t){T[e]=t.bind(null,T[e]||function(){})}function cr(e){Eo&&Eo(),Eo=e&&e.S()}function Ss(e){var t=this,n=e.data,r=lf(n);r.value=n;var o=Ie(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!ya(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},af(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Ss.displayName="_st",Object.defineProperties(fe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ss},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),qt("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof fe&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),qt("__r",function(e,t){cr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return So(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),cr(n),e(t)}),qt("__e",function(e,t,n,r){cr(),e(t,n,r)}),qt("diffed",function(e,t){cr();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var l in r){var u=i[l],f=r[l];u===void 0?(u=cf(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function cf(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=$o(n);return{o:function(a,s){i.value=a,r=s},d:So(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}qt("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),qt("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),xe.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function lf(e){return Ie(function(){return $o(e)},[])}const Pt={keyword$:$o()},lr=e=>{const t=Object.entries(e.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${e.baseKey}::${t}::${e.keyword??""}`},uf=e=>{const[t,n]=we(!1);return _e(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},df=(e,{minViewTime:t=1e3,visibilityThreshold:n=0,onView:r})=>{const[o,i]=we(!1);_e(()=>{if(o||!e.current)return;let a;const s=new IntersectionObserver(l=>l.forEach(u=>{clearTimeout(a),u.isIntersecting&&(a=setTimeout(()=>{i(!0),r()},t))}),{threshold:n});return s.observe(e.current),()=>{s.disconnect(),clearTimeout(a)}},[e,t,n,r,o])},$y="",ff=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)},pf=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=we();return _e(()=>{Promise.resolve().then(()=>wy).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),_e(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),_e(()=>{i==null||i.setFilters(ff(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Es(e,t){for(var n in t)e[n]=t[n];return e}function Co(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function ur(e,t){this.props=e,this.context=t}function Cs(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Co(this.props,o)}function r(o){return this.shouldComponentUpdate=n,oe(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ur.prototype=new xe).isPureReactComponent=!0,ur.prototype.shouldComponentUpdate=function(e,t){return Co(this.props,e)||Co(this.state,t)};var Os=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Os&&Os(e)};var hf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function As(e){function t(n){var r=Es({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=hf,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ts=function(e,t){return e==null?null:Be(Be(e).map(t))},Ps={map:Ts,forEach:Ts,count:function(e){return e?Be(e).length:0},only:function(e){var t=Be(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Be},vf=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)}vf(e,t,n,r)};var Rs=T.unmount;function Ds(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Es({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ds(r,t,n)})),e}function Ns(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ns(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Cn(){this.__u=0,this.t=null,this.__b=null}function Ls(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ms(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return oe(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Gt(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Rs&&Rs(e)},(Cn.prototype=new xe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ls(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Ns(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Cn.prototype.componentWillUnmount=function(){this.t=[]},Cn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ds(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&oe(F,null,e.fallback);return o&&(o.__u&=-33),[oe(F,null,t.__a?null:e.children),o]};var Is=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function _f(e){return this.getChildContext=function(){return e.context},e.children}function gf(e){var t=this,n=e.i;t.componentWillUnmount=function(){zt(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)}}),zt(oe(_f,{context:t.context},e.__v),t.l)}function Fs(e,t){var n=oe(gf,{__v:e,i:t});return n.containerInfo=t,n}(Gt.prototype=new xe).__a=function(e){var t=this,n=Ls(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Is(t,e,r)):o()};n?n(i):i()}},Gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Be(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Gt.prototype.componentDidUpdate=Gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Is(e,n,t)})};var Hs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,wf=/^(?: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]/,mf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,yf=/[A-Z0-9]/g,bf=typeof document<"u",xf=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Us(e,t,n){return t.__k==null&&(t.textContent=""),zt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Vs(e,t,n){return oo(e,t),typeof n=="function"&&n(),e?e.__c:null}xe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(xe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zs=T.event;function kf(){}function $f(){return this.cancelBubble}function jf(){return this.defaultPrevented}T.event=function(e){return zs&&(e=zs(e)),e.persist=kf,e.isPropagationStopped=$f,e.isDefaultPrevented=jf,e.nativeEvent=e};var Oo,Sf={enumerable:!1,configurable:!0,get:function(){return this.class}},Ws=T.vnode;T.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||bf&&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"||xf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":mf.test(i)?i=s:r.indexOf("-")===-1&&wf.test(i)?i=i.replace(yf,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Be(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Be(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Sf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Hs,Ws&&Ws(e)};var Bs=T.__r;T.__r=function(e){Bs&&Bs(e),Oo=e.__c};var Ys=T.diffed;T.diffed=function(e){Ys&&Ys(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Oo=null};var Ks={ReactCurrentDispatcher:{current:{readContext:function(e){return Oo.__n[e.__c].props.value},useCallback:ht,useContext:or,useDebugValue:ir,useDeferredValue:To,useEffect:_e,useId:mo,useImperativeHandle:wo,useInsertionEffect:Ro,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:we,useSyncExternalStore:Do,useTransition:Po}}},Ef="17.0.2";function qs(e){return oe.bind(null,e)}function On(e){return!!e&&e.$$typeof===Hs}function Gs(e){return On(e)&&e.type===F}function Xs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Zs(e){return On(e)?pd.apply(null,arguments):e}function Js(e){return!!e.__k&&(zt(null,e),!0)}function Qs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ec=function(e,t){return e(t)},tc=function(e,t){return e(t)},nc=F;function Ao(e){e()}function To(e){return e}function Po(){return[!1,Ao]}var Ro=pt,rc=On;function Do(e,t){var n=t(),r=we({h:{__:n,v:t}}),o=r[0].h,i=r[1];return pt(function(){o.__=n,o.v=t,No(o)&&i({h:o})},[e,n,t]),_e(function(){return No(o)&&i({h:o}),e(function(){No(o)&&i({h:o})})},[e]),n}function No(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var dr={useState:we,useId:mo,useReducer:rr,useEffect:_e,useLayoutEffect:pt,useInsertionEffect:Ro,useTransition:Po,useDeferredValue:To,useSyncExternalStore:Do,startTransition:Ao,useRef:ke,useImperativeHandle:wo,useMemo:Ie,useCallback:ht,useContext:or,useDebugValue:ir,version:"17.0.2",Children:Ps,render:Us,hydrate:Vs,unmountComponentAtNode:Js,createPortal:Fs,createElement:oe,createContext:io,createFactory:qs,cloneElement:Zs,createRef:Sa,Fragment:F,isValidElement:On,isElement:rc,isFragment:Gs,isMemo:Xs,findDOMNode:Qs,Component:xe,PureComponent:ur,memo:Cs,forwardRef:As,flushSync:tc,unstable_batchedUpdates:ec,StrictMode:nc,Suspense:Cn,SuspenseList:Gt,lazy:Ms,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks};const Cf=Object.freeze(Object.defineProperty({__proto__:null,Children:Ps,Component:xe,Fragment:F,PureComponent:ur,StrictMode:nc,Suspense:Cn,SuspenseList:Gt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks,cloneElement:Zs,createContext:io,createElement:oe,createFactory:qs,createPortal:Fs,createRef:Sa,default:dr,findDOMNode:Qs,flushSync:tc,forwardRef:As,hydrate:Vs,isElement:rc,isFragment:Gs,isMemo:Xs,isValidElement:On,lazy:Ms,memo:Cs,render:Us,startTransition:Ao,unmountComponentAtNode:Js,unstable_batchedUpdates:ec,useCallback:ht,useContext:or,useDebugValue:ir,useDeferredValue:To,useEffect:_e,useErrorBoundary:tf,useId:mo,useImperativeHandle:wo,useInsertionEffect:Ro,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:we,useSyncExternalStore:Do,useTransition:Po,version:Ef},Symbol.toStringTag,{value:"Module"}));var fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Of(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Af(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Lo={exports:{}},Mo={};const oc=Af(Cf);/**
|
|
1
|
+
var yy=Object.defineProperty;var by=(be,me,jt)=>me in be?yy(be,me,{enumerable:!0,configurable:!0,writable:!0,value:jt}):be[me]=jt;var ga=(be,me,jt)=>(by(be,typeof me!="symbol"?me+"":me,jt),jt);(function(){"use strict";var be=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function me(e,t){if(!e)throw new Error(t)}function jt(e,t){return e in t}var wa=e=>e,wn,T,ma,ya,St,ba,xa,Xr,Zr,Jr,Qr,ka,mn={},$a=[],cd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Zn=Array.isArray;function We(e,t){for(var n in t)e[n]=t[n];return e}function ja(e){var t=e.parentNode;t&&t.removeChild(e)}function oe(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?wn.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 yn(e,a,r,o,null)}function yn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ma,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Sa(){return{current:null}}function F(e){return e.children}function xe(e,t){this.props=e,this.context=t}function Et(e,t){if(t==null)return e.__?Et(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"?Et(e):null}function Ea(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Ea(e)}}function eo(e){(!e.__d&&(e.__d=!0)&&St.push(e)&&!Jn.__r++||ba!==T.debounceRendering)&&((ba=T.debounceRendering)||xa)(Jn)}function Jn(){var e,t,n,r,o,i,a,s;for(St.sort(Xr);e=St.shift();)e.__d&&(t=St.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=We({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),to(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Et(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Pa(a,r,s),r.__e!=i&&Ea(r)),St.length>t&&St.sort(Xr));Jn.__r=0}function Ca(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||$a,_=t.length;for(n.__d=l,ld(n,t,g),l=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?mn:g[d.__i]||mn,d.__i=c,to(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&no(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Et(p)),l=Oa(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:v&&(l=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function ld(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,f=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?yn(null,o,null,null,null):Zn(o)?yn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?yn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=ud(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?f>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Et(i)),ro(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Et(i)),ro(i,i))}function Oa(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Oa(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Be(e,t){return t=t||[],e==null||typeof e=="boolean"||(Zn(e)?e.some(function(n){Be(n,t)}):t.push(e)),t}function ud(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Aa(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||cd.test(t)?n:n+"px"}function Qn(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Aa(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Aa(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Zr,e.addEventListener(t,i?Qr:Jr,i)):e.removeEventListener(t,i?Qr:Jr,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ta(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Zr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function to(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,x,y,b,k,C,$,O,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,x=(f=j.contextType)&&r[f.__c],y=f?x?x.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,y):(t.__c=c=new xe(_,y),c.constructor=j,c.render=fd),x&&x.sub(c),c.props=_,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=We({},c.__s)),We(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)m&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,y)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,y),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=y,c.props=_,c.__P=e,c.__e=!1,k=T.__r,C=0,m){for(c.state=c.__s,c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=We(We({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),Ca(e,Zn(O=f!=null&&f.type===F&&f.key==null?f.props.children:f)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=dd(n.__e,t,n,r,o,i,a,l,u);(f=T.diffed)&&f(t)}function Pa(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)no(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function dd(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=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(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(m===null)return document.createTextNode(_);e=document.createElementNS(o,m,_.is&&_),i=null,s=!1}if(m===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&wn.call(e.childNodes),g=n.props||mn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;Qn(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||g[u]===d||Qn(e,u,d,g[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ca(e,Zn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Et(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&ja(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&Qn(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&Qn(e,u,h,g[u],o))}return e}function no(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function ro(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||no(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ro(r[o],t,n||typeof e.type!="function");n||e.__e==null||ja(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function fd(e,t,n){return this.constructor(e,n)}function zt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],to(t,e=(!r&&n||t).__k=oe(F,null,[e]),o||mn,mn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?wn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Pa(i,e,a)}function oo(e,t){zt(e,t,oo)}function pd(e,t,n){var r,o,i,a,s=We({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?wn.call(arguments,2):n),yn(e.type,s,r||e.key,o||e.ref,null)}function io(e,t){var n={__c:t="__cC"+ka++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,eo(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}wn=$a.slice,T={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},ma=0,ya=function(e){return e!=null&&e.constructor==null},xe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=We({},this.state),typeof e=="function"&&(e=e(We({},n),this.props)),e&&We(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),eo(this))},xe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),eo(this))},xe.prototype.render=F,St=[],xa=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xr=function(e,t){return e.__v.__b-t.__v.__b},Jn.__r=0,Zr=0,Jr=Ta(!1),Qr=Ta(!0),ka=0;var Ra=/[\s\n\\/='"\0<>]/,Da=/^(xlink|xmlns|xml)([A-Z])/,hd=/^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]/,vd=/^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/,_d=/["&<]/;function er(e){if(e.length===0||_d.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var Na={},gd=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"]),wd=/[A-Z]/g;function md(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Na[n]||(Na[n]=n.replace(wd,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||gd.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var ao,Ct,bn,xn,La=[],Ma=Array.isArray,so=Object.assign;function yd(e,t,n){var r=T.__s;T.__s=!0,ao=T.__b,Ct=T.diffed,bn=T.__r,xn=T.unmount;var o=oe(F,null);o.__k=[e];try{var i=Ne(e,t||Fa,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{T.__c&&T.__c(e,La),T.__s=r,La.length=0}}function Ia(){this.__d=!0}var Fa={};function Ha(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Fa),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=so({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),bn&&bn(e),n.render(n.props,n.state,t)}function Ne(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":er(e+"");if(Ma(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,p=Ne(f,t,n,r,o,i,a);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,ao&&ao(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var x="",y=0;y<_.tpl.length;y++)if(x+=_.tpl[y],_.exprs&&y<_.exprs.length){var b=_.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!Ma(b)?x+=b:x+=Ne(b,t,n,r,e,i,a)}return x}if(_.UNSTABLE_comment)return"<!--"+er(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];m=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=Ha(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:Ia,forceUpdate:Ia,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,bn&&bn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=so({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var $="";v=v!=null&&v.type===F&&v.key==null?v.props.children:v;try{return $=Ne(v,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(v=Ha(e,t),(h=e.__c).getChildContext!=null&&(t=so({},t,h.getChildContext())),$=Ne(v=v!=null&&v.type===F&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{Ct&&Ct(e),e.__=null,xn&&xn(e)}}}v=v!=null&&v.type===F&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var O=Ne(v,t,n,r,e,i,a);return Ct&&Ct(e),e.__=null,T.unmount&&T.unmount(e),O}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return Ne(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=T.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return Ne(v,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return Ne(v,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=md(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(Da.test(S))S=S.replace(Da,"$1:$2").toLowerCase();else{if(Ra.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?vd.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):hd.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+er(E+"")+'"')}if(Ra.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=er(L):L!=null&&L!==!1&&L!==!0&&(M=Ne(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Ct&&Ct(e),e.__=null,xn&&xn(e),!M&&bd.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var bd=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),co="RFC3986",lo={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},xd="RFC1738",kd=Array.isArray,Le=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),uo=1024,$d=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=uo){const l=i.length>=uo?i.slice(s,s+uo):i,u=[];for(let f=0;f<l.length;++f){let c=l.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===xd&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=Le[c];continue}if(c<2048){u[u.length]=Le[192|c>>6]+Le[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Le[224|c>>12]+Le[128|c>>6&63]+Le[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=Le[240|c>>18]+Le[128|c>>12&63]+Le[128|c>>6&63]+Le[128|c&63]}a+=u.join("")}return a};function jd(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Ua(e,t){if(kd(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var Sd=Object.prototype.hasOwnProperty,Va={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Me=Array.isArray,Ed=Array.prototype.push,za=function(e,t){Ed.apply(e,Me(t)?t:[t])},Cd=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:$d,encodeValuesOnly:!1,format:co,formatter:lo[co],indices:!1,serializeDate(e){return Cd.call(e)},skipNulls:!1,strictNullHandling:!1};function Od(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var fo={};function Wa(e,t,n,r,o,i,a,s,l,u,f,c,p,d,v,h,g,_){let m=e,x=_,y=0,b=!1;for(;(x=x.get(fo))!==void 0&&!b;){const j=x.get(e);if(y+=1,typeof j<"u"){if(j===y)throw new RangeError("Cyclic object value");b=!0}typeof x.get(fo)>"u"&&(y=0)}if(typeof u=="function"?m=u(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Me(m)&&(m=Ua(m,function(j){return j instanceof Date?p==null?void 0:p(j):j})),m===null){if(i)return l&&!h?l(t,ie.encoder,g,"key",d):t;m=""}if(Od(m)||jd(m)){if(l){const j=h?t:l(t,ie.encoder,g,"key",d);return[(v==null?void 0:v(j))+"="+(v==null?void 0:v(l(m,ie.encoder,g,"value",d)))]}return[(v==null?void 0:v(t))+"="+(v==null?void 0:v(String(m)))]}const k=[];if(typeof m>"u")return k;let C;if(n==="comma"&&Me(m))h&&l&&(m=Ua(m,l)),C=[{value:m.length>0?m.join(",")||null:void 0}];else if(Me(u))C=u;else{const j=Object.keys(m);C=f?j.sort(f):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),O=r&&Me(m)&&m.length===1?$+"[]":$;if(o&&Me(m)&&m.length===0)return O+"[]";for(let j=0;j<C.length;++j){const D=C[j],I=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&I===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Me(m)?typeof n=="function"?n(O,L):O:O+(c?"."+L:"["+L+"]");_.set(e,y);const M=new WeakMap;M.set(fo,_),za(k,Wa(I,N,n,r,o,i,a,s,n==="comma"&&h&&Me(m)?null:l,u,f,c,p,d,v,h,g,M))}return k}function Ad(e=ie){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ie.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=co;if(typeof e.format<"u"){if(!Sd.call(lo,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=lo[n];let o=ie.filter;(typeof e.filter=="function"||Me(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in Va?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ie.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ie.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ie.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ie.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ie.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ie.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ie.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ie.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ie.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ie.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ie.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ie.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ie.strictNullHandling}}function Ba(e,t={}){let n=e;const r=Ad(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Me(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=Va[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const u=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||za(a,Wa(n[d],d,s,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var tr=class extends Error{constructor(t){super(t[0].message);ga(this,"issues");this.name="ValiError",this.issues=t}};function Ya(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function kn(e){return{issues:e}}function Ot(e){return{output:e}}function Td(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 Pd(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ct(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return Ot(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Pd(n,r);for(const u of l.issues){const f=Td(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?kn(i):Ot(a)}function lt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Ka(e){return typeof e=="function"?e():e}function Rd(e,t,n,r){return kn([{validation:e,message:Ka(t),input:n,requirement:r}])}function Dd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=lt(t,n);return[e,i,a]}const[r,o]=lt(e,t);return[void 0,r,o]}function ut(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Ka(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function qa(e){return typeof e.default=="function"?e.default():e.default}function Nd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ct(t,this.pipe,n,"any")}}}function Ga(e,t,n){const[r="Invalid type",o]=lt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return ut(a,"type","array",this.message,i);let s;const l=[];for(let u=0;u<i.length;u++){const f=i[u],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:u,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else l.push(c.output)}return s?kn(s):ct(l,this.pipe,a,"array")}}}function Xa(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?ut(i,"type","boolean",this.message,o):ct(o,this.pipe,i,"boolean")}}}function dt(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?ut(r,"type","literal",this.message,n):Ot(n)}}}function Ee(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=qa(this);if(o===void 0)return Ot(n);n=o}return this.wrapped._parse(n,r)}}}function Wt(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?ut(i,"type","number",this.message,o):ct(o,this.pipe,i,"number")}}}function nr(e,t,n,r){const[o,i="Invalid type",a]=Dd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return ut(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const v=l[p],h=d._parse(v,u);if(h.issues){const g={type:"object",input:l,key:p,value:v};for(const _ of h.issues)_.path?_.path.unshift(g):_.path=[g],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],v=this.rest._parse(d,u);if(v.issues){const h={type:"object",input:l,key:p,value:d};for(const g of v.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else c[p]=v.output}}return f?kn(f):ct(c,this.pipe,u,"object")}}}function po(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=qa(this);if(o===void 0)return Ot(n);n=o}return this.wrapped._parse(n,r)}}}function te(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?ut(i,"type","string",this.message,o):ct(o,this.pipe,i,"string")}}}function Ld(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=lt(n,r);return[e,t,a,s]}const[o,i]=lt(t,n);return[te(),e,o,i]}var Md=["__proto__","prototype","constructor"];function Za(e,t,n,r){const[o,i,a="Invalid type",s]=Ld(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return ut(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Md.includes(p)){let v;const h=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(h.issues){v={type:"record",input:l,key:p,value:d};for(const _ of h.issues)_.path=[v],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const g=this.value._parse(d,u);if(g.issues){v=v||{type:"record",input:l,key:p,value:d};for(const _ of g.issues)_.path?_.path.unshift(v):_.path=[v],f==null||f.push(_);if(f||(f=g.issues),u!=null&&u.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?kn(f):ct(c,this.pipe,u,"record")}}}function Ja(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const l of s.issues)o.push(l);else o=s.issues;else{i=[s.output];break}}return i?Ot(i[0]):ut(r,"type","union",this.message,n,o)}}}function Qa(e,t,n){const r=e._parse(t,n);if(r.issues)throw new tr(r.issues);return r.output}function Id(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new tr(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function es(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):ct(a,n,o,typeof a)}}}function Fd(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)?Ot(t):Rd(this.type,this.message,t,this.requirement)}}}const ts="inploi-job-search",ns="ijs",At=10,rs={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Hd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return"Competitive";if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return"Invalid salary";const o=t.pay_type&&t.pay_type in rs?rs[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?"Up to "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?"From "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Ud=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Vd=({from:e=new Date,to:t,formatter:n=Ud})=>{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"},zd=Za(Ga(nr({label:Ya(te(),String),value:Ya(te(),String),jobs:Wt()}))),Wd=te([Fd()]),Bd=nr({total:Wt(),current_page:Wt(),per_page:Wt(),last_page:Wt()}),Yd=nr({id:Wt(),company_name:te(),company_logo:Ee(po(te())),employment_type:te(),location_type:Ja([dt("LOCATION"),dt("REMOTE"),dt("HYBRID")]),pay_type:Ee(Ja([dt("ANNUALLY"),dt("HOURLY"),dt("MONTHLY"),dt("WEEKLY"),dt("DAILY")])),pay_currency:te(),pay_mask:Xa(),pay_display:Xa(),pay:Ee(te()),pay_min:Ee(te()),pay_max:Ee(te()),description:te(),title:te(),contract_type:Ee(te()),created_at:Ee(te()),custom_data:Ee(Za(Nd())),href:te(),industry:Ee(te()),category:Ee(te()),skills:po(te()),town:po(te()),city:Ee(te()),country:Ee(te())}),Kd=es(Yd,e=>{const t=Id(Wd,e.company_logo);return{id:e.id,createdAt:e.created_at,company:{name:e.company_name,logo:t.success?t.output:null},employmentType:e.employment_type,locationType:e.location_type,pay:Hd({salary:e,config:{locales:void 0}})??null,description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?Vd({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data,raw:e}}),qd=es(nr({data:Ga(Kd),pagination:Bd}),e=>({pagination:e.pagination,results:e.data})),Gd=e=>!e||Array.isArray(e)&&e.length===0?null:e,os=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Gd(n==null?void 0:n.value)])),is=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(Ba({filters:os(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return Qa(zd,s)}catch(i){throw i instanceof tr?r.error(i.message,i.issues):r.error(i),i}},as=async({apiClient:e,logger:t,signal:n,filters:r,keyword:o,page:i=1})=>{try{const a=new URLSearchParams(Ba({filters:os(r)}));a.set("page",i.toString()),a.set("per_page",At.toString()),a.set("query",o||"");const s="/search/results",l=await e.fetch([s,a.toString()].filter(Boolean).join("?"),{signal:n});return Qa(qd,l)}catch(a){throw a instanceof tr?t.error(a.message,a.issues):t.error(a),a}},ho=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},vo={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Xd=0;function w(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Xd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return T.vnode&&T.vnode(u),u}function ss(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ss(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function cs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ss(e))&&(r&&(r+=" "),r+=t);return r}function ls(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ls(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _o(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ls(e))&&(r&&(r+=" "),r+=t);return r}const us=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Zd=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](_o(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(_o(i)):_o(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return t(i.map(u=>u(l)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:l}=o,u=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],v=l==null?void 0:l[p],h=us(d)||us(v);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[v,h]=d;return typeof h>"u"?p:{...p,[v]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:v,className:h,...g}=d;return Object.entries(g).every(_=>{let[m,x]=_;const y=f[m];return Array.isArray(x)?x.includes(y):y===x})?[...p,v,h]:p},[]);return t(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:xy,cva:Te,cx:ky}=Zd(),$n=Te({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive flex cursor-pointer items-center transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:"",only:""},position:{relative:"relative",absolute:"absolute"},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"},{size:"lg",icon:"only",class:"px-2 py-2"},{size:"sm",icon:"only",class:"px-1 py-1"}],defaultVariants:{variant:"neutral",icon:"none",position:"relative",size:"sm"}}),Jd=({error:e,resetError:t})=>w("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ft=({error:e,resetError:t,class:n,...r})=>w("div",{class:cs("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:$n({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class jn extends xe{constructor(){super(...arguments);ga(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return w(n,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const Qd={briefcase:w(F,{children:[w("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:w(F,{children:[w("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),w("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(F,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(F,{children:[w("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),w("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:w(F,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:w(F,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(F,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(F,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),w("path",{d:"M16 16L19 19"})]}),magnifierSimple:w(F,{children:[w("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(F,{children:w(F,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),w("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),pay:w(F,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:w(F,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},ef=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(Qd).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),Ye=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var Ke,W,go,ds,Bt=0,fs=[],Q=T,ps=Q.__b,hs=Q.__r,vs=Q.diffed,_s=Q.__c,gs=Q.unmount,ws=Q.__;function Tt(e,t){Q.__h&&Q.__h(W,e,Bt||t),Bt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function we(e){return Bt=1,rr(ys,e)}function rr(e,t,n){var r=Tt(Ke++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ys(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=W,!W.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};W.u=!0;var i=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},W.shouldComponentUpdate=o}return r.__N||r.__}function _e(e,t){var n=Tt(Ke++,3);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function pt(e,t){var n=Tt(Ke++,4);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ke(e){return Bt=5,Ie(function(){return{current:e}},[])}function wo(e,t,n){Bt=6,pt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Ie(e,t){var n=Tt(Ke++,7);return bo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ht(e,t){return Bt=8,Ie(function(){return e},t)}function or(e){var t=W.context[e.__c],n=Tt(Ke++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function ir(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function tf(e){var t=Tt(Ke++,10),n=we();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function mo(){var e=Tt(Ke++,11);if(!e.__){for(var t=W.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function nf(){for(var e;e=fs.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ar),e.__H.__h.forEach(yo),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){W=null,ps&&ps(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ws&&ws(e,t)},Q.__r=function(e){hs&&hs(e),Ke=0;var t=(W=e.__c).__H;t&&(go===W?(t.__h=[],W.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(ar),t.__h.forEach(yo),t.__h=[],Ke=0)),go=W},Q.diffed=function(e){vs&&vs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fs.push(t)!==1&&ds===Q.requestAnimationFrame||((ds=Q.requestAnimationFrame)||rf)(nf)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),go=W=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(ar),n.__h=n.__h.filter(function(r){return!r.__||yo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),_s&&_s(e,t)},Q.unmount=function(e){gs&&gs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{ar(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var ms=typeof requestAnimationFrame=="function";function rf(e){var t,n=function(){clearTimeout(r),ms&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ms&&(t=requestAnimationFrame(n))}function ar(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function yo(e){var t=W;e.__c=e.__(),W=t}function bo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ys(e,t){return typeof t=="function"?t(e):t}var of=Symbol.for("preact-signals");function xo(){if(Yt>1)Yt--;else{for(var e,t=!1;Sn!==void 0;){var n=Sn;for(Sn=void 0,ko++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&xs(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(ko=0,Yt--,t)throw e}}var B=void 0,Sn=void 0,Yt=0,ko=0,sr=0;function bs(e){if(B!==void 0){var t=e.n;if(t===void 0||t.t!==B)return t={i:0,S:e,p:B.s,n:void 0,t:B,e:void 0,x:void 0,r:t},B.s!==void 0&&(B.s.n=t),B.s=t,e.n=t,32&B.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=B.s,t.n=void 0,B.s.n=t,B.s=t),t}}function fe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}fe.prototype.brand=of,fe.prototype.h=function(){return!0},fe.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},fe.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},fe.prototype.subscribe=function(e){var t=this;return So(function(){var n=t.value,r=B;B=void 0;try{e(n)}finally{B=r}})},fe.prototype.valueOf=function(){return this.value},fe.prototype.toString=function(){return this.value+""},fe.prototype.toJSON=function(){return this.value},fe.prototype.peek=function(){var e=B;B=void 0;try{return this.value}finally{B=e}},Object.defineProperty(fe.prototype,"value",{get:function(){var e=bs(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(ko>100)throw new Error("Cycle detected");this.v=e,this.i++,sr++,Yt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{xo()}}}});function $o(e){return new fe(e)}function xs(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function ks(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function $s(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function Kt(e){fe.call(this,void 0),this.x=e,this.s=void 0,this.g=sr-1,this.f=4}(Kt.prototype=new fe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===sr))return!0;if(this.g=sr,this.f|=1,this.i>0&&!xs(this))return this.f&=-2,!0;var e=B;try{ks(this),B=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return B=e,$s(this),this.f&=-2,!0},Kt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}fe.prototype.S.call(this,e)},Kt.prototype.U=function(e){if(this.t!==void 0&&(fe.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},Kt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(Kt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=bs(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function af(e){return new Kt(e)}function js(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Yt++;var n=B;B=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,jo(e),r}finally{B=n,xo()}}}function jo(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,js(e)}function sf(e){if(B!==this)throw new Error("Out-of-order effect");$s(this),B=e,this.f&=-2,8&this.f&&jo(this),xo()}function En(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}En.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},En.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,js(this),ks(this),Yt++;var e=B;return B=this,sf.bind(this,e)},En.prototype.N=function(){2&this.f||(this.f|=2,this.o=Sn,Sn=this)},En.prototype.d=function(){this.f|=8,1&this.f||jo(this)};function So(e){var t=new En(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Eo;function qt(e,t){T[e]=t.bind(null,T[e]||function(){})}function cr(e){Eo&&Eo(),Eo=e&&e.S()}function Ss(e){var t=this,n=e.data,r=lf(n);r.value=n;var o=Ie(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!ya(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},af(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Ss.displayName="_st",Object.defineProperties(fe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ss},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),qt("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof fe&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),qt("__r",function(e,t){cr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return So(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),cr(n),e(t)}),qt("__e",function(e,t,n,r){cr(),e(t,n,r)}),qt("diffed",function(e,t){cr();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var l in r){var u=i[l],f=r[l];u===void 0?(u=cf(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function cf(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=$o(n);return{o:function(a,s){i.value=a,r=s},d:So(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}qt("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),qt("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),xe.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function lf(e){return Ie(function(){return $o(e)},[])}const Pt={keyword$:$o()},lr=e=>{const t=Object.entries(e.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${e.baseKey}::${t}::${e.keyword??""}`},uf=e=>{const[t,n]=we(!1);return _e(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},df=(e,{minViewTime:t=1e3,visibilityThreshold:n=0,onView:r})=>{const[o,i]=we(!1);_e(()=>{if(o||!e.current)return;let a;const s=new IntersectionObserver(l=>l.forEach(u=>{clearTimeout(a),u.isIntersecting&&(a=setTimeout(()=>{i(!0),r()},t))}),{threshold:n});return s.observe(e.current),()=>{s.disconnect(),clearTimeout(a)}},[e,t,n,r,o])},$y="",ff=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)},pf=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=we();return _e(()=>{Promise.resolve().then(()=>wy).then(s=>a(s.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),_e(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})},[i,r]),_e(()=>{i==null||i.setFilters(ff(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Es(e,t){for(var n in t)e[n]=t[n];return e}function Co(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function ur(e,t){this.props=e,this.context=t}function Cs(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Co(this.props,o)}function r(o){return this.shouldComponentUpdate=n,oe(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ur.prototype=new xe).isPureReactComponent=!0,ur.prototype.shouldComponentUpdate=function(e,t){return Co(this.props,e)||Co(this.state,t)};var Os=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Os&&Os(e)};var hf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function As(e){function t(n){var r=Es({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=hf,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ts=function(e,t){return e==null?null:Be(Be(e).map(t))},Ps={map:Ts,forEach:Ts,count:function(e){return e?Be(e).length:0},only:function(e){var t=Be(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Be},vf=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)}vf(e,t,n,r)};var Rs=T.unmount;function Ds(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Es({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ds(r,t,n)})),e}function Ns(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ns(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Cn(){this.__u=0,this.t=null,this.__b=null}function Ls(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ms(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return oe(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Gt(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Rs&&Rs(e)},(Cn.prototype=new xe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ls(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Ns(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Cn.prototype.componentWillUnmount=function(){this.t=[]},Cn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ds(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&oe(F,null,e.fallback);return o&&(o.__u&=-33),[oe(F,null,t.__a?null:e.children),o]};var Is=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function _f(e){return this.getChildContext=function(){return e.context},e.children}function gf(e){var t=this,n=e.i;t.componentWillUnmount=function(){zt(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)}}),zt(oe(_f,{context:t.context},e.__v),t.l)}function Fs(e,t){var n=oe(gf,{__v:e,i:t});return n.containerInfo=t,n}(Gt.prototype=new xe).__a=function(e){var t=this,n=Ls(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Is(t,e,r)):o()};n?n(i):i()}},Gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Be(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Gt.prototype.componentDidUpdate=Gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Is(e,n,t)})};var Hs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,wf=/^(?: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]/,mf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,yf=/[A-Z0-9]/g,bf=typeof document<"u",xf=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Us(e,t,n){return t.__k==null&&(t.textContent=""),zt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Vs(e,t,n){return oo(e,t),typeof n=="function"&&n(),e?e.__c:null}xe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(xe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zs=T.event;function kf(){}function $f(){return this.cancelBubble}function jf(){return this.defaultPrevented}T.event=function(e){return zs&&(e=zs(e)),e.persist=kf,e.isPropagationStopped=$f,e.isDefaultPrevented=jf,e.nativeEvent=e};var Oo,Sf={enumerable:!1,configurable:!0,get:function(){return this.class}},Ws=T.vnode;T.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||bf&&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"||xf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":mf.test(i)?i=s:r.indexOf("-")===-1&&wf.test(i)?i=i.replace(yf,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Be(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Be(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Sf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Hs,Ws&&Ws(e)};var Bs=T.__r;T.__r=function(e){Bs&&Bs(e),Oo=e.__c};var Ys=T.diffed;T.diffed=function(e){Ys&&Ys(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Oo=null};var Ks={ReactCurrentDispatcher:{current:{readContext:function(e){return Oo.__n[e.__c].props.value},useCallback:ht,useContext:or,useDebugValue:ir,useDeferredValue:To,useEffect:_e,useId:mo,useImperativeHandle:wo,useInsertionEffect:Ro,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:we,useSyncExternalStore:Do,useTransition:Po}}},Ef="17.0.2";function qs(e){return oe.bind(null,e)}function On(e){return!!e&&e.$$typeof===Hs}function Gs(e){return On(e)&&e.type===F}function Xs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Zs(e){return On(e)?pd.apply(null,arguments):e}function Js(e){return!!e.__k&&(zt(null,e),!0)}function Qs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ec=function(e,t){return e(t)},tc=function(e,t){return e(t)},nc=F;function Ao(e){e()}function To(e){return e}function Po(){return[!1,Ao]}var Ro=pt,rc=On;function Do(e,t){var n=t(),r=we({h:{__:n,v:t}}),o=r[0].h,i=r[1];return pt(function(){o.__=n,o.v=t,No(o)&&i({h:o})},[e,n,t]),_e(function(){return No(o)&&i({h:o}),e(function(){No(o)&&i({h:o})})},[e]),n}function No(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var dr={useState:we,useId:mo,useReducer:rr,useEffect:_e,useLayoutEffect:pt,useInsertionEffect:Ro,useTransition:Po,useDeferredValue:To,useSyncExternalStore:Do,startTransition:Ao,useRef:ke,useImperativeHandle:wo,useMemo:Ie,useCallback:ht,useContext:or,useDebugValue:ir,version:"17.0.2",Children:Ps,render:Us,hydrate:Vs,unmountComponentAtNode:Js,createPortal:Fs,createElement:oe,createContext:io,createFactory:qs,cloneElement:Zs,createRef:Sa,Fragment:F,isValidElement:On,isElement:rc,isFragment:Gs,isMemo:Xs,findDOMNode:Qs,Component:xe,PureComponent:ur,memo:Cs,forwardRef:As,flushSync:tc,unstable_batchedUpdates:ec,StrictMode:nc,Suspense:Cn,SuspenseList:Gt,lazy:Ms,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks};const Cf=Object.freeze(Object.defineProperty({__proto__:null,Children:Ps,Component:xe,Fragment:F,PureComponent:ur,StrictMode:nc,Suspense:Cn,SuspenseList:Gt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ks,cloneElement:Zs,createContext:io,createElement:oe,createFactory:qs,createPortal:Fs,createRef:Sa,default:dr,findDOMNode:Qs,flushSync:tc,forwardRef:As,hydrate:Vs,isElement:rc,isFragment:Gs,isMemo:Xs,isValidElement:On,lazy:Ms,memo:Cs,render:Us,startTransition:Ao,unmountComponentAtNode:Js,unstable_batchedUpdates:ec,useCallback:ht,useContext:or,useDebugValue:ir,useDeferredValue:To,useEffect:_e,useErrorBoundary:tf,useId:mo,useImperativeHandle:wo,useInsertionEffect:Ro,useLayoutEffect:pt,useMemo:Ie,useReducer:rr,useRef:ke,useState:we,useSyncExternalStore:Do,useTransition:Po,version:Ef},Symbol.toStringTag,{value:"Module"}));var fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Of(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Af(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Lo={exports:{}},Mo={};const oc=Af(Cf);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-job-search",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-job-search.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"vite": "^4.5.3",
|
|
54
54
|
"vite-plugin-dts": "^3.9.1",
|
|
55
55
|
"vite-tsconfig-paths": "^4.3.2",
|
|
56
|
-
"@inploi/core": "1.14.4",
|
|
57
56
|
"@inploi/design-tokens": "0.2.1",
|
|
58
57
|
"@inploi/plugin-job-alerts": "0.3.0",
|
|
59
|
-
"@inploi/
|
|
58
|
+
"@inploi/core": "1.14.5",
|
|
59
|
+
"@inploi/sdk": "1.14.8",
|
|
60
60
|
"eslint-config-custom": "0.1.0"
|
|
61
61
|
},
|
|
62
62
|
"msw": {
|