1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7304],{28346:(e,t,r)=>{let n,o;r.d(t,{Z:()=>ti});var i,a,s,l=r(12115),[u,d]=function(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=l.createContext(void 0);return o.displayName=n,[o.Provider,function e(){var n;let i=l.useContext(o);if(!i&&t){let t=Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return i},o]}({name:"ProviderContext",strict:!1}),c=e=>e?"true":void 0;function f(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}var p=new Map;function g(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=f(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=function(...e){for(var t,r,n=0,o="";n<e.length;)(t=e[n++])&&(r=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}(t))&&(o&&(o+=" "),o+=r);return o}(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=p.get(e);if(r)return r.forEach(e=>e.current=t),t;let n=p.get(t);return n?(n.forEach(t=>t.current=e),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}var v=(null==globalThis?void 0:globalThis.document)?l.useLayoutEffect:l.useEffect;function b(){let e=(0,l.useRef)(new Map),t=(0,l.useCallback)((t,r,n,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:i,options:o}),t.addEventListener(r,i,o)},[]),r=(0,l.useCallback)((t,r,n,o)=>{var i;let a=(null==(i=e.current.get(n))?void 0:i.fn)||n;t.removeEventListener(r,a,o),e.current.delete(n)},[]),n=(0,l.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,l.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}let y=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},m=e=>e&&"window"in e&&e.window===e?e:y(e).defaultView||window;function h(e,t){return!!t&&!!e&&e.contains(t)}function E(e){return e.target}let w=!1,T=0;function P(e){"touch"===e.pointerType&&(w=!0,setTimeout(()=>{w=!1},50))}function k(){if("u">typeof document)return 0===T&&"u">typeof PointerEvent&&document.addEventListener("pointerup",P),T++,()=>{!(--T>0)&&"u">typeof PointerEvent&&document.removeEventListener("pointerup",P)}}var C=r(57461),L=r(77405),x=r(65674);function M(...e){return(0,x.a0)(...e)({twMergeConfig:L.w})}function S(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"u">typeof window&&window.document&&window.document.createElement;let A=new Map;function F(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}"u">typeof FinalizationRegistry&&new FinalizationRegistry(e=>{A.delete(e)});var O=r(29722);function K(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=S(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,O.A)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=A.get(e);if(r)return r.forEach(e=>e.current=t),t;let n=A.get(t);return n?(n.forEach(t=>t.current=e),e):t}(r,o):"ref"===e&&r&&o?t.ref=function(...e){return 1===e.length&&e[0]?e[0]:t=>{let r=!1,n=e.map(e=>{let n=F(e,t);return r||(r="function"==typeof n),n});if(r)return()=>{n.forEach((t,r)=>{"function"==typeof t?t():F(e[r],null)})}}}(r,o):t[e]=void 0!==o?o:r}}return t}let D=new Set(["id"]),H=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),I=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),N=new Set(["dir","lang","hidden","inert","translate"]),j=new Set(["onClick","onAuxCl
1ick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),R=/^(data-.*)$/,V="u">typeof document?l.useLayoutEffect:()=>{},G=null!=(a=l.useInsertionEffect)?a:V;function W(e){let t=(0,l.useRef)(null);return G(()=>{t.current=e},[e]),(0,l.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}let U="u">typeof Element&&"checkVisibility"in Element.prototype,z=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],B=z.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";function $(e){if(function(){if(null==_){_=!1;try{document.createElement("div").focus({get preventScroll(){return _=!0,!0}})}catch{}}return _}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}z.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),z.join(':not([hidden]):not([tabindex="-1"]),');let _=null;function Y(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}let X=!1;function q(e){var t;if("u"<typeof window||null==window.navigator)return!1;let r=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(r)&&r.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function J(e){var t;return"u">typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function Q(e){let t=null;return()=>(null==t&&(t=e()),t)}let Z=Q(function(){return J(/^Mac/i)}),ee=Q(function(){return J(/^iPhone/i)}),et=Q(function(){return J(/^iPad/i)||Z()&&navigator.maxTouchPoints>1}),er=Q(function(){return ee()||et()});Q(function(){return Z()||er()});let en=Q(function(){return q(/AppleWebKit/i)&&!eo()}),eo=Q(function(){return q(/Chrome/i)}),ei=Q(function(){return q(/Android/i)}),ea=Q(function(){return q(/Firefox/i)}),es=new Map,el=new Set;function eu(){if("u"<typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=es.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),es.delete(r.target)),0===es.size)){for(let e of el)e();el.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=es.get(r.target);n||(n=new Set,es.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function ed(e){requestAnimationFrame(()=>{for(let[e]of es)"isConnected"in e&&!e.isConnected&&es.delete(e);0===es.size?e():el.add(e)})}"u">typeof document&&("loading"!==document.readyState?eu():document.addEventListener("DOMContentLoaded",eu));let ec="default",ef="",ep=new WeakMap;function eg(e){if(er())"disabled"===ec&&(ec="restoring",setTimeout(()=>{ed(()=>{if("restoring"===ec){let t=y(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=ef||""),ef="",ec="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&ep.has(e)){let t=ep.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[r]&&(e.style[r]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),ep.delete(e)}}let ev=l.createContext({register:()=>{}});function eb(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ey(e,t,r){var n=eb(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function em(e,t){V(()=>
1{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function eh(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;ea()&&(null==(o=window.event)||null==(n=o.type)?void 0:n.startsWith("key"))&&"_blank"===e.target&&(Z()?i=!0:a=!0);let u=en()&&Z()&&!et()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,detail:1,bubbles:!0,cancelable:!0});eh.isOpening=r,$(e),e.dispatchEvent(u),eh.isOpening=!1}function eE(e){return""===e.pointerType&&!!e.isTrusted||(ei()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}ev.displayName="PressResponderContext",eh.isOpening=!1,r(47650);var ew=new WeakMap;class eT{continuePropagation(){ey(this,ew,!1)}get shouldStopPropagation(){var e;return e=eb(this,ew,"get"),e.get?e.get.call(this):e.value}constructor(e,t,r,n){var o;!function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,ew,{writable:!0,value:void 0}),ey(this,ew,!0);let i=null!=(o=null==n?void 0:n.target)?o:r.currentTarget;const a=null==i?void 0:i.getBoundingClientRect();let s,l=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=l,this.key=r.key}}let eP=Symbol("linkClicked"),ek="react-aria-pressable-style",eC="data-react-aria-pressable";function eL(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,onClick:a,isDisabled:s,isPressed:u,preventFocusOnPress:d,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:f,ref:p,...g}=function(e){let t=(0,l.useContext)(ev);if(t){let{register:r,ref:n,...o}=t;e=K(o,e),r()}return em(t,e.ref),e}(e),[v,w]=(0,l.useState)(!1),T=(0,l.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:P,removeAllGlobalListeners:k,removeGlobalListener:C}=b(),L=(0,l.useCallback)((e,t)=>{let o=T.current;if(s||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,n){let r=new eT("pressstart",t,e);n(r),i=r.shouldStopPropagation}return r&&r(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,w(!0),i},[s,n,r]),x=(0,l.useCallback)((e,n,i=!0)=>{let a=T.current;if(!a.didFirePressStart)return!1;a.didFirePressStart=!1,a.isTriggeringEvent=!0;let l=!0;if(o){let t=new eT("pressend",n,e);o(t),l=t.shouldStopPropagation}if(r&&r(!1),w(!1),t&&i&&!s){let r=new eT("press",n,e);t(r),l&&(l=r.shouldStopPropagation)}return a.isTriggeringEvent=!1,l},[s,o,r,t]),M=W(x),A=(0,l.useCallback)((e,t)=>{let r=T.current;if(s)return!1;if(i){r.isTriggeringEvent=!0;let n=new eT("pressup",t,e);return i(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0},[s,i]),F=W(A),O=(0,l.useCallback)(e=>{let t=T.current;if(t.isPressed&&t.target){for(let r of(t.didFirePressStart&&null!=t.pointerType&&x(eS(t.target,e),t.pointerType,!1),t.isPressed=!1,_(null),t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,k(),f||eg(t.target),t.disposables))r();t.disposables=[]}},[f,k,x]),D=W(O),H=(0,l.useCallback)(e=>{c&&O(e)},[c,O]),I=(0,l.useCallback)(e=>{s||null==a||a(e)},[s,a]),N=(0,l.useCallback)((e,t)=>{if(!s&&a){let r=new MouseEvent("click",e);Object.defineProperty(r,"target",{value:t}),Object.defineProperty(r,"currentTarget",{value:t}),a(Y(r))}},[s,a]),j=W(N),[R,G]=(0,l.useState)(!1);V(()=>{let e=T.current;if(R){let t=e.target,r=S(r=>{t&&eM(r,t)&&!r.repeat&&h(t,E(r))&&e.target&&F(eS(e.target,r),"keyboard")},t=>{var r,n,o;if(e.isPressed&&e.target&&eM(t,e.target)){eA(E(t),t.key)&&t.preventDefault();let r=E(t),o=h(e.target,E(t));M(eS(e.target,t),"keyboard",o),o&&j(t,e.target),k(),"Enter"!==t.key&&ex(e.target)&&h(e.target,r)&&!t[eP]&&(t[eP]=!0,eh(e.target,t,!1)),e.isPressed=!1,G(!1),null==(n=e.metaKeyEvents)||n.delete(t.key)}else if("Meta"===t.key&&(null==(r=e.metaKeyEvents)?void 0:r.size)){let t=e.metaKeyEvents;
1for(let r of(e.metaKeyEvents=void 0,t.values()))null==(o=e.target)||o.dispatchEvent(new KeyboardEvent("keyup",r))}});return P(y(e.target),"keyup",r,!0),()=>{C(y(e.target),"keyup",r,!0)}}},[R,P,k,C]);let[z,_]=(0,l.useState)(null);V(()=>{let e=T.current;if("pointer"===z){let t=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if(h(e.target,E(t))&&null!=e.pointerType){let r=!1,n=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(r?D(t):($(e.target),e.target.click()))},80);P(t.currentTarget,"click",()=>r=!0,!0),e.disposables.push(()=>clearTimeout(n))}else D(t);e.isOverTarget=!1}},r=e=>{D(e)};return P(y(e.target),"pointerup",t,!1),P(y(e.target),"pointercancel",r,!1),()=>{C(y(e.target),"pointerup",t,!1),C(y(e.target),"pointercancel",r,!1)}}},[z,P,C]);let q=(0,l.useMemo)(()=>{let e=T.current,t={onKeyDown(t){if(eM(t.nativeEvent,t.currentTarget)&&h(t.currentTarget,E(t.nativeEvent))){var r;eA(E(t.nativeEvent),t.key)&&t.preventDefault();let n=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,G(!0),e.pointerType="keyboard",n=L(t,"keyboard")),n&&t.stopPropagation(),t.metaKey&&Z()&&(null==(r=e.metaKeyEvents)||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||h(t.currentTarget,E(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!eh.isOpening){let r=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||eE(t.nativeEvent))){let e=L(t,"virtual"),n=A(t,"virtual"),o=x(t,"virtual");I(t),r=e&&n&&o}else if(e.isPressed&&"keyboard"!==e.pointerType){let n=e.pointerType||t.nativeEvent.pointerType||"virtual",o=A(eS(t.currentTarget,t),n),i=x(eS(t.currentTarget,t),n,!0);r=o&&i,e.isOverTarget=!1,I(t),O(t)}e.ignoreEmulatedMouseEvents=!1,r&&t.stopPropagation()}}};return"u">typeof PointerEvent&&(t.onPointerDown=t=>{var r;if(0!==t.button||!h(t.currentTarget,E(t.nativeEvent)))return;if(r=t.nativeEvent,!ei()&&0===r.width&&0===r.height||1===r.width&&1===r.height&&0===r.pressure&&0===r.detail&&"mouse"===r.pointerType){e.pointerType="virtual";return}e.pointerType=t.pointerType;let n=!0;if(!e.isPressed){e.isPressed=!0,_("pointer"),e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,f||function(e){if(er()){if("default"===ec){let t=y(e);ef=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ec="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";ep.set(e,e.style[t]),e.style[t]="none"}}(e.target),n=L(t,e.pointerType);let r=E(t.nativeEvent);"releasePointerCapture"in r&&("hasPointerCapture"in r?r.hasPointerCapture(t.pointerId)&&r.releasePointerCapture(t.pointerId):r.releasePointerCapture(t.pointerId))}n&&t.stopPropagation()},t.onMouseDown=t=>{if(h(t.currentTarget,E(t.nativeEvent))&&0===t.button){if(d){let r=function(e){for(var t;e&&!((t=e).matches(B)&&function e(t,r){return U?t.checkVisibility({visibilityProperty:!0})&&!t.closest("[data-react-aria-prevent-focus]"):"#comment"!==t.nodeName&&function(e){let t=m(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o="none"!==r&&"hidden"!==n&&"collapse"!==n;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n}=t(e);o="none"!==r&&"hidden"!==n&&"collapse"!==n}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!r||"SUMMARY"===r.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(t)&&!function(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}(t));)e=e.parentElement;let r=m(e),n=r.document.activeElement;if(!n||n===e)return;X=!0;let o=!1,i=e=>{(e.target===n||o)&&e.stopImmediatePropagation()},a=t=>{(t.target===n||o)&&(t.stopImmediatePropagation(),e||o||(o=!0,$(n),u()))},s=t=>{(t.target===e||o)&&t.stopImmediatePropagation()},l=t=>{(t.target===e||o)&&(t.stopImmediatePropagation(),o||(o=!0,$(n),u()))};r.addEventListener("blur",i,!0),r.addEventListener("focusout",a,!0),r.addEventListener("focusin",l,!0),r.addEventListener("focus",s,!0);let u=()=>{cancelAnimationFrame(d),r.removeEventListener("blur",i,!0),r.removeEventListener("focusout",a,!0),r.removeEventListener("focusin",l,!0),r.removeEventListener("focus",s,!0),X=!1,o=!1},d=requestAnimationFrame(u);return u}(t.target);r&&e.disposables.push(r)}t.stopPropagation()}},t.onPointerUp=t=>{h(t.currentTarget,E(t.nativeEvent))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||A(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,L(eS(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,x(eS(e.target,t),e.pointerType,!1),H(t))},t.onDragStart=e=>{h(e.currentTarget,E(e.nativeEvent))&&O(e)}),t},[s,d,k,f,O,H,x,L,A,I,N]);return(0,l.useEffect)(()=>
1{if(!p)return;let e=y(p.current);if(!e||!e.head||e.getElementById(ek))return;let t=e.createElement("style");t.id=ek,t.textContent=` 2@layer { 3 [${eC}] { 4 touch-action: pan-x pan-y pinch-zoom; 5 } 6} 7 `.trim(),e.head.prepend(t)},[p]),(0,l.useEffect)(()=>{let e=T.current;return()=>{var t;for(let r of(f||eg(null!=(t=e.target)?t:void 0),e.disposables))r();e.disposables=[]}},[f]),{isPressed:u||v,pressProps:K(g,q,{[eC]:!0})}}function ex(e){return"A"===e.tagName&&e.hasAttribute("href")}function eM(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof m(t).HTMLInputElement&&!eO(t,r)||t instanceof m(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&ex(t))&&"Enter"!==r)}function eS(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n,key:t.key}}function eA(e,t){return e instanceof HTMLInputElement?!eO(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!ex(e))}let eF=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function eO(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:eF.has(e.type)}let eK=null,eD=new Set,eH=new Map,eI=!1,eN=!1;function ej(e,t){for(let r of eD)r(e,t)}function eR(e){eI=!0,eh.isOpening||e.metaKey||!Z()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(eK="keyboard",ej("keyboard",e))}function eV(e){eK="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(eI=!0,ej("pointer",e))}function eG(e){!eh.isOpening&&eE(e)&&(eI=!0,eK="virtual")}function eW(e){e.target!==window&&e.target!==document&&!X&&e.isTrusted&&(eI||eN||(eK="virtual",ej("virtual",e)),eI=!1,eN=!1)}function eU(){X||(eI=!1,eN=!0)}function ez(e){if("u"<typeof window||"u"<typeof document||eH.get(m(e)))return;let t=m(e),r=y(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){eI=!0,n.apply(this,arguments)},r.addEventListener("keydown",eR,!0),r.addEventListener("keyup",eR,!0),r.addEventListener("click",eG,!0),t.addEventListener("focus",eW,!0),t.addEventListener("blur",eU,!1),"u">typeof PointerEvent&&(r.addEventListener("pointerdown",eV,!0),r.addEventListener("pointermove",eV,!0),r.addEventListener("pointerup",eV,!0)),t.addEventListener("beforeunload",()=>{eB(e)},{once:!0}),eH.set(t,{focus:n})}let eB=(e,t)=>{let r=m(e),n=y(e);t&&n.removeEventListener("DOMContentLoaded",t),eH.has(r)&&(r.HTMLElement.prototype.focus=eH.get(r).focus,n.removeEventListener("keydown",eR,!0),n.removeEventListener("keyup",eR,!0),n.removeEventListener("click",eG,!0),r.removeEventListener("focus",eW,!0),r.removeEventListener("blur",eU,!1),"u">typeof PointerEvent&&(n.removeEventListener("pointerdown",eV,!0),n.removeEventListener("pointermove",eV,!0),n.removeEventListener("pointerup",eV,!0)),eH.delete(r))};function e$(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&r.stopPropagation()}}"u">typeof document&&("loading"!==(n=y(void 0)).readyState?ez(void 0):n.addEventListener("DOMContentLoaded",()=>{ez(void 0)}));let e_=l.createContext(null),eY="u">typeof document?null!=(s=l.useInsertionEffect)?s:l.useLayoutEffect:()=>{};function eX(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function eq(e){let t=(0,l.useRef)({isFocused:!1,observer:null});return V(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,l.useCallback)(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target;n.addEventListener("focusout",r=>{if(t.current.isFocused=!1,n.disabled){let t=eX(r);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null==(e=t.current.observer)||e.disconnect();
7let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let eJ=null,eQ=new Set,eZ=new Map,e0=!1,e1=!1,e2={Tab:!0,Escape:!0};function e5(e,t){for(let r of eQ)r(e,t)}function e4(e){e0=!0,eh.isOpening||e.metaKey||!Z()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(eJ="keyboard",e5("keyboard",e))}function e7(e){eJ="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(e0=!0,e5("pointer",e))}function e6(e){!eh.isOpening&&eE(e)&&(e0=!0,eJ="virtual")}function e3(e){e.target!==window&&e.target!==document&&e.isTrusted&&(e0||e1||(eJ="virtual",e5("virtual",e)),e0=!1,e1=!1)}function e9(){e0=!1,e1=!0}function e8(e){if("u"<typeof window||"u"<typeof document||eZ.get(m(e)))return;let t=m(e),r=y(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){e0=!0,n.apply(this,arguments)},r.addEventListener("keydown",e4,!0),r.addEventListener("keyup",e4,!0),r.addEventListener("click",e6,!0),t.addEventListener("focus",e3,!0),t.addEventListener("blur",e9,!1),"u">typeof PointerEvent&&(r.addEventListener("pointerdown",e7,!0),r.addEventListener("pointermove",e7,!0),r.addEventListener("pointerup",e7,!0)),t.addEventListener("beforeunload",()=>{te(e)},{once:!0}),eZ.set(t,{focus:n})}let te=(e,t)=>{let r=m(e),n=y(e);t&&n.removeEventListener("DOMContentLoaded",t),eZ.has(r)&&(r.HTMLElement.prototype.focus=eZ.get(r).focus,n.removeEventListener("keydown",e4,!0),n.removeEventListener("keyup",e4,!0),n.removeEventListener("click",e6,!0),r.removeEventListener("focus",e3,!0),r.removeEventListener("blur",e9,!1),"u">typeof PointerEvent&&(n.removeEventListener("pointerdown",e7,!0),n.removeEventListener("pointermove",e7,!0),n.removeEventListener("pointerup",e7,!0)),eZ.delete(r))};function tt(){return"pointer"!==eJ}"u">typeof document&&("loading"!==(o=y(void 0)).readyState?e8(void 0):o.addEventListener("DOMContentLoaded",()=>{e8(void 0)}));let tr=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var tn=r(95155),to=(i=(e,t)=>{let{Component:r,children:n,startContent:o,endContent:i,thumbIcon:a,getBaseProps:s,getInputProps:u,getWrapperProps:p,getThumbProps:T,getThumbIconProps:P,getLabelProps:L,getStartContentProps:x,getEndContentProps:S}=function(e={}){var t,r;let n=d(),[o,i]=((e,t,r=!0)=>{if(!t)return[e,{}];let n=t.reduce((t,r)=>r in e?{...t,[r]:e[r]}:t,{});return r?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,r)=>({...t,[r]:e[r]}),{}),n]:[e,n]})(e,C.L$.variantKeys),{ref:a,as:s,name:u,value:p="",isReadOnly:T=!1,autoFocus:P=!1,startContent:L,endContent:x,defaultSelected:S,isSelected:A,children:F,thumbIcon:O,className:G,classNames:U,onChange:z,onValueChange:B,..._}=o,X=(0,l.useRef)(null),q=(0,l.useRef)(null),J=null!=(r=null!=(t=e.disableAnimation)?t:null==n?void 0:n.disableAnimation)&&r,Q=(0,l.useId)(),Z=(0,l.useMemo)(()=>{let t=_["aria-label"]||"string"==typeof F?F:void 0;return{name:u,value:p,children:F,autoFocus:P,defaultSelected:S,isSelected:A,isDisabled:!!e.isDisabled,isReadOnly:T,"aria-label":t,"aria-labelledby":_["aria-labelledby"]||Q,onChange:B}},[p,u,Q,F,P,T,A,S,e.isDisabled,_["aria-label"],_["aria-labelledby"],B]),ee=function(e={}){var t;let{isReadOnly:r}=e,[n,o]=function(e,t,r){let[n,o]=(0,l.useState)(e||t),i=(0,l.useRef)(n),a=(0,l.useRef)(void 0!==e),s=void 0!==e;(0,l.useEffect)(()=>{a.current,a.current=s},[s]);let u=s?e:n;eY(()=>{i.current=u});let[,d]=(0,l.useReducer)(()=>({}),{});return[u,(0,l.useCallback)((e,...t)=>{let n="function"==typeof e?e(i.current):e;Object.is(i.current,n)||(i.current=n,o(n),d(),null==r||r(n,...t))},[r])]}(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=(0,l.useState)(n);return{isSelected:n,defaultSelected:null!=(t=e.defaultSelected)?t:i,setSelected:function(e){r||o(e)},toggle:function(){r||o(!n)}}}(Z);v(()=>{if(!q.current)return;let e=!!q.current.checked;ee.setSelected(e)},[q.current]);let{inputProps:et,isPressed:er,isReadOnly:en}=function(e,t,r){let{labelProps:n,inputProps:o,isSelected:i,isPressed:a,isDisabled:s,isReadOnly:u}=function(e,t,r){var n,o;let i,{isDisabled:a=!1,isReadOnly:s=!1,value:u,name:d,form:c,children:f,"aria-label":p,"aria-labelledby":g,validationState:v="valid",isInvalid:b,onPressStart:m,onPressEnd:h,onPressChange:w,onPress:T,onPressUp:P,onClick:k}=e,{pressProps:C,isPressed:L}=eL({onPressStart:m,onPressEnd:h,onPressChange:w,onPress:T,onPressUp:P,onClick:k,isDisabled:a}),{pressProps:x,isPressed:M}=eL({onPressStart:m,onPressEnd:h,onPressChange:w,onPressUp:P,onClick:k,onPress(e){var n;
7null==T||T(e),t.toggle(),null==(n=r.current)||n.focus()},isDisabled:a||s}),{focusableProps:S}=function(e,t){let{focusProps:r}=function(e){let t,{isDisabled:r,onFocus:n,onBlur:o,onFocusChange:i}=e,a=(0,l.useCallback)(e=>{if(e.target===e.currentTarget)return o&&o(e),i&&i(!1),!0},[o,i]),s=(t=(0,l.useRef)({isFocused:!1,observer:null}),V(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,l.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{if(t.current.isFocused=!1,r.disabled){let t=Y(e);null==a||a(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[a])),u=(0,l.useCallback)(e=>{let t=y(e.target),r=t?((e=document)=>e.activeElement)(t):((e=document)=>e.activeElement)();e.target===e.currentTarget&&r===E(e.nativeEvent)&&(n&&n(e),i&&i(!0),s(e))},[i,n,s]);return{focusProps:{onFocus:!r&&(n||i||o)?u:void 0,onBlur:!r&&(o||i)?a:void 0}}}(e),{keyboardProps:n}={keyboardProps:e.isDisabled?{}:{onKeyDown:e$(e.onKeyDown),onKeyUp:e$(e.onKeyUp)}},o=K(r,n),i=function(e){let t=(0,l.useContext)(e_)||{};em(t,e);let{ref:r,...n}=t;return n}(t),a=e.isDisabled?{}:i,s=(0,l.useRef)(e.autoFocus);(0,l.useEffect)(()=>{s.current&&t.current&&function(e){let t=y(e);if("virtual"===eK){let r=((e=document)=>e.activeElement)(t);ed(()=>{let n=((e=document)=>e.activeElement)(t);(n===r||n===t.body)&&e.isConnected&&$(e)})}else $(e)}(t.current),s.current=!1},[t]);let u=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(u=void 0),{focusableProps:K({...o,tabIndex:u},a)}}(e,r),A=K(C,S),F=function(e,t={}){let{labelable:r,isLink:n,global:o,events:i=o,propNames:a}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(D.has(t)||r&&H.has(t)||n&&I.has(t)||o&&N.has(t)||i&&(j.has(t)||t.endsWith("Capture")&&j.has(t.slice(0,-7)))||(null==a?void 0:a.has(t))||R.test(t))&&(s[t]=e[t]);return s}(e,{labelable:!0});return n=t.defaultSelected,o=t.setSelected,i=W(()=>{o&&o(n)}),(0,l.useEffect)(()=>{var e;let t=null==r||null==(e=r.current)?void 0:e.form;return null==t||t.addEventListener("reset",i),()=>{null==t||t.removeEventListener("reset",i)}},[r]),{labelProps:K(x,{onClick:e=>e.preventDefault()}),inputProps:K(F,{"aria-invalid":b||"invalid"===v||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":s||void 0,onChange:e=>{e.stopPropagation(),t.setSelected(e.target.checked)},disabled:a,...null==u?{}:{value:u},name:d,form:c,type:"checkbox",...A}),isSelected:t.isSelected,isPressed:L||M,isDisabled:a,isReadOnly:s,isInvalid:b||"invalid"===v}}(e,t,r);return{labelProps:n,inputProps:{...o,role:"switch",checked:i},isSelected:i,isPressed:a,isDisabled:s,isReadOnly:u}}(Z,ee,q),{focusProps:eo,isFocused:ei,isFocusVisible:ea}=function(e={}){var t;let{autoFocus:r=!1,isTextInput:n,within:o}=e,i=(0,l.useRef)({isFocused:!1,isFocusVisible:r||tt()}),[a,s]=(0,l.useState)(!1),[u,d]=(0,l.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),c=(0,l.useCallback)(()=>d(i.current.isFocused&&i.current.isFocusVisible),[]),f=(0,l.useCallback)(e=>{i.current.isFocused=e,s(e),c()},[c]);t={isTextInput:n},e8(),(0,l.useEffect)(()=>{let e=(e,r)=>{var n;let o,a,s,l,u;n=!!(null==t?void 0:t.isTextInput),o=y(null==r?void 0:r.target),a="u">typeof window?m(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,s="u">typeof window?m(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,l="u">typeof window?m(null==r?void 0:r.target).HTMLElement:HTMLElement,u="u">typeof window?m(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent,(n=n||o.activeElement instanceof a&&!tr.has(o.activeElement.type)||o.activeElement instanceof s||o.activeElement instanceof l&&o.activeElement.isContentEditable)&&"keyboard"===e&&r instanceof u&&!e2[r.key]||(e=>{i.current.isFocusVisible=e,c()})(tt())};return eQ.add(e),()=>{eQ.delete(e)}},[]);let{focusProps:p}=function(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,i=(0,l.useCallback)(e=>{if(e.target===e.currentTarget)return n&&n(e),o&&o(!1),!0},[n,o]),a=eq(i),s=(0,l.useCallback)(e=>{let t=y(e.target),n=t?((e=document)=>e.activeElement)(t):((e=document)=>e.activeElement)();e.target===e.currentTarget&&n===E(e.nativeEvent)&&(r&&r(e),o&&o(!0),a(e))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:void 0}}}({isDisabled:o,onFocusChange:f}),{focusWithinProps:g}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=(0,l.useRef)({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:s}=b(),u=(0,l.useCallback)(e=>{e.currentTarget.contains(e.target)&&i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,s(),r&&r(e),o&&o(!1))},[r,o,i,s]),d=eq(u),c=(0,l.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=y(e.target),r=((e=document)=>e.activeElement)(t);
7if(!i.current.isFocusWithin&&r===E(e.nativeEvent)){n&&n(e),o&&o(!0),i.current.isFocusWithin=!0,d(e);let r=e.currentTarget;a(t,"focus",e=>{if(i.current.isFocusWithin&&!h(r,e.target)){let n=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(n,"target",{value:r}),Object.defineProperty(n,"currentTarget",{value:r}),u(eX(n))}},{capture:!0})}},[n,o,d,a,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:u}}}({isDisabled:!o,onFocusWithinChange:f});return{isFocused:a,isFocusVisible:u,focusProps:o?g:p}}({autoFocus:et.autoFocus}),{hoverProps:es,isHovered:el}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,a]=(0,l.useState)(!1),s=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(k,[]);let{addGlobalListener:u,removeAllGlobalListeners:d}=b(),{hoverProps:c,triggerHoverEnd:f}=(0,l.useMemo)(()=>{let e=(e,t)=>{let o=s.target;s.pointerType="",s.target=null,"touch"!==t&&s.isHovered&&o&&(s.isHovered=!1,d(),n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),a(!1))},i={};return"u">typeof PointerEvent&&(i.onPointerEnter=n=>{w&&"mouse"===n.pointerType||((n,i)=>{if(s.pointerType=i,o||"touch"===i||s.isHovered||!n.currentTarget.contains(n.target))return;s.isHovered=!0;let l=n.currentTarget;s.target=l,u(y(n.target),"pointerover",t=>{s.isHovered&&s.target&&!h(s.target,t.target)&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:l,pointerType:i}),r&&r(!0),a(!0)})(n,n.pointerType)},i.onPointerLeave=t=>{!o&&t.currentTarget.contains(t.target)&&e(t,t.pointerType)}),{hoverProps:i,triggerHoverEnd:e}},[t,r,n,o,s,u,d]);return(0,l.useEffect)(()=>{o&&f({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:c,isHovered:i}}({isDisabled:et.disabled}),eu=!(Z.isDisabled||en)&&er,ec=et.checked,ef=et.disabled,ep=(0,l.useMemo)(()=>(0,C.L$)({...i,disableAnimation:J}),[function(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch{return""}}(i),J]),eg=M(null==U?void 0:U.base,G),ev=(0,l.useCallback)((e={})=>({...e,"aria-hidden":!0,className:ep.wrapper({class:M(null==U?void 0:U.wrapper,null==e?void 0:e.className)})}),[ep,null==U?void 0:U.wrapper]),eb=(0,l.useCallback)((e={})=>({...e,className:ep.thumb({class:M(null==U?void 0:U.thumb,null==e?void 0:e.className)})}),[ep,null==U?void 0:U.thumb]),ey=(0,l.useCallback)((e={})=>({...e,id:Q,className:ep.label({class:M(null==U?void 0:U.label,null==e?void 0:e.className)})}),[ep,null==U?void 0:U.label,ef,ec]),eh=(0,l.useCallback)((e={includeStateProps:!1})=>g({width:"1em",height:"1em",className:ep.thumbIcon({class:M(null==U?void 0:U.thumbIcon)})},e.includeStateProps?{isSelected:ec}:{}),[ep,null==U?void 0:U.thumbIcon,ec]),eE=(0,l.useCallback)((e={})=>({width:"1em",height:"1em",...e,className:ep.startContent({class:M(null==U?void 0:U.startContent,null==e?void 0:e.className)})}),[ep,null==U?void 0:U.startContent,ec]),ew=(0,l.useCallback)((e={})=>({width:"1em",height:"1em",...e,className:ep.endContent({class:M(null==U?void 0:U.endContent,null==e?void 0:e.className)})}),[ep,null==U?void 0:U.endContent,ec]);return{Component:s||"label",slots:ep,classNames:U,domRef:X,children:F,thumbIcon:O,startContent:L,endContent:x,isHovered:el,isSelected:ec,isPressed:eu,isFocused:ei,isFocusVisible:ea,isDisabled:ef,getBaseProps:e=>({...g(es,_,e),ref:X,className:ep.base({class:M(eg,null==e?void 0:e.className)}),"data-disabled":c(ef),"data-selected":c(ec),"data-readonly":c(en),"data-focus":c(ei),"data-focus-visible":c(ea),"data-hover":c(el),"data-pressed":c(eu)}),getWrapperProps:ev,getInputProps:(e={})=>({...g(et,eo,e),ref:function(...e){return t=>{e.forEach(e=>(function(e,t){if(null!=e){if("function"==typeof e)return void e(t);try{e.current=t}catch{throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}})(e,t))}}(q,a),id:et.id,className:ep.hiddenInput({class:null==U?void 0:U.hiddenInput}),onChange:f(z,et.onChange)}),getLabelProps:ey,getThumbProps:eb,getThumbIconProps:eh,getStartContentProps:eE,getEndContentProps:ew}}({...e,ref:t}),A="function"==typeof a?a(P({includeStateProps:!0})):a&&(0,l.cloneElement)(a,P()),F=o&&(0,l.cloneElement)(o,x()),O=i&&(0,l.cloneElement)(i,S());return(0,tn.jsxs)(r,{...s(),children:[(0,tn.jsx)("input",{...u()}),(0,tn.jsxs)("span",{...p(),children:[o&&F,(0,tn.jsx)("span",{...T(),children:a&&A}),i&&O]}),n&&(0,tn.jsx)("span",{...L(),children:n})]})},(0,l.forwardRef)(i));to.displayName="HeroUI.Switch";var ti=to},42238:(e,t,r)=>{r.d(t,{k:()=>n});var n={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground
7/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-600",secondary:"bg-secondary/20 text-secondary-600",success:"bg-success/20 text-success-700 dark:text-success",warning:"bg-warning/20 text-warning-700 dark:text-warning",danger:"bg-danger/20 text-danger-600 dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},59170:(e,t,r)=>{r.d(t,{tv:()=>i});var n=r(77405),o=r(65674),i=(e,t)=>{var r,i,a;return(0,o.tv)(e,{...t,twMerge:null==(r=null==t?void 0:t.twMerge)||r,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(i=null==t?void 0:t.twMergeConfig)?void 0:i.theme,...n.w.theme},classGroups:{...null==(a=null==t?void 0:t.twMergeConfig)?void 0:a.classGroups,...n.w.classGroups}}})}},65674:(e,t,r)=>{let n,o,i,a;r.d(t,{a0:()=>y,tv:()=>h});var s=/\s+/g,l=(...e)=>{var t;let r=[],n=e=>{if(!e&&0!==e&&0n!==e)return;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)n(e[t]);return}let t=typeof e;if("string"===t||"number"===t||"bigint"===t){if("number"===t&&e!=e)return;r.push(String(e))}else if("object"===t){let t=Object.keys(e);for(let n=0,o=t.length;n<o;n++){let o=t[n];e[o]&&r.push(o)}}};for(let t=0,r=e.length;t<r;t++){let r=e[t];null!=r&&n(r)}return r.length>0?"string"==typeof(t=r.join(" "))&&t?t.replace(s," ").trim():t:void 0},u=e=>!1===e?"false":!0===e?"true":0===e?"0":e,d=e=>{if(!e||"object"!=typeof e)return!0;for(let t in e)return!1;return!0},c=(e,t)=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?c(n,t):n&&t.push(n)}},f=(...e)=>{let t=[];c(e,t);let r=[];for(let e=0;e<t.length;e++)t[e]&&r.push(t[e]);return r},p=(e,t)=>{let r={};for(let n in e){let o=e[n];if(n in t){let e=t[n];Array.isArray(o)||Array.isArray(e)?r[n]=f(e,o):"object"==typeof o&&"object"==typeof e&&o&&e?r[n]=p(o,e):r[n]=e+" "+o}else r[n]=o}for(let n in t)n in e||(r[n]=t[n]);return r},g={twMerge:!0,twMergeConfig:{}},v=(n=null,o={},i=!1,{get cachedTwMerge(){return n},set cachedTwMerge(value){n=value},get cachedTwMergeConfig(){return o},set cachedTwMergeConfig(value){o=value},get didTwMergeConfigChange(){return i},set didTwMergeConfigChange(value){i=value},reset(){n=null,o={},i=!1}}),b=r(622),y=(...e)=>t=>((e,t)=>{let r=l(e);if(!r||!(t?.twMerge??!0))return r;if(!v.cachedTwMerge||v.didTwMergeConfigChange){let e;v.didTwMergeConfigChange=!1,v.cachedTwMerge=d(e=v.cachedTwMergeConfig)?b.QP:(0,b.zu)({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}})}return v.cachedTwMerge(r)||void 0})(e,t),{createTV:m,tv:h}={tv:a=(e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:i=[],compoundSlots:a=[],defaultVariants:s={}}=e,c={...g,...t},b=r?.base?l(r.base,e?.base):e?.base,m=r?.variants&&!d(r.variants)?p(o,r.variants):o,h=r?.defaultVariants&&!d(r.defaultVariants)?{...r.defaultVariants,...s}:s;d(c.twMergeConfig)||((e,t)=>{if(e===t)return!0;
7if(!e||!t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){let i=r[o];if(!n.includes(i)||e[i]!==t[i])return!1}return!0})(c.twMergeConfig,v.cachedTwMergeConfig)||(v.didTwMergeConfigChange=!0,v.cachedTwMergeConfig=c.twMergeConfig);let E=d(r?.slots),w=d(n)?{}:{base:l(e?.base,E&&r?.base),...n},T=E?w:((e,t)=>{for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];r in e?e[r]=l(e[r],n):e[r]=n}return e})({...r?.slots},d(w)?{base:e?.base}:w),P=d(r?.compoundVariants)?i:f(r?.compoundVariants,i),k=e=>{if(d(m)&&d(n)&&E)return y(b,e?.class,e?.className)(c);if(P&&!Array.isArray(P))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof P}`);if(a&&!Array.isArray(a))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);let t=(t,r=m,n=null,o=null)=>{let i=r[t];if(!i||d(i))return null;let a=o?.[t]??e?.[t];if(null===a)return null;let s=u(a);if("object"==typeof s)return null;let l=h?.[t];return i[(null!=s?s:u(l))||"false"]},r=(e,r)=>{if(!m||"object"!=typeof m)return null;let n=[];for(let o in m){let i=t(o,m,e,r),a="base"===e&&"string"==typeof i?i:i&&i[e];a&&n.push(a)}return n},o={};for(let t in e){let r=e[t];void 0!==r&&(o[t]=r)}let i=(t,r)=>{let n="object"==typeof e?.[t]?{[t]:e[t]?.initial}:{};return{...h,...o,...n,...r}},s=(e=[],t)=>{let r=[],n=e.length;for(let o=0;o<n;o++){let{class:n,className:a,...s}=e[o],l=!0,u=i(null,t);for(let e in s){let t=s[e],r=u[e];if(Array.isArray(t)){if(!t.includes(r)){l=!1;break}}else{if((null==t||!1===t)&&(null==r||!1===r))continue;if(r!==t){l=!1;break}}}l&&(n&&r.push(n),a&&r.push(a))}return r},l=e=>{let t=s(P,e);if(!Array.isArray(t))return t;let r={};for(let e=0;e<t.length;e++){let n=t[e];if("string"==typeof n)r.base=y(r.base,n)(c);else if("object"==typeof n)for(let e in n)r[e]=y(r[e],n[e])(c)}return r},f=e=>{if(a.length<1)return null;let t={},r=i(null,e);for(let e=0;e<a.length;e++){let{slots:n=[],class:o,className:i,...s}=a[e];if(!d(s)){let e=!0;for(let t in s){let n=r[t],o=s[t];if(void 0===n||(Array.isArray(o)?!o.includes(n):o!==n)){e=!1;break}}if(!e)continue}for(let e=0;e<n.length;e++){let r=n[e];t[r]||(t[r]=[]),t[r].push([o,i])}}return t};if(!d(n)||!E){let e={};if("object"==typeof T&&!d(T))for(let t in T)e[t]=e=>{let n=l(e),o=f(e);return y(T[t],r(t,e),n?n[t]:void 0,o?o[t]:void 0,e?.class,e?.className)(c)};return e}return y(b,(()=>{if(!m)return null;let e=Object.keys(m),r=[];for(let n=0;n<e.length;n++){let o=t(e[n],m);o&&r.push(o)}return r})(),s(P),e?.class,e?.className)(c)};return k.variantKeys=(()=>{if(m&&"object"==typeof m)return Object.keys(m)})(),k.extend=r,k.base=b,k.slots=T,k.variants=m,k.defaultVariants=h,k.compoundSlots=a,k.compoundVariants=P,k},createTV:e=>(t,r)=>a(t,r?p(e,r):e)}},69133:(e,t,r)=>{r.d(t,{$1:()=>i,KU:()=>a,n3:()=>l,oT:()=>s,wA:()=>o,zb:()=>n});var n=["outline-solid outline-transparent","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],o=["outline-solid outline-transparent","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],i=["outline-solid outline-transparent","ring-2","ring-focus","ring-offset-2","ring-offset-background"],a=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],s={default:["[&+.border-medium.border-default]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(var(--heroui-border-width-medium)*-1)]"]},l=["font-inherit","text-[100%]","leading-[1.15]","m-0","p-0","overflow-visible","box-border","absolute","top-0","w-full","h-full","opacity-[0.0001]","z-[1]","cursor-pointer","disabled:cursor-default"]},77405:(e,t,r)=>{r.d(t,{w:()=>o});var n=["small","medium","large"],o={theme:{spacing:["divider"],radius:n},classGroups:{shadow:[{shadow:n}],opacity:[{opacity:["disabled"]}],"font-size":[{text:["tiny",...n]}],"border-w":[{border:n}],"bg-image":["bg-stripe-gradient-default","bg-stripe-gradient-primary","bg-stripe-gradient-secondary","bg-stripe-gradient-success","bg-stripe-gradient-warning","bg-stripe-gradient-danger"],transition:[".leading-inherit",".bg-img-inherit",".bg-clip-inherit",".text-fill-inherit",".tap-highlight-transparent",".input-search-cancel-button-none",".transition-background",".transition-colors-opacity",".transition-width",".transition-height",".transition-size",".transition-left",".transition-transform-opacity",".transition-transform-background",".transition-transform-colors",".transition-transform-colors-opacity",".scrollbar-hide",".scrollbar-default",".text-tiny",".text-small",".text-medium",".text-large",".spinner-bar-animation",".spinner-dot-animation",".spinner-dot-blink-animation"].filter(e=>e.includes(".transition")).map(e=>e.replace(".",""))}}}}]);
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.