@inploi/plugin-job-alerts 0.3.0 → 0.3.2
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 +11 -11
- package/dist/index.cdn.d.ts +1 -0
- package/dist/job-alerts.d.ts +3 -3
- package/dist/job-alerts.dev.d.ts +1 -0
- package/dist/plugin-job-alerts.cjs +762 -762
- package/dist/plugin-job-alerts.js +762 -762
- package/package.json +6 -6
package/cdn/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";function jn(e,t){if(!e)throw new Error(t)}var si=e=>e,Ve,x,Tn,Dn,me,Rn,Nn,Ht,Ln,Ye={},Fn=[],ci=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,it=Array.isArray;function ee(e,t){for(var n in t)e[n]=t[n];return e}function Mn(e){var t=e.parentNode;t&&t.removeChild(e)}function k(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?Ve.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 Xe(e,a,r,o,null)}function Xe(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??++Tn,__i:-1,__u:0};return o==null&&x.vnode!=null&&x.vnode(i),i}function Hn(){return{current:null}}function M(e){return e.children}function q(e,t){this.props=e,this.context=t}function Ce(e,t){if(t==null)return e.__?Ce(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"?Ce(e):null}function Wn(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 Wn(e)}}function Wt(e){(!e.__d&&(e.__d=!0)&&me.push(e)&&!at.__r++||Rn!==x.debounceRendering)&&((Rn=x.debounceRendering)||Nn)(at)}function at(){var e,t,n,r,o,i,a,s,u;for(me.sort(Ht);e=me.shift();)e.__d&&(t=me.length,r=void 0,i=(o=(n=e).__v).__e,s=[],u=[],(a=n.__P)&&((r=ee({},o)).__v=o.__v+1,x.vnode&&x.vnode(r),Ut(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Ce(o),!!(32&o.__u),u),r.__.__k[r.__i]=r,Yn(s,r,u),r.__e!=i&&Wn(r)),me.length>t&&me.sort(Ht));at.__r=0}function Un(e,t,n,r,o,i,a,s,u,l,d){var c,p,f,m,h,v=r&&r.__k||Fn,_=t.length;for(n.__d=u,li(n,t,v),u=n.__d,c=0;c<_;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?Ye:v[f.__i]||Ye,f.__i=c,Ut(e,f,p,o,i,a,s,u,l,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&zt(p.ref,null,f),d.push(f.ref,f.__c||m,f)),h==null&&m!=null&&(h=m),65536&f.__u||p.__k===f.__k?u=zn(f,u,e):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:m&&(u=m.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function li(e,t,n){var r,o,i,a,s,u=t.length,l=n.length,d=l,c=0;for(e.__k=[],r=0;r<u;r++)(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?Xe(null,o,null,null,o):it(o)?Xe(M,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Xe(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=ui(o,n,a=r+c,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?c++:s>a?d>u-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==e.__d&&(e.__d=Ce(i)),It(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Ce(i)),It(i,i))}function zn(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=zn(r[o],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function te(e,t){return t=t||[],e==null||typeof e=="boolean"||(it(e)?e.some(function(n){te(n,t)}):t.push(e)),t}function ui(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,u=t[n];if(u===null||u&&o==u.key&&i===u.type)return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function In(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ci.test(t)?n:n+"px"}function st(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||In(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||In(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?Vn:Bn,i)):e.removeEventListener(t,i?Vn:Bn,i);else{if(o)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 in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Bn(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(x.event?x.event(e):e)}function Vn(e){return this.l[e.type+!0](x.event?x.event(e):e)}function Ut(e,t,n,r,o,i,a,s,u,l){var d,c,p,f,m,h,v,_,w,g,y,b,S,P,$,C=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(d=x.__b)&&d(t);e:if(typeof C=="function")try{if(_=t.props,w=(d=C.contextType)&&r[d.__c],g=d?w?w.props.value:d.__:r,n.__c?v=(c=t.__c=n.__c).__=c.__E:("prototype"in C&&C.prototype.render?t.__c=c=new C(_,g):(t.__c=c=new q(_,g),c.constructor=C,c.render=di),w&&w.sub(c),c.props=_,c.state||(c.state={}),c.context=g,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),C.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ee({},c.__s)),ee(c.__s,C.getDerivedStateFromProps(_,c.__s))),f=c.props,m=c.state,c.__v=t,p)C.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(C.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,g),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,g)===!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(L){L&&(L.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,g),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,m,h)})}if(c.context=g,c.props=_,c.__P=e,c.__e=!1,b=x.__r,S=0,"prototype"in C&&C.prototype.render){for(c.state=c.__s,c.__d=!1,b&&b(t),d=c.render(c.props,c.state,c.context),P=0;P<c._sb.length;P++)c.__h.push(c._sb[P]);c._sb=[]}else do c.__d=!1,b&&b(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++S<25);c.state=c.__s,c.getChildContext!=null&&(r=ee(ee({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(f,m)),Un(e,it($=d!=null&&d.type===M&&d.key==null?d.props.children:d)?$:[$],t,n,r,o,i,a,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),v&&(c.__E=c.__=null)}catch(L){t.__v=null,u||i!=null?(t.__e=s,t.__u|=u?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),x.__e(L,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=fi(n.__e,t,n,r,o,i,a,u,l);(d=x.diffed)&&d(t)}function Yn(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)zt(n[r],n[++r],n[++r]);x.__c&&x.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){x.__e(i,o.__v)}})}function fi(e,t,n,r,o,i,a,s,u){var l,d,c,p,f,m,h,v=n.props,_=t.props,w=t.type;if(w==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!w&&(w?f.localName===w:f.nodeType===3)){e=f,i[l]=null;break}}if(e==null){if(w===null)return document.createTextNode(_);e=o?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,_.is&&_),i=null,s=!1}if(w===null)v===_||s&&e.data===_||(e.data=_);else{if(i=i&&Ve.call(e.childNodes),v=n.props||Ye,!s&&i!=null)for(v={},l=0;l<e.attributes.length;l++)v[(f=e.attributes[l]).name]=f.value;for(l in v)f=v[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=f:l==="key"||l in _||st(e,l,null,f,o));for(l in _)f=_[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?m=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||v[l]===f||st(e,l,f,v[l],o);if(d)s||c&&(d.__html===c.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),Un(e,it(p)?p:[p],t,n,r,o&&w!=="foreignObject",i,a,i?i[0]:n.__k&&Ce(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&Mn(i[l]);s||(l="value",m!==void 0&&(m!==e[l]||w==="progress"&&!m||w==="option"&&m!==v[l])&&st(e,l,m,v[l],!1),l="checked",h!==void 0&&h!==e[l]&&st(e,l,h,v[l],!1))}return e}function zt(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){x.__e(r,n)}}function It(e,t,n){var r,o;if(x.unmount&&x.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||zt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){x.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&It(r[o],t,n||typeof e.type!="function");n||e.__e==null||Mn(e.__e),e.__=e.__e=e.__d=void 0}function di(e,t,n){return this.constructor(e,n)}function Se(e,t,n){var r,o,i,a;x.__&&x.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Ut(t,e=(!r&&n||t).__k=k(M,null,[e]),o||Ye,Ye,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?Ve.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Yn(i,e,a)}function Bt(e,t){Se(e,t,Bt)}function pi(e,t,n){var r,o,i,a,s=ee({},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?Ve.call(arguments,2):n),Xe(e.type,s,r||e.key,o||e.ref,null)}function Ke(e,t){var n={__c:t="__cC"+Ln++,__: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.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,Wt(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Ve=Fn.slice,x={__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}},Tn=0,Dn=function(e){return e!=null&&e.constructor==null},q.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ee({},this.state),typeof e=="function"&&(e=e(ee({},n),this.props)),e&&ee(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Wt(this))},q.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Wt(this))},q.prototype.render=M,me=[],Nn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ht=function(e,t){return e.__v.__b-t.__v.__b},at.__r=0,Ln=0;var Xn=/[\s\n\\/='"\0<>]/,Kn=/^(xlink|xmlns|xml)([A-Z])/,hi=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,vi=/^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/,_i=/["&<]/;function ct(e){if(e.length===0||_i.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 qn={},mi=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"]),wi=/[A-Z]/g;function gi(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:qn[n]||(qn[n]=n.replace(wi,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||mi.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Vt,we,qe,ge,Zn=[],Gn=Array.isArray,Yt=Object.assign;function yi(e,t){var n=x.__s;x.__s=!0,Vt=x.__b,we=x.diffed,qe=x.__r,ge=x.unmount;var r=k(M,null);r.__k=[e];try{return ye(e,t||Qn,!1,void 0,r)}finally{x.__c&&x.__c(e,Zn),x.__s=n,Zn.length=0}}function Jn(){this.__d=!0}var Qn={};function er(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=Qn),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Yt({},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(),qe&&qe(e),n.render(n.props,n.state,t)}function ye(e,t,n,r,o){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":ct(e+"");if(Gn(e)){var i="";o.__k=e;for(var a=0;a<e.length;a++){var s=e[a];s!=null&&typeof s!="boolean"&&(i+=ye(s,t,n,r,o))}return i}if(e.constructor!==void 0)return"";e.__=o,Vt&&Vt(e);var u,l,d,c=e.type,p=e.props,f=t;if(typeof c=="function"){if(c===M){if(p.tpl){for(var m="",h=0;h<p.tpl.length;h++)if(m+=p.tpl[h],p.exprs&&h<p.exprs.length){var v=p.exprs[h];if(v==null)continue;typeof v!="object"||v.constructor!==void 0&&!Gn(v)?m+=v:m+=ye(v,t,n,r,e)}return m}if(p.UNSTABLE_comment)return"<!--"+ct(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var _=t[u.__c];f=_?_.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=er(e,f),d=e.__c;else{e.__c=d={__v:e,props:p,context:f,setState:Jn,forceUpdate:Jn,__d:!0,__h:[]};for(var w=0;d.__d&&w++<25;)d.__d=!1,qe&&qe(e),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(t=Yt({},t,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&x.errorBoundaries){var g="";l=l!=null&&l.type===M&&l.key==null?l.props.children:l;try{return g=ye(l,t,n,r,e)}catch(L){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(L)),d.componentDidCatch&&d.componentDidCatch(L,{}),d.__d&&(l=er(e,t),(d=e.__c).getChildContext!=null&&(t=Yt({},t,d.getChildContext())),g=ye(l=l!=null&&l.type===M&&l.key==null?l.props.children:l,t,n,r,e)),g}finally{we&&we(e),e.__=void 0,ge&&ge(e)}}}var y=ye(l=l!=null&&l.type===M&&l.key==null?l.props.children:l,t,n,r,e);return we&&we(e),e.__=void 0,ge&&ge(e),y}var b,S="<"+c,P="";for(var $ in p){var C=p[$];switch($){case"children":b=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;$="for";break;case"className":if("class"in p)continue;$="class";break;case"defaultChecked":$="checked";break;case"defaultSelected":$="selected";break;case"defaultValue":case"value":switch($="value",c){case"textarea":b=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in p||(S+=" selected")}break;case"dangerouslySetInnerHTML":P=C&&C.__html;continue;case"style":typeof C=="object"&&(C=gi(C));break;case"acceptCharset":$="accept-charset";break;case"httpEquiv":$="http-equiv";break;default:if(Kn.test($))$=$.replace(Kn,"$1:$2").toLowerCase();else{if(Xn.test($))continue;$[4]!=="-"&&$!=="draggable"||C==null?n?vi.test($)&&($=$==="panose1"?"panose-1":$.replace(/([A-Z])/g,"-$1").toLowerCase()):hi.test($)&&($=$.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(S=C===!0||C===""?S+" "+$:S+" "+$+'="'+ct(C+"")+'"')}if(Xn.test(c))throw new Error(c+" is not a valid HTML tag name in "+S+">");return P||(typeof b=="string"?P=ct(b):b!=null&&b!==!1&&b!==!0&&(P=ye(b,t,c==="svg"||c!=="foreignObject"&&n,r,e))),we&&we(e),e.__=void 0,ge&&ge(e),!P&&bi.has(c)?S+"/>":S+">"+P+"</"+c+">"}var bi=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),xi=0;function E(e,t,n,r,o,i){var a,s,u={};for(s in t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--xi,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return x.vnode&&x.vnode(l),l}const $i={bell:E("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:E("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":E("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},ki=({theme:e})=>E("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:E("defs",{children:Object.entries($i).map(([t,n])=>E("symbol",{id:`i-icon-${t}`,children:E("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),tr=({name:e,...t})=>E("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:E("use",{href:`#i-icon-${e}`})});function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(this,arguments)}var ne,O,Xt,nr,Pe=0,rr=[],lt=[],or=x.__b,ir=x.__r,ar=x.diffed,sr=x.__c,cr=x.unmount;function be(e,t){x.__h&&x.__h(O,e,Pe||t),Pe=0;var n=O.__H||(O.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:lt}),n.__[e]}function T(e){return Pe=1,ut(pr,e)}function ut(e,t,n){var r=be(ne++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):pr(void 0,t),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=O,!O.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};O.u=!0;var i=O.shouldComponentUpdate,a=O.componentWillUpdate;O.componentWillUpdate=function(s,u,l){if(this.__e){var d=i;i=void 0,o(s,u,l),i=d}a&&a.call(this,s,u,l)},O.shouldComponentUpdate=o}return r.__N||r.__}function D(e,t){var n=be(ne++,3);!x.__s&&qt(n.__H,t)&&(n.__=e,n.i=t,O.__H.__h.push(n))}function xe(e,t){var n=be(ne++,4);!x.__s&&qt(n.__H,t)&&(n.__=e,n.i=t,O.__h.push(n))}function A(e){return Pe=5,V(function(){return{current:e}},[])}function lr(e,t,n){Pe=6,xe(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 V(e,t){var n=be(ne++,7);return qt(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function W(e,t){return Pe=8,V(function(){return e},t)}function ft(e){var t=O.context[e.__c],n=be(ne++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(O)),t.props.value):e.__}function ur(e,t){x.useDebugValue&&x.useDebugValue(t?t(e):e)}function Ei(e){var t=be(ne++,10),n=T();return t.__=e,O.componentDidCatch||(O.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function fr(){var e=be(ne++,11);if(!e.__){for(var t=O.__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 Ci(){for(var e;e=rr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(dt),e.__H.__h.forEach(Kt),e.__H.__h=[]}catch(t){e.__H.__h=[],x.__e(t,e.__v)}}x.__b=function(e){O=null,or&&or(e)},x.__r=function(e){ir&&ir(e),ne=0;var t=(O=e.__c).__H;t&&(Xt===O?(t.__h=[],O.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=lt,n.__N=n.i=void 0})):(t.__h.forEach(dt),t.__h.forEach(Kt),t.__h=[],ne=0)),Xt=O},x.diffed=function(e){ar&&ar(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(rr.push(t)!==1&&nr===x.requestAnimationFrame||((nr=x.requestAnimationFrame)||Si)(Ci)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==lt&&(n.__=n.__V),n.i=void 0,n.__V=lt})),Xt=O=null},x.__c=function(e,t){t.some(function(n){try{n.__h.forEach(dt),n.__h=n.__h.filter(function(r){return!r.__||Kt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],x.__e(r,n.__v)}}),sr&&sr(e,t)},x.unmount=function(e){cr&&cr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{dt(r)}catch(o){t=o}}),n.__H=void 0,t&&x.__e(t,n.__v))};var dr=typeof requestAnimationFrame=="function";function Si(e){var t,n=function(){clearTimeout(r),dr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);dr&&(t=requestAnimationFrame(n))}function dt(e){var t=O,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),O=t}function Kt(e){var t=O;e.__c=e.__(),O=t}function qt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function pr(e,t){return typeof t=="function"?t(e):t}function hr(e,t){for(var n in t)e[n]=t[n];return e}function Zt(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 pt(e){this.props=e}function vr(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:Zt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,k(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(pt.prototype=new q).isPureReactComponent=!0,pt.prototype.shouldComponentUpdate=function(e,t){return Zt(this.props,e)||Zt(this.state,t)};var _r=x.__b;x.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_r&&_r(e)};var Pi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function U(e){function t(n){var r=hr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Pi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var mr=function(e,t){return e==null?null:te(te(e).map(t))},re={map:mr,forEach:mr,count:function(e){return e?te(e).length:0},only:function(e){var t=te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:te},Ai=x.__e;x.__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)}Ai(e,t,n,r)};var wr=x.unmount;function gr(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=hr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return gr(r,t,n)})),e}function yr(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return yr(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 Ze(){this.__u=0,this.t=null,this.__b=null}function br(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function xr(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 k(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ae(){this.u=null,this.o=null}x.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),wr&&wr(e)},(Ze.prototype=new q).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=br(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=yr(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Ze.prototype.componentWillUnmount=function(){this.t=[]},Ze.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]=gr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&k(M,null,e.fallback);return o&&(o.__u&=-33),[k(M,null,t.__a?null:e.children),o]};var $r=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 Oi(e){return this.getChildContext=function(){return e.context},e.children}function ji(e){var t=this,n=e.i;t.componentWillUnmount=function(){Se(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:[],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)}}),Se(k(Oi,{context:t.context},e.__v),t.l)}function kr(e,t){var n=k(ji,{__v:e,i:t});return n.containerInfo=t,n}(Ae.prototype=new q).__a=function(e){var t=this,n=br(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),$r(t,e,r)):o()};n?n(i):i()}},Ae.prototype.render=function(e){this.u=null,this.o=new Map;var t=te(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},Ae.prototype.componentDidUpdate=Ae.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){$r(e,n,t)})};var Er=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ti=/^(?: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]/,Di=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ri=/[A-Z0-9]/g,Ni=typeof document<"u",Li=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Cr(e,t,n){return t.__k==null&&(t.textContent=""),Se(e,t),typeof n=="function"&&n(),e?e.__c:null}function Sr(e,t,n){return Bt(e,t),typeof n=="function"&&n(),e?e.__c:null}q.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(q.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Pr=x.event;function Fi(){}function Mi(){return this.cancelBubble}function Hi(){return this.defaultPrevented}x.event=function(e){return Pr&&(e=Pr(e)),e.persist=Fi,e.isPropagationStopped=Mi,e.isDefaultPrevented=Hi,e.nativeEvent=e};var Gt,Wi={enumerable:!1,configurable:!0,get:function(){return this.class}},Ar=x.vnode;x.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||Ni&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Li(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Di.test(i)?i=s:r.indexOf("-")===-1&&Ti.test(i)?i=i.replace(Ri,"-$&").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=te(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=te(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Wi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Er,Ar&&Ar(e)};var Or=x.__r;x.__r=function(e){Or&&Or(e),Gt=e.__c};var jr=x.diffed;x.diffed=function(e){jr&&jr(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),Gt=null};var Tr={ReactCurrentDispatcher:{current:{readContext:function(e){return Gt.__n[e.__c].props.value}}}},Ui="17.0.2";function Dr(e){return k.bind(null,e)}function oe(e){return!!e&&e.$$typeof===Er}function Rr(e){return oe(e)&&e.type===M}function Oe(e){return oe(e)?pi.apply(null,arguments):e}function Nr(e){return!!e.__k&&(Se(null,e),!0)}function Lr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Fr=function(e,t){return e(t)},Ge=function(e,t){return e(t)},Mr=M;function Jt(e){e()}function Hr(e){return e}function Wr(){return[!1,Jt]}var Ur=xe,zr=oe;function Ir(e,t){var n=t(),r=T({h:{__:n,v:t}}),o=r[0].h,i=r[1];return xe(function(){o.__=n,o.v=t,Qt(o)&&i({h:o})},[e,n,t]),D(function(){return Qt(o)&&i({h:o}),e(function(){Qt(o)&&i({h:o})})},[e]),n}function Qt(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 Br={useState:T,useId:fr,useReducer:ut,useEffect:D,useLayoutEffect:xe,useInsertionEffect:Ur,useTransition:Wr,useDeferredValue:Hr,useSyncExternalStore:Ir,startTransition:Jt,useRef:A,useImperativeHandle:lr,useMemo:V,useCallback:W,useContext:ft,useDebugValue:ur,version:"17.0.2",Children:re,render:Cr,hydrate:Sr,unmountComponentAtNode:Nr,createPortal:kr,createElement:k,createContext:Ke,createFactory:Dr,cloneElement:Oe,createRef:Hn,Fragment:M,isValidElement:oe,isElement:zr,isFragment:Rr,findDOMNode:Lr,Component:q,PureComponent:pt,memo:vr,forwardRef:U,flushSync:Ge,unstable_batchedUpdates:Fr,StrictMode:Mr,Suspense:Ze,SuspenseList:Ae,lazy:xr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Tr};const zi=Object.freeze(Object.defineProperty({__proto__:null,Children:re,Component:q,Fragment:M,PureComponent:pt,StrictMode:Mr,Suspense:Ze,SuspenseList:Ae,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Tr,cloneElement:Oe,createContext:Ke,createElement:k,createFactory:Dr,createPortal:kr,createRef:Hn,default:Br,findDOMNode:Lr,flushSync:Ge,forwardRef:U,hydrate:Sr,isElement:zr,isFragment:Rr,isValidElement:oe,lazy:xr,memo:vr,render:Cr,startTransition:Jt,unmountComponentAtNode:Nr,unstable_batchedUpdates:Fr,useCallback:W,useContext:ft,useDebugValue:ur,useDeferredValue:Hr,useEffect:D,useErrorBoundary:Ei,useId:fr,useImperativeHandle:lr,useInsertionEffect:Ur,useLayoutEffect:xe,useMemo:V,useReducer:ut,useRef:A,useState:T,useSyncExternalStore:Ir,useTransition:Wr,version:Ui},Symbol.toStringTag,{value:"Module"}));function $e(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Ii(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Vr(...e){return t=>e.forEach(n=>Ii(n,t))}function ke(...e){return W(Vr(...e),e)}function Yr(e,t=[]){let n=[];function r(i,a){const s=Ke(a),u=n.length;n=[...n,a];function l(c){const{scope:p,children:f,...m}=c,h=(p==null?void 0:p[e][u])||s,v=V(()=>m,Object.values(m));return k(h.Provider,{value:v},f)}function d(c,p){const f=(p==null?void 0:p[e][u])||s,m=ft(f);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,d]}const o=()=>{const i=n.map(a=>Ke(a));return function(s){const u=(s==null?void 0:s[e])||i;return V(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[r,Bi(o,...t)]}function Bi(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:u,scopeName:l})=>{const c=u(i)[`__scope${l}`];return{...s,...c}},{});return V(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const en=U((e,t)=>{const{children:n,...r}=e,o=re.toArray(n),i=o.find(Yi);if(i){const a=i.props.children,s=o.map(u=>u===i?re.count(a)>1?re.only(null):oe(a)?a.props.children:null:u);return k(tn,z({},r,{ref:t}),oe(a)?Oe(a,void 0,s):null)}return k(tn,z({},r,{ref:t}),n)});en.displayName="Slot";const tn=U((e,t)=>{const{children:n,...r}=e;return oe(n)?Oe(n,{...Xi(r,n.props),ref:t?Vr(t,n.ref):n.ref}):re.count(n)>1?re.only(null):null});tn.displayName="SlotClone";const Vi=({children:e})=>k(M,null,e);function Yi(e){return oe(e)&&e.type===Vi}function Xi(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const je=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=U((r,o)=>{const{asChild:i,...a}=r,s=i?en:t;return D(()=>{window[Symbol.for("radix-ui")]=!0},[]),k(s,z({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Ki(e,t){e&&Ge(()=>e.dispatchEvent(t))}function ue(e){const t=A(e);return D(()=>{t.current=e}),V(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function qi(e,t=globalThis==null?void 0:globalThis.document){const n=ue(e);D(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const nn="dismissableLayer.update",Zi="dismissableLayer.pointerDownOutside",Gi="dismissableLayer.focusOutside";let Xr;const Ji=Ke({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Qi=U((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=e,d=ft(Ji),[c,p]=T(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=T({}),h=ke(t,$=>p($)),v=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),w=v.indexOf(_),g=c?v.indexOf(c):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,b=g>=w,S=ea($=>{const C=$.target,L=[...d.branches].some(Y=>Y.contains(C));!b||L||(i==null||i($),s==null||s($),$.defaultPrevented||u==null||u())},f),P=ta($=>{const C=$.target;[...d.branches].some(Y=>Y.contains(C))||(a==null||a($),s==null||s($),$.defaultPrevented||u==null||u())},f);return qi($=>{g===d.layers.size-1&&(o==null||o($),!$.defaultPrevented&&u&&($.preventDefault(),u()))},f),D(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Xr=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),Kr(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Xr)}},[c,f,r,d]),D(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),Kr())},[c,d]),D(()=>{const $=()=>m({});return document.addEventListener(nn,$),()=>document.removeEventListener(nn,$)},[]),k(je.div,z({},l,{ref:h,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:$e(e.onFocusCapture,P.onFocusCapture),onBlurCapture:$e(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:$e(e.onPointerDownCapture,S.onPointerDownCapture)}))});function ea(e,t=globalThis==null?void 0:globalThis.document){const n=ue(e),r=A(!1),o=A(()=>{});return D(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){qr(Zi,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ta(e,t=globalThis==null?void 0:globalThis.document){const n=ue(e),r=A(!1);return D(()=>{const o=i=>{i.target&&!r.current&&qr(Gi,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Kr(){const e=new CustomEvent(nn);document.dispatchEvent(e)}function qr(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Ki(o,i):o.dispatchEvent(i)}let rn=0;function na(){D(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Zr()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Zr()),rn++,()=>{rn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),rn--}},[])}function Zr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const on="focusScope.autoFocusOnMount",an="focusScope.autoFocusOnUnmount",Gr={bubbles:!1,cancelable:!0},ra=U((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,u]=T(null),l=ue(o),d=ue(i),c=A(null),p=ke(t,h=>u(h)),f=A({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D(()=>{if(r){let h=function(g){if(f.paused||!s)return;const y=g.target;s.contains(y)?c.current=y:fe(c.current,{select:!0})},v=function(g){if(f.paused||!s)return;const y=g.relatedTarget;y!==null&&(s.contains(y)||fe(c.current,{select:!0}))},_=function(g){if(document.activeElement===document.body)for(const b of g)b.removedNodes.length>0&&fe(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",v);const w=new MutationObserver(_);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",v),w.disconnect()}}},[r,s,f.paused]),D(()=>{if(s){eo.add(f);const h=document.activeElement;if(!s.contains(h)){const _=new CustomEvent(on,Gr);s.addEventListener(on,l),s.dispatchEvent(_),_.defaultPrevented||(oa(la(Jr(s)),{select:!0}),document.activeElement===h&&fe(s))}return()=>{s.removeEventListener(on,l),setTimeout(()=>{const _=new CustomEvent(an,Gr);s.addEventListener(an,d),s.dispatchEvent(_),_.defaultPrevented||fe(h??document.body,{select:!0}),s.removeEventListener(an,d),eo.remove(f)},0)}}},[s,l,d,f]);const m=W(h=>{if(!n&&!r||f.paused)return;const v=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,_=document.activeElement;if(v&&_){const w=h.currentTarget,[g,y]=ia(w);g&&y?!h.shiftKey&&_===y?(h.preventDefault(),n&&fe(g,{select:!0})):h.shiftKey&&_===g&&(h.preventDefault(),n&&fe(y,{select:!0})):_===w&&h.preventDefault()}},[n,r,f.paused]);return k(je.div,z({tabIndex:-1},a,{ref:p,onKeyDown:m}))});function oa(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(fe(r,{select:t}),document.activeElement!==n)return}function ia(e){const t=Jr(e),n=Qr(t,e),r=Qr(t.reverse(),e);return[n,r]}function Jr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Qr(e,t){for(const n of e)if(!aa(n,{upTo:t}))return n}function aa(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function sa(e){return e instanceof HTMLInputElement&&"select"in e}function fe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&sa(e)&&t&&e.select()}}const eo=ca();function ca(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=to(e,t),e.unshift(t)},remove(t){var n;e=to(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function to(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function la(e){return e.filter(t=>t.tagName!=="A")}const Te=globalThis!=null&&globalThis.document?xe:()=>{},ua=zi["useId".toString()]||(()=>{});let fa=0;function da(e){const[t,n]=T(ua());return Te(()=>{e||n(r=>r??String(fa++))},[e]),e||(t?`radix-${t}`:"")}const pa=["top","right","bottom","left"],de=Math.min,X=Math.max,ht=Math.round,vt=Math.floor,pe=e=>({x:e,y:e}),ha={left:"right",right:"left",bottom:"top",top:"bottom"},va={start:"end",end:"start"};function sn(e,t,n){return X(e,de(t,n))}function ie(e,t){return typeof e=="function"?e(t):e}function ae(e){return e.split("-")[0]}function De(e){return e.split("-")[1]}function cn(e){return e==="x"?"y":"x"}function ln(e){return e==="y"?"height":"width"}function Re(e){return["top","bottom"].includes(ae(e))?"y":"x"}function un(e){return cn(Re(e))}function _a(e,t,n){n===void 0&&(n=!1);const r=De(e),o=un(e),i=ln(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=_t(a)),[a,_t(a)]}function ma(e){const t=_t(e);return[fn(e),t,fn(t)]}function fn(e){return e.replace(/start|end/g,t=>va[t])}function wa(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function ga(e,t,n,r){const o=De(e);let i=wa(ae(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(fn)))),i}function _t(e){return e.replace(/left|right|bottom|top/g,t=>ha[t])}function ya(e){return{top:0,right:0,bottom:0,left:0,...e}}function no(e){return typeof e!="number"?ya(e):{top:e,right:e,bottom:e,left:e}}function mt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ro(e,t,n){let{reference:r,floating:o}=e;const i=Re(t),a=un(t),s=ln(a),u=ae(t),l=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(u){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-o.width,y:c};break;default:f={x:r.x,y:r.y}}switch(De(t)){case"start":f[a]-=p*(n&&l?-1:1);break;case"end":f[a]+=p*(n&&l?-1:1);break}return f}const ba=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=ro(l,r,u),p=r,f={},m=0;for(let h=0;h<s.length;h++){const{name:v,fn:_}=s[h],{x:w,y:g,data:y,reset:b}=await _({x:d,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:e,floating:t}});d=w??d,c=g??c,f={...f,[v]:{...f[v],...y}},b&&m<=50&&(m++,typeof b=="object"&&(b.placement&&(p=b.placement),b.rects&&(l=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:d,y:c}=ro(l,p,u)),h=-1)}return{x:d,y:c,placement:p,strategy:o,middlewareData:f}};async function Je(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:f=0}=ie(t,e),m=no(f),v=s[p?c==="floating"?"reference":"floating":c],_=mt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:d,strategy:u})),w=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),y=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},b=mt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:g,strategy:u}):w);return{top:(_.top-b.top+m.top)/y.y,bottom:(b.bottom-_.bottom+m.bottom)/y.y,left:(_.left-b.left+m.left)/y.x,right:(b.right-_.right+m.right)/y.x}}const xa=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:d=0}=ie(e,t)||{};if(l==null)return{};const c=no(d),p={x:n,y:r},f=un(o),m=ln(f),h=await a.getDimensions(l),v=f==="y",_=v?"top":"left",w=v?"bottom":"right",g=v?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[f]-p[f]-i.floating[m],b=p[f]-i.reference[f],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let P=S?S[g]:0;(!P||!await(a.isElement==null?void 0:a.isElement(S)))&&(P=s.floating[g]||i.floating[m]);const $=y/2-b/2,C=P/2-h[m]/2-1,L=de(c[_],C),Y=de(c[w],C),F=L,G=P-h[m]-Y,R=P/2-h[m]/2+$,H=sn(F,R,G),B=!u.arrow&&De(o)!=null&&R!==H&&i.reference[m]/2-(R<F?L:Y)-h[m]/2<0,j=B?R<F?R-F:R-G:0;return{[f]:p[f]+j,data:{[f]:H,centerOffset:R-H-j,...B&&{alignmentOffset:j}},reset:B}}}),$a=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:u,elements:l}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...v}=ie(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=ae(o),w=ae(s)===s,g=await(u.isRTL==null?void 0:u.isRTL(l.floating)),y=p||(w||!h?[_t(s)]:ma(s));!p&&m!=="none"&&y.push(...ga(s,h,m,g));const b=[s,...y],S=await Je(t,v),P=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&P.push(S[_]),c){const F=_a(o,a,g);P.push(S[F[0]],S[F[1]])}if($=[...$,{placement:o,overflows:P}],!P.every(F=>F<=0)){var C,L;const F=(((C=i.flip)==null?void 0:C.index)||0)+1,G=b[F];if(G)return{data:{index:F,overflows:$},reset:{placement:G}};let R=(L=$.filter(H=>H.overflows[0]<=0).sort((H,B)=>H.overflows[1]-B.overflows[1])[0])==null?void 0:L.placement;if(!R)switch(f){case"bestFit":{var Y;const H=(Y=$.map(B=>[B.placement,B.overflows.filter(j=>j>0).reduce((j,_e)=>j+_e,0)]).sort((B,j)=>B[1]-j[1])[0])==null?void 0:Y[0];H&&(R=H);break}case"initialPlacement":R=s;break}if(o!==R)return{reset:{placement:R}}}return{}}}};function oo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function io(e){return pa.some(t=>e[t]>=0)}const ka=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ie(e,t);switch(r){case"referenceHidden":{const i=await Je(t,{...o,elementContext:"reference"}),a=oo(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:io(a)}}}case"escaped":{const i=await Je(t,{...o,altBoundary:!0}),a=oo(i,n.floating);return{data:{escapedOffsets:a,escaped:io(a)}}}default:return{}}}}};async function Ea(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ae(n),s=De(n),u=Re(n)==="y",l=["left","top"].includes(a)?-1:1,d=i&&u?-1:1,c=ie(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof m=="number"&&(f=s==="end"?m*-1:m),u?{x:f*d,y:p*l}:{x:p*l,y:f*d}}const Ca=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,u=await Ea(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},Sa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:v=>{let{x:_,y:w}=v;return{x:_,y:w}}},...u}=ie(e,t),l={x:n,y:r},d=await Je(t,u),c=Re(ae(o)),p=cn(c);let f=l[p],m=l[c];if(i){const v=p==="y"?"top":"left",_=p==="y"?"bottom":"right",w=f+d[v],g=f-d[_];f=sn(w,f,g)}if(a){const v=c==="y"?"top":"left",_=c==="y"?"bottom":"right",w=m+d[v],g=m-d[_];m=sn(w,m,g)}const h=s.fn({...t,[p]:f,[c]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Pa=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=ie(e,t),d={x:n,y:r},c=Re(o),p=cn(c);let f=d[p],m=d[c];const h=ie(s,t),v=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const g=p==="y"?"height":"width",y=i.reference[p]-i.floating[g]+v.mainAxis,b=i.reference[p]+i.reference[g]-v.mainAxis;f<y?f=y:f>b&&(f=b)}if(l){var _,w;const g=p==="y"?"width":"height",y=["top","left"].includes(ae(o)),b=i.reference[c]-i.floating[g]+(y&&((_=a.offset)==null?void 0:_[c])||0)+(y?0:v.crossAxis),S=i.reference[c]+i.reference[g]+(y?0:((w=a.offset)==null?void 0:w[c])||0)-(y?v.crossAxis:0);m<b?m=b:m>S&&(m=S)}return{[p]:f,[c]:m}}}},Aa=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=ie(e,t),u=await Je(t,s),l=ae(n),d=De(n),c=Re(n)==="y",{width:p,height:f}=r.floating;let m,h;l==="top"||l==="bottom"?(m=l,h=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=l,m=d==="end"?"top":"bottom");const v=f-u[m],_=p-u[h],w=!t.middlewareData.shift;let g=v,y=_;if(c){const S=p-u.left-u.right;y=d||w?de(_,S):S}else{const S=f-u.top-u.bottom;g=d||w?de(v,S):S}if(w&&!d){const S=X(u.left,0),P=X(u.right,0),$=X(u.top,0),C=X(u.bottom,0);c?y=p-2*(S!==0||P!==0?S+P:X(u.left,u.right)):g=f-2*($!==0||C!==0?$+C:X(u.top,u.bottom))}await a({...t,availableWidth:y,availableHeight:g});const b=await o.getDimensions(i.floating);return p!==b.width||f!==b.height?{reset:{rects:!0}}:{}}}};function he(e){return ao(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function se(e){var t;return(t=(ao(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ao(e){return e instanceof Node||e instanceof K(e).Node}function ce(e){return e instanceof Element||e instanceof K(e).Element}function J(e){return e instanceof HTMLElement||e instanceof K(e).HTMLElement}function so(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}function Qe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Oa(e){return["table","td","th"].includes(he(e))}function dn(e){const t=pn(),n=Z(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ja(e){let t=Ne(e);for(;J(t)&&!wt(t);){if(dn(t))return t;t=Ne(t)}return null}function pn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wt(e){return["html","body","#document"].includes(he(e))}function Z(e){return K(e).getComputedStyle(e)}function gt(e){return ce(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ne(e){if(he(e)==="html")return e;const t=e.assignedSlot||e.parentNode||so(e)&&e.host||se(e);return so(t)?t.host:t}function co(e){const t=Ne(e);return wt(t)?e.ownerDocument?e.ownerDocument.body:e.body:J(t)&&Qe(t)?t:co(t)}function et(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=co(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=K(o);return i?t.concat(a,a.visualViewport||[],Qe(o)?o:[],a.frameElement&&n?et(a.frameElement):[]):t.concat(o,et(o,[],n))}function lo(e){const t=Z(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=J(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=ht(n)!==i||ht(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function hn(e){return ce(e)?e:e.contextElement}function Le(e){const t=hn(e);if(!J(t))return pe(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=lo(t);let a=(i?ht(n.width):n.width)/r,s=(i?ht(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Ta=pe(0);function uo(e){const t=K(e);return!pn()||!t.visualViewport?Ta:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Da(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==K(e)?!1:t}function Ee(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=hn(e);let a=pe(1);t&&(r?ce(r)&&(a=Le(r)):a=Le(e));const s=Da(i,n,r)?uo(i):pe(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const p=K(i),f=r&&ce(r)?K(r):r;let m=p,h=m.frameElement;for(;h&&r&&f!==m;){const v=Le(h),_=h.getBoundingClientRect(),w=Z(h),g=_.left+(h.clientLeft+parseFloat(w.paddingLeft))*v.x,y=_.top+(h.clientTop+parseFloat(w.paddingTop))*v.y;u*=v.x,l*=v.y,d*=v.x,c*=v.y,u+=g,l+=y,m=K(h),h=m.frameElement}}return mt({width:d,height:c,x:u,y:l})}const Ra=[":popover-open",":modal"];function fo(e){return Ra.some(t=>{try{return e.matches(t)}catch{return!1}})}function Na(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=se(r),s=t?fo(t.floating):!1;if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},l=pe(1);const d=pe(0),c=J(r);if((c||!c&&!i)&&((he(r)!=="body"||Qe(a))&&(u=gt(r)),J(r))){const p=Ee(r);l=Le(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+d.x,y:n.y*l.y-u.scrollTop*l.y+d.y}}function La(e){return Array.from(e.getClientRects())}function po(e){return Ee(se(e)).left+gt(e).scrollLeft}function Fa(e){const t=se(e),n=gt(e),r=e.ownerDocument.body,o=X(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=X(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+po(e);const s=-n.scrollTop;return Z(r).direction==="rtl"&&(a+=X(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Ma(e,t){const n=K(e),r=se(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;const l=pn();(!l||l&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s,y:u}}function Ha(e,t){const n=Ee(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=J(e)?Le(e):pe(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:a,height:s,x:u,y:l}}function ho(e,t,n){let r;if(t==="viewport")r=Ma(e,n);else if(t==="document")r=Fa(se(e));else if(ce(t))r=Ha(t,n);else{const o=uo(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return mt(r)}function vo(e,t){const n=Ne(e);return n===t||!ce(n)||wt(n)?!1:Z(n).position==="fixed"||vo(n,t)}function Wa(e,t){const n=t.get(e);if(n)return n;let r=et(e,[],!1).filter(s=>ce(s)&&he(s)!=="body"),o=null;const i=Z(e).position==="fixed";let a=i?Ne(e):e;for(;ce(a)&&!wt(a);){const s=Z(a),u=dn(a);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Qe(a)&&!u&&vo(e,a))?r=r.filter(d=>d!==a):o=s,a=Ne(a)}return t.set(e,r),r}function Ua(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Wa(t,this._c):[].concat(n),r],s=a[0],u=a.reduce((l,d)=>{const c=ho(t,d,o);return l.top=X(c.top,l.top),l.right=de(c.right,l.right),l.bottom=de(c.bottom,l.bottom),l.left=X(c.left,l.left),l},ho(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function za(e){const{width:t,height:n}=lo(e);return{width:t,height:n}}function Ia(e,t,n){const r=J(t),o=se(t),i=n==="fixed",a=Ee(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=pe(0);if(r||!r&&!i)if((he(t)!=="body"||Qe(o))&&(s=gt(t)),r){const c=Ee(t,!0,i,t);u.x=c.x+t.clientLeft,u.y=c.y+t.clientTop}else o&&(u.x=po(o));const l=a.left+s.scrollLeft-u.x,d=a.top+s.scrollTop-u.y;return{x:l,y:d,width:a.width,height:a.height}}function _o(e,t){return!J(e)||Z(e).position==="fixed"?null:t?t(e):e.offsetParent}function mo(e,t){const n=K(e);if(!J(e)||fo(e))return n;let r=_o(e,t);for(;r&&Oa(r)&&Z(r).position==="static";)r=_o(r,t);return r&&(he(r)==="html"||he(r)==="body"&&Z(r).position==="static"&&!dn(r))?n:r||ja(e)||n}const Ba=async function(e){const t=this.getOffsetParent||mo,n=this.getDimensions,r=await n(e.floating);return{reference:Ia(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Va(e){return Z(e).direction==="rtl"}const Ya={convertOffsetParentRelativeRectToViewportRelativeRect:Na,getDocumentElement:se,getClippingRect:Ua,getOffsetParent:mo,getElementRects:Ba,getClientRects:La,getDimensions:za,getScale:Le,isElement:ce,isRTL:Va};function Xa(e,t){let n=null,r;const o=se(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const{left:l,top:d,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const f=vt(d),m=vt(o.clientWidth-(l+c)),h=vt(o.clientHeight-(d+p)),v=vt(l),w={rootMargin:-f+"px "+-m+"px "+-h+"px "+-v+"px",threshold:X(0,de(1,u))||1};let g=!0;function y(b){const S=b[0].intersectionRatio;if(S!==u){if(!g)return a();S?a(!1,S):r=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{n=new IntersectionObserver(y,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,w)}n.observe(e)}return a(!0),i}function Ka(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,l=hn(e),d=o||i?[...l?et(l):[],...et(t)]:[];d.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=l&&s?Xa(l,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(_=>{let[w]=_;w&&w.target===l&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var g;(g=f)==null||g.observe(t)})),n()}),l&&!u&&f.observe(l),f.observe(t));let m,h=u?Ee(e):null;u&&v();function v(){const _=Ee(e);h&&(_.x!==h.x||_.y!==h.y||_.width!==h.width||_.height!==h.height)&&n(),h=_,m=requestAnimationFrame(v)}return n(),()=>{var _;d.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),c==null||c(),(_=f)==null||_.disconnect(),f=null,u&&cancelAnimationFrame(m)}}const qa=Ca,Za=Sa,Ga=$a,Ja=Aa,Qa=ka,wo=xa,es=Pa,ts=(e,t,n)=>{const r=new Map,o={platform:Ya,...n},i={...o.platform,_c:r};return ba(e,t,{...o,platform:i})},ns=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?wo({element:r.current,padding:o}).fn(n):{}:r?wo({element:r,padding:o}).fn(n):{}}}};var yt=typeof document<"u"?xe:D;function bt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!bt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!bt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function go(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function yo(e,t){const n=go(e);return Math.round(t*n)/n}function bo(e){const t=A(e);return yt(()=>{t.current=e}),t}function rs(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=e,[d,c]=T({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=T(r);bt(p,r)||f(r);const[m,h]=T(null),[v,_]=T(null),w=W(j=>{j!==S.current&&(S.current=j,h(j))},[]),g=W(j=>{j!==P.current&&(P.current=j,_(j))},[]),y=i||m,b=a||v,S=A(null),P=A(null),$=A(d),C=u!=null,L=bo(u),Y=bo(o),F=W(()=>{if(!S.current||!P.current)return;const j={placement:t,strategy:n,middleware:p};Y.current&&(j.platform=Y.current),ts(S.current,P.current,j).then(_e=>{const le={..._e,isPositioned:!0};G.current&&!bt($.current,le)&&($.current=le,Ge(()=>{c(le)}))})},[p,t,n,Y]);yt(()=>{l===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(j=>({...j,isPositioned:!1})))},[l]);const G=A(!1);yt(()=>(G.current=!0,()=>{G.current=!1}),[]),yt(()=>{if(y&&(S.current=y),b&&(P.current=b),y&&b){if(L.current)return L.current(y,b,F);F()}},[y,b,F,L,C]);const R=V(()=>({reference:S,floating:P,setReference:w,setFloating:g}),[w,g]),H=V(()=>({reference:y,floating:b}),[y,b]),B=V(()=>{const j={position:n,left:0,top:0};if(!H.floating)return j;const _e=yo(H.floating,d.x),le=yo(H.floating,d.y);return s?{...j,transform:"translate("+_e+"px, "+le+"px)",...go(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_e,top:le}},[n,s,H.floating,d.x,d.y]);return V(()=>({...d,update:F,refs:R,elements:H,floatingStyles:B}),[d,F,R,H,B])}function os(e){const[t,n]=T(void 0);return Te(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const xo="Popper",[$o,ko]=Yr(xo),[is,Eo]=$o(xo),as=e=>{const{__scopePopper:t,children:n}=e,[r,o]=T(null);return k(is,{scope:t,anchor:r,onAnchorChange:o},n)},ss="PopperAnchor",cs=U((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Eo(ss,n),a=A(null),s=ke(t,a);return D(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:k(je.div,z({},o,{ref:s}))}),Co="PopperContent",[ls,ol]=$o(Co),us=U((e,t)=>{var n,r,o,i,a,s,u,l;const{__scopePopper:d,side:c="bottom",sideOffset:p=0,align:f="center",alignOffset:m=0,arrowPadding:h=0,avoidCollisions:v=!0,collisionBoundary:_=[],collisionPadding:w=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:S,...P}=e,$=Eo(Co,d),[C,L]=T(null),Y=ke(t,ot=>L(ot)),[F,G]=T(null),R=os(F),H=(n=R==null?void 0:R.width)!==null&&n!==void 0?n:0,B=(r=R==null?void 0:R.height)!==null&&r!==void 0?r:0,j=c+(f!=="center"?"-"+f:""),_e=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},le=Array.isArray(_)?_:[_],Bc=le.length>0,Nt={padding:_e,boundary:le.filter(fs),altBoundary:Bc},{refs:Vc,floatingStyles:oi,placement:Yc,isPositioned:Lt,middlewareData:Be}=rs({strategy:"fixed",placement:j,whileElementsMounted:(...ot)=>Ka(...ot,{animationFrame:b==="always"}),elements:{reference:$.anchor},middleware:[qa({mainAxis:p+B,alignmentAxis:m}),v&&Za({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?es():void 0,...Nt}),v&&Ga({...Nt}),Ja({...Nt,apply:({elements:ot,rects:ai,availableWidth:Qc,availableHeight:el})=>{const{width:tl,height:nl}=ai.reference,Mt=ot.floating.style;Mt.setProperty("--radix-popper-available-width",`${Qc}px`),Mt.setProperty("--radix-popper-available-height",`${el}px`),Mt.setProperty("--radix-popper-anchor-width",`${tl}px`),Mt.setProperty("--radix-popper-anchor-height",`${nl}px`)}}),F&&ns({element:F,padding:h}),ds({arrowWidth:H,arrowHeight:B}),y&&Qa({strategy:"referenceHidden",...Nt})]}),[ii,Xc]=So(Yc),Ft=ue(S);Te(()=>{Lt&&(Ft==null||Ft())},[Lt,Ft]);const Kc=(o=Be.arrow)===null||o===void 0?void 0:o.x,qc=(i=Be.arrow)===null||i===void 0?void 0:i.y,Zc=((a=Be.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Gc,Jc]=T();return Te(()=>{C&&Jc(window.getComputedStyle(C).zIndex)},[C]),k("div",{ref:Vc.setFloating,"data-radix-popper-content-wrapper":"",style:{...oi,transform:Lt?oi.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Gc,"--radix-popper-transform-origin":[(s=Be.transformOrigin)===null||s===void 0?void 0:s.x,(u=Be.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},k(ls,{scope:d,placedSide:ii,onArrowChange:G,arrowX:Kc,arrowY:qc,shouldHideArrow:Zc},k(je.div,z({"data-side":ii,"data-align":Xc},P,{ref:Y,style:{...P.style,animation:Lt?void 0:"none",opacity:(l=Be.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))});function fs(e){return e!==null}const ds=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:u,middlewareData:l}=t,c=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[m,h]=So(s),v={start:"0%",center:"50%",end:"100%"}[h],_=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,w=((i=(a=l.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let g="",y="";return m==="bottom"?(g=c?v:`${_}px`,y=`${-f}px`):m==="top"?(g=c?v:`${_}px`,y=`${u.floating.height+f}px`):m==="right"?(g=`${-f}px`,y=c?v:`${w}px`):m==="left"&&(g=`${u.floating.width+f}px`,y=c?v:`${w}px`),{data:{x:g,y}}}});function So(e){const[t,n="center"]=e.split("-");return[t,n]}const ps=as,hs=cs,vs=us,_s=U((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Br.createPortal(k(je.div,z({},o,{ref:t})),r):null});function ms(e,t){return ut((n,r)=>{const o=t[n][r];return o??n},e)}const vn=e=>{const{present:t,children:n}=e,r=ws(t),o=typeof n=="function"?n({present:r.isPresent}):re.only(n),i=ke(r.ref,o.ref);return typeof n=="function"||r.isPresent?Oe(o,{ref:i}):null};vn.displayName="Presence";function ws(e){const[t,n]=T(),r=A({}),o=A(e),i=A("none"),a=e?"mounted":"unmounted",[s,u]=ms(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D(()=>{const l=xt(r.current);i.current=s==="mounted"?l:"none"},[s]),Te(()=>{const l=r.current,d=o.current;if(d!==e){const p=i.current,f=xt(l);e?u("MOUNT"):f==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Te(()=>{if(t){const l=c=>{const f=xt(r.current).includes(c.animationName);c.target===t&&f&&Ge(()=>u("ANIMATION_END"))},d=c=>{c.target===t&&(i.current=xt(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:W(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function xt(e){return(e==null?void 0:e.animationName)||"none"}function gs({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=ys({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=ue(n),u=W(l=>{if(i){const c=typeof l=="function"?l(e):l;c!==e&&s(c)}else o(l)},[i,e,o,s]);return[a,u]}function ys({defaultProp:e,onChange:t}){const n=T(e),[r]=n,o=A(r),i=ue(t);return D(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var bs=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Fe=new WeakMap,$t=new WeakMap,kt={},_n=0,Po=function(e){return e&&(e.host||Po(e.parentNode))},xs=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Po(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},$s=function(e,t,n,r){var o=xs(t,Array.isArray(e)?e:[e]);kt[n]||(kt[n]=new WeakMap);var i=kt[n],a=[],s=new Set,u=new Set(o),l=function(c){!c||s.has(c)||(s.add(c),l(c.parentNode))};o.forEach(l);var d=function(c){!c||u.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))d(p);else{var f=p.getAttribute(r),m=f!==null&&f!=="false",h=(Fe.get(p)||0)+1,v=(i.get(p)||0)+1;Fe.set(p,h),i.set(p,v),a.push(p),h===1&&m&&$t.set(p,!0),v===1&&p.setAttribute(n,"true"),m||p.setAttribute(r,"true")}})};return d(t),s.clear(),_n++,function(){a.forEach(function(c){var p=Fe.get(c)-1,f=i.get(c)-1;Fe.set(c,p),i.set(c,f),p||($t.has(c)||c.removeAttribute(r),$t.delete(c)),f||c.removeAttribute(n)}),_n--,_n||(Fe=new WeakMap,Fe=new WeakMap,$t=new WeakMap,kt={})}},ks=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||bs(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),$s(r,o,n,"aria-hidden")):function(){return null}},Q=function(){return Q=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Q.apply(this,arguments)};function Ao(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Es(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Et="right-scroll-bar-position",Ct="width-before-scroll-bar",Cs="with-scroll-bars-hidden",Ss="--removed-body-scroll-bar-size";function Ps(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function As(e,t){var n=T(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function Os(e,t){return As(t||null,function(n){return e.forEach(function(r){return Ps(r,n)})})}function js(e){return e}function Ts(e,t){t===void 0&&(t=js);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var u=function(){var d=a;a=[],d.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(d){a.push(d),l()},filter:function(d){return a=a.filter(d),n}}}};return o}function Ds(e){e===void 0&&(e={});var t=Ts(null);return t.options=Q({async:!0,ssr:!1},e),t}var Oo=function(e){var t=e.sideCar,n=Ao(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return k(r,Q({},n))};Oo.isSideCarExport=!0;function Rs(e,t){return e.useMedium(t),Oo}var jo=Ds(),mn=function(){},St=U(function(e,t){var n=A(null),r=T({onScrollCapture:mn,onWheelCapture:mn,onTouchMoveCapture:mn}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,d=e.enabled,c=e.shards,p=e.sideCar,f=e.noIsolation,m=e.inert,h=e.allowPinchZoom,v=e.as,_=v===void 0?"div":v,w=Ao(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),g=p,y=Os([n,t]),b=Q(Q({},w),o);return k(M,null,d&&k(g,{sideCar:jo,removeScrollBar:l,shards:c,noIsolation:f,inert:m,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Oe(re.only(s),Q(Q({},b),{ref:y})):k(_,Q({},b,{className:u,ref:y}),s))});St.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},St.classNames={fullWidth:Ct,zeroRight:Et};var To,Ns=function(){if(To)return To;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ls(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ns();return t&&e.setAttribute("nonce",t),e}function Fs(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ms(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Hs=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ls())&&(Fs(t,n),Ms(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ws=function(){var e=Hs();return function(t,n){D(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Do=function(){var e=Ws(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Us={left:0,top:0,right:0,gap:0},wn=function(e){return parseInt(e||"",10)||0},zs=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[wn(n),wn(r),wn(o)]},Is=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Us;var t=zs(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Bs=Do(),Vs=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
-
.`.concat(
|
|
1
|
+
(function(){"use strict";function li(e,t){if(!e)throw new Error(t)}var ui=e=>e,Ke,x,Nn,Ln,ye,Fn,Mn,Ht,In,Pe={},Un=[],fi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ct=Array.isArray;function ae(e,t){for(var n in t)e[n]=t[n];return e}function Wn(e){var t=e.parentNode;t&&t.removeChild(e)}function $(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?Ke.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 qe(e,a,r,o,null)}function qe(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,__h:null,constructor:void 0,__v:o??++Nn};return o==null&&x.vnode!=null&&x.vnode(i),i}function Hn(){return{current:null}}function H(e){return e.children}function J(e,t){this.props=e,this.context=t}function lt(e,t){if(t==null)return e.__?lt(e.__,e.__.__k.indexOf(e)+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"?lt(e):null}function zn(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 zn(e)}}function zt(e){(!e.__d&&(e.__d=!0)&&ye.push(e)&&!ut.__r++||Fn!==x.debounceRendering)&&((Fn=x.debounceRendering)||Mn)(ut)}function ut(){var e,t,n,r,o,i,a,s,l;for(ye.sort(Ht);e=ye.shift();)e.__d&&(t=ye.length,r=void 0,o=void 0,i=void 0,s=(a=(n=e).__v).__e,(l=n.__P)&&(r=[],o=[],(i=ae({},a)).__v=a.__v+1,Bt(l,a,i,n.__n,l.ownerSVGElement!==void 0,a.__h!=null?[s]:null,r,s??lt(a),a.__h,o),Zn(r,a,o),a.__e!=s&&zn(a)),ye.length>t&&ye.sort(Ht));ut.__r=0}function Bn(e,t,n,r,o,i,a,s,l,u,p){var c,v,h,d,f,_,m,w,g,y,b=0,S=r&&r.__k||Un,j=S.length,E=j,P=t.length;for(n.__k=[],c=0;c<P;c++)(d=n.__k[c]=(d=t[c])==null||typeof d=="boolean"||typeof d=="function"?null:typeof d=="string"||typeof d=="number"||typeof d=="bigint"?qe(null,d,null,null,d):ct(d)?qe(H,{children:d},null,null,null):d.__b>0?qe(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)!=null&&(d.__=n,d.__b=n.__b+1,(w=di(d,S,m=c+b,E))===-1?h=Pe:(h=S[w]||Pe,S[w]=void 0,E--),Bt(e,d,h,o,i,a,s,l,u,p),f=d.__e,(v=d.ref)&&h.ref!=v&&(h.ref&&Vt(h.ref,null,d),p.push(v,d.__c||f,d)),f!=null&&(_==null&&(_=f),y=!(g=h===Pe||h.__v===null)&&w===m,g?w==-1&&b--:w!==m&&(w===m+1?(b++,y=!0):w>m?E>P-m?(b+=w-m,y=!0):b--:b=w<m&&w==m-1?w-m:0),m=c+b,y=y||w==c&&!g,typeof d.type!="function"||w===m&&h.__k!==d.__k?typeof d.type=="function"||y?d.__d!==void 0?(l=d.__d,d.__d=void 0):l=f.nextSibling:l=Yn(e,f,l):l=Vn(d,l,e),typeof n.type=="function"&&(n.__d=l)));for(n.__e=_,c=j;c--;)S[c]!=null&&(typeof n.type=="function"&&S[c].__e!=null&&S[c].__e==n.__d&&(n.__d=S[c].__e.nextSibling),Gn(S[c],S[c]))}function Vn(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t=typeof r.type=="function"?Vn(r,t,n):Yn(n,r.__e,t));return t}function se(e,t){return t=t||[],e==null||typeof e=="boolean"||(ct(e)?e.some(function(n){se(n,t)}):t.push(e)),t}function Yn(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function di(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)return n;if(r>(l!=null?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&o==l.key&&i===l.type)return s;s++}}return-1}function pi(e,t,n,r,o){var i;for(i in n)i==="children"||i==="key"||i in t||ft(e,i,null,n[i],r);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||n[i]===t[i]||ft(e,i,t[i],n[i],r)}function Xn(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||fi.test(t)?n:n+"px"}function ft(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||Xn(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Xn(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?qn:Kn,i):e.removeEventListener(t,i?qn:Kn,i);else if(t!=="dangerouslySetInnerHTML"){if(o)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 in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Kn(e){return this.l[e.type+!1](x.event?x.event(e):e)}function qn(e){return this.l[e.type+!0](x.event?x.event(e):e)}function Bt(e,t,n,r,o,i,a,s,l,u){var p,c,v,h,d,f,_,m,w,g,y,b,S,j,E,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(p=x.__b)&&p(t);try{e:if(typeof P=="function"){if(m=t.props,w=(p=P.contextType)&&r[p.__c],g=p?w?w.props.value:p.__:r,n.__c?_=(c=t.__c=n.__c).__=c.__E:("prototype"in P&&P.prototype.render?t.__c=c=new P(m,g):(t.__c=c=new J(m,g),c.constructor=P,c.render=vi),w&&w.sub(c),c.props=m,c.state||(c.state={}),c.context=g,c.__n=r,v=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),P.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ae({},c.__s)),ae(c.__s,P.getDerivedStateFromProps(m,c.__s))),h=c.props,d=c.state,c.__v=t,v)P.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(P.getDerivedStateFromProps==null&&m!==h&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(m,g),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(m,c.__s,g)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=m,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(m,c.__s,g),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(h,d,f)})}if(c.context=g,c.props=m,c.__P=e,c.__e=!1,b=x.__r,S=0,"prototype"in P&&P.prototype.render){for(c.state=c.__s,c.__d=!1,b&&b(t),p=c.render(c.props,c.state,c.context),j=0;j<c._sb.length;j++)c.__h.push(c._sb[j]);c._sb=[]}else do c.__d=!1,b&&b(t),p=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++S<25);c.state=c.__s,c.getChildContext!=null&&(r=ae(ae({},r),c.getChildContext())),v||c.getSnapshotBeforeUpdate==null||(f=c.getSnapshotBeforeUpdate(h,d)),Bn(e,ct(E=p!=null&&p.type===H&&p.key==null?p.props.children:p)?E:[E],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__h=null,c.__h.length&&a.push(c),_&&(c.__E=c.__=null)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=hi(n.__e,t,n,r,o,i,a,l,u);(p=x.diffed)&&p(t)}catch(D){t.__v=null,(l||i!=null)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),x.__e(D,t,n)}}function Zn(e,t,n){for(var r=0;r<n.length;r++)Vt(n[r],n[++r],n[++r]);x.__c&&x.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){x.__e(i,o.__v)}})}function hi(e,t,n,r,o,i,a,s,l){var u,p,c,v=n.props,h=t.props,d=t.type,f=0;if(d==="svg"&&(o=!0),i!=null){for(;f<i.length;f++)if((u=i[f])&&"setAttribute"in u==!!d&&(d?u.localName===d:u.nodeType===3)){e=u,i[f]=null;break}}if(e==null){if(d===null)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),i=null,s=!1}if(d===null)v===h||s&&e.data===h||(e.data=h);else{if(i=i&&Ke.call(e.childNodes),p=(v=n.props||Pe).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!s){if(i!=null)for(v={},f=0;f<e.attributes.length;f++)v[e.attributes[f].name]=e.attributes[f].value;(c||p)&&(c&&(p&&c.__html==p.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(pi(e,h,v,o,s),c)t.__k=[];else if(Bn(e,ct(f=t.props.children)?f:[f],t,n,r,o&&d!=="foreignObject",i,a,i?i[0]:n.__k&<(n,0),s,l),i!=null)for(f=i.length;f--;)i[f]!=null&&Wn(i[f]);s||("value"in h&&(f=h.value)!==void 0&&(f!==e.value||d==="progress"&&!f||d==="option"&&f!==v.value)&&ft(e,"value",f,v.value,!1),"checked"in h&&(f=h.checked)!==void 0&&f!==e.checked&&ft(e,"checked",f,v.checked,!1))}return e}function Vt(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){x.__e(r,n)}}function Gn(e,t,n){var r,o;if(x.unmount&&x.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Vt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){x.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Gn(r[o],t,n||typeof e.type!="function");n||e.__e==null||Wn(e.__e),e.__=e.__e=e.__d=void 0}function vi(e,t,n){return this.constructor(e,n)}function Ae(e,t,n){var r,o,i,a;x.__&&x.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Bt(t,e=(!r&&n||t).__k=$(H,null,[e]),o||Pe,Pe,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?Ke.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Zn(i,e,a)}function Yt(e,t){Ae(e,t,Yt)}function _i(e,t,n){var r,o,i,a,s=ae({},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?Ke.call(arguments,2):n),qe(e.type,s,r||e.key,o||e.ref,null)}function Ze(e,t){var n={__c:t="__cC"+In++,__: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.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,zt(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Ke=Un.slice,x={__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}},Nn=0,Ln=function(e){return e!=null&&e.constructor===void 0},J.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ae({},this.state),typeof e=="function"&&(e=e(ae({},n),this.props)),e&&ae(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),zt(this))},J.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zt(this))},J.prototype.render=H,ye=[],Mn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ht=function(e,t){return e.__v.__b-t.__v.__b},ut.__r=0,In=0;var Qn=/[\s\n\\/='"\0<>]/,Jn=/^(xlink|xmlns|xml)([A-Z])/,mi=/^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]/,wi=/^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/,gi=/["&<]/;function dt(e){if(e.length===0||gi.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 er={},yi=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"]),bi=/[A-Z]/g;function xi(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:er[n]||(er[n]=n.replace(bi,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||yi.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Xt,be,Ge,Qe,tr=[],nr=Array.isArray,Kt=Object.assign;function $i(e,t,n){var r=x.__s;x.__s=!0,Xt=x.__b,be=x.diffed,Ge=x.__r,Qe=x.unmount;var o=$(H,null);o.__k=[e];try{var i=ne(e,t||or,!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{x.__c&&x.__c(e,tr),x.__s=r,tr.length=0}}function rr(){this.__d=!0}var or={};function ir(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=or),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Kt({},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(),Ge&&Ge(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"?"":dt(e+"");if(nr(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var p=e[u];if(p!=null&&typeof p!="boolean"){var c,v=ne(p,t,n,r,o,i,a);typeof v=="string"?l+=v:(s=s||[],l&&s.push(l),l="",Array.isArray(v)?(c=s).push.apply(c,v):s.push(v))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,Xt&&Xt(e);var h,d,f,_=e.type,m=e.props,w=t;if(typeof _=="function"){if(_===H){if(m.tpl){for(var g="",y=0;y<m.tpl.length;y++)if(g+=m.tpl[y],m.exprs&&y<m.exprs.length){var b=m.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!nr(b)?g+=b:g+=ne(b,t,n,r,e,i,a)}return g}if(m.UNSTABLE_comment)return"<!--"+dt(m.UNSTABLE_comment||"")+"-->";d=m.children}else{if((h=_.contextType)!=null){var S=t[h.__c];w=S?S.props.value:h.__}if(_.prototype&&typeof _.prototype.render=="function")d=ir(e,w),f=e.__c;else{e.__c=f={__v:e,props:m,context:w,setState:rr,forceUpdate:rr,__d:!0,__h:[]};for(var j=0;f.__d&&j++<25;)f.__d=!1,Ge&&Ge(e),d=_.call(f,m,w);f.__d=!0}if(f.getChildContext!=null&&(t=Kt({},t,f.getChildContext())),(_.getDerivedStateFromError||f.componentDidCatch)&&x.errorBoundaries){var E="";d=d!=null&&d.type===H&&d.key==null?d.props.children:d;try{return E=ne(d,t,n,r,e,i,a)}catch(Z){return _.getDerivedStateFromError&&(f.__s=_.getDerivedStateFromError(Z)),f.componentDidCatch&&f.componentDidCatch(Z,{}),f.__d&&(d=ir(e,t),(f=e.__c).getChildContext!=null&&(t=Kt({},t,f.getChildContext())),E=ne(d=d!=null&&d.type===H&&d.key==null?d.props.children:d,t,n,r,e,i,a)),E}finally{be&&be(e),e.__=null,Qe&&Qe(e)}}}d=d!=null&&d.type===H&&d.key==null&&d.props.tpl==null?d.props.children:d;try{var P=ne(d,t,n,r,e,i,a);return be&&be(e),e.__=null,x.unmount&&x.unmount(e),P}catch(Z){if(!i&&a&&a.onError){var D=a.onError(Z,e,function(ge){return ne(ge,t,n,r,e,i,a)});if(D!==void 0)return D;var U=x.__e;return U&&U(Z,e),""}if(!i||!Z||typeof Z.then!="function")throw Z;var z=function ge(){try{return ne(d,t,n,r,e,i,a)}catch(Ye){if(!Ye||typeof Ye.then!="function")throw Ye;return Ye.then(function(){return ne(d,t,n,r,e,i,a)},function(){return ge()})}};return Z.then(function(){return z()})}}var W,O="<"+_,N="";for(var A in m){var C=m[A];switch(A){case"children":W=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in m)continue;A="for";break;case"className":if("class"in m)continue;A="class";break;case"defaultChecked":A="checked";break;case"defaultSelected":A="selected";break;case"defaultValue":case"value":switch(A="value",_){case"textarea":W=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in m||(O+=" selected")}break;case"dangerouslySetInnerHTML":N=C&&C.__html;continue;case"style":typeof C=="object"&&(C=xi(C));break;case"acceptCharset":A="accept-charset";break;case"httpEquiv":A="http-equiv";break;default:if(Jn.test(A))A=A.replace(Jn,"$1:$2").toLowerCase();else{if(Qn.test(A))continue;A[4]!=="-"&&A!=="draggable"||C==null?n?wi.test(A)&&(A=A==="panose1"?"panose-1":A.replace(/([A-Z])/g,"-$1").toLowerCase()):mi.test(A)&&(A=A.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(O=C===!0||C===""?O+" "+A:O+" "+A+'="'+dt(C+"")+'"')}if(Qn.test(_))throw new Error(_+" is not a valid HTML tag name in "+O+">");if(N||(typeof W=="string"?N=dt(W):W!=null&&W!==!1&&W!==!0&&(N=ne(W,t,_==="svg"||_!=="foreignObject"&&n,r,e,i,a))),be&&be(e),e.__=null,Qe&&Qe(e),!N&&ki.has(_))return O+"/>";var B="</"+_+">",I=O+">";return Array.isArray(N)?[I].concat(N,[B]):typeof N!="string"?[I,N,B]:I+N+B}var ki=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ei=0;function k(e,t,n,r,o,i){var a,s,l={};for(s in 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,__h:null,constructor:void 0,__v:--Ei,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return x.vnode&&x.vnode(u),u}const Si={bell:k("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:k("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":k("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},Ci=({theme:e})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:k("defs",{children:Object.entries(Si).map(([t,n])=>k("symbol",{id:`i-icon-${t}`,children:k("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),ar=({name:e,...t})=>k("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:k("use",{href:`#i-icon-${e}`})});function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}var ce,R,qt,sr,je=0,cr=[],pt=[],lr=x.__b,ur=x.__r,fr=x.diffed,dr=x.__c,pr=x.unmount;function xe(e,t){x.__h&&x.__h(R,e,je||t),je=0;var n=R.__H||(R.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:pt}),n.__[e]}function L(e){return je=1,ht(wr,e)}function ht(e,t,n){var r=xe(ce++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):wr(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=R,!R.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(v){return v.__c});if(p.every(function(v){return!v.__N}))return!i||i.call(this,s,l,u);var c=!1;return p.forEach(function(v){if(v.__N){var h=v.__[0];v.__=v.__N,v.__N=void 0,h!==v.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};R.u=!0;var i=R.shouldComponentUpdate,a=R.componentWillUpdate;R.componentWillUpdate=function(s,l,u){if(this.__e){var p=i;i=void 0,o(s,l,u),i=p}a&&a.call(this,s,l,u)},R.shouldComponentUpdate=o}return r.__N||r.__}function F(e,t){var n=xe(ce++,3);!x.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,R.__H.__h.push(n))}function $e(e,t){var n=xe(ce++,4);!x.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,R.__h.push(n))}function T(e){return je=5,q(function(){return{current:e}},[])}function hr(e,t,n){je=6,$e(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 q(e,t){var n=xe(ce++,7);return Gt(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function V(e,t){return je=8,q(function(){return e},t)}function vt(e){var t=R.context[e.__c],n=xe(ce++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(R)),t.props.value):e.__}function vr(e,t){x.useDebugValue&&x.useDebugValue(t?t(e):e)}function Pi(e){var t=xe(ce++,10),n=L();return t.__=e,R.componentDidCatch||(R.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function _r(){var e=xe(ce++,11);if(!e.__){for(var t=R.__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 Ai(){for(var e;e=cr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_t),e.__H.__h.forEach(Zt),e.__H.__h=[]}catch(t){e.__H.__h=[],x.__e(t,e.__v)}}x.__b=function(e){R=null,lr&&lr(e)},x.__r=function(e){ur&&ur(e),ce=0;var t=(R=e.__c).__H;t&&(qt===R?(t.__h=[],R.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=pt,n.__N=n.i=void 0})):(t.__h.forEach(_t),t.__h.forEach(Zt),t.__h=[],ce=0)),qt=R},x.diffed=function(e){fr&&fr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(cr.push(t)!==1&&sr===x.requestAnimationFrame||((sr=x.requestAnimationFrame)||ji)(Ai)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==pt&&(n.__=n.__V),n.i=void 0,n.__V=pt})),qt=R=null},x.__c=function(e,t){t.some(function(n){try{n.__h.forEach(_t),n.__h=n.__h.filter(function(r){return!r.__||Zt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],x.__e(r,n.__v)}}),dr&&dr(e,t)},x.unmount=function(e){pr&&pr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{_t(r)}catch(o){t=o}}),n.__H=void 0,t&&x.__e(t,n.__v))};var mr=typeof requestAnimationFrame=="function";function ji(e){var t,n=function(){clearTimeout(r),mr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);mr&&(t=requestAnimationFrame(n))}function _t(e){var t=R,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),R=t}function Zt(e){var t=R;e.__c=e.__(),R=t}function Gt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function wr(e,t){return typeof t=="function"?t(e):t}function gr(e,t){for(var n in t)e[n]=t[n];return e}function Qt(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 Jt(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function mt(e){this.props=e}function yr(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:Qt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,$(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(mt.prototype=new J).isPureReactComponent=!0,mt.prototype.shouldComponentUpdate=function(e,t){return Qt(this.props,e)||Qt(this.state,t)};var br=x.__b;x.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),br&&br(e)};var Oi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Y(e){function t(n){var r=gr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Oi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var xr=function(e,t){return e==null?null:se(se(e).map(t))},le={map:xr,forEach:xr,count:function(e){return e?se(e).length:0},only:function(e){var t=se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:se},Ti=x.__e;x.__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)}Ti(e,t,n,r)};var $r=x.unmount;function kr(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=gr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return kr(r,t,n)})),e}function Er(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Er(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Je(){this.__u=0,this.t=null,this.__b=null}function Sr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cr(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 $(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Oe(){this.u=null,this.o=null}x.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),$r&&$r(e)},(Je.prototype=new J).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Sr(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Er(u,u.__c.__P,u.__c.__O)}var p;for(r.setState({__a:r.__b=null});p=r.t.pop();)p.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Je.prototype.componentWillUnmount=function(){this.t=[]},Je.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]=kr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&$(H,null,e.fallback);return o&&(o.__h=null),[$(H,null,t.__a?null:e.children),o]};var Pr=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 Di(e){return this.getChildContext=function(){return e.context},e.children}function Ri(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ae(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],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)}}),Ae($(Di,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ar(e,t){var n=$(Ri,{__v:e,i:t});return n.containerInfo=t,n}(Oe.prototype=new J).__a=function(e){var t=this,n=Sr(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Pr(t,e,r)):o()};n?n(i):i()}},Oe.prototype.render=function(e){this.u=null,this.o=new Map;var t=se(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},Oe.prototype.componentDidUpdate=Oe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Pr(e,n,t)})};var jr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ni=/^(?: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]/,Li=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fi=/[A-Z0-9]/g,Mi=typeof document<"u",Ii=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Or(e,t,n){return t.__k==null&&(t.textContent=""),Ae(e,t),typeof n=="function"&&n(),e?e.__c:null}function Tr(e,t,n){return Yt(e,t),typeof n=="function"&&n(),e?e.__c:null}J.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(J.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Dr=x.event;function Ui(){}function Wi(){return this.cancelBubble}function Hi(){return this.defaultPrevented}x.event=function(e){return Dr&&(e=Dr(e)),e.persist=Ui,e.isPropagationStopped=Wi,e.isDefaultPrevented=Hi,e.nativeEvent=e};var en,zi={enumerable:!1,configurable:!0,get:function(){return this.class}},Rr=x.vnode;x.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||Mi&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Ii(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Li.test(i)?i=s:r.indexOf("-")===-1&&Ni.test(i)?i=i.replace(Fi,"-$&").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=se(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=se(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",zi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=jr,Rr&&Rr(e)};var Nr=x.__r;x.__r=function(e){Nr&&Nr(e),en=e.__c};var Lr=x.diffed;x.diffed=function(e){Lr&&Lr(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),en=null};var Fr={ReactCurrentDispatcher:{current:{readContext:function(e){return en.__n[e.__c].props.value}}}},Bi="17.0.2";function Mr(e){return $.bind(null,e)}function ke(e){return!!e&&e.$$typeof===jr}function Te(e){return ke(e)?_i.apply(null,arguments):e}function Ir(e){return!!e.__k&&(Ae(null,e),!0)}function Ur(e){return e&&(e.base||e.nodeType===1&&e)||null}var Wr=function(e,t){return e(t)},et=function(e,t){return e(t)},Hr=H;function tn(e){e()}function zr(e){return e}function Br(){return[!1,tn]}var Vr=$e;function Yr(e,t){var n=t(),r=L({h:{__:n,v:t}}),o=r[0].h,i=r[1];return $e(function(){o.__=n,o.v=t,Jt(o.__,t())||i({h:o})},[e,n,t]),F(function(){return Jt(o.__,o.v())||i({h:o}),e(function(){Jt(o.__,o.v())||i({h:o})})},[e]),n}var Xr={useState:L,useId:_r,useReducer:ht,useEffect:F,useLayoutEffect:$e,useInsertionEffect:Vr,useTransition:Br,useDeferredValue:zr,useSyncExternalStore:Yr,startTransition:tn,useRef:T,useImperativeHandle:hr,useMemo:q,useCallback:V,useContext:vt,useDebugValue:vr,version:"17.0.2",Children:le,render:Or,hydrate:Tr,unmountComponentAtNode:Ir,createPortal:Ar,createElement:$,createContext:Ze,createFactory:Mr,cloneElement:Te,createRef:Hn,Fragment:H,isValidElement:ke,findDOMNode:Ur,Component:J,PureComponent:mt,memo:yr,forwardRef:Y,flushSync:et,unstable_batchedUpdates:Wr,StrictMode:Hr,Suspense:Je,SuspenseList:Oe,lazy:Cr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fr};const Vi=Object.freeze(Object.defineProperty({__proto__:null,Children:le,Component:J,Fragment:H,PureComponent:mt,StrictMode:Hr,Suspense:Je,SuspenseList:Oe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fr,cloneElement:Te,createContext:Ze,createElement:$,createFactory:Mr,createPortal:Ar,createRef:Hn,default:Xr,findDOMNode:Ur,flushSync:et,forwardRef:Y,hydrate:Tr,isValidElement:ke,lazy:Cr,memo:yr,render:Or,startTransition:tn,unmountComponentAtNode:Ir,unstable_batchedUpdates:Wr,useCallback:V,useContext:vt,useDebugValue:vr,useDeferredValue:zr,useEffect:F,useErrorBoundary:Pi,useId:_r,useImperativeHandle:hr,useInsertionEffect:Vr,useLayoutEffect:$e,useMemo:q,useReducer:ht,useRef:T,useState:L,useSyncExternalStore:Yr,useTransition:Br,version:Bi},Symbol.toStringTag,{value:"Module"}));function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Yi(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Kr(...e){return t=>e.forEach(n=>Yi(n,t))}function Se(...e){return V(Kr(...e),e)}function qr(e,t=[]){let n=[];function r(i,a){const s=Ze(a),l=n.length;n=[...n,a];function u(c){const{scope:v,children:h,...d}=c,f=(v==null?void 0:v[e][l])||s,_=q(()=>d,Object.values(d));return $(f.Provider,{value:_},h)}function p(c,v){const h=(v==null?void 0:v[e][l])||s,d=vt(h);if(d)return d;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,p]}const o=()=>{const i=n.map(a=>Ze(a));return function(s){const l=(s==null?void 0:s[e])||i;return q(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Xi(o,...t)]}function Xi(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...s,...c}},{});return q(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const nn=Y((e,t)=>{const{children:n,...r}=e,o=le.toArray(n),i=o.find(qi);if(i){const a=i.props.children,s=o.map(l=>l===i?le.count(a)>1?le.only(null):ke(a)?a.props.children:null:l);return $(rn,X({},r,{ref:t}),ke(a)?Te(a,void 0,s):null)}return $(rn,X({},r,{ref:t}),n)});nn.displayName="Slot";const rn=Y((e,t)=>{const{children:n,...r}=e;return ke(n)?Te(n,{...Zi(r,n.props),ref:t?Kr(t,n.ref):n.ref}):le.count(n)>1?le.only(null):null});rn.displayName="SlotClone";const Ki=({children:e})=>$(H,null,e);function qi(e){return ke(e)&&e.type===Ki}function Zi(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const De=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=Y((r,o)=>{const{asChild:i,...a}=r,s=i?nn:t;return F(()=>{window[Symbol.for("radix-ui")]=!0},[]),$(s,X({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Gi(e,t){e&&et(()=>e.dispatchEvent(t))}function pe(e){const t=T(e);return F(()=>{t.current=e}),q(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Qi(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e);F(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const on="dismissableLayer.update",Ji="dismissableLayer.pointerDownOutside",ea="dismissableLayer.focusOutside";let Zr;const ta=Ze({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),na=Y((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,p=vt(ta),[c,v]=L(null),h=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,d]=L({}),f=Se(t,E=>v(E)),_=Array.from(p.layers),[m]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=_.indexOf(m),g=c?_.indexOf(c):-1,y=p.layersWithOutsidePointerEventsDisabled.size>0,b=g>=w,S=ra(E=>{const P=E.target,D=[...p.branches].some(U=>U.contains(P));!b||D||(i==null||i(E),s==null||s(E),E.defaultPrevented||l==null||l())},h),j=oa(E=>{const P=E.target;[...p.branches].some(U=>U.contains(P))||(a==null||a(E),s==null||s(E),E.defaultPrevented||l==null||l())},h);return Qi(E=>{g===p.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},h),F(()=>{if(c)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Zr=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(c)),p.layers.add(c),Gr(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Zr)}},[c,h,r,p]),F(()=>()=>{c&&(p.layers.delete(c),p.layersWithOutsidePointerEventsDisabled.delete(c),Gr())},[c,p]),F(()=>{const E=()=>d({});return document.addEventListener(on,E),()=>document.removeEventListener(on,E)},[]),$(De.div,X({},u,{ref:f,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,j.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,S.onPointerDownCapture)}))});function ra(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e),r=T(!1),o=T(()=>{});return F(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){Qr(Ji,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function oa(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e),r=T(!1);return F(()=>{const o=i=>{i.target&&!r.current&&Qr(ea,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Gr(){const e=new CustomEvent(on);document.dispatchEvent(e)}function Qr(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Gi(o,i):o.dispatchEvent(i)}let an=0;function ia(){F(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Jr()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Jr()),an++,()=>{an===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),an--}},[])}function Jr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const sn="focusScope.autoFocusOnMount",cn="focusScope.autoFocusOnUnmount",eo={bubbles:!1,cancelable:!0},aa=Y((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=L(null),u=pe(o),p=pe(i),c=T(null),v=Se(t,f=>l(f)),h=T({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;F(()=>{if(r){let f=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?c.current=y:he(c.current,{select:!0})},_=function(g){if(h.paused||!s)return;const y=g.relatedTarget;y!==null&&(s.contains(y)||he(c.current,{select:!0}))},m=function(g){if(document.activeElement===document.body)for(const b of g)b.removedNodes.length>0&&he(s)};document.addEventListener("focusin",f),document.addEventListener("focusout",_);const w=new MutationObserver(m);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",_),w.disconnect()}}},[r,s,h.paused]),F(()=>{if(s){ro.add(h);const f=document.activeElement;if(!s.contains(f)){const m=new CustomEvent(sn,eo);s.addEventListener(sn,u),s.dispatchEvent(m),m.defaultPrevented||(sa(da(to(s)),{select:!0}),document.activeElement===f&&he(s))}return()=>{s.removeEventListener(sn,u),setTimeout(()=>{const m=new CustomEvent(cn,eo);s.addEventListener(cn,p),s.dispatchEvent(m),m.defaultPrevented||he(f??document.body,{select:!0}),s.removeEventListener(cn,p),ro.remove(h)},0)}}},[s,u,p,h]);const d=V(f=>{if(!n&&!r||h.paused)return;const _=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,m=document.activeElement;if(_&&m){const w=f.currentTarget,[g,y]=ca(w);g&&y?!f.shiftKey&&m===y?(f.preventDefault(),n&&he(g,{select:!0})):f.shiftKey&&m===g&&(f.preventDefault(),n&&he(y,{select:!0})):m===w&&f.preventDefault()}},[n,r,h.paused]);return $(De.div,X({tabIndex:-1},a,{ref:v,onKeyDown:d}))});function sa(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(he(r,{select:t}),document.activeElement!==n)return}function ca(e){const t=to(e),n=no(t,e),r=no(t.reverse(),e);return[n,r]}function to(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function no(e,t){for(const n of e)if(!la(n,{upTo:t}))return n}function la(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ua(e){return e instanceof HTMLInputElement&&"select"in e}function he(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ua(e)&&t&&e.select()}}const ro=fa();function fa(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=oo(e,t),e.unshift(t)},remove(t){var n;e=oo(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function oo(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function da(e){return e.filter(t=>t.tagName!=="A")}const Re=globalThis!=null&&globalThis.document?$e:()=>{},pa=Vi["useId".toString()]||(()=>{});let ha=0;function va(e){const[t,n]=L(pa());return Re(()=>{e||n(r=>r??String(ha++))},[e]),e||(t?`radix-${t}`:"")}const _a=["top","right","bottom","left"],re=Math.min,G=Math.max,wt=Math.round,gt=Math.floor,ve=e=>({x:e,y:e}),ma={left:"right",right:"left",bottom:"top",top:"bottom"},wa={start:"end",end:"start"};function ln(e,t,n){return G(e,re(t,n))}function ue(e,t){return typeof e=="function"?e(t):e}function fe(e){return e.split("-")[0]}function Ne(e){return e.split("-")[1]}function un(e){return e==="x"?"y":"x"}function fn(e){return e==="y"?"height":"width"}function _e(e){return["top","bottom"].includes(fe(e))?"y":"x"}function dn(e){return un(_e(e))}function ga(e,t,n){n===void 0&&(n=!1);const r=Ne(e),o=dn(e),i=fn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=yt(a)),[a,yt(a)]}function ya(e){const t=yt(e);return[pn(e),t,pn(t)]}function pn(e){return e.replace(/start|end/g,t=>wa[t])}function ba(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function xa(e,t,n,r){const o=Ne(e);let i=ba(fe(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(pn)))),i}function yt(e){return e.replace(/left|right|bottom|top/g,t=>ma[t])}function $a(e){return{top:0,right:0,bottom:0,left:0,...e}}function io(e){return typeof e!="number"?$a(e):{top:e,right:e,bottom:e,left:e}}function bt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ao(e,t,n){let{reference:r,floating:o}=e;const i=_e(t),a=dn(t),s=fn(a),l=fe(t),u=i==="y",p=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,v=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:p,y:r.y-o.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:c};break;case"left":h={x:r.x-o.width,y:c};break;default:h={x:r.x,y:r.y}}switch(Ne(t)){case"start":h[a]-=v*(n&&u?-1:1);break;case"end":h[a]+=v*(n&&u?-1:1);break}return h}const ka=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:c}=ao(u,r,l),v=r,h={},d=0;for(let f=0;f<s.length;f++){const{name:_,fn:m}=s[f],{x:w,y:g,data:y,reset:b}=await m({x:p,y:c,initialPlacement:r,placement:v,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});p=w??p,c=g??c,h={...h,[_]:{...h[_],...y}},b&&d<=50&&(d++,typeof b=="object"&&(b.placement&&(v=b.placement),b.rects&&(u=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:p,y:c}=ao(u,v,l)),f=-1)}return{x:p,y:c,placement:v,strategy:o,middlewareData:h}};async function tt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:c="floating",altBoundary:v=!1,padding:h=0}=ue(t,e),d=io(h),_=s[v?c==="floating"?"reference":"floating":c],m=bt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(_)))==null||n?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:p,strategy:l})),w=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),y=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},b=bt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:g,strategy:l}):w);return{top:(m.top-b.top+d.top)/y.y,bottom:(b.bottom-m.bottom+d.bottom)/y.y,left:(m.left-b.left+d.left)/y.x,right:(b.right-m.right+d.right)/y.x}}const Ea=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:p=0}=ue(e,t)||{};if(u==null)return{};const c=io(p),v={x:n,y:r},h=dn(o),d=fn(h),f=await a.getDimensions(u),_=h==="y",m=_?"top":"left",w=_?"bottom":"right",g=_?"clientHeight":"clientWidth",y=i.reference[d]+i.reference[h]-v[h]-i.floating[d],b=v[h]-i.reference[h],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let j=S?S[g]:0;(!j||!await(a.isElement==null?void 0:a.isElement(S)))&&(j=s.floating[g]||i.floating[d]);const E=y/2-b/2,P=j/2-f[d]/2-1,D=re(c[m],P),U=re(c[w],P),z=D,W=j-f[d]-U,O=j/2-f[d]/2+E,N=ln(z,O,W),A=!l.arrow&&Ne(o)!=null&&O!==N&&i.reference[d]/2-(O<z?D:U)-f[d]/2<0,C=A?O<z?O-z:O-W:0;return{[h]:v[h]+C,data:{[h]:N,centerOffset:O-N-C,...A&&{alignmentOffset:C}},reset:A}}}),Sa=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:p=!0,crossAxis:c=!0,fallbackPlacements:v,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:f=!0,..._}=ue(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=fe(o),w=_e(s),g=fe(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=v||(g||!f?[yt(s)]:ya(s)),S=d!=="none";!v&&S&&b.push(...xa(s,f,d,y));const j=[s,...b],E=await tt(t,_),P=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&P.push(E[m]),c){const O=ga(o,a,y);P.push(E[O[0]],E[O[1]])}if(D=[...D,{placement:o,overflows:P}],!P.every(O=>O<=0)){var U,z;const O=(((U=i.flip)==null?void 0:U.index)||0)+1,N=j[O];if(N)return{data:{index:O,overflows:D},reset:{placement:N}};let A=(z=D.filter(C=>C.overflows[0]<=0).sort((C,B)=>C.overflows[1]-B.overflows[1])[0])==null?void 0:z.placement;if(!A)switch(h){case"bestFit":{var W;const C=(W=D.filter(B=>{if(S){const I=_e(B.placement);return I===w||I==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(I=>I>0).reduce((I,Z)=>I+Z,0)]).sort((B,I)=>B[1]-I[1])[0])==null?void 0:W[0];C&&(A=C);break}case"initialPlacement":A=s;break}if(o!==A)return{reset:{placement:A}}}return{}}}};function so(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function co(e){return _a.some(t=>e[t]>=0)}const Ca=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ue(e,t);switch(r){case"referenceHidden":{const i=await tt(t,{...o,elementContext:"reference"}),a=so(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:co(a)}}}case"escaped":{const i=await tt(t,{...o,altBoundary:!0}),a=so(i,n.floating);return{data:{escapedOffsets:a,escaped:co(a)}}}default:return{}}}}};async function Pa(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=fe(n),s=Ne(n),l=_e(n)==="y",u=["left","top"].includes(a)?-1:1,p=i&&l?-1:1,c=ue(t,e);let{mainAxis:v,crossAxis:h,alignmentAxis:d}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof d=="number"&&(h=s==="end"?d*-1:d),l?{x:h*p,y:v*u}:{x:v*u,y:h*p}}const Aa=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await Pa(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},ja=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:m,y:w}=_;return{x:m,y:w}}},...l}=ue(e,t),u={x:n,y:r},p=await tt(t,l),c=_e(fe(o)),v=un(c);let h=u[v],d=u[c];if(i){const _=v==="y"?"top":"left",m=v==="y"?"bottom":"right",w=h+p[_],g=h-p[m];h=ln(w,h,g)}if(a){const _=c==="y"?"top":"left",m=c==="y"?"bottom":"right",w=d+p[_],g=d-p[m];d=ln(w,d,g)}const f=s.fn({...t,[v]:h,[c]:d});return{...f,data:{x:f.x-n,y:f.y-r}}}}},Oa=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=ue(e,t),p={x:n,y:r},c=_e(o),v=un(c);let h=p[v],d=p[c];const f=ue(s,t),_=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){const g=v==="y"?"height":"width",y=i.reference[v]-i.floating[g]+_.mainAxis,b=i.reference[v]+i.reference[g]-_.mainAxis;h<y?h=y:h>b&&(h=b)}if(u){var m,w;const g=v==="y"?"width":"height",y=["top","left"].includes(fe(o)),b=i.reference[c]-i.floating[g]+(y&&((m=a.offset)==null?void 0:m[c])||0)+(y?0:_.crossAxis),S=i.reference[c]+i.reference[g]+(y?0:((w=a.offset)==null?void 0:w[c])||0)-(y?_.crossAxis:0);d<b?d=b:d>S&&(d=S)}return{[v]:h,[c]:d}}}},Ta=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=ue(e,t),l=await tt(t,s),u=fe(n),p=Ne(n),c=_e(n)==="y",{width:v,height:h}=r.floating;let d,f;u==="top"||u==="bottom"?(d=u,f=p===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(f=u,d=p==="end"?"top":"bottom");const _=h-l.top-l.bottom,m=v-l.left-l.right,w=re(h-l[d],_),g=re(v-l[f],m),y=!t.middlewareData.shift;let b=w,S=g;if(c?S=p||y?re(g,m):m:b=p||y?re(w,_):_,y&&!p){const E=G(l.left,0),P=G(l.right,0),D=G(l.top,0),U=G(l.bottom,0);c?S=v-2*(E!==0||P!==0?E+P:G(l.left,l.right)):b=h-2*(D!==0||U!==0?D+U:G(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:b});const j=await o.getDimensions(i.floating);return v!==j.width||h!==j.height?{reset:{rects:!0}}:{}}}};function Le(e){return lo(e)?(e.nodeName||"").toLowerCase():"#document"}function Q(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function de(e){var t;return(t=(lo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lo(e){return e instanceof Node||e instanceof Q(e).Node}function ee(e){return e instanceof Element||e instanceof Q(e).Element}function oe(e){return e instanceof HTMLElement||e instanceof Q(e).HTMLElement}function uo(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Q(e).ShadowRoot}function nt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=te(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Da(e){return["table","td","th"].includes(Le(e))}function xt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function hn(e){const t=vn(),n=ee(e)?te(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Ra(e){let t=me(e);for(;oe(t)&&!Fe(t);){if(hn(t))return t;if(xt(t))return null;t=me(t)}return null}function vn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fe(e){return["html","body","#document"].includes(Le(e))}function te(e){return Q(e).getComputedStyle(e)}function $t(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function me(e){if(Le(e)==="html")return e;const t=e.assignedSlot||e.parentNode||uo(e)&&e.host||de(e);return uo(t)?t.host:t}function fo(e){const t=me(e);return Fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:oe(t)&&nt(t)?t:fo(t)}function rt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=fo(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Q(o);if(i){const s=_n(a);return t.concat(a,a.visualViewport||[],nt(o)?o:[],s&&n?rt(s):[])}return t.concat(o,rt(o,[],n))}function _n(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function po(e){const t=te(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=oe(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=wt(n)!==i||wt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function mn(e){return ee(e)?e:e.contextElement}function Me(e){const t=mn(e);if(!oe(t))return ve(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=po(t);let a=(i?wt(n.width):n.width)/r,s=(i?wt(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Na=ve(0);function ho(e){const t=Q(e);return!vn()||!t.visualViewport?Na:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function La(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Q(e)?!1:t}function Ce(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=mn(e);let a=ve(1);t&&(r?ee(r)&&(a=Me(r)):a=Me(e));const s=La(i,n,r)?ho(i):ve(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,p=o.width/a.x,c=o.height/a.y;if(i){const v=Q(i),h=r&&ee(r)?Q(r):r;let d=v,f=_n(d);for(;f&&r&&h!==d;){const _=Me(f),m=f.getBoundingClientRect(),w=te(f),g=m.left+(f.clientLeft+parseFloat(w.paddingLeft))*_.x,y=m.top+(f.clientTop+parseFloat(w.paddingTop))*_.y;l*=_.x,u*=_.y,p*=_.x,c*=_.y,l+=g,u+=y,d=Q(f),f=_n(d)}}return bt({width:p,height:c,x:l,y:u})}function Fa(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=de(r),s=t?xt(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=ve(1);const p=ve(0),c=oe(r);if((c||!c&&!i)&&((Le(r)!=="body"||nt(a))&&(l=$t(r)),oe(r))){const v=Ce(r);u=Me(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+p.x,y:n.y*u.y-l.scrollTop*u.y+p.y}}function Ma(e){return Array.from(e.getClientRects())}function vo(e){return Ce(de(e)).left+$t(e).scrollLeft}function Ia(e){const t=de(e),n=$t(e),r=e.ownerDocument.body,o=G(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=G(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+vo(e);const s=-n.scrollTop;return te(r).direction==="rtl"&&(a+=G(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Ua(e,t){const n=Q(e),r=de(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=vn();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function Wa(e,t){const n=Ce(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=oe(e)?Me(e):ve(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function _o(e,t,n){let r;if(t==="viewport")r=Ua(e,n);else if(t==="document")r=Ia(de(e));else if(ee(t))r=Wa(t,n);else{const o=ho(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return bt(r)}function mo(e,t){const n=me(e);return n===t||!ee(n)||Fe(n)?!1:te(n).position==="fixed"||mo(n,t)}function Ha(e,t){const n=t.get(e);if(n)return n;let r=rt(e,[],!1).filter(s=>ee(s)&&Le(s)!=="body"),o=null;const i=te(e).position==="fixed";let a=i?me(e):e;for(;ee(a)&&!Fe(a);){const s=te(a),l=hn(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||nt(a)&&!l&&mo(e,a))?r=r.filter(p=>p!==a):o=s,a=me(a)}return t.set(e,r),r}function za(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?xt(t)?[]:Ha(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,p)=>{const c=_o(t,p,o);return u.top=G(c.top,u.top),u.right=re(c.right,u.right),u.bottom=re(c.bottom,u.bottom),u.left=G(c.left,u.left),u},_o(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ba(e){const{width:t,height:n}=po(e);return{width:t,height:n}}function Va(e,t,n){const r=oe(t),o=de(t),i=n==="fixed",a=Ce(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=ve(0);if(r||!r&&!i)if((Le(t)!=="body"||nt(o))&&(s=$t(t)),r){const c=Ce(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=vo(o));const u=a.left+s.scrollLeft-l.x,p=a.top+s.scrollTop-l.y;return{x:u,y:p,width:a.width,height:a.height}}function wn(e){return te(e).position==="static"}function wo(e,t){return!oe(e)||te(e).position==="fixed"?null:t?t(e):e.offsetParent}function go(e,t){const n=Q(e);if(xt(e))return n;if(!oe(e)){let o=me(e);for(;o&&!Fe(o);){if(ee(o)&&!wn(o))return o;o=me(o)}return n}let r=wo(e,t);for(;r&&Da(r)&&wn(r);)r=wo(r,t);return r&&Fe(r)&&wn(r)&&!hn(r)?n:r||Ra(e)||n}const Ya=async function(e){const t=this.getOffsetParent||go,n=this.getDimensions,r=await n(e.floating);return{reference:Va(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Xa(e){return te(e).direction==="rtl"}const Ka={convertOffsetParentRelativeRectToViewportRelativeRect:Fa,getDocumentElement:de,getClippingRect:za,getOffsetParent:go,getElementRects:Ya,getClientRects:Ma,getDimensions:Ba,getScale:Me,isElement:ee,isRTL:Xa};function qa(e,t){let n=null,r;const o=de(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:p,width:c,height:v}=e.getBoundingClientRect();if(s||t(),!c||!v)return;const h=gt(p),d=gt(o.clientWidth-(u+c)),f=gt(o.clientHeight-(p+v)),_=gt(u),w={rootMargin:-h+"px "+-d+"px "+-f+"px "+-_+"px",threshold:G(0,re(1,l))||1};let g=!0;function y(b){const S=b[0].intersectionRatio;if(S!==l){if(!g)return a();S?a(!1,S):r=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{n=new IntersectionObserver(y,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,w)}n.observe(e)}return a(!0),i}function Za(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=mn(e),p=o||i?[...u?rt(u):[],...rt(t)]:[];p.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&s?qa(u,n):null;let v=-1,h=null;a&&(h=new ResizeObserver(m=>{let[w]=m;w&&w.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var g;(g=h)==null||g.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let d,f=l?Ce(e):null;l&&_();function _(){const m=Ce(e);f&&(m.x!==f.x||m.y!==f.y||m.width!==f.width||m.height!==f.height)&&n(),f=m,d=requestAnimationFrame(_)}return n(),()=>{var m;p.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),c==null||c(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(d)}}const Ga=Aa,Qa=ja,Ja=Sa,es=Ta,ts=Ca,yo=Ea,ns=Oa,rs=(e,t,n)=>{const r=new Map,o={platform:Ka,...n},i={...o.platform,_c:r};return ka(e,t,{...o,platform:i})};var kt=typeof document<"u"?$e:F;function Et(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Et(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Et(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function bo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xo(e,t){const n=bo(e);return Math.round(t*n)/n}function $o(e){const t=T(e);return kt(()=>{t.current=e}),t}function os(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[p,c]=L({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,h]=L(r);Et(v,r)||h(r);const[d,f]=L(null),[_,m]=L(null),w=V(C=>{C!==S.current&&(S.current=C,f(C))},[]),g=V(C=>{C!==j.current&&(j.current=C,m(C))},[]),y=i||d,b=a||_,S=T(null),j=T(null),E=T(p),P=l!=null,D=$o(l),U=$o(o),z=V(()=>{if(!S.current||!j.current)return;const C={placement:t,strategy:n,middleware:v};U.current&&(C.platform=U.current),rs(S.current,j.current,C).then(B=>{const I={...B,isPositioned:!0};W.current&&!Et(E.current,I)&&(E.current=I,et(()=>{c(I)}))})},[v,t,n,U]);kt(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,c(C=>({...C,isPositioned:!1})))},[u]);const W=T(!1);kt(()=>(W.current=!0,()=>{W.current=!1}),[]),kt(()=>{if(y&&(S.current=y),b&&(j.current=b),y&&b){if(D.current)return D.current(y,b,z);z()}},[y,b,z,D,P]);const O=q(()=>({reference:S,floating:j,setReference:w,setFloating:g}),[w,g]),N=q(()=>({reference:y,floating:b}),[y,b]),A=q(()=>{const C={position:n,left:0,top:0};if(!N.floating)return C;const B=xo(N.floating,p.x),I=xo(N.floating,p.y);return s?{...C,transform:"translate("+B+"px, "+I+"px)",...bo(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:I}},[n,s,N.floating,p.x,p.y]);return q(()=>({...p,update:z,refs:O,elements:N,floatingStyles:A}),[p,z,O,N,A])}const is=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?yo({element:r.current,padding:o}).fn(n):{}:r?yo({element:r,padding:o}).fn(n):{}}}},as=(e,t)=>({...Ga(e),options:[e,t]}),ss=(e,t)=>({...Qa(e),options:[e,t]}),cs=(e,t)=>({...ns(e),options:[e,t]}),ls=(e,t)=>({...Ja(e),options:[e,t]}),us=(e,t)=>({...es(e),options:[e,t]}),fs=(e,t)=>({...ts(e),options:[e,t]}),ds=(e,t)=>({...is(e),options:[e,t]});function ps(e){const[t,n]=L(void 0);return Re(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const ko="Popper",[Eo,So]=qr(ko),[hs,Co]=Eo(ko),vs=e=>{const{__scopePopper:t,children:n}=e,[r,o]=L(null);return $(hs,{scope:t,anchor:r,onAnchorChange:o},n)},_s="PopperAnchor",ms=Y((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Co(_s,n),a=T(null),s=Se(t,a);return F(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:$(De.div,X({},o,{ref:s}))}),Po="PopperContent",[ws,fl]=Eo(Po),gs=Y((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:p,side:c="bottom",sideOffset:v=0,align:h="center",alignOffset:d=0,arrowPadding:f=0,avoidCollisions:_=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:S,...j}=e,E=Co(Po,p),[P,D]=L(null),U=Se(t,st=>D(st)),[z,W]=L(null),O=ps(z),N=(n=O==null?void 0:O.width)!==null&&n!==void 0?n:0,A=(r=O==null?void 0:O.height)!==null&&r!==void 0?r:0,C=c+(h!=="center"?"-"+h:""),B=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},I=Array.isArray(m)?m:[m],Z=I.length>0,ge={padding:B,boundary:I.filter(ys),altBoundary:Z},{refs:Ye,floatingStyles:ai,placement:Jc,isPositioned:It,middlewareData:Xe}=os({strategy:"fixed",placement:C,whileElementsMounted:(...st)=>Za(...st,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[as({mainAxis:v+A,alignmentAxis:d}),_&&ss({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?cs():void 0,...ge}),_&&ls({...ge}),us({...ge,apply:({elements:st,rects:ci,availableWidth:al,availableHeight:sl})=>{const{width:cl,height:ll}=ci.reference,Wt=st.floating.style;Wt.setProperty("--radix-popper-available-width",`${al}px`),Wt.setProperty("--radix-popper-available-height",`${sl}px`),Wt.setProperty("--radix-popper-anchor-width",`${cl}px`),Wt.setProperty("--radix-popper-anchor-height",`${ll}px`)}}),z&&ds({element:z,padding:f}),bs({arrowWidth:N,arrowHeight:A}),y&&fs({strategy:"referenceHidden",...ge})]}),[si,el]=Ao(Jc),Ut=pe(S);Re(()=>{It&&(Ut==null||Ut())},[It,Ut]);const tl=(o=Xe.arrow)===null||o===void 0?void 0:o.x,nl=(i=Xe.arrow)===null||i===void 0?void 0:i.y,rl=((a=Xe.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[ol,il]=L();return Re(()=>{P&&il(window.getComputedStyle(P).zIndex)},[P]),$("div",{ref:Ye.setFloating,"data-radix-popper-content-wrapper":"",style:{...ai,transform:It?ai.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ol,"--radix-popper-transform-origin":[(s=Xe.transformOrigin)===null||s===void 0?void 0:s.x,(l=Xe.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},$(ws,{scope:p,placedSide:si,onArrowChange:W,arrowX:tl,arrowY:nl,shouldHideArrow:rl},$(De.div,X({"data-side":si,"data-align":el},j,{ref:U,style:{...j.style,animation:It?void 0:"none",opacity:(u=Xe.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function ys(e){return e!==null}const bs=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,v=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[d,f]=Ao(s),_={start:"0%",center:"50%",end:"100%"}[f],m=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+v/2,w=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+h/2;let g="",y="";return d==="bottom"?(g=c?_:`${m}px`,y=`${-h}px`):d==="top"?(g=c?_:`${m}px`,y=`${l.floating.height+h}px`):d==="right"?(g=`${-h}px`,y=c?_:`${w}px`):d==="left"&&(g=`${l.floating.width+h}px`,y=c?_:`${w}px`),{data:{x:g,y}}}});function Ao(e){const[t,n="center"]=e.split("-");return[t,n]}const xs=vs,$s=ms,ks=gs,Es=Y((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Xr.createPortal($(De.div,X({},o,{ref:t})),r):null});function Ss(e,t){return ht((n,r)=>{const o=t[n][r];return o??n},e)}const gn=e=>{const{present:t,children:n}=e,r=Cs(t),o=typeof n=="function"?n({present:r.isPresent}):le.only(n),i=Se(r.ref,o.ref);return typeof n=="function"||r.isPresent?Te(o,{ref:i}):null};gn.displayName="Presence";function Cs(e){const[t,n]=L(),r=T({}),o=T(e),i=T("none"),a=e?"mounted":"unmounted",[s,l]=Ss(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return F(()=>{const u=St(r.current);i.current=s==="mounted"?u:"none"},[s]),Re(()=>{const u=r.current,p=o.current;if(p!==e){const v=i.current,h=St(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(p&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Re(()=>{if(t){const u=c=>{const h=St(r.current).includes(c.animationName);c.target===t&&h&&et(()=>l("ANIMATION_END"))},p=c=>{c.target===t&&(i.current=St(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:V(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function St(e){return(e==null?void 0:e.animationName)||"none"}function Ps({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=As({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=pe(n),l=V(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function As({defaultProp:e,onChange:t}){const n=L(e),[r]=n,o=T(r),i=pe(t);return F(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var js=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ie=new WeakMap,Ct=new WeakMap,Pt={},yn=0,jo=function(e){return e&&(e.host||jo(e.parentNode))},Os=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=jo(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Ts=function(e,t,n,r){var o=Os(t,Array.isArray(e)?e:[e]);Pt[n]||(Pt[n]=new WeakMap);var i=Pt[n],a=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var p=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(v){if(s.has(v))p(v);else{var h=v.getAttribute(r),d=h!==null&&h!=="false",f=(Ie.get(v)||0)+1,_=(i.get(v)||0)+1;Ie.set(v,f),i.set(v,_),a.push(v),f===1&&d&&Ct.set(v,!0),_===1&&v.setAttribute(n,"true"),d||v.setAttribute(r,"true")}})};return p(t),s.clear(),yn++,function(){a.forEach(function(c){var v=Ie.get(c)-1,h=i.get(c)-1;Ie.set(c,v),i.set(c,h),v||(Ct.has(c)||c.removeAttribute(r),Ct.delete(c)),h||c.removeAttribute(n)}),yn--,yn||(Ie=new WeakMap,Ie=new WeakMap,Ct=new WeakMap,Pt={})}},Ds=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||js(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Ts(r,o,n,"aria-hidden")):function(){return null}},ie=function(){return ie=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ie.apply(this,arguments)};function Oo(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Rs(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var At="right-scroll-bar-position",jt="width-before-scroll-bar",Ns="with-scroll-bars-hidden",Ls="--removed-body-scroll-bar-size";function Fs(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ms(e,t){var n=L(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function Is(e,t){return Ms(t||null,function(n){return e.forEach(function(r){return Fs(r,n)})})}function Us(e){return e}function Ws(e,t){t===void 0&&(t=Us);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var p=a;a=[],p.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(p){a.push(p),u()},filter:function(p){return a=a.filter(p),n}}}};return o}function Hs(e){e===void 0&&(e={});var t=Ws(null);return t.options=ie({async:!0,ssr:!1},e),t}var To=function(e){var t=e.sideCar,n=Oo(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return $(r,ie({},n))};To.isSideCarExport=!0;function zs(e,t){return e.useMedium(t),To}var Do=Hs(),bn=function(){},Ot=Y(function(e,t){var n=T(null),r=L({onScrollCapture:bn,onWheelCapture:bn,onTouchMoveCapture:bn}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,p=e.enabled,c=e.shards,v=e.sideCar,h=e.noIsolation,d=e.inert,f=e.allowPinchZoom,_=e.as,m=_===void 0?"div":_,w=Oo(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),g=v,y=Is([n,t]),b=ie(ie({},w),o);return $(H,null,p&&$(g,{sideCar:Do,removeScrollBar:u,shards:c,noIsolation:h,inert:d,setCallbacks:i,allowPinchZoom:!!f,lockRef:n}),a?Te(le.only(s),ie(ie({},b),{ref:y})):$(m,ie({},b,{className:l,ref:y}),s))});Ot.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ot.classNames={fullWidth:jt,zeroRight:At};var Ro,Bs=function(){if(Ro)return Ro;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Vs(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Bs();return t&&e.setAttribute("nonce",t),e}function Ys(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xs(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ks=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Vs())&&(Ys(t,n),Xs(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},qs=function(){var e=Ks();return function(t,n){F(function(){return e.add(t),function(){e.remove()}},[t&&n])}},No=function(){var e=qs(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Zs={left:0,top:0,right:0,gap:0},xn=function(e){return parseInt(e||"",10)||0},Gs=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[xn(n),xn(r),xn(o)]},Qs=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Zs;var t=Gs(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Js=No(),ec=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
+
.`.concat(Ns,` {
|
|
3
3
|
overflow: hidden `).concat(r,`;
|
|
4
4
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
5
5
|
}
|
|
@@ -16,30 +16,30 @@
|
|
|
16
16
|
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.`).concat(
|
|
19
|
+
.`).concat(At,` {
|
|
20
20
|
right: `).concat(s,"px ").concat(r,`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.`).concat(
|
|
23
|
+
.`).concat(jt,` {
|
|
24
24
|
margin-right: `).concat(s,"px ").concat(r,`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.`).concat(
|
|
27
|
+
.`).concat(At," .").concat(At,` {
|
|
28
28
|
right: 0 `).concat(r,`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.`).concat(
|
|
31
|
+
.`).concat(jt," .").concat(jt,` {
|
|
32
32
|
margin-right: 0 `).concat(r,`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
body {
|
|
36
|
-
`).concat(
|
|
36
|
+
`).concat(Ls,": ").concat(s,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},tc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=q(function(){return Qs(o)},[o]);return $(Js,{styles:ec(i,!t,o,n?"":"!important")})},$n=!1;if(typeof window<"u")try{var Tt=Object.defineProperty({},"passive",{get:function(){return $n=!0,!0}});window.addEventListener("test",Tt,Tt),window.removeEventListener("test",Tt,Tt)}catch{$n=!1}var Ue=$n?{passive:!1}:!1,nc=function(e){return e.tagName==="TEXTAREA"},Lo=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nc(e)&&n[t]==="visible")},rc=function(e){return Lo(e,"overflowY")},oc=function(e){return Lo(e,"overflowX")},Fo=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Mo(e,n);if(r){var o=Io(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},ic=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ac=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Mo=function(e,t){return e==="v"?rc(t):oc(t)},Io=function(e,t){return e==="v"?ic(t):ac(t)},sc=function(e,t){return e==="h"&&t==="rtl"?-1:1},cc=function(e,t,n,r,o){var i=sc(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,p=a>0,c=0,v=0;do{var h=Io(e,s),d=h[0],f=h[1],_=h[2],m=f-_-i*d;(d||m)&&Mo(e,s)&&(c+=m,v+=d),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(p&&(o&&c===0||!o&&a>c)||!p&&(o&&v===0||!o&&-a>v))&&(u=!0),u},Dt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uo=function(e){return[e.deltaX,e.deltaY]},Wo=function(e){return e&&"current"in e?e.current:e},lc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uc=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},nc=0,He=[];function rc(e){var t=A([]),n=A([0,0]),r=A(),o=T(nc++)[0],i=T(function(){return Do()})[0],a=A(e);D(function(){a.current=e},[e]),D(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=Es([e.lockRef.current],(e.shards||[]).map(Ho),!0).filter(Boolean);return h.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=W(function(h,v){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var _=At(h),w=n.current,g="deltaX"in h?h.deltaX:w[0]-_[0],y="deltaY"in h?h.deltaY:w[1]-_[1],b,S=h.target,P=Math.abs(g)>Math.abs(y)?"h":"v";if("touches"in h&&P==="h"&&S.type==="range")return!1;var $=No(P,S);if(!$)return!0;if($?b=P:(b=P==="v"?"h":"v",$=No(P,S)),!$)return!1;if(!r.current&&"changedTouches"in h&&(g||y)&&(r.current=b),!b)return!0;var C=r.current||b;return Qs(C,v,h,C==="h"?g:y,!0)},[]),u=W(function(h){var v=h;if(!(!He.length||He[He.length-1]!==i)){var _="deltaY"in v?Mo(v):At(v),w=t.current.filter(function(b){return b.name===v.type&&b.target===v.target&&ec(b.delta,_)})[0];if(w&&w.should){v.cancelable&&v.preventDefault();return}if(!w){var g=(a.current.shards||[]).map(Ho).filter(Boolean).filter(function(b){return b.contains(v.target)}),y=g.length>0?s(v,g[0]):!a.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),l=W(function(h,v,_,w){var g={name:h,delta:v,target:_,should:w};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(y){return y!==g})},1)},[]),d=W(function(h){n.current=At(h),r.current=void 0},[]),c=W(function(h){l(h.type,Mo(h),h.target,s(h,e.lockRef.current))},[]),p=W(function(h){l(h.type,At(h),h.target,s(h,e.lockRef.current))},[]);D(function(){return He.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Me),document.addEventListener("touchmove",u,Me),document.addEventListener("touchstart",d,Me),function(){He=He.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,Me),document.removeEventListener("touchmove",u,Me),document.removeEventListener("touchstart",d,Me)}},[]);var f=e.removeScrollBar,m=e.inert;return k(M,null,m?k(i,{styles:tc(o)}):null,f?k(Ys,{gapMode:"margin"}):null)}const oc=Rs(jo,rc);var Wo=U(function(e,t){return k(St,Q({},e,{ref:t,sideCar:oc}))});Wo.classNames=St.classNames;const ic=Wo,Uo="Popover",[zo,il]=Yr(Uo,[ko]),yn=ko(),[ac,We]=zo(Uo),sc=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=yn(t),u=A(null),[l,d]=T(!1),[c=!1,p]=gs({prop:r,defaultProp:o,onChange:i});return k(ps,s,k(ac,{scope:t,contentId:da(),triggerRef:u,open:c,onOpenChange:p,onOpenToggle:W(()=>p(f=>!f),[p]),hasCustomAnchor:l,onCustomAnchorAdd:W(()=>d(!0),[]),onCustomAnchorRemove:W(()=>d(!1),[]),modal:a},n))},cc="PopoverTrigger",lc=U((e,t)=>{const{__scopePopover:n,...r}=e,o=We(cc,n),i=yn(n),a=ke(t,o.triggerRef),s=k(je.button,z({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Vo(o.open)},r,{ref:a,onClick:$e(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:k(hs,z({asChild:!0},i),s)}),Io="PopoverPortal",[uc,fc]=zo(Io,{forceMount:void 0}),dc=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=We(Io,t);return k(uc,{scope:t,forceMount:n},k(vn,{present:n||i.open},k(_s,{asChild:!0,container:o},r)))},tt="PopoverContent",pc=U((e,t)=>{const n=fc(tt,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=We(tt,e.__scopePopover);return k(vn,{present:r||i.open},i.modal?k(hc,z({},o,{ref:t})):k(vc,z({},o,{ref:t})))}),hc=U((e,t)=>{const n=We(tt,e.__scopePopover),r=A(null),o=ke(t,r),i=A(!1);return D(()=>{const a=r.current;if(a)return ks(a)},[]),k(ic,{as:en,allowPinchZoom:!0},k(Bo,z({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$e(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:$e(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,l=s.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:$e(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),vc=U((e,t)=>{const n=We(tt,e.__scopePopover),r=A(!1),o=A(!1);return k(Bo,z({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(u))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),Bo=U((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:d,...c}=e,p=We(tt,n),f=yn(n);return na(),k(ra,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},k(Qi,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},k(vs,z({"data-state":Vo(p.open),role:"dialog",id:p.contentId},f,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Vo(e){return e?"open":"closed"}const _c=sc,mc=lc,wc=dc,gc=pc;function Yo(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=Yo(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function bn(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Yo(e))&&(r&&(r+=" "),r+=t);return r}function Ot(){throw new Error("Cycle detected")}var yc=Symbol.for("preact-signals");function xn(){if(Ue>1)Ue--;else{for(var e,t=!1;nt!==void 0;){var n=nt;for(nt=void 0,$n++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Ko(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if($n=0,Ue--,t)throw e}}var N=void 0,nt=void 0,Ue=0,$n=0,jt=0;function Xo(e){if(N!==void 0){var t=e.n;if(t===void 0||t.t!==N)return t={i:0,S:e,p:N.s,n:void 0,t:N,e:void 0,x:void 0,r:t},N.s!==void 0&&(N.s.n=t),N.s=t,e.n=t,32&N.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=N.s,t.n=void 0,N.s.n=t,N.s=t),t}}function I(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}I.prototype.brand=yc,I.prototype.h=function(){return!0},I.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)},I.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)}},I.prototype.subscribe=function(e){var t=this;return En(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},I.prototype.valueOf=function(){return this.value},I.prototype.toString=function(){return this.value+""},I.prototype.toJSON=function(){return this.value},I.prototype.peek=function(){return this.v},Object.defineProperty(I.prototype,"value",{get:function(){var e=Xo(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(N instanceof ve&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){$n>100&&Ot(),this.v=e,this.i++,jt++,Ue++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{xn()}}}});function Tt(e){return new I(e)}function Ko(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 qo(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 Zo(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 ve(e){I.call(this,void 0),this.x=e,this.s=void 0,this.g=jt-1,this.f=4}(ve.prototype=new I).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===jt))return!0;if(this.g=jt,this.f|=1,this.i>0&&!Ko(this))return this.f&=-2,!0;var e=N;try{qo(this),N=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 N=e,Zo(this),this.f&=-2,!0},ve.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)}I.prototype.S.call(this,e)},ve.prototype.U=function(e){if(this.t!==void 0&&(I.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)}},ve.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},ve.prototype.peek=function(){if(this.h()||Ot(),16&this.f)throw this.v;return this.v},Object.defineProperty(ve.prototype,"value",{get:function(){1&this.f&&Ot();var e=Xo(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function bc(e){return new ve(e)}function Go(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Ue++;var n=N;N=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,kn(e),r}finally{N=n,xn()}}}function kn(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Go(e)}function xc(e){if(N!==this)throw new Error("Out-of-order effect");Zo(this),N=e,this.f&=-2,8&this.f&&kn(this),xn()}function rt(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}rt.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()}},rt.prototype.S=function(){1&this.f&&Ot(),this.f|=1,this.f&=-9,Go(this),qo(this),Ue++;var e=N;return N=this,xc.bind(this,e)},rt.prototype.N=function(){2&this.f||(this.f|=2,this.o=nt,nt=this)},rt.prototype.d=function(){this.f|=8,1&this.f||kn(this)};function En(e){var t=new rt(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Cn;function ze(e,t){x[e]=t.bind(null,x[e]||function(){})}function Dt(e){Cn&&Cn(),Cn=e&&e.S()}function Jo(e){var t=this,n=e.data,r=kc(n);r.value=n;var o=V(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!Dn(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},bc(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Jo.displayName="_st",Object.defineProperties(I.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Jo},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),ze("__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 I&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),ze("__r",function(e,t){Dt();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return En(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Dt(n),e(t)}),ze("__e",function(e,t,n,r){Dt(),e(t,n,r)}),ze("diffed",function(e,t){Dt();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 u in r){var l=i[u],d=r[u];l===void 0?(l=$c(n,u,d,o),i[u]=l):l.o(d,o)}}}e(t)});function $c(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Tt(n);return{o:function(a,s){i.value=a,r=s},d:En(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}ze("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)}),ze("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),q.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 kc(e){return V(function(){return Tt(e)},[])}const Ie={config$:Tt({headerText:"",label:""}),filters$:Tt({})},Qo="inploi-job-alerts",Ec="ija";var Cc=["1","2","3","4","5","6","7","8","9","10","11","12"],Sc={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},Pc=(e,t=1,n)=>r=>{const[o,i]=Sc[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ei=e=>{const t=Pc(e.hue,e.chroma,e.mode);return Object.fromEntries(Cc.map(n=>[e.prefix+n,e.transform(t(n))]))},ti=e=>e,Ac=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},Rt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Sn=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Rt(e)&&Rt(n))for(const r in n){const o=n[r];if(Rt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Rt(i)&&Sn(i,o)}else Object.assign(e,{[r]:n[r]})}return Sn(e,...t)},Oc=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},jc=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),u=t({theme:o,core:a,raw:{core:s}}),l=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:u}}),d=Ac(Sn(s,u,l)),c=([p,f],m)=>{const h=[m,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(v=>c(v,h)):[[r.getToken("declaration",h),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[Pn,An,Tc]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Dc=jc().core(({theme:e})=>({color:{transparent:Tc,black:Pn,white:An,lowest:e.mode==="light"?An:Pn,highest:e.mode==="light"?Pn:An,...ei({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:ti}),...ei({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:ti})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),Rc=Oc({prefix:"i-"}),Nc=e=>{const t=Dc.from({theme:e,getToken:Rc}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Ec} {
|
|
41
|
+
`)},fc=0,We=[];function dc(e){var t=T([]),n=T([0,0]),r=T(),o=L(fc++)[0],i=L(function(){return No()})[0],a=T(e);F(function(){a.current=e},[e]),F(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Rs([e.lockRef.current],(e.shards||[]).map(Wo),!0).filter(Boolean);return f.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V(function(f,_){if("touches"in f&&f.touches.length===2)return!a.current.allowPinchZoom;var m=Dt(f),w=n.current,g="deltaX"in f?f.deltaX:w[0]-m[0],y="deltaY"in f?f.deltaY:w[1]-m[1],b,S=f.target,j=Math.abs(g)>Math.abs(y)?"h":"v";if("touches"in f&&j==="h"&&S.type==="range")return!1;var E=Fo(j,S);if(!E)return!0;if(E?b=j:(b=j==="v"?"h":"v",E=Fo(j,S)),!E)return!1;if(!r.current&&"changedTouches"in f&&(g||y)&&(r.current=b),!b)return!0;var P=r.current||b;return cc(P,_,f,P==="h"?g:y,!0)},[]),l=V(function(f){var _=f;if(!(!We.length||We[We.length-1]!==i)){var m="deltaY"in _?Uo(_):Dt(_),w=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&lc(b.delta,m)})[0];if(w&&w.should){_.cancelable&&_.preventDefault();return}if(!w){var g=(a.current.shards||[]).map(Wo).filter(Boolean).filter(function(b){return b.contains(_.target)}),y=g.length>0?s(_,g[0]):!a.current.noIsolation;y&&_.cancelable&&_.preventDefault()}}},[]),u=V(function(f,_,m,w){var g={name:f,delta:_,target:m,should:w};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(y){return y!==g})},1)},[]),p=V(function(f){n.current=Dt(f),r.current=void 0},[]),c=V(function(f){u(f.type,Uo(f),f.target,s(f,e.lockRef.current))},[]),v=V(function(f){u(f.type,Dt(f),f.target,s(f,e.lockRef.current))},[]);F(function(){return We.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:v}),document.addEventListener("wheel",l,Ue),document.addEventListener("touchmove",l,Ue),document.addEventListener("touchstart",p,Ue),function(){We=We.filter(function(f){return f!==i}),document.removeEventListener("wheel",l,Ue),document.removeEventListener("touchmove",l,Ue),document.removeEventListener("touchstart",p,Ue)}},[]);var h=e.removeScrollBar,d=e.inert;return $(H,null,d?$(i,{styles:uc(o)}):null,h?$(tc,{gapMode:"margin"}):null)}const pc=zs(Do,dc);var Ho=Y(function(e,t){return $(Ot,ie({},e,{ref:t,sideCar:pc}))});Ho.classNames=Ot.classNames;const hc=Ho,zo="Popover",[Bo,dl]=qr(zo,[So]),kn=So(),[vc,He]=Bo(zo),_c=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=kn(t),l=T(null),[u,p]=L(!1),[c=!1,v]=Ps({prop:r,defaultProp:o,onChange:i});return $(xs,s,$(vc,{scope:t,contentId:va(),triggerRef:l,open:c,onOpenChange:v,onOpenToggle:V(()=>v(h=>!h),[v]),hasCustomAnchor:u,onCustomAnchorAdd:V(()=>p(!0),[]),onCustomAnchorRemove:V(()=>p(!1),[]),modal:a},n))},mc="PopoverTrigger",wc=Y((e,t)=>{const{__scopePopover:n,...r}=e,o=He(mc,n),i=kn(n),a=Se(t,o.triggerRef),s=$(De.button,X({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Xo(o.open)},r,{ref:a,onClick:Ee(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:$($s,X({asChild:!0},i),s)}),Vo="PopoverPortal",[gc,yc]=Bo(Vo,{forceMount:void 0}),bc=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=He(Vo,t);return $(gc,{scope:t,forceMount:n},$(gn,{present:n||i.open},$(Es,{asChild:!0,container:o},r)))},ot="PopoverContent",xc=Y((e,t)=>{const n=yc(ot,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=He(ot,e.__scopePopover);return $(gn,{present:r||i.open},i.modal?$($c,X({},o,{ref:t})):$(kc,X({},o,{ref:t})))}),$c=Y((e,t)=>{const n=He(ot,e.__scopePopover),r=T(null),o=Se(t,r),i=T(!1);return F(()=>{const a=r.current;if(a)return Ds(a)},[]),$(hc,{as:nn,allowPinchZoom:!0},$(Yo,X({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ee(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Ee(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),kc=Y((e,t)=>{const n=He(ot,e.__scopePopover),r=T(!1),o=T(!1);return $(Yo,X({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),Yo=Y((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:p,...c}=e,v=He(ot,n),h=kn(n);return ia(),$(aa,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},$(na,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:p,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1)},$(ks,X({"data-state":Xo(v.open),role:"dialog",id:v.contentId},h,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Xo(e){return e?"open":"closed"}const Ec=_c,Sc=wc,Cc=bc,Pc=xc;function Ko(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=Ko(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function En(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ko(e))&&(r&&(r+=" "),r+=t);return r}function Rt(){throw new Error("Cycle detected")}var Ac=Symbol.for("preact-signals");function Sn(){if(ze>1)ze--;else{for(var e,t=!1;it!==void 0;){var n=it;for(it=void 0,Cn++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Zo(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Cn=0,ze--,t)throw e}}var M=void 0,it=void 0,ze=0,Cn=0,Nt=0;function qo(e){if(M!==void 0){var t=e.n;if(t===void 0||t.t!==M)return t={i:0,S:e,p:M.s,n:void 0,t:M,e:void 0,x:void 0,r:t},M.s!==void 0&&(M.s.n=t),M.s=t,e.n=t,32&M.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=M.s,t.n=void 0,M.s.n=t,M.s=t),t}}function K(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}K.prototype.brand=Ac,K.prototype.h=function(){return!0},K.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)},K.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)}},K.prototype.subscribe=function(e){var t=this;return An(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},K.prototype.valueOf=function(){return this.value},K.prototype.toString=function(){return this.value+""},K.prototype.toJSON=function(){return this.value},K.prototype.peek=function(){return this.v},Object.defineProperty(K.prototype,"value",{get:function(){var e=qo(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(M instanceof we&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Cn>100&&Rt(),this.v=e,this.i++,Nt++,ze++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Sn()}}}});function Lt(e){return new K(e)}function Zo(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 Go(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 Qo(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 we(e){K.call(this,void 0),this.x=e,this.s=void 0,this.g=Nt-1,this.f=4}(we.prototype=new K).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Nt))return!0;if(this.g=Nt,this.f|=1,this.i>0&&!Zo(this))return this.f&=-2,!0;var e=M;try{Go(this),M=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 M=e,Qo(this),this.f&=-2,!0},we.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)}K.prototype.S.call(this,e)},we.prototype.U=function(e){if(this.t!==void 0&&(K.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)}},we.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},we.prototype.peek=function(){if(this.h()||Rt(),16&this.f)throw this.v;return this.v},Object.defineProperty(we.prototype,"value",{get:function(){1&this.f&&Rt();var e=qo(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function jc(e){return new we(e)}function Jo(e){var t=e.u;if(e.u=void 0,typeof t=="function"){ze++;var n=M;M=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Pn(e),r}finally{M=n,Sn()}}}function Pn(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Jo(e)}function Oc(e){if(M!==this)throw new Error("Out-of-order effect");Qo(this),M=e,this.f&=-2,8&this.f&&Pn(this),Sn()}function at(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}at.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()}},at.prototype.S=function(){1&this.f&&Rt(),this.f|=1,this.f&=-9,Jo(this),Go(this),ze++;var e=M;return M=this,Oc.bind(this,e)},at.prototype.N=function(){2&this.f||(this.f|=2,this.o=it,it=this)},at.prototype.d=function(){this.f|=8,1&this.f||Pn(this)};function An(e){var t=new at(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var jn;function Be(e,t){x[e]=t.bind(null,x[e]||function(){})}function Ft(e){jn&&jn(),jn=e&&e.S()}function ei(e){var t=this,n=e.data,r=Dc(n);r.value=n;var o=q(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!Ln(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},jc(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}ei.displayName="_st",Object.defineProperties(K.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:ei},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Be("__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 K&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),Be("__r",function(e,t){Ft();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return An(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Ft(n),e(t)}),Be("__e",function(e,t,n,r){Ft(),e(t,n,r)}),Be("diffed",function(e,t){Ft();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],p=r[l];u===void 0?(u=Tc(n,l,p,o),i[l]=u):u.o(p,o)}}}e(t)});function Tc(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Lt(n);return{o:function(a,s){i.value=a,r=s},d:An(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Be("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)}),Be("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),J.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 Dc(e){return q(function(){return Lt(e)},[])}const Ve={config$:Lt({headerText:"",label:""}),filters$:Lt({})},ti="inploi-job-alerts",Rc="ija";var Nc=["1","2","3","4","5","6","7","8","9","10","11","12"],Lc={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},Fc=(e,t=1,n)=>r=>{const[o,i]=Lc[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ni=e=>{const t=Fc(e.hue,e.chroma,e.mode);return Object.fromEntries(Nc.map(n=>[e.prefix+n,e.transform(t(n))]))},ri=e=>e,Mc=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},Mt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),On=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Mt(e)&&Mt(n))for(const r in n){const o=n[r];if(Mt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Mt(i)&&On(i,o)}else Object.assign(e,{[r]:n[r]})}return On(e,...t)},Ic=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Uc=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=v=>i("reference",v.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),p=Mc(On(s,l,u)),c=([v,h],d)=>{const f=[d,v].filter(Boolean).join(".");return typeof h=="object"?Object.entries(h).flatMap(_=>c(_,f)):[[r.getToken("declaration",f),h]]};return{values:p,declarations:Object.fromEntries(Object.entries(p).flatMap(v=>c(v))),ref:v=>i("reference",v.toString())}}})})})});const[Tn,Dn,Wc]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Hc=Uc().core(({theme:e})=>({color:{transparent:Wc,black:Tn,white:Dn,lowest:e.mode==="light"?Dn:Tn,highest:e.mode==="light"?Tn:Dn,...ni({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:ri}),...ni({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:ri})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),zc=Ic({prefix:"i-"}),Bc=e=>{const t=Hc.from({theme:e,getToken:zc}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Rc} {
|
|
42
42
|
${n.concat(n).join(`
|
|
43
43
|
`)}
|
|
44
|
-
}`},ni=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Lc=({error:e})=>e?E("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[E("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),E("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),E("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),E("p",{class:"pr-1 text-sm",children:e})]}):null,On="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",Fc=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",Mc=U(({class:e,...t},n)=>E("button",{ref:n,class:bn("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",e),onTouchStart:ri,...t,children:[E(tr,{class:"flex-none",name:"bell"})," ",E("span",{class:"min-w-0 truncate text-center",children:Ie.config$.value.label})]})),Hc=()=>E("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:Ie.config$.value.headerText});function ri(){}const Wc=({theme:e,apiClient:t,logger:n})=>{const[r,o]=T("idle"),[i,a]=T(),s=async u=>{var m,h,v;if(u.preventDefault(),r!=="idle")return;const l=new FormData(u.currentTarget),d=(m=l.get("name"))==null?void 0:m.toString(),[c,...p]=(d==null?void 0:d.split(" "))??[],f=p.join(" ");o("loading"),await Promise.all([new Promise(_=>setTimeout(_,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(h=l.get("email"))==null?void 0:h.toString(),first_name:c,last_name:f},alerts:(v=l.get("frequency"))==null?void 0:v.toString(),filters:Ie.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(Fc(_)),o("idle")})};return E("div",{id:"ija",children:E("div",{class:ni(e).join(" "),children:E(_c,{children:[E(mc,{asChild:!0,children:E(Mc,{})}),E(wc,{children:E("div",{id:"ija",children:E("div",{class:bn("absolute isolate z-50",ni(e).join(" ")),children:E(gc,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[E(Hc,{}),E("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[E("div",{children:[E("fieldset",{class:"fieldset relative focus-within:z-10",children:[E("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),E("input",{name:"email",autocomplete:"email",class:On,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),E("fieldset",{class:"fieldset relative focus-within:z-10",children:[E("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),E("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:On,id:"ija-name",placeholder:"Full Name"})]}),E("fieldset",{class:"fieldset relative focus-within:z-10",children:[E("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),E("select",{disabled:r==="loading",class:bn(On,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[E("option",{value:"INSTANTLY",children:"Instantly"}),E("option",{value:"DAILY",children:"Daily"}),E("option",{value:"WEEKLY",children:"Weekly"}),E("option",{value:"MONTHLY",children:"Monthly"})]}),E("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:E(tr,{name:"chevron-up-down"})})]})]}),E("button",{onTouchStart:ri,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[E("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),E("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:E("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),E("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),E(Lc,{error:i})]})]})})})})]})})})},Uc=`#ija{font-size:16px;--tw-content: ""}#ija *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ija :before,#ija :after{box-sizing:border-box}#ija :is(a){text-decoration:none}#ija :is(ul,ol){list-style:none;padding:0;margin:0}#ija :is(p){margin:0;padding:0}#ija :is(li){margin:0;padding:0;list-style:none}#ija :is(fieldset){margin:0;padding:0}#ija :is(button),#ija :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ija :is(input),#ija :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ija :is(svg){display:block}@media (prefers-reduced-motion){#ija *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ija *,#ija :before,#ija :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#ija ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#ija .container{width:100%}@media (min-width: 640px){#ija .container{max-width:640px}}@media (min-width: 768px){#ija .container{max-width:768px}}@media (min-width: 1024px){#ija .container{max-width:1024px}}@media (min-width: 1280px){#ija .container{max-width:1280px}}@media (min-width: 1536px){#ija .container{max-width:1536px}}#ija .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ija .visible{visibility:visible}#ija .invisible{visibility:hidden}#ija .collapse{visibility:collapse}#ija .static{position:static}#ija .fixed{position:fixed}#ija .absolute{position:absolute}#ija .relative{position:relative}#ija .sticky{position:sticky}#ija .bottom-0{bottom:0}#ija .right-0{right:0}#ija .top-0{top:0}#ija .isolate{isolation:isolate}#ija .z-50{z-index:50}#ija .col-span-full{grid-column:1 / -1}#ija .row-span-full{grid-row:1 / -1}#ija .mt-0{margin-top:0}#ija .mt-0\\.5{margin-top:.125rem}#ija .block{display:block}#ija .inline-block{display:inline-block}#ija .inline{display:inline}#ija .flex{display:flex}#ija .inline-flex{display:inline-flex}#ija .table{display:table}#ija .table-row{display:table-row}#ija .flow-root{display:flow-root}#ija .grid{display:grid}#ija .inline-grid{display:inline-grid}#ija .contents{display:contents}#ija .list-item{display:list-item}#ija .\\!hidden{display:none!important}#ija .hidden{display:none}#ija .h-4{height:1rem}#ija .w-4{width:1rem}#ija .w-64{width:16rem}#ija .w-full{width:100%}#ija .min-w-0{min-width:0px}#ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ija .max-w-full{max-width:100%}#ija .flex-none{flex:none}#ija .flex-shrink,#ija .shrink{flex-shrink:1}#ija .flex-grow,#ija .grow{flex-grow:1}#ija .border-collapse{border-collapse:collapse}#ija .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .resize{resize:both}#ija .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ija .flex-col{flex-direction:column}#ija .flex-wrap{flex-wrap:wrap}#ija .items-start{align-items:flex-start}#ija .items-center{align-items:center}#ija .justify-center{justify-content:center}#ija .gap-1{gap:.25rem}#ija .gap-1\\.5{gap:.375rem}#ija .gap-2{gap:.5rem}#ija .gap-2\\.5{gap:.625rem}#ija .overflow-hidden{overflow:hidden}#ija .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ija .rounded-lg{border-radius:var(--i-radius-lg)}#ija .border{border-width:1px}#ija .bg-accent-9{background-color:var(--i-color-a-9)}#ija .bg-lowest{background-color:var(--i-color-lowest)}#ija .bg-neutral-1{background-color:var(--i-color-n-1)}#ija .p-1{padding:.25rem}#ija .p-2{padding:.5rem}#ija .px-2{padding-left:.5rem;padding-right:.5rem}#ija .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ija .px-3{padding-left:.75rem;padding-right:.75rem}#ija .px-4{padding-left:1rem;padding-right:1rem}#ija .px-5{padding-left:1.25rem;padding-right:1.25rem}#ija .py-1{padding-top:.25rem;padding-bottom:.25rem}#ija .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ija .py-2{padding-top:.5rem;padding-bottom:.5rem}#ija .pb-4{padding-bottom:1rem}#ija .pl-2{padding-left:.5rem}#ija .pl-2\\.5{padding-left:.625rem}#ija .pr-1{padding-right:.25rem}#ija .pr-8{padding-right:2rem}#ija .pt-1{padding-top:.25rem}#ija .text-center{text-align:center}#ija .text-justify{text-align:justify}#ija .text-base{font-size:1rem;line-height:1.5rem}#ija .text-sm{font-size:.875rem;line-height:1.25rem}#ija .font-medium{font-weight:500}#ija .uppercase{text-transform:uppercase}#ija .lowercase{text-transform:lowercase}#ija .capitalize{text-transform:capitalize}#ija .italic{font-style:italic}#ija .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ija .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ija .text-accent-1{color:var(--i-color-a-1)}#ija .text-accent-11{color:var(--i-color-a-11)}#ija .text-neutral-10{color:var(--i-color-n-10)}#ija .text-neutral-11{color:var(--i-color-n-11)}#ija .opacity-0{opacity:0}#ija .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .outline-none{outline:2px solid transparent;outline-offset:2px}#ija .outline{outline-style:solid}#ija .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-1,#ija .ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ija .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ija .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ija .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .duration-medium{transition-duration:var(--i-duration-medium)}#ija .duration-snappy{transition-duration:var(--i-duration-snappy)}#ija .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ija .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ija .fr{outline:none}#ija .fr:focus{outline:none}#ija .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .rounded-field-input{border-radius:0}#ija .fieldset:first-child .rounded-field-input{border-top-left-radius:var(--i-radius-md);border-top-right-radius:var(--i-radius-md)}#ija .fieldset:last-child .rounded-field-input{border-bottom-left-radius:var(--i-radius-md);border-bottom-right-radius:var(--i-radius-md)}@keyframes loading-circle{0%{stroke-dasharray:0 56.54}to{stroke-dasharray:56.54 56.54}}#ija .loading-circle{stroke-dasharray:56.54 56.54}#ija [data-state=loading] .loading-circle{animation:loading-circle 1s linear}@keyframes done-checkmark{0%{stroke-dasharray:0 8.6}to{stroke-dasharray:8.6 8.6}}#ija .done-checkmark{stroke-dashoffset:-1;stroke-dasharray:0 8.6;opacity:0}#ija [data-state=success] .done-checkmark{opacity:1;animation:done-checkmark .9s cubic-bezier(.16,1,.3,1)}#ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .focus-within\\:z-10:focus-within{z-index:10}#ija .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes slideUpAndFade{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open]{animation:slideUpAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideRightAndFade{0%{opacity:0;transform:translate(-2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open]{animation:slideRightAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideLeftAndFade{0%{opacity:0;transform:translate(2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open]{animation:slideLeftAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideDownAndFade{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open]{animation:slideDownAndFade .4s cubic-bezier(.16,1,.3,1)}#ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}#ija .dark .theme-dark\\:text-highest{color:var(--i-color-highest)}#ija .dark .theme-dark\\:active\\:bg-accent-8:active{background-color:var(--i-color-a-8)}#ija .fill .theme-fill\\:bg-accent-2{background-color:var(--i-color-a-2)}#ija .fill .theme-fill\\:hover\\:bg-accent-3:hover{background-color:var(--i-color-a-3)}#ija .fill .theme-fill\\:active\\:bg-accent-4:active{background-color:var(--i-color-a-4)}#ija .stroke .theme-stroke\\:ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .stroke .theme-stroke\\:ring-accent-4{--tw-ring-color: var(--i-color-a-4)}#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover{--tw-ring-color: var(--i-color-a-9)}
|
|
45
|
-
`,
|
|
44
|
+
}`},oi=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Vc=({error:e})=>e?k("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[k("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[k("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),k("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),k("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),k("p",{class:"pr-1 text-sm",children:e})]}):null,Rn="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",Yc=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",Xc=Y(({class:e,...t},n)=>k("button",{ref:n,class:En("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",e),onTouchStart:ii,...t,children:[k(ar,{class:"flex-none",name:"bell"})," ",k("span",{class:"min-w-0 truncate text-center",children:Ve.config$.value.label})]})),Kc=()=>k("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:Ve.config$.value.headerText});function ii(){}const qc=({theme:e,apiClient:t,logger:n})=>{const[r,o]=L("idle"),[i,a]=L();return k("div",{id:"ija",children:k("div",{class:oi(e).join(" "),children:k(Ec,{children:[k(Sc,{asChild:!0,children:k(Xc,{})}),k(Cc,{children:k("div",{id:"ija",children:k("div",{class:En("absolute isolate z-50",oi(e).join(" ")),children:k(Pc,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[k(Kc,{}),k("form",{onSubmit:async s=>{var h,d,f;if(s.preventDefault(),r!=="idle")return;const l=new FormData(s.currentTarget),u=(h=l.get("name"))==null?void 0:h.toString(),[p,...c]=(u==null?void 0:u.split(" "))??[],v=c.join(" ");o("loading"),await Promise.all([new Promise(_=>setTimeout(_,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(d=l.get("email"))==null?void 0:d.toString(),first_name:p,last_name:v},alerts:(f=l.get("frequency"))==null?void 0:f.toString(),filters:Ve.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(Yc(_)),o("idle")})},class:"flex flex-col gap-2.5",children:[k("div",{children:[k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),k("input",{name:"email",autocomplete:"email",class:Rn,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),k("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Rn,id:"ija-name",placeholder:"Full Name"})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),k("select",{disabled:r==="loading",class:En(Rn,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[k("option",{value:"INSTANTLY",children:"Instantly"}),k("option",{value:"DAILY",children:"Daily"}),k("option",{value:"WEEKLY",children:"Weekly"}),k("option",{value:"MONTHLY",children:"Monthly"})]}),k("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:k(ar,{name:"chevron-up-down"})})]})]}),k("button",{onTouchStart:ii,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[k("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),k("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:k("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[k("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),k("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),k(Vc,{error:i})]})]})})})})]})})})},Zc=`#ija{font-size:16px;--tw-content: ""}#ija *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ija :before,#ija :after{box-sizing:border-box}#ija :is(a){text-decoration:none}#ija :is(ul,ol){list-style:none;padding:0;margin:0}#ija :is(p){margin:0;padding:0}#ija :is(li){margin:0;padding:0;list-style:none}#ija :is(fieldset){margin:0;padding:0}#ija :is(button),#ija :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ija :is(input),#ija :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ija :is(svg){display:block}@media (prefers-reduced-motion){#ija *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ija *,#ija :before,#ija :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ija ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ija .container{width:100%}@media (min-width: 640px){#ija .container{max-width:640px}}@media (min-width: 768px){#ija .container{max-width:768px}}@media (min-width: 1024px){#ija .container{max-width:1024px}}@media (min-width: 1280px){#ija .container{max-width:1280px}}@media (min-width: 1536px){#ija .container{max-width:1536px}}#ija .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ija .visible{visibility:visible}#ija .invisible{visibility:hidden}#ija .collapse{visibility:collapse}#ija .static{position:static}#ija .fixed{position:fixed}#ija .absolute{position:absolute}#ija .relative{position:relative}#ija .sticky{position:sticky}#ija .bottom-0{bottom:0}#ija .right-0{right:0}#ija .top-0{top:0}#ija .isolate{isolation:isolate}#ija .z-50{z-index:50}#ija .col-span-full{grid-column:1 / -1}#ija .row-span-full{grid-row:1 / -1}#ija .mt-0\\.5{margin-top:.125rem}#ija .block{display:block}#ija .inline-block{display:inline-block}#ija .inline{display:inline}#ija .flex{display:flex}#ija .inline-flex{display:inline-flex}#ija .table{display:table}#ija .table-row{display:table-row}#ija .flow-root{display:flow-root}#ija .grid{display:grid}#ija .inline-grid{display:inline-grid}#ija .contents{display:contents}#ija .list-item{display:list-item}#ija .\\!hidden{display:none!important}#ija .hidden{display:none}#ija .h-4{height:1rem}#ija .w-4{width:1rem}#ija .w-64{width:16rem}#ija .w-full{width:100%}#ija .min-w-0{min-width:0px}#ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ija .max-w-full{max-width:100%}#ija .flex-none{flex:none}#ija .flex-shrink,#ija .shrink{flex-shrink:1}#ija .flex-grow,#ija .grow{flex-grow:1}#ija .border-collapse{border-collapse:collapse}#ija .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .resize{resize:both}#ija .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ija .flex-col{flex-direction:column}#ija .flex-wrap{flex-wrap:wrap}#ija .items-start{align-items:flex-start}#ija .items-center{align-items:center}#ija .justify-center{justify-content:center}#ija .gap-1\\.5{gap:.375rem}#ija .gap-2{gap:.5rem}#ija .gap-2\\.5{gap:.625rem}#ija .overflow-hidden{overflow:hidden}#ija .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ija .rounded-lg{border-radius:var(--i-radius-lg)}#ija .border{border-width:1px}#ija .bg-accent-9{background-color:var(--i-color-a-9)}#ija .bg-lowest{background-color:var(--i-color-lowest)}#ija .bg-neutral-1{background-color:var(--i-color-n-1)}#ija .p-1{padding:.25rem}#ija .p-2{padding:.5rem}#ija .px-2{padding-left:.5rem;padding-right:.5rem}#ija .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ija .px-3{padding-left:.75rem;padding-right:.75rem}#ija .px-4{padding-left:1rem;padding-right:1rem}#ija .px-5{padding-left:1.25rem;padding-right:1.25rem}#ija .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ija .py-2{padding-top:.5rem;padding-bottom:.5rem}#ija .pb-4{padding-bottom:1rem}#ija .pl-2{padding-left:.5rem}#ija .pl-2\\.5{padding-left:.625rem}#ija .pr-1{padding-right:.25rem}#ija .pr-8{padding-right:2rem}#ija .pt-1{padding-top:.25rem}#ija .text-center{text-align:center}#ija .text-justify{text-align:justify}#ija .text-base{font-size:1rem;line-height:1.5rem}#ija .text-sm{font-size:.875rem;line-height:1.25rem}#ija .font-medium{font-weight:500}#ija .uppercase{text-transform:uppercase}#ija .lowercase{text-transform:lowercase}#ija .capitalize{text-transform:capitalize}#ija .italic{font-style:italic}#ija .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ija .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ija .text-accent-1{color:var(--i-color-a-1)}#ija .text-accent-11{color:var(--i-color-a-11)}#ija .text-neutral-10{color:var(--i-color-n-10)}#ija .text-neutral-11{color:var(--i-color-n-11)}#ija .underline{text-decoration-line:underline}#ija .opacity-0{opacity:0}#ija .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .outline-none{outline:2px solid transparent;outline-offset:2px}#ija .outline{outline-style:solid}#ija .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-1,#ija .ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ija .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ija .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ija .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .duration-medium{transition-duration:var(--i-duration-medium)}#ija .duration-snappy{transition-duration:var(--i-duration-snappy)}#ija .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ija .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ija .fr{outline:none}#ija .fr:focus{outline:none}#ija .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .rounded-field-input{border-radius:0}#ija .fieldset:first-child .rounded-field-input{border-top-left-radius:var(--i-radius-md);border-top-right-radius:var(--i-radius-md)}#ija .fieldset:last-child .rounded-field-input{border-bottom-left-radius:var(--i-radius-md);border-bottom-right-radius:var(--i-radius-md)}@keyframes loading-circle{0%{stroke-dasharray:0 56.54}to{stroke-dasharray:56.54 56.54}}#ija .loading-circle{stroke-dasharray:56.54 56.54}#ija [data-state=loading] .loading-circle{animation:loading-circle 1s linear}@keyframes done-checkmark{0%{stroke-dasharray:0 8.6}to{stroke-dasharray:8.6 8.6}}#ija .done-checkmark{stroke-dashoffset:-1;stroke-dasharray:0 8.6;opacity:0}#ija [data-state=success] .done-checkmark{opacity:1;animation:done-checkmark .9s cubic-bezier(.16,1,.3,1)}#ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .focus-within\\:z-10:focus-within{z-index:10}#ija .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes slideUpAndFade{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open]{animation:slideUpAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideRightAndFade{0%{opacity:0;transform:translate(-2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open]{animation:slideRightAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideLeftAndFade{0%{opacity:0;transform:translate(2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open]{animation:slideLeftAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideDownAndFade{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open]{animation:slideDownAndFade .4s cubic-bezier(.16,1,.3,1)}#ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}#ija .dark .theme-dark\\:text-highest{color:var(--i-color-highest)}#ija .dark .theme-dark\\:active\\:bg-accent-8:active{background-color:var(--i-color-a-8)}#ija .fill .theme-fill\\:bg-accent-2{background-color:var(--i-color-a-2)}#ija .fill .theme-fill\\:hover\\:bg-accent-3:hover{background-color:var(--i-color-a-3)}#ija .fill .theme-fill\\:active\\:bg-accent-4:active{background-color:var(--i-color-a-4)}#ija .stroke .theme-stroke\\:ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .stroke .theme-stroke\\:ring-accent-4{--tw-ring-color: var(--i-color-a-4)}#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover{--tw-ring-color: var(--i-color-a-9)}
|
|
45
|
+
`,Gc=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ti}`);if(!e)throw new Error(`Element with id ${ti} not found.`);return e}}))(),Qc=()=>ui(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>$(H,{},[[$("style",{id:"inploi-job-alerts-styles"},Zc),$("style",{id:"inploi-job-search-theme"},Bc(s.theme))],$(Ci,{theme:s.theme}),$(qc,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>Ve.filters$.value=s,a=s=>Ve.config$.value=typeof s=="function"?s(Ve.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:$i($(H,{},$(o,{params:s})))}),render:async s=>{const l=r?Yt:Ae;li(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),l($(o,{params:s}),Gc.getRenderTargetElement())},setFilters:i,setConfig:a}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobAlertsPlugin=Qc})();
|