@flarehr/superhero-salpac-profile-admin 1.0.656 → 1.0.657

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.
@@ -1,4 +1,4 @@
1
- var __defProp=Object.defineProperty,__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateAdd=(e,t,n)=>t.has(e)?__typeError("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),__privateSet=(e,t,n,r)=>(__accessCheck(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n),__privateWrapper=(e,t,n,r)=>({set _(r){__privateSet(e,t,r,n)},get _(){return __privateGet(e,t,r)}});!function(){"use strict";var e,t,n,r,i,o,a,s,l,c,u,d,p,f,h,v,m,g,_,y,w,b,x,k,S,E,C,T,P,A,R,O,M,L,F,I,D,G,N,H,W,$,j,U,B,q,z,V,Q,K,Y,X,Z,J,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,pe,fe,he,ve,me,ge,_e,ye,we,be,xe={},ke=[],Se=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ee=Array.isArray;function Ce(e,t){for(var n in t)e[n]=t[n];return e}function Te(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Pe(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?de.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return Ae(e,a,r,i,null)}function Ae(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++fe:i,__i:-1,__u:0};return null==i&&null!=pe.vnode&&pe.vnode(o),o}function Re(){return{current:null}}function Oe(e){return e.children}function Me(e,t){this.props=e,this.context=t}function Le(e,t){if(null==t)return e.__?Le(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Le(e):null}function Fe(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Fe(e)}}function Ie(e){(!e.__d&&(e.__d=!0)&&he.push(e)&&!De.__r++||ve!==pe.debounceRendering)&&((ve=pe.debounceRendering)||me)(De)}function De(){var e,t,n,r,i,o,a,s;for(he.sort(ge);e=he.shift();)e.__d&&(t=he.length,r=void 0,o=(i=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ce({},i)).__v=i.__v+1,pe.vnode&&pe.vnode(r),Be(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,a,null==o?Le(i):o,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,qe(a,r,s),r.__e!=o&&Fe(r)),he.length>t&&he.sort(ge));De.__r=0}function Ge(e,t,n,r,i,o,a,s,l,c,u){var d,p,f,h,v,m=r&&r.__k||ke,g=t.length;for(n.__d=l,function(e,t,n){var r,i,o,a,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+d,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?Ae(null,i,null,null,null):Ee(i)?Ae(Oe,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?Ae(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=We(i,n,a,u))&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?d--:s==a+1?d++:(s>a?d--:d++,i.__u|=65536))):i=e.__k[r]=null;if(u)for(r=0;r<c;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Le(o)),Ve(o,o))}(n,t,m),l=n.__d,d=0;d<g;d++)null!=(f=n.__k[d])&&(p=-1===f.__i?xe:m[f.__i]||xe,f.__i=d,Be(e,f,p,i,o,a,s,l,c,u),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&ze(p.ref,null,f),u.push(f.ref,f.__c||h,f)),null==v&&null!=h&&(v=h),65536&f.__u||p.__k===f.__k?l=Ne(f,l,e):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=v}function Ne(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=Ne(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Le(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function He(e,t){return t=t||[],null==e||"boolean"==typeof e||(Ee(e)?e.some((function(e){He(e,t)})):t.push(e)),t}function We(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function $e(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||Se.test(t)?n:n+"px"}function je(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||$e(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||$e(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=_e,e.addEventListener(t,o?we:ye,o)):e.removeEventListener(t,o?we:ye,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function Ue(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=_e++;else if(t.t<n.u)return;return n(pe.event?pe.event(t):t)}}}function Be(e,t,n,r,i,o,a,s,l,c){var u,d,p,f,h,v,m,g,_,y,w,b,x,k,S,E,C=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(u=pe.__b)&&u(t);e:if("function"==typeof C)try{if(g=t.props,_="prototype"in C&&C.prototype.render,y=(u=C.contextType)&&r[u.__c],w=u?y?y.props.value:u.__:r,n.__c?m=(d=t.__c=n.__c).__=d.__E:(_?t.__c=d=new C(g,w):(t.__c=d=new Me(g,w),d.constructor=C,d.render=Qe),y&&y.sub(d),d.props=g,d.state||(d.state={}),d.context=w,d.__n=r,p=d.__d=!0,d.__h=[],d._sb=[]),_&&null==d.__s&&(d.__s=d.state),_&&null!=C.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Ce({},d.__s)),Ce(d.__s,C.getDerivedStateFromProps(g,d.__s))),f=d.props,h=d.state,d.__v=t,p)_&&null==C.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),_&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(_&&null==C.getDerivedStateFromProps&&g!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,w),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=g,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,w),_&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(f,h,v)}))}if(d.context=w,d.props=g,d.__P=e,d.__e=!1,x=pe.__r,k=0,_){for(d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),S=0;S<d._sb.length;S++)d.__h.push(d._sb[S]);d._sb=[]}else do{d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(r=Ce(Ce({},r),d.getChildContext())),_&&!p&&null!=d.getSnapshotBeforeUpdate&&(v=d.getSnapshotBeforeUpdate(f,h)),Ge(e,Ee(E=null!=u&&u.type===Oe&&null==u.key?u.props.children:u)?E:[E],t,n,r,i,o,a,s,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(T){if(t.__v=null,l||null!=o){for(t.__u|=l?160:128;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;pe.__e(T,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,i,o,a,s,l){var c,u,d,p,f,h,v,m=n.props,g=t.props,_=t.type;if("svg"===_?i="http://www.w3.org/2000/svg":"math"===_?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(c=0;c<o.length;c++)if((f=o[c])&&"setAttribute"in f==!!_&&(_?f.localName===_:3===f.nodeType)){e=f,o[c]=null;break}if(null==e){if(null===_)return document.createTextNode(g);e=document.createElementNS(i,_,g.is&&g),s&&(pe.__m&&pe.__m(t,o),s=!1),o=null}if(null===_)m===g||s&&e.data===g||(e.data=g);else{if(o=o&&de.call(e.childNodes),m=n.props||xe,!s&&null!=o)for(m={},c=0;c<e.attributes.length;c++)m[(f=e.attributes[c]).name]=f.value;for(c in m)if(f=m[c],"children"==c);else if("dangerouslySetInnerHTML"==c)d=f;else if(!(c in g)){if("value"==c&&"defaultValue"in g||"checked"==c&&"defaultChecked"in g)continue;je(e,c,null,f,i)}for(c in g)f=g[c],"children"==c?p=f:"dangerouslySetInnerHTML"==c?u=f:"value"==c?h=f:"checked"==c?v=f:s&&"function"!=typeof f||m[c]===f||je(e,c,f,m[c],i);if(u)s||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),Ge(e,Ee(p)?p:[p],t,n,r,"foreignObject"===_?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&Le(n,0),s,l),null!=o)for(c=o.length;c--;)Te(o[c]);s||(c="value","progress"===_&&null==h?e.removeAttribute("value"):void 0!==h&&(h!==e[c]||"progress"===_&&!h||"option"===_&&h!==m[c])&&je(e,c,h,m[c],i),c="checked",void 0!==v&&v!==e[c]&&je(e,c,v,m[c],i))}return e}(n.__e,t,n,r,i,o,a,l,c);(u=pe.diffed)&&u(t)}function qe(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ze(n[r],n[++r],n[++r]);pe.__c&&pe.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(n){pe.__e(n,t.__v)}}))}function ze(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(i){pe.__e(i,n)}}function Ve(e,t,n){var r,i;if(pe.unmount&&pe.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ze(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){pe.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Ve(r[i],t,n||"function"!=typeof e.type);n||Te(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Qe(e,t,n){return this.constructor(e,n)}function Ke(e,t,n){var r,i,o,a;pe.__&&pe.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],Be(t,e=(!r&&n||t).__k=Pe(Oe,null,[e]),i||xe,xe,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?de.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),qe(o,e,a)}function Ye(e,t){Ke(e,t,Ye)}function Xe(e,t,n){var r,i,o,a,s=Ce({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=void 0===t[o]&&void 0!==a?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?de.call(arguments,2):n),Ae(e.type,s,r||e.key,i||e.ref,null)}function Ze(e,t){var n={__c:t="__cC"+be++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,Ie(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}function Je(){return(Je=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}).apply(this,arguments)}de=ke.slice,pe={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},fe=0,Me.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Ce({},this.state),"function"==typeof e&&(e=e(Ce({},n),this.props)),e&&Ce(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Ie(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ie(this))},Me.prototype.render=Oe,he=[],me="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ge=function(e,t){return e.__v.__b-t.__v.__b},De.__r=0,_e=0,ye=Ue(!1),we=Ue(!0),be=0;var et=["context","children"];function tt(e){return this.getChildContext=function(){return e.context},Xe(e.children,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,et))}function nt(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Pe(tt,Je({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],i={},o=0,a=t.attributes,s=t.childNodes;for(o=a.length;o--;)"slot"!==a[o].name&&(i[a[o].name]=a[o].value,i[rt(a[o].name)]=a[o].value);for(o=s.length;o--;){var l=e(s[o],null),c=s[o].slot;c?i[c]=Pe(at,{name:c},l):r[o]=l}var u=n?Pe(at,null,r):r;return Pe(n||t.nodeName.toLowerCase(),i,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ye:Ke)(this._vdom,this._root)}function rt(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function it(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[rt(e)]=n,this._vdom=Xe(this._vdom,r),Ke(this._vdom,this._root)}}function ot(){Ke(this._vdom=null,this._root)}function at(e,t){var n=this;return Pe("slot",Je({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}var st,lt,ct,ut,dt=0,pt=[],ft=pe,ht=ft.__b,vt=ft.__r,mt=ft.diffed,gt=ft.__c,_t=ft.unmount,yt=ft.__;function wt(e,t){ft.__h&&ft.__h(lt,e,dt||t),dt=0;var n=lt.__H||(lt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function bt(e){return dt=1,xt(Nt,e)}function xt(e,t,n){var r=wt(st++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Nt(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=lt,!lt.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};lt.u=!0;var o=lt.shouldComponentUpdate,a=lt.componentWillUpdate;lt.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},lt.shouldComponentUpdate=i}return r.__N||r.__}function kt(e,t){var n=wt(st++,3);!ft.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,lt.__H.__h.push(n))}function St(e,t){var n=wt(st++,4);!ft.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,lt.__h.push(n))}function Et(e){return dt=5,Tt((function(){return{current:e}}),[])}function Ct(e,t,n){dt=6,St((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function Tt(e,t){var n=wt(st++,7);return Gt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Pt(e,t){return dt=8,Tt((function(){return e}),t)}function At(e){var t=lt.context[e.__c],n=wt(st++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(lt)),t.props.value):e.__}function Rt(e,t){ft.useDebugValue&&ft.useDebugValue(t?t(e):e)}function Ot(){var e=wt(st++,11);if(!e.__){for(var t=lt.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Mt(){for(var e;e=pt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(It),e.__H.__h.forEach(Dt),e.__H.__h=[]}catch(ns){e.__H.__h=[],ft.__e(ns,e.__v)}}ft.__b=function(e){lt=null,ht&&ht(e)},ft.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),yt&&yt(e,t)},ft.__r=function(e){vt&&vt(e),st=0;var t=(lt=e.__c).__H;t&&(ct===lt?(t.__h=[],lt.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(It),t.__h.forEach(Dt),t.__h=[],st=0)),ct=lt},ft.diffed=function(e){mt&&mt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==pt.push(t)&&ut===ft.requestAnimationFrame||((ut=ft.requestAnimationFrame)||Ft)(Mt)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),ct=lt=null},ft.__c=function(e,t){t.some((function(e){try{e.__h.forEach(It),e.__h=e.__h.filter((function(e){return!e.__||Dt(e)}))}catch(Na){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ft.__e(Na,e.__v)}})),gt&&gt(e,t)},ft.unmount=function(e){_t&&_t(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{It(e)}catch(n){t=n}})),n.__H=void 0,t&&ft.__e(t,n.__v))};var Lt="function"==typeof requestAnimationFrame;function Ft(e){var t,n=function(){clearTimeout(r),Lt&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Lt&&(t=requestAnimationFrame(n))}function It(e){var t=lt,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),lt=t}function Dt(e){var t=lt;e.__c=e.__(),lt=t}function Gt(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Nt(e,t){return"function"==typeof t?t(e):t}class Ht extends Error{constructor(e,t){super(e),__publicField(this,"_response"),this._response=t,Object.setPrototypeOf(this,Ht.prototype)}get response(){return this._response}}const Wt=async(e,t,n,r,i)=>{const o=await fetch(e,{method:n,body:r?JSON.stringify(r):void 0,headers:{"content-type":"application/json","x-app-version":"1.0.656",authorization:`Bearer ${t}`},signal:(null==AbortSignal?void 0:AbortSignal.timeout)&&AbortSignal.timeout(15e3)});if(!o.ok)throw new Ht(`[API Error] Status: ${o.statusText}`,o);return i?{}:await o.json()};let $t;function jt(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ut(e,t){this.props=e,this.context=t}function Bt(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:jt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Pe(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ut.prototype=new Me).isPureReactComponent=!0,Ut.prototype.shouldComponentUpdate=function(e,t){return jt(this.props,e)||jt(this.state,t)};var qt=pe.__b;pe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),qt&&qt(e)};var zt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Vt(e){function t(t){if(!("ref"in t))return e(t,null);var n=t.ref;delete t.ref;var r=e(t,n);return t.ref=n,r}return t.$$typeof=zt,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Qt=function(e,t){return null==e?null:He(He(e).map(t))},Kt={map:Qt,forEach:Qt,count:function(e){return e?He(e).length:0},only:function(e){var t=He(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:He},Yt=pe.__e;pe.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Yt(e,t,n,r)};var Xt=pe.unmount;function Zt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Zt(e,t,n)}))),e}function Jt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Jt(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function en(){this.__u=0,this.t=null,this.__b=null}function tn(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function nn(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return Pe(n,i)}return i.displayName="Lazy",i.__f=!0,i}function rn(){this.u=null,this.o=null}pe.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Xt&&Xt(e)},(en.prototype=new Me).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=tn(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Jt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},en.prototype.componentWillUnmount=function(){this.t=[]},en.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]=Zt(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&Pe(Oe,null,e.fallback);return i&&(i.__u&=-33),[Pe(Oe,null,t.__a?null:e.children),i]};var on=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!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 an(e){return this.getChildContext=function(){return e.context},e.children}function sn(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ke(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Ke(Pe(an,{context:t.context},e.__v),t.l)}function ln(e,t){var n=Pe(sn,{__v:e,i:t});return n.containerInfo=t,n}(rn.prototype=new Me).__a=function(e){var t=this,n=tn(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),on(t,e,r)):i()};n?n(o):o()}},rn.prototype.render=function(e){this.u=null,this.o=new Map;var t=He(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},rn.prototype.componentDidUpdate=rn.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){on(e,n,t)}))};var cn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,un=/^(?: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]/,dn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,pn=/[A-Z0-9]/g,fn="undefined"!=typeof document,hn=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function vn(e,t,n){return null==t.__k&&(t.textContent=""),Ke(e,t),"function"==typeof n&&n(),e?e.__c:null}function mn(e,t,n){return Ye(e,t),"function"==typeof n&&n(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var gn=pe.event;function _n(){}function yn(){return this.cancelBubble}function wn(){return this.defaultPrevented}pe.event=function(e){return gn&&(e=gn(e)),e.persist=_n,e.isPropagationStopped=yn,e.isDefaultPrevented=wn,e.nativeEvent=e};var bn,xn={enumerable:!1,configurable:!0,get:function(){return this.class}},kn=pe.vnode;pe.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||fn&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||hn(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":dn.test(o)&&(o=s):s=o="oninput":i&&un.test(o)?o=o.replace(pn,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=He(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=He(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",xn)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=cn,kn&&kn(e)};var Sn=pe.__r;pe.__r=function(e){Sn&&Sn(e),bn=e.__c};var En=pe.diffed;pe.diffed=function(e){En&&En(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),bn=null};var Cn={ReactCurrentDispatcher:{current:{readContext:function(e){return bn.__n[e.__c].props.value},useCallback:Pt,useContext:At,useDebugValue:Rt,useDeferredValue:Nn,useEffect:kt,useId:Ot,useImperativeHandle:Ct,useInsertionEffect:Wn,useLayoutEffect:St,useMemo:Tt,useReducer:xt,useRef:Et,useState:bt,useSyncExternalStore:jn,useTransition:Hn}}};function Tn(e){return Pe.bind(null,e)}function Pn(e){return!!e&&e.$$typeof===cn}function An(e){return Pn(e)&&e.type===Oe}function Rn(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function On(e){return Pn(e)?Xe.apply(null,arguments):e}function Mn(e){return!!e.__k&&(Ke(null,e),!0)}function Ln(e){return e&&(e.base||1===e.nodeType&&e)||null}var Fn=function(e,t){return e(t)},In=function(e,t){return e(t)},Dn=Oe;function Gn(e){e()}function Nn(e){return e}function Hn(){return[!1,Gn]}var Wn=St,$n=Pn;function jn(e,t){var n=t(),r=bt({h:{__:n,v:t}}),i=r[0].h,o=r[1];return St((function(){i.__=n,i.v=t,Un(i)&&o({h:i})}),[e,n,t]),kt((function(){return Un(i)&&o({h:i}),e((function(){Un(i)&&o({h:i})}))}),[e]),n}function Un(e){var t,n,r=e.v,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(a){return!0}}var Bn={useState:bt,useId:Ot,useReducer:xt,useEffect:kt,useLayoutEffect:St,useInsertionEffect:Wn,useTransition:Hn,useDeferredValue:Nn,useSyncExternalStore:jn,startTransition:Gn,useRef:Et,useImperativeHandle:Ct,useMemo:Tt,useCallback:Pt,useContext:At,useDebugValue:Rt,version:"18.3.1",Children:Kt,render:vn,hydrate:mn,unmountComponentAtNode:Mn,createPortal:ln,createElement:Pe,createContext:Ze,createFactory:Tn,cloneElement:On,createRef:Re,Fragment:Oe,isValidElement:Pn,isElement:$n,isFragment:An,isMemo:Rn,findDOMNode:Ln,Component:Me,PureComponent:Ut,memo:Bt,forwardRef:Vt,flushSync:In,unstable_batchedUpdates:Fn,StrictMode:Dn,Suspense:en,SuspenseList:rn,lazy:nn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn};const qn=Object.freeze(Object.defineProperty({__proto__:null,Children:Kt,Component:Me,Fragment:Oe,PureComponent:Ut,StrictMode:Dn,Suspense:en,SuspenseList:rn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn,cloneElement:On,createContext:Ze,createElement:Pe,createFactory:Tn,createPortal:ln,createRef:Re,default:Bn,findDOMNode:Ln,flushSync:In,forwardRef:Vt,hydrate:mn,isElement:$n,isFragment:An,isMemo:Rn,isValidElement:Pn,lazy:nn,memo:Bt,render:vn,startTransition:Gn,unmountComponentAtNode:Mn,unstable_batchedUpdates:Fn,useCallback:Pt,useContext:At,useDebugValue:Rt,useDeferredValue:Nn,useEffect:kt,useErrorBoundary:function(e){var t=wt(st++,10),n=bt();return t.__=e,lt.componentDidCatch||(lt.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Ot,useImperativeHandle:Ct,useInsertionEffect:Wn,useLayoutEffect:St,useMemo:Tt,useReducer:xt,useRef:Et,useState:bt,useSyncExternalStore:jn,useTransition:Hn,version:"18.3.1"},Symbol.toStringTag,{value:"Module"})),zn="/salary-packaging/admin/v1.0",Vn=()=>{const e=At($t);return{checkProfileSearchAuthorization:Tt((()=>(e=>async()=>{const t=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/auth`);return Wt(t,e.backend.accessToken,"GET")})(e)),[e]),searchProfilesForAccount:Tt((()=>(e=>async t=>{const n=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/profile-search?search=${t}`);return Wt(n,e.backend.accessToken,"GET")})(e)),[e]),ingestClient:Tt((()=>(e=>async()=>{const t=new Date;t.setUTCDate((new Date).getUTCDate()-2);const n=new Date;n.setUTCDate((new Date).getUTCDate()+2);const r=new URL(`${e.backend.url}${zn}/ingest/clients`);return Wt(r,e.backend.accessToken,"POST",{startDate:t.toISOString().split("T")[0],endDate:n.toISOString().split("T")[0]},!0)})(e)),[e]),linkedProfilesForAccount:Tt((()=>(e=>async()=>{const t=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/profiles`);return Wt(t,e.backend.accessToken,"GET")})(e)),[e]),unlinkProfile:Tt((()=>(e=>async t=>{const n=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/profiles/${t}/unlink`);return Wt(n,e.backend.accessToken,"POST")})(e)),[e])}};class Qn extends Error{}function Kn(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return atob(t)}}Qn.prototype.name="InvalidTokenError";class Yn{constructor(e){__publicField(this,"roles"),__publicField(this,"isAuthorized"),this.roles=e,this.isAuthorized=e.includes("SalaryPackaging.Access")}static create(e){const t=e?function(e,t){if("string"!=typeof e)throw new Qn("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,r=e.split(".")[n];if("string"!=typeof r)throw new Qn(`Invalid token specified: missing part #${n+1}`);let i;try{i=Kn(r)}catch(_a){throw new Qn(`Invalid token specified: invalid base64 for part #${n+1} (${_a.message})`)}try{return JSON.parse(i)}catch(_a){throw new Qn(`Invalid token specified: invalid json for part #${n+1} (${_a.message})`)}}(e):{roles:[]};return new Yn(t.roles)}}function Xn(){return Xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xn.apply(null,arguments)}function Zn(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Jn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,er=Zn((function(e){return Jn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var tr=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(_a){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),nr="-ms-",rr="-moz-",ir="-webkit-",or="comm",ar="rule",sr="decl",lr="@keyframes",cr=Math.abs,ur=String.fromCharCode,dr=Object.assign;function pr(e){return e.trim()}function fr(e,t,n){return e.replace(t,n)}function hr(e,t){return e.indexOf(t)}function vr(e,t){return 0|e.charCodeAt(t)}function mr(e,t,n){return e.slice(t,n)}function gr(e){return e.length}function _r(e){return e.length}function yr(e,t){return t.push(e),e}var wr=1,br=1,xr=0,kr=0,Sr=0,Er="";function Cr(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:wr,column:br,length:a,return:""}}function Tr(e,t){return dr(Cr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pr(){return Sr=kr<xr?vr(Er,kr++):0,br++,10===Sr&&(br=1,wr++),Sr}function Ar(){return vr(Er,kr)}function Rr(){return kr}function Or(e,t){return mr(Er,e,t)}function Mr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Lr(e){return wr=br=1,xr=gr(Er=e),kr=0,[]}function Fr(e){return Er="",e}function Ir(e){return pr(Or(kr-1,Nr(91===e?e+2:40===e?e+1:e)))}function Dr(e){for(;(Sr=Ar())&&Sr<33;)Pr();return Mr(e)>2||Mr(Sr)>3?"":" "}function Gr(e,t){for(;--t&&Pr()&&!(Sr<48||Sr>102||Sr>57&&Sr<65||Sr>70&&Sr<97););return Or(e,Rr()+(t<6&&32==Ar()&&32==Pr()))}function Nr(e){for(;Pr();)switch(Sr){case e:return kr;case 34:case 39:34!==e&&39!==e&&Nr(Sr);break;case 40:41===e&&Nr(e);break;case 92:Pr()}return kr}function Hr(e,t){for(;Pr()&&e+Sr!==57&&(e+Sr!==84||47!==Ar()););return"/*"+Or(t,kr-1)+"*"+ur(47===e?e:Pr())}function Wr(e){for(;!Mr(Ar());)Pr();return Or(e,kr)}function $r(e){return Fr(jr("",null,null,null,[""],e=Lr(e),0,[0],e))}function jr(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,v=1,m=1,g=1,_=0,y="",w=i,b=o,x=r,k=y;m;)switch(h=_,_=Pr()){case 40:if(108!=h&&58==vr(k,d-1)){-1!=hr(k+=fr(Ir(_),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:k+=Ir(_);break;case 9:case 10:case 13:case 32:k+=Dr(h);break;case 92:k+=Gr(Rr()-1,7);continue;case 47:switch(Ar()){case 42:case 47:yr(Br(Hr(Pr(),Rr()),t,n),l);break;default:k+="/"}break;case 123*v:s[c++]=gr(k)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:m=0;case 59+u:-1==g&&(k=fr(k,/\f/g,"")),f>0&&gr(k)-d&&yr(f>32?qr(k+";",r,n,d-1):qr(fr(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if(yr(x=Ur(k,t,n,c,u,i,s,y,w=[],b=[],d),o),123===_)if(0===u)jr(k,t,x,x,w,o,d,s,b);else switch(99===p&&110===vr(k,3)?100:p){case 100:case 108:case 109:case 115:jr(e,x,x,r&&yr(Ur(e,x,x,0,0,i,s,y,i,w=[],d),b),i,b,d,s,r?w:b);break;default:jr(k,x,x,x,[""],b,0,s,b)}}c=u=f=0,v=g=1,y=k="",d=a;break;case 58:d=1+gr(k),f=h;default:if(v<1)if(123==_)--v;else if(125==_&&0==v++&&125==(Sr=kr>0?vr(Er,--kr):0,br--,10===Sr&&(br=1,wr--),Sr))continue;switch(k+=ur(_),_*v){case 38:g=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(gr(k)-1)*g,g=1;break;case 64:45===Ar()&&(k+=Ir(Pr())),p=Ar(),u=d=gr(y=k+=Wr(Rr())),_++;break;case 45:45===h&&2==gr(k)&&(v=0)}}return o}function Ur(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],f=_r(p),h=0,v=0,m=0;h<r;++h)for(var g=0,_=mr(e,d+1,d=cr(v=a[h])),y=e;g<f;++g)(y=pr(v>0?p[g]+" "+_:fr(_,/&\f/g,p[g])))&&(l[m++]=y);return Cr(e,t,n,0===i?ar:s,l,c,u)}function Br(e,t,n){return Cr(e,t,n,or,ur(Sr),mr(e,2,-2),0)}function qr(e,t,n,r){return Cr(e,t,n,sr,mr(e,0,r),mr(e,r+1,-1),r)}function zr(e,t){for(var n="",r=_r(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Vr(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case sr:return e.return=e.return||e.value;case or:return"";case lr:return e.return=e.value+"{"+zr(e.children,r)+"}";case ar:e.value=e.props.join(",")}return gr(n=zr(e.children,r))?e.return=e.value+"{"+n+"}":""}var Qr=function(e,t,n){for(var r=0,i=0;r=i,i=Ar(),38===r&&12===i&&(t[n]=1),!Mr(i);)Pr();return Or(e,kr)},Kr=function(e,t){return Fr(function(e,t){var n=-1,r=44;do{switch(Mr(r)){case 0:38===r&&12===Ar()&&(t[n]=1),e[n]+=Qr(kr-1,t,n);break;case 2:e[n]+=Ir(r);break;case 4:if(44===r){e[++n]=58===Ar()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ur(r)}}while(r=Pr());return e}(Lr(e),t))},Yr=new WeakMap,Xr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Yr.get(n))&&!r){Yr.set(e,!0);for(var i=[],o=Kr(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Zr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Jr(e,t){switch(function(e,t){return 45^vr(e,0)?(((t<<2^vr(e,0))<<2^vr(e,1))<<2^vr(e,2))<<2^vr(e,3):0}(e,t)){case 5103:return ir+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ir+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ir+e+rr+e+nr+e+e;case 6828:case 4268:return ir+e+nr+e+e;case 6165:return ir+e+nr+"flex-"+e+e;case 5187:return ir+e+fr(e,/(\w+).+(:[^]+)/,ir+"box-$1$2"+nr+"flex-$1$2")+e;case 5443:return ir+e+nr+"flex-item-"+fr(e,/flex-|-self/,"")+e;case 4675:return ir+e+nr+"flex-line-pack"+fr(e,/align-content|flex-|-self/,"")+e;case 5548:return ir+e+nr+fr(e,"shrink","negative")+e;case 5292:return ir+e+nr+fr(e,"basis","preferred-size")+e;case 6060:return ir+"box-"+fr(e,"-grow","")+ir+e+nr+fr(e,"grow","positive")+e;case 4554:return ir+fr(e,/([^-])(transform)/g,"$1"+ir+"$2")+e;case 6187:return fr(fr(fr(e,/(zoom-|grab)/,ir+"$1"),/(image-set)/,ir+"$1"),e,"")+e;case 5495:case 3959:return fr(e,/(image-set\([^]*)/,ir+"$1$`$1");case 4968:return fr(fr(e,/(.+:)(flex-)?(.*)/,ir+"box-pack:$3"+nr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ir+e+e;case 4095:case 3583:case 4068:case 2532:return fr(e,/(.+)-inline(.+)/,ir+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(gr(e)-1-t>6)switch(vr(e,t+1)){case 109:if(45!==vr(e,t+4))break;case 102:return fr(e,/(.+:)(.+)-([^]+)/,"$1"+ir+"$2-$3$1"+rr+(108==vr(e,t+3)?"$3":"$2-$3"))+e;case 115:return~hr(e,"stretch")?Jr(fr(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==vr(e,t+1))break;case 6444:switch(vr(e,gr(e)-3-(~hr(e,"!important")&&10))){case 107:return fr(e,":",":"+ir)+e;case 101:return fr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ir+(45===vr(e,14)?"inline-":"")+"box$3$1"+ir+"$2$3$1"+nr+"$2box$3")+e}break;case 5936:switch(vr(e,t+11)){case 114:return ir+e+nr+fr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ir+e+nr+fr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ir+e+nr+fr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ir+e+nr+e+e}return e}var ei=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case sr:e.return=Jr(e.value,e.length);break;case lr:return zr([Tr(e,{value:fr(e.value,"@","@"+ir)})],r);case ar:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zr([Tr(e,{props:[fr(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return zr([Tr(e,{props:[fr(t,/:(plac\w+)/,":"+ir+"input-$1")]}),Tr(e,{props:[fr(t,/:(plac\w+)/,":-moz-$1")]}),Tr(e,{props:[fr(t,/:(plac\w+)/,nr+"input-$1")]})],r)}return""}))}}],ti=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,i,o=e.stylisPlugins||ei,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c,u,d,p=[Vr,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(c=[Xr,Zr].concat(o,p),u=_r(c),function(e,t,n,r){for(var i="",o=0;o<u;o++)i+=c[o](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,zr($r(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new tr({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h},ni={exports:{}},ri={},ii="function"==typeof Symbol&&Symbol.for,oi=ii?Symbol.for("react.element"):60103,ai=ii?Symbol.for("react.portal"):60106,si=ii?Symbol.for("react.fragment"):60107,li=ii?Symbol.for("react.strict_mode"):60108,ci=ii?Symbol.for("react.profiler"):60114,ui=ii?Symbol.for("react.provider"):60109,di=ii?Symbol.for("react.context"):60110,pi=ii?Symbol.for("react.async_mode"):60111,fi=ii?Symbol.for("react.concurrent_mode"):60111,hi=ii?Symbol.for("react.forward_ref"):60112,vi=ii?Symbol.for("react.suspense"):60113,mi=ii?Symbol.for("react.suspense_list"):60120,gi=ii?Symbol.for("react.memo"):60115,_i=ii?Symbol.for("react.lazy"):60116,yi=ii?Symbol.for("react.block"):60121,wi=ii?Symbol.for("react.fundamental"):60117,bi=ii?Symbol.for("react.responder"):60118,xi=ii?Symbol.for("react.scope"):60119;function ki(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case oi:switch(e=e.type){case pi:case fi:case si:case ci:case li:case vi:return e;default:switch(e=e&&e.$$typeof){case di:case hi:case _i:case gi:case ui:return e;default:return t}}case ai:return t}}}function Si(e){return ki(e)===fi}ri.AsyncMode=pi,ri.ConcurrentMode=fi,ri.ContextConsumer=di,ri.ContextProvider=ui,ri.Element=oi,ri.ForwardRef=hi,ri.Fragment=si,ri.Lazy=_i,ri.Memo=gi,ri.Portal=ai,ri.Profiler=ci,ri.StrictMode=li,ri.Suspense=vi,ri.isAsyncMode=function(e){return Si(e)||ki(e)===pi},ri.isConcurrentMode=Si,ri.isContextConsumer=function(e){return ki(e)===di},ri.isContextProvider=function(e){return ki(e)===ui},ri.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===oi},ri.isForwardRef=function(e){return ki(e)===hi},ri.isFragment=function(e){return ki(e)===si},ri.isLazy=function(e){return ki(e)===_i},ri.isMemo=function(e){return ki(e)===gi},ri.isPortal=function(e){return ki(e)===ai},ri.isProfiler=function(e){return ki(e)===ci},ri.isStrictMode=function(e){return ki(e)===li},ri.isSuspense=function(e){return ki(e)===vi},ri.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===si||e===fi||e===ci||e===li||e===vi||e===mi||"object"==typeof e&&null!==e&&(e.$$typeof===_i||e.$$typeof===gi||e.$$typeof===ui||e.$$typeof===di||e.$$typeof===hi||e.$$typeof===wi||e.$$typeof===bi||e.$$typeof===xi||e.$$typeof===yi)},ri.typeOf=ki,ni.exports=ri;var Ei=ni.exports,Ci={};Ci[Ei.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ci[Ei.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function Ti(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var Pi=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ai=function(e,t,n){Pi(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}};var Ri={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Oi=/[A-Z]|^ms/g,Mi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Li=function(e){return 45===e.charCodeAt(1)},Fi=function(e){return null!=e&&"boolean"!=typeof e},Ii=Zn((function(e){return Li(e)?e:e.replace(Oi,"-$&").toLowerCase()})),Di=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Mi,(function(e,t,n){return Ni={name:t,styles:n,next:Ni},t}))}return 1===Ri[e]||Li(e)||"number"!=typeof t||0===t?t:t+"px"};function Gi(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Ni={name:i.name,styles:i.styles,next:Ni},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Ni={name:a.name,styles:a.styles,next:Ni},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Gi(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":Fi(s)&&(r+=Ii(o)+":"+Di(o,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Gi(e,t,a);switch(o){case"animation":case"animationName":r+=Ii(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Fi(a[c])&&(r+=Ii(o)+":"+Di(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Ni,l=n(e);return Ni=s,Gi(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Ni,Hi=/label:\s*([^\s;{]+)\s*(;|$)/g;function Wi(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Ni=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Gi(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Gi(n,t,e[a]),r)i+=o[a]}Hi.lastIndex=0;for(var s,l="";null!==(s=Hi.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Ni}}var $i=!!qn.useInsertionEffect&&qn.useInsertionEffect,ji=$i||function(e){return e()},Ui=$i||St,Bi=Ze("undefined"!=typeof HTMLElement?ti({key:"css"}):null),qi=Bi.Provider,zi=function(e){return Vt((function(t,n){var r=At(Bi);return e(t,r,n)}))},Vi=Ze({}),Qi={}.hasOwnProperty,Ki="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yi=function(e,t){var n={};for(var r in t)Qi.call(t,r)&&(n[r]=t[r]);return n[Ki]=e,n},Xi=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pi(t,n,r),ji((function(){return Ai(t,n,r)})),null},Zi=zi((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Ki],o=[r],a="";"string"==typeof e.className?a=Ti(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var s=Wi(o,void 0,At(Vi));a+=t.key+"-"+s.name;var l={};for(var c in e)Qi.call(e,c)&&"css"!==c&&c!==Ki&&(l[c]=e[c]);return l.className=a,n&&(l.ref=n),Pe(Oe,null,Pe(Xi,{cache:t,serialized:s,isStringTag:"string"==typeof i}),Pe(i,l))})),Ji=zi((function(e,t){var n=Wi([e.styles],void 0,At(Vi)),r=Et();return Ui((function(){var e=t.key+"-global",i=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),i.hydrate([a])),r.current=[i,o],function(){i.flush()}}),[t]),Ui((function(){var e=r.current,i=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Ai(t,n.next,!0),i.tags.length){var o=i.tags[i.tags.length-1].nextElementSibling;i.before=o,i.flush()}t.insert("",n,i,!1)}}),[t,n.name]),null}));function eo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Wi(t)}var to=er,no=function(e){return"theme"!==e},ro=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?to:no},io=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},oo=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pi(t,n,r),ji((function(){return Ai(t,n,r)})),null},ao=function e(t,n){var r,i,o=t.__emotion_real===t,a=o&&t.__emotion_base||t;void 0!==n&&(r=n.label,i=n.target);var s=io(t,n,o),l=s||ro(a),c=!l("as");return function(){var u=arguments,d=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=zi((function(e,t,n){var r=c&&e.as||a,o="",u=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=At(Vi)}"string"==typeof e.className?o=Ti(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var h=Wi(d.concat(u),t.registered,p);o+=t.key+"-"+h.name,void 0!==i&&(o+=" "+i);var v=c&&void 0===s?ro(r):l,m={};for(var g in e)c&&"as"===g||v(g)&&(m[g]=e[g]);return m.className=o,n&&(m.ref=n),Pe(Oe,null,Pe(oo,{cache:t,serialized:h,isStringTag:"string"==typeof r}),Pe(r,m))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+i}}),h.withComponent=function(t,r){return e(t,Xn({},n,r,{shouldForwardProp:io(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ao[e]=ao(e)}));const so=ao.button({marginLeft:"0.75rem",display:"inline-flex",justifyContent:"center",borderRadius:"0.375rem",borderWidth:"1px",borderColor:"transparent","--tw-bg-opacity":"1",backgroundColor:"rgb(79 70 229 / var(--tw-bg-opacity))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(67 56 202 / var(--tw-bg-opacity))"},":focus":{outline:"2px solid transparent",outlineOffset:"2px","--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))","--tw-ring-offset-width":"2px"},":disabled":{cursor:"not-allowed","--tw-bg-opacity":"1",backgroundColor:"rgb(107 114 128 / var(--tw-bg-opacity))"}}),lo=ao.div({height:"1.25rem",width:"1.25rem","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite",borderRadius:"9999px",borderWidth:"2px",borderColor:"var(--fl-color-primary-600)",borderLeftColor:"transparent",borderTopColor:"transparent"});var co=0;function uo(e,t,n,r,i,o){t||(t={});var a,s,l=t;"ref"in t&&(a=t.ref,delete t.ref);var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--co,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===l[s]&&(l[s]=a[s]);return pe.vnode&&pe.vnode(c),c}var po=Oe;function fo(e,t,n){return Qi.call(t,"css")?uo(Zi,Yi(e,t),n):uo(e,t,n)}function ho(e,t,n){return Qi.call(t,"css")?uo(Zi,Yi(e,t),n):uo(e,t,n)}const vo=e=>{const[t,n]=bt(!1);((e,t)=>{const n=Et();kt((()=>{n.current=e}),[e]),kt((()=>{if(t){const e=setInterval(((...e)=>{var t;return null==(t=null==n?void 0:n.current)?void 0:t.call(n,...e)}),t);return()=>clearInterval(e)}}),[t])})((async()=>{await e.onCheck()&&n(!1)}),t?e.checkInterval:void 0),kt((()=>{if(t){const r=setTimeout((()=>{t&&e.onTimeout(),n(!1)}),e.timeout);return()=>clearTimeout(r)}}));return fo(so,{onClick:async()=>{n(!0),await e.onClick()||n(!1)},disabled:t,children:t?ho(po,{children:[fo(lo,{}),fo("span",{css:{marginLeft:"0.5rem"},children:e.processingText})]}):fo(po,{children:e.text})})},mo=ao.a({cursor:"pointer",whiteSpace:"nowrap",borderBottomWidth:"2px",paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},(({isCurrentTab:e})=>e?{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgb(79 70 229 / var(--tw-text-opacity))"}:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700")),go=({tabs:e,currentTabId:t,onChange:n})=>{const r=Tt((()=>e.find((e=>e.id==t))),[e,t]);return ho("div",{children:[ho("div",{css:{"@media (min-width: 640px)":{display:"none"}},children:[fo("label",{htmlFor:"tabs",css:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},children:"Select a tab"}),fo("select",{id:"tabs",name:"tabs",defaultValue:null==r?void 0:r.id,onChange:e=>n(e.currentTarget.value),css:{display:"block",width:"100%",borderRadius:"0.375rem","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.75rem",paddingRight:"2.5rem",fontSize:"1rem",lineHeight:"1.5rem",":focus":{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))"},"@media (min-width: 640px)":{fontSize:"0.875rem",lineHeight:"1.25rem"}},children:e.map((e=>fo("option",{value:e.id,children:e.displayName},e.id)))})]}),fo("div",{css:{display:"none","@media (min-width: 640px)":{display:"block"}},children:fo("div",{css:{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(229 231 235 / var(--tw-border-opacity))"},children:fo("nav",{"aria-label":"Tabs",css:{marginBottom:"-1px",display:"flex","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0",marginRight:"calc(2rem * var(--tw-space-x-reverse))",marginLeft:"calc(2rem * calc(1 - var(--tw-space-x-reverse)))"}},children:e.map((e=>{return fo(mo,{onClick:(t=e.id,()=>{n(t)}),"aria-current":e.id==(null==r?void 0:r.id)?"page":void 0,isCurrentTab:e.id==(null==r?void 0:r.id),children:e.displayName},e.id);var t}))})})})]})};function _o({title:e,titleId:t,...n},r){return Pe("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?Pe("title",{id:t},e):null,Pe("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const yo=Vt(_o);function wo({title:e,titleId:t,...n},r){return Pe("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?Pe("title",{id:t},e):null,Pe("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const bo=Vt(wo);function xo({title:e,titleId:t,...n},r){return Pe("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?Pe("title",{id:t},e):null,Pe("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const ko=Vt(xo),So=e=>e.url?fo(au,{children:ho(su,{as:"a",href:e.url,target:"_blank",rel:"noopener noreferrer",css:{"--tw-bg-opacity":"1",backgroundColor:"rgb(240 253 244 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(21 128 61 / var(--tw-text-opacity))","--tw-ring-color":"rgb(22 163 74 / 0.2)"},children:[fo("span",{css:{lineHeight:"1.25rem"},children:"Linked"}),fo(yo,{css:{marginTop:"auto",marginBottom:"auto",marginLeft:"0.25rem",height:"0.75rem",width:"0.75rem"}})]})}):fo(au,{children:fo(su,{css:{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 242 242 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(185 28 28 / var(--tw-text-opacity))","--tw-ring-color":"rgb(220 38 38 / 0.2)"},children:"Unlinked"})}),Eo=e=>fo(au,{children:fo("button",{as:"button",onClick:()=>e.onClick(e.id),css:{display:"inline-flex",alignItems:"center",fill:"var(--fl-color-primary-600)",paddingLeft:"0.25rem",paddingRight:"0.25rem"},children:e.children})}),Co=e=>fo(ou,{children:fo("ul",{css:{listStyleType:"none"},children:e.value.split(",").map((e=>fo("li",{children:e},e)))})}),To="undefined"!=typeof document?Bn.useLayoutEffect:()=>{};const Po=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},Ao=e=>{if(e&&"window"in e&&e.window===e)return e;return Po(e).defaultView||window};function Ro(e){let t=null;return()=>(null==t&&(t=e()),t)}const Oo=Ro((function(){return e=/^Mac/i,"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform);var e,t})),Mo=Ro((function(){return e=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent));var e,t}));class Lo{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function Fo(e){let t=Et({isFocused:!1,observer:null});To((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=function(e){const t=Et(null);return To((()=>{t.current=e}),[e]),Pt(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}((t=>{null==e||e(t)}));return Pt((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,i=e=>{t.current.isFocused=!1,r.disabled&&n(new Lo("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}let Io=null,Do=new Set,Go=new Map,No=!1,Ho=!1;const Wo={Tab:!0,Escape:!0};function $o(e,t){for(let n of Do)n(e,t)}function jo(e){No=!0,function(e){return!(e.metaKey||!Oo()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(Io="keyboard",$o("keyboard",e))}function Uo(e){Io="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(No=!0,$o("pointer",e))}function Bo(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(Mo()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(No=!0,Io="virtual")}function qo(e){e.target!==window&&e.target!==document&&(No||Ho||(Io="virtual",$o("virtual",e)),No=!1,Ho=!1)}function zo(){No=!1,Ho=!0}function Vo(e){if("undefined"==typeof window||Go.get(Ao(e)))return;const t=Ao(e),n=Po(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){No=!0,r.apply(this,arguments)},n.addEventListener("keydown",jo,!0),n.addEventListener("keyup",jo,!0),n.addEventListener("click",Bo,!0),t.addEventListener("focus",qo,!0),t.addEventListener("blur",zo,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",Uo,!0),n.addEventListener("pointermove",Uo,!0),n.addEventListener("pointerup",Uo,!0)):(n.addEventListener("mousedown",Uo,!0),n.addEventListener("mousemove",Uo,!0),n.addEventListener("mouseup",Uo,!0)),t.addEventListener("beforeunload",(()=>{Qo(e)}),{once:!0}),Go.set(t,{focus:r})}const Qo=(e,t)=>{const n=Ao(e),r=Po(e);t&&r.removeEventListener("DOMContentLoaded",t),Go.has(n)&&(n.HTMLElement.prototype.focus=Go.get(n).focus,r.removeEventListener("keydown",jo,!0),r.removeEventListener("keyup",jo,!0),r.removeEventListener("click",Bo,!0),n.removeEventListener("focus",qo,!0),n.removeEventListener("blur",zo,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",Uo,!0),r.removeEventListener("pointermove",Uo,!0),r.removeEventListener("pointerup",Uo,!0)):(r.removeEventListener("mousedown",Uo,!0),r.removeEventListener("mousemove",Uo,!0),r.removeEventListener("mouseup",Uo,!0)),Go.delete(n))};function Ko(){return"pointer"!==Io}"undefined"!=typeof document&&function(e){const t=Po(e);let n;"loading"!==t.readyState?Vo(e):(n=()=>{Vo(e)},t.addEventListener("DOMContentLoaded",n))}();const Yo=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Xo(e,t,n){Vo(),kt((()=>{let t=(t,r)=>{(function(e,t,n){var r;const i="undefined"!=typeof window?Ao(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?Ao(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?Ao(null==n?void 0:n.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?Ao(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!Yo.has(null==n||null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof o||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof s&&!Wo[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(Ko())};return Do.add(t),()=>{Do.delete(t)}}),t)}let Zo=!1,Jo=0;function ea(){Zo=!0,setTimeout((()=>{Zo=!1}),50)}function ta(e){"touch"===e.pointerType&&ea()}function na(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ta):document.addEventListener("touchend",ea),Jo++,()=>{Jo--,Jo>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ta):document.removeEventListener("touchend",ea))}}function ra(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=Et({isFocused:!1,isFocusVisible:t||Ko()}),[o,a]=bt(!1),[s,l]=bt((()=>i.current.isFocused&&i.current.isFocusVisible)),c=Pt((()=>l(i.current.isFocused&&i.current.isFocusVisible)),[]),u=Pt((e=>{i.current.isFocused=e,a(e),c()}),[c]);Xo((e=>{i.current.isFocusVisible=e,c()}),[],{isTextInput:n});let{focusProps:d}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const o=Pt((e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0}),[r,i]),a=Fo(o),s=Pt((e=>{const t=Po(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),i&&i(!0),a(e))}),[i,n,a]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:t||!r&&!i?void 0:o}}}({isDisabled:r,onFocusChange:u}),{focusWithinProps:p}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=Et({isFocusWithin:!1}),a=Pt((e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,n&&n(e),i&&i(!1))}),[n,i,o]),s=Fo(a),l=Pt((e=>{o.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,s(e))}),[r,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:a}}}({isDisabled:!r,onFocusWithinChange:u});return{isFocused:o,isFocusVisible:s,focusProps:r?p:d}}var ia=Object.defineProperty,oa=(e,t,n)=>(((e,t,n)=>{t in e?ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let aa=new class{constructor(){oa(this,"current",this.detect()),oa(this,"handoffState","pending"),oa(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function sa(e){return aa.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function la(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function ca(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add((()=>e.removeEventListener(n,r,i)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return la((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=ca();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function ua(){let[e]=bt(ca);return kt((()=>()=>e.dispose()),[e]),e}let da=(e,t)=>{aa.isServer?kt(e,t):St(e,t)};function pa(e){let t=Et(e);return da((()=>{t.current=e}),[e]),t}let fa=function(e){let t=pa(e);return Bn.useCallback(((...e)=>t.current(...e)),[t])};let ha=Ze(void 0);function va(){return At(ha)}function ma(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}function ga(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ga),r}var _a,ya,wa=((ya=wa||{})[ya.None=0]="None",ya[ya.RenderStrategy=1]="RenderStrategy",ya[ya.Static=2]="Static",ya),ba=((_a=ba||{})[_a.Unmount=0]="Unmount",_a[_a.Hidden=1]="Hidden",_a);function xa(){let e=function(){let e=Et([]),t=Pt((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return(...n)=>{if(!n.every((e=>null==e)))return e.current=n,t}}();return Pt((t=>function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:s}){s=null!=s?s:Sa;let l=Ea(t,e);if(o)return ka(l,n,r,a,s);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=l;if(e)return ka(t,n,r,a,s)}if(1&c){let{unmount:e=!0,...t}=l;return ga(e?0:1,{0:()=>null,1:()=>ka({...t,hidden:!0,style:{display:"none"}},n,r,a,s)})}return ka(l,n,r,a,s)}({mergeRefs:e,...t})),[e])}function ka(e,t={},n,r,i){let{as:o=n,children:a,refName:s="ref",...l}=Aa(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof a?a(t):a;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){d["data-headlessui-state"]=n.join(" ");for(let e of n)d[`data-${e}`]=""}}if(o===Oe&&(Object.keys(Pa(l)).length>0||Object.keys(Pa(d)).length>0)){if(Pn(u)&&!(Array.isArray(u)&&u.length>1)){let e=u.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>ma(t(...e),l.className):ma(t,l.className),r=n?{className:n}:{},o=Ea(u.props,Pa(Aa(l,["ref"])));for(let i in d)i in o&&delete d[i];return On(u,Object.assign({},o,d,c,{ref:i(Ra(u),c.ref)},r))}if(Object.keys(Pa(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Pa(l)).concat(Object.keys(Pa(d))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))}return Pe(o,Object.assign({},Aa(l,["ref"]),o!==Oe&&c,o!==Oe&&d),u)}function Sa(...e){return e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function Ea(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let r in n)Object.assign(t,{[r](e,...t){let i=n[r];for(let n of i){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function Ca(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let r in n)Object.assign(t,{[r](...e){let t=n[r];for(let n of t)null==n||n(...e)}});return t}function Ta(e){var t;return Object.assign(Vt(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Pa(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function Aa(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ra(e){return Bn.version.split(".")[0]>="19"?e.props.ref:e.ref}let Oa=Ze(void 0);function Ma(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}let La=Symbol();function Fa(...e){let t=Et(e);kt((()=>{t.current=e}),[e]);let n=fa((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[La])))?void 0:n}let Ia=Ze(null);function Da(){let e=At(Ia);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Da),e}return e}Ia.displayName="DescriptionContext";let Ga=Ta((function(e,t){let n=Ot(),r=va(),{id:i=`headlessui-description-${n}`,...o}=e,a=Da(),s=Fa(t);da((()=>a.register(i)),[i,a.register]);let l=r||!1,c=Tt((()=>({...a.slot,disabled:l})),[a.slot,l]),u={ref:s,...a.props,id:i};return xa()({ourProps:u,theirProps:o,slot:c,defaultTag:"p",name:a.name||"Description"})}));Object.assign(Ga,{});var Na,Ha=((Na=Ha||{}).Space=" ",Na.Enter="Enter",Na.Escape="Escape",Na.Backspace="Backspace",Na.Delete="Delete",Na.ArrowLeft="ArrowLeft",Na.ArrowUp="ArrowUp",Na.ArrowRight="ArrowRight",Na.ArrowDown="ArrowDown",Na.Home="Home",Na.End="End",Na.PageUp="PageUp",Na.PageDown="PageDown",Na.Tab="Tab",Na);let Wa=Ze(null);function $a(){let e=At(Wa);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,$a),e}return e}function ja({inherit:e=!1}={}){let t=function(){var e,t;let n=null!=(t=null==(e=At(Wa))?void 0:e.value)?t:void 0;return n}(),[n,r]=bt([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,Tt((()=>function(e){let t=fa((e=>(r((t=>[...t,e])),()=>r((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),n=Tt((()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value})),[t,e.slot,e.name,e.props,e.value]);return Bn.createElement(Wa.Provider,{value:n},e.children)}),[r])]}Wa.displayName="LabelContext";let Ua=Ta((function(e,t){var n;let r=Ot(),i=$a(),o=At(Oa),a=va(),{id:s=`headlessui-label-${r}`,htmlFor:l=(null!=o?o:null==(n=i.props)?void 0:n.htmlFor),passive:c=!1,...u}=e,d=Fa(t);da((()=>i.register(s)),[s,i.register]);let p=fa((e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),f=a||!1,h=Tt((()=>({...i.slot,disabled:f})),[i.slot,f]),v={ref:d,...i.props,id:s,htmlFor:l,onClick:p};return c&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in u&&delete u.onClick),xa()({ourProps:v,theirProps:u,slot:h,defaultTag:l?"label":"div",name:i.name||"Label"})}));function Ba(e,t=!1){let[n,r]=xt((()=>({})),{}),i=Tt((()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}(e)),[e,n]);return da((()=>{if(!e)return;let t=new ResizeObserver(r);return t.observe(e),()=>{t.disconnect()}}),[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}Object.assign(Ua,{});let qa=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}};function za(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...i){let o=t[e].call(n,...i);o&&(n=o,r.forEach((e=>e())))}}}function Va(e){return jn(e.subscribe,e.getSnapshot,e.getSnapshot)}let Qa=new qa((()=>za((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}})));function Ka(e,t){let n=Qa.get(t),r=Ot(),i=Va(n);if(da((()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)}),[n,e]),!e)return!1;let o=i.indexOf(r),a=i.length;return-1===o&&(o=a,a+=1),o===a-1}let Ya=new Map,Xa=new Map;function Za(e){var t;let n=null!=(t=Xa.get(e))?t:0;return Xa.set(e,n+1),0!==n||(Ya.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>Ja(e)}function Ja(e){var t;let n=null!=(t=Xa.get(e))?t:1;if(1===n?Xa.delete(e):Xa.set(e,n-1),1!==n)return;let r=Ya.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Ya.delete(e))}let es=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),ts=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ns,rs,is,os=((is=os||{})[is.First=1]="First",is[is.Previous=2]="Previous",is[is.Next=4]="Next",is[is.Last=8]="Last",is[is.WrapAround=16]="WrapAround",is[is.NoScroll=32]="NoScroll",is[is.AutoFocus=64]="AutoFocus",is),as=((rs=as||{})[rs.Error=0]="Error",rs[rs.Overflow=1]="Overflow",rs[rs.Success=2]="Success",rs[rs.Underflow=3]="Underflow",rs),ss=((ns=ss||{})[ns.Previous=-1]="Previous",ns[ns.Next=1]="Next",ns);function ls(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(es)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var cs=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(cs||{});function us(e,t=0){var n;return e!==(null==(n=sa(e))?void 0:n.body)&&ga(t,{0:()=>e.matches(es),1(){let t=e;for(;null!==t;){if(t.matches(es))return!0;t=t.parentElement}return!1}})}function ds(e){let t=sa(e);ca().nextFrame((()=>{t&&!us(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}var ps=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ps||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let fs=["textarea","input"].join(",");function hs(e,t=e=>e){return e.slice().sort(((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function vs(e,t){return function(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?hs(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(ts)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):ls(e);i.length>0&&a.length>1&&(a=a.filter((e=>!i.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(r))-1;if(4&t)return Math.max(0,a.indexOf(r))+1;if(8&t)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,p=a.length;do{if(d>=p||d+p<=0)return 0;let e=c+d;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}s=a[e],null==s||s.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,fs))&&n}(s)&&s.select(),2}(ls(),t,{relativeTo:e})}function ms(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function gs(){return ms()||/Android/gi.test(window.navigator.userAgent)}function _s(e,t,n,r){let i=pa(n);kt((()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){i.current(e)}}),[e,t,r])}function ys(e,t,n){let r=Ka(e,"outside-click"),i=pa(n),o=Pt((function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null===r||!r.getRootNode().contains(r)||!r.isConnected)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of o)if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return!us(r,cs.Loose)&&-1!==r.tabIndex&&e.preventDefault(),i.current(e,r)}),[i,t]),a=Et(null);_s(r,"pointerdown",(e=>{var t,n;a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),_s(r,"mousedown",(e=>{var t,n;a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),_s(r,"click",(e=>{gs()||a.current&&(o(e,(()=>a.current)),a.current=null)}),!0);let s=Et({x:0,y:0});_s(r,"touchstart",(e=>{s.current.x=e.touches[0].clientX,s.current.y=e.touches[0].clientY}),!0),_s(r,"touchend",(e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-s.current.x)>=30||Math.abs(n-s.current.y)>=30))return o(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),function(e,t,n,r){let i=pa(n);kt((()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){i.current(e)}}),[e,t,r])}(r,"blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function ws(...e){return Tt((()=>sa(...e)),[...e])}function bs(e,t){return Tt((()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0}),[e.type,e.as,t])}function xs(){let e;return{before({doc:t}){var n;let r=t.documentElement,i=null!=(n=t.defaultView)?n:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-i);n.style(r,"paddingRight",`${o}px`)}}}function ks(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Ss=za((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:ca(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:ks(n)},i=[ms()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=ca();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let i=null!=(n=window.scrollY)?n:window.pageYOffset,o=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:i}=new URL(n.href),a=e.querySelector(i);a&&!r(a)&&(o=a)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;i!==t&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},xs(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach((({before:e})=>null==e?void 0:e(r))),i.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function Es(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let r=Va(Ss),i=t?r.get(t):void 0,o=!!i&&i.count>0;da((()=>{if(t&&e)return Ss.dispatch("PUSH",t,n),()=>Ss.dispatch("POP",t,n)}),[e,t])}(Ka(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}function Cs(e){return[e.screenX,e.screenY]}Ss.subscribe((()=>{let e=Ss.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&Ss.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&Ss.dispatch("TEARDOWN",n)}}));var Ts,Ps;"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(Ts=null==process?void 0:{})?void 0:Ts.NODE_ENV)&&void 0===(null==(Ps=null==Element?void 0:Element.prototype)?void 0:Ps.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var As=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(As||{});function Rs(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function Os(e,t,n,r){let[i,o]=bt(n),{hasFlag:a,addFlag:s,removeFlag:l}=function(e=0){let[t,n]=bt(e),r=Pt((e=>n(e)),[t]),i=Pt((e=>n((t=>t|e))),[t]),o=Pt((e=>(t&e)===e),[t]),a=Pt((e=>n((t=>t&~e))),[n]),s=Pt((e=>n((t=>t^e))),[n]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:a,toggleFlag:s}}(e&&i?3:0),c=Et(!1),u=Et(!1),d=ua();return da((()=>{if(e)return n&&o(!0),t?(null==void 0||undefined.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let o=ca();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),o.nextFrame((()=>{n(),o.requestAnimationFrame((()=>{o.add(function(e,t){var n,r;let i=ca();if(!e)return i.dispose;let o=!1;i.add((()=>{o=!0}));let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter((e=>e instanceof CSSTransition)))?r:[];return 0===a.length?(t(),i.dispose):(Promise.allSettled(a.map((e=>e.finished))).then((()=>{o||t()})),i.dispose)}(e,r))}))})),o.dispose}(t,{inFlight:c,prepare(){u.current?u.current=!1:u.current=c.current,c.current=!0,!u.current&&(n?(s(3),l(4)):(s(4),l(2)))},run(){u.current?n?(l(3),s(4)):(l(4),s(3)):n?l(1):s(1)},done(){u.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(c.current=!1,l(7),n||o(!1),null==void 0||undefined.call(r,n))}})):void(n&&s(3))}),[e,n,t,d]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Ms(){return"undefined"!=typeof window}function Ls(e){return Ds(e)?(e.nodeName||"").toLowerCase():"#document"}function Fs(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Is(e){var t;return null==(t=(Ds(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ds(e){return!!Ms()&&(e instanceof Node||e instanceof Fs(e).Node)}function Gs(e){return!!Ms()&&(e instanceof Element||e instanceof Fs(e).Element)}function Ns(e){return!!Ms()&&(e instanceof HTMLElement||e instanceof Fs(e).HTMLElement)}function Hs(e){return!(!Ms()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Fs(e).ShadowRoot)}function Ws(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=zs(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function $s(e){return["table","td","th"].includes(Ls(e))}function js(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(_a){return!1}}))}function Us(e){const t=Bs(),n=Gs(e)?zs(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Bs(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qs(e){return["html","body","#document"].includes(Ls(e))}function zs(e){return Fs(e).getComputedStyle(e)}function Vs(e){return Gs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qs(e){if("html"===Ls(e))return e;const t=e.assignedSlot||e.parentNode||Hs(e)&&e.host||Is(e);return Hs(t)?t.host:t}function Ks(e){const t=Qs(e);return qs(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ns(t)&&Ws(t)?t:Ks(t)}function Ys(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Ks(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Fs(i);if(o){const e=Xs(a);return t.concat(a,a.visualViewport||[],Ws(i)?i:[],e&&n?Ys(e):[])}return t.concat(i,Ys(i,[],n))}function Xs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Zs=Math.min,Js=Math.max,el=Math.round,tl=Math.floor,nl=e=>({x:e,y:e}),rl={left:"right",right:"left",bottom:"top",top:"bottom"},il={start:"end",end:"start"};function ol(e,t,n){return Js(e,Zs(t,n))}function al(e,t){return"function"==typeof e?e(t):e}function sl(e){return e.split("-")[0]}function ll(e){return e.split("-")[1]}function cl(e){return"x"===e?"y":"x"}function ul(e){return"y"===e?"height":"width"}function dl(e){return["top","bottom"].includes(sl(e))?"y":"x"}function pl(e){return cl(dl(e))}function fl(e){return e.replace(/start|end/g,(e=>il[e]))}function hl(e){return e.replace(/left|right|bottom|top/g,(e=>rl[e]))}function vl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ml(e,t,n){let{reference:r,floating:i}=e;const o=dl(t),a=pl(t),s=ul(a),l=sl(t),c="y"===o,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,p=r[s]/2-i[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-i.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(ll(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}async function gl(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=al(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),v=s[p?"floating"===d?"reference":"floating":d],m=vl(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,_=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(_))&&await(null==o.getScale?void 0:o.getScale(_))||{x:1,y:1},w=vl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:_,strategy:l}):g);return{top:(m.top-w.top+h.top)/y.y,bottom:(w.bottom-m.bottom+h.bottom)/y.y,left:(m.left-w.left+h.left)/y.x,right:(w.right-m.right+h.right)/y.x}}function _l(e){const t=zs(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ns(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=el(n)!==o||el(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function yl(e){return Gs(e)?e:e.contextElement}function wl(e){const t=yl(e);if(!Ns(t))return nl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=_l(t);let a=(o?el(n.width):n.width)/r,s=(o?el(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const bl=nl(0);function xl(e){const t=Fs(e);return Bs()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bl}function kl(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=yl(e);let a=nl(1);t&&(r?Gs(r)&&(a=wl(r)):a=wl(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Fs(e))&&t}(o,n,r)?xl(o):nl(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=Fs(o),t=r&&Gs(r)?Fs(r):r;let n=e,i=Xs(n);for(;i&&r&&t!==n;){const e=wl(i),t=i.getBoundingClientRect(),r=zs(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,n=Fs(i),i=Xs(n)}}return vl({width:u,height:d,x:l,y:c})}function Sl(e,t){const n=Vs(e).scrollLeft;return t?t.left+n:kl(Is(e)).left+n}function El(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Sl(e,r)),y:r.top+t.scrollTop}}function Cl(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Fs(e),r=Is(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=Bs();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Is(e),n=Vs(e),r=e.ownerDocument.body,i=Js(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Js(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Sl(e);const s=-n.scrollTop;return"rtl"===zs(r).direction&&(a+=Js(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Is(e));else if(Gs(t))r=function(e,t){const n=kl(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Ns(e)?wl(e):nl(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=xl(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return vl(r)}function Tl(e,t){const n=Qs(e);return!(n===t||!Gs(n)||qs(n))&&("fixed"===zs(n).position||Tl(n,t))}function Pl(e,t,n){const r=Ns(t),i=Is(t),o="fixed"===n,a=kl(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=nl(0);if(r||!r&&!o)if(("body"!==Ls(t)||Ws(i))&&(s=Vs(t)),r){const e=kl(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=Sl(i));const c=!i||r||o?nl(0):El(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function Al(e){return"static"===zs(e).position}function Rl(e,t){if(!Ns(e)||"fixed"===zs(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Is(e)===n&&(n=n.ownerDocument.body),n}function Ol(e,t){const n=Fs(e);if(js(e))return n;if(!Ns(e)){let t=Qs(e);for(;t&&!qs(t);){if(Gs(t)&&!Al(t))return t;t=Qs(t)}return n}let r=Rl(e,t);for(;r&&$s(r)&&Al(r);)r=Rl(r,t);return r&&qs(r)&&Al(r)&&!Us(r)?n:r||function(e){let t=Qs(e);for(;Ns(t)&&!qs(t);){if(Us(t))return t;if(js(t))return null;t=Qs(t)}return null}(e)||n}const Ml={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Is(r),s=!!t&&js(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=nl(1);const u=nl(0),d=Ns(r);if((d||!d&&!o)&&(("body"!==Ls(r)||Ws(a))&&(l=Vs(r)),Ns(r))){const e=kl(r);c=wl(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const p=!a||d||o?nl(0):El(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:Is,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?js(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Ys(e,[],!1).filter((e=>Gs(e)&&"body"!==Ls(e))),i=null;const o="fixed"===zs(e).position;let a=o?Qs(e):e;for(;Gs(a)&&!qs(a);){const t=zs(a),n=Us(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Ws(a)&&!n&&Tl(e,a))?r=r.filter((e=>e!==a)):i=t,a=Qs(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=Cl(t,n,i);return e.top=Js(r.top,e.top),e.right=Zs(r.right,e.right),e.bottom=Zs(r.bottom,e.bottom),e.left=Js(r.left,e.left),e}),Cl(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ol,getElementRects:async function(e){const t=this.getOffsetParent||Ol,n=this.getDimensions,r=await n(e.floating);return{reference:Pl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=_l(e);return{width:t,height:n}},getScale:wl,isElement:Gs,isRTL:function(e){return"rtl"===zs(e).direction}};function Ll(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=yl(e),u=i||o?[...c?Ys(c):[],...Ys(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const i=Is(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f={rootMargin:-tl(u)+"px "+-tl(i.clientWidth-(c+d))+"px "+-tl(i.clientHeight-(u+p))+"px "+-tl(c)+"px",threshold:Js(0,Zs(1,l))||1};let h=!0;function v(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(v,{...f,root:i.ownerDocument})}catch(_a){r=new IntersectionObserver(v,f)}r.observe(e)}(!0),o}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let v=l?kl(e):null;return l&&function t(){const r=kl(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n();v=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const Fl=gl,Il=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=sl(n),s=ll(n),l="y"===dl(n),c=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,d=al(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},Dl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=al(e,t),c={x:n,y:r},u=await gl(t,l),d=dl(sl(i)),p=cl(d);let f=c[p],h=c[d];if(o){const e="y"===p?"bottom":"right";f=ol(f+u["y"===p?"top":"left"],f,f-u[e])}if(a){const e="y"===d?"bottom":"right";h=ol(h+u["y"===d?"top":"left"],h,h-u[e])}const v=s.fn({...t,[p]:f,[d]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:o,[d]:a}}}}}},Gl=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...m}=al(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const g=sl(i),_=dl(s),y=sl(s)===s,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=p||(y||!v?[hl(s)]:function(e){const t=hl(e);return[fl(e),t,fl(t)]}(s)),x="none"!==h;!p&&x&&b.push(...function(e,t,n,r){const i=ll(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(sl(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(fl)))),o}(s,v,h,w));const k=[s,...b],S=await gl(t,m),E=[];let C=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&E.push(S[g]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=ll(e),i=pl(e),o=ul(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=hl(a)),[a,hl(a)]}(i,a,w);E.push(S[e[0]],S[e[1]])}if(C=[...C,{placement:i,overflows:E}],!E.every((e=>e<=0))){var T,P;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(P=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:P.placement;if(!n)switch(f){case"bestFit":{var A;const e=null==(A=C.filter((e=>{if(x){const t=dl(e.placement);return t===_||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:A[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Nl=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:s}=t,{apply:l=()=>{},...c}=al(e,t),u=await gl(t,c),d=sl(i),p=ll(i),f="y"===dl(i),{width:h,height:v}=o.floating;let m,g;"top"===d||"bottom"===d?(m=d,g=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(g=d,m="end"===p?"top":"bottom");const _=v-u.top-u.bottom,y=h-u.left-u.right,w=Zs(v-u[m],_),b=Zs(h-u[g],y),x=!t.middlewareData.shift;let k=w,S=b;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=y),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=_),x&&!p){const e=Js(u.left,0),t=Js(u.right,0),n=Js(u.top,0),r=Js(u.bottom,0);f?S=h-2*(0!==e||0!==t?e+t:Js(u.left,u.right)):k=v-2*(0!==n||0!==r?n+r:Js(u.top,u.bottom))}await l({...t,availableWidth:S,availableHeight:k});const E=await a.getDimensions(s.floating);return h!==E.width||v!==E.height?{reset:{rects:!0}}:{}}}},Hl=(e,t,n)=>{const r=new Map,i={platform:Ml,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ml(c,r,l),p=r,f={},h=0;for(let v=0;v<s.length;v++){const{name:n,fn:o}=s[v],{x:m,y:g,data:_,reset:y}=await o({x:u,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=g?g:d,f={...f,[n]:{...f[n],..._}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:d}=ml(c,p,l))),v=-1)}return{x:u,y:d,placement:p,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})};var Wl="undefined"!=typeof document?St:kt;function $l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!$l(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!$l(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function jl(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ul(e,t){const n=jl(e);return Math.round(t*n)/n}function Bl(e){const t=Et(e);return Wl((()=>{t.current=e})),t}const ql=(e,t)=>({...Il(e),options:[e,t]}),zl=(e,t)=>({...Gl(e),options:[e,t]}),Vl=(e,t)=>({...Nl(e),options:[e,t]}),Ql={...qn},Kl=Ql.useInsertionEffect||(e=>e());function Yl(e){const t=Et((()=>{}));return Kl((()=>{t.current=e})),Pt((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}var Xl="undefined"!=typeof document?St:kt;let Zl=!1,Jl=0;const ec=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Jl++;const tc=Ql.useId||function(){const[e,t]=bt((()=>Zl?ec():void 0));return Xl((()=>{null==e&&t(ec())}),[]),kt((()=>{Zl=!0}),[]),e};const nc=Ze(null),rc=Ze(null),ic="data-floating-ui-focusable";function oc(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=tc(),o=Et({}),[a]=bt((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),s=null!=((null==(l=At(nc))?void 0:l.id)||null);var l;const[c,u]=bt(r.reference),d=Yl(((e,t,r)=>{o.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)})),p=Tt((()=>({setPositionReference:u})),[]),f=Tt((()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference})),[c,r.reference,r.floating]);return Tt((()=>({dataRef:o,open:t,onOpenChange:d,elements:f,events:a,floatingId:i,refs:p})),[t,d,f,a,i,p])}function ac(e){void 0===e&&(e={});const{nodeId:t}=e,n=oc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,a]=bt(null),[s,l]=bt(null),c=(null==i?void 0:i.domReference)||o,u=Et(null),d=At(rc);Xl((()=>{c&&(u.current=c)}),[c]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=bt({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=bt(r);$l(p,r)||f(r);const[h,v]=bt(null),[m,g]=bt(null),_=Pt((e=>{e!==x.current&&(x.current=e,v(e))}),[]),y=Pt((e=>{e!==k.current&&(k.current=e,g(e))}),[]),w=o||h,b=a||m,x=Et(null),k=Et(null),S=Et(u),E=null!=l,C=Bl(l),T=Bl(i),P=Bl(c),A=Pt((()=>{if(!x.current||!k.current)return;const e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),Hl(x.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};R.current&&!$l(S.current,t)&&(S.current=t,In((()=>{d(t)})))}))}),[p,t,n,T,P]);Wl((()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const R=Et(!1);Wl((()=>(R.current=!0,()=>{R.current=!1})),[]),Wl((()=>{if(w&&(x.current=w),b&&(k.current=b),w&&b){if(C.current)return C.current(w,b,A);A()}}),[w,b,A,C,E]);const O=Tt((()=>({reference:x,floating:k,setReference:_,setFloating:y})),[_,y]),M=Tt((()=>({reference:w,floating:b})),[w,b]),L=Tt((()=>{const e={position:n,left:0,top:0};if(!M.floating)return e;const t=Ul(M.floating,u.x),r=Ul(M.floating,u.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...jl(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,s,M.floating,u.x,u.y]);return Tt((()=>({...u,update:A,refs:O,elements:M,floatingStyles:L})),[u,A,O,M,L])}({...e,elements:{...i,...s&&{reference:s}}}),f=Pt((e=>{const t=Gs(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l(t),p.refs.setReference(t)}),[p.refs]),h=Pt((e=>{(Gs(e)||null===e)&&(u.current=e,a(e)),(Gs(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!Gs(e))&&p.refs.setReference(e)}),[p.refs]),v=Tt((()=>({...p.refs,setReference:h,setPositionReference:f,domReference:u})),[p.refs,h,f]),m=Tt((()=>({...p.elements,domReference:c})),[p.elements,c]),g=Tt((()=>({...p,...r,refs:v,elements:m,nodeId:t})),[p,v,m,t,r]);return Xl((()=>{r.dataRef.current.floatingContext=g;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=g)})),Tt((()=>({...p,context:g,refs:v,elements:m})),[p,v,m,g])}const sc="active",lc="selected";function cc(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[sc]:t,[lc]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[ic]:""},...o,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var a;i&&[sc,lc].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof o&&(null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map((e=>e(...i))).find((e=>void 0!==e))})):e[n]=o)})),e):e),{})}}function uc(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}function dc(e,t){const{open:n,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:a,onChange:s}=t,l=Yl(s),c=Et(!1),u=Et(null),d=Et(null);kt((()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==o.current)return;const n=e.deltaY,r=o.current.top>=-.5,i=o.current.bottom>=-.5,a=t.scrollHeight-t.clientHeight,s=n<0?-1:1,c=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!i&&n<0?(e.preventDefault(),In((()=>{l((e=>e+Math[c](n,a*s)))}))):/firefox/i.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}())&&(t.scrollTop+=n))}const t=(null==a?void 0:a.current)||r.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{u.current=t.scrollTop,null!=o.current&&(d.current={...o.current})})),()=>{u.current=null,d.current=null,t.removeEventListener("wheel",e)}):void 0}),[i,n,r.floating,o,a,l]);const p=Tt((()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){const e=(null==a?void 0:a.current)||r.floating;if(o.current&&e&&c.current){if(null!==u.current){const t=e.scrollTop-u.current;(o.current.bottom<-.5&&t<-1||o.current.top<-.5&&t>1)&&In((()=>l((e=>e+t))))}requestAnimationFrame((()=>{u.current=e.scrollTop}))}}})),[r.floating,l,o,a]);return Tt((()=>i?{floating:p}:{}),[i,p])}let pc=Ze({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});pc.displayName="FloatingContext";let fc=Ze(null);fc.displayName="PlacementContext";function hc({children:e,enabled:t=!0}){let[n,r]=bt(null),[i,o]=bt(0),a=Et(null),[s,l]=bt(null);!function(e){da((()=>{if(!e)return;let t=new MutationObserver((()=>{let t=window.getComputedStyle(e).maxHeight,n=parseFloat(t);if(isNaN(n))return;let r=parseInt(t);isNaN(r)||n!==r&&(e.style.maxHeight=`${Math.ceil(n)}px`)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}}),[e])}(s);let c=t&&null!==n&&null!==s,{to:u="bottom",gap:d=0,offset:p=0,padding:f=0,inner:h}=function(e,t){var n,r,i;let o=vc(null!=(n=null==e?void 0:e.gap)?n:"var(--anchor-gap, 0)",t),a=vc(null!=(r=null==e?void 0:e.offset)?r:"var(--anchor-offset, 0)",t),s=vc(null!=(i=null==e?void 0:e.padding)?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:a,padding:s}}(n,s),[v,m="center"]=u.split(" ");da((()=>{c&&o(0)}),[c]);let{refs:g,floatingStyles:_,context:y}=ac({open:c,placement:"selection"===v?"center"===m?"bottom":`bottom-${m}`:"center"===m?`${v}`:`${v}-${m}`,strategy:"absolute",transform:!1,middleware:[ql({mainAxis:"selection"===v?0:d,crossAxis:p}),(k={padding:f},{...Dl(k),options:[k,S]}),"selection"!==v&&zl({padding:f}),"selection"===v&&h?(x={...h,padding:f,overflowRef:a,offset:i,minItemsVisible:4,referenceOverflowThreshold:f,onFallbackChange(e){var t,n;if(!e)return;let r=y.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,a=Math.min(4,r.childElementCount),s=0,l=0;for(let o of null!=(n=null==(t=y.elements.floating)?void 0:t.childNodes)?n:[])if(o instanceof HTMLElement){let e=o.offsetTop,t=e+o.clientHeight+i,n=r.scrollTop,c=n+r.clientHeight;if(!(e>=n&&t<=c)){l=Math.max(0,Math.min(t,c)-Math.max(e,n)),s=o.clientHeight;break}a--}a>=1&&o((e=>{let t=s*a-l+i;return e>=t?e:t}))}},{name:"inner",options:x,async fn(e){const{listRef:t,overflowRef:n,onFallbackChange:r,offset:i=0,index:o=0,minItemsVisible:a=4,referenceOverflowThreshold:s=0,scrollRef:l,...c}=al(x,e),{rects:u,elements:{floating:d}}=e,p=t.current[o],f=(null==l?void 0:l.current)||d,h=d.clientTop||f.clientTop,v=0!==d.clientTop,m=0!==f.clientTop,g=d===f;if(!p)return{};const _={...e,...await ql(-p.offsetTop-d.clientTop-u.reference.height/2-p.offsetHeight/2-i).fn(e)},y=await Fl(uc(_,f.scrollHeight+h+d.clientTop),c),w=await Fl(_,{...c,elementContext:"reference"}),b=Js(0,y.top),k=_.y+b,S=f.scrollHeight>f.clientHeight,E=(S?e=>e:el)(Js(0,f.scrollHeight+(v&&g||m?2*h:0)-b-Js(0,y.bottom)));if(f.style.maxHeight=E+"px",f.scrollTop=b,r){const e=S&&f.offsetHeight<p.offsetHeight*a-1||w.top>=-s||w.bottom>=-s;In((()=>r(e)))}return n&&(n.current=await Fl(uc({..._,y:k},f.offsetHeight+h+d.clientTop),c)),{y:k}}}):null,Vl({padding:f,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:Ll}),[w=v,b=m]=y.placement.split("-");var x,k,S;"selection"===v&&(w="selection");let E=Tt((()=>({anchor:[w,b].filter(Boolean).join(" ")})),[w,b]),C=dc(y,{overflowRef:a,onChange:o}),{getReferenceProps:T,getFloatingProps:P}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),i=Pt((t=>cc(t,e,"reference")),t),o=Pt((t=>cc(t,e,"floating")),n),a=Pt((t=>cc(t,e,"item")),r);return Tt((()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:a})),[i,o,a])}([C]),A=fa((e=>{l(e),g.setFloating(e)}));return Pe(fc.Provider,{value:r},Pe(pc.Provider,{value:{setFloating:A,setReference:g.setReference,styles:_,getReferenceProps:T,getFloatingProps:P,slot:E}},e))}function vc(e,t,n=void 0){let r=ua(),i=fa(((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let i=gc(e,t);return[i,n=>{let o=mc(e);{let a=o.map((e=>window.getComputedStyle(t).getPropertyValue(e)));r.requestAnimationFrame((function s(){r.nextFrame(s);let l=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(a[e]!==r){a[e]=r,l=!0;break}}if(!l)return;let c=gc(e,t);i!==c&&(n(c),i=c)}))}return r.dispose}]}return[n,null]})),o=Tt((()=>i(e,t)[0]),[e,t]),[a=o,s]=bt();return da((()=>{let[n,r]=i(e,t);if(s(n),r)return r(s)}),[e,t]),a}function mc(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let n=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[n,...mc(r)]:[n]}return[]}function gc(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let _c=Ze(null);_c.displayName="OpenClosedContext";var yc=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(yc||{});function wc({value:e,children:t}){return Bn.createElement(_c.Provider,{value:e},t)}var bc,xc=((bc=xc||{})[bc.First=0]="First",bc[bc.Previous=1]="Previous",bc[bc.Next=2]="Next",bc[bc.Last=3]="Last",bc[bc.Specific=4]="Specific",bc[bc.Nothing=5]="Nothing",bc);function kc(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===i&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}function Sc(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in qn&&(e=>e.useSyncExternalStore)(qn)((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,n]=bt(aa.isHandoffComplete);return t&&!1===aa.isHandoffComplete&&n(!1),kt((()=>{!0!==t&&n(!0)}),[t]),kt((()=>aa.handoff()),[]),!e&&t}let Ec=Ze(!1);function Cc(e){let t=At(Ec),n=At(Rc),r=ws(e),[i,o]=bt((()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(aa.isServer)return null;let i=null==r?void 0:r.getElementById("headlessui-portal-root");if(i)return i;if(null===r)return null;let o=r.createElement("div");return o.setAttribute("id","headlessui-portal-root"),r.body.appendChild(o)}));return kt((()=>{null!==i&&(null!=r&&r.body.contains(i)||null==r||r.body.appendChild(i))}),[i,r]),kt((()=>{t||null!==n&&o(n.current)}),[n,o,t]),i}let Tc=Oe,Pc=Ta((function(e,t){let n=e,r=Et(null),i=Fa(function(e,t=!0){return Object.assign(e,{[La]:t})}((e=>{r.current=e})),t),o=ws(r),a=Cc(r),[s]=bt((()=>{var e;return aa.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null})),l=At(Oc),c=Sc();da((()=>{!a||!s||a.contains(s)||(s.setAttribute("data-headlessui-portal",""),a.appendChild(s))}),[a,s]),da((()=>{if(s&&l)return l.register(s)}),[l,s]),function(e){let t=fa(e),n=Et(!1);kt((()=>(n.current=!1,()=>{n.current=!0,la((()=>{n.current&&t()}))})),[t])}((()=>{var e;!a||!s||(s instanceof Node&&a.contains(s)&&a.removeChild(s),a.childNodes.length<=0&&(null==(e=a.parentElement)||e.removeChild(a)))}));let u=xa();return c&&a&&s?ln(u({ourProps:{ref:i},theirProps:n,slot:{},defaultTag:Tc,name:"Portal"}),s):null}));let Ac=Oe,Rc=Ze(null);let Oc=Ze(null),Mc=Ta((function(e,t){let n=Fa(t),{enabled:r=!0,...i}=e,o=xa();return r?Bn.createElement(Pc,{...i,ref:n}):o({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:Tc,name:"Portal"})})),Lc=Ta((function(e,t){let{target:n,...r}=e,i={ref:Fa(t)},o=xa();return Bn.createElement(Rc.Provider,{value:n},o({ourProps:i,theirProps:r,defaultTag:Ac,name:"Popover.Group"}))})),Fc=Object.assign(Mc,{Group:Lc});let Ic=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Dc(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let s of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),o=!0;let a=o?null!=(n=i.innerText)?n:"":r;return Ic.test(a)&&(a=a.replace(Ic,"")),a}function Gc(e){let t=Et(""),n=Et("");return fa((()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():Dc(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Dc(e).trim()}(r).trim().toLowerCase();return t.current=i,n.current=o,o}))}var Nc=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nc||{}),Hc=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Hc||{}),Wc=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(Wc||{});function $c(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=hs(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{items:r,activeItemIndex:i}}let jc={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n,r,i,o,a;if(1===e.menuState)return e;let s={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===xc.Nothing)return{...s,activeItemIndex:null};if(t.focus===xc.Specific)return{...s,activeItemIndex:e.items.findIndex((e=>e.id===t.id))};if(t.focus===xc.Previous){let n=e.activeItemIndex;if(null!==n){let o=e.items[n].dataRef.current.domRef,a=kc(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.items[a].dataRef.current.domRef;if((null==(r=o.current)?void 0:r.previousElementSibling)===t.current||null===(null==(i=t.current)?void 0:i.previousElementSibling))return{...s,activeItemIndex:a}}}}else if(t.focus===xc.Next){let n=e.activeItemIndex;if(null!==n){let r=e.items[n].dataRef.current.domRef,i=kc(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.items[i].dataRef.current.domRef;if((null==(o=r.current)?void 0:o.nextElementSibling)===t.current||null===(null==(a=t.current)?void 0:a.nextElementSibling))return{...s,activeItemIndex:i}}}}let l=$c(e),c=kc(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...s,...l,activeItemIndex:c}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),o=i?e.items.indexOf(i):-1;return-1===o||o===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=$c(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=$c(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},Uc=Ze(null);function Bc(e){let t=At(Uc);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Bc),t}return t}function qc(e,t){return ga(t.type,jc,e,t)}Uc.displayName="MenuContext";let zc=Oe;let Vc=wa.RenderStrategy|wa.Static;let Qc=Oe;let Kc=Ta((function(e,t){let{__demoMode:n=!1,...r}=e,i=xt(qc,{__demoMode:n,menuState:n?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:o,itemsElement:a,buttonElement:s},l]=i,c=Fa(t);ys(0===o,[s,a],((e,t)=>{l({type:1}),us(t,cs.Loose)||(e.preventDefault(),null==s||s.focus())}));let u=fa((()=>{l({type:1})})),d=Tt((()=>({open:0===o,close:u})),[o,u]),p={ref:c},f=xa();return Bn.createElement(hc,null,Bn.createElement(Uc.Provider,{value:i},Bn.createElement(wc,{value:ga(o,{0:yc.Open,1:yc.Closed})},f({ourProps:p,theirProps:r,slot:d,defaultTag:zc,name:"Menu"}))))})),Yc=Ta((function(e,t){var n;let r=Ot(),{id:i=`headlessui-menu-button-${r}`,disabled:o=!1,autoFocus:a=!1,...s}=e,[l,c]=Bc("Menu.Button"),u=At(pc).getReferenceProps,d=Fa(t,At(pc).setReference,fa((e=>c({type:7,element:e})))),p=fa((e=>{switch(e.key){case Ha.Space:case Ha.Enter:case Ha.ArrowDown:e.preventDefault(),e.stopPropagation(),In((()=>c({type:0}))),c({type:2,focus:xc.First});break;case Ha.ArrowUp:e.preventDefault(),e.stopPropagation(),In((()=>c({type:0}))),c({type:2,focus:xc.Last})}})),f=fa((e=>{if(e.key===Ha.Space)e.preventDefault()})),h=fa((e=>{var t;if(Ma(e.currentTarget))return e.preventDefault();o||(0===l.menuState?(In((()=>c({type:1}))),null==(t=l.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),c({type:0})))})),{isFocusVisible:v,focusProps:m}=ra({autoFocus:a}),{isHovered:g,hoverProps:_}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[o,a]=bt(!1),s=Et({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;kt(na,[]);let{hoverProps:l,triggerHoverEnd:c}=Tt((()=>{let e=(e,r)=>{if(s.pointerType=r,i||"touch"===r||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let o=e.currentTarget;s.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),a(!0)},o=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let i=e.currentTarget;r&&r({type:"hoverend",target:i,pointerType:t}),n&&n(!1),a(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=t=>{Zo&&"mouse"===t.pointerType||e(t,t.pointerType)},l.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&o(e,e.pointerType)}):(l.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||Zo||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&o(e,"mouse")}),{hoverProps:l,triggerHoverEnd:o}}),[t,n,r,i,s]);return kt((()=>{i&&c({currentTarget:s.target},s.pointerType)}),[i]),{hoverProps:l,isHovered:o}}({isDisabled:o}),{pressed:y,pressProps:w}=function({disabled:e=!1}={}){let t=Et(null),[n,r]=bt(!1),i=ua(),o=fa((()=>{t.current=null,r(!1),i.dispose()})),a=fa((e=>{if(i.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=sa(e.currentTarget);i.addEventListener(n,"pointerup",o,!1),i.addEventListener(n,"pointermove",(e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);r(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(n,t.current.getBoundingClientRect()))}}),!1),i.addEventListener(n,"pointercancel",o,!1)}}}));return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}({disabled:o}),b=Tt((()=>({open:0===l.menuState,active:y||0===l.menuState,disabled:o,hover:g,focus:v,autofocus:a})),[l,g,v,y,o,a]),x=Ca(u(),{ref:d,id:i,type:bs(e,l.buttonElement),"aria-haspopup":"menu","aria-controls":null==(n=l.itemsElement)?void 0:n.id,"aria-expanded":0===l.menuState,disabled:o||void 0,autoFocus:a,onKeyDown:p,onKeyUp:f,onClick:h},m,_,w);return xa()({ourProps:x,theirProps:s,slot:b,defaultTag:"button",name:"Menu.Button"})})),Xc=Ta((function(e,t){var n,r;let i=Ot(),{id:o=`headlessui-menu-items-${i}`,anchor:a,portal:s=!1,modal:l=!0,transition:c=!1,...u}=e,d=function(e){return Tt((()=>e?"string"==typeof e?{to:e}:e:null),[e])}(a),[p,f]=Bc("Menu.Items"),[h,v]=function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=At(fc),n=Tt((()=>e),[JSON.stringify(e,((e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t}))]);da((()=>{null==t||t(null!=n?n:null)}),[t,n]);let r=At(pc);return Tt((()=>[r.setFloating,e?r.styles:{}]),[r.setFloating,e,r.styles])}(d),m=function(){let{getFloatingProps:e,slot:t}=At(pc);return Pt(((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor})),[e,t])}(),[g,_]=bt(null),y=Fa(t,d?h:null,fa((e=>f({type:8,element:e}))),_),w=ws(p.itemsElement);d&&(s=!0);let b=At(_c),[x,k]=Os(c,g,null!==b?(b&yc.Open)===yc.Open:0===p.menuState);!function(e,t,n){let r=pa((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()}));kt((()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let i=ca();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>r.current(n)));e.observe(n),i.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>r.current(n)));e.observe(n),i.add((()=>e.disconnect()))}return()=>i.dispose()}),[t,r,e])}(x,p.buttonElement,(()=>{f({type:1})})),Es(!p.__demoMode&&(l&&0===p.menuState),w),function(e,{allowed:t,disallowed:n}={}){let r=Ka(e,"inert-others");da((()=>{var e,i;if(!r)return;let o=ca();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(Za(t));let a=null!=(i=null==t?void 0:t())?i:[];for(let t of a){if(!t)continue;let e=sa(t);if(!e)continue;let n=t.parentElement;for(;n&&n!==e.body;){for(let e of n.children)a.some((t=>e.contains(t)))||o.add(Za(e));n=n.parentElement}}return o.dispose}),[r,t,n])}(!p.__demoMode&&(l&&0===p.menuState),{allowed:Pt((()=>[p.buttonElement,p.itemsElement]),[p.buttonElement,p.itemsElement])});let S=!function(e,t){let n=Et({left:0,top:0});if(da((()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(n.current=e)}),[e,t]),null==t||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}(0!==p.menuState,p.buttonElement)&&x;kt((()=>{let e=p.itemsElement;e&&0===p.menuState&&e!==(null==w?void 0:w.activeElement)&&e.focus({preventScroll:!0})}),[p.menuState,p.itemsElement,w]),function(e,{container:t,accept:n,walk:r}){let i=Et(n),o=Et(r);kt((()=>{i.current=n,o.current=r}),[n,r]),da((()=>{if(!t||!e)return;let n=sa(t);if(!n)return;let r=i.current,a=o.current,s=Object.assign((e=>r(e)),{acceptNode:r}),l=n.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)a(l.currentNode)}),[t,e,i,o])}(0===p.menuState,{container:p.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let E=ua(),C=fa((e=>{var t,n,r;switch(E.dispose(),e.key){case Ha.Space:if(""!==p.searchQuery)return e.preventDefault(),e.stopPropagation(),f({type:3,value:e.key});case Ha.Enter:if(e.preventDefault(),e.stopPropagation(),f({type:1}),null!==p.activeItemIndex){let{dataRef:e}=p.items[p.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}ds(p.buttonElement);break;case Ha.ArrowDown:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.Next});case Ha.ArrowUp:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.Previous});case Ha.Home:case Ha.PageUp:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.First});case Ha.End:case Ha.PageDown:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.Last});case Ha.Escape:e.preventDefault(),e.stopPropagation(),In((()=>f({type:1}))),null==(r=p.buttonElement)||r.focus({preventScroll:!0});break;case Ha.Tab:e.preventDefault(),e.stopPropagation(),In((()=>f({type:1}))),vs(p.buttonElement,e.shiftKey?os.Previous:os.Next);break;default:1===e.key.length&&(f({type:3,value:e.key}),E.setTimeout((()=>f({type:4})),350))}})),T=fa((e=>{if(e.key===Ha.Space)e.preventDefault()})),P=Tt((()=>({open:0===p.menuState})),[p.menuState]),A=Ca(d?m():{},{"aria-activedescendant":null===p.activeItemIndex||null==(n=p.items[p.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=p.buttonElement)?void 0:r.id,id:o,onKeyDown:C,onKeyUp:T,role:"menu",tabIndex:0===p.menuState?0:void 0,ref:y,style:{...u.style,...v,"--button-width":Ba(p.buttonElement,!0).width},...Rs(k)}),R=xa();return Bn.createElement(Fc,{enabled:!!s&&(e.static||x)},R({ourProps:A,theirProps:u,slot:P,defaultTag:"div",features:Vc,visible:S,name:"Menu.Items"}))})),Zc=Ta((function(e,t){let n=Ot(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...o}=e,[a,s]=Bc("Menu.Item"),l=null!==a.activeItemIndex&&a.items[a.activeItemIndex].id===r,c=Et(null),u=Fa(t,c);da((()=>{if(!a.__demoMode&&0===a.menuState&&l&&0!==a.activationTrigger)return ca().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=c.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[a.__demoMode,c,l,a.menuState,a.activationTrigger,a.activeItemIndex]);let d=Gc(c),p=Et({disabled:i,domRef:c,get textValue(){return d()}});da((()=>{p.current.disabled=i}),[p,i]),da((()=>(s({type:5,id:r,dataRef:p}),()=>s({type:6,id:r}))),[p,r]);let f=fa((()=>{s({type:1})})),h=fa((e=>{if(i)return e.preventDefault();s({type:1}),ds(a.buttonElement)})),v=fa((()=>{if(i)return s({type:2,focus:xc.Nothing});s({type:2,focus:xc.Specific,id:r})})),m=function(){let e=Et([-1,-1]);return{wasMoved(t){let n=Cs(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=Cs(t)}}}(),g=fa((e=>{m.update(e),!i&&(l||s({type:2,focus:xc.Specific,id:r,trigger:0}))})),_=fa((e=>{m.wasMoved(e)&&(i||l||s({type:2,focus:xc.Specific,id:r,trigger:0}))})),y=fa((e=>{m.wasMoved(e)&&(i||l&&s({type:2,focus:xc.Nothing}))})),[w,b]=ja(),[x,k]=function(){let[e,t]=bt([]);return[e.length>0?e.join(" "):void 0,Tt((()=>function(e){let n=fa((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),r=Tt((()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value})),[n,e.slot,e.name,e.props,e.value]);return Bn.createElement(Ia.Provider,{value:r},e.children)}),[t])]}(),S=Tt((()=>({active:l,focus:l,disabled:i,close:f})),[l,i,f]),E={id:r,ref:u,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-labelledby":w,"aria-describedby":x,disabled:void 0,onClick:h,onFocus:v,onPointerEnter:g,onMouseEnter:g,onPointerMove:_,onMouseMove:_,onPointerLeave:y,onMouseLeave:y},C=xa();return Bn.createElement(b,null,Bn.createElement(k,null,C({ourProps:E,theirProps:o,slot:S,defaultTag:Qc,name:"Menu.Item"})))})),Jc=Ta((function(e,t){let[n,r]=ja(),i=e,o={ref:t,"aria-labelledby":n,role:"group"},a=xa();return Bn.createElement(r,null,a({ourProps:o,theirProps:i,slot:{},defaultTag:"div",name:"Menu.Section"}))})),eu=Ta((function(e,t){let n=Ot(),{id:r=`headlessui-menu-heading-${n}`,...i}=e,o=$a();da((()=>o.register(r)),[r,o.register]);let a={id:r,ref:t,role:"presentation",...o.props};return xa()({ourProps:a,theirProps:i,slot:{},defaultTag:"header",name:"Menu.Heading"})})),tu=Ta((function(e,t){let n=e,r={ref:t,role:"separator"};return xa()({ourProps:r,theirProps:n,slot:{},defaultTag:"div",name:"Menu.Separator"})})),nu=Object.assign(Kc,{Button:Yc,Items:Xc,Item:Zc,Section:Jc,Heading:eu,Separator:tu});const ru=e=>fo(ou,{children:ho(nu,{as:"div",children:[fo("div",{children:ho(Yc,{css:{display:"flex",alignItems:"center",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"},":focus":{outline:"2px solid transparent",outlineOffset:"2px","--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#f3f4f6"}},children:[fo("span",{css:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},children:"Open options"}),fo(bo,{"aria-hidden":"true",css:{width:"1.25rem",height:"1.25rem"}})]})}),fo(Xc,{transition:!0,className:"right-45 w-30",css:{position:"fixed",zIndex:"10",marginTop:"0.5rem",borderRadius:"0.375rem","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--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)","--tw-ring-color":"rgb(0 0 0 / 0.05)",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms",":focus":{outline:"2px solid transparent",outlineOffset:"2px"},"&[data-closed]":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",opacity:"0"},"&[data-enter]":{transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},"&[data-leave]":{transitionDuration:"75ms",transitionTimingFunction:"cubic-bezier(0.4, 0, 1, 1)"}},children:e.items.map(((t,n)=>fo(Zc,{children:fo("button",{type:"button",css:{display:"block",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))","&[data-focus]":{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))",outline:"2px solid transparent",outlineOffset:"2px"}},onClick:()=>{t.onClick(e.id)},children:t.label},n)},n)))})]})}),iu=e=>{const t=new Date(e.value);return ho(ou,{children:[t.toLocaleDateString(),fo("br",{}),t.toLocaleTimeString()]})},ou=ao.td`
1
+ var __defProp=Object.defineProperty,__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateAdd=(e,t,n)=>t.has(e)?__typeError("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),__privateSet=(e,t,n,r)=>(__accessCheck(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n),__privateWrapper=(e,t,n,r)=>({set _(r){__privateSet(e,t,r,n)},get _(){return __privateGet(e,t,r)}});!function(){"use strict";var e,t,n,r,i,o,a,s,l,c,u,d,p,f,h,v,m,g,_,y,w,b,x,k,S,E,C,T,P,A,R,O,M,L,F,I,D,G,N,H,W,$,j,U,B,q,z,V,Q,K,Y,X,Z,J,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,pe,fe,he,ve,me,ge,_e,ye,we,be,xe={},ke=[],Se=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ee=Array.isArray;function Ce(e,t){for(var n in t)e[n]=t[n];return e}function Te(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Pe(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?de.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return Ae(e,a,r,i,null)}function Ae(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++fe:i,__i:-1,__u:0};return null==i&&null!=pe.vnode&&pe.vnode(o),o}function Re(){return{current:null}}function Oe(e){return e.children}function Me(e,t){this.props=e,this.context=t}function Le(e,t){if(null==t)return e.__?Le(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Le(e):null}function Fe(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Fe(e)}}function Ie(e){(!e.__d&&(e.__d=!0)&&he.push(e)&&!De.__r++||ve!==pe.debounceRendering)&&((ve=pe.debounceRendering)||me)(De)}function De(){var e,t,n,r,i,o,a,s;for(he.sort(ge);e=he.shift();)e.__d&&(t=he.length,r=void 0,o=(i=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Ce({},i)).__v=i.__v+1,pe.vnode&&pe.vnode(r),Be(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,a,null==o?Le(i):o,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,qe(a,r,s),r.__e!=o&&Fe(r)),he.length>t&&he.sort(ge));De.__r=0}function Ge(e,t,n,r,i,o,a,s,l,c,u){var d,p,f,h,v,m=r&&r.__k||ke,g=t.length;for(n.__d=l,function(e,t,n){var r,i,o,a,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+d,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?Ae(null,i,null,null,null):Ee(i)?Ae(Oe,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?Ae(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=We(i,n,a,u))&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?d--:s==a+1?d++:(s>a?d--:d++,i.__u|=65536))):i=e.__k[r]=null;if(u)for(r=0;r<c;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Le(o)),Ve(o,o))}(n,t,m),l=n.__d,d=0;d<g;d++)null!=(f=n.__k[d])&&(p=-1===f.__i?xe:m[f.__i]||xe,f.__i=d,Be(e,f,p,i,o,a,s,l,c,u),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&ze(p.ref,null,f),u.push(f.ref,f.__c||h,f)),null==v&&null!=h&&(v=h),65536&f.__u||p.__k===f.__k?l=Ne(f,l,e):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=v}function Ne(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=Ne(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Le(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function He(e,t){return t=t||[],null==e||"boolean"==typeof e||(Ee(e)?e.some((function(e){He(e,t)})):t.push(e)),t}function We(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function $e(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||Se.test(t)?n:n+"px"}function je(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||$e(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||$e(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=_e,e.addEventListener(t,o?we:ye,o)):e.removeEventListener(t,o?we:ye,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function Ue(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=_e++;else if(t.t<n.u)return;return n(pe.event?pe.event(t):t)}}}function Be(e,t,n,r,i,o,a,s,l,c){var u,d,p,f,h,v,m,g,_,y,w,b,x,k,S,E,C=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(u=pe.__b)&&u(t);e:if("function"==typeof C)try{if(g=t.props,_="prototype"in C&&C.prototype.render,y=(u=C.contextType)&&r[u.__c],w=u?y?y.props.value:u.__:r,n.__c?m=(d=t.__c=n.__c).__=d.__E:(_?t.__c=d=new C(g,w):(t.__c=d=new Me(g,w),d.constructor=C,d.render=Qe),y&&y.sub(d),d.props=g,d.state||(d.state={}),d.context=w,d.__n=r,p=d.__d=!0,d.__h=[],d._sb=[]),_&&null==d.__s&&(d.__s=d.state),_&&null!=C.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Ce({},d.__s)),Ce(d.__s,C.getDerivedStateFromProps(g,d.__s))),f=d.props,h=d.state,d.__v=t,p)_&&null==C.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),_&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(_&&null==C.getDerivedStateFromProps&&g!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,w),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=g,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,w),_&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(f,h,v)}))}if(d.context=w,d.props=g,d.__P=e,d.__e=!1,x=pe.__r,k=0,_){for(d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),S=0;S<d._sb.length;S++)d.__h.push(d._sb[S]);d._sb=[]}else do{d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(r=Ce(Ce({},r),d.getChildContext())),_&&!p&&null!=d.getSnapshotBeforeUpdate&&(v=d.getSnapshotBeforeUpdate(f,h)),Ge(e,Ee(E=null!=u&&u.type===Oe&&null==u.key?u.props.children:u)?E:[E],t,n,r,i,o,a,s,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(T){if(t.__v=null,l||null!=o){for(t.__u|=l?160:128;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;pe.__e(T,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,i,o,a,s,l){var c,u,d,p,f,h,v,m=n.props,g=t.props,_=t.type;if("svg"===_?i="http://www.w3.org/2000/svg":"math"===_?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(c=0;c<o.length;c++)if((f=o[c])&&"setAttribute"in f==!!_&&(_?f.localName===_:3===f.nodeType)){e=f,o[c]=null;break}if(null==e){if(null===_)return document.createTextNode(g);e=document.createElementNS(i,_,g.is&&g),s&&(pe.__m&&pe.__m(t,o),s=!1),o=null}if(null===_)m===g||s&&e.data===g||(e.data=g);else{if(o=o&&de.call(e.childNodes),m=n.props||xe,!s&&null!=o)for(m={},c=0;c<e.attributes.length;c++)m[(f=e.attributes[c]).name]=f.value;for(c in m)if(f=m[c],"children"==c);else if("dangerouslySetInnerHTML"==c)d=f;else if(!(c in g)){if("value"==c&&"defaultValue"in g||"checked"==c&&"defaultChecked"in g)continue;je(e,c,null,f,i)}for(c in g)f=g[c],"children"==c?p=f:"dangerouslySetInnerHTML"==c?u=f:"value"==c?h=f:"checked"==c?v=f:s&&"function"!=typeof f||m[c]===f||je(e,c,f,m[c],i);if(u)s||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),Ge(e,Ee(p)?p:[p],t,n,r,"foreignObject"===_?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&Le(n,0),s,l),null!=o)for(c=o.length;c--;)Te(o[c]);s||(c="value","progress"===_&&null==h?e.removeAttribute("value"):void 0!==h&&(h!==e[c]||"progress"===_&&!h||"option"===_&&h!==m[c])&&je(e,c,h,m[c],i),c="checked",void 0!==v&&v!==e[c]&&je(e,c,v,m[c],i))}return e}(n.__e,t,n,r,i,o,a,l,c);(u=pe.diffed)&&u(t)}function qe(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ze(n[r],n[++r],n[++r]);pe.__c&&pe.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(n){pe.__e(n,t.__v)}}))}function ze(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(i){pe.__e(i,n)}}function Ve(e,t,n){var r,i;if(pe.unmount&&pe.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ze(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){pe.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Ve(r[i],t,n||"function"!=typeof e.type);n||Te(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Qe(e,t,n){return this.constructor(e,n)}function Ke(e,t,n){var r,i,o,a;pe.__&&pe.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],Be(t,e=(!r&&n||t).__k=Pe(Oe,null,[e]),i||xe,xe,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?de.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),qe(o,e,a)}function Ye(e,t){Ke(e,t,Ye)}function Xe(e,t,n){var r,i,o,a,s=Ce({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=void 0===t[o]&&void 0!==a?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?de.call(arguments,2):n),Ae(e.type,s,r||e.key,i||e.ref,null)}function Ze(e,t){var n={__c:t="__cC"+be++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,Ie(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}function Je(){return(Je=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}).apply(this,arguments)}de=ke.slice,pe={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},fe=0,Me.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Ce({},this.state),"function"==typeof e&&(e=e(Ce({},n),this.props)),e&&Ce(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Ie(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ie(this))},Me.prototype.render=Oe,he=[],me="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ge=function(e,t){return e.__v.__b-t.__v.__b},De.__r=0,_e=0,ye=Ue(!1),we=Ue(!0),be=0;var et=["context","children"];function tt(e){return this.getChildContext=function(){return e.context},Xe(e.children,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,et))}function nt(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Pe(tt,Je({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],i={},o=0,a=t.attributes,s=t.childNodes;for(o=a.length;o--;)"slot"!==a[o].name&&(i[a[o].name]=a[o].value,i[rt(a[o].name)]=a[o].value);for(o=s.length;o--;){var l=e(s[o],null),c=s[o].slot;c?i[c]=Pe(at,{name:c},l):r[o]=l}var u=n?Pe(at,null,r):r;return Pe(n||t.nodeName.toLowerCase(),i,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ye:Ke)(this._vdom,this._root)}function rt(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function it(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[rt(e)]=n,this._vdom=Xe(this._vdom,r),Ke(this._vdom,this._root)}}function ot(){Ke(this._vdom=null,this._root)}function at(e,t){var n=this;return Pe("slot",Je({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}var st,lt,ct,ut,dt=0,pt=[],ft=pe,ht=ft.__b,vt=ft.__r,mt=ft.diffed,gt=ft.__c,_t=ft.unmount,yt=ft.__;function wt(e,t){ft.__h&&ft.__h(lt,e,dt||t),dt=0;var n=lt.__H||(lt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function bt(e){return dt=1,xt(Nt,e)}function xt(e,t,n){var r=wt(st++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Nt(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=lt,!lt.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};lt.u=!0;var o=lt.shouldComponentUpdate,a=lt.componentWillUpdate;lt.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},lt.shouldComponentUpdate=i}return r.__N||r.__}function kt(e,t){var n=wt(st++,3);!ft.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,lt.__H.__h.push(n))}function St(e,t){var n=wt(st++,4);!ft.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,lt.__h.push(n))}function Et(e){return dt=5,Tt((function(){return{current:e}}),[])}function Ct(e,t,n){dt=6,St((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function Tt(e,t){var n=wt(st++,7);return Gt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Pt(e,t){return dt=8,Tt((function(){return e}),t)}function At(e){var t=lt.context[e.__c],n=wt(st++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(lt)),t.props.value):e.__}function Rt(e,t){ft.useDebugValue&&ft.useDebugValue(t?t(e):e)}function Ot(){var e=wt(st++,11);if(!e.__){for(var t=lt.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Mt(){for(var e;e=pt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(It),e.__H.__h.forEach(Dt),e.__H.__h=[]}catch(ns){e.__H.__h=[],ft.__e(ns,e.__v)}}ft.__b=function(e){lt=null,ht&&ht(e)},ft.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),yt&&yt(e,t)},ft.__r=function(e){vt&&vt(e),st=0;var t=(lt=e.__c).__H;t&&(ct===lt?(t.__h=[],lt.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(It),t.__h.forEach(Dt),t.__h=[],st=0)),ct=lt},ft.diffed=function(e){mt&&mt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==pt.push(t)&&ut===ft.requestAnimationFrame||((ut=ft.requestAnimationFrame)||Ft)(Mt)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),ct=lt=null},ft.__c=function(e,t){t.some((function(e){try{e.__h.forEach(It),e.__h=e.__h.filter((function(e){return!e.__||Dt(e)}))}catch(Na){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ft.__e(Na,e.__v)}})),gt&&gt(e,t)},ft.unmount=function(e){_t&&_t(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{It(e)}catch(n){t=n}})),n.__H=void 0,t&&ft.__e(t,n.__v))};var Lt="function"==typeof requestAnimationFrame;function Ft(e){var t,n=function(){clearTimeout(r),Lt&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Lt&&(t=requestAnimationFrame(n))}function It(e){var t=lt,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),lt=t}function Dt(e){var t=lt;e.__c=e.__(),lt=t}function Gt(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Nt(e,t){return"function"==typeof t?t(e):t}class Ht extends Error{constructor(e,t){super(e),__publicField(this,"_response"),this._response=t,Object.setPrototypeOf(this,Ht.prototype)}get response(){return this._response}}const Wt=async(e,t,n,r,i)=>{const o=await fetch(e,{method:n,body:r?JSON.stringify(r):void 0,headers:{"content-type":"application/json","x-app-version":"1.0.657",authorization:`Bearer ${t}`},signal:(null==AbortSignal?void 0:AbortSignal.timeout)&&AbortSignal.timeout(15e3)});if(!o.ok)throw new Ht(`[API Error] Status: ${o.statusText}`,o);return i?{}:await o.json()};let $t;function jt(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ut(e,t){this.props=e,this.context=t}function Bt(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:jt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Pe(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ut.prototype=new Me).isPureReactComponent=!0,Ut.prototype.shouldComponentUpdate=function(e,t){return jt(this.props,e)||jt(this.state,t)};var qt=pe.__b;pe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),qt&&qt(e)};var zt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Vt(e){function t(t){if(!("ref"in t))return e(t,null);var n=t.ref;delete t.ref;var r=e(t,n);return t.ref=n,r}return t.$$typeof=zt,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Qt=function(e,t){return null==e?null:He(He(e).map(t))},Kt={map:Qt,forEach:Qt,count:function(e){return e?He(e).length:0},only:function(e){var t=He(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:He},Yt=pe.__e;pe.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Yt(e,t,n,r)};var Xt=pe.unmount;function Zt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Zt(e,t,n)}))),e}function Jt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Jt(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function en(){this.__u=0,this.t=null,this.__b=null}function tn(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function nn(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return Pe(n,i)}return i.displayName="Lazy",i.__f=!0,i}function rn(){this.u=null,this.o=null}pe.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Xt&&Xt(e)},(en.prototype=new Me).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=tn(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Jt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},en.prototype.componentWillUnmount=function(){this.t=[]},en.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]=Zt(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&Pe(Oe,null,e.fallback);return i&&(i.__u&=-33),[Pe(Oe,null,t.__a?null:e.children),i]};var on=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!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 an(e){return this.getChildContext=function(){return e.context},e.children}function sn(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ke(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Ke(Pe(an,{context:t.context},e.__v),t.l)}function ln(e,t){var n=Pe(sn,{__v:e,i:t});return n.containerInfo=t,n}(rn.prototype=new Me).__a=function(e){var t=this,n=tn(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),on(t,e,r)):i()};n?n(o):o()}},rn.prototype.render=function(e){this.u=null,this.o=new Map;var t=He(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},rn.prototype.componentDidUpdate=rn.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){on(e,n,t)}))};var cn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,un=/^(?: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]/,dn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,pn=/[A-Z0-9]/g,fn="undefined"!=typeof document,hn=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function vn(e,t,n){return null==t.__k&&(t.textContent=""),Ke(e,t),"function"==typeof n&&n(),e?e.__c:null}function mn(e,t,n){return Ye(e,t),"function"==typeof n&&n(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var gn=pe.event;function _n(){}function yn(){return this.cancelBubble}function wn(){return this.defaultPrevented}pe.event=function(e){return gn&&(e=gn(e)),e.persist=_n,e.isPropagationStopped=yn,e.isDefaultPrevented=wn,e.nativeEvent=e};var bn,xn={enumerable:!1,configurable:!0,get:function(){return this.class}},kn=pe.vnode;pe.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||fn&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||hn(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":dn.test(o)&&(o=s):s=o="oninput":i&&un.test(o)?o=o.replace(pn,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=He(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=He(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",xn)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=cn,kn&&kn(e)};var Sn=pe.__r;pe.__r=function(e){Sn&&Sn(e),bn=e.__c};var En=pe.diffed;pe.diffed=function(e){En&&En(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),bn=null};var Cn={ReactCurrentDispatcher:{current:{readContext:function(e){return bn.__n[e.__c].props.value},useCallback:Pt,useContext:At,useDebugValue:Rt,useDeferredValue:Nn,useEffect:kt,useId:Ot,useImperativeHandle:Ct,useInsertionEffect:Wn,useLayoutEffect:St,useMemo:Tt,useReducer:xt,useRef:Et,useState:bt,useSyncExternalStore:jn,useTransition:Hn}}};function Tn(e){return Pe.bind(null,e)}function Pn(e){return!!e&&e.$$typeof===cn}function An(e){return Pn(e)&&e.type===Oe}function Rn(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function On(e){return Pn(e)?Xe.apply(null,arguments):e}function Mn(e){return!!e.__k&&(Ke(null,e),!0)}function Ln(e){return e&&(e.base||1===e.nodeType&&e)||null}var Fn=function(e,t){return e(t)},In=function(e,t){return e(t)},Dn=Oe;function Gn(e){e()}function Nn(e){return e}function Hn(){return[!1,Gn]}var Wn=St,$n=Pn;function jn(e,t){var n=t(),r=bt({h:{__:n,v:t}}),i=r[0].h,o=r[1];return St((function(){i.__=n,i.v=t,Un(i)&&o({h:i})}),[e,n,t]),kt((function(){return Un(i)&&o({h:i}),e((function(){Un(i)&&o({h:i})}))}),[e]),n}function Un(e){var t,n,r=e.v,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(a){return!0}}var Bn={useState:bt,useId:Ot,useReducer:xt,useEffect:kt,useLayoutEffect:St,useInsertionEffect:Wn,useTransition:Hn,useDeferredValue:Nn,useSyncExternalStore:jn,startTransition:Gn,useRef:Et,useImperativeHandle:Ct,useMemo:Tt,useCallback:Pt,useContext:At,useDebugValue:Rt,version:"18.3.1",Children:Kt,render:vn,hydrate:mn,unmountComponentAtNode:Mn,createPortal:ln,createElement:Pe,createContext:Ze,createFactory:Tn,cloneElement:On,createRef:Re,Fragment:Oe,isValidElement:Pn,isElement:$n,isFragment:An,isMemo:Rn,findDOMNode:Ln,Component:Me,PureComponent:Ut,memo:Bt,forwardRef:Vt,flushSync:In,unstable_batchedUpdates:Fn,StrictMode:Dn,Suspense:en,SuspenseList:rn,lazy:nn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn};const qn=Object.freeze(Object.defineProperty({__proto__:null,Children:Kt,Component:Me,Fragment:Oe,PureComponent:Ut,StrictMode:Dn,Suspense:en,SuspenseList:rn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn,cloneElement:On,createContext:Ze,createElement:Pe,createFactory:Tn,createPortal:ln,createRef:Re,default:Bn,findDOMNode:Ln,flushSync:In,forwardRef:Vt,hydrate:mn,isElement:$n,isFragment:An,isMemo:Rn,isValidElement:Pn,lazy:nn,memo:Bt,render:vn,startTransition:Gn,unmountComponentAtNode:Mn,unstable_batchedUpdates:Fn,useCallback:Pt,useContext:At,useDebugValue:Rt,useDeferredValue:Nn,useEffect:kt,useErrorBoundary:function(e){var t=wt(st++,10),n=bt();return t.__=e,lt.componentDidCatch||(lt.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Ot,useImperativeHandle:Ct,useInsertionEffect:Wn,useLayoutEffect:St,useMemo:Tt,useReducer:xt,useRef:Et,useState:bt,useSyncExternalStore:jn,useTransition:Hn,version:"18.3.1"},Symbol.toStringTag,{value:"Module"})),zn="/salary-packaging/admin/v1.0",Vn=()=>{const e=At($t);return{checkProfileSearchAuthorization:Tt((()=>(e=>async()=>{const t=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/auth`);return Wt(t,e.backend.accessToken,"GET")})(e)),[e]),searchProfilesForAccount:Tt((()=>(e=>async t=>{const n=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/profile-search?search=${t}`);return Wt(n,e.backend.accessToken,"GET")})(e)),[e]),ingestClient:Tt((()=>(e=>async()=>{const t=new Date;t.setUTCDate((new Date).getUTCDate()-2);const n=new Date;n.setUTCDate((new Date).getUTCDate()+2);const r=new URL(`${e.backend.url}${zn}/ingest/clients`);return Wt(r,e.backend.accessToken,"POST",{startDate:t.toISOString().split("T")[0],endDate:n.toISOString().split("T")[0]},!0)})(e)),[e]),linkedProfilesForAccount:Tt((()=>(e=>async()=>{const t=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/profiles`);return Wt(t,e.backend.accessToken,"GET")})(e)),[e]),unlinkProfile:Tt((()=>(e=>async t=>{const n=new URL(`${e.backend.url}${zn}/accounts/${e.account.accountId}/profiles/${t}/unlink`);return Wt(n,e.backend.accessToken,"POST")})(e)),[e])}};class Qn extends Error{}function Kn(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return atob(t)}}Qn.prototype.name="InvalidTokenError";class Yn{constructor(e){__publicField(this,"roles"),__publicField(this,"isAuthorized"),this.roles=e,this.isAuthorized=e.includes("SalaryPackaging.Access")}static create(e){const t=e?function(e,t){if("string"!=typeof e)throw new Qn("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,r=e.split(".")[n];if("string"!=typeof r)throw new Qn(`Invalid token specified: missing part #${n+1}`);let i;try{i=Kn(r)}catch(_a){throw new Qn(`Invalid token specified: invalid base64 for part #${n+1} (${_a.message})`)}try{return JSON.parse(i)}catch(_a){throw new Qn(`Invalid token specified: invalid json for part #${n+1} (${_a.message})`)}}(e):{roles:[]};return new Yn(t.roles)}}function Xn(){return Xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xn.apply(null,arguments)}function Zn(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Jn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,er=Zn((function(e){return Jn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var tr=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(_a){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),nr="-ms-",rr="-moz-",ir="-webkit-",or="comm",ar="rule",sr="decl",lr="@keyframes",cr=Math.abs,ur=String.fromCharCode,dr=Object.assign;function pr(e){return e.trim()}function fr(e,t,n){return e.replace(t,n)}function hr(e,t){return e.indexOf(t)}function vr(e,t){return 0|e.charCodeAt(t)}function mr(e,t,n){return e.slice(t,n)}function gr(e){return e.length}function _r(e){return e.length}function yr(e,t){return t.push(e),e}var wr=1,br=1,xr=0,kr=0,Sr=0,Er="";function Cr(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:wr,column:br,length:a,return:""}}function Tr(e,t){return dr(Cr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pr(){return Sr=kr<xr?vr(Er,kr++):0,br++,10===Sr&&(br=1,wr++),Sr}function Ar(){return vr(Er,kr)}function Rr(){return kr}function Or(e,t){return mr(Er,e,t)}function Mr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Lr(e){return wr=br=1,xr=gr(Er=e),kr=0,[]}function Fr(e){return Er="",e}function Ir(e){return pr(Or(kr-1,Nr(91===e?e+2:40===e?e+1:e)))}function Dr(e){for(;(Sr=Ar())&&Sr<33;)Pr();return Mr(e)>2||Mr(Sr)>3?"":" "}function Gr(e,t){for(;--t&&Pr()&&!(Sr<48||Sr>102||Sr>57&&Sr<65||Sr>70&&Sr<97););return Or(e,Rr()+(t<6&&32==Ar()&&32==Pr()))}function Nr(e){for(;Pr();)switch(Sr){case e:return kr;case 34:case 39:34!==e&&39!==e&&Nr(Sr);break;case 40:41===e&&Nr(e);break;case 92:Pr()}return kr}function Hr(e,t){for(;Pr()&&e+Sr!==57&&(e+Sr!==84||47!==Ar()););return"/*"+Or(t,kr-1)+"*"+ur(47===e?e:Pr())}function Wr(e){for(;!Mr(Ar());)Pr();return Or(e,kr)}function $r(e){return Fr(jr("",null,null,null,[""],e=Lr(e),0,[0],e))}function jr(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,v=1,m=1,g=1,_=0,y="",w=i,b=o,x=r,k=y;m;)switch(h=_,_=Pr()){case 40:if(108!=h&&58==vr(k,d-1)){-1!=hr(k+=fr(Ir(_),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:k+=Ir(_);break;case 9:case 10:case 13:case 32:k+=Dr(h);break;case 92:k+=Gr(Rr()-1,7);continue;case 47:switch(Ar()){case 42:case 47:yr(Br(Hr(Pr(),Rr()),t,n),l);break;default:k+="/"}break;case 123*v:s[c++]=gr(k)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:m=0;case 59+u:-1==g&&(k=fr(k,/\f/g,"")),f>0&&gr(k)-d&&yr(f>32?qr(k+";",r,n,d-1):qr(fr(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if(yr(x=Ur(k,t,n,c,u,i,s,y,w=[],b=[],d),o),123===_)if(0===u)jr(k,t,x,x,w,o,d,s,b);else switch(99===p&&110===vr(k,3)?100:p){case 100:case 108:case 109:case 115:jr(e,x,x,r&&yr(Ur(e,x,x,0,0,i,s,y,i,w=[],d),b),i,b,d,s,r?w:b);break;default:jr(k,x,x,x,[""],b,0,s,b)}}c=u=f=0,v=g=1,y=k="",d=a;break;case 58:d=1+gr(k),f=h;default:if(v<1)if(123==_)--v;else if(125==_&&0==v++&&125==(Sr=kr>0?vr(Er,--kr):0,br--,10===Sr&&(br=1,wr--),Sr))continue;switch(k+=ur(_),_*v){case 38:g=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(gr(k)-1)*g,g=1;break;case 64:45===Ar()&&(k+=Ir(Pr())),p=Ar(),u=d=gr(y=k+=Wr(Rr())),_++;break;case 45:45===h&&2==gr(k)&&(v=0)}}return o}function Ur(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],f=_r(p),h=0,v=0,m=0;h<r;++h)for(var g=0,_=mr(e,d+1,d=cr(v=a[h])),y=e;g<f;++g)(y=pr(v>0?p[g]+" "+_:fr(_,/&\f/g,p[g])))&&(l[m++]=y);return Cr(e,t,n,0===i?ar:s,l,c,u)}function Br(e,t,n){return Cr(e,t,n,or,ur(Sr),mr(e,2,-2),0)}function qr(e,t,n,r){return Cr(e,t,n,sr,mr(e,0,r),mr(e,r+1,-1),r)}function zr(e,t){for(var n="",r=_r(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Vr(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case sr:return e.return=e.return||e.value;case or:return"";case lr:return e.return=e.value+"{"+zr(e.children,r)+"}";case ar:e.value=e.props.join(",")}return gr(n=zr(e.children,r))?e.return=e.value+"{"+n+"}":""}var Qr=function(e,t,n){for(var r=0,i=0;r=i,i=Ar(),38===r&&12===i&&(t[n]=1),!Mr(i);)Pr();return Or(e,kr)},Kr=function(e,t){return Fr(function(e,t){var n=-1,r=44;do{switch(Mr(r)){case 0:38===r&&12===Ar()&&(t[n]=1),e[n]+=Qr(kr-1,t,n);break;case 2:e[n]+=Ir(r);break;case 4:if(44===r){e[++n]=58===Ar()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ur(r)}}while(r=Pr());return e}(Lr(e),t))},Yr=new WeakMap,Xr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Yr.get(n))&&!r){Yr.set(e,!0);for(var i=[],o=Kr(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Zr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Jr(e,t){switch(function(e,t){return 45^vr(e,0)?(((t<<2^vr(e,0))<<2^vr(e,1))<<2^vr(e,2))<<2^vr(e,3):0}(e,t)){case 5103:return ir+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ir+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ir+e+rr+e+nr+e+e;case 6828:case 4268:return ir+e+nr+e+e;case 6165:return ir+e+nr+"flex-"+e+e;case 5187:return ir+e+fr(e,/(\w+).+(:[^]+)/,ir+"box-$1$2"+nr+"flex-$1$2")+e;case 5443:return ir+e+nr+"flex-item-"+fr(e,/flex-|-self/,"")+e;case 4675:return ir+e+nr+"flex-line-pack"+fr(e,/align-content|flex-|-self/,"")+e;case 5548:return ir+e+nr+fr(e,"shrink","negative")+e;case 5292:return ir+e+nr+fr(e,"basis","preferred-size")+e;case 6060:return ir+"box-"+fr(e,"-grow","")+ir+e+nr+fr(e,"grow","positive")+e;case 4554:return ir+fr(e,/([^-])(transform)/g,"$1"+ir+"$2")+e;case 6187:return fr(fr(fr(e,/(zoom-|grab)/,ir+"$1"),/(image-set)/,ir+"$1"),e,"")+e;case 5495:case 3959:return fr(e,/(image-set\([^]*)/,ir+"$1$`$1");case 4968:return fr(fr(e,/(.+:)(flex-)?(.*)/,ir+"box-pack:$3"+nr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ir+e+e;case 4095:case 3583:case 4068:case 2532:return fr(e,/(.+)-inline(.+)/,ir+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(gr(e)-1-t>6)switch(vr(e,t+1)){case 109:if(45!==vr(e,t+4))break;case 102:return fr(e,/(.+:)(.+)-([^]+)/,"$1"+ir+"$2-$3$1"+rr+(108==vr(e,t+3)?"$3":"$2-$3"))+e;case 115:return~hr(e,"stretch")?Jr(fr(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==vr(e,t+1))break;case 6444:switch(vr(e,gr(e)-3-(~hr(e,"!important")&&10))){case 107:return fr(e,":",":"+ir)+e;case 101:return fr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ir+(45===vr(e,14)?"inline-":"")+"box$3$1"+ir+"$2$3$1"+nr+"$2box$3")+e}break;case 5936:switch(vr(e,t+11)){case 114:return ir+e+nr+fr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ir+e+nr+fr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ir+e+nr+fr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ir+e+nr+e+e}return e}var ei=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case sr:e.return=Jr(e.value,e.length);break;case lr:return zr([Tr(e,{value:fr(e.value,"@","@"+ir)})],r);case ar:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zr([Tr(e,{props:[fr(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return zr([Tr(e,{props:[fr(t,/:(plac\w+)/,":"+ir+"input-$1")]}),Tr(e,{props:[fr(t,/:(plac\w+)/,":-moz-$1")]}),Tr(e,{props:[fr(t,/:(plac\w+)/,nr+"input-$1")]})],r)}return""}))}}],ti=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,i,o=e.stylisPlugins||ei,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c,u,d,p=[Vr,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(c=[Xr,Zr].concat(o,p),u=_r(c),function(e,t,n,r){for(var i="",o=0;o<u;o++)i+=c[o](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,zr($r(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new tr({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h},ni={exports:{}},ri={},ii="function"==typeof Symbol&&Symbol.for,oi=ii?Symbol.for("react.element"):60103,ai=ii?Symbol.for("react.portal"):60106,si=ii?Symbol.for("react.fragment"):60107,li=ii?Symbol.for("react.strict_mode"):60108,ci=ii?Symbol.for("react.profiler"):60114,ui=ii?Symbol.for("react.provider"):60109,di=ii?Symbol.for("react.context"):60110,pi=ii?Symbol.for("react.async_mode"):60111,fi=ii?Symbol.for("react.concurrent_mode"):60111,hi=ii?Symbol.for("react.forward_ref"):60112,vi=ii?Symbol.for("react.suspense"):60113,mi=ii?Symbol.for("react.suspense_list"):60120,gi=ii?Symbol.for("react.memo"):60115,_i=ii?Symbol.for("react.lazy"):60116,yi=ii?Symbol.for("react.block"):60121,wi=ii?Symbol.for("react.fundamental"):60117,bi=ii?Symbol.for("react.responder"):60118,xi=ii?Symbol.for("react.scope"):60119;function ki(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case oi:switch(e=e.type){case pi:case fi:case si:case ci:case li:case vi:return e;default:switch(e=e&&e.$$typeof){case di:case hi:case _i:case gi:case ui:return e;default:return t}}case ai:return t}}}function Si(e){return ki(e)===fi}ri.AsyncMode=pi,ri.ConcurrentMode=fi,ri.ContextConsumer=di,ri.ContextProvider=ui,ri.Element=oi,ri.ForwardRef=hi,ri.Fragment=si,ri.Lazy=_i,ri.Memo=gi,ri.Portal=ai,ri.Profiler=ci,ri.StrictMode=li,ri.Suspense=vi,ri.isAsyncMode=function(e){return Si(e)||ki(e)===pi},ri.isConcurrentMode=Si,ri.isContextConsumer=function(e){return ki(e)===di},ri.isContextProvider=function(e){return ki(e)===ui},ri.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===oi},ri.isForwardRef=function(e){return ki(e)===hi},ri.isFragment=function(e){return ki(e)===si},ri.isLazy=function(e){return ki(e)===_i},ri.isMemo=function(e){return ki(e)===gi},ri.isPortal=function(e){return ki(e)===ai},ri.isProfiler=function(e){return ki(e)===ci},ri.isStrictMode=function(e){return ki(e)===li},ri.isSuspense=function(e){return ki(e)===vi},ri.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===si||e===fi||e===ci||e===li||e===vi||e===mi||"object"==typeof e&&null!==e&&(e.$$typeof===_i||e.$$typeof===gi||e.$$typeof===ui||e.$$typeof===di||e.$$typeof===hi||e.$$typeof===wi||e.$$typeof===bi||e.$$typeof===xi||e.$$typeof===yi)},ri.typeOf=ki,ni.exports=ri;var Ei=ni.exports,Ci={};Ci[Ei.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ci[Ei.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function Ti(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var Pi=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ai=function(e,t,n){Pi(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}};var Ri={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Oi=/[A-Z]|^ms/g,Mi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Li=function(e){return 45===e.charCodeAt(1)},Fi=function(e){return null!=e&&"boolean"!=typeof e},Ii=Zn((function(e){return Li(e)?e:e.replace(Oi,"-$&").toLowerCase()})),Di=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Mi,(function(e,t,n){return Ni={name:t,styles:n,next:Ni},t}))}return 1===Ri[e]||Li(e)||"number"!=typeof t||0===t?t:t+"px"};function Gi(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Ni={name:i.name,styles:i.styles,next:Ni},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Ni={name:a.name,styles:a.styles,next:Ni},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Gi(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":Fi(s)&&(r+=Ii(o)+":"+Di(o,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Gi(e,t,a);switch(o){case"animation":case"animationName":r+=Ii(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Fi(a[c])&&(r+=Ii(o)+":"+Di(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Ni,l=n(e);return Ni=s,Gi(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Ni,Hi=/label:\s*([^\s;{]+)\s*(;|$)/g;function Wi(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Ni=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Gi(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Gi(n,t,e[a]),r)i+=o[a]}Hi.lastIndex=0;for(var s,l="";null!==(s=Hi.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Ni}}var $i=!!qn.useInsertionEffect&&qn.useInsertionEffect,ji=$i||function(e){return e()},Ui=$i||St,Bi=Ze("undefined"!=typeof HTMLElement?ti({key:"css"}):null),qi=Bi.Provider,zi=function(e){return Vt((function(t,n){var r=At(Bi);return e(t,r,n)}))},Vi=Ze({}),Qi={}.hasOwnProperty,Ki="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yi=function(e,t){var n={};for(var r in t)Qi.call(t,r)&&(n[r]=t[r]);return n[Ki]=e,n},Xi=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pi(t,n,r),ji((function(){return Ai(t,n,r)})),null},Zi=zi((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Ki],o=[r],a="";"string"==typeof e.className?a=Ti(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var s=Wi(o,void 0,At(Vi));a+=t.key+"-"+s.name;var l={};for(var c in e)Qi.call(e,c)&&"css"!==c&&c!==Ki&&(l[c]=e[c]);return l.className=a,n&&(l.ref=n),Pe(Oe,null,Pe(Xi,{cache:t,serialized:s,isStringTag:"string"==typeof i}),Pe(i,l))})),Ji=zi((function(e,t){var n=Wi([e.styles],void 0,At(Vi)),r=Et();return Ui((function(){var e=t.key+"-global",i=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),i.hydrate([a])),r.current=[i,o],function(){i.flush()}}),[t]),Ui((function(){var e=r.current,i=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Ai(t,n.next,!0),i.tags.length){var o=i.tags[i.tags.length-1].nextElementSibling;i.before=o,i.flush()}t.insert("",n,i,!1)}}),[t,n.name]),null}));function eo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Wi(t)}var to=er,no=function(e){return"theme"!==e},ro=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?to:no},io=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},oo=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pi(t,n,r),ji((function(){return Ai(t,n,r)})),null},ao=function e(t,n){var r,i,o=t.__emotion_real===t,a=o&&t.__emotion_base||t;void 0!==n&&(r=n.label,i=n.target);var s=io(t,n,o),l=s||ro(a),c=!l("as");return function(){var u=arguments,d=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=zi((function(e,t,n){var r=c&&e.as||a,o="",u=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=At(Vi)}"string"==typeof e.className?o=Ti(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var h=Wi(d.concat(u),t.registered,p);o+=t.key+"-"+h.name,void 0!==i&&(o+=" "+i);var v=c&&void 0===s?ro(r):l,m={};for(var g in e)c&&"as"===g||v(g)&&(m[g]=e[g]);return m.className=o,n&&(m.ref=n),Pe(Oe,null,Pe(oo,{cache:t,serialized:h,isStringTag:"string"==typeof r}),Pe(r,m))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+i}}),h.withComponent=function(t,r){return e(t,Xn({},n,r,{shouldForwardProp:io(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ao[e]=ao(e)}));const so=ao.button({marginLeft:"0.75rem",display:"inline-flex",justifyContent:"center",borderRadius:"0.375rem",borderWidth:"1px",borderColor:"transparent","--tw-bg-opacity":"1",backgroundColor:"rgb(79 70 229 / var(--tw-bg-opacity))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(67 56 202 / var(--tw-bg-opacity))"},":focus":{outline:"2px solid transparent",outlineOffset:"2px","--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))","--tw-ring-offset-width":"2px"},":disabled":{cursor:"not-allowed","--tw-bg-opacity":"1",backgroundColor:"rgb(107 114 128 / var(--tw-bg-opacity))"}}),lo=ao.div({height:"1.25rem",width:"1.25rem","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite",borderRadius:"9999px",borderWidth:"2px",borderColor:"var(--fl-color-primary-600)",borderLeftColor:"transparent",borderTopColor:"transparent"});var co=0;function uo(e,t,n,r,i,o){t||(t={});var a,s,l=t;"ref"in t&&(a=t.ref,delete t.ref);var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--co,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===l[s]&&(l[s]=a[s]);return pe.vnode&&pe.vnode(c),c}var po=Oe;function fo(e,t,n){return Qi.call(t,"css")?uo(Zi,Yi(e,t),n):uo(e,t,n)}function ho(e,t,n){return Qi.call(t,"css")?uo(Zi,Yi(e,t),n):uo(e,t,n)}const vo=e=>{const[t,n]=bt(!1);((e,t)=>{const n=Et();kt((()=>{n.current=e}),[e]),kt((()=>{if(t){const e=setInterval(((...e)=>{var t;return null==(t=null==n?void 0:n.current)?void 0:t.call(n,...e)}),t);return()=>clearInterval(e)}}),[t])})((async()=>{await e.onCheck()&&n(!1)}),t?e.checkInterval:void 0),kt((()=>{if(t){const r=setTimeout((()=>{t&&e.onTimeout(),n(!1)}),e.timeout);return()=>clearTimeout(r)}}));return fo(so,{onClick:async()=>{n(!0),await e.onClick()||n(!1)},disabled:t,children:t?ho(po,{children:[fo(lo,{}),fo("span",{css:{marginLeft:"0.5rem"},children:e.processingText})]}):fo(po,{children:e.text})})},mo=ao.a({cursor:"pointer",whiteSpace:"nowrap",borderBottomWidth:"2px",paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},(({isCurrentTab:e})=>e?{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgb(79 70 229 / var(--tw-text-opacity))"}:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700")),go=({tabs:e,currentTabId:t,onChange:n})=>{const r=Tt((()=>e.find((e=>e.id==t))),[e,t]);return ho("div",{children:[ho("div",{css:{"@media (min-width: 640px)":{display:"none"}},children:[fo("label",{htmlFor:"tabs",css:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},children:"Select a tab"}),fo("select",{id:"tabs",name:"tabs",defaultValue:null==r?void 0:r.id,onChange:e=>n(e.currentTarget.value),css:{display:"block",width:"100%",borderRadius:"0.375rem","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.75rem",paddingRight:"2.5rem",fontSize:"1rem",lineHeight:"1.5rem",":focus":{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))"},"@media (min-width: 640px)":{fontSize:"0.875rem",lineHeight:"1.25rem"}},children:e.map((e=>fo("option",{value:e.id,children:e.displayName},e.id)))})]}),fo("div",{css:{display:"none","@media (min-width: 640px)":{display:"block"}},children:fo("div",{css:{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(229 231 235 / var(--tw-border-opacity))"},children:fo("nav",{"aria-label":"Tabs",css:{marginBottom:"-1px",display:"flex","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0",marginRight:"calc(2rem * var(--tw-space-x-reverse))",marginLeft:"calc(2rem * calc(1 - var(--tw-space-x-reverse)))"}},children:e.map((e=>{return fo(mo,{onClick:(t=e.id,()=>{n(t)}),"aria-current":e.id==(null==r?void 0:r.id)?"page":void 0,isCurrentTab:e.id==(null==r?void 0:r.id),children:e.displayName},e.id);var t}))})})})]})};function _o({title:e,titleId:t,...n},r){return Pe("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?Pe("title",{id:t},e):null,Pe("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const yo=Vt(_o);function wo({title:e,titleId:t,...n},r){return Pe("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?Pe("title",{id:t},e):null,Pe("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const bo=Vt(wo);function xo({title:e,titleId:t,...n},r){return Pe("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?Pe("title",{id:t},e):null,Pe("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const ko=Vt(xo),So=e=>e.url?fo(au,{children:ho(su,{as:"a",href:e.url,target:"_blank",rel:"noopener noreferrer",css:{"--tw-bg-opacity":"1",backgroundColor:"rgb(240 253 244 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(21 128 61 / var(--tw-text-opacity))","--tw-ring-color":"rgb(22 163 74 / 0.2)"},children:[fo("span",{css:{lineHeight:"1.25rem"},children:"Linked"}),fo(yo,{css:{marginTop:"auto",marginBottom:"auto",marginLeft:"0.25rem",height:"0.75rem",width:"0.75rem"}})]})}):fo(au,{children:fo(su,{css:{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 242 242 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(185 28 28 / var(--tw-text-opacity))","--tw-ring-color":"rgb(220 38 38 / 0.2)"},children:"Unlinked"})}),Eo=e=>fo(au,{children:fo("button",{as:"button",onClick:()=>e.onClick(e.id),css:{display:"inline-flex",alignItems:"center",fill:"var(--fl-color-primary-600)",paddingLeft:"0.25rem",paddingRight:"0.25rem"},children:e.children})}),Co=e=>fo(ou,{children:fo("ul",{css:{listStyleType:"none"},children:e.value.split(",").map((e=>fo("li",{children:e},e)))})}),To="undefined"!=typeof document?Bn.useLayoutEffect:()=>{};const Po=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},Ao=e=>{if(e&&"window"in e&&e.window===e)return e;return Po(e).defaultView||window};function Ro(e){let t=null;return()=>(null==t&&(t=e()),t)}const Oo=Ro((function(){return e=/^Mac/i,"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform);var e,t})),Mo=Ro((function(){return e=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent));var e,t}));class Lo{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function Fo(e){let t=Et({isFocused:!1,observer:null});To((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=function(e){const t=Et(null);return To((()=>{t.current=e}),[e]),Pt(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}((t=>{null==e||e(t)}));return Pt((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,i=e=>{t.current.isFocused=!1,r.disabled&&n(new Lo("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}let Io=null,Do=new Set,Go=new Map,No=!1,Ho=!1;const Wo={Tab:!0,Escape:!0};function $o(e,t){for(let n of Do)n(e,t)}function jo(e){No=!0,function(e){return!(e.metaKey||!Oo()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(Io="keyboard",$o("keyboard",e))}function Uo(e){Io="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(No=!0,$o("pointer",e))}function Bo(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(Mo()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(No=!0,Io="virtual")}function qo(e){e.target!==window&&e.target!==document&&(No||Ho||(Io="virtual",$o("virtual",e)),No=!1,Ho=!1)}function zo(){No=!1,Ho=!0}function Vo(e){if("undefined"==typeof window||Go.get(Ao(e)))return;const t=Ao(e),n=Po(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){No=!0,r.apply(this,arguments)},n.addEventListener("keydown",jo,!0),n.addEventListener("keyup",jo,!0),n.addEventListener("click",Bo,!0),t.addEventListener("focus",qo,!0),t.addEventListener("blur",zo,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",Uo,!0),n.addEventListener("pointermove",Uo,!0),n.addEventListener("pointerup",Uo,!0)):(n.addEventListener("mousedown",Uo,!0),n.addEventListener("mousemove",Uo,!0),n.addEventListener("mouseup",Uo,!0)),t.addEventListener("beforeunload",(()=>{Qo(e)}),{once:!0}),Go.set(t,{focus:r})}const Qo=(e,t)=>{const n=Ao(e),r=Po(e);t&&r.removeEventListener("DOMContentLoaded",t),Go.has(n)&&(n.HTMLElement.prototype.focus=Go.get(n).focus,r.removeEventListener("keydown",jo,!0),r.removeEventListener("keyup",jo,!0),r.removeEventListener("click",Bo,!0),n.removeEventListener("focus",qo,!0),n.removeEventListener("blur",zo,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",Uo,!0),r.removeEventListener("pointermove",Uo,!0),r.removeEventListener("pointerup",Uo,!0)):(r.removeEventListener("mousedown",Uo,!0),r.removeEventListener("mousemove",Uo,!0),r.removeEventListener("mouseup",Uo,!0)),Go.delete(n))};function Ko(){return"pointer"!==Io}"undefined"!=typeof document&&function(e){const t=Po(e);let n;"loading"!==t.readyState?Vo(e):(n=()=>{Vo(e)},t.addEventListener("DOMContentLoaded",n))}();const Yo=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Xo(e,t,n){Vo(),kt((()=>{let t=(t,r)=>{(function(e,t,n){var r;const i="undefined"!=typeof window?Ao(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?Ao(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?Ao(null==n?void 0:n.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?Ao(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!Yo.has(null==n||null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof o||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof s&&!Wo[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(Ko())};return Do.add(t),()=>{Do.delete(t)}}),t)}let Zo=!1,Jo=0;function ea(){Zo=!0,setTimeout((()=>{Zo=!1}),50)}function ta(e){"touch"===e.pointerType&&ea()}function na(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ta):document.addEventListener("touchend",ea),Jo++,()=>{Jo--,Jo>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ta):document.removeEventListener("touchend",ea))}}function ra(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=Et({isFocused:!1,isFocusVisible:t||Ko()}),[o,a]=bt(!1),[s,l]=bt((()=>i.current.isFocused&&i.current.isFocusVisible)),c=Pt((()=>l(i.current.isFocused&&i.current.isFocusVisible)),[]),u=Pt((e=>{i.current.isFocused=e,a(e),c()}),[c]);Xo((e=>{i.current.isFocusVisible=e,c()}),[],{isTextInput:n});let{focusProps:d}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const o=Pt((e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0}),[r,i]),a=Fo(o),s=Pt((e=>{const t=Po(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),i&&i(!0),a(e))}),[i,n,a]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:t||!r&&!i?void 0:o}}}({isDisabled:r,onFocusChange:u}),{focusWithinProps:p}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=Et({isFocusWithin:!1}),a=Pt((e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,n&&n(e),i&&i(!1))}),[n,i,o]),s=Fo(a),l=Pt((e=>{o.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,s(e))}),[r,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:a}}}({isDisabled:!r,onFocusWithinChange:u});return{isFocused:o,isFocusVisible:s,focusProps:r?p:d}}var ia=Object.defineProperty,oa=(e,t,n)=>(((e,t,n)=>{t in e?ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let aa=new class{constructor(){oa(this,"current",this.detect()),oa(this,"handoffState","pending"),oa(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function sa(e){return aa.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function la(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function ca(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add((()=>e.removeEventListener(n,r,i)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return la((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=ca();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function ua(){let[e]=bt(ca);return kt((()=>()=>e.dispose()),[e]),e}let da=(e,t)=>{aa.isServer?kt(e,t):St(e,t)};function pa(e){let t=Et(e);return da((()=>{t.current=e}),[e]),t}let fa=function(e){let t=pa(e);return Bn.useCallback(((...e)=>t.current(...e)),[t])};let ha=Ze(void 0);function va(){return At(ha)}function ma(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}function ga(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ga),r}var _a,ya,wa=((ya=wa||{})[ya.None=0]="None",ya[ya.RenderStrategy=1]="RenderStrategy",ya[ya.Static=2]="Static",ya),ba=((_a=ba||{})[_a.Unmount=0]="Unmount",_a[_a.Hidden=1]="Hidden",_a);function xa(){let e=function(){let e=Et([]),t=Pt((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return(...n)=>{if(!n.every((e=>null==e)))return e.current=n,t}}();return Pt((t=>function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:s}){s=null!=s?s:Sa;let l=Ea(t,e);if(o)return ka(l,n,r,a,s);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=l;if(e)return ka(t,n,r,a,s)}if(1&c){let{unmount:e=!0,...t}=l;return ga(e?0:1,{0:()=>null,1:()=>ka({...t,hidden:!0,style:{display:"none"}},n,r,a,s)})}return ka(l,n,r,a,s)}({mergeRefs:e,...t})),[e])}function ka(e,t={},n,r,i){let{as:o=n,children:a,refName:s="ref",...l}=Aa(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof a?a(t):a;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){d["data-headlessui-state"]=n.join(" ");for(let e of n)d[`data-${e}`]=""}}if(o===Oe&&(Object.keys(Pa(l)).length>0||Object.keys(Pa(d)).length>0)){if(Pn(u)&&!(Array.isArray(u)&&u.length>1)){let e=u.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>ma(t(...e),l.className):ma(t,l.className),r=n?{className:n}:{},o=Ea(u.props,Pa(Aa(l,["ref"])));for(let i in d)i in o&&delete d[i];return On(u,Object.assign({},o,d,c,{ref:i(Ra(u),c.ref)},r))}if(Object.keys(Pa(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Pa(l)).concat(Object.keys(Pa(d))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))}return Pe(o,Object.assign({},Aa(l,["ref"]),o!==Oe&&c,o!==Oe&&d),u)}function Sa(...e){return e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function Ea(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let r in n)Object.assign(t,{[r](e,...t){let i=n[r];for(let n of i){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function Ca(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let r in n)Object.assign(t,{[r](...e){let t=n[r];for(let n of t)null==n||n(...e)}});return t}function Ta(e){var t;return Object.assign(Vt(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Pa(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function Aa(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ra(e){return Bn.version.split(".")[0]>="19"?e.props.ref:e.ref}let Oa=Ze(void 0);function Ma(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}let La=Symbol();function Fa(...e){let t=Et(e);kt((()=>{t.current=e}),[e]);let n=fa((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[La])))?void 0:n}let Ia=Ze(null);function Da(){let e=At(Ia);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Da),e}return e}Ia.displayName="DescriptionContext";let Ga=Ta((function(e,t){let n=Ot(),r=va(),{id:i=`headlessui-description-${n}`,...o}=e,a=Da(),s=Fa(t);da((()=>a.register(i)),[i,a.register]);let l=r||!1,c=Tt((()=>({...a.slot,disabled:l})),[a.slot,l]),u={ref:s,...a.props,id:i};return xa()({ourProps:u,theirProps:o,slot:c,defaultTag:"p",name:a.name||"Description"})}));Object.assign(Ga,{});var Na,Ha=((Na=Ha||{}).Space=" ",Na.Enter="Enter",Na.Escape="Escape",Na.Backspace="Backspace",Na.Delete="Delete",Na.ArrowLeft="ArrowLeft",Na.ArrowUp="ArrowUp",Na.ArrowRight="ArrowRight",Na.ArrowDown="ArrowDown",Na.Home="Home",Na.End="End",Na.PageUp="PageUp",Na.PageDown="PageDown",Na.Tab="Tab",Na);let Wa=Ze(null);function $a(){let e=At(Wa);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,$a),e}return e}function ja({inherit:e=!1}={}){let t=function(){var e,t;let n=null!=(t=null==(e=At(Wa))?void 0:e.value)?t:void 0;return n}(),[n,r]=bt([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,Tt((()=>function(e){let t=fa((e=>(r((t=>[...t,e])),()=>r((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),n=Tt((()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value})),[t,e.slot,e.name,e.props,e.value]);return Bn.createElement(Wa.Provider,{value:n},e.children)}),[r])]}Wa.displayName="LabelContext";let Ua=Ta((function(e,t){var n;let r=Ot(),i=$a(),o=At(Oa),a=va(),{id:s=`headlessui-label-${r}`,htmlFor:l=(null!=o?o:null==(n=i.props)?void 0:n.htmlFor),passive:c=!1,...u}=e,d=Fa(t);da((()=>i.register(s)),[s,i.register]);let p=fa((e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),f=a||!1,h=Tt((()=>({...i.slot,disabled:f})),[i.slot,f]),v={ref:d,...i.props,id:s,htmlFor:l,onClick:p};return c&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in u&&delete u.onClick),xa()({ourProps:v,theirProps:u,slot:h,defaultTag:l?"label":"div",name:i.name||"Label"})}));function Ba(e,t=!1){let[n,r]=xt((()=>({})),{}),i=Tt((()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}(e)),[e,n]);return da((()=>{if(!e)return;let t=new ResizeObserver(r);return t.observe(e),()=>{t.disconnect()}}),[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}Object.assign(Ua,{});let qa=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}};function za(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...i){let o=t[e].call(n,...i);o&&(n=o,r.forEach((e=>e())))}}}function Va(e){return jn(e.subscribe,e.getSnapshot,e.getSnapshot)}let Qa=new qa((()=>za((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}})));function Ka(e,t){let n=Qa.get(t),r=Ot(),i=Va(n);if(da((()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)}),[n,e]),!e)return!1;let o=i.indexOf(r),a=i.length;return-1===o&&(o=a,a+=1),o===a-1}let Ya=new Map,Xa=new Map;function Za(e){var t;let n=null!=(t=Xa.get(e))?t:0;return Xa.set(e,n+1),0!==n||(Ya.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>Ja(e)}function Ja(e){var t;let n=null!=(t=Xa.get(e))?t:1;if(1===n?Xa.delete(e):Xa.set(e,n-1),1!==n)return;let r=Ya.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Ya.delete(e))}let es=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),ts=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ns,rs,is,os=((is=os||{})[is.First=1]="First",is[is.Previous=2]="Previous",is[is.Next=4]="Next",is[is.Last=8]="Last",is[is.WrapAround=16]="WrapAround",is[is.NoScroll=32]="NoScroll",is[is.AutoFocus=64]="AutoFocus",is),as=((rs=as||{})[rs.Error=0]="Error",rs[rs.Overflow=1]="Overflow",rs[rs.Success=2]="Success",rs[rs.Underflow=3]="Underflow",rs),ss=((ns=ss||{})[ns.Previous=-1]="Previous",ns[ns.Next=1]="Next",ns);function ls(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(es)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var cs=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(cs||{});function us(e,t=0){var n;return e!==(null==(n=sa(e))?void 0:n.body)&&ga(t,{0:()=>e.matches(es),1(){let t=e;for(;null!==t;){if(t.matches(es))return!0;t=t.parentElement}return!1}})}function ds(e){let t=sa(e);ca().nextFrame((()=>{t&&!us(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}var ps=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ps||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let fs=["textarea","input"].join(",");function hs(e,t=e=>e){return e.slice().sort(((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function vs(e,t){return function(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?hs(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(ts)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):ls(e);i.length>0&&a.length>1&&(a=a.filter((e=>!i.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(r))-1;if(4&t)return Math.max(0,a.indexOf(r))+1;if(8&t)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,p=a.length;do{if(d>=p||d+p<=0)return 0;let e=c+d;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}s=a[e],null==s||s.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,fs))&&n}(s)&&s.select(),2}(ls(),t,{relativeTo:e})}function ms(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function gs(){return ms()||/Android/gi.test(window.navigator.userAgent)}function _s(e,t,n,r){let i=pa(n);kt((()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){i.current(e)}}),[e,t,r])}function ys(e,t,n){let r=Ka(e,"outside-click"),i=pa(n),o=Pt((function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null===r||!r.getRootNode().contains(r)||!r.isConnected)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of o)if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return!us(r,cs.Loose)&&-1!==r.tabIndex&&e.preventDefault(),i.current(e,r)}),[i,t]),a=Et(null);_s(r,"pointerdown",(e=>{var t,n;a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),_s(r,"mousedown",(e=>{var t,n;a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),_s(r,"click",(e=>{gs()||a.current&&(o(e,(()=>a.current)),a.current=null)}),!0);let s=Et({x:0,y:0});_s(r,"touchstart",(e=>{s.current.x=e.touches[0].clientX,s.current.y=e.touches[0].clientY}),!0),_s(r,"touchend",(e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-s.current.x)>=30||Math.abs(n-s.current.y)>=30))return o(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),function(e,t,n,r){let i=pa(n);kt((()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){i.current(e)}}),[e,t,r])}(r,"blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function ws(...e){return Tt((()=>sa(...e)),[...e])}function bs(e,t){return Tt((()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0}),[e.type,e.as,t])}function xs(){let e;return{before({doc:t}){var n;let r=t.documentElement,i=null!=(n=t.defaultView)?n:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-i);n.style(r,"paddingRight",`${o}px`)}}}function ks(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Ss=za((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:ca(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:ks(n)},i=[ms()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=ca();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let i=null!=(n=window.scrollY)?n:window.pageYOffset,o=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:i}=new URL(n.href),a=e.querySelector(i);a&&!r(a)&&(o=a)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;i!==t&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},xs(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach((({before:e})=>null==e?void 0:e(r))),i.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function Es(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let r=Va(Ss),i=t?r.get(t):void 0,o=!!i&&i.count>0;da((()=>{if(t&&e)return Ss.dispatch("PUSH",t,n),()=>Ss.dispatch("POP",t,n)}),[e,t])}(Ka(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}function Cs(e){return[e.screenX,e.screenY]}Ss.subscribe((()=>{let e=Ss.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&Ss.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&Ss.dispatch("TEARDOWN",n)}}));var Ts,Ps;"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(Ts=null==process?void 0:{})?void 0:Ts.NODE_ENV)&&void 0===(null==(Ps=null==Element?void 0:Element.prototype)?void 0:Ps.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var As=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(As||{});function Rs(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function Os(e,t,n,r){let[i,o]=bt(n),{hasFlag:a,addFlag:s,removeFlag:l}=function(e=0){let[t,n]=bt(e),r=Pt((e=>n(e)),[t]),i=Pt((e=>n((t=>t|e))),[t]),o=Pt((e=>(t&e)===e),[t]),a=Pt((e=>n((t=>t&~e))),[n]),s=Pt((e=>n((t=>t^e))),[n]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:a,toggleFlag:s}}(e&&i?3:0),c=Et(!1),u=Et(!1),d=ua();return da((()=>{if(e)return n&&o(!0),t?(null==void 0||undefined.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let o=ca();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),o.nextFrame((()=>{n(),o.requestAnimationFrame((()=>{o.add(function(e,t){var n,r;let i=ca();if(!e)return i.dispose;let o=!1;i.add((()=>{o=!0}));let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter((e=>e instanceof CSSTransition)))?r:[];return 0===a.length?(t(),i.dispose):(Promise.allSettled(a.map((e=>e.finished))).then((()=>{o||t()})),i.dispose)}(e,r))}))})),o.dispose}(t,{inFlight:c,prepare(){u.current?u.current=!1:u.current=c.current,c.current=!0,!u.current&&(n?(s(3),l(4)):(s(4),l(2)))},run(){u.current?n?(l(3),s(4)):(l(4),s(3)):n?l(1):s(1)},done(){u.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(c.current=!1,l(7),n||o(!1),null==void 0||undefined.call(r,n))}})):void(n&&s(3))}),[e,n,t,d]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Ms(){return"undefined"!=typeof window}function Ls(e){return Ds(e)?(e.nodeName||"").toLowerCase():"#document"}function Fs(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Is(e){var t;return null==(t=(Ds(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ds(e){return!!Ms()&&(e instanceof Node||e instanceof Fs(e).Node)}function Gs(e){return!!Ms()&&(e instanceof Element||e instanceof Fs(e).Element)}function Ns(e){return!!Ms()&&(e instanceof HTMLElement||e instanceof Fs(e).HTMLElement)}function Hs(e){return!(!Ms()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Fs(e).ShadowRoot)}function Ws(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=zs(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function $s(e){return["table","td","th"].includes(Ls(e))}function js(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(_a){return!1}}))}function Us(e){const t=Bs(),n=Gs(e)?zs(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Bs(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qs(e){return["html","body","#document"].includes(Ls(e))}function zs(e){return Fs(e).getComputedStyle(e)}function Vs(e){return Gs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qs(e){if("html"===Ls(e))return e;const t=e.assignedSlot||e.parentNode||Hs(e)&&e.host||Is(e);return Hs(t)?t.host:t}function Ks(e){const t=Qs(e);return qs(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ns(t)&&Ws(t)?t:Ks(t)}function Ys(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Ks(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Fs(i);if(o){const e=Xs(a);return t.concat(a,a.visualViewport||[],Ws(i)?i:[],e&&n?Ys(e):[])}return t.concat(i,Ys(i,[],n))}function Xs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Zs=Math.min,Js=Math.max,el=Math.round,tl=Math.floor,nl=e=>({x:e,y:e}),rl={left:"right",right:"left",bottom:"top",top:"bottom"},il={start:"end",end:"start"};function ol(e,t,n){return Js(e,Zs(t,n))}function al(e,t){return"function"==typeof e?e(t):e}function sl(e){return e.split("-")[0]}function ll(e){return e.split("-")[1]}function cl(e){return"x"===e?"y":"x"}function ul(e){return"y"===e?"height":"width"}function dl(e){return["top","bottom"].includes(sl(e))?"y":"x"}function pl(e){return cl(dl(e))}function fl(e){return e.replace(/start|end/g,(e=>il[e]))}function hl(e){return e.replace(/left|right|bottom|top/g,(e=>rl[e]))}function vl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ml(e,t,n){let{reference:r,floating:i}=e;const o=dl(t),a=pl(t),s=ul(a),l=sl(t),c="y"===o,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,p=r[s]/2-i[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-i.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(ll(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}async function gl(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=al(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),v=s[p?"floating"===d?"reference":"floating":d],m=vl(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,_=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(_))&&await(null==o.getScale?void 0:o.getScale(_))||{x:1,y:1},w=vl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:_,strategy:l}):g);return{top:(m.top-w.top+h.top)/y.y,bottom:(w.bottom-m.bottom+h.bottom)/y.y,left:(m.left-w.left+h.left)/y.x,right:(w.right-m.right+h.right)/y.x}}function _l(e){const t=zs(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ns(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=el(n)!==o||el(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function yl(e){return Gs(e)?e:e.contextElement}function wl(e){const t=yl(e);if(!Ns(t))return nl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=_l(t);let a=(o?el(n.width):n.width)/r,s=(o?el(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const bl=nl(0);function xl(e){const t=Fs(e);return Bs()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bl}function kl(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=yl(e);let a=nl(1);t&&(r?Gs(r)&&(a=wl(r)):a=wl(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Fs(e))&&t}(o,n,r)?xl(o):nl(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=Fs(o),t=r&&Gs(r)?Fs(r):r;let n=e,i=Xs(n);for(;i&&r&&t!==n;){const e=wl(i),t=i.getBoundingClientRect(),r=zs(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,n=Fs(i),i=Xs(n)}}return vl({width:u,height:d,x:l,y:c})}function Sl(e,t){const n=Vs(e).scrollLeft;return t?t.left+n:kl(Is(e)).left+n}function El(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Sl(e,r)),y:r.top+t.scrollTop}}function Cl(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Fs(e),r=Is(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=Bs();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Is(e),n=Vs(e),r=e.ownerDocument.body,i=Js(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Js(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Sl(e);const s=-n.scrollTop;return"rtl"===zs(r).direction&&(a+=Js(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Is(e));else if(Gs(t))r=function(e,t){const n=kl(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Ns(e)?wl(e):nl(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=xl(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return vl(r)}function Tl(e,t){const n=Qs(e);return!(n===t||!Gs(n)||qs(n))&&("fixed"===zs(n).position||Tl(n,t))}function Pl(e,t,n){const r=Ns(t),i=Is(t),o="fixed"===n,a=kl(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=nl(0);if(r||!r&&!o)if(("body"!==Ls(t)||Ws(i))&&(s=Vs(t)),r){const e=kl(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=Sl(i));const c=!i||r||o?nl(0):El(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function Al(e){return"static"===zs(e).position}function Rl(e,t){if(!Ns(e)||"fixed"===zs(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Is(e)===n&&(n=n.ownerDocument.body),n}function Ol(e,t){const n=Fs(e);if(js(e))return n;if(!Ns(e)){let t=Qs(e);for(;t&&!qs(t);){if(Gs(t)&&!Al(t))return t;t=Qs(t)}return n}let r=Rl(e,t);for(;r&&$s(r)&&Al(r);)r=Rl(r,t);return r&&qs(r)&&Al(r)&&!Us(r)?n:r||function(e){let t=Qs(e);for(;Ns(t)&&!qs(t);){if(Us(t))return t;if(js(t))return null;t=Qs(t)}return null}(e)||n}const Ml={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Is(r),s=!!t&&js(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=nl(1);const u=nl(0),d=Ns(r);if((d||!d&&!o)&&(("body"!==Ls(r)||Ws(a))&&(l=Vs(r)),Ns(r))){const e=kl(r);c=wl(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const p=!a||d||o?nl(0):El(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:Is,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?js(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Ys(e,[],!1).filter((e=>Gs(e)&&"body"!==Ls(e))),i=null;const o="fixed"===zs(e).position;let a=o?Qs(e):e;for(;Gs(a)&&!qs(a);){const t=zs(a),n=Us(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Ws(a)&&!n&&Tl(e,a))?r=r.filter((e=>e!==a)):i=t,a=Qs(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=Cl(t,n,i);return e.top=Js(r.top,e.top),e.right=Zs(r.right,e.right),e.bottom=Zs(r.bottom,e.bottom),e.left=Js(r.left,e.left),e}),Cl(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ol,getElementRects:async function(e){const t=this.getOffsetParent||Ol,n=this.getDimensions,r=await n(e.floating);return{reference:Pl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=_l(e);return{width:t,height:n}},getScale:wl,isElement:Gs,isRTL:function(e){return"rtl"===zs(e).direction}};function Ll(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=yl(e),u=i||o?[...c?Ys(c):[],...Ys(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const i=Is(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f={rootMargin:-tl(u)+"px "+-tl(i.clientWidth-(c+d))+"px "+-tl(i.clientHeight-(u+p))+"px "+-tl(c)+"px",threshold:Js(0,Zs(1,l))||1};let h=!0;function v(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(v,{...f,root:i.ownerDocument})}catch(_a){r=new IntersectionObserver(v,f)}r.observe(e)}(!0),o}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let v=l?kl(e):null;return l&&function t(){const r=kl(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n();v=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const Fl=gl,Il=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=sl(n),s=ll(n),l="y"===dl(n),c=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,d=al(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},Dl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=al(e,t),c={x:n,y:r},u=await gl(t,l),d=dl(sl(i)),p=cl(d);let f=c[p],h=c[d];if(o){const e="y"===p?"bottom":"right";f=ol(f+u["y"===p?"top":"left"],f,f-u[e])}if(a){const e="y"===d?"bottom":"right";h=ol(h+u["y"===d?"top":"left"],h,h-u[e])}const v=s.fn({...t,[p]:f,[d]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:o,[d]:a}}}}}},Gl=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...m}=al(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const g=sl(i),_=dl(s),y=sl(s)===s,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=p||(y||!v?[hl(s)]:function(e){const t=hl(e);return[fl(e),t,fl(t)]}(s)),x="none"!==h;!p&&x&&b.push(...function(e,t,n,r){const i=ll(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(sl(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(fl)))),o}(s,v,h,w));const k=[s,...b],S=await gl(t,m),E=[];let C=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&E.push(S[g]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=ll(e),i=pl(e),o=ul(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=hl(a)),[a,hl(a)]}(i,a,w);E.push(S[e[0]],S[e[1]])}if(C=[...C,{placement:i,overflows:E}],!E.every((e=>e<=0))){var T,P;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(P=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:P.placement;if(!n)switch(f){case"bestFit":{var A;const e=null==(A=C.filter((e=>{if(x){const t=dl(e.placement);return t===_||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:A[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Nl=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:s}=t,{apply:l=()=>{},...c}=al(e,t),u=await gl(t,c),d=sl(i),p=ll(i),f="y"===dl(i),{width:h,height:v}=o.floating;let m,g;"top"===d||"bottom"===d?(m=d,g=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(g=d,m="end"===p?"top":"bottom");const _=v-u.top-u.bottom,y=h-u.left-u.right,w=Zs(v-u[m],_),b=Zs(h-u[g],y),x=!t.middlewareData.shift;let k=w,S=b;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=y),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=_),x&&!p){const e=Js(u.left,0),t=Js(u.right,0),n=Js(u.top,0),r=Js(u.bottom,0);f?S=h-2*(0!==e||0!==t?e+t:Js(u.left,u.right)):k=v-2*(0!==n||0!==r?n+r:Js(u.top,u.bottom))}await l({...t,availableWidth:S,availableHeight:k});const E=await a.getDimensions(s.floating);return h!==E.width||v!==E.height?{reset:{rects:!0}}:{}}}},Hl=(e,t,n)=>{const r=new Map,i={platform:Ml,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ml(c,r,l),p=r,f={},h=0;for(let v=0;v<s.length;v++){const{name:n,fn:o}=s[v],{x:m,y:g,data:_,reset:y}=await o({x:u,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=g?g:d,f={...f,[n]:{...f[n],..._}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:d}=ml(c,p,l))),v=-1)}return{x:u,y:d,placement:p,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})};var Wl="undefined"!=typeof document?St:kt;function $l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!$l(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!$l(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function jl(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ul(e,t){const n=jl(e);return Math.round(t*n)/n}function Bl(e){const t=Et(e);return Wl((()=>{t.current=e})),t}const ql=(e,t)=>({...Il(e),options:[e,t]}),zl=(e,t)=>({...Gl(e),options:[e,t]}),Vl=(e,t)=>({...Nl(e),options:[e,t]}),Ql={...qn},Kl=Ql.useInsertionEffect||(e=>e());function Yl(e){const t=Et((()=>{}));return Kl((()=>{t.current=e})),Pt((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}var Xl="undefined"!=typeof document?St:kt;let Zl=!1,Jl=0;const ec=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Jl++;const tc=Ql.useId||function(){const[e,t]=bt((()=>Zl?ec():void 0));return Xl((()=>{null==e&&t(ec())}),[]),kt((()=>{Zl=!0}),[]),e};const nc=Ze(null),rc=Ze(null),ic="data-floating-ui-focusable";function oc(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=tc(),o=Et({}),[a]=bt((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),s=null!=((null==(l=At(nc))?void 0:l.id)||null);var l;const[c,u]=bt(r.reference),d=Yl(((e,t,r)=>{o.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)})),p=Tt((()=>({setPositionReference:u})),[]),f=Tt((()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference})),[c,r.reference,r.floating]);return Tt((()=>({dataRef:o,open:t,onOpenChange:d,elements:f,events:a,floatingId:i,refs:p})),[t,d,f,a,i,p])}function ac(e){void 0===e&&(e={});const{nodeId:t}=e,n=oc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,a]=bt(null),[s,l]=bt(null),c=(null==i?void 0:i.domReference)||o,u=Et(null),d=At(rc);Xl((()=>{c&&(u.current=c)}),[c]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=bt({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=bt(r);$l(p,r)||f(r);const[h,v]=bt(null),[m,g]=bt(null),_=Pt((e=>{e!==x.current&&(x.current=e,v(e))}),[]),y=Pt((e=>{e!==k.current&&(k.current=e,g(e))}),[]),w=o||h,b=a||m,x=Et(null),k=Et(null),S=Et(u),E=null!=l,C=Bl(l),T=Bl(i),P=Bl(c),A=Pt((()=>{if(!x.current||!k.current)return;const e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),Hl(x.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};R.current&&!$l(S.current,t)&&(S.current=t,In((()=>{d(t)})))}))}),[p,t,n,T,P]);Wl((()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const R=Et(!1);Wl((()=>(R.current=!0,()=>{R.current=!1})),[]),Wl((()=>{if(w&&(x.current=w),b&&(k.current=b),w&&b){if(C.current)return C.current(w,b,A);A()}}),[w,b,A,C,E]);const O=Tt((()=>({reference:x,floating:k,setReference:_,setFloating:y})),[_,y]),M=Tt((()=>({reference:w,floating:b})),[w,b]),L=Tt((()=>{const e={position:n,left:0,top:0};if(!M.floating)return e;const t=Ul(M.floating,u.x),r=Ul(M.floating,u.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...jl(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,s,M.floating,u.x,u.y]);return Tt((()=>({...u,update:A,refs:O,elements:M,floatingStyles:L})),[u,A,O,M,L])}({...e,elements:{...i,...s&&{reference:s}}}),f=Pt((e=>{const t=Gs(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l(t),p.refs.setReference(t)}),[p.refs]),h=Pt((e=>{(Gs(e)||null===e)&&(u.current=e,a(e)),(Gs(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!Gs(e))&&p.refs.setReference(e)}),[p.refs]),v=Tt((()=>({...p.refs,setReference:h,setPositionReference:f,domReference:u})),[p.refs,h,f]),m=Tt((()=>({...p.elements,domReference:c})),[p.elements,c]),g=Tt((()=>({...p,...r,refs:v,elements:m,nodeId:t})),[p,v,m,t,r]);return Xl((()=>{r.dataRef.current.floatingContext=g;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=g)})),Tt((()=>({...p,context:g,refs:v,elements:m})),[p,v,m,g])}const sc="active",lc="selected";function cc(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[sc]:t,[lc]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[ic]:""},...o,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var a;i&&[sc,lc].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof o&&(null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map((e=>e(...i))).find((e=>void 0!==e))})):e[n]=o)})),e):e),{})}}function uc(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}function dc(e,t){const{open:n,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:a,onChange:s}=t,l=Yl(s),c=Et(!1),u=Et(null),d=Et(null);kt((()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==o.current)return;const n=e.deltaY,r=o.current.top>=-.5,i=o.current.bottom>=-.5,a=t.scrollHeight-t.clientHeight,s=n<0?-1:1,c=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!i&&n<0?(e.preventDefault(),In((()=>{l((e=>e+Math[c](n,a*s)))}))):/firefox/i.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}())&&(t.scrollTop+=n))}const t=(null==a?void 0:a.current)||r.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{u.current=t.scrollTop,null!=o.current&&(d.current={...o.current})})),()=>{u.current=null,d.current=null,t.removeEventListener("wheel",e)}):void 0}),[i,n,r.floating,o,a,l]);const p=Tt((()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){const e=(null==a?void 0:a.current)||r.floating;if(o.current&&e&&c.current){if(null!==u.current){const t=e.scrollTop-u.current;(o.current.bottom<-.5&&t<-1||o.current.top<-.5&&t>1)&&In((()=>l((e=>e+t))))}requestAnimationFrame((()=>{u.current=e.scrollTop}))}}})),[r.floating,l,o,a]);return Tt((()=>i?{floating:p}:{}),[i,p])}let pc=Ze({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});pc.displayName="FloatingContext";let fc=Ze(null);fc.displayName="PlacementContext";function hc({children:e,enabled:t=!0}){let[n,r]=bt(null),[i,o]=bt(0),a=Et(null),[s,l]=bt(null);!function(e){da((()=>{if(!e)return;let t=new MutationObserver((()=>{let t=window.getComputedStyle(e).maxHeight,n=parseFloat(t);if(isNaN(n))return;let r=parseInt(t);isNaN(r)||n!==r&&(e.style.maxHeight=`${Math.ceil(n)}px`)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}}),[e])}(s);let c=t&&null!==n&&null!==s,{to:u="bottom",gap:d=0,offset:p=0,padding:f=0,inner:h}=function(e,t){var n,r,i;let o=vc(null!=(n=null==e?void 0:e.gap)?n:"var(--anchor-gap, 0)",t),a=vc(null!=(r=null==e?void 0:e.offset)?r:"var(--anchor-offset, 0)",t),s=vc(null!=(i=null==e?void 0:e.padding)?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:a,padding:s}}(n,s),[v,m="center"]=u.split(" ");da((()=>{c&&o(0)}),[c]);let{refs:g,floatingStyles:_,context:y}=ac({open:c,placement:"selection"===v?"center"===m?"bottom":`bottom-${m}`:"center"===m?`${v}`:`${v}-${m}`,strategy:"absolute",transform:!1,middleware:[ql({mainAxis:"selection"===v?0:d,crossAxis:p}),(k={padding:f},{...Dl(k),options:[k,S]}),"selection"!==v&&zl({padding:f}),"selection"===v&&h?(x={...h,padding:f,overflowRef:a,offset:i,minItemsVisible:4,referenceOverflowThreshold:f,onFallbackChange(e){var t,n;if(!e)return;let r=y.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,a=Math.min(4,r.childElementCount),s=0,l=0;for(let o of null!=(n=null==(t=y.elements.floating)?void 0:t.childNodes)?n:[])if(o instanceof HTMLElement){let e=o.offsetTop,t=e+o.clientHeight+i,n=r.scrollTop,c=n+r.clientHeight;if(!(e>=n&&t<=c)){l=Math.max(0,Math.min(t,c)-Math.max(e,n)),s=o.clientHeight;break}a--}a>=1&&o((e=>{let t=s*a-l+i;return e>=t?e:t}))}},{name:"inner",options:x,async fn(e){const{listRef:t,overflowRef:n,onFallbackChange:r,offset:i=0,index:o=0,minItemsVisible:a=4,referenceOverflowThreshold:s=0,scrollRef:l,...c}=al(x,e),{rects:u,elements:{floating:d}}=e,p=t.current[o],f=(null==l?void 0:l.current)||d,h=d.clientTop||f.clientTop,v=0!==d.clientTop,m=0!==f.clientTop,g=d===f;if(!p)return{};const _={...e,...await ql(-p.offsetTop-d.clientTop-u.reference.height/2-p.offsetHeight/2-i).fn(e)},y=await Fl(uc(_,f.scrollHeight+h+d.clientTop),c),w=await Fl(_,{...c,elementContext:"reference"}),b=Js(0,y.top),k=_.y+b,S=f.scrollHeight>f.clientHeight,E=(S?e=>e:el)(Js(0,f.scrollHeight+(v&&g||m?2*h:0)-b-Js(0,y.bottom)));if(f.style.maxHeight=E+"px",f.scrollTop=b,r){const e=S&&f.offsetHeight<p.offsetHeight*a-1||w.top>=-s||w.bottom>=-s;In((()=>r(e)))}return n&&(n.current=await Fl(uc({..._,y:k},f.offsetHeight+h+d.clientTop),c)),{y:k}}}):null,Vl({padding:f,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:Ll}),[w=v,b=m]=y.placement.split("-");var x,k,S;"selection"===v&&(w="selection");let E=Tt((()=>({anchor:[w,b].filter(Boolean).join(" ")})),[w,b]),C=dc(y,{overflowRef:a,onChange:o}),{getReferenceProps:T,getFloatingProps:P}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),i=Pt((t=>cc(t,e,"reference")),t),o=Pt((t=>cc(t,e,"floating")),n),a=Pt((t=>cc(t,e,"item")),r);return Tt((()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:a})),[i,o,a])}([C]),A=fa((e=>{l(e),g.setFloating(e)}));return Pe(fc.Provider,{value:r},Pe(pc.Provider,{value:{setFloating:A,setReference:g.setReference,styles:_,getReferenceProps:T,getFloatingProps:P,slot:E}},e))}function vc(e,t,n=void 0){let r=ua(),i=fa(((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let i=gc(e,t);return[i,n=>{let o=mc(e);{let a=o.map((e=>window.getComputedStyle(t).getPropertyValue(e)));r.requestAnimationFrame((function s(){r.nextFrame(s);let l=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(a[e]!==r){a[e]=r,l=!0;break}}if(!l)return;let c=gc(e,t);i!==c&&(n(c),i=c)}))}return r.dispose}]}return[n,null]})),o=Tt((()=>i(e,t)[0]),[e,t]),[a=o,s]=bt();return da((()=>{let[n,r]=i(e,t);if(s(n),r)return r(s)}),[e,t]),a}function mc(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let n=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[n,...mc(r)]:[n]}return[]}function gc(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let _c=Ze(null);_c.displayName="OpenClosedContext";var yc=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(yc||{});function wc({value:e,children:t}){return Bn.createElement(_c.Provider,{value:e},t)}var bc,xc=((bc=xc||{})[bc.First=0]="First",bc[bc.Previous=1]="Previous",bc[bc.Next=2]="Next",bc[bc.Last=3]="Last",bc[bc.Specific=4]="Specific",bc[bc.Nothing=5]="Nothing",bc);function kc(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===i&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}function Sc(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in qn&&(e=>e.useSyncExternalStore)(qn)((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,n]=bt(aa.isHandoffComplete);return t&&!1===aa.isHandoffComplete&&n(!1),kt((()=>{!0!==t&&n(!0)}),[t]),kt((()=>aa.handoff()),[]),!e&&t}let Ec=Ze(!1);function Cc(e){let t=At(Ec),n=At(Rc),r=ws(e),[i,o]=bt((()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(aa.isServer)return null;let i=null==r?void 0:r.getElementById("headlessui-portal-root");if(i)return i;if(null===r)return null;let o=r.createElement("div");return o.setAttribute("id","headlessui-portal-root"),r.body.appendChild(o)}));return kt((()=>{null!==i&&(null!=r&&r.body.contains(i)||null==r||r.body.appendChild(i))}),[i,r]),kt((()=>{t||null!==n&&o(n.current)}),[n,o,t]),i}let Tc=Oe,Pc=Ta((function(e,t){let n=e,r=Et(null),i=Fa(function(e,t=!0){return Object.assign(e,{[La]:t})}((e=>{r.current=e})),t),o=ws(r),a=Cc(r),[s]=bt((()=>{var e;return aa.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null})),l=At(Oc),c=Sc();da((()=>{!a||!s||a.contains(s)||(s.setAttribute("data-headlessui-portal",""),a.appendChild(s))}),[a,s]),da((()=>{if(s&&l)return l.register(s)}),[l,s]),function(e){let t=fa(e),n=Et(!1);kt((()=>(n.current=!1,()=>{n.current=!0,la((()=>{n.current&&t()}))})),[t])}((()=>{var e;!a||!s||(s instanceof Node&&a.contains(s)&&a.removeChild(s),a.childNodes.length<=0&&(null==(e=a.parentElement)||e.removeChild(a)))}));let u=xa();return c&&a&&s?ln(u({ourProps:{ref:i},theirProps:n,slot:{},defaultTag:Tc,name:"Portal"}),s):null}));let Ac=Oe,Rc=Ze(null);let Oc=Ze(null),Mc=Ta((function(e,t){let n=Fa(t),{enabled:r=!0,...i}=e,o=xa();return r?Bn.createElement(Pc,{...i,ref:n}):o({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:Tc,name:"Portal"})})),Lc=Ta((function(e,t){let{target:n,...r}=e,i={ref:Fa(t)},o=xa();return Bn.createElement(Rc.Provider,{value:n},o({ourProps:i,theirProps:r,defaultTag:Ac,name:"Popover.Group"}))})),Fc=Object.assign(Mc,{Group:Lc});let Ic=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Dc(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let s of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),o=!0;let a=o?null!=(n=i.innerText)?n:"":r;return Ic.test(a)&&(a=a.replace(Ic,"")),a}function Gc(e){let t=Et(""),n=Et("");return fa((()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():Dc(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Dc(e).trim()}(r).trim().toLowerCase();return t.current=i,n.current=o,o}))}var Nc=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nc||{}),Hc=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Hc||{}),Wc=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(Wc||{});function $c(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=hs(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{items:r,activeItemIndex:i}}let jc={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n,r,i,o,a;if(1===e.menuState)return e;let s={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===xc.Nothing)return{...s,activeItemIndex:null};if(t.focus===xc.Specific)return{...s,activeItemIndex:e.items.findIndex((e=>e.id===t.id))};if(t.focus===xc.Previous){let n=e.activeItemIndex;if(null!==n){let o=e.items[n].dataRef.current.domRef,a=kc(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.items[a].dataRef.current.domRef;if((null==(r=o.current)?void 0:r.previousElementSibling)===t.current||null===(null==(i=t.current)?void 0:i.previousElementSibling))return{...s,activeItemIndex:a}}}}else if(t.focus===xc.Next){let n=e.activeItemIndex;if(null!==n){let r=e.items[n].dataRef.current.domRef,i=kc(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.items[i].dataRef.current.domRef;if((null==(o=r.current)?void 0:o.nextElementSibling)===t.current||null===(null==(a=t.current)?void 0:a.nextElementSibling))return{...s,activeItemIndex:i}}}}let l=$c(e),c=kc(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...s,...l,activeItemIndex:c}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),o=i?e.items.indexOf(i):-1;return-1===o||o===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=$c(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=$c(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},Uc=Ze(null);function Bc(e){let t=At(Uc);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Bc),t}return t}function qc(e,t){return ga(t.type,jc,e,t)}Uc.displayName="MenuContext";let zc=Oe;let Vc=wa.RenderStrategy|wa.Static;let Qc=Oe;let Kc=Ta((function(e,t){let{__demoMode:n=!1,...r}=e,i=xt(qc,{__demoMode:n,menuState:n?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:o,itemsElement:a,buttonElement:s},l]=i,c=Fa(t);ys(0===o,[s,a],((e,t)=>{l({type:1}),us(t,cs.Loose)||(e.preventDefault(),null==s||s.focus())}));let u=fa((()=>{l({type:1})})),d=Tt((()=>({open:0===o,close:u})),[o,u]),p={ref:c},f=xa();return Bn.createElement(hc,null,Bn.createElement(Uc.Provider,{value:i},Bn.createElement(wc,{value:ga(o,{0:yc.Open,1:yc.Closed})},f({ourProps:p,theirProps:r,slot:d,defaultTag:zc,name:"Menu"}))))})),Yc=Ta((function(e,t){var n;let r=Ot(),{id:i=`headlessui-menu-button-${r}`,disabled:o=!1,autoFocus:a=!1,...s}=e,[l,c]=Bc("Menu.Button"),u=At(pc).getReferenceProps,d=Fa(t,At(pc).setReference,fa((e=>c({type:7,element:e})))),p=fa((e=>{switch(e.key){case Ha.Space:case Ha.Enter:case Ha.ArrowDown:e.preventDefault(),e.stopPropagation(),In((()=>c({type:0}))),c({type:2,focus:xc.First});break;case Ha.ArrowUp:e.preventDefault(),e.stopPropagation(),In((()=>c({type:0}))),c({type:2,focus:xc.Last})}})),f=fa((e=>{if(e.key===Ha.Space)e.preventDefault()})),h=fa((e=>{var t;if(Ma(e.currentTarget))return e.preventDefault();o||(0===l.menuState?(In((()=>c({type:1}))),null==(t=l.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),c({type:0})))})),{isFocusVisible:v,focusProps:m}=ra({autoFocus:a}),{isHovered:g,hoverProps:_}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[o,a]=bt(!1),s=Et({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;kt(na,[]);let{hoverProps:l,triggerHoverEnd:c}=Tt((()=>{let e=(e,r)=>{if(s.pointerType=r,i||"touch"===r||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let o=e.currentTarget;s.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),a(!0)},o=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let i=e.currentTarget;r&&r({type:"hoverend",target:i,pointerType:t}),n&&n(!1),a(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=t=>{Zo&&"mouse"===t.pointerType||e(t,t.pointerType)},l.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&o(e,e.pointerType)}):(l.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||Zo||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&o(e,"mouse")}),{hoverProps:l,triggerHoverEnd:o}}),[t,n,r,i,s]);return kt((()=>{i&&c({currentTarget:s.target},s.pointerType)}),[i]),{hoverProps:l,isHovered:o}}({isDisabled:o}),{pressed:y,pressProps:w}=function({disabled:e=!1}={}){let t=Et(null),[n,r]=bt(!1),i=ua(),o=fa((()=>{t.current=null,r(!1),i.dispose()})),a=fa((e=>{if(i.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=sa(e.currentTarget);i.addEventListener(n,"pointerup",o,!1),i.addEventListener(n,"pointermove",(e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);r(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(n,t.current.getBoundingClientRect()))}}),!1),i.addEventListener(n,"pointercancel",o,!1)}}}));return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}({disabled:o}),b=Tt((()=>({open:0===l.menuState,active:y||0===l.menuState,disabled:o,hover:g,focus:v,autofocus:a})),[l,g,v,y,o,a]),x=Ca(u(),{ref:d,id:i,type:bs(e,l.buttonElement),"aria-haspopup":"menu","aria-controls":null==(n=l.itemsElement)?void 0:n.id,"aria-expanded":0===l.menuState,disabled:o||void 0,autoFocus:a,onKeyDown:p,onKeyUp:f,onClick:h},m,_,w);return xa()({ourProps:x,theirProps:s,slot:b,defaultTag:"button",name:"Menu.Button"})})),Xc=Ta((function(e,t){var n,r;let i=Ot(),{id:o=`headlessui-menu-items-${i}`,anchor:a,portal:s=!1,modal:l=!0,transition:c=!1,...u}=e,d=function(e){return Tt((()=>e?"string"==typeof e?{to:e}:e:null),[e])}(a),[p,f]=Bc("Menu.Items"),[h,v]=function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=At(fc),n=Tt((()=>e),[JSON.stringify(e,((e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t}))]);da((()=>{null==t||t(null!=n?n:null)}),[t,n]);let r=At(pc);return Tt((()=>[r.setFloating,e?r.styles:{}]),[r.setFloating,e,r.styles])}(d),m=function(){let{getFloatingProps:e,slot:t}=At(pc);return Pt(((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor})),[e,t])}(),[g,_]=bt(null),y=Fa(t,d?h:null,fa((e=>f({type:8,element:e}))),_),w=ws(p.itemsElement);d&&(s=!0);let b=At(_c),[x,k]=Os(c,g,null!==b?(b&yc.Open)===yc.Open:0===p.menuState);!function(e,t,n){let r=pa((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()}));kt((()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let i=ca();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>r.current(n)));e.observe(n),i.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>r.current(n)));e.observe(n),i.add((()=>e.disconnect()))}return()=>i.dispose()}),[t,r,e])}(x,p.buttonElement,(()=>{f({type:1})})),Es(!p.__demoMode&&(l&&0===p.menuState),w),function(e,{allowed:t,disallowed:n}={}){let r=Ka(e,"inert-others");da((()=>{var e,i;if(!r)return;let o=ca();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(Za(t));let a=null!=(i=null==t?void 0:t())?i:[];for(let t of a){if(!t)continue;let e=sa(t);if(!e)continue;let n=t.parentElement;for(;n&&n!==e.body;){for(let e of n.children)a.some((t=>e.contains(t)))||o.add(Za(e));n=n.parentElement}}return o.dispose}),[r,t,n])}(!p.__demoMode&&(l&&0===p.menuState),{allowed:Pt((()=>[p.buttonElement,p.itemsElement]),[p.buttonElement,p.itemsElement])});let S=!function(e,t){let n=Et({left:0,top:0});if(da((()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(n.current=e)}),[e,t]),null==t||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}(0!==p.menuState,p.buttonElement)&&x;kt((()=>{let e=p.itemsElement;e&&0===p.menuState&&e!==(null==w?void 0:w.activeElement)&&e.focus({preventScroll:!0})}),[p.menuState,p.itemsElement,w]),function(e,{container:t,accept:n,walk:r}){let i=Et(n),o=Et(r);kt((()=>{i.current=n,o.current=r}),[n,r]),da((()=>{if(!t||!e)return;let n=sa(t);if(!n)return;let r=i.current,a=o.current,s=Object.assign((e=>r(e)),{acceptNode:r}),l=n.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)a(l.currentNode)}),[t,e,i,o])}(0===p.menuState,{container:p.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let E=ua(),C=fa((e=>{var t,n,r;switch(E.dispose(),e.key){case Ha.Space:if(""!==p.searchQuery)return e.preventDefault(),e.stopPropagation(),f({type:3,value:e.key});case Ha.Enter:if(e.preventDefault(),e.stopPropagation(),f({type:1}),null!==p.activeItemIndex){let{dataRef:e}=p.items[p.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}ds(p.buttonElement);break;case Ha.ArrowDown:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.Next});case Ha.ArrowUp:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.Previous});case Ha.Home:case Ha.PageUp:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.First});case Ha.End:case Ha.PageDown:return e.preventDefault(),e.stopPropagation(),f({type:2,focus:xc.Last});case Ha.Escape:e.preventDefault(),e.stopPropagation(),In((()=>f({type:1}))),null==(r=p.buttonElement)||r.focus({preventScroll:!0});break;case Ha.Tab:e.preventDefault(),e.stopPropagation(),In((()=>f({type:1}))),vs(p.buttonElement,e.shiftKey?os.Previous:os.Next);break;default:1===e.key.length&&(f({type:3,value:e.key}),E.setTimeout((()=>f({type:4})),350))}})),T=fa((e=>{if(e.key===Ha.Space)e.preventDefault()})),P=Tt((()=>({open:0===p.menuState})),[p.menuState]),A=Ca(d?m():{},{"aria-activedescendant":null===p.activeItemIndex||null==(n=p.items[p.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=p.buttonElement)?void 0:r.id,id:o,onKeyDown:C,onKeyUp:T,role:"menu",tabIndex:0===p.menuState?0:void 0,ref:y,style:{...u.style,...v,"--button-width":Ba(p.buttonElement,!0).width},...Rs(k)}),R=xa();return Bn.createElement(Fc,{enabled:!!s&&(e.static||x)},R({ourProps:A,theirProps:u,slot:P,defaultTag:"div",features:Vc,visible:S,name:"Menu.Items"}))})),Zc=Ta((function(e,t){let n=Ot(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...o}=e,[a,s]=Bc("Menu.Item"),l=null!==a.activeItemIndex&&a.items[a.activeItemIndex].id===r,c=Et(null),u=Fa(t,c);da((()=>{if(!a.__demoMode&&0===a.menuState&&l&&0!==a.activationTrigger)return ca().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=c.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[a.__demoMode,c,l,a.menuState,a.activationTrigger,a.activeItemIndex]);let d=Gc(c),p=Et({disabled:i,domRef:c,get textValue(){return d()}});da((()=>{p.current.disabled=i}),[p,i]),da((()=>(s({type:5,id:r,dataRef:p}),()=>s({type:6,id:r}))),[p,r]);let f=fa((()=>{s({type:1})})),h=fa((e=>{if(i)return e.preventDefault();s({type:1}),ds(a.buttonElement)})),v=fa((()=>{if(i)return s({type:2,focus:xc.Nothing});s({type:2,focus:xc.Specific,id:r})})),m=function(){let e=Et([-1,-1]);return{wasMoved(t){let n=Cs(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=Cs(t)}}}(),g=fa((e=>{m.update(e),!i&&(l||s({type:2,focus:xc.Specific,id:r,trigger:0}))})),_=fa((e=>{m.wasMoved(e)&&(i||l||s({type:2,focus:xc.Specific,id:r,trigger:0}))})),y=fa((e=>{m.wasMoved(e)&&(i||l&&s({type:2,focus:xc.Nothing}))})),[w,b]=ja(),[x,k]=function(){let[e,t]=bt([]);return[e.length>0?e.join(" "):void 0,Tt((()=>function(e){let n=fa((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),r=Tt((()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value})),[n,e.slot,e.name,e.props,e.value]);return Bn.createElement(Ia.Provider,{value:r},e.children)}),[t])]}(),S=Tt((()=>({active:l,focus:l,disabled:i,close:f})),[l,i,f]),E={id:r,ref:u,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-labelledby":w,"aria-describedby":x,disabled:void 0,onClick:h,onFocus:v,onPointerEnter:g,onMouseEnter:g,onPointerMove:_,onMouseMove:_,onPointerLeave:y,onMouseLeave:y},C=xa();return Bn.createElement(b,null,Bn.createElement(k,null,C({ourProps:E,theirProps:o,slot:S,defaultTag:Qc,name:"Menu.Item"})))})),Jc=Ta((function(e,t){let[n,r]=ja(),i=e,o={ref:t,"aria-labelledby":n,role:"group"},a=xa();return Bn.createElement(r,null,a({ourProps:o,theirProps:i,slot:{},defaultTag:"div",name:"Menu.Section"}))})),eu=Ta((function(e,t){let n=Ot(),{id:r=`headlessui-menu-heading-${n}`,...i}=e,o=$a();da((()=>o.register(r)),[r,o.register]);let a={id:r,ref:t,role:"presentation",...o.props};return xa()({ourProps:a,theirProps:i,slot:{},defaultTag:"header",name:"Menu.Heading"})})),tu=Ta((function(e,t){let n=e,r={ref:t,role:"separator"};return xa()({ourProps:r,theirProps:n,slot:{},defaultTag:"div",name:"Menu.Separator"})})),nu=Object.assign(Kc,{Button:Yc,Items:Xc,Item:Zc,Section:Jc,Heading:eu,Separator:tu});const ru=e=>fo(ou,{children:ho(nu,{as:"div",children:[fo("div",{children:ho(Yc,{css:{display:"flex",alignItems:"center",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"},":focus":{outline:"2px solid transparent",outlineOffset:"2px","--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#f3f4f6"}},children:[fo("span",{css:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},children:"Open options"}),fo(bo,{"aria-hidden":"true",css:{width:"1.25rem",height:"1.25rem"}})]})}),fo(Xc,{transition:!0,className:"right-45 w-30",css:{position:"fixed",zIndex:"10",marginTop:"0.5rem",borderRadius:"0.375rem","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--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)","--tw-ring-color":"rgb(0 0 0 / 0.05)",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms",":focus":{outline:"2px solid transparent",outlineOffset:"2px"},"&[data-closed]":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",opacity:"0"},"&[data-enter]":{transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},"&[data-leave]":{transitionDuration:"75ms",transitionTimingFunction:"cubic-bezier(0.4, 0, 1, 1)"}},children:e.items.map(((t,n)=>fo(Zc,{children:fo("button",{type:"button",css:{display:"block",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))","&[data-focus]":{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))",outline:"2px solid transparent",outlineOffset:"2px"}},onClick:()=>{t.onClick(e.id)},children:t.label},n)},n)))})]})}),iu=e=>{const t=new Date(e.value);return ho(ou,{children:[t.toLocaleDateString(),fo("br",{}),t.toLocaleTimeString()]})},ou=ao.td`
2
2
  ${{whiteSpace:"nowrap",paddingTop:"1rem",paddingBottom:"1rem",paddingLeft:"1rem",paddingRight:"0.75rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}}
3
3
  `,au=ao.td`
4
4
  ${{whiteSpace:"nowrap",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem",fontSize:"0.875rem",lineHeight:"1.25rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/superhero-salpac-profile-admin",
3
- "version": "1.0.656",
3
+ "version": "1.0.657",
4
4
  "description": "Flare Superhero Profile Admin",
5
5
  "license": "MIT",
6
6
  "files": [