vendor: 10,504 bytes, lines 1-4
1import{r as c,R}from"./chunk-EPOLDU6W-CnRXeO-J.js";var U=Object.defineProperty,_=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t,n)=>(_(e,typeof t!="symbol"?t+"":t,n),n);let C=class{constructor(){F(this,"current",this.detect()),F(this,"handoffState","pending"),F(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}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"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},j=new C;function H(e){var t;return j.isServer?null:e==null?document:(t=e==null?void 0:e.ownerDocument)!=null?t:document}function A(e){var t,n;return j.isServer?null:e==null?document:(n=(t=e==null?void 0:e.getRootNode)==null?void 0:t.call(e))!=null?n:document}function x(e){var t,n;return(n=(t=A(e))==null?void 0:t.activeElement)!=null?n:null}function Ne(e){return x(e)===e}function K(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function T(){let e=[],t={addEventListener(n,r,u,o){return n.addEventListener(r,u,o),t.add(()=>n.removeEventListener(r,u,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return K(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,u){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:u}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=T();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let u of e.splice(r,1))u()}},dispose(){for(let n of e.splice(0))n()}};return t}function we(){let[e]=c.useState(T);return c.useEffect(()=>()=>e.dispose(),[e]),e}let L=(e,t)=>{j.isServer?c.useEffect(e,t):c.useLayoutEffect(e,t)};function q(e){let t=c.useRef(e);return L(()=>{t.current=e},[e]),t}let G=function(e){let t=q(e);return R.useCallback((...n)=>t.current(...n),[t])};function Ae(e){return c.useMemo(()=>e,Object.values(e))}function I(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function P(e,t,...n){if(e in t){let u=t[e];return typeof u=="function"?u(...n):u}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(u=>`"${u}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,P),r}var V=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(V||{}),W=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(W||{});function B(){let e=Y();return c.useCallback(t=>X({mergeRefs:e,...t}),[e])}function X({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:u,visible:o=!0,name:a,mergeRefs:m}){m=m??z;let l=M(t,e);if(o)return N(l,n,r,a,m);let h=u??0;if(h&2){let{static:i=!1,...s}=l;if(i)return N(s,n,r,a,m)}if(h&1){let{unmount:i=!0,...s}=l;return P(i?0:1,{0(){return null},1(){return N({...s,hidden:!0,style:{display:"none"}},n,r,a,m)}})}return N(l,n,r,a,m)}function N(e,t={},n,r,u){let{as:o=n,children:a,refName:m="ref",...l}=O(e,["unmount","static"]),h=e.ref!==void 0?{[m]:e.ref}:{},i=typeof a=="function"?a(t):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let s={};if(t){let f=!1,d=[];for(let[p,g]of Object.entries(t))typeof g=="boolean"&&(f=!0),g===!0&&d.push(p.replace(/([A-Z])/g,E=>`-${E.toLowerCase()}`));if(f){s["data-headlessui-state"]=d.join(" ");for(let p of d)s[`data-${p}`]=""}}if(w(o)&&(Object.keys(y(l)).length>0||Object.keys(y(s)).length>0))if(!c.isValidElement(i)||Array.isArray(i)&&i.length>1||Z(i)){if(Object.keys(y(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(y(l)).concat(Object.keys(y(s))).map(f=>` - ${f}`).join(` 2`),"","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(f=>` - ${f}`).join(` 3`)].join(` 4`))}else{let f=i.props,d=f==null?void 0:f.className,p=typeof d=="function"?(...v)=>I(d(...v),l.className):I(d,l.className),g=p?{className:p}:{},E=M(i.props,y(O(l,["ref"])));for(let v in s)v in E&&delete s[v];return c.cloneElement(i,Object.assign({},E,s,h,{ref:u(Q(i),h.ref)},g))}return c.createElement(o,Object.assign({},O(l,["ref"]),!w(o)&&h,!w(o)&&s),i)}function Y(){let e=c.useRef([]),t=c.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function z(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function M(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let u in r)u.startsWith("on")&&typeof r[u]=="function"?(n[u]!=null||(n[u]=[]),n[u].push(r[u])):t[u]=r[u];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[u=>{var o;return(o=u==null?void 0:u.preventDefault)==null?void 0:o.call(u)}]);for(let r in n)Object.assign(t,{[r](u,...o){let a=n[r];for(let m of a){if((u instanceof Event||(u==null?void 0:u.nativeEvent)instanceof Event)&&u.defaultPrevented)return;m(u,...o)}}});return t}function Se(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let u in r)u.startsWith("on")&&typeof r[u]=="function"?(n[u]!=null||(n[u]=[]),n[u].push(r[u])):t[u]=r[u];for(let r in n)Object.assign(t,{[r](...u){let o=n[r];for(let a of o)a==null||a(...u)}});return t}function J(e){var t;return Object.assign(c.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function y(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function O(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Q(e){return R.version.split(".")[0]>="19"?e.props.ref:e.ref}function w(e){return e===c.Fragment||e===Symbol.for("react.fragment")}function Z(e){return w(e.type)}let ee="span";var te=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(te||{});function ne(e,t){var n;let{features:r=1,...u}=e,o={ref:t,"aria-hidden":(r&2)===2?!0:(n=u["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0: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",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return B()({ourProps:o,theirProps:u,slot:{},defaultTag:ee,name:"Hidden"})}let Fe=J(ne);function re(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function S(e){return re(e)&&"tagName"in e}function b(e){return S(e)&&"accessKey"in e}function ue(e){return S(e)&&"tabIndex"in e}function Oe(e){return S(e)&&"style"in e}function $e(e){return b(e)&&e.nodeName==="IFRAME"}function je(e){return b(e)&&e.nodeName==="INPUT"}function xe(e){return b(e)&&e.nodeName==="LABEL"}function Te(e){return b(e)&&e.nodeName==="FIELDSET"}function Pe(e){return b(e)&&e.nodeName==="LEGEND"}function Ie(e){return S(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let k=Symbol();function Re(e,t=!0){return Object.assign(e,{[k]:t})}function Le(...e){let t=c.useRef(e);c.useEffect(()=>{t.current=e},[e]);let n=G(r=>{for(let u of t.current)u!=null&&(typeof u=="function"?u(r):u.current=r)});return e.every(r=>r==null||(r==null?void 0:r[k]))?void 0:n}var oe=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(oe||{});let $=["[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(","),ae=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var le=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(le||{}),ie=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ie||{}),se=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(se||{});function D(e=document.body){return e==null?[]:Array.from(e.querySelectorAll($)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function fe(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ae)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var ce=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(ce||{});function de(e,t=0){var n;return e===((n=H(e))==null?void 0:n.body)?!1:P(t,{0(){return e.matches($)},1(){let r=e;for(;r!==null;){if(r.matches($))return!0;r=r.parentElement}return!1}})}function Me(e){T().nextFrame(()=>{let t=x(e);t&&ue(t)&&!de(t,0)&&pe(e)})}var me=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(me||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function pe(e){e==null||e.focus({preventScroll:!0})}let he=["textarea","input"].join(",");function ye(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,he))!=null?n:!1}
4function be(e,t=n=>n){return e.slice().sort((n,r)=>{let u=t(n),o=t(r);if(u===null||o===null)return 0;let a=u.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ke(e,t,n=e===null?document.body:A(e)){return ge(D(n),t,{relativeTo:e})}function ge(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:u=[]}={}){let o=Array.isArray(e)?e.length>0?A(e[0]):document:A(e),a=Array.isArray(e)?n?be(e):e:t&64?fe(e):D(e);u.length>0&&a.length>1&&(a=a.filter(d=>!u.some(p=>p!=null&&"current"in p?(p==null?void 0:p.current)===d:p===d))),r=r??(o==null?void 0:o.activeElement);let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=t&32?{preventScroll:!0}:{},i=0,s=a.length,f;do{if(i>=s||i+s<=0)return 0;let d=l+i;if(t&16)d=(d+s)%s;else{if(d<0)return 3;if(d>=s)return 1}f=a[d],f==null||f.focus(h),i+=m}while(f!==x(f));return t&6&&ye(f)&&f.select(),2}function De(){let e=c.useRef(!1);return L(()=>(e.current=!0,()=>{e.current=!1}),[]),e}export{V as A,re as B,Re as C,w as D,Pe as E,Me as F,be as G,de as H,ce as I,D as J,B as K,Ie as L,A as M,j as N,$e as O,Oe as P,$ as Q,ke as R,W as S,le as T,I as U,Se as V,J as Y,L as a,b,T as c,Ne as d,oe as e,Fe as f,te as g,De as h,K as i,ue as j,ie as k,H as l,y as m,Ae as n,G as o,we as p,Te as q,xe as r,q as s,S as t,P as u,ge as v,pe as w,je as x,Le as y,x as z};
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.