New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@headlessui-float/react

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@headlessui-float/react - npm Package Compare versions

Comparing version
0.13.2
to
0.13.3
+12
-12
dist/headlessui-float.cjs
"use strict";var Dt=Object.defineProperty;var It=(t,o,r)=>o in t?Dt(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r;var Ce=(t,o,r)=>(It(t,typeof o!="symbol"?o+"":o,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),_e=require("@headlessui/react"),Ke=require("@floating-ui/react"),B=require("@floating-ui/dom");var je={exports:{}},G={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ze;function $t(){if(ze)return G;ze=1;var t=a,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,u=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function c(b,m,R){var g,v={},p=null,f=null;R!==void 0&&(p=""+R),m.key!==void 0&&(p=""+m.key),m.ref!==void 0&&(f=m.ref);for(g in m)n.call(m,g)&&!d.hasOwnProperty(g)&&(v[g]=m[g]);if(b&&b.defaultProps)for(g in m=b.defaultProps,m)v[g]===void 0&&(v[g]=m[g]);return{$$typeof:o,type:b,key:p,ref:f,props:v,_owner:u.current}}return G.Fragment=r,G.jsx=c,G.jsxs=c,G}var K={};/**
* @license React
* react-jsx-runtime.development.js

@@ -9,21 +17,13 @@ *

* LICENSE file in the root directory of this source tree.
*/var ze;function $t(){return ze||(ze=1,process.env.NODE_ENV!=="production"&&function(){var t=a,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),b=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),O=Symbol.iterator,C="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var i=O&&e[O]||e[C];return typeof i=="function"?i:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(e){{for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];Y("error",e,s)}}function Y(e,i,s){{var l=A.ReactDebugCurrentFrame,w=l.getStackAddendum();w!==""&&(i+="%s",s=s.concat([w]));var x=s.map(function(y){return String(y)});x.unshift("Warning: "+i),Function.prototype.apply.call(console[e],console,x)}}var T=!1,k=!1,W=!1,ee=!1,te=!1,q;q=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===n||e===d||te||e===u||e===R||e===g||ee||e===f||T||k||W||typeof e=="object"&&e!==null&&(e.$$typeof===p||e.$$typeof===v||e.$$typeof===c||e.$$typeof===b||e.$$typeof===m||e.$$typeof===q||e.getModuleId!==void 0))}function X(e,i,s){var l=e.displayName;if(l)return l;var w=i.displayName||i.name||"";return w!==""?s+"("+w+")":s}function L(e){return e.displayName||"Context"}function F(e){if(e==null)return null;if(typeof e.tag=="number"&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case n:return"Fragment";case r:return"Portal";case d:return"Profiler";case u:return"StrictMode";case R:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case b:var i=e;return L(i)+".Consumer";case c:var s=e;return L(s._context)+".Provider";case m:return X(e,e.render,"ForwardRef");case v:var l=e.displayName||null;return l!==null?l:F(e.type)||"Memo";case p:{var w=e,x=w._payload,y=w._init;try{return F(y(x))}catch{return null}}}return null}var N=Object.assign,U=0,le,fe,de,ge,me,ve,re;function Ae(){}Ae.__reactDisabledLog=!0;function ct(){{if(U===0){le=console.log,fe=console.info,de=console.warn,ge=console.error,me=console.group,ve=console.groupCollapsed,re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ae,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function lt(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:le}),info:N({},e,{value:fe}),warn:N({},e,{value:de}),error:N({},e,{value:ge}),group:N({},e,{value:me}),groupCollapsed:N({},e,{value:ve}),groupEnd:N({},e,{value:re})})}U<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=A.ReactCurrentDispatcher,ye;function ne(e,i,s){{if(ye===void 0)try{throw Error()}catch(w){var l=w.stack.trim().match(/\n( *(at )?)/);ye=l&&l[1]||""}return`
*/var Xe;function Mt(){return Xe||(Xe=1,process.env.NODE_ENV!=="production"&&function(){var t=a,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),b=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),O=Symbol.iterator,C="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var i=O&&e[O]||e[C];return typeof i=="function"?i:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(e){{for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];L("error",e,s)}}function L(e,i,s){{var l=A.ReactDebugCurrentFrame,w=l.getStackAddendum();w!==""&&(i+="%s",s=s.concat([w]));var x=s.map(function(y){return String(y)});x.unshift("Warning: "+i),Function.prototype.apply.call(console[e],console,x)}}var T=!1,k=!1,W=!1,ee=!1,te=!1,q;q=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===n||e===d||te||e===u||e===R||e===g||ee||e===f||T||k||W||typeof e=="object"&&e!==null&&(e.$$typeof===p||e.$$typeof===v||e.$$typeof===c||e.$$typeof===b||e.$$typeof===m||e.$$typeof===q||e.getModuleId!==void 0))}function X(e,i,s){var l=e.displayName;if(l)return l;var w=i.displayName||i.name||"";return w!==""?s+"("+w+")":s}function N(e){return e.displayName||"Context"}function F(e){if(e==null)return null;if(typeof e.tag=="number"&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case n:return"Fragment";case r:return"Portal";case d:return"Profiler";case u:return"StrictMode";case R:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case b:var i=e;return N(i)+".Consumer";case c:var s=e;return N(s._context)+".Provider";case m:return X(e,e.render,"ForwardRef");case v:var l=e.displayName||null;return l!==null?l:F(e.type)||"Memo";case p:{var w=e,x=w._payload,y=w._init;try{return F(y(x))}catch{return null}}}return null}var Y=Object.assign,U=0,le,fe,de,ge,me,ve,re;function Ae(){}Ae.__reactDisabledLog=!0;function ct(){{if(U===0){le=console.log,fe=console.info,de=console.warn,ge=console.error,me=console.group,ve=console.groupCollapsed,re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ae,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function lt(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y({},e,{value:le}),info:Y({},e,{value:fe}),warn:Y({},e,{value:de}),error:Y({},e,{value:ge}),group:Y({},e,{value:me}),groupCollapsed:Y({},e,{value:ve}),groupEnd:Y({},e,{value:re})})}U<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=A.ReactCurrentDispatcher,ye;function ne(e,i,s){{if(ye===void 0)try{throw Error()}catch(w){var l=w.stack.trim().match(/\n( *(at )?)/);ye=l&&l[1]||""}return`
`+ye+e}}var be=!1,ie;{var ft=typeof WeakMap=="function"?WeakMap:Map;ie=new ft}function ke(e,i){if(!e||be)return"";{var s=ie.get(e);if(s!==void 0)return s}var l;be=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=he.current,he.current=null,ct();try{if(i){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch($){l=$}Reflect.construct(e,[],y)}else{try{y.call()}catch($){l=$}e.call(y.prototype)}}else{try{throw Error()}catch($){l=$}e()}}catch($){if($&&l&&typeof $.stack=="string"){for(var h=$.stack.split(`
`),P=l.stack.split(`
`),S=h.length-1,j=P.length-1;S>=1&&j>=0&&h[S]!==P[j];)j--;for(;S>=1&&j>=0;S--,j--)if(h[S]!==P[j]){if(S!==1||j!==1)do if(S--,j--,j<0||h[S]!==P[j]){var D=`
`+h[S].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&ie.set(e,D),D}while(S>=1&&j>=0);break}}}finally{be=!1,he.current=x,lt(),Error.prepareStackTrace=w}var H=e?e.displayName||e.name:"",qe=H?ne(H):"";return typeof e=="function"&&ie.set(e,qe),qe}function dt(e,i,s){return ke(e,!1)}function gt(e){var i=e.prototype;return!!(i&&i.isReactComponent)}function oe(e,i,s){if(e==null)return"";if(typeof e=="function")return ke(e,gt(e));if(typeof e=="string")return ne(e);switch(e){case R:return ne("Suspense");case g:return ne("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case m:return dt(e.render);case v:return oe(e.type,i,s);case p:{var l=e,w=l._payload,x=l._init;try{return oe(x(w),i,s)}catch{}}}return""}var ae=Object.prototype.hasOwnProperty,De={},Ie=A.ReactDebugCurrentFrame;function se(e){if(e){var i=e._owner,s=oe(e.type,e._source,i?i.type:null);Ie.setExtraStackFrame(s)}else Ie.setExtraStackFrame(null)}function mt(e,i,s,l,w){{var x=Function.call.bind(ae);for(var y in e)if(x(e,y)){var h=void 0;try{if(typeof e[y]!="function"){var P=Error((l||"React class")+": "+s+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw P.name="Invariant Violation",P}h=e[y](i,y,l,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){h=S}h&&!(h instanceof Error)&&(se(w),_("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,y,typeof h),se(null)),h instanceof Error&&!(h.message in De)&&(De[h.message]=!0,se(w),_("Failed %s type: %s",s,h.message),se(null))}}}var vt=Array.isArray;function Ee(e){return vt(e)}function ht(e){{var i=typeof Symbol=="function"&&Symbol.toStringTag,s=i&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function yt(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function Me(e){if(yt(e))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ht(e)),$e(e)}var J=A.ReactCurrentOwner,bt={key:!0,ref:!0,__self:!0,__source:!0},We,Ne,we;we={};function Et(e){if(ae.call(e,"ref")){var i=Object.getOwnPropertyDescriptor(e,"ref").get;if(i&&i.isReactWarning)return!1}return e.ref!==void 0}function wt(e){if(ae.call(e,"key")){var i=Object.getOwnPropertyDescriptor(e,"key").get;if(i&&i.isReactWarning)return!1}return e.key!==void 0}function Rt(e,i){if(typeof e.ref=="string"&&J.current&&i&&J.current.stateNode!==i){var s=F(J.current.type);we[s]||(_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',F(J.current.type),e.ref),we[s]=!0)}}function pt(e,i){{var s=function(){We||(We=!0,_("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}}function xt(e,i){{var s=function(){Ne||(Ne=!0,_("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(e,"ref",{get:s,configurable:!0})}}var Ct=function(e,i,s,l,w,x,y){var h={$$typeof:o,type:e,key:i,ref:s,props:y,_owner:x};return h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(h,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(h,"_source",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h};function _t(e,i,s,l,w){{var x,y={},h=null,P=null;s!==void 0&&(Me(s),h=""+s),wt(i)&&(Me(i.key),h=""+i.key),Et(i)&&(P=i.ref,Rt(i,w));for(x in i)ae.call(i,x)&&!bt.hasOwnProperty(x)&&(y[x]=i[x]);if(e&&e.defaultProps){var S=e.defaultProps;for(x in S)y[x]===void 0&&(y[x]=S[x])}if(h||P){var j=typeof e=="function"?e.displayName||e.name||"Unknown":e;h&&pt(y,j),P&&xt(y,j)}return Ct(e,h,P,w,l,J.current,y)}}var Re=A.ReactCurrentOwner,Ye=A.ReactDebugCurrentFrame;function V(e){if(e){var i=e._owner,s=oe(e.type,e._source,i?i.type:null);Ye.setExtraStackFrame(s)}else Ye.setExtraStackFrame(null)}var pe;pe=!1;function xe(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Le(){{if(Re.current){var e=F(Re.current.type);if(e)return`
`+h[S].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&ie.set(e,D),D}while(S>=1&&j>=0);break}}}finally{be=!1,he.current=x,lt(),Error.prepareStackTrace=w}var H=e?e.displayName||e.name:"",qe=H?ne(H):"";return typeof e=="function"&&ie.set(e,qe),qe}function dt(e,i,s){return ke(e,!1)}function gt(e){var i=e.prototype;return!!(i&&i.isReactComponent)}function oe(e,i,s){if(e==null)return"";if(typeof e=="function")return ke(e,gt(e));if(typeof e=="string")return ne(e);switch(e){case R:return ne("Suspense");case g:return ne("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case m:return dt(e.render);case v:return oe(e.type,i,s);case p:{var l=e,w=l._payload,x=l._init;try{return oe(x(w),i,s)}catch{}}}return""}var ae=Object.prototype.hasOwnProperty,De={},Ie=A.ReactDebugCurrentFrame;function se(e){if(e){var i=e._owner,s=oe(e.type,e._source,i?i.type:null);Ie.setExtraStackFrame(s)}else Ie.setExtraStackFrame(null)}function mt(e,i,s,l,w){{var x=Function.call.bind(ae);for(var y in e)if(x(e,y)){var h=void 0;try{if(typeof e[y]!="function"){var P=Error((l||"React class")+": "+s+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw P.name="Invariant Violation",P}h=e[y](i,y,l,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){h=S}h&&!(h instanceof Error)&&(se(w),_("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,y,typeof h),se(null)),h instanceof Error&&!(h.message in De)&&(De[h.message]=!0,se(w),_("Failed %s type: %s",s,h.message),se(null))}}}var vt=Array.isArray;function Ee(e){return vt(e)}function ht(e){{var i=typeof Symbol=="function"&&Symbol.toStringTag,s=i&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function yt(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function Me(e){if(yt(e))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ht(e)),$e(e)}var J=A.ReactCurrentOwner,bt={key:!0,ref:!0,__self:!0,__source:!0},We,Ye,we;we={};function Et(e){if(ae.call(e,"ref")){var i=Object.getOwnPropertyDescriptor(e,"ref").get;if(i&&i.isReactWarning)return!1}return e.ref!==void 0}function wt(e){if(ae.call(e,"key")){var i=Object.getOwnPropertyDescriptor(e,"key").get;if(i&&i.isReactWarning)return!1}return e.key!==void 0}function Rt(e,i){if(typeof e.ref=="string"&&J.current&&i&&J.current.stateNode!==i){var s=F(J.current.type);we[s]||(_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',F(J.current.type),e.ref),we[s]=!0)}}function pt(e,i){{var s=function(){We||(We=!0,_("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}}function xt(e,i){{var s=function(){Ye||(Ye=!0,_("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(e,"ref",{get:s,configurable:!0})}}var Ct=function(e,i,s,l,w,x,y){var h={$$typeof:o,type:e,key:i,ref:s,props:y,_owner:x};return h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(h,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(h,"_source",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h};function _t(e,i,s,l,w){{var x,y={},h=null,P=null;s!==void 0&&(Me(s),h=""+s),wt(i)&&(Me(i.key),h=""+i.key),Et(i)&&(P=i.ref,Rt(i,w));for(x in i)ae.call(i,x)&&!bt.hasOwnProperty(x)&&(y[x]=i[x]);if(e&&e.defaultProps){var S=e.defaultProps;for(x in S)y[x]===void 0&&(y[x]=S[x])}if(h||P){var j=typeof e=="function"?e.displayName||e.name||"Unknown":e;h&&pt(y,j),P&&xt(y,j)}return Ct(e,h,P,w,l,J.current,y)}}var Re=A.ReactCurrentOwner,Le=A.ReactDebugCurrentFrame;function V(e){if(e){var i=e._owner,s=oe(e.type,e._source,i?i.type:null);Le.setExtraStackFrame(s)}else Le.setExtraStackFrame(null)}var pe;pe=!1;function xe(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Ne(){{if(Re.current){var e=F(Re.current.type);if(e)return`
Check the render method of \``+e+"`."}return""}}function St(e){{if(e!==void 0){var i=e.fileName.replace(/^.*[\\\/]/,""),s=e.lineNumber;return`
Check your code at `+i+":"+s+"."}return""}}var Ue={};function jt(e){{var i=Le();if(!i){var s=typeof e=="string"?e:e.displayName||e.name;s&&(i=`
Check your code at `+i+":"+s+"."}return""}}var Ue={};function jt(e){{var i=Ne();if(!i){var s=typeof e=="string"?e:e.displayName||e.name;s&&(i=`
Check the top-level render call using <`+s+">.")}return i}}function Ve(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var s=jt(i);if(Ue[s])return;Ue[s]=!0;var l="";e&&e._owner&&e._owner!==Re.current&&(l=" It was passed a child from "+F(e._owner.type)+"."),V(e),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,l),V(null)}}function He(e,i){{if(typeof e!="object")return;if(Ee(e))for(var s=0;s<e.length;s++){var l=e[s];xe(l)&&Ve(l,i)}else if(xe(e))e._store&&(e._store.validated=!0);else if(e){var w=M(e);if(typeof w=="function"&&w!==e.entries)for(var x=w.call(e),y;!(y=x.next()).done;)xe(y.value)&&Ve(y.value,i)}}}function Tt(e){{var i=e.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===m||i.$$typeof===v))s=i.propTypes;else return;if(s){var l=F(i);mt(s,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!pe){pe=!0;var w=F(i);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pt(e){{for(var i=Object.keys(e.props),s=0;s<i.length;s++){var l=i[s];if(l!=="children"&&l!=="key"){V(e),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),V(null);break}}e.ref!==null&&(V(e),_("Invalid attribute `ref` supplied to `React.Fragment`."),V(null))}}function Be(e,i,s,l,w,x){{var y=z(e);if(!y){var h="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var P=St(w);P?h+=P:h+=Le();var S;e===null?S="null":Ee(e)?S="array":e!==void 0&&e.$$typeof===o?(S="<"+(F(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,h)}var j=_t(e,i,s,w,x);if(j==null)return j;if(y){var D=i.children;if(D!==void 0)if(l)if(Ee(D)){for(var H=0;H<D.length;H++)He(D[H],e);Object.freeze&&Object.freeze(D)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else He(D,e)}return e===n?Pt(j):Tt(j),j}}function Ot(e,i,s){return Be(e,i,s,!0)}function Ft(e,i,s){return Be(e,i,s,!1)}var At=Ft,kt=Ot;G.Fragment=n,G.jsx=At,G.jsxs=kt}()),G}var K={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Xe;function Mt(){if(Xe)return K;Xe=1;var t=a,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,u=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function c(b,m,R){var g,v={},p=null,f=null;R!==void 0&&(p=""+R),m.key!==void 0&&(p=""+m.key),m.ref!==void 0&&(f=m.ref);for(g in m)n.call(m,g)&&!d.hasOwnProperty(g)&&(v[g]=m[g]);if(b&&b.defaultProps)for(g in m=b.defaultProps,m)v[g]===void 0&&(v[g]=m[g]);return{$$typeof:o,type:b,key:p,ref:f,props:v,_owner:u.current}}return K.Fragment=r,K.jsx=c,K.jsxs=c,K}process.env.NODE_ENV==="production"?je.exports=Mt():je.exports=$t();var E=je.exports;function Wt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Je(t,o){const r=Wt(t);return Math.round(o*r)/r}class Nt{constructor(){Ce(this,"current",this.detect());Ce(this,"currentId",0)}set(o){this.current!==o&&(this.currentId=0,this.current=o)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}const Z=new Nt,Ze=(t,o)=>{Z.isServer?a.useEffect(t,o):a.useLayoutEffect(t,o)},Se={serverHandoffComplete:!1};function Yt(){const[t,o]=a.useState(Se.serverHandoffComplete);return a.useEffect(()=>{t!==!0&&o(!0)},[t]),a.useEffect(()=>{Se.serverHandoffComplete===!1&&(Se.serverHandoffComplete=!0)},[]),t}const Lt=a.useId??function(){const o=Yt(),[r,n]=a.useState(o?()=>Z.nextId():null);return Ze(()=>{r===null&&n(Z.nextId())},[r]),r!=null?`${r}`:void 0};function Ut(t,o,r,n){a.useEffect(()=>{const u=[];(typeof n.offset=="number"||typeof n.offset=="object"||typeof n.offset=="function")&&u.push(B.offset(n.offset)),(n.flip===!0||typeof n.flip=="number"||typeof n.flip=="object")&&u.push(B.flip({padding:typeof n.flip=="number"?n.flip:void 0,...typeof n.flip=="object"?n.flip:{}})),(n.shift===!0||typeof n.shift=="number"||typeof n.shift=="object")&&u.push(B.shift({padding:typeof n.shift=="number"?n.shift:void 0,...typeof n.shift=="object"?n.shift:{}})),(n.autoPlacement===!0||typeof n.autoPlacement=="object")&&u.push(B.autoPlacement(typeof n.autoPlacement=="object"?n.autoPlacement:void 0)),u.push(...typeof n.middleware=="function"?n.middleware({referenceEl:o.reference,floatingEl:o.floating}):n.middleware||[]),(n.arrow===!0||typeof n.arrow=="number")&&u.push(Ke.arrow({element:r,padding:n.arrow===!0?0:n.arrow})),(n.hide===!0||typeof n.hide=="object"||Array.isArray(n.hide))&&(Array.isArray(n.hide)?n.hide:[n.hide]).forEach(d=>{u.push(B.hide(typeof d=="object"?d:void 0))}),t(u)},[n.offset,n.shift,n.flip,n.arrow,n.autoPlacement,n.hide,n.middleware])}function Vt(t,o,r){a.useEffect(()=>{if(t&&Z.isClient&&typeof ResizeObserver<"u"&&o.current&&o.current instanceof Element){const n=new ResizeObserver(([u])=>{const d=u.borderBoxSize.reduce((c,{inlineSize:b})=>c+b,0);r(d)});return n.observe(o.current),()=>{n.disconnect(),r(null)}}},[])}const Ht=["origin-bottom","origin-top","origin-right","origin-left","origin-bottom-left","origin-bottom-right","origin-top-left","origin-top-right"],Qe=t=>{switch(t){case"top":return"origin-bottom";case"bottom":return"origin-top";case"left":return"origin-right";case"right":return"origin-left";case"top-start":case"right-end":return"origin-bottom-left";case"top-end":case"left-end":return"origin-bottom-right";case"right-start":case"bottom-start":return"origin-top-left";case"left-start":case"bottom-end":return"origin-top-right";default:return"origin-center"}},Bt=["origin-bottom","origin-top","ltr:origin-right rtl:origin-left","ltr:origin-left rtl:origin-right","ltr:origin-bottom-left rtl:origin-bottom-right","ltr:origin-bottom-right rtl:origin-bottom-left","ltr:origin-top-left rtl:origin-top-right","ltr:origin-top-right rtl:origin-top-left"],qt=t=>{switch(t){case"top":return"origin-bottom";case"bottom":return"origin-top";case"left":return"ltr:origin-right rtl:origin-left";case"right":return"ltr:origin-left rtl:origin-right";case"top-start":case"right-end":return"ltr:origin-bottom-left rtl:origin-bottom-right";case"top-end":case"left-end":return"ltr:origin-bottom-right rtl:origin-bottom-left";case"right-start":case"bottom-start":return"ltr:origin-top-left rtl:origin-top-right";case"left-start":case"bottom-end":return"ltr:origin-top-right rtl:origin-top-left";default:return"origin-center"}};function zt(t,o){return a.useMemo(()=>typeof t.originClass=="function"?t.originClass(o):typeof t.originClass=="string"?t.originClass:t.tailwindcssOriginClass?Qe(o):"",[o,t.originClass,t.tailwindcssOriginClass])}function et(t,o,...r){if(t in o){const u=o[t];return typeof u=="function"?u(...r):u}const n=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(o).map(u=>`"${u}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,et),n}function tt(t){return Z.isServer?null:t instanceof Node?t.ownerDocument:t&&Object.prototype.hasOwnProperty.call(t,"current")&&t.current instanceof Node?t.current.ownerDocument:document}const Ge=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(process.env.NODE_ENV==="test"?t=>`${t}:not([tabindex='-1']):not([style*='display: none'])`:t=>`${t}:not([tabindex='-1'])`).join(",");var rt=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(rt||{});function Xt(t,o=0){var r;return t===((r=tt(t))==null?void 0:r.body)?!1:et(o,{0(){return t.matches(Ge)},1(){let n=t;for(;n!==null;){if(n.matches(Ge))return!0;n=n.parentElement}return!1}})}function Jt(t){const o=a.useRef(t);return Ze(()=>{o.current=t},[t]),o}function I(t,o,r){const n=Jt(o);a.useEffect(()=>{function u(d){n.current(d)}return document.addEventListener(t,u,r),()=>document.removeEventListener(t,u,r)},[t,r])}function nt(t,o,r=!0){const n=a.useRef(!1);a.useEffect(process.env.NODE_ENV==="test"?()=>{n.current=r}:()=>{requestAnimationFrame(()=>{n.current=r})},[r]);function u(c,b){if(!n.current||c.defaultPrevented)return;const m=function g(v){return typeof v=="function"?g(v()):Array.isArray(v)||v instanceof Set?v:[v]}(t),R=b(c);if(R!==null&&R.getRootNode().contains(R)){for(const g of m){if(g===null)continue;const v=g instanceof HTMLElement?g:g.current;if(v!=null&&v.contains(R)||c.composed&&c.composedPath().includes(v))return}return!Xt(R,rt.Loose)&&R.tabIndex!==-1&&c.preventDefault(),o(c,R)}}const d=a.useRef(null);I("mousedown",c=>{var b,m;n.current&&(d.current=((m=(b=c.composedPath)==null?void 0:b.call(c))==null?void 0:m[0])||c.target)},!0),I("click",c=>{d.current&&(u(c,()=>d.current),d.current=null)},!0),I("blur",c=>u(c,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}const ue=new Map,Te=a.createContext(null);Te.displayName="ReferenceContext";const Pe=a.createContext(null);Pe.displayName="FloatingContext";const Q=a.createContext(null);Q.displayName="ArrowContext";function it(t){const o=a.useContext(Te);if(o===null){const r=new Error(`<${t} /> is missing a parent <Float /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,it),r}return o}function ot(t){const o=a.useContext(Pe);if(o===null){const r=new Error(`<${t} /> is missing a parent <Float /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ot),r}return o}function at(t){const o=a.useContext(Q);if(o===null){const r=new Error(`<${t} /> is missing a parent <Float /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,at),r}return o}function Oe(t,o,r,n){const{referenceRef:u}=n,d=o;if(d.as===a.Fragment)return E.jsx(t.type,{...t.props,...r,ref:u});const c=d.as||"div";return E.jsx(c,{...r,ref:u,children:E.jsx(t.type,{...t.props})})}function ce(t,o,r,n){const{floatingRef:u,props:d,mounted:c,setShow:b,referenceHidden:m,escaped:R,placement:g,floatingStyles:v,referenceElWidth:p}=n,f={...d,...o},O=zt(f,g),C={show:c.current?f.show:!1,enter:`${f.enter||""} ${O}`,enterFrom:`${f.enterFrom||""}`,enterTo:`${f.enterTo||""}`,leave:`${f.leave||""} ${O}`,leaveFrom:`${f.leaveFrom||""}`,leaveTo:`${f.leaveTo||""}`,beforeEnter:()=>{b(!0)},afterLeave:()=>{b(!1)}},M={className:[m?f.referenceHiddenClass:void 0,R?f.escapedClass:void 0].filter(T=>!!T).join(" "),style:{...v,zIndex:f.zIndex||9999,width:f.adaptiveWidth&&typeof p=="number"?`${p}px`:void 0}};function A(T){return f.portal?c.current?E.jsx(_e.Portal,{children:T}):E.jsx(a.Fragment,{}):T}function _(T){const k={...M,...r,ref:u};if(T.type===a.Fragment)return E.jsx(a.Fragment,{});if(f.as===a.Fragment)return E.jsx(T.type,{...T.props,...k});const W=f.as||"div";return E.jsx(W,{...k,children:E.jsx(T.type,{...T.props})})}function Y(){return c.current?f.transitionChild?E.jsx(_e.Transition.Child,{as:a.Fragment,...C,children:E.jsx(t.type,{...t.props})}):E.jsx(_e.Transition,{as:a.Fragment,...C,children:E.jsx(t.type,{...t.props})}):E.jsx(a.Fragment,{})}return A(_(Y()))}function st([t,o],r){var z,X;const n=Lt(),u=a.useRef(!1),[d,c]=a.useState(),[b,m]=a.useState(void 0),[R,g]=a.useState(void 0),v=a.useRef(null),p=a.useMemo(()=>({show:r.onShow||(()=>{}),hide:r.onHide||(()=>{}),update:r.onUpdate||(()=>{})}),[r.onShow,r.onHide,r.onUpdate]),{placement:f,update:O,refs:C,floatingStyles:M,isPositioned:A,middlewareData:_}=Ke.useFloating({placement:r.placement||"bottom-start",strategy:r.strategy,middleware:d,transform:r.dialog?!1:r.transform??!1}),[Y,T]=a.useState(null);a.useEffect(()=>{u.current=!0},[]),a.useEffect(()=>{t&&!ue.get(n)?(ue.set(n,!0),p.show()):!t&&ue.get(n)&&(ue.delete(n),p.hide())},[t]);const k=a.useCallback(()=>{O(),p.update()},[O,p]);a.useEffect(k,[r.placement,r.strategy,d]),Ut(c,C,v,r),a.useEffect(()=>{var L,F;(r.hide===!0||typeof r.hide=="object"||Array.isArray(r.hide))&&(m(((L=_.hide)==null?void 0:L.referenceHidden)||!A),g((F=_.hide)==null?void 0:F.escaped))},[_,r.hide,A]),Vt(r.adaptiveWidth,C.reference,T),a.useEffect(()=>{if(C.reference.current&&C.floating.current&&t)return r.autoUpdate!==!1?B.autoUpdate(C.reference.current,C.floating.current,k,typeof r.autoUpdate=="object"?r.autoUpdate:void 0):()=>{}},[t,k,C]);const W=a.useRef(!0);a.useEffect(()=>{!(C.reference.current instanceof Element)&&C.reference.current&&C.floating.current&&W.current&&(W.current=!1,k(),window.requestAnimationFrame(()=>{W.current=!0,k()}))},[C]);const ee={referenceRef:C.setReference,placement:f},te={floatingRef:C.setFloating,props:r,mounted:u,setShow:o,referenceHidden:b,escaped:R,placement:f,floatingStyles:M,referenceElWidth:Y},q={arrowRef:v,placement:f,x:(z=_.arrow)==null?void 0:z.x,y:(X=_.arrow)==null?void 0:X.y};return{referenceApi:ee,floatingApi:te,arrowApi:q,placement:f,update:k,refs:C,middlewareData:_}}const ut=a.forwardRef((t,o)=>{const[r,n]=a.useState(t.show??!1),{referenceApi:u,floatingApi:d,arrowApi:c,placement:b}=st([r,n],t),m={placement:b},[R,g]=typeof t.children=="function"?t.children(m):t.children;if(!a.isValidElement(R))return console.warn("<Float /> is missing a reference and floating element."),E.jsx(a.Fragment,{});function v(O){if(t.as===a.Fragment||!t.as)return E.jsx(a.Fragment,{children:O});const C=t.as;return E.jsx(C,{ref:o,className:t.className,children:O})}if(t.composable||t.dialog)return v(E.jsx(Te.Provider,{value:u,children:E.jsx(Pe.Provider,{value:d,children:E.jsx(Q.Provider,{value:c,children:typeof t.children=="function"?t.children(m):t.children})})},"FloatingNode"));const p=Oe(R,{as:a.Fragment},{key:"reference-node"},u),f=ce(g,{as:t.floatingAs||"div"},{},d);return v([p,E.jsx(Q.Provider,{value:c,children:f},"floating-node")])});ut.displayName="Float";function Gt(t){if(!t.children)return E.jsx(a.Fragment,{});const o=a.useMemo(()=>{const{as:d,children:c,...b}=t;return b},[t]),r=it("Float.Reference"),{placement:n}=r,u={placement:n};return Oe(typeof t.children=="function"?t.children(u):t.children,{...t,as:t.as||a.Fragment},o,r)}function Kt(t){if(!t.children)return E.jsx(a.Fragment,{});const o=a.useMemo(()=>{const{as:d,enter:c,enterFrom:b,enterTo:m,leave:R,leaveFrom:g,leaveTo:v,originClass:p,tailwindcssOriginClass:f,transitionChild:O,children:C,...M}=t;return M},[t]),r=ot("Float.Content"),{placement:n}=r,u={placement:n};return ce(typeof t.children=="function"?t.children(u):t.children,{...t,as:t.as||"div"},o,r)}function Zt(t){const{arrowRef:o,placement:r,x:n,y:u}=at("Float.Arrow"),d=a.useMemo(()=>{const{as:R,offset:g,children:v,...p}=t;return p},[t]),c={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]],b={left:o.current&&typeof n=="number"?`${Je(o.current,n)}px`:void 0,top:o.current&&typeof u=="number"?`${Je(o.current,u)}px`:void 0,right:void 0,bottom:void 0,[c]:`${(t.offset??4)*-1}px`,...d.style};if(t.as===a.Fragment){const R={placement:r},g=typeof t.children=="function"?t.children(R):t.children;return!g||!a.isValidElement(g)?E.jsx(a.Fragment,{}):E.jsx(g.type,{...g.props,ref:o,style:b})}const m=t.as||"div";return E.jsx(m,{ref:o,...d,style:b,children:t.children})}function Fe({onInitial:t,children:o,...r}){const[n,u]=a.useState(r.show??!1),d=a.useMemo(()=>{const{as:f,show:O,placement:C,strategy:M,offset:A,shift:_,flip:Y,arrow:T,autoPlacement:k,autoUpdate:W,zIndex:ee,enter:te,enterFrom:q,enterTo:z,leave:X,leaveFrom:L,leaveTo:F,originClass:N,tailwindcssOriginClass:U,portal:le,transform:fe,middleware:de,onShow:ge,onHide:me,onUpdate:ve,...re}=r;return re},[r]),{floatingApi:c,arrowApi:b,placement:m,refs:R}=st([n,u],r);a.useEffect(()=>{u(r.show??!1)},[r.show]);function g(){n&&u(!1)}if(t({show:n,setShow:u,placement:m,refs:R}),!o)return E.jsx(a.Fragment,{});const p=ce(typeof o=="function"?o({placement:m,close:g}):o,{...r,as:r.as||a.Fragment,show:n},d,c);return E.jsx(Q.Provider,{value:b,children:p})}function Qt(t){const[o,r]=a.useState(!1);function n({setShow:u,refs:d}){I("contextmenu",c=>{c.preventDefault(),d.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x:c.clientX,y:c.clientY,top:c.clientY,left:c.clientX,right:c.clientX,bottom:c.clientY}}}),u(!0)}),nt(d.floating,()=>{u(!1)})}return a.useEffect(()=>(r(!0),()=>{r(!1)}),[]),o?E.jsx(Fe,{flip:!0,...t,show:!1,portal:!0,onInitial:n}):E.jsx(a.Fragment,{})}function er({globalHideCursor:t,...o}){const[r,n]=a.useState(!1);function u({setShow:d,refs:c}){function b(){d(!0)}function m(){d(!1)}function R(f){c.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x:f.clientX,y:f.clientY,top:f.clientY,left:f.clientX,right:f.clientX,bottom:f.clientY}}})}function g(f){b(),R(f)}function v(f){b(),R(f.touches[0])}const p=tt(c.floating);p&&(a.useEffect(()=>{if((t||t===void 0)&&!p.getElementById("headlesui-float-cursor-style")){const f=p.createElement("style");return(p.head||p.getElementsByTagName("head")[0]).appendChild(f),f.id="headlesui-float-cursor-style",f.appendChild(p.createTextNode(["*, *::before, *::after {"," cursor: none !important;","}",".headlesui-float-cursor-root {"," pointer-events: none !important;","}"].join(`
Check the top-level render call using <`+s+">.")}return i}}function Ve(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var s=jt(i);if(Ue[s])return;Ue[s]=!0;var l="";e&&e._owner&&e._owner!==Re.current&&(l=" It was passed a child from "+F(e._owner.type)+"."),V(e),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,l),V(null)}}function He(e,i){{if(typeof e!="object")return;if(Ee(e))for(var s=0;s<e.length;s++){var l=e[s];xe(l)&&Ve(l,i)}else if(xe(e))e._store&&(e._store.validated=!0);else if(e){var w=M(e);if(typeof w=="function"&&w!==e.entries)for(var x=w.call(e),y;!(y=x.next()).done;)xe(y.value)&&Ve(y.value,i)}}}function Tt(e){{var i=e.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===m||i.$$typeof===v))s=i.propTypes;else return;if(s){var l=F(i);mt(s,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!pe){pe=!0;var w=F(i);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pt(e){{for(var i=Object.keys(e.props),s=0;s<i.length;s++){var l=i[s];if(l!=="children"&&l!=="key"){V(e),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),V(null);break}}e.ref!==null&&(V(e),_("Invalid attribute `ref` supplied to `React.Fragment`."),V(null))}}function Be(e,i,s,l,w,x){{var y=z(e);if(!y){var h="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var P=St(w);P?h+=P:h+=Ne();var S;e===null?S="null":Ee(e)?S="array":e!==void 0&&e.$$typeof===o?(S="<"+(F(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,h)}var j=_t(e,i,s,w,x);if(j==null)return j;if(y){var D=i.children;if(D!==void 0)if(l)if(Ee(D)){for(var H=0;H<D.length;H++)He(D[H],e);Object.freeze&&Object.freeze(D)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else He(D,e)}return e===n?Pt(j):Tt(j),j}}function Ot(e,i,s){return Be(e,i,s,!0)}function Ft(e,i,s){return Be(e,i,s,!1)}var At=Ft,kt=Ot;K.Fragment=n,K.jsx=At,K.jsxs=kt}()),K}process.env.NODE_ENV==="production"?je.exports=$t():je.exports=Mt();var E=je.exports;function Wt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Je(t,o){const r=Wt(t);return Math.round(o*r)/r}class Yt{constructor(){Ce(this,"current",this.detect());Ce(this,"currentId",0)}set(o){this.current!==o&&(this.currentId=0,this.current=o)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}const Z=new Yt,Ze=(t,o)=>{Z.isServer?a.useEffect(t,o):a.useLayoutEffect(t,o)},Se={serverHandoffComplete:!1};function Lt(){const[t,o]=a.useState(Se.serverHandoffComplete);return a.useEffect(()=>{t!==!0&&o(!0)},[t]),a.useEffect(()=>{Se.serverHandoffComplete===!1&&(Se.serverHandoffComplete=!0)},[]),t}const Nt=a.useId??function(){const o=Lt(),[r,n]=a.useState(o?()=>Z.nextId():null);return Ze(()=>{r===null&&n(Z.nextId())},[r]),r!=null?`${r}`:void 0};function Ut(t,o,r,n){a.useEffect(()=>{const u=[];(typeof n.offset=="number"||typeof n.offset=="object"||typeof n.offset=="function")&&u.push(B.offset(n.offset)),(n.flip===!0||typeof n.flip=="number"||typeof n.flip=="object")&&u.push(B.flip({padding:typeof n.flip=="number"?n.flip:void 0,...typeof n.flip=="object"?n.flip:{}})),(n.shift===!0||typeof n.shift=="number"||typeof n.shift=="object")&&u.push(B.shift({padding:typeof n.shift=="number"?n.shift:void 0,...typeof n.shift=="object"?n.shift:{}})),(n.autoPlacement===!0||typeof n.autoPlacement=="object")&&u.push(B.autoPlacement(typeof n.autoPlacement=="object"?n.autoPlacement:void 0)),u.push(...typeof n.middleware=="function"?n.middleware({referenceEl:o.reference,floatingEl:o.floating}):n.middleware||[]),(n.arrow===!0||typeof n.arrow=="number")&&u.push(Ke.arrow({element:r,padding:n.arrow===!0?0:n.arrow})),(n.hide===!0||typeof n.hide=="object"||Array.isArray(n.hide))&&(Array.isArray(n.hide)?n.hide:[n.hide]).forEach(d=>{u.push(B.hide(typeof d=="object"?d:void 0))}),t(u)},[n.offset,n.shift,n.flip,n.arrow,n.autoPlacement,n.hide,n.middleware])}function Vt(t,o,r){a.useEffect(()=>{if(t&&Z.isClient&&typeof ResizeObserver<"u"&&o.current&&o.current instanceof Element){const n=new ResizeObserver(([u])=>{const d=u.borderBoxSize.reduce((c,{inlineSize:b})=>c+b,0);r(d)});return n.observe(o.current),()=>{n.disconnect(),r(null)}}},[])}const Ht=["origin-bottom","origin-top","origin-right","origin-left","origin-bottom-left","origin-bottom-right","origin-top-left","origin-top-right"],Qe=t=>{switch(t){case"top":return"origin-bottom";case"bottom":return"origin-top";case"left":return"origin-right";case"right":return"origin-left";case"top-start":case"right-end":return"origin-bottom-left";case"top-end":case"left-end":return"origin-bottom-right";case"right-start":case"bottom-start":return"origin-top-left";case"left-start":case"bottom-end":return"origin-top-right";default:return"origin-center"}},Bt=["origin-bottom","origin-top","ltr:origin-right rtl:origin-left","ltr:origin-left rtl:origin-right","ltr:origin-bottom-left rtl:origin-bottom-right","ltr:origin-bottom-right rtl:origin-bottom-left","ltr:origin-top-left rtl:origin-top-right","ltr:origin-top-right rtl:origin-top-left"],qt=t=>{switch(t){case"top":return"origin-bottom";case"bottom":return"origin-top";case"left":return"ltr:origin-right rtl:origin-left";case"right":return"ltr:origin-left rtl:origin-right";case"top-start":case"right-end":return"ltr:origin-bottom-left rtl:origin-bottom-right";case"top-end":case"left-end":return"ltr:origin-bottom-right rtl:origin-bottom-left";case"right-start":case"bottom-start":return"ltr:origin-top-left rtl:origin-top-right";case"left-start":case"bottom-end":return"ltr:origin-top-right rtl:origin-top-left";default:return"origin-center"}};function zt(t,o){return a.useMemo(()=>typeof t.originClass=="function"?t.originClass(o):typeof t.originClass=="string"?t.originClass:t.tailwindcssOriginClass?Qe(o):"",[o,t.originClass,t.tailwindcssOriginClass])}function et(t,o,...r){if(t in o){const u=o[t];return typeof u=="function"?u(...r):u}const n=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(o).map(u=>`"${u}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,et),n}function tt(t){return Z.isServer?null:t instanceof Node?t.ownerDocument:t&&Object.prototype.hasOwnProperty.call(t,"current")&&t.current instanceof Node?t.current.ownerDocument:document}const Ge=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(process.env.NODE_ENV==="test"?t=>`${t}:not([tabindex='-1']):not([style*='display: none'])`:t=>`${t}:not([tabindex='-1'])`).join(",");var rt=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(rt||{});function Xt(t,o=0){var r;return t===((r=tt(t))==null?void 0:r.body)?!1:et(o,{0(){return t.matches(Ge)},1(){let n=t;for(;n!==null;){if(n.matches(Ge))return!0;n=n.parentElement}return!1}})}function Jt(t){const o=a.useRef(t);return Ze(()=>{o.current=t},[t]),o}function I(t,o,r){const n=Jt(o);a.useEffect(()=>{function u(d){n.current(d)}return document.addEventListener(t,u,r),()=>document.removeEventListener(t,u,r)},[t,r])}function nt(t,o,r=!0){const n=a.useRef(!1);a.useEffect(process.env.NODE_ENV==="test"?()=>{n.current=r}:()=>{requestAnimationFrame(()=>{n.current=r})},[r]);function u(c,b){if(!n.current||c.defaultPrevented)return;const m=function g(v){return typeof v=="function"?g(v()):Array.isArray(v)||v instanceof Set?v:[v]}(t),R=b(c);if(R!==null&&R.getRootNode().contains(R)){for(const g of m){if(g===null)continue;const v=g instanceof HTMLElement?g:g.current;if(v!=null&&v.contains(R)||c.composed&&c.composedPath().includes(v))return}return!Xt(R,rt.Loose)&&R.tabIndex!==-1&&c.preventDefault(),o(c,R)}}const d=a.useRef(null);I("mousedown",c=>{var b,m;n.current&&(d.current=((m=(b=c.composedPath)==null?void 0:b.call(c))==null?void 0:m[0])||c.target)},!0),I("click",c=>{d.current&&(u(c,()=>d.current),d.current=null)},!0),I("blur",c=>u(c,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}const ue=new Map,Te=a.createContext(null);Te.displayName="ReferenceContext";const Pe=a.createContext(null);Pe.displayName="FloatingContext";const Q=a.createContext(null);Q.displayName="ArrowContext";function it(t){const o=a.useContext(Te);if(o===null){const r=new Error(`<${t} /> is missing a parent <Float /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,it),r}return o}function ot(t){const o=a.useContext(Pe);if(o===null){const r=new Error(`<${t} /> is missing a parent <Float /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ot),r}return o}function at(t){const o=a.useContext(Q);if(o===null){const r=new Error(`<${t} /> is missing a parent <Float /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,at),r}return o}function Oe(t,o,r,n){const{referenceRef:u}=n,d=o;if(d.as===a.Fragment)return E.jsx(t.type,{...t.props,...r,ref:u});const c=d.as||"div";return E.jsx(c,{...r,ref:u,children:E.jsx(t.type,{...t.props})})}function ce(t,o,r,n){const{floatingRef:u,props:d,mounted:c,setShow:b,referenceHidden:m,escaped:R,placement:g,floatingStyles:v,referenceElWidth:p}=n,f={...d,...o},O=zt(f,g),C={show:c.current?f.show:!1,unmount:t.props.unmount===!1?!1:void 0,enter:`${f.enter||""} ${O}`,enterFrom:`${f.enterFrom||""}`,enterTo:`${f.enterTo||""}`,leave:`${f.leave||""} ${O}`,leaveFrom:`${f.leaveFrom||""}`,leaveTo:`${f.leaveTo||""}`,beforeEnter:()=>{b(!0)},afterLeave:()=>{b(!1)}},M={className:[m?f.referenceHiddenClass:void 0,R?f.escapedClass:void 0].filter(T=>!!T).join(" "),style:{...v,zIndex:f.zIndex||9999,width:f.adaptiveWidth&&typeof p=="number"?`${p}px`:void 0}};function A(T){return f.portal?c.current?E.jsx(_e.Portal,{children:T}):E.jsx(a.Fragment,{}):T}function _(T){const k={...M,...r,ref:u};if(T.type===a.Fragment)return E.jsx(a.Fragment,{});if(f.as===a.Fragment)return E.jsx(T.type,{...T.props,...k});const W=f.as||"div";return E.jsx(W,{...k,children:E.jsx(T.type,{...T.props})})}function L(){return c.current?f.transitionChild?E.jsx(_e.Transition.Child,{as:a.Fragment,...C,children:E.jsx(t.type,{...t.props})}):E.jsx(_e.Transition,{as:a.Fragment,...C,children:E.jsx(t.type,{...t.props})}):E.jsx(a.Fragment,{})}return A(_(L()))}function st([t,o],r){var z,X;const n=Nt(),u=a.useRef(!1),[d,c]=a.useState(),[b,m]=a.useState(void 0),[R,g]=a.useState(void 0),v=a.useRef(null),p=a.useMemo(()=>({show:r.onShow||(()=>{}),hide:r.onHide||(()=>{}),update:r.onUpdate||(()=>{})}),[r.onShow,r.onHide,r.onUpdate]),{placement:f,update:O,refs:C,floatingStyles:M,isPositioned:A,middlewareData:_}=Ke.useFloating({placement:r.placement||"bottom-start",strategy:r.strategy,middleware:d,transform:r.dialog?!1:r.transform??!1}),[L,T]=a.useState(null);a.useEffect(()=>{u.current=!0},[]),a.useEffect(()=>{t&&!ue.get(n)?(ue.set(n,!0),p.show()):!t&&ue.get(n)&&(ue.delete(n),p.hide())},[t]);const k=a.useCallback(()=>{O(),p.update()},[O,p]);a.useEffect(k,[r.placement,r.strategy,d]),Ut(c,C,v,r),a.useEffect(()=>{var N,F;(r.hide===!0||typeof r.hide=="object"||Array.isArray(r.hide))&&(m(((N=_.hide)==null?void 0:N.referenceHidden)||!A),g((F=_.hide)==null?void 0:F.escaped))},[_,r.hide,A]),Vt(r.adaptiveWidth,C.reference,T),a.useEffect(()=>{if(C.reference.current&&C.floating.current&&t)return r.autoUpdate!==!1?B.autoUpdate(C.reference.current,C.floating.current,k,typeof r.autoUpdate=="object"?r.autoUpdate:void 0):()=>{}},[t,k,C]);const W=a.useRef(!0);a.useEffect(()=>{!(C.reference.current instanceof Element)&&C.reference.current&&C.floating.current&&W.current&&(W.current=!1,k(),window.requestAnimationFrame(()=>{W.current=!0,k()}))},[C]);const ee={referenceRef:C.setReference,placement:f},te={floatingRef:C.setFloating,props:r,mounted:u,setShow:o,referenceHidden:b,escaped:R,placement:f,floatingStyles:M,referenceElWidth:L},q={arrowRef:v,placement:f,x:(z=_.arrow)==null?void 0:z.x,y:(X=_.arrow)==null?void 0:X.y};return{referenceApi:ee,floatingApi:te,arrowApi:q,placement:f,update:k,refs:C,middlewareData:_}}const ut=a.forwardRef((t,o)=>{const[r,n]=a.useState(t.show??!1),{referenceApi:u,floatingApi:d,arrowApi:c,placement:b}=st([r,n],t),m={placement:b},[R,g]=typeof t.children=="function"?t.children(m):t.children;if(!a.isValidElement(R))return console.warn("<Float /> is missing a reference and floating element."),E.jsx(a.Fragment,{});function v(O){if(t.as===a.Fragment||!t.as)return E.jsx(a.Fragment,{children:O});const C=t.as;return E.jsx(C,{ref:o,className:t.className,children:O})}if(t.composable||t.dialog)return v(E.jsx(Te.Provider,{value:u,children:E.jsx(Pe.Provider,{value:d,children:E.jsx(Q.Provider,{value:c,children:typeof t.children=="function"?t.children(m):t.children})})},"FloatingNode"));const p=Oe(R,{as:a.Fragment},{key:"reference-node"},u),f=ce(g,{as:t.floatingAs||"div"},{},d);return v([p,E.jsx(Q.Provider,{value:c,children:f},"floating-node")])});ut.displayName="Float";function Gt(t){if(!t.children)return E.jsx(a.Fragment,{});const o=a.useMemo(()=>{const{as:d,children:c,...b}=t;return b},[t]),r=it("Float.Reference"),{placement:n}=r,u={placement:n};return Oe(typeof t.children=="function"?t.children(u):t.children,{...t,as:t.as||a.Fragment},o,r)}function Kt(t){if(!t.children)return E.jsx(a.Fragment,{});const o=a.useMemo(()=>{const{as:d,enter:c,enterFrom:b,enterTo:m,leave:R,leaveFrom:g,leaveTo:v,originClass:p,tailwindcssOriginClass:f,transitionChild:O,children:C,...M}=t;return M},[t]),r=ot("Float.Content"),{placement:n}=r,u={placement:n};return ce(typeof t.children=="function"?t.children(u):t.children,{...t,as:t.as||"div"},o,r)}function Zt(t){const{arrowRef:o,placement:r,x:n,y:u}=at("Float.Arrow"),d=a.useMemo(()=>{const{as:R,offset:g,children:v,...p}=t;return p},[t]),c={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]],b={left:o.current&&typeof n=="number"?`${Je(o.current,n)}px`:void 0,top:o.current&&typeof u=="number"?`${Je(o.current,u)}px`:void 0,right:void 0,bottom:void 0,[c]:`${(t.offset??4)*-1}px`,...d.style};if(t.as===a.Fragment){const R={placement:r},g=typeof t.children=="function"?t.children(R):t.children;return!g||!a.isValidElement(g)?E.jsx(a.Fragment,{}):E.jsx(g.type,{...g.props,ref:o,style:b})}const m=t.as||"div";return E.jsx(m,{ref:o,...d,style:b,children:t.children})}function Fe({onInitial:t,children:o,...r}){const[n,u]=a.useState(r.show??!1),d=a.useMemo(()=>{const{as:f,show:O,placement:C,strategy:M,offset:A,shift:_,flip:L,arrow:T,autoPlacement:k,autoUpdate:W,zIndex:ee,enter:te,enterFrom:q,enterTo:z,leave:X,leaveFrom:N,leaveTo:F,originClass:Y,tailwindcssOriginClass:U,portal:le,transform:fe,middleware:de,onShow:ge,onHide:me,onUpdate:ve,...re}=r;return re},[r]),{floatingApi:c,arrowApi:b,placement:m,refs:R}=st([n,u],r);a.useEffect(()=>{u(r.show??!1)},[r.show]);function g(){n&&u(!1)}if(t({show:n,setShow:u,placement:m,refs:R}),!o)return E.jsx(a.Fragment,{});const p=ce(typeof o=="function"?o({placement:m,close:g}):o,{...r,as:r.as||a.Fragment,show:n},d,c);return E.jsx(Q.Provider,{value:b,children:p})}function Qt(t){const[o,r]=a.useState(!1);function n({setShow:u,refs:d}){I("contextmenu",c=>{c.preventDefault(),d.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x:c.clientX,y:c.clientY,top:c.clientY,left:c.clientX,right:c.clientX,bottom:c.clientY}}}),u(!0)}),nt(d.floating,()=>{u(!1)})}return a.useEffect(()=>(r(!0),()=>{r(!1)}),[]),o?E.jsx(Fe,{flip:!0,...t,show:!1,portal:!0,onInitial:n}):E.jsx(a.Fragment,{})}function er({globalHideCursor:t,...o}){const[r,n]=a.useState(!1);function u({setShow:d,refs:c}){function b(){d(!0)}function m(){d(!1)}function R(f){c.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x:f.clientX,y:f.clientY,top:f.clientY,left:f.clientX,right:f.clientX,bottom:f.clientY}}})}function g(f){b(),R(f)}function v(f){b(),R(f.touches[0])}const p=tt(c.floating);p&&(a.useEffect(()=>{if((t||t===void 0)&&!p.getElementById("headlesui-float-cursor-style")){const f=p.createElement("style");return(p.head||p.getElementsByTagName("head")[0]).appendChild(f),f.id="headlesui-float-cursor-style",f.appendChild(p.createTextNode(["*, *::before, *::after {"," cursor: none !important;","}",".headlesui-float-cursor-root {"," pointer-events: none !important;","}"].join(`
`))),()=>{var C;return(C=p.getElementById("headlesui-float-cursor-style"))==null?void 0:C.remove()}}},[t]),"ontouchstart"in window||navigator.maxTouchPoints>0?(I("touchstart",v),I("touchend",m),I("touchmove",v)):(I("mouseenter",g),I("mouseleave",m),I("mousemove",g)))}return a.useEffect(()=>(n(!0),()=>{n(!1)}),[]),r?E.jsx(Fe,{...o,portal:!0,className:"headlesui-float-cursor-root",onInitial:u}):E.jsx(a.Fragment,{})}const tr=Object.assign(ut,{Reference:Gt,Content:Kt,Arrow:Zt,Virtual:Fe,ContextMenu:Qt,Cursor:er});exports.Float=tr;exports.renderFloatingElement=ce;exports.renderReferenceElement=Oe;exports.tailwindcssOriginClassResolver=Qe;exports.tailwindcssOriginSafelist=Ht;exports.tailwindcssRtlOriginClassResolver=qt;exports.tailwindcssRtlOriginSafelist=Bt;exports.useOutsideClick=nt;

@@ -1,5 +0,5 @@

var Nt = Object.defineProperty;
var Yt = (t, o, r) => o in t ? Nt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r;
var Te = (t, o, r) => (Yt(t, typeof o != "symbol" ? o + "" : o, r), r);
import de, { useEffect as P, useLayoutEffect as Lt, useState as N, useMemo as X, useRef as q, createContext as Oe, Fragment as j, forwardRef as Mt, isValidElement as rt, useCallback as Ut, useContext as Fe } from "react";
var Yt = Object.defineProperty;
var Lt = (t, o, r) => o in t ? Yt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r;
var Te = (t, o, r) => (Lt(t, typeof o != "symbol" ? o + "" : o, r), r);
import de, { useEffect as P, useLayoutEffect as Mt, useState as Y, useMemo as X, useRef as q, createContext as Oe, Fragment as j, forwardRef as Nt, isValidElement as rt, useCallback as Ut, useContext as Fe } from "react";
import { Portal as Vt, Transition as Ke } from "@headlessui/react";

@@ -11,3 +11,3 @@ import { arrow as Ht, useFloating as Bt } from "@floating-ui/react";

* @license React
* react-jsx-runtime.development.js
* react-jsx-runtime.production.min.js
*

@@ -21,5 +21,33 @@ * Copyright (c) Facebook, Inc. and its affiliates.

function Zt() {
return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
if (Ze)
return Q;
Ze = 1;
var t = de, o = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
function s(y, v, w) {
var d, h = {}, p = null, l = null;
w !== void 0 && (p = "" + w), v.key !== void 0 && (p = "" + v.key), v.ref !== void 0 && (l = v.ref);
for (d in v)
n.call(v, d) && !f.hasOwnProperty(d) && (h[d] = v[d]);
if (y && y.defaultProps)
for (d in v = y.defaultProps, v)
h[d] === void 0 && (h[d] = v[d]);
return { $$typeof: o, type: y, key: p, ref: l, props: h, _owner: u.current };
}
return Q.Fragment = r, Q.jsx = s, Q.jsxs = s, Q;
}
var ee = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Qe;
function Qt() {
return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && function() {
var t = de, o = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), y = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), l = Symbol.for("react.offscreen"), F = Symbol.iterator, x = "@@iterator";
function Y(e) {
function L(e) {
if (e === null || typeof e != "object")

@@ -48,6 +76,6 @@ return null;

}
var S = !1, D = !1, L = !1, ne = !1, ie = !1, J;
var S = !1, D = !1, M = !1, ne = !1, ie = !1, J;
J = Symbol.for("react.module.reference");
function G(e) {
return !!(typeof e == "string" || typeof e == "function" || e === n || e === f || ie || e === u || e === w || e === d || ne || e === l || S || D || L || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === h || e.$$typeof === s || e.$$typeof === y || e.$$typeof === v || // This needs to include all possible module reference object
return !!(typeof e == "string" || typeof e == "function" || e === n || e === f || ie || e === u || e === w || e === d || ne || e === l || S || D || M || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === h || e.$$typeof === s || e.$$typeof === y || e.$$typeof === v || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since

@@ -113,3 +141,3 @@ // we don't know which Flight build this will end up being used

}
var M = Object.assign, H = 0, ve, he, me, ge, ye, be, oe;
var N = Object.assign, H = 0, ve, he, me, ge, ye, be, oe;
function $e() {

@@ -150,21 +178,21 @@ }

Object.defineProperties(console, {
log: M({}, e, {
log: N({}, e, {
value: ve
}),
info: M({}, e, {
info: N({}, e, {
value: he
}),
warn: M({}, e, {
warn: N({}, e, {
value: me
}),
error: M({}, e, {
error: N({}, e, {
value: ge
}),
group: M({}, e, {
group: N({}, e, {
value: ye
}),
groupCollapsed: M({}, e, {
groupCollapsed: N({}, e, {
value: be
}),
groupEnd: M({}, e, {
groupEnd: N({}, e, {
value: oe

@@ -303,9 +331,9 @@ })

}
var ce = Object.prototype.hasOwnProperty, Ne = {}, Ye = k.ReactDebugCurrentFrame;
var ce = Object.prototype.hasOwnProperty, Ye = {}, Le = k.ReactDebugCurrentFrame;
function le(e) {
if (e) {
var i = e._owner, a = se(e.type, e._source, i ? i.type : null);
Ye.setExtraStackFrame(a);
Le.setExtraStackFrame(a);
} else
Ye.setExtraStackFrame(null);
Le.setExtraStackFrame(null);
}

@@ -327,3 +355,3 @@ function bt(e, i, a, c, E) {

}
m && !(m instanceof Error) && (le(E), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", a, g, typeof m), le(null)), m instanceof Error && !(m.message in Ne) && (Ne[m.message] = !0, le(E), C("Failed %s type: %s", a, m.message), le(null));
m && !(m instanceof Error) && (le(E), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", a, g, typeof m), le(null)), m instanceof Error && !(m.message in Ye) && (Ye[m.message] = !0, le(E), C("Failed %s type: %s", a, m.message), le(null));
}

@@ -344,3 +372,3 @@ }

try {
return Le(e), !1;
return Me(e), !1;
} catch {

@@ -350,8 +378,8 @@ return !0;

}
function Le(e) {
function Me(e) {
return "" + e;
}
function Me(e) {
function Ne(e) {
if (pt(e))
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(e)), Le(e);
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(e)), Me(e);
}

@@ -441,3 +469,3 @@ var Z = k.ReactCurrentOwner, Rt = {

var R, g = {}, m = null, O = null;
a !== void 0 && (Me(a), m = "" + a), Ct(i) && (Me(i.key), m = "" + i.key), xt(i) && (O = i.ref, _t(i, E));
a !== void 0 && (Ne(a), m = "" + a), Ct(i) && (Ne(i.key), m = "" + i.key), xt(i) && (O = i.ref, _t(i, E));
for (R in i)

@@ -531,3 +559,3 @@ ce.call(i, R) && !Rt.hasOwnProperty(R) && (g[R] = i[R]);

else if (e) {
var E = Y(e);
var E = L(e);
if (typeof E == "function" && E !== e.entries)

@@ -613,34 +641,6 @@ for (var R = E.call(e), g; !(g = R.next()).done; )

var $t = It, Wt = Dt;
Q.Fragment = n, Q.jsx = $t, Q.jsxs = Wt;
}()), Q;
ee.Fragment = n, ee.jsx = $t, ee.jsxs = Wt;
}()), ee;
}
var ee = {};
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Qe;
function Qt() {
if (Qe)
return ee;
Qe = 1;
var t = de, o = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
function s(y, v, w) {
var d, h = {}, p = null, l = null;
w !== void 0 && (p = "" + w), v.key !== void 0 && (p = "" + v.key), v.ref !== void 0 && (l = v.ref);
for (d in v)
n.call(v, d) && !f.hasOwnProperty(d) && (h[d] = v[d]);
if (y && y.defaultProps)
for (d in v = y.defaultProps, v)
h[d] === void 0 && (h[d] = v[d]);
return { $$typeof: o, type: y, key: p, ref: l, props: h, _owner: u.current };
}
return ee.Fragment = r, ee.jsx = s, ee.jsxs = s, ee;
}
process.env.NODE_ENV === "production" ? Se.exports = Qt() : Se.exports = Zt();
process.env.NODE_ENV === "production" ? Se.exports = Zt() : Se.exports = Qt();
var b = Se.exports;

@@ -679,6 +679,6 @@ function er(t) {

const te = new tr(), nt = (t, o) => {
te.isServer ? P(t, o) : Lt(t, o);
te.isServer ? P(t, o) : Mt(t, o);
}, Pe = { serverHandoffComplete: !1 };
function rr() {
const [t, o] = N(Pe.serverHandoffComplete);
const [t, o] = Y(Pe.serverHandoffComplete);
return P(() => {

@@ -987,2 +987,3 @@ t !== !0 && o(!0);

show: s.current ? l.show : !1,
unmount: t.props.unmount === !1 ? !1 : void 0,
enter: `${l.enter || ""} ${F}`,

@@ -1000,3 +1001,3 @@ enterFrom: `${l.enterFrom || ""}`,

}
}, Y = {
}, L = {
className: [

@@ -1017,3 +1018,3 @@ v ? l.referenceHiddenClass : void 0,

const D = {
...Y,
...L,
...r,

@@ -1032,4 +1033,4 @@ ref: u

);
const L = l.as || "div";
return /* @__PURE__ */ b.jsx(L, { ...D, children: /* @__PURE__ */ b.jsx(S.type, { ...S.props }) });
const M = l.as || "div";
return /* @__PURE__ */ b.jsx(M, { ...D, children: /* @__PURE__ */ b.jsx(S.type, { ...S.props }) });
}

@@ -1047,3 +1048,3 @@ function U() {

var G, K;
const n = nr(), u = q(!1), [f, s] = N(), [y, v] = N(void 0), [w, d] = N(void 0), h = q(null), p = X(() => ({
const n = nr(), u = q(!1), [f, s] = Y(), [y, v] = Y(void 0), [w, d] = Y(void 0), h = q(null), p = X(() => ({
show: r.onShow || (() => {

@@ -1055,3 +1056,3 @@ }),

})
}), [r.onShow, r.onHide, r.onUpdate]), { placement: l, update: F, refs: x, floatingStyles: Y, isPositioned: k, middlewareData: C } = Bt({
}), [r.onShow, r.onHide, r.onUpdate]), { placement: l, update: F, refs: x, floatingStyles: L, isPositioned: k, middlewareData: C } = Bt({
placement: r.placement || "bottom-start",

@@ -1062,3 +1063,3 @@ strategy: r.strategy,

// If enable dialog mode, then set `transform` to false.
}), [U, S] = N(null);
}), [U, S] = Y(null);
P(() => {

@@ -1085,6 +1086,6 @@ u.current = !0;

}, [t, D, x]);
const L = q(!0);
const M = q(!0);
P(() => {
!(x.reference.current instanceof Element) && x.reference.current && x.floating.current && L.current && (L.current = !1, D(), window.requestAnimationFrame(() => {
L.current = !0, D();
!(x.reference.current instanceof Element) && x.reference.current && x.floating.current && M.current && (M.current = !1, D(), window.requestAnimationFrame(() => {
M.current = !0, D();
}));

@@ -1103,3 +1104,3 @@ }, [x]);

placement: l,
floatingStyles: Y,
floatingStyles: L,
referenceElWidth: U

@@ -1114,4 +1115,4 @@ }, J = {

}
const dt = Mt((t, o) => {
const [r, n] = N(t.show ?? !1), {
const dt = Nt((t, o) => {
const [r, n] = Y(t.show ?? !1), {
referenceApi: u,

@@ -1169,4 +1170,4 @@ floatingApi: f,

const o = X(() => {
const { as: f, enter: s, enterFrom: y, enterTo: v, leave: w, leaveFrom: d, leaveTo: h, originClass: p, tailwindcssOriginClass: l, transitionChild: F, children: x, ...Y } = t;
return Y;
const { as: f, enter: s, enterFrom: y, enterTo: v, leave: w, leaveFrom: d, leaveTo: h, originClass: p, tailwindcssOriginClass: l, transitionChild: F, children: x, ...L } = t;
return L;
}, [t]), r = st("Float.Content"), { placement: n } = r, u = { placement: n };

@@ -1220,4 +1221,4 @@ return De(

function Ie({ onInitial: t, children: o, ...r }) {
const [n, u] = N(r.show ?? !1), f = X(() => {
const { as: l, show: F, placement: x, strategy: Y, offset: k, shift: C, flip: U, arrow: S, autoPlacement: D, autoUpdate: L, zIndex: ne, enter: ie, enterFrom: J, enterTo: G, leave: K, leaveFrom: V, leaveTo: A, originClass: M, tailwindcssOriginClass: H, portal: ve, transform: he, middleware: me, onShow: ge, onHide: ye, onUpdate: be, ...oe } = r;
const [n, u] = Y(r.show ?? !1), f = X(() => {
const { as: l, show: F, placement: x, strategy: L, offset: k, shift: C, flip: U, arrow: S, autoPlacement: D, autoUpdate: M, zIndex: ne, enter: ie, enterFrom: J, enterTo: G, leave: K, leaveFrom: V, leaveTo: A, originClass: N, tailwindcssOriginClass: H, portal: ve, transform: he, middleware: me, onShow: ge, onHide: ye, onUpdate: be, ...oe } = r;
return oe;

@@ -1251,3 +1252,3 @@ }, [r]), {

function hr(t) {
const [o, r] = N(!1);
const [o, r] = Y(!1);
function n({ setShow: u, refs: f }) {

@@ -1287,3 +1288,3 @@ $("contextmenu", (s) => {

function mr({ globalHideCursor: t, ...o }) {
const [r, n] = N(!1);
const [r, n] = Y(!1);
function u({ setShow: f, refs: s }) {

@@ -1290,0 +1291,0 @@ function y() {

{
"name": "@headlessui-float/react",
"type": "module",
"version": "0.13.2",
"version": "0.13.3",
"description": "Easily use Headless UI for React with Floating UI (Popper.js)",

@@ -73,5 +73,5 @@ "license": "MIT",

"typescript": "~5.3.0",
"vite": "^5.0.12",
"vite": "^5.0.13",
"vitest": "^1.2.0"
}
}