1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ca5e0c29-bc12-5f98-9d20-abd7ee0fb1e9")}catch(e){}}(); 3import{s as e}from"./jsx-runtime-D4ePz0Hl.js";import{t}from"./react-BXH-GOAS.js";var n=e(t(),1),r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(i(e,typeof t==`symbol`?t:t+``,n),n),o=new class{constructor(){a(this,`current`,this.detect()),a(this,`handoffState`,`pending`),a(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 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`}},s=(e,t)=>{o.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)};function c(e){let t=(0,n.useRef)(e);return s(()=>{t.current=e},[e]),t}var l=function(e){let t=c(e);return n.useCallback((...e)=>t.current(...e),[t])};function u(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function d(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...e))},setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return u(()=>{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=d();return e(t),this.add(()=>t.dispose())},add(t){return 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 f(){let[e]=(0,n.useState)(d);return(0,n.useEffect)(()=>()=>e.dispose(),[e]),e}function p(){let e=typeof document>`u`;return`useSyncExternalStore`in n?(e=>e.useSyncExternalStore)(n)(()=>()=>{},()=>!1,()=>!e):!1}function m(){let e=p(),[t,r]=n.useState(o.isHandoffComplete);return t&&o.isHandoffComplete===!1&&r(!1),n.useEffect(()=>{t!==!0&&r(!0)},[t]),n.useEffect(()=>o.handoff(),[]),e?!1:t}var h=n.useId??function(){let e=m(),[t,r]=n.useState(e?()=>o.nextId():null);return s(()=>{t===null&&r(o.nextId())},[t]),t==null?void 0:``+t};function g(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?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,g),r}function _(e){return o.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty(`current`)&&e.current instanceof Node?e.current.ownerDocument:document}var 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(`,`),y=(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))(y||{}),b=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(b||{}),x=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(x||{});function S(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(v)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var C=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(C||{});function w(e,t=0){return e===_(e)?.body?!1:g(t,{0(){return e.matches(v)},1(){let t=e;for(;t!==null;){if(t.matches(v))return!0;t=t.parentElement}return!1}})}function ee(e){let t=_(e);d().nextFrame(()=>{t&&!w(t.activeElement,0)&&T(e)}
3)}var te=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(te||{});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 T(e){e?.focus({preventScroll:!0})}var E=[`textarea`,`input`].join(`,`);function D(e){return(e?.matches)?.call(e,E)??!1}function O(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function k(e,t){return A(S(),t,{relativeTo:e})}function A(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?O(e):e:S(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&D(f)&&f.select(),2}function j(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ne(){return/Android/gi.test(window.navigator.userAgent)}function M(){return j()||ne()}function N(e,t,r){let i=c(t);(0,n.useEffect)(()=>{function t(e){i.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)},[e,r])}function P(e,t,r){let i=c(t);(0,n.useEffect)(()=>{function t(e){i.current(e)}return window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r)},[e,r])}function F(e,t,r=!0){let i=(0,n.useRef)(!1);(0,n.useEffect)(()=>{requestAnimationFrame(()=>{i.current=r})},[r]);function a(n,r){if(!i.current||n.defaultPrevented)return;let a=r(n);if(a===null||!a.getRootNode().contains(a)||!a.isConnected)return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:e.current;if(t!=null&&t.contains(a)||n.composed&&n.composedPath().includes(t))return}return!w(a,C.Loose)&&a.tabIndex!==-1&&n.preventDefault(),t(n,a)}let o=(0,n.useRef)(null);N(`pointerdown`,e=>{i.current&&(o.current=e.composedPath?.call(e)?.[0]||e.target)},!0),N(`mousedown`,e=>{i.current&&(o.current=e.composedPath?.call(e)?.[0]||e.target)},!0),N(`click`,e=>{M()||(o.current&&=(a(e,()=>o.current),null))},!0),N(`touchend`,e=>a(e,()=>e.target instanceof HTMLElement?e.target:null),!0),P(`blur`,e=>a(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function I(...e){return(0,n.useMemo)(()=>_(...e),[...e])}var L=Symbol();function re(e,t=!0){return Object.assign(e,{[L]:t})}function ie(...e){let t=(0,n.useRef)(e);(0,n.useEffect)(()=>{t.current=e},[e]);let r=l(e=>{for(let n of t.current)n!=null&&(typeof n==`function`?n(e):n.current=e)});return e.every(e=>e==null||e?.[L])?void 0:r}function ae(e,t){let r=(0,n.useRef)([]),i=l(e);(0,n.useEffect)(()=>{let e=[...r.current];for(let[n,a]of t.entries())if(r.current[n]!==a){let n=i(t,e);return r.current=t,n}},[i,...t])}function R(...e){return Array.from(new Set(e.flatMap(e=>typeof e==`string`?e.split(` `):[]))).filter(Boolean).join(` `)}var z=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(z||{}),B=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(B||{});function V({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o,mergeRefs:s}){s??=U;let c=W(t,e);if(a)return H(c,n,r,o,s);let l=i??0;if(l&2){let{static:e=!1,...t}=c;if(e)return H(t,n,r,o,s)}if(l&1){let{unmount:e=!0,...t}=c;return g(+!e,{0(){return null},1(){return H({...t,hidden:!0,style:{display:`none`}},n,r,o,s)}})}return H(c,n,r,o,s)}function H(e,t={},r,i,a){let{as:o=r,children:s,refName:c=`ref`,...l}=q(e,[`unmount`,`static`]),u=e.ref===void 0?{}:{[c]:e.ref},d=typeof s==`function`?s(t):s;`className`in l&&l.className&&typeof l.className==`function`&&(l.className=l.className(t));let f={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))typeof i==`boolean`&&(e=!0),i===!0&&n.push(r);e&&(f[`data-headlessui-state`]=n.join(` `))}if(o===n.Fragment&&Object.keys(K(l)).length>0){if(!(0,n.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error([`Passing props on "Fragment"!`,``,`The current component <${i} /> is rendering a "Fragment".`,`However we need to passthrough the following props:`,Object.keys(l).map(e=>` - ${e}`).join(` 4`),``,`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(` 5`)].join(` 6`));let e=d.props,t=typeof e?.className==`function`?(...t)=>R(e?.className(...t),l.className):R(e?.className,l.className),r=t?{className:t}:{};return(0,n.cloneElement)(d,Object.assign({},W(d.props,K(q(l,[`ref`]))),f,u,{ref:a(d.ref,u.ref)},r))}return(0,n.createElement)(o,Object.assign({},q(l,[`ref`]),o!==n.Fragment&&u,o!==n.Fragment&&f),d)}function U(...e){return e.every(e=>e==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n==`function`?n(t):n.current=t)}}function W(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if((t instanceof Event||t?.nativeEvent instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function G(e){return Object.assign((0,n.forwardRef)(e),{displayName:e.displayName??e.name})}function K(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function q(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var oe=`div`,J=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(J||{});function se(e,t){let{features:n=1,...r}=e;return V({ourProps:{ref:t,"aria-hidden":(n&2)==2?!0:r[`aria-hidden`]??void 0,hidden:(n&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`,...(n&4)==4&&(n&2)!=2&&{display:`none`}}},theirProps:r,slot:{},defaultTag:oe,name:`Hidden`})}var ce=G(se),Y=(0,n.createContext)(null);Y.displayName=`OpenClosedContext`;var X=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(X||{});function le(){return(0,n.useContext)(Y)}function Z({value:e,children:t}){return n.createElement(Y.Provider,{value:e},t)}function ue(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Q=[];ue(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Q[0]!==e.target&&(Q.unshift(e.target),Q=Q.filter(e=>e!=null&&e.isConnected),Q.splice(10))}window.addEventListener(`click`,e,{capture:!0}),window.addEventListener(`mousedown`,e,{capture:!0}),window.addEventListener(`focus`,e,{capture:!0}),document.body.addEventListener(`click`,e,{capture:!0}),document.body.addEventListener(`mousedown`,e,{capture:!0}),document.body.addEventListener(`focus`,e,{capture:!0})});function de(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=t?.getAttribute(`disabled`)===``;return r&&fe(n)?!1:r}function fe(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}var $=(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))($||{});export{w as A,c as B,ee as C,A as D,b as E,m as F,o as H,f as I,d as L,_ as M,g as N,C as O,h as P,u as R,j as S,y as T,s as V,ie as _,Z as a,P as b,ce as c,G as d,B as f,re as g,ae as h,X as i,T as j,k,V as l,R as m,de as n,le as o,K as p,Q as r,J as s,$ as t,z as u,I as v,O as w,M as x,F as y,l as z}; 7//# sourceMappingURL=keyboard-WQ8K8_a3.js.map 8//# debugId=ca5e0c29-bc12-5f98-9d20-abd7ee0fb1e9
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.