1import{$ as e,E as t,H as n,Mt as r,Ot as i,St as a,Tt as o,bt as s,ft as c,kt as l,pt as ee,rt as u,st as d,tt as f,wt as p}from"./index-client.1176HqmK.chunk.js";import{t as m}from"./esm.BG__Snej.chunk.js";function h(e){return typeof e==`function`}function g(e){return typeof e==`object`&&!!e}var _=[`string`,`number`,`bigint`,`boolean`];function v(e){return e==null||_.includes(typeof e)?!0:Array.isArray(e)?e.every(e=>v(e)):typeof e==`object`&&Object.getPrototypeOf(e)===Object.prototype}var y=Symbol(`box`),b=Symbol(`is-writable`);function x(e,t){let n=o(e);return t?{[y]:!0,[b]:!0,get current(){return u(n)},set current(e){t(e)}}:{[y]:!0,get current(){return e()}}}function S(e){return g(e)&&y in e}function C(e){return S(e)&&b in e}function w(e){return S(e)?e:h(e)?x(e):T(e)}function te(e){return Object.entries(e).reduce((e,[t,n])=>S(n)?(C(n)?Object.defineProperty(e,t,{get(){return n.current},set(e){n.current=e}}):Object.defineProperty(e,t,{get(){return n.current}}),e):Object.assign(e,{[t]:n}),{})}function ne(e){return C(e)?{[y]:!0,get current(){return e.current}}:e}function T(e){let t=p(s(e));return{[y]:!0,[b]:!0,get current(){return u(t)},set current(e){a(t,e,!0)}}}function E(...e){return function(t){for(let n of e)if(n){if(t.defaultPrevented)return;typeof n==`function`?n.call(this,t):n.current?.call(this,t)}}}var D=/\d/,O=[`-`,`_`,`/`,`.`];function k(e=``){if(!D.test(e))return e!==e.toLowerCase()}function A(e){let t=[],n=``,r,i;for(let a of e){let e=O.includes(a);if(e===!0){t.push(n),n=``,r=void 0;continue}let o=k(a);if(i===!1){if(r===!1&&o===!0){t.push(n),n=a,r=o;continue}if(r===!0&&o===!1&&n.length>1){let e=n.at(-1);t.push(n.slice(0,Math.max(0,n.length-1))),n=e+a,r=o;continue}}n+=a,r=o,i=e}return t.push(n),t}function j(e){return e?A(e).map(e=>N(e)).join(``):``}function M(e){return P(j(e||``))}function N(e){return e?e[0].toUpperCase()+e.slice(1):``}function P(e){return e?e[0].toLowerCase()+e.slice(1):``}function F(e){if(!e)return{};let t={};function n(e,n){if(e.startsWith(`-moz-`)||e.startsWith(`-webkit-`)||e.startsWith(`-ms-`)||e.startsWith(`-o-`)){t[j(e)]=n;return}if(e.startsWith(`--`)){t[e]=n;return}t[M(e)]=n}return m(e,n),t}function I(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function L(e,t){let n=RegExp(e,`g`);return e=>{if(typeof e!=`string`)throw TypeError(`expected an argument of type string, but got ${typeof e}`);return e.match(n)?e.replace(n,t):e}}var R=L(/[A-Z]/,e=>`-${e.toLowerCase()}`);function z(e){if(!e||typeof e!=`object`||Array.isArray(e))throw TypeError(`expected an argument of type object, but got ${typeof e}`);return Object.keys(e).map(t=>`${R(t)}: ${e[t]};`).join(` 2`)}function B(e={}){return z(e).replace(` 3`,` `)}var V=new Set(`onabort.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onauxclick.onbeforeinput.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncompositionend.oncompositionstart.oncompositionupdate.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onfocusin.onfocusout.onformdata.ongotpointercapture.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onload.onloadeddata.onloadedmetadata.onloadstart.onlostpointercapture.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onpaste.onpause.onplay.onplaying.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointermove.onpointerout.onpointerover.onpointerup.onprogress.onratechange.onreset.onresize.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectionchange.onselectstart.onslotchange.onstalled.onsubmit.onsuspend.ontimeupdate.ontoggle.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onvolumechange.onwaiting.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkittransitionend.onwheel`.split(`.`));function H(e){return V.has(e)}function U(...e){let n={...e[0]};for(let r=1;r<e.length;r++){let i=e[r];if(i){for(let e of Object.keys(i)){let r=n[e],a=i[e],o=typeof r==`function`,s=typeof a==`function`;if(o&&typeof s&&H(e))n[e]=E(r,a);else if(o&&s)n[e]=I(r,a);else if(e===`class`){let i=v(r),o=v(a);i&&o?n[e]=t(r,a):i?n[e]=t(r):o&&(n[e]=t(a))}else if(e===`style`){let t=typeof r==`object`,i=typeof a==`object`,o=typeof r==`string`,s=typeof a==`string`;if(t&&i)n[e]={...r,...a};else if(t&&s){let t=F(a);n[e]={...r,...t}}else if(o&&i)n[e]={...F(r),...a};else if(o&&s){let t=F(r),i=F(a);n[e]={...t,...i}}else t?n[e]=r:i?n[e]=a:o?n[e]=r:s&&(n[e]=a)}else n[e]=a===void 0?r:a}for(let e of Object.getOwnPropertySymbols(i)){let t=n[e],r=i[e];n[e]=r===void 0?t:r}}}return typeof n.style==`object`&&(n.style=B(n.style).replaceAll(` 4`,` `)),n.hidden===!1&&(n.hidden=void 0,delete n.hidden),n.disabled===!1&&(n.disabled=void 0,delete n.disabled),n}var W=typeof window<`u`?window:void 0;typeof window<`u`&&window.document,typeof window<`u`&&window.navigator,typeof window<`u`&&window.location;function G(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}new class{#e;#t;constructor(t={}){let{window:r=W,document:i=r?.document}=t;r!==void 0&&(this.#e=i,this.#t=n(t=>{let n=e(r,`focusin`,t),i=e(r,`focusout`,t);return()=>{n(),i()}}))}get current(){return this.#t?.(),this.#e?G(this.#e):null}};function K(e){return typeof e==`function`}var q=class{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return l(this.#t)}get(){let e=i(this.#t);if(e===void 0)throw Error(`Context "${this.#e}" not found`);return e}getOr(e){let t=i(this.#t);return t===void 0?e:t}set(e){return r(this.#t,e)}};function J(e,t){switch(e){case`post`:c(t);break;case`pre`:ee(t)}}function Y(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;J(t,()=>{let t=Array.isArray(e)?e.map(e=>e()):e();if(!a){a=!0,o=t;return}let r=d(()=>n(t,o));return o=t,r})}
4function X(e,t,n){Y(e,`post`,t,n)}function Z(e,t,n){Y(e,`pre`,t,n)}X.pre=Z;function Q(e){return K(e)?e():e}var re=class{#e={width:0,height:0};#t=!1;#n;#r;#i;#a=o(()=>(u(this.#s)?.(),this.getSize().width));#o=o(()=>(u(this.#s)?.(),this.getSize().height));#s=o(()=>{let e=Q(this.#r);if(e)return n(t=>{if(!this.#i)return;let n=new this.#i.ResizeObserver(e=>{this.#t=!0;for(let t of e){let e=this.#n.box===`content-box`?t.contentBoxSize:t.borderBoxSize,n=Array.isArray(e)?e:[e];this.#e.width=n.reduce((e,t)=>Math.max(e,t.inlineSize),0),this.#e.height=n.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return n.observe(e),()=>{this.#t=!1,n.disconnect()}})});constructor(e,t={box:`border-box`}){this.#i=t.window??W,this.#n=t,this.#r=e,this.#e={width:0,height:0}}calculateSize(){let e=Q(this.#r);if(!e||!this.#i)return;let t=e.offsetWidth,n=e.offsetHeight;if(this.#n.box===`border-box`)return{width:t,height:n};let r=this.#i.getComputedStyle(e),i=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),a=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),o=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),s=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth);return{width:t-i-o,height:n-a-s}}getSize(){return this.#t?this.#e:this.calculateSize()??this.#e}get current(){return u(this.#s)?.(),this.getSize()}get width(){return u(this.#a)}get height(){return u(this.#o)}},ie=class{#e=()=>void 0;#t=o(()=>this.#e());constructor(e,t){let n;t!==void 0&&(n=t),this.#e=()=>{try{return n}finally{n=e()}}}get current(){return u(this.#t)}};function ae(e,t){return{[f()]:n=>S(e)?(e.current=n,d(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e.current=null,t?.(null))}):(e(n),d(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e(null),t?.(null))})}}function oe(e){return e?`true`:`false`}function se(e){return e?`true`:void 0}function ce(e){return e?``:void 0}function le(e){return e?!0:void 0}function ue(e){return e?`open`:`closed`}function de(e){return e?`checked`:`unchecked`}function fe(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}function pe(e,t){return t?`mixed`:e?`true`:`false`}var me=class{#e;#t;attrs;constructor(e){this.#e=e.getVariant?e.getVariant():null,this.#t=this.#e?`data-${this.#e}-`:`data-${e.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${this.#t}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function he(e){let t=new me(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var ge=`ArrowDown`,_e=`ArrowLeft`,ve=`ArrowRight`,ye=`ArrowUp`,be=`CapsLock`,$=`Control`,xe=`Enter`,Se=`Escape`,Ce=`Home`,we=`Meta`,Te=`PageDown`,Ee=`PageUp`,De=`Shift`;function Oe(){}function ke(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}export{U as A,C as B,ue as C,re as D,ie as E,y as F,T as H,te as I,w as L,I as M,F as N,X as O,E as P,x as R,de as S,ae as T,ne as U,b as V,g as W,oe as _,ve as a,he as b,$ as c,Ce as d,we as f,ce as g,De as h,_e as i,B as j,q as k,xe as l,Ee as m,Oe as n,ye as o,Te as p,ge as r,be as s,ke as t,Se as u,se as v,fe as w,pe as x,le as y,S 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.