1import{cx as j,a_ as A,am as P,aX as x,i as F,aA as $}from"./DxWSqd2v.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"92.1-production"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="80501d3e-87df-46d3-bcba-7b9a0e49835c",e._sentryDebugIdIdentifier="sentry-dbid-80501d3e-87df-46d3-bcba-7b9a0e49835c")}catch{}})();var g;let I=Symbol("headlessui.useid"),T=0;const ne=(g=j)!=null?g:function(){return A(I,()=>`${++T}`)()};function D(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function w(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,w),r}var k=Object.defineProperty,L=(e,t,n)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>(L(e,typeof t!="symbol"?t+"":t,n),n);class _{constructor(){E(this,"current",this.detect()),E(this,"currentId",0)}set(t){this.current!==t&&(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"}}let M=new _;function H(e){if(M.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=D(e);if(t)return t.ownerDocument}return document}let v=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var R=(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))(R||{}),U=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(U||{}),C=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(C||{});function W(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(v)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var K=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(K||{});function re(e,t=0){var n;return e===((n=H(e))==null?void 0:n.body)?!1:w(t,{0(){return e.matches(v)},1(){let r=e;for(;r!==null;){if(r.matches(v))return!0;r=r.parentElement}return!1}})}var G=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(G||{});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 oe(e){e?.focus({preventScroll:!0})}let V=["textarea","input"].join(",");function X(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,V))!=null?n:!1}function B(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),a=t(r);if(o===null||a===null)return 0;let i=o.compareDocumentPosition(a);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ie(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var a;let i=(a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?a:document,s=Array.isArray(e)?n?B(e):e:W(e);o.length>0&&s.length>1&&(s=s.filter(u=>!o.includes(u))),r=r??i.activeElement;let h=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=t&32?{preventScroll:!0}:{},f=0,p=s.length,c;do{if(f>=p||f+p<=0)return 0;let u=d+f;if(t&16)u=(u+p)%p;else{if(u<0)return 3;if(u>=p)return 1}c=s[u],c?.focus(m),f+=h}while(c!==i.activeElement);return t&6&&X(c)&&c.select(),2}var Y=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Y||{}),q=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(q||{});function z({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...o}
1){var a;let i=O(r,n),s=Object.assign(o,{props:i});if(e||t&2&&i.static)return y(s);if(t&1){let h=(a=i.unmount)==null||a?0:1;return w(h,{0(){return null},1(){return y({...o,props:{...i,hidden:!0,style:{display:"none"}}})}})}return y(s)}function y({props:e,attrs:t,slots:n,slot:r,name:o}){var a,i;let{as:s,...h}=J(e,["unmount","static"]),d=(a=n.default)==null?void 0:a.call(n,r),m={};if(r){let f=!1,p=[];for(let[c,u]of Object.entries(r))typeof u=="boolean"&&(f=!0),u===!0&&p.push(c);f&&(m["data-headlessui-state"]=p.join(" "))}if(s==="template"){if(d=N(d??[]),Object.keys(h).length>0||Object.keys(t).length>0){let[f,...p]=d??[];if(!Q(f)||p.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${o} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(h).concat(Object.keys(t)).map(l=>l.trim()).filter((l,b,S)=>S.indexOf(l)===b).sort((l,b)=>l.localeCompare(b)).map(l=>` - ${l}`).join(` 2`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(l=>` - ${l}`).join(` 3`)].join(` 4`));let c=O((i=f.props)!=null?i:{},h,m),u=P(f,c,!0);for(let l in c)l.startsWith("on")&&(u.props||(u.props={}),u.props[l]=c[l]);return u}return Array.isArray(d)&&d.length===1?d[0]:d}return x(s,Object.assign({},h,m),{default:()=>d})}function N(e){return e.flatMap(t=>t.type===F?N(t.children):[t])}function O(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](o,...a){let i=n[r];for(let s of i){if(o instanceof Event&&o.defaultPrevented)return;s(o,...a)}}});return t}function ae(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function J(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Q(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Z=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Z||{});let se=$({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:o,...a}=e,i={"aria-hidden":(o&2)===2?!0:(r=a["aria-hidden"])!=null?r:void 0,hidden:(o&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",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return z({ourProps:i,theirProps:a,slot:{},attrs:n,slots:t,name:"Hidden"})}}});var ee=(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))(ee||{});export{z as A,W as E,R as N,B as O,ie as P,oe as S,U as T,ae as a,Y as b,q as c,J as d,M as e,se as f,H as g,K as h,ne as i,ee as j,w as k,D as o,Z as u,re as w}; 5//# sourceMappingURL=Dy92zR-B.js.map
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.