vendor: 5,238 bytes, line 1
1import{I as e,W as t,_t as n,d as r,f as i,h as a,it as o}from"./CVFO16Vr.js";import{c as s,s as c}from"./DKpHEvin.js";function l(e,n){return t(),a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"stroke-width":`1.5`,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`},[i(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 18 18 6M6 6l12 12`})])}var u=Object.defineProperty,d=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t,n)=>(d(e,typeof t==`symbol`?t:t+``,n),n),p=new class{constructor(){f(this,`current`,this.detect()),f(this,`currentId`,0)}set(e){this.current!==e&&(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`}};function m(e){if(p.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=s(e);if(t)return t.ownerDocument}return document}var h=[`[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(`,`),g=(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))(g||{}),_=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(_||{}),v=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(v||{});function y(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(h)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var b=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(b||{});function x(e,t=0){return e!==m(e)?.body&&c(t,{0(){return e.matches(h)},1(){let t=e;for(;t!==null;){if(t.matches(h))return!0;t=t.parentElement}return!1}})}function S(t){let n=m(t);e(()=>{n&&!x(n.activeElement,0)&&w(t)})}var C=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(C||{});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 w(e){e?.focus({preventScroll:!0})}var T=[`textarea`,`input`].join(`,`);function E(e){return(e?.matches)?.call(e,T)??!1}function D(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 O(e,t){return k(y(),t,{relativeTo:e})}function k(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?D(e):e:y(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&&E(f)&&f.select(),2}function A(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function j(){return/Android/gi.test(window.navigator.userAgent)}function M(){return A()||j()}function N(e,t,n){p.isServer||o(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function P(e,t,n){p.isServer||o(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function F(e,t,i=r(()=>!0)){function a(n,r){if(!i.value||n.defaultPrevented)return;let a=r(n);if(a===null||!a.getRootNode().contains(a))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:s(e);if(t!=null&&t.contains(a)||n.composed&&n.composedPath().includes(t))return}return!x(a,b.Loose)&&a.tabIndex!==-1&&n.preventDefault(),t(n,a)}let o=n(null);N(`pointerdown`,e=>{i.value&&(o.value=e.composedPath?.call(e)?.[0]||e.target)},!0),N(`mousedown`,e=>{i.value&&(o.value=e.composedPath?.call(e)?.[0]||e.target)},!0),N(`click`,e=>{M()||(o.value&&=(a(e,()=>o.value),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)}export{D as a,_ as c,O as d,x as f,l as h,g as i,S as l,p as m,P as n,k as o,m as p,A as r,w as s,F as t,b as u};
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.