1import{r as e}from"./rolldown-runtime-hePW80VL.js";import{i as t,n,r}from"./framework-DTZGTDtF.js";var i=e(t(),1),a=r(),o=Object.defineProperty,s=(e,t)=>o(e,`name`,{value:t,configurable:!0});function c(e,t){let n=i.createContext(t);n.displayName=e+`Context`;let r=s(e=>{let{children:t,...r}=e,o=i.useMemo(()=>r,Object.values(r));return(0,a.jsx)(n.Provider,{value:o,children:t})},`Provider`);r.displayName=e+`Provider`;function o(r,a={}){let{optional:o=!1}=a,s=i.useContext(n);if(s)return s;if(t!==void 0)return t;if(!o)throw Error(`\`${r}\` must be used within \`${e}\``)}return s(o,`useContext`),[r,o]}s(c,`createContext`);function l(e,t=[]){let n=[];function r(t,r){let o=i.createContext(r);o.displayName=t+`Context`;let c=n.length;n=[...n,r];let l=s(t=>{let{scope:n,children:r,...s}=t,l=n?.[e]?.[c]||o,u=i.useMemo(()=>s,Object.values(s));return(0,a.jsx)(l.Provider,{value:u,children:r})},`Provider`);l.displayName=t+`Provider`;function u(n,a,s={}){let{optional:l=!1}=s,u=a?.[e]?.[c]||o,d=i.useContext(u);if(d)return d;if(r!==void 0)return r;if(!l)throw Error(`\`${n}\` must be used within \`${t}\``)}return s(u,`useContext`),[l,u]}s(r,`createContext`);let o=s(()=>{let t=n.map(e=>i.createContext(e));return s(function(n){let r=n?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return o.scopeName=e,[r,u(o,...t)]}s(l,`createContextScope`);function u(...e){let t=e[0];if(e.length===1)return t;let n=s(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return s(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}s(u,`composeContextScopes`);var d=Object.defineProperty,f=(e,t)=>d(e,`name`,{value:t,configurable:!0});function p(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}f(p,`setRef`);function m(...e){return t=>{let n=!1,r=e.map(e=>{let r=p(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():p(e[t],null)}}}}f(m,`composeRefs`);function h(...e){return i.useCallback(m(...e),e)}f(h,`useComposedRefs`);var g=Object.defineProperty,_=(e,t)=>
1g(e,`name`,{value:t,configurable:!0}),v=!!(window.document&&window.document.createElement);function y(e,t,{checkForDefaultPrevented:n=!0}={}){return _(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}_(y,`composeEventHandlers`);function b(e){if(!v)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}_(b,`getOwnerWindow`);function x(e){if(!v)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}_(x,`getOwnerDocument`);function S(e,t=!1){let{activeElement:n}=x(e);if(!n?.nodeName)return null;if(C(n)&&n.contentDocument)return S(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=x(n).getElementById(e);if(t)return t}}return n}_(S,`getActiveElement`);function C(e){return e.tagName===`IFRAME`}_(C,`isFrame`);var w=globalThis?.document?i.useLayoutEffect:()=>{},T=Object.defineProperty,ee=(e,t)=>T(e,`name`,{value:t,configurable:!0}),te=i.useId||(()=>void 0),ne=0;function E(e){let[t,n]=i.useState(te());return w(()=>{e||n(e=>e??String(ne++))},[e]),e||(t?`radix-${t}`:``)}ee(E,`useId`);var D=Object.defineProperty,re=(e,t)=>D(e,`name`,{value:t,configurable:!0}),ie=i.useEffectEvent,ae=i.useInsertionEffect;function oe(e){if(typeof ie==`function`)return ie(e);let t=i.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof ae==`function`?ae(()=>{t.current=e}):w(()=>{t.current=e}),i.useMemo(()=>((...e)=>t.current?.(...e)),[])}re(oe,`useEffectEvent`);var se=Object.defineProperty,O=(e,t)=>se(e,`name`,{value:t,configurable:!0}),ce=i.useInsertionEffect||w;function le({prop:e,defaultProp:t,onChange:n=O(()=>{},`onChange`),caller:r}){let[a,o,s]=ue({defaultProp:t,onChange:n}),c=e!==void 0;return[c?e:a,i.useCallback(t=>{if(c){let n=de(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}O(le,`useControllableState`);function ue({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),a=i.useRef(n),o=i.useRef(t);return ce(()=>{o.current=t},[t]),i.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,r,o]}O(ue,`useUncontrolledState`);function de(e){return typeof e==`function`}O(de,`isFunction`);var fe=Symbol(`RADIX:SYNC_STATE`);function pe(e,t,n,r){let{prop:a,defaultProp:o,onChange:s,caller:c}=t,l=a!==void 0,u=oe(s),d=[{...n,state:o}];r&&d.push(r);let[f,p]=i.useReducer((t,n)=>{if(n.type===fe)return{...t,state:n.state};let r=e(t,n);return l&&!Object.is(r.state,t.state)&&u(r.state),r},...d),m=f.state,h=i.useRef(m);i.useEffect(()=>{h.current!==m&&(h.current=m,l||u(m))},[m,h,l]);let g=i.useMemo(()=>a===void 0?f:{...f,state:a},[f,a]);return i.useEffect(()=>{l&&!Object.is(a,f.state)&&p({type:fe,state:a})},[a,f.state,l]),[g,p]}O(pe,`useControllableStateReducer`);var me=e(n(),1),he=Object.defineProperty,k=(e,t)=>he(e,`name`,{value:t,configurable:!0});function ge(e){let t=i.forwardRef((t,n)=>{let{children:r,...a}=t,o=null,s=!1,c=[];we(r)&&typeof A==`function`&&(r=A(r._payload)),i.Children.forEach(r,e=>{if(Se(e)){s=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;we(n)&&typeof A==`function`&&(n=A(n._payload)),o=ye(t,n),c.push(o?.props?.children)}else c.push(e)}),o?o=i.cloneElement(o,void 0,c):!s&&i.Children.count(r)===1&&i.isValidElement(r)&&(o=r);let l=o?xe(o):void 0,u=h(n,l);if(!o){if(r||r===0)throw Error(s?De(e):Ee(e));return r}let d=be(a,o.props??{});return o.type!==i.Fragment&&(d.ref=n?u:l),i.cloneElement(o,d)});return t.displayName=`${e}.Slot`,t}k(ge,`createSlot`);var _e=Symbol.for(`radix.slottable`);function ve(e){let t=k(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=_e,t}k(ve,`createSlottable`);var ye=k((e,t)=>{if(`child`in e.props){let t=e.props.child;return i.isValidElement(t)?i.cloneElement(t,void 0,e.props.children(t.props.children)):null}return i.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function be(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}
1:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}k(be,`mergeProps`);function xe(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}k(xe,`getElementRef`);function Se(e){return i.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===_e}k(Se,`isSlottable`);var Ce=Symbol.for(`react.lazy`);function we(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Ce&&`_payload`in e&&Te(e._payload)}k(we,`isLazyComponent`);function Te(e){return typeof e==`object`&&!!e&&`then`in e}k(Te,`isPromiseLike`);var Ee=k(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),De=k(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),A=i.use,Oe=Object.defineProperty,ke=(e,t)=>Oe(e,`name`,{value:t,configurable:!0}),j=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=ge(`Primitive.${t}`),r=i.forwardRef((e,r)=>{let{asChild:i,...o}=e,s=i?n:t;return window[Symbol.for(`radix-ui`)]=!0,(0,a.jsx)(s,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ae(e,t){e&&me.flushSync(()=>e.dispatchEvent(t))}ke(Ae,`dispatchDiscreteCustomEvent`);var je=Object.defineProperty,Me=(e,t)=>je(e,`name`,{value:t,configurable:!0});function M(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>((...e)=>t.current?.(...e)),[])}Me(M,`useCallbackRef`);var Ne=Object.defineProperty,N=(e,t)=>Ne(e,`name`,{value:t,configurable:!0}),Pe=`dismissableLayer.update`,Fe=`dismissableLayer.pointerDownOutside`,Ie=`dismissableLayer.focusOutside`,Le,Re=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),ze=i.forwardRef(N(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:l,onDismiss:u,...d}=e,f=i.useContext(Re),[p,m]=i.useState(null),g=p?.ownerDocument??globalThis?.document,[,_]=i.useState({}),v=h(t,m),b=Array.from(f.layers),[x]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),S=x?b.indexOf(x):-1,C=p?b.indexOf(p):-1,w=f.layersWithOutsidePointerEventsDisabled.size>0,T=C>=S,ee=i.useRef(!1),te=He(e=>{s?.(e),l?.(e),e.defaultPrevented||u?.()},{ownerDocument:g,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:ee,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:i.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...f.branches].some(t=>t.contains(e));return T&&!t},[f.branches,T])}),ne=Ue(e=>{if(r&&ee.current)return;let t=e.target;[...f.branches].some(e=>e.contains(t))||(c?.(e),l?.(e),e.defaultPrevented||u?.())},g),E=p?C===b.length-1:!1,D=M(e=>{e.key===`Escape`&&(o?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))});return i.useEffect(()=>{if(E)return g.addEventListener(`keydown`,D,{capture:!0}),()=>g.removeEventListener(`keydown`,D,{capture:!0})},[g,E,D]),i.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Le=g.body.style.pointerEvents,g.body.style.pointerEvents=`none`),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),We(),()=>{n&&(f.layersWithOutsidePointerEventsDisabled.delete(p),f.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=Le))}},[p,g,n,f]),i.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),We())},[p,f]),i.useEffect(()=>{let e=N(()=>_({}),`handleUpdate`);return document.addEventListener(Pe,e),()=>document.removeEventListener(Pe,e)},[]),(0,a.jsx)(j.div,{...d,ref:v,style:{pointerEvents:w?T?`auto`:`none`:void 0,...e.style},onFocusCapture:y(e.onFocusCapture,ne.onFocusCapture),onBlurCapture:y(e.onBlurCapture,ne.onBlurCapture),onPointerDownCapture:y(e.onPointerDownCapture,te.onPointerDownCapture)})},`DismissableLayer`));function Be(){let e=i.useContext(Re),[t,n]=i.useState(null);return i.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}N(Be,`useDismissableLayerSurface`);var Ve=N(()=>!0,`IS_TRUE`);function He(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:o,shouldHandlePointerDownOutside:s=Ve}=t,c=M(e),l=i.useRef(!1),u=i.useRef(!1),d=i.useRef(new Map),f=i.useRef(()=>{});return i.useEffect(()=>{function e(){u.current=!1,a.current=!1,d.current.clear()}N(e,`resetOutsideInteraction`);function t(){return Array.from(d.current.values()).some(Boolean)}N(t,`isOutsideInteractionIntercepted`);function i(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...o].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}N(i,`handleInteractionCapture`);function p(e){u.current&&d.current.set(e.type,!1)}N(p,`handleInteractionBubble`);let m=N(i=>{if(i.target&&!l.current){let o=function(){n.removeEventListener(`click`,f.current);let r=t();e(),r||Ge(Fe,c,p,{discrete:!0})};if(N(o,`handleAndDispatchPointerDownOutsideEvent`),!s(i.target)){n.removeEventListener(`click`,f.current),e(
1),l.current=!1;return}let p={originalEvent:i};u.current=!0,a.current=r&&i.button===0,d.current.clear(),!r||i.button!==0?o():(n.removeEventListener(`click`,f.current),f.current=o,n.addEventListener(`click`,f.current,{once:!0}))}else n.removeEventListener(`click`,f.current),e();l.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,i,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,f.current);for(let e of h)n.removeEventListener(e,i,!0),n.removeEventListener(e,p)}},[n,c,r,a,o,s]),{onPointerDownCapture:N(()=>l.current=!0,`onPointerDownCapture`)}}N(He,`usePointerDownOutside`);function Ue(e,t=globalThis?.document){let n=M(e),r=i.useRef(!1);return i.useEffect(()=>{let e=N(e=>{e.target&&!r.current&&Ge(Ie,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:N(()=>r.current=!0,`onFocusCapture`),onBlurCapture:N(()=>r.current=!1,`onBlurCapture`)}}N(Ue,`useFocusOutside`);function We(){let e=new CustomEvent(Pe);document.dispatchEvent(e)}N(We,`dispatchUpdate`);function Ge(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Ae(i,a):i.dispatchEvent(a)}N(Ge,`handleAndDispatchCustomEvent`);var Ke=Object.defineProperty,P=(e,t)=>Ke(e,`name`,{value:t,configurable:!0}),qe=`focusScope.autoFocusOnMount`,Je=`focusScope.autoFocusOnUnmount`,Ye={bubbles:!1,cancelable:!0},Xe=i.forwardRef(P(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...c}=e,[l,u]=i.useState(null),d=M(o),f=M(s),p=i.useRef(null),m=h(t,u),g=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let e=function(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?p.current=t:F(p.current,{select:!0})},t=function(e){if(g.paused||!l)return;let t=e.relatedTarget;t!==null&&(l.contains(t)||F(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&F(l)};P(e,`handleFocusIn`),P(t,`handleFocusOut`),P(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,l,g.paused]),i.useEffect(()=>{if(l){rt.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(qe,Ye);l.addEventListener(qe,d),l.dispatchEvent(t),t.defaultPrevented||(Ze(ot($e(l)),{select:!0}),document.activeElement===e&&F(l))}return()=>{l.removeEventListener(qe,d),setTimeout(()=>{let t=new CustomEvent(Je,Ye);l.addEventListener(Je,f),l.dispatchEvent(t),t.defaultPrevented||F(e??document.body,{select:!0}),l.removeEventListener(Je,f),rt.remove(g)},0)}}},[l,d,f,g]);let _=i.useCallback(e=>{if(!n&&!r||g.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=Qe(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&F(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&F(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,g.paused]);return(0,a.jsx)(j.div,{tabIndex:-1,...c,ref:m,onKeyDown:_})},`FocusScope`));function Ze(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(F(r,{select:t}),document.activeElement!==n)return}P(Ze,`focusFirst`);function Qe(e){let t=$e(e);return[et(t,e),et(t.reverse(),e)]}P(Qe,`getTabbableEdges`);function $e(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:P(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}P($e,`getTabbableCandidates`);function et(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):tt(r,{upTo:t})))return r}P(et,`findVisible`);function tt(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}P(tt,`isHidden`);function nt(e){return e instanceof HTMLInputElement&&`select`in e}P(nt,`isSelectableInput`);function F(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&nt(e)&&t&&e.select()}}P(F,`focus`);var rt=it();function it(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=at(e,t),e.unshift(t)},remove(t){e=at(e,t),e[0]?.resume()}}}P(it,`createFocusScopesStack`);function at(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}P(at,`arrayRemove`);function ot(e){return e.filter(e=>e.tagName!==`A`)}P(ot,`removeLinks`);var st=Object.defineProperty,ct=i.forwardRef(((e,t)=>st(e,`name`,{value:t,configurable:!0}
1))(function(e,t){let{container:n,...r}=e,[o,s]=i.useState(!1);w(()=>s(!0),[]);let c=n||o&&globalThis?.document?.body;return c?me.createPortal((0,a.jsx)(j.div,{...r,ref:t}),c):null},`Portal`)),lt=Object.defineProperty,I=(e,t)=>lt(e,`name`,{value:t,configurable:!0});function ut(e,t){return i.useReducer((e,n)=>t[e][n]??e,e)}I(ut,`useStateMachine`);var dt=I(e=>{let{present:t,children:n}=e,r=ft(t),a=typeof n==`function`?n({present:r.isPresent}):i.Children.only(n),o=mt(r.ref,ht(a));return typeof n==`function`||r.isPresent?i.cloneElement(a,{ref:o}):null},`Presence`);function ft(e){let[t,n]=i.useState(),r=i.useRef(null),a=i.useRef(e),o=i.useRef(`none`),s=i.useRef(void 0),[c,l]=ut(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return i.useEffect(()=>{c===`mounted`?(o.current=s.current??L(r.current),s.current=void 0):o.current=`none`},[c]),w(()=>{let t=r.current,n=a.current;if(n!==e){let r=o.current,i=L(t);e?(s.current=i,l(`MOUNT`)):i===`none`||t?.display===`none`?l(`UNMOUNT`):l(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),a.current=e}},[e,l]),w(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,i=I(i=>{let o=L(r.current).includes(CSS.escape(i.animationName));if(i.target===t&&o&&(l(`ANIMATION_END`),!a.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=I(e=>{e.target===t&&(o.current=L(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,i),t.addEventListener(`animationend`,i),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,i),t.removeEventListener(`animationend`,i)}}l(`ANIMATION_END`)},[t,l]),{isPresent:[`mounted`,`unmountSuspended`].includes(c),ref:i.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,s.current=L(t)}else r.current=null;n(e)},[])}}I(ft,`usePresence`);function pt(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}I(pt,`setRef`);function mt(...e){let t=i.useRef(e);return t.current=e,i.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=pt(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():pt(n[e],null)}}},[])}I(mt,`useStableComposedRefs`);function L(e){return e?.animationName||`none`}I(L,`getAnimationName`);function ht(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}I(ht,`getElementRef`);var gt=Object.defineProperty,_t=(e,t)=>gt(e,`name`,{value:t,configurable:!0}),R=0,z=null;function vt(e){return yt(),e.children}_t(vt,`FocusGuards`);function yt(){i.useEffect(()=>{z||={start:bt(),end:bt()};let{start:e,end:t}=z;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),R++,()=>{R===1&&(z?.start.remove(),z?.end.remove(),z=null),R=Math.max(0,R-1)}},[])}_t(yt,`useFocusGuards`);function bt(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}_t(bt,`createFocusGuard`);var B=function(){return B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},B.apply(this,arguments)};function xt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function St(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;
vendor: 10,815 bytes, lines 1-41
1r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var V=`right-scroll-bar-position`,H=`width-before-scroll-bar`,Ct=`with-scroll-bars-hidden`,wt=`--removed-body-scroll-bar-size`;function Tt(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Et(e,t){var n=(0,i.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var Dt=i.useLayoutEffect,Ot=new WeakMap;function kt(e,t){var n=Et(t||null,function(t){return e.forEach(function(e){return Tt(e,t)})});return Dt(function(){var t=Ot.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||Tt(e,null)}),i.forEach(function(e){r.has(e)||Tt(e,a)})}Ot.set(n,e)},[e]),n}function At(e){return e}function jt(e,t){t===void 0&&(t=At);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function Mt(e){e===void 0&&(e={});var t=jt(null);return t.options=B({async:!0,ssr:!1},e),t}var Nt=function(e){var t=e.sideCar,n=xt(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return i.createElement(r,B({},n))};Nt.isSideCarExport=!0;function Pt(e,t){return e.useMedium(t),Nt}var Ft=Mt(),It=function(){},U=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:It,onWheelCapture:It,onTouchMoveCapture:It}),a=r[0],o=r[1],s=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=xt(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=kt([n,t]),w=B(B({},x),a);return i.createElement(i.Fragment,null,d&&i.createElement(S,{sideCar:Ft,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:o,allowPinchZoom:!!_,lockRef:n,gapMode:b}),s?i.cloneElement(i.Children.only(c),B(B({},w),{ref:C})):i.createElement(y,B({},w,{className:l,ref:C}),c))});U.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},U.classNames={fullWidth:H,zeroRight:V};var Lt=function(){if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Rt(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=Lt();return t&&e.setAttribute(`nonce`,t),e}function zt(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Bt(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var Vt=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Rt())&&(zt(t,n),Bt(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ht=function(){var e=Vt();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ut=function(){var e=Ht();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Wt=function(e){return parseInt(e||``,10)||0},Gt=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Wt(n),Wt(r),Wt(i)]},Kt=function(e){e===void 0&&(e=`margin`);var t=Gt(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},qt=Ut(),W=`data-scroll-locked`,Jt=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),` 2 .${Ct} { 3 overflow: hidden ${r}; 4 padding-right: ${s}px ${r}; 5 } 6 body[${W}] { 7 overflow: hidden ${r}; 8 overscroll-behavior: contain; 9 ${[t&&`position: relative ${r};`,n===`margin`&&` 10 padding-left: ${i}px; 11 padding-top: ${a}px; 12 padding-right: ${o}px; 13 margin-left:0; 14 margin-top:0; 15 margin-right: ${s}px ${r}; 16 `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)} 17 } 18 19 .${V} { 20 right: ${s}px ${r}; 21 } 22 23 .${H} { 24 margin-right: ${s}px ${r}; 25 } 26 27 .${V} .${V} { 28 right: 0 ${r}; 29 } 30 31 .${H} .${H} { 32 margin-right: 0 ${r}; 33 } 34 35 body[${W}] { 36 ${wt}: ${s}px; 37 } 38`},Yt=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Xt=function(){i.useEffect(function(){return document.body.setAttribute(W,(Yt()+1).toString()),function(){var e=Yt()-1;e<=0?document.body.removeAttribute(W):document.body.setAttribute(W,e.toString())}},[])},Zt=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?`margin`:r;Xt();var o=i.useMemo(function(){return Kt(a)},[a]);return i.createElement(qt,{styles:Jt(o,!t,a,n?``:`!important`)})},Qt=!1;try{var $t=Object.defineProperty({},"passive",{get:function(){return Qt=!0,!0}});window.addEventListener(`test`,$t,$t),window.removeEventListener(`test`,$t,$t)}catch{Qt=!1}var G=Qt?{passive:!1}:!1,en=function(e){return e.tagName===`TEXTAREA`},tn=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!en(e)&&n[t]===`visible`)},nn=function(e){return tn(e,`overflowY`)},rn=function(e){return tn(e,`overflowX`)},an=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),cn(e,r)){var i=ln(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},on=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},sn=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},cn=function(e,t){return e===`v`?nn(t):rn(t)},ln=function(e,t){return e===`v`?on(t):sn(t)},un=function(e,t){return e===`h`&&t===`rtl`?-1:1},dn=function(e,t,n,r,i){var a=un(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=ln(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&cn(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},K=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},fn=function(e){return[e.deltaX,e.deltaY]},pn=function(e){return e&&`current`in e?e.current:e},mn=function(e,t){return e[0]===t[0]&&e[1]===t[1]},hn=function(e){return` 39 .block-interactivity-${e} {pointer-events: none;} 40 .allow-interactivity-${e} {pointer-events: all;} 41`},gn=0,q=[];function _n(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),a=i.useState(gn++)[0],o=i.useState(Ut)[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${a}`);var t=St([e.lockRef.current],(e.shards||[]).map(pn),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${a}`)}),function(){document.body.classList.remove(`block-interactivity-${a}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${a}`)})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!s.current.allowPinchZoom;var i=K(e),a=n.current,o=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(o)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=an(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=an(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(o||c)&&(r.current=l),!l)return!0;var h=r.current||l;return dn(h,t,e,h===`h`?o:c,!0)},[]),l=i.useCallback(function(e){var n=e;if(!(!q.length||q[q.length-1]!==o)){var r=`deltaY`in n?fn(n):K(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&mn(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var a=(s.current.shards||[]).map(pn).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?c(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=i.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:vn(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=i.useCallback(function(e){n.current=K(e),r.current=void 0},[]),f=i.useCallback(function(t){u(t.type,fn(t),t.target,c(t,e.lockRef.current))},[]),p=i.useCallback(function(t){u(t.type,K(t),t.target,c(t,e.lockRef.current))},[]);i.useEffect(function(){return q.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,l,G),document.addEventListener(`touchmove`,l,G),document.addEventListener(`touchstart`,d,G),function(){q=q.filter(function(e){return e!==o}),document.removeEventListener(`wheel`,l,G),document.removeEventListener(`touchmove`,l,G),document.removeEventListener(`touchstart`,d,G)}},[]);var m=e.removeScrollBar,h=e.inert;return i.createElement(i.Fragment,null,h?i.createElement(o,{styles:hn(a)}):null,m?i.createElement(Zt,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function vn(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var yn=Pt(Ft,_n),bn=i.forwardRef(function(e,t){return i.createElement(U,B({},e,{ref:t,sideCar:yn}))});bn.classNames=U.classNames;var xn=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},J=new WeakMap,Y=new WeakMap,X={},Sn=0,Cn=function(e){return e&&(e.host||Cn(e.parentNode))},wn=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Cn(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Tn=function(e,t,n,r){var i=wn(t,Array.isArray(e)?e:[e]);X[n]||(X[n]=new WeakMap);var a=X[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};
41i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(J.get(e)||0)+1,l=(a.get(e)||0)+1;J.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Y.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Sn++,function(){o.forEach(function(e){var t=J.get(e)-1,i=a.get(e)-1;J.set(e,t),a.set(e,i),t||(Y.has(e)||e.removeAttribute(r),Y.delete(e)),i||e.removeAttribute(n)}),Sn--,Sn||(J=new WeakMap,J=new WeakMap,Y=new WeakMap,X={})}},En=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||xn(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Tn(r,i,n,`aria-hidden`)):function(){return null}},Dn=Object.defineProperty,Z=(e,t)=>Dn(e,`name`,{value:t,configurable:!0}),On=`Dialog`,[kn,An]=l(On),[jn,Q]=kn(On),Mn=Z(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:c=!0}=e,l=i.useRef(null),u=i.useRef(null),[d,f]=le({prop:r,defaultProp:o??!1,onChange:s,caller:On}),[p,m]=i.useState(0),[h,g]=i.useState(0);return(0,a.jsx)(jn,{scope:t,triggerRef:l,contentRef:u,contentId:E(),titleId:E(),descriptionId:E(),titlePresent:p>0,descriptionPresent:h>0,setTitleCount:m,setDescriptionCount:g,open:d,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(e=>!e),[f]),modal:c,children:n})},`Dialog`),Nn=`DialogTrigger`,Pn=i.forwardRef(Z(function(e,t){let{__scopeDialog:n,...r}=e,i=Q(Nn,n),o=h(t,i.triggerRef);return(0,a.jsx)(j.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":$n(i.open),...r,ref:o,onClick:y(e.onClick,i.onOpenToggle)})},`DialogTrigger`)),Fn=`DialogPortal`,[In,Ln]=kn(Fn,{forceMount:void 0}),Rn=Z(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Q(Fn,t);return(0,a.jsx)(In,{scope:t,forceMount:n,children:i.Children.map(r,e=>(0,a.jsx)(dt,{present:n||s.open,children:(0,a.jsx)(ct,{asChild:!0,container:o,children:e})}))})},`DialogPortal`),zn=`DialogOverlay`,Bn=i.forwardRef(Z(function(e,t){let n=Ln(zn,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Q(zn,e.__scopeDialog);return o.modal?(0,a.jsx)(dt,{present:r||o.open,children:(0,a.jsx)(Hn,{...i,ref:t})}):null},`DialogOverlay`)),Vn=ge(`DialogOverlay.RemoveScroll`),Hn=i.forwardRef(Z(function(e,t){let{__scopeDialog:n,...r}=e,i=Q(zn,n),o=h(t,Be());return(0,a.jsx)(bn,{as:Vn,allowPinchZoom:!0,shards:[i.contentRef],children:(0,a.jsx)(j.div,{"data-state":$n(i.open),...r,ref:o,style:{pointerEvents:`auto`,...r.style}})})},`DialogOverlayImpl`)),$=`DialogContent`,Un=i.forwardRef(Z(function(e,t){let n=Ln($,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Q($,e.__scopeDialog);return(0,a.jsx)(dt,{present:r||o.open,children:o.modal?(0,a.jsx)(Wn,{...i,ref:t}):(0,a.jsx)(Gn,{...i,ref:t})})},`DialogContent`)),Wn=i.forwardRef(Z(function(e,t){let n=Q($,e.__scopeDialog),r=i.useRef(null),o=h(t,n.contentRef,r);return i.useEffect(()=>{let e=r.current;if(e)return En(e)},[]),(0,a.jsx)(Kn,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:y(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:y(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:y(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),Gn=i.forwardRef(Z(function(e,t){let n=Q($,e.__scopeDialog),r=i.useRef(!1),o=i.useRef(!1);return(0,a.jsx)(Kn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&o.current&&t.preventDefault()}})},`DialogContentNonModal`)),Kn=i.forwardRef(Z(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...s}=e,c=Q($,n);return yt(),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Xe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,a.jsx)(ze,{role:`dialog`,id:c.contentId,"aria-describedby":c.descriptionPresent?c.descriptionId:void 0,"aria-labelledby":c.titlePresent?c.titleId:void 0,"data-state":$n(c.open
41),...s,ref:t,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})},`DialogContentImpl`)),qn=`DialogTitle`,Jn=i.forwardRef(Z(function(e,t){let{__scopeDialog:n,...r}=e,i=Q(qn,n),{setTitleCount:o}=i;return w(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,a.jsx)(j.h2,{id:i.titleId,...r,ref:t})},`DialogTitle`)),Yn=`DialogDescription`,Xn=i.forwardRef(Z(function(e,t){let{__scopeDialog:n,...r}=e,i=Q(Yn,n),{setDescriptionCount:o}=i;return w(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,a.jsx)(j.p,{id:i.descriptionId,...r,ref:t})},`DialogDescription`)),Zn=`DialogClose`,Qn=i.forwardRef(Z(function(e,t){let{__scopeDialog:n,...r}=e,i=Q(Zn,n);return(0,a.jsx)(j.button,{type:`button`,...r,ref:t,onClick:y(e.onClick,()=>i.onOpenChange(!1))})},`DialogClose`));function $n(e){return e?`open`:`closed`}Z($n,`getState`);var er=Mn,tr=Rn,nr=Bn,rr=Un,ir=Jn,ar=Xn,or=Qn;export{y as _,nr as a,Mn as c,Xn as d,Bn as f,An as g,Pn as h,ar as i,Qn as l,Jn as m,or as n,tr as o,Rn as p,rr as r,ir as s,er as t,Un as u,h as v,l as y};
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.