PageSourceSearch

https://multiversecomputing.com/_next/static/immutable/chunks/3ok9ni1jk4oza.js

js multiversecomputing.com collected 2026-09-24 15:21:39 UTC 68,791 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,461578,e=>{"use strict";var t=e.i(422957),n=e.i(699672),r=e.i(712558),o="u">typeof document?n.useLayoutEffect:function(){};function l(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!l(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!l(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function i(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=i(e);return Math.round(t*n)/n}function a(e){let t=n.useRef(e);return o(()=>{t.current=e}),t}e.s(["arrow",0,(e,n)=>({...{name:"arrow",options:e,fn(n){let{element:r,padding:o}="function"==typeof e?e(n):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,t.arrow)({element:r.current,padding:o}).fn(n):{}:r?(0,t.arrow)({element:r,padding:o}).fn(n):{}}},options:[e,n]}),"flip",0,(e,n)=>({...(0,t.flip)(e),options:[e,n]}),"offset",0,(e,n)=>({...(0,t.offset)(e),options:[e,n]}),"shift",0,(e,n)=>({...(0,t.shift)(e),options:[e,n]}),"size",0,(e,n)=>({...(0,t.size)(e),options:[e,n]}),"useFloating",0,function(e){void 0===e&&(e={});let{placement:s="bottom",strategy:c="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:m}={},transform:h=!0,whileElementsMounted:v,open:g}=e,[b,y]=n.useState({x:0,y:0,strategy:c,placement:s,middlewareData:{},isPositioned:!1}),[E,w]=n.useState(d);l(E,d)||w(d);let[S,T]=n.useState(null),[C,x]=n.useState(null),P=n.useCallback(e=>{e!==O.current&&(O.current=e,T(e))},[]),k=n.useCallback(e=>{e!==A.current&&(A.current=e,x(e))},[]),F=p||S,L=m||C,O=n.useRef(null),A=n.useRef(null),R=n.useRef(b),M=null!=v,N=a(v),I=a(f),H=a(g),j=n.useCallback(()=>{if(!O.current||!A.current)return;let e={placement:s,strategy:c,middleware:E};I.current&&(e.platform=I.current),(0,t.computePosition)(O.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==H.current};D.current&&!l(R.current,t)&&(R.current=t,r.flushSync(()=>{y(t)}))})},[E,s,c,I,H]);o(()=>{!1===g&&R.current.isPositioned&&(R.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let D=n.useRef(!1);o(()=>(D.current=!0,()=>{D.current=!1}),[]),o(()=>{if(F&&(O.current=F),L&&(A.current=L),F&&L){if(N.current)return N.current(F,L,j);j()}},[F,L,j,N,M]);let W=n.useMemo(()=>({reference:O,floating:A,setReference:P,setFloating:k}),[P,k]),B=n.useMemo(()=>({reference:F,floating:L}),[F,L]),V=n.useMemo(()=>{let e={position:c,left:0,top:0};if(!B.floating)return e;let t=u(B.floating,b.x),n=u(B.floating,b.y);return h?{...e,transform:"translate("+t+"px, "+n+"px)",...i(B.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:t,top:n}},[c,h,B.floating,b.x,b.y]);return n.useMemo(()=>({...b,update:j,refs:W,elements:B,floatingStyles:V}),[b,j,W,B,V])}])},614563,813437,102072,835143,522613,943563,157644,477616,187143,787787,499308,94918,285577,828288,551936,153916,709230,703621,387629,270401,651756,650027,136883,322504,505094,587704,840856,956593,99079,983611,913973,172611,435962,111143,887607,201114,164398,858657,632666,8608,805548,160847,76224,919100,305296,150332,163273,562827,914123,e=>{"use strict";let t,n,r,o,l,i,u,a,s,c,d,f,p,m,h,v,g,b;var y,E,w,S,T,C,x,P=e.i(318483);let k=e=>e?.ownerDocument??document,F=e=>e&&"window"in e&&e.window===e?e:k(e).defaultView||window;function L(e,t){return!!t&&!!e&&e.contains(t)}function O(e){return e.target}let A=null;"u">typeof Element&&Element.prototype;let R=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"];
1R.join(":not([hidden]),"),R.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),R.join(':not([hidden]):not([tabindex="-1"]),');var M=e.i(699672);let N="u">typeof document?M.default.useLayoutEffect:()=>{};function I(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function H(e){let t=(0,M.useRef)({isFocused:!1,observer:null});return N(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,M.useCallback)(n=>{let r=O(n);(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&(t.current.isFocused=!0,r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=I(n);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){t.current.observer?.disconnect();let e=r===((e=document)=>e.activeElement)()?null:((e=document)=>e.activeElement)();r.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]}))},[e])}function j(e){if("u"<typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function D(e){return"u">typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function W(e){let t=null;return()=>(null==t&&(t=e()),t)}let B=W(function(){return D(/^Mac/i)}),V=W(function(){return D(/^iPhone/i)}),$=W(function(){return D(/^iPad/i)||B()&&navigator.maxTouchPoints>1}),K=W(function(){return V()||$()});W(function(){return B()||K()});
1let U=W(function(){return j(/AppleWebKit/i)&&!_()}),_=W(function(){return j(/Chrome/i)}),q=W(function(){return j(/Android/i)}),G=W(function(){return j(/Firefox/i)});function z(e,t,n=!0){let{metaKey:r,ctrlKey:o,altKey:l,shiftKey:i}=t;G()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&(B()?r=!0:o=!0);let u=U()&&B()&&!$()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:l,shiftKey:i}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:l,shiftKey:i,detail:1,bubbles:!0,cancelable:!0});z.isOpening=n;if(function(){if(null==A){A=!1;try{document.createElement("div").focus({get preventScroll(){return A=!0,!0}})}catch{}}return A}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}e.dispatchEvent(u),z.isOpening=!1}z.isOpening=!1;let Y={prefix:String(Math.round(1e10*Math.random())),current:0};M.default.createContext(Y),M.default.createContext(!1),"u">typeof window&&window.document&&window.document.createElement,new WeakMap;M.default.useId;let X=null,J=new Set,Q=new Map,Z=!1,ee=!1,et={Tab:!0,Escape:!0};function en(e,t){for(let n of J)n(e,t)}function er(e){Z=!0,z.isOpening||e.metaKey||!B()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(X="keyboard",en("keyboard",e))}function eo(e){X="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(Z=!0,en("pointer",e))}function el(e){z.isOpening||(""!==e.pointerType||!e.isTrusted)&&(q()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(Z=!0,X="virtual")}function ei(e){let t=F(O(e)),n=k(O(e));O(e)!==t&&O(e)!==n&&e.isTrusted&&(Z||ee||(X="virtual",en("virtual",e)),Z=!1,ee=!1)}function eu(){Z=!1,ee=!0}function ea(e){if("u"<typeof window||"u"<typeof document)return;let t=F(e),n=k(e);if(Q.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Z=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",er,!0),n.addEventListener("keyup",er,!0),n.addEventListener("click",el,!0),t.addEventListener("focus",ei,!0),t.addEventListener("blur",eu,!1),"u">typeof PointerEvent&&(n.addEventListener("pointerdown",eo,!0),n.addEventListener("pointermove",eo,!0),n.addEventListener("pointerup",eo,!0)),t.addEventListener("beforeunload",()=>{es(e)},{once:!0}),Q.set(t,{focus:r})}let es=(e,t)=>{let n=F(e),r=k(e);t&&r.removeEventListener("DOMContentLoaded",t),Q.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Q.get(n).focus}),r.removeEventListener("keydown",er,!0),r.removeEventListener("keyup",er,!0),r.removeEventListener("click",el,!0),n.removeEventListener("focus",ei,!0),n.removeEventListener("blur",eu,!1),"u">typeof PointerEvent&&(r.removeEventListener("pointerdown",eo,!0),r.removeEventListener("pointermove",eo,!0),r.removeEventListener("pointerup",eo,!0)),Q.delete(n))};function ec(){return"pointer"!==X}"u">typeof document&&("loading"!==(t=k(void 0)).readyState?ea(void 0):t.addEventListener("DOMContentLoaded",()=>{ea(void 0)}));let ed=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ef(){let e=(0,M.useRef)(new Map),t=(0,M.useCallback)((t,n,r,o)=>{let l=o?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:l,options:o}),t.addEventListener(n,l,o)},[]),n=(0,M.useCallback)((t,n,r,o)=>{let l=e.current.get(r)?.fn||r;t.removeEventListener(n,l,o),e.current.delete(r)},[]),r=(0,M.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,M.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}e.s(["useFocusRing",0,function(e={}){var t;let{autoFocus:n=!1,isTextInput:r,within:o}=e,l=(0,M.useRef)({isFocused:!1,isFocusVisible:n||ec()}),[i,u]=(0,M.useState)(!1),[a,s]=(0,M.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),c=(0,M.useCallback)(()=>s(l.current.isFocused&&l.current.isFocusVisible),[]),d=(0,M.useCallback)(e=>{l.current.isFocused=e,l.current.isFocusVisible=ec(),u(e),c()},[c]);t={enabled:i,isTextInput:r},ea(),(0,M.useEffect)(()=>
1{if(t?.enabled===!1)return;let e=(e,n)=>{var r;let o,i,u,a,s,d,f,p;r=!!t?.isTextInput,i=k(o=n?O(n):void 0),a=void 0!==(u=F(o))?u.HTMLInputElement:HTMLInputElement,s=void 0!==u?u.HTMLTextAreaElement:HTMLTextAreaElement,d=void 0!==u?u.HTMLElement:HTMLElement,f=void 0!==u?u.KeyboardEvent:KeyboardEvent,p=((e=document)=>e.activeElement)(i),(r=r||p instanceof a&&!ed.has(p.type)||p instanceof s||p instanceof d&&p.isContentEditable)&&"keyboard"===e&&n instanceof f&&!et[n.key]||(e=>{l.current.isFocusVisible=e,c()})(ec())};return J.add(e),()=>{J.delete(e)}},[r,i]);let{focusProps:f}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,l=(0,M.useCallback)(e=>{if(O(e)===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),i=H(l),u=(0,M.useCallback)(e=>{let t=O(e),r=k(t),l=r?((e=document)=>e.activeElement)(r):((e=document)=>e.activeElement)();t===e.currentTarget&&t===l&&(n&&n(e),o&&o(!0),i(e))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?u:void 0,onBlur:!t&&(r||o)?l:void 0}}}({isDisabled:o,onFocusChange:d}),{focusWithinProps:p}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,l=(0,M.useRef)({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:u}=ef(),a=(0,M.useCallback)(e=>{L(e.currentTarget,O(e))&&l.current.isFocusWithin&&!L(e.currentTarget,e.relatedTarget)&&(l.current.isFocusWithin=!1,u(),n&&n(e),o&&o(!1))},[n,o,l,u]),s=H(a),c=(0,M.useCallback)(e=>{if(!L(e.currentTarget,O(e)))return;let t=O(e),n=k(t),u=((e=document)=>e.activeElement)(n);if(!l.current.isFocusWithin&&u===t){r&&r(e),o&&o(!0),l.current.isFocusWithin=!0,s(e);let t=e.currentTarget;i(n,"focus",e=>{let r=O(e);if(l.current.isFocusWithin&&!L(t,r)){let e=new n.defaultView.FocusEvent("blur",{relatedTarget:r});Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t}),a(I(e))}},{capture:!0})}},[r,o,s,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:a}}}({isDisabled:!o,onFocusWithinChange:d});return{isFocused:i,isFocusVisible:a,focusProps:o?p:f}}],614563);let ep=!1,em=0;function eh(e){"touch"===e.pointerType&&(ep=!0,setTimeout(()=>{ep=!1},500))}function ev(){let e=k(null);if(void 0!==e)return 0===em&&"u">typeof PointerEvent&&e.addEventListener("pointerup",eh),em++,()=>{!(--em>0)&&"u">typeof PointerEvent&&e.removeEventListener("pointerup",eh)}}e.s(["useHover",0,function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[l,i]=(0,M.useState)(!1),u=(0,M.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,M.useEffect)(ev,[]);let{addGlobalListener:a,removeAllGlobalListeners:s}=ef(),{hoverProps:c,triggerHoverEnd:d}=(0,M.useMemo)(()=>{let e=(e,t)=>{let o=u.target;u.pointerType="",u.target=null,"touch"!==t&&u.isHovered&&o&&(u.isHovered=!1,s(),r&&r({type:"hoverend",target:o,pointerType:t}),n&&n(!1),i(!1))},l={};return"u">typeof PointerEvent&&(l.onPointerEnter=r=>{ep&&"mouse"===r.pointerType||((r,l)=>{if(u.pointerType=l,o||"touch"===l||u.isHovered||!L(r.currentTarget,O(r)))return;u.isHovered=!0;let s=r.currentTarget;u.target=s,a(k(O(r)),"pointerover",t=>{u.isHovered&&u.target&&!L(u.target,O(t))&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:l}),n&&n(!0),i(!0)})(r,r.pointerType)},l.onPointerLeave=t=>{!o&&L(t.currentTarget,O(t))&&e(t,t.pointerType)}),{hoverProps:l,triggerHoverEnd:e}},[t,n,r,o,u,a,s]);return(0,M.useEffect)(()=>{o&&d({currentTarget:u.target},u.pointerType)},[o]),{hoverProps:c,isHovered:l}}],813437);var eg=Object.defineProperty,eb=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?eg(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};let ey=new class{constructor(){eb(this,"current",this.detect()),eb(this,"handoffState","pending"),eb(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}
1detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function eE(e){var t;return ey.isServer?null:null==e?document:null!=(t=null==e?void 0:e.ownerDocument)?t:document}function ew(e){var t,n;return ey.isServer?null:null==e?document:null!=(n=null==(t=null==e?void 0:e.getRootNode)?void 0:t.call(e))?n:document}function eS(e){var t,n;return null!=(n=null==(t=ew(e))?void 0:t.activeElement)?n:null}function eT(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function eC(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add(()=>e.removeEventListener(n,r,o))),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 eT(()=>{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=eC();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 ex(){let[e]=(0,M.useState)(eC);return(0,M.useEffect)(()=>()=>e.dispose(),[e]),e}e.s(["getActiveElement",0,eS,"getOwnerDocument",0,eE,"getRootNode",0,ew,"isActiveElement",0,function(e){return eS(e)===e}],102072),e.s(["disposables",0,eC],835143),e.s(["useDisposables",0,ex],522613);let eP=(e,t)=>{ey.isServer?(0,M.useEffect)(e,t):(0,M.useLayoutEffect)(e,t)};function ek(e){let t=(0,M.useRef)(e);return eP(()=>{t.current=e},[e]),t}e.s(["useIsoMorphicEffect",0,eP],943563),e.s(["useLatestValue",0,ek],157644);let eF=function(e){let t=ek(e);return M.default.useCallback((...e)=>t.current(...e),[t])};function eL(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}e.s(["useEvent",0,eF],477616),e.s(["useActivePress",0,function({disabled:e=!1}={}){let t=(0,M.useRef)(null),[n,r]=(0,M.useState)(!1),o=ex(),l=eF(()=>{t.current=null,r(!1),o.dispose()}),i=eF(e=>{if(o.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=eE(e.currentTarget);o.addEventListener(n,"pointerup",l,!1),o.addEventListener(n,"pointermove",e=>{if(t.current){var n,o;let l,i;r((l=e.width/2,i=e.height/2,n={top:e.clientY-i,right:e.clientX+l,bottom:e.clientY+i,left:e.clientX-l},o=t.current.getBoundingClientRect(),!(!n||!o||n.right<o.left||n.left>o.right||n.bottom<o.top||n.top>o.bottom)))}},!1),o.addEventListener(n,"pointercancel",l,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:i,onPointerUp:l,onClick:l}}}],187143),e.s(["useByComparator",0,function(e=eL){return(0,M.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}],787787);var eO=e.i(712558);function eA(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}e.s(["useControllable",0,function(e,t,n){let[r,o]=(0,M.useState)(n),l=void 0!==e,i=(0,M.useRef)(l),u=(0,M.useRef)(!1),a=(0,M.useRef)(!1);return!l||i.current||u.current?l||!i.current||a.current||(a.current=!0,i.current=l,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(u.current=!0,i.current=l,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[l?e:r,eF(e=>(l||(0,eO.flushSync)(()=>o(e)),null==t?void 0:t(e)))]}],499308),e.s(["useDefaultValue",0,function(e){let[t]=(0,M.useState)(e);return t}],94918),e.s(["useElementSize",0,function(e,t,n=!1){let[r,o]=(0,M.useState)(()=>eA(t));return eP(()=>{if(!t||!e)return;let n=eC();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),o(e=>{let n=eA(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}],285577);var eR=((n=eR||{})[n.Left=0]="Left",n[n.Right=2]="Right",n);
1function eM(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function eN(e){return eM(e)&&"tagName"in e}function eI(e){return eN(e)&&"accessKey"in e}function eH(e){return eN(e)&&"tabIndex"in e}function ej(e){return eN(e)&&"style"in e}function eD(e){return eI(e)&&"IFRAME"===e.nodeName}function eW(e){return eI(e)&&"INPUT"===e.nodeName}function eB(e){return eI(e)&&"LABEL"===e.nodeName}function eV(e){return eI(e)&&"FIELDSET"===e.nodeName}function e$(e){return eI(e)&&"LEGEND"===e.nodeName}function eK(e){return!!eN(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')}function eU(e){let t=e.parentElement,n=null;for(;t&&!eV(t);)e$(t)&&(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(e$(t))return!1;t=t.previousElementSibling}return!0}(n))&&r}e.s(["MouseButton",0,eR],828288),e.s(["hasInlineStyle",0,ej,"isHTMLElement",0,eI,"isHTMLFieldSetElement",0,eV,"isHTMLIframeElement",0,eD,"isHTMLInputElement",0,eW,"isHTMLLabelElement",0,eB,"isHTMLLegendElement",0,e$,"isHTMLorSVGElement",0,eH,"isInteractiveElement",0,eK,"isNode",0,eM],551936),e.s(["useHandleToggle",0,function(e){let t=(0,M.useRef)(null);return{onPointerDown:eF(n=>{t.current=n.pointerType,eU(n.currentTarget)||"mouse"!==n.pointerType||n.button!==eR.Left||(n.preventDefault(),e(n))}),onClick:eF(n=>{"mouse"!==t.current&&(eU(n.currentTarget)||e(n))})}}],153916);class e_ 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}}var eq=Object.defineProperty,eG=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ez=(e,t,n)=>(eG(e,t,"read from private field"),n?n.call(e):t.get(e)),eY=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},eX=(e,t,n,r)=>(eG(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class eJ{constructor(e){eY(this,w,{}),eY(this,S,new e_(()=>new Set)),eY(this,T,new Set),((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?eq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"disposables",eC()),eX(this,w,e),ey.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return ez(this,w)}subscribe(e,t){if(ey.isServer)return()=>{};let n={selector:e,callback:t,current:e(ez(this,w))};return ez(this,T).add(n),this.disposables.add(()=>{ez(this,T).delete(n)})}on(e,t){return ey.isServer?()=>{}:(ez(this,S).get(e).add(t),this.disposables.add(()=>{ez(this,S).get(e).delete(t)}))}send(e){let t=this.reduce(ez(this,w),e);if(t!==ez(this,w)){for(let e of(eX(this,w,t),ez(this,T))){let t=e.selector(ez(this,w));eQ(e.current,t)||(e.current=t,e.callback(t))}for(let t of ez(this,S).get(e.type))t(ez(this,w),e)}}}function eQ(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&eZ(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&eZ(e.entries(),t.entries()):!!(e0(e)&&e0(t))&&eZ(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function eZ(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function e0(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function e1(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=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,e1),r}w=new WeakMap,S=new WeakMap,T=new WeakMap,e.s(["Machine",0,eJ,"batch",0,function(e){let[t,n]=e(),r=eC();return(...e)=>{t(...e),r.dispose(),r.microTask(n)}},"shallowEqual",0,eQ],709230),e.s(["match",0,e1],703621);var e2=Object.defineProperty,e4=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?e2(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n},e3=((r=e3||{})[r.Push=0]="Push",r[r.Pop=1]="Pop",r);let e5={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(-1!==o){let t=e.stack.slice();return t.splice(o,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(-1===r)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}};class e6 extends eJ{constructor(){super(...arguments),e4(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),e4(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new e6({stack:[]})}reduce(e,t){return e1(t.type,e5,e,t)}}let e7=new e_(()=>e6.new());e.s(["ActionTypes",0,e3,"stackMachines",0,e7],387629);var e8=e.i(352445);function e9(e,t,n=eQ){return(0,e8.useSyncExternalStoreWithSelector)(eF(t=>e.subscribe(te,t)),eF(()=>e.state),eF(()=>e.state),eF(t),n)}function te(e){return e}function tt(e,t){let n=(0,M.useId)(),r=e7.get(t),[o,l]=e9(r,(0,M.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return eP(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),!!e&&(!l||o)}e.s(["useSlice",0,e9],270401);let tn=new Map,tr=new Map;function to(e){var t;let n=null!=(t=tr.get(e))?t:0;return tr.set(e,n+1),0!==n?()=>tl(e):(tn.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>tl(e))}function tl(e){var t;let n=null!=(t=tr.get(e))?t:1;if(1===n?tr.delete(e):tr.set(e,n-1),1!==n)return;let r=tn.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,tn.delete(e))}e.s(["useInertOthers",0,function(e,{allowed:t,disallowed:n}={}){let r=tt(e,"inert-others");eP(()=>{var e,o;if(!r)return;let l=eC();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&l.add(to(t));let i=null!=(o=null==t?void 0:t())?o:[];for(let e of i){if(!e)continue;let t=eE(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)i.some(t=>e.contains(t))||l.add(to(e));n=n.parentElement}}return l.dispose},[r,t,n])}],651756),e.s(["useOnDisappear",0,function(e,t,n){let r=ek(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,M.useEffect)(()=>
1{if(!e)return;let n=null===t?null:eI(t)?t:t.current;if(!n)return;let o=eC();if("u">typeof ResizeObserver){let e=new ResizeObserver(()=>r.current(n));e.observe(n),o.add(()=>e.disconnect())}if("u">typeof IntersectionObserver){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),o.add(()=>e.disconnect())}return()=>o.dispose()},[t,r,e])}],650027);let ti=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),tu=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ta=((o=ta||{})[o.First=1]="First",o[o.Previous=2]="Previous",o[o.Next=4]="Next",o[o.Last=8]="Last",o[o.WrapAround=16]="WrapAround",o[o.NoScroll=32]="NoScroll",o[o.AutoFocus=64]="AutoFocus",o),ts=((l=ts||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),tc=((i=tc||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function td(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(ti)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var tf=((u=tf||{})[u.Strict=0]="Strict",u[u.Loose=1]="Loose",u);function tp(e,t=0){var n;return e!==(null==(n=eE(e))?void 0:n.body)&&e1(t,{0:()=>e.matches(ti),1(){let t=e;for(;null!==t;){if(t.matches(ti))return!0;t=t.parentElement}return!1}})}var tm=((a=tm||{})[a.Keyboard=0]="Keyboard",a[a.Mouse=1]="Mouse",a);function th(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let l=r.compareDocumentPosition(o);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function tv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function tg(){return tv()||/Android/gi.test(window.navigator.userAgent)}function tb(e,t,n,r){let o=ek(n);(0,M.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function ty(...e){return(0,M.useMemo)(()=>eE(...e),[...e])}"u">typeof window&&"u">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)),e.s(["Focus",0,ta,"FocusableMode",0,tf,"focusFrom",0,function(e,t,n=null===e?document.body:ew(e)){return function(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var l,i,u;let a=Array.isArray(e)?e.length>0?ew(e[0]):document:ew(e),s=Array.isArray(e)?n?th(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(tu)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):td(e);o.length>0&&s.length>1&&(s=s.filter(e=>!o.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),r=null!=r?r:null==a?void 0:a.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(r))-1;if(4&t)return Math.max(0,s.indexOf(r))+1;if(8&t)return s.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,m=s.length,h;do{if(p>=m||p+m<=0)return 0;let e=d+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(h=s[e])||h.focus(f),p+=c}while(h!==eS(h))return 6&t&&null!=(u=null==(i=null==(l=h)?void 0:l.matches)?void 0:i.call(l,"textarea,input"))&&u&&h.select(),2}(td(n),t,{relativeTo:e})},"focusableSelector",0,ti,"isFocusableElement",0,tp,"sortByDomNode",0,th],136883),e.s(["isIOS",0,tv,"isMobile",0,tg],322504),e.s(["useOutsideClick",0,function(e,t,n){var r;let o,l=ek(n),i=(0,M.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(r)||e.composed&&e.composedPath().includes(n)))return;return tp(r,tf.Loose)||-1===r.tabIndex||e.preventDefault(),l.current(e,r)}},[l,t]),u=(0,M.useRef)(null);tb(e,"pointerdown",e=>{var t,n;tg()||(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),tb(e,"pointerup",e=>{if(tg()||!u.current)return;let t=u.current;return u.current=null,i(e,()=>t)},!0);let a=(0,M.useRef)({x:0,y:0});tb(e,"touchstart",e=>{a.current.x=e.touches[0].clientX,a.current.y=e.touches[0].clientY},!0),tb(e,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-a.current.x)>=30||Math.abs(t.y-a.current.y)>=30))return i(e,()=>eH(e.target)?e.target:null)},!0),r="blur",o=ek(e=>i(e,()=>eD(window.document.activeElement)?window.document.activeElement:null)),(0,M.useEffect)(()=>
1{if(e)return window.addEventListener(r,t,!0),()=>window.removeEventListener(r,t,!0);function t(e){o.current(e)}},[e,r,!0])}],505094),e.s(["useOwnerDocument",0,ty],587704);var tE=((s=tE||{})[s.Ignore=0]="Ignore",s[s.Select=1]="Select",s[s.Close=2]="Close",s);function tw(e){let t={};for(let n of e)Object.assign(t,n(t));return t}e.s(["Action",0,{Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}},"useQuickRelease",0,function(e,{trigger:t,action:n,close:r,select:o}){let l=(0,M.useRef)(null),i=(0,M.useRef)(null),u=(0,M.useRef)(null);tb(e&&null!==t,"pointerdown",e=>{eM(null==e?void 0:e.target)&&null!=t&&t.contains(e.target)&&(i.current=e.x,u.current=e.y,l.current=e.timeStamp)}),tb(e&&null!==t,"pointerup",e=>{var t,a;let s=l.current;if(null===s||(l.current=null,!eH(e.target))||5>Math.abs(e.x-(null!=(t=i.current)?t:e.x))&&5>Math.abs(e.y-(null!=(a=u.current)?a:e.y)))return;let c=n(e);switch(c.kind){case 0:return;case 1:e.timeStamp-s>200&&(o(c.target),r());break;case 2:r()}},{capture:!0})}],840856),e.s(["useResolveButtonType",0,function(e,t){return(0,M.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}],956593);let tS=(y=()=>new Map,E={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:eC(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=tw(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=tw(n.meta)),this},SCROLL_PREVENT(e){let t,n={doc:e.doc,d:e.d,meta:()=>e.computedMeta},r=[tv()?{before({doc:e,d:t,meta:n}){function r(e){for(let t of n().containers)for(let n of t())if(n.contains(e))return!0;return!1}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=eC();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let o=null!=(n=window.scrollY)?n:window.pageYOffset,l=null;t.addEventListener(e,"click",t=>{if(eH(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:o}=new URL(n.href),i=e.querySelector(o);eH(i)&&!r(i)&&(l=i)}catch{}},!0),t.group(n=>{t.addEventListener(e,"touchstart",e=>{if(n.dispose(),eH(e.target)&&ej(e.target))if(r(e.target)){let t=e.target;for(;t.parentElement&&r(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",e=>{if(eH(e.target)&&!eW(e.target))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;o!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,o),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}:{},{before({doc:e}){var n;let r=e.documentElement;t=Math.max(0,(null!=(n=e.defaultView)?n:window).innerWidth-r.clientWidth)},after({doc:e,d:n}){let r=e.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),l=Math.max(0,t-o);n.style(r,"paddingRight",`${l}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];r.forEach(({before:e})=>null==e?void 0:e(n)),r.forEach(({after:e})=>null==e?void 0:e(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},c=y(),d=new Set,{getSnapshot:()=>c,subscribe:e=>(d.add(e),()=>d.delete(e)),dispatch(e,...t){let n=E[e].call(c,...t);n&&(c=n,d.forEach(e=>e()))}});function tT(e){return(0,M.useMemo)(()=>e,Object.values(e))}tS.subscribe(()=>{let e=tS.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)&&tS.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&tS.dispatch("TEARDOWN",n)}}),e.s(["useScrollLock",0,function(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let r=(0,M.useSyncExternalStore)(tS.subscribe,tS.getSnapshot,tS.getSnapshot),o=t?r.get(t):void 0;o&&o.count,eP(()=>{if(!(!t||!e))return tS.dispatch("PUSH",t,n),()=>tS.dispatch("POP",t,n)},[e,t])}(tt(e,"scroll-lock"),t,e=>{var t;
1return{containers:[...null!=(t=e.containers)?t:[],n]}})}],99079),e.s(["useSlot",0,tT],983611);let tC=Symbol();function tx(e,t=!0){return Object.assign(e,{[tC]:t})}function tP(...e){let t=(0,M.useRef)(e);(0,M.useEffect)(()=>{t.current=e},[e]);let n=eF(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[tC]))?void 0:n}function tk(e){return[e.screenX,e.screenY]}e.s(["optionalRef",0,tx,"useSyncRefs",0,tP],913973),e.s(["useTrackedPointer",0,function(){let e=(0,M.useRef)([-1,-1]);return{wasMoved(t){let n=tk(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=tk(t)}}}],172611),void 0!==P.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(C=null==P.default?void 0:P.default.env)?void 0:C.NODE_ENV)==="test"&&void 0===(null==(x=null==Element?void 0:Element.prototype)?void 0:x.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(`
2`)),[]});var tF=((f=tF||{})[f.None=0]="None",f[f.Closed=1]="Closed",f[f.Enter=2]="Enter",f[f.Leave=4]="Leave",f);e.s(["transitionDataAttributes",0,function(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t},"useTransition",0,function(e,t,n,r){let[o,l]=(0,M.useState)(n),{hasFlag:i,addFlag:u,removeFlag:a}=function(e=0){let[t,n]=(0,M.useState)(e),r=(0,M.useCallback)(e=>n(e),[]),o=(0,M.useCallback)(e=>n(t=>t|e),[]),l=(0,M.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:l,removeFlag:(0,M.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,M.useCallback)(e=>n(t=>t^e),[])}}(e&&o?3:0),s=(0,M.useRef)(!1),c=(0,M.useRef)(!1);return eP(()=>{var o;if(e){if(n&&l(!0),!t){n&&u(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:o}){let l=eC();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:o}),l.nextFrame(()=>{n(),l.requestAnimationFrame(()=>{l.add(function(e,t){var n,r;let o=eC();if(!e)return o.dispose;let l=!1;o.add(()=>{l=!0});let i=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===i.length?t():Promise.allSettled(i.map(e=>e.finished)).then(()=>{l||t()}),o.dispose}(e,r))})}),l.dispose}(t,{inFlight:s,prepare(){c.current?c.current=!1:c.current=s.current,s.current=!0,c.current||(n?(u(3),a(4)):(u(4),a(2)))},run(){c.current?n?(a(3),u(4)):(a(4),u(3)):n?a(1):u(1)},done(){var e,o,i,u;c.current&&(null!=(u=null==(i=(o=t).getAnimations)?void 0:i.call(o))?u:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(s.current=!1,a(7),n||l(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,ex()]),e?[o,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}],435962);let tL=(0,M.createContext)(void 0);function tO(){return(0,M.useContext)(tL)}e.s(["useDisabled",0,tO],111143);var tA=e.i(422957),tR=e.i(461578),tM=e.i(888659),tN=e.i(425017);e.i(751095);let tI={...M},tH=tI.useInsertionEffect||(e=>e());function tj(e){let t=M.useRef(()=>{});return tH(()=>{t.current=e}),M.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var tD="u">typeof document?M.useLayoutEffect:M.useEffect;let tW=!1,tB=0,tV=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+tB++,t$=tI.useId||function(){let[e,t]=M.useState(()=>tW?tV():void 0);return tD(()=>{null==e&&t(tV())},[]),M.useEffect(()=>{tW=!0},[]),e},tK=M.createContext(null),tU=M.createContext(null),t_="active",tq="selected";function tG(e,t,n){let r=new Map,o="item"===n,l=e;if(o&&e){let{[t_]:t,[tq]:n,...r}=e;l=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...l,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>
2(t&&Object.entries(t).forEach(t=>{let[n,l]=t;if(!(o&&[t_,tq].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof l){var i;null==(i=r.get(n))||i.push(l),e[n]=function(){for(var e,t=arguments.length,o=Array(t),l=0;l<t;l++)o[l]=arguments[l];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)}}}else e[n]=l}),e),{})}}function tz(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tY=(0,M.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});tY.displayName="FloatingContext";let tX=(0,M.createContext)(null);function tJ(e,t,n){let r=ex(),o=eF((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 o=tQ(e,t);return[o,n=>{let l=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),o=n[1].slice(t+1).trim();return o?[r,...e(o)]:[r]}return[]}(e);{let i=l.map(e=>window.getComputedStyle(t).getPropertyValue(e));r.requestAnimationFrame(function u(){r.nextFrame(u);let a=!1;for(let[e,n]of l.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(i[e]!==r){i[e]=r,a=!0;break}}if(!a)return;let s=tQ(e,t);o!==s&&(n(s),o=s)})}return r.dispose}]}return[n,null]}),l=(0,M.useMemo)(()=>o(e,t)[0],[e,t]),[i=l,u]=(0,M.useState)();return eP(()=>{let[n,r]=o(e,t);if(u(n),r)return r(u)},[e,t]),i}function tQ(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}function tZ(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))!function e(t,n,r){if(Array.isArray(r))for(let[o,l]of r.entries())e(t,t0(n,o.toString()),l);else r instanceof Date?t.push([n,r.toISOString()]):"boolean"==typeof r?t.push([n,r?"1":"0"]):"string"==typeof r?t.push([n,r]):"number"==typeof r?t.push([n,`${r}`]):null==r?t.push([n,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(r)&&!(0,M.isValidElement)(r)&&tZ(r,n,t)}(n,t0(t,r),o);return n}function t0(e,t){return e?e+"["+t+"]":t}function t1(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}tX.displayName="PlacementContext",e.s(["FloatingProvider",0,function({children:e,enabled:t=!0}){var n,r,o,l,i,u,a;let s,c,d,f,p,m,h,v,g,b,[y,E]=(0,M.useState)(null),[w,S]=(0,M.useState)(0),T=(0,M.useRef)(null),[C,x]=(0,M.useState)(null);eP(()=>{if(!r)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(r).maxHeight,t=parseFloat(e);if(isNaN(t))return;let n=parseInt(e);isNaN(n)||t!==n&&(r.style.maxHeight=`${Math.ceil(t)}px`)});return e.observe(r,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[r=C]);let P=t&&null!==y&&null!==C,{to:k="bottom",gap:F=0,offset:L=0,padding:O=0,inner:A}=(o=y,l=C,s=tJ(null!=(i=null==o?void 0:o.gap)?i:"var(--anchor-gap, 0)",l),c=tJ(null!=(u=null==o?void 0:o.offset)?u:"var(--anchor-offset, 0)",l),d=tJ(null!=(a=null==o?void 0:o.padding)?a:"var(--anchor-padding, 0)",l),{...o,gap:s,offset:c,padding:d}),[R,N="center"]=k.split(" ");eP(()=>{P&&S(0)},[P]);let{refs:I,floatingStyles:H,context:j}=function(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){var t;let{open:n=!1,onOpenChange:r,elements:o}=e,l=t$(),i=M.useRef({}),[u]=M.useState(()=>{let e;return e=new Map,{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))||[])}}}),a=null!=((null==(t=M.useContext(tK))?void 0:t.id)||null),[s,c]=M.useState(o.reference),d=tj((e,t,n)=>{i.current.openEvent=e?t:void 0,u.emit("openchange",{open:e,event:t,reason:n,nested:a}),null==r||r(e,t,n)}),f=M.useMemo(()=>({setPositionReference:c}),[]),p=M.useMemo(()=>({reference:s||o.reference||null,floating:o.floating||null,domReference:o.reference}),[s,o.reference,o.floating]);return M.useMemo(()=>({dataRef:i,open:n,onOpenChange:d,elements:p,events:u,floatingId:l,refs:f}),[n,d,p,u,l,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[l,i]=M.useState(null),[u,a]=M.useState(null),s=(null==o?void 0:o.domReference)||l,c=M.useRef(null),d=M.useContext(tU);tD(()=>{s&&(c.current=s)},[s]);let f=(0,tR.useFloating)({...e,elements:{...o,...u&&{reference:u}}}),p=M.useCallback(e=>{let t=(0,tM.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;a(t),f.refs.setReference(t)},[f.refs]),m=M.useCallback(e=>{((0,tM.isElement)(e)||null===e)&&(c.current=e,i(e)),((0,tM.isElement)(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!(0,tM.isElement)(e))&&f.refs.setReference(e)},[f.refs]),h=M.useMemo(()=>({...f.refs,setReference:m,setPositionReference:p,domReference:c}),[f.refs,m,p]),v=M.useMemo(()=>({...f.elements,domReference:s}),[f.elements,s]),g=M.useMemo(()=>({...f,...r,refs:h,elements:v,nodeId:t}),[f,h,v,t,r]);return tD(()=>{r.dataRef.current.floatingContext=g;let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===t);e&&(e.context=g)}),M.useMemo(()=>({...f,context:g,refs:h,elements:v}),[f,h,v,g])}({open:P,placement:"selection"===R?"center"===N?"bottom":`bottom-${N}`:"center"===N?`${R}`:`${R}-${N}`,strategy:"absolute",transform:!1,middleware:[(0,tR.offset)({mainAxis:"selection"===R?0:F,crossAxis:L}),(0,tR.shift)({padding:O}),"selection"!==R&&(0,tR.flip)({padding:O}),"selection"===R&&A?{name:"inner",options:f={...A,padding:O,overflowRef:T,offset:w,minItemsVisible:4,referenceOverflowThreshold:O,onFallbackChange(e){var t,n;if(!e)return;let r=j.elements.floating;if(!r)return;
2let o=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,l=Math.min(4,r.childElementCount),i=0,u=0;for(let e of null!=(n=null==(t=j.elements.floating)?void 0:t.childNodes)?n:[])if(eI(e)){let t=e.offsetTop,n=t+e.clientHeight+o,a=r.scrollTop,s=a+r.clientHeight;if(t>=a&&n<=s)l--;else{u=Math.max(0,Math.min(n,s)-Math.max(t,a)),i=e.clientHeight;break}}l>=1&&S(e=>{let t=i*l-u+o;return e>=t?e:t})}},async fn(e){let{listRef:t,overflowRef:n,onFallbackChange:r,offset:o=0,index:l=0,minItemsVisible:i=4,referenceOverflowThreshold:u=0,scrollRef:a,...s}=(0,tN.evaluate)(f,e),{rects:c,elements:{floating:d}}=e,p=t.current[l],m=(null==a?void 0:a.current)||d,h=d.clientTop||m.clientTop,v=0!==d.clientTop,g=0!==m.clientTop,b=d===m;if(!p)return{};let y={...e,...await (0,tR.offset)(-p.offsetTop-d.clientTop-c.reference.height/2-p.offsetHeight/2-o).fn(e)},E=await (0,tA.detectOverflow)(tz(y,m.scrollHeight+h+d.clientTop),s),w=await (0,tA.detectOverflow)(y,{...s,elementContext:"reference"}),S=(0,tN.max)(0,E.top),T=y.y+S,C=(m.scrollHeight>m.clientHeight?e=>e:tN.round)((0,tN.max)(0,m.scrollHeight+(v&&b||g?2*h:0)-S-(0,tN.max)(0,E.bottom)));if(m.style.maxHeight=C+"px",m.scrollTop=S,r){let e=m.offsetHeight<p.offsetHeight*(0,tN.min)(i,t.current.length)-1||w.top>=-u||w.bottom>=-u;eO.flushSync(()=>r(e))}return n&&(n.current=await (0,tA.detectOverflow)(tz({...y,y:T},m.offsetHeight+h+d.clientTop),s)),{y:T}}}:null,(0,tR.size)({padding:O,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:tA.autoUpdate}),[D=R,W=N]=j.placement.split("-");"selection"===R&&(D="selection");let B=(0,M.useMemo)(()=>({anchor:[D,W].filter(Boolean).join(" ")}),[D,W]),{getReferenceProps:V,getFloatingProps:$}=(p=(n=[function(e,t){let{open:n,elements:r}=e,{enabled:o=!0,overflowRef:l,scrollRef:i,onChange:u}=t,a=tj(u),s=M.useRef(!1),c=M.useRef(null),d=M.useRef(null);M.useEffect(()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==l.current)return;let n=e.deltaY,r=l.current.top>=-.5,o=l.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,u=n<0?-1:1,s=n<0?"max":"min";if(!(t.scrollHeight<=t.clientHeight))if(!r&&n>0||!o&&n<0)e.preventDefault(),eO.flushSync(()=>{a(e=>e+Math[s](n,i*u))});else{let e;/firefox/i.test((e=navigator.userAgentData)&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent)&&(t.scrollTop+=n)}}let t=(null==i?void 0:i.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{c.current=t.scrollTop,null!=l.current&&(d.current={...l.current})}),()=>{c.current=null,d.current=null,t.removeEventListener("wheel",e)}},[o,n,r.floating,l,i,a]);let f=M.useMemo(()=>({onKeyDown(){s.current=!0},onWheel(){s.current=!1},onPointerMove(){s.current=!1},onScroll(){let e=(null==i?void 0:i.current)||r.floating;if(l.current&&e&&s.current){if(null!==c.current){let t=e.scrollTop-c.current;(l.current.bottom<-.5&&t<-1||l.current.top<-.5&&t>1)&&eO.flushSync(()=>a(e=>e+t))}requestAnimationFrame(()=>{c.current=e.scrollTop})}}}),[r.floating,a,l,i]);return M.useMemo(()=>o?{floating:f}:{},[o,f])}(j,{overflowRef:T,onChange:S})]).map(e=>null==e?void 0:e.reference),m=n.map(e=>null==e?void 0:e.floating),h=n.map(e=>null==e?void 0:e.item),v=M.useCallback(e=>tG(e,n,"reference"),p),g=M.useCallback(e=>tG(e,n,"floating"),m),b=M.useCallback(e=>tG(e,n,"item"),h),M.useMemo(()=>({getReferenceProps:v,getFloatingProps:g,getItemProps:b}),[v,g,b])),K=eF(e=>{x(e),I.setFloating(e)});return M.createElement(tX.Provider,{value:E},M.createElement(tY.Provider,{value:{setFloating:K,setReference:I.setReference,styles:H,getReferenceProps:V,getFloatingProps:$,slot:B}},e))},"useFloatingPanel",0,function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,M.useContext)(tX),n=(0,M.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);eP(()=>{null==t||t(null!=n?n:null)},[t,n]);let r=(0,M.useContext)(tY);return(0,M.useMemo)(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])},"useFloatingPanelProps",0,function(){let{getFloatingProps:e,slot:t}=(0,M.useContext)(tY);return(0,M.useCallback)((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])},"useFloatingReference",0,function(){return(0,M.useContext)(tY).setReference},"useFloatingReferenceProps",0,function(){return(0,M.useContext)(tY).getReferenceProps},"useResolvedAnchor",0,function(e){return(0,M.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}],887607),e.s(["attemptSubmit",0,function(e){var t,n;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=r.requestSubmit)||n.call(r)}},"objectToFormEntries",0,tZ],201114);var t2=((p=t2||{})[p.None=0]="None",p[p.RenderStrategy=1]="RenderStrategy",p[p.Static=2]="Static",p),t4=((m=t4||{})[m.Unmount=0]="Unmount",m[m.Hidden=1]="Hidden",m);function t3(){let e,t,n=(e=(0,M.useRef)([]),t=(0,M.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),(...n)=>{if(!n.every(e=>null==e))return e.current=n,t});return(0,M.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:l=!0,name:i,mergeRefs:u}){u=null!=u?u:t6;let a=t7(t,e);if(l)return t5(a,n,r,i,u);let s=null!=o?o:0;if(2&s){let{static:e=!1,...t}=a;if(e)return t5(t,n,r,i,u)}if(1&s){let{unmount:e=!0,...t}=a;return e1(+!e,{0:()=>null,1:()=>t5({...t,hidden:!0,style:{display:"none"}},n,r,i,u)})}return t5(a,n,r,i,u)})({mergeRefs:n,...e}),[n])}function t5(e,t={}
2,n,r,o){let{as:l=n,children:i,refName:u="ref",...a}=ne(e,["unmount","static"]),s=void 0!==e.ref?{[u]:e.ref}:{},c="function"==typeof i?i(t):i;c=function e(t){if(null!=t&&t.$$typeof===Symbol.for("react.lazy")){let n=t._payload;if(null!=n&&"fulfilled"===n.status)return e(n.value)}return t}(c),"className"in a&&a.className&&"function"==typeof a.className&&(a.className=a.className(t)),a["aria-labelledby"]&&a["aria-labelledby"]===a.id&&(a["aria-labelledby"]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(d["data-headlessui-state"]=n.join(" "),n))d[`data-${e}`]=""}if(nt(l)&&(Object.keys(t9(a)).length>0||Object.keys(t9(d)).length>0))if(!(0,M.isValidElement)(c)||Array.isArray(c)&&c.length>1||nt(c.type)){if(Object.keys(t9(a)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(t9(a)).concat(Object.keys(t9(d))).map(e=>`  - ${e}`).join(`
3`),"","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(`
4`)].join(`
5`))}else{var f;let e=c.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>t1(t(...e),a.className):t1(t,a.className),r=t7(c.props,t9(ne(a,["ref"])));for(let e in d)e in r&&delete d[e];return(0,M.cloneElement)(c,Object.assign({},r,d,s,{ref:o((f=c,M.default.version.split(".")[0]>="19"?f.props.ref:f.ref),s.ref)},n?{className:n}:{}))}return(0,M.createElement)(l,Object.assign({},ne(a,["ref"]),!nt(l)&&s,!nt(l)&&d),c)}function t6(...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 t7(...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 e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){for(let o of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;o(t,...r)}}});return t}function t8(e){var t;return Object.assign((0,M.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function t9(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ne(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function nt(e){return e===M.Fragment||e===Symbol.for("react.fragment")}e.s(["RenderFeatures",0,t2,"compact",0,t9,"forwardRefWithAs",0,t8,"mergeProps",0,function(...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 e in n)Object.assign(t,{[e](...t){for(let r of n[e])null==r||r(...t)}});return t},"useRender",0,t3],164398);var nn=((h=nn||{})[h.None=1]="None",h[h.Focusable=2]="Focusable",h[h.Hidden=4]="Hidden",h);let nr=t8(function(e,t){var n;let{features:r=1,...o}=e,l={ref:t,"aria-hidden":(2&r)==2||(null!=(n=o["aria-hidden"])?n:void 0),hidden:(4&r)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&r)==4&&(2&r)!=2&&{display:"none"}}};return t3()({ourProps:l,theirProps:o,slot:{},defaultTag:"span",name:"Hidden"})}),no=(0,M.createContext)(null);function nl({children:e}){let t=(0,M.useContext)(no);if(!t)return M.default.createElement(M.default.Fragment,null,e);let{target:n}=t;return n?(0,eO.createPortal)(M.default.createElement(M.default.Fragment,null,e),n):null}function ni({setForm:e,formId:t}){return(0,M.useEffect)(()=>
5{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:M.default.createElement(nr,{features:nn.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}e.s(["FormFields",0,function({data:e,form:t,disabled:n,onReset:r,overrides:o}){let[l,i]=(0,M.useState)(null),u=ex();return(0,M.useEffect)(()=>{if(r&&l)return u.addEventListener(l,"reset",r)},[l,t,r]),M.default.createElement(nl,null,M.default.createElement(ni,{setForm:i,formId:t}),tZ(e).map(([e,r])=>M.default.createElement(nr,{features:nn.Hidden,...t9({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...o})})))}],858657);let nu=M.default.forwardRef(function({children:e,freeze:t},n){let r=na(t,e);return(0,M.isValidElement)(r)?(0,M.cloneElement)(r,{ref:n}):M.default.createElement(M.default.Fragment,null,r)});function na(e,t){let[n,r]=(0,M.useState)(t);return e||n===t||r(t),e?n:t}e.s(["Frozen",0,nu,"useFrozenData",0,na],632666);let ns=(0,M.createContext)(void 0);function nc(){return(0,M.useContext)(ns)}e.s(["useProvidedId",0,nc],8608);let nd=(0,M.createContext)(null);nd.displayName="OpenClosedContext";var nf=((v=nf||{})[v.Open=1]="Open",v[v.Closed=2]="Closed",v[v.Closing=4]="Closing",v[v.Opening=8]="Opening",v);e.s(["OpenClosedProvider",0,function({value:e,children:t}){return M.default.createElement(nd.Provider,{value:e},t)},"State",0,nf,"useOpenClosed",0,function(){return(0,M.useContext)(nd)}],805548);var np=((g=np||{})[g.First=0]="First",g[g.Previous=1]="Previous",g[g.Next=2]="Next",g[g.Last=3]="Last",g[g.Specific=4]="Specific",g[g.Nothing=5]="Nothing",g);e.s(["Focus",0,np,"calculateActiveIndex",0,function(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=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===o&&(o=n.length);for(let e=o-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=o+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:throw Error("Unexpected object: "+e)}}],160847);let nm=(0,M.createContext)(null);nm.displayName="DescriptionContext",Object.assign(t8(function(e,t){let n=(0,M.useId)(),r=tO(),{id:o=`headlessui-description-${n}`,...l}=e,i=function e(){let t=(0,M.useContext)(nm);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),u=tP(t);eP(()=>i.register(o),[o,i.register]);let a=tT({...i.slot,disabled:r||!1}),s={ref:u,...i.props,id:o};return t3()({ourProps:s,theirProps:l,slot:a,defaultTag:"p",name:i.name||"Description"})}),{}),e.s(["useDescribedBy",0,function(){var e,t;return null!=(t=null==(e=(0,M.useContext)(nm))?void 0:e.value)?t:void 0}],76224);var nh=((b=nh||{}).Space=" ",b.Enter="Enter",b.Escape="Escape",b.Backspace="Backspace",b.Delete="Delete",b.ArrowLeft="ArrowLeft",b.ArrowUp="ArrowUp",b.ArrowRight="ArrowRight",b.ArrowDown="ArrowDown",b.Home="Home",b.End="End",b.PageUp="PageUp",b.PageDown="PageDown",b.Tab="Tab",b);e.s(["Keys",0,nh],919100);let nv=(0,M.createContext)(null);function ng(e){var t,n,r;let o=null!=(n=null==(t=(0,M.useContext)(nv))?void 0:t.value)?n:void 0;return(null!=(r=null==e?void 0:e.length)?r:0)>0?[o,...e].filter(Boolean).join(" "):o}nv.displayName="LabelContext";let nb=Object.assign(t8(function(e,t){var n;let r=(0,M.useId)(),o=function e(){let t=(0,M.useContext)(nv);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),l=nc(),i=tO(),{id:u=`headlessui-label-${r}`,htmlFor:a=null!=l?l:null==(n=o.props)?void 0:n.htmlFor,passive:s=!1,...c}=e,d=tP(t);eP(()=>o.register(u),[u,o.register]);let f=eF(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&eK(e.target))&&(eB(t)&&e.preventDefault(),o.props&&"onClick"in o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),eB(t))){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;(eW(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),p=tT({...o.slot,disabled:i||!1}),m={ref:d,...o.props,id:u,htmlFor:a,onClick:f};return s&&("onClick"in m&&(delete m.htmlFor,delete m.onClick),"onClick"in c&&delete c.onClick),t3()({ourProps:m,theirProps:c,slot:p,defaultTag:a?"label":"div",name:o.name||"Label"})}),{});function ny(e){let t=eF(e),n=(0,M.useRef)(!1);(0,M.useEffect)(()=>(n.current=!1,()=>{n.current=!0,eT(()=>{n.current&&t()})}),[t])}e.s(["Label",0,nb,"useLabelledBy",0,ng,"useLabels",0,function({inherit:e=!1}={}
5){let t=ng(),[n,r]=(0,M.useState)([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,(0,M.useMemo)(()=>function(e){let t=eF(e=>(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),n=(0,M.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return M.default.createElement(nv.Provider,{value:n},e.children)},[r])]}],305296),e.s(["useOnUnmount",0,ny],150332);let nE=(0,M.createContext)(!1),nw=M.Fragment,nS=t8(function(e,t){let{ownerDocument:n=null,...r}=e,o=(0,M.useRef)(null),l=tP(tx(e=>{o.current=e}),t),i=ty(o.current),u=function(e){let t=(0,M.useContext)(nE),n=(0,M.useContext)(nC),[r,o]=(0,M.useState)(()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(ey.isServer)return null;let o=null==e?void 0:e.getElementById("headlessui-portal-root");if(o)return o;if(null===e)return null;let l=e.createElement("div");return l.setAttribute("id","headlessui-portal-root"),e.body.appendChild(l)});return(0,M.useEffect)(()=>{null!==r&&(null!=e&&e.body.contains(r)||null==e||e.body.appendChild(r))},[r,e]),(0,M.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),r}(null!=n?n:i),a=(0,M.useContext)(nx),s=ex(),c=function(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in M&&(0,M.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=M.useState(ey.isHandoffComplete);return n&&!1===ey.isHandoffComplete&&r(!1),M.useEffect(()=>{!0!==n&&r(!0)},[n]),M.useEffect(()=>ey.handoff(),[]),!t&&n}(),d=t3();return ny(()=>{var e;u&&u.childNodes.length<=0&&(null==(e=u.parentElement)||e.removeChild(u))}),u&&c?(0,eO.createPortal)(M.default.createElement("div",{"data-headlessui-portal":"",ref:e=>{s.dispose(),a&&e&&s.add(a.register(e))}},d({ourProps:{ref:l},theirProps:r,slot:{},defaultTag:nw,name:"Portal"})),u):null}),nT=M.Fragment,nC=(0,M.createContext)(null),nx=(0,M.createContext)(null),nP=Object.assign(t8(function(e,t){let n=tP(t),{enabled:r=!0,ownerDocument:o,...l}=e,i=t3();return r?M.default.createElement(nS,{...l,ownerDocument:o,ref:n}):i({ourProps:{ref:n},theirProps:l,slot:{},defaultTag:nw,name:"Portal"})}),{Group:t8(function(e,t){let{target:n,...r}=e,o={ref:tP(t)},l=t3();return M.default.createElement(nC.Provider,{value:n},l({ourProps:o,theirProps:r,defaultTag:nT,name:"Popover.Group"}))})});function nk(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}e.s(["Portal",0,nP],163273),e.s(["ElementPositionState",0,{Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}},"computeVisualPosition",0,nk,"detectMovement",0,function(e,t,n){let r=eC();if("Tracked"===t.kind){let o=function(){l!==nk(e)&&(r.dispose(),n())},{position:l}=t,i=new ResizeObserver(o);i.observe(e),r.add(()=>i.disconnect()),r.addEventListener(window,"scroll",o,{passive:!0}),r.addEventListener(window,"resize",o)}return()=>r.dispose()}],562827);let nF=M.forwardRef(function(e,t){return M.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),M.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))});e.s(["CheckIcon",0,nF],914123)},751095,e=>{"use strict";var t='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',n="u"<typeof Element,r=n?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!n&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function(e,t){void 0===t&&(t=!0);var n,r=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&l(e.parentNode)},i=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},u=function(e,n,o){if(l(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(t));return n&&r.call(e,t)&&i.unshift(e),i=i.filter(o)},a=function(e,n,o){for(var i=[],u=Array.from(e);u.length;){var s=u.shift();if(!l(s,!1))if("SLOT"===s.tagName){var c=s.assignedElements(),d=a(c.length?c:s.children,!0,o);o.flatten?i.push.apply(i,d):i.push({scopeParent:s,candidates:d})}else{r.call(s,t)&&o.filter(s)&&(n||!e.includes(s))&&i.push(s);var f=s.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(s),p=!l(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(f&&p){var m=a(!0===f?s.children:f.children,!0,o);o.flatten?i.push.apply(i,m):i.push({scopeParent:s,candidates:m})}else u.unshift.apply(u,s.children)}}return i},s=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},c=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||i(e))&&!s(e)?0:e.tabIndex},d=function(e,t){var n=c(e);return n<0&&t&&!s(e)?0:n},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},m=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},h=function(e){if(!e.name)return!0;var t,n=e.form||o(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}
vendor: 2,931 bytes, line 5
5catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var l=m(t,e.form);return!l||l===e},v=function(e){return p(e)&&"radio"===e.type&&!h(e)},g=function(e){var t,n,r,l,i,u,a,s=e&&o(e),c=null==(t=s)?void 0:t.host,d=!1;if(s&&s!==e)for(d=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(l=e.ownerDocument)&&l.contains(e));!d&&c;)d=!!(null!=(u=c=null==(i=s=o(c))?void 0:i.host)&&null!=(a=u.ownerDocument)&&a.contains(c));return d},b=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},y=function(e,t){var n=t.displayCheck,l=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var i=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return b(e)}else{if("function"==typeof l){for(var u=e;e;){var a=e.parentElement,s=o(e);if(a&&!a.shadowRoot&&!0===l(a))return b(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=u}if(g(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},E=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!r.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1},w=function(e,t){return!(t.disabled||l(t)||p(t)&&"hidden"===t.type||y(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||E(t))},S=function(e,t){return!(v(t)||0>c(t))&&!!w(e,t)},T=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},C=function(e){var t=[],n=[];return e.forEach(function(e,r){var o=!!e.scopeParent,l=o?e.scopeParent:e,i=d(l,o),u=o?C(e.candidates):l;0===i?o?t.push.apply(t,u):t.push(l):n.push({documentOrder:r,tabIndex:i,item:e,isScope:o,content:u})}),n.sort(f).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)};e.s(["focusable",0,function(e,t){return(t=t||{}).getShadowRoot?a([e],t.includeContainer,{filter:w.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,w.bind(null,t))},"isTabbable",0,function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==r.call(e,t)&&S(n,e)},"tabbable",0,function(e,t){return C((t=t||{}).getShadowRoot?a([e],t.includeContainer,{filter:S.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:T}):u(e,t.includeContainer,S.bind(null,t)))}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.