1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="4156d936-fdc3-f554-c316-346e2a564ac7")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,119836,28801,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}],119836);var t=e.i(578791),n=e.i(190898);e.s(["createContext",0,function(e,r){let o=t.createContext(r),i=e=>{let{children:r,...i}=e,a=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:a,children:r})};return i.displayName=e+"Provider",[i,function(n){let i=t.useContext(o);if(i)return i;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let o=[],i=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(r,i){let a=t.createContext(i),s=o.length;o=[...o,i];let u=r=>{let{scope:o,children:i,...u}=r,l=o?.[e]?.[s]||a,c=t.useMemo(()=>u,Object.values(u));return(0,n.jsx)(l.Provider,{value:c,children:i})};return u.displayName=r+"Provider",[u,function(n,o){let u=o?.[e]?.[s]||a,l=t.useContext(u);if(l)return l;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}(i,...r)]}],28801)},723745,e=>{"use strict";var t,n=e.i(578791),r=e.i(119836),o=e.i(513410),i=e.i(254161),a=e.i(711743),s=e.i(190898),u="dismissableLayer.update",l=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),c=n.forwardRef((e,c)=>{let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:h,onInteractOutside:g,onDismiss:y,...E}=e,b=n.useContext(l),[w,C]=n.useState(null),x=w?.ownerDocument??globalThis?.document,[,N]=n.useState({}),R=(0,i.useComposedRefs)(c,e=>C(e)),S=Array.from(b.layers),[D]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(D),T=w?S.indexOf(w):-1,_=b.layersWithOutsidePointerEventsDisabled.size>0,L=T>=P,O=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1),i=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let n=function(){f("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));L&&!n&&(v?.(e),g?.(e),e.defaultPrevented||y?.())},x),M=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&f("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(h?.(e),g?.(e),e.defaultPrevented||y?.())},x);return!function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{T===b.layers.size-1&&(p?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},x),n.useEffect(()=>{if(w)return m&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(w)),b.layers.add(w),d(),()=>{m&&1===b.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=t)}},[w,x,m,b]),n.useEffect(()=>()=>{w&&(b.layers.delete(w),b.layersWithOutsidePointerEventsDisabled.delete(w),d())},[w,b]),n.useEffect(()=>{let e=()=>N({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)}
2,[]),(0,s.jsx)(o.Primitive.div,{...E,ref:R,style:{pointerEvents:_?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,O.onPointerDownCapture)})});function d(){let e=new CustomEvent(u);document.dispatchEvent(e)}function f(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?(0,o.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}c.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(l),a=n.useRef(null),u=(0,i.useComposedRefs)(t,a);return n.useEffect(()=>{let e=a.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,s.jsx)(o.Primitive.div,{...e,ref:u})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,c],723745)},881056,e=>{"use strict";var t=e.i(578791),n=0;function r(){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}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??r()),document.body.insertAdjacentElement("beforeend",e[1]??r()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},172234,e=>{"use strict";let t;var n=e.i(578791),r=e.i(254161),o=e.i(513410),i=e.i(711743),a=e.i(190898),s="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},c=n.forwardRef((e,t)=>{let{loop:c=!1,trapped:v=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...y}=e,[E,b]=n.useState(null),w=(0,i.useCallbackRef)(h),C=(0,i.useCallbackRef)(g),x=n.useRef(null),N=(0,r.useComposedRefs)(t,e=>b(e)),R=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(v){let e=function(e){if(R.paused||!E)return;let t=e.target;E.contains(t)?x.current=t:m(x.current,{select:!0})},t=function(e){if(R.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||m(x.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[v,E,R.paused]),n.useEffect(()=>{if(E){p.add(R);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(s,l);E.addEventListener(s,w),E.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(d(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(E))}return()=>{E.removeEventListener(s,w),setTimeout(()=>{let t=new CustomEvent(u,l);E.addEventListener(u,C),E.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),E.removeEventListener(u,C),p.remove(R)},0)}}},[E,w,C,R]);let S=n.useCallback(e=>{if(!c&&!v||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;let t,o=e.currentTarget,[i,a]=[f(t=d(r=o),r),f(t.reverse(),r)];i&&a?e.shiftKey||n!==a?e.shiftKey&&n===i&&(e.preventDefault(),c&&m(a,{select:!0})):(e.preventDefault(),c&&m(i,{select:!0})):n===o&&e.preventDefault()}},[c,v,R.paused]);return(0,a.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:N,onKeyDown:S})});function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}c.displayName="FocusScope";var p=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=v(t,e)).unshift(e)},remove(e){t=v(t,e),t[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,c])},961655,e=>{"use strict";var t=e.i(578791),n=e.i(780550),r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},178699,e=>{"use strict";var t=e.i(578791),n=e.i(702955),r=e.i(513410),o=e.i(780550),i=e.i(190898),a=t.forwardRef((e,a)=>{let{container:s,...u}=e,[l,c]=t.useState(!1);(0,o.useLayoutEffect)(()=>c(!0),[]);let d=s||l&&globalThis?.document?.body;return d?n.default.createPortal((0,i.jsx)(r.Primitive.div,{...u,ref:a}),d):null});a.displayName="Portal",e.s(["Portal",0,a])},203601,e=>{"use strict";var t=e.i(578791),n=e.i(254161),r=e.i(780550),o=e=>{var o;let a,s,{present:u,children:l}=e,c=function(e){var n,o;let[a,s]=t.useState(),u=t.useRef(null),l=t.useRef(e),c=t.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>
2o[e][t]??e,n));return t.useEffect(()=>{let e=i(u.current);c.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=u.current,n=l.current;if(n!==e){let r=c.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,r.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,n=n=>{let r=i(u.current).includes(CSS.escape(n.animationName));if(n.target===a&&r&&(f("ANIMATION_END"),!l.current)){let n=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=n)})}},r=e=>{e.target===a&&(c.current=i(u.current))};return a.addEventListener("animationstart",r),a.addEventListener("animationcancel",n),a.addEventListener("animationend",n),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",r),a.removeEventListener("animationcancel",n),a.removeEventListener("animationend",n)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{u.current=e?getComputedStyle(e):null,s(e)},[])}}(u),d="function"==typeof l?l({present:c.isPresent}):t.Children.only(l),f=(0,n.useComposedRefs)(c.ref,(o=d,(s=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(s=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof l||c.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",0,o])},513410,e=>{"use strict";var t=e.i(578791),n=e.i(702955),r=e.i(190279),o=e.i(190898),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),a=t.forwardRef((e,t)=>{let{asChild:r,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...a,ref:t})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},190279,e=>{"use strict";var t=e.i(578791),n=e.i(254161),r=e.i(190898),o=Symbol("radix.slottable");function i(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}e.s(["createSlot",0,function(e){var o;let a,s=(o=e,(a=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,s,u=(a=o,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,o.props);return o.type!==t.Fragment&&(l.ref=r?(0,n.composeRefs)(r,u):u),t.cloneElement(o,l)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,a),u=t.forwardRef((e,n)=>{let{children:o,...a}=e,u=t.Children.toArray(o),l=u.find(i);if(l){let e=l.props.children,o=u.map(n=>n!==l?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...a,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,r.jsx)(s,{...a,ref:n,children:o})});return u.displayName=`${e}.Slot`,u},"createSlottable",0,function(e){let t=({children:e})=>(0,r.jsx)(r.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=o,t}])},711743,e=>{"use strict";var t=e.i(578791);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},882536,e=>{"use strict";var t=e.i(578791),n=e.i(780550);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:o=()=>{},caller:i}){let[a,s,u]=function({defaultProp:e,onChange:n}){let[o,i]=t.useState(e),a=t.useRef(o),s=t.useRef(n);return r(()=>{s.current=n},[n]),t.useEffect(()=>{a.current!==o&&(s.current?.(o),a.current=o)},[o,a]),[o,i,s]}({defaultProp:n,onChange:o}),l=void 0!==e,c=l?e:a;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=l},[l,i])}return[c,t.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else s(t)},[l,e,s,u])]}],882536)},780550,e=>{"use strict";var t=e.i(578791),n=globalThis?.document?t.useLayoutEffect:()=>{};
2e.s(["useLayoutEffect",0,n])},739045,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,s,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[s]||(r[s]=new WeakMap);var c=r[s],d=[],f=new Set,m=new Set(l),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};l.forEach(p);var v=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var r=e.getAttribute(u),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(c.get(e)||0)+1;t.set(e,i),c.set(e,a),d.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(s,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(a),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=c.get(e)-1;t.set(e,r),c.set(e,o),r||(n.has(e)||e.removeAttribute(u),n.delete(e)),o||e.removeAttribute(s)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),a(r,o,n,"aria-hidden")):function(){return null}}])},970272,e=>{"use strict";var t,n,r,o,i,a,s,u=e.i(477469),l=e.i(578791),c="right-scroll-bar-position",d="width-before-scroll-bar";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?l.useLayoutEffect:l.useEffect,p=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=(0,u.__assign)({async:!0,ssr:!1},t),i),h=function(){},g=l.forwardRef(function(e,t){var n,r,o,i,a=l.useRef(null),s=l.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),c=s[0],d=s[1],g=e.forwardProps,y=e.children,E=e.className,b=e.removeScrollBar,w=e.enabled,C=e.shards,x=e.sideCar,N=e.noRelative,R=e.noIsolation,S=e.inert,D=e.allowPinchZoom,P=e.as,T=e.gapMode,_=(0,u.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(n=[a,t],r=function(e){return n.forEach(function(t){return f(t,e)})},(o=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,m(function(){var e=p.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||f(e,null)}),r.forEach(function(e){t.has(e)||f(e,o)})}p.set(i,n)},[n]),i),O=(0,u.__assign)((0,u.__assign)({},_),c);return l.createElement(l.Fragment,null,w&&l.createElement(x,{sideCar:v,removeScrollBar:b,shards:C,noRelative:N,noIsolation:R,inert:S,setCallbacks:d,allowPinchZoom:!!D,lockRef:a,gapMode:T}),g?l.cloneElement(l.Children.only(y),(0,u.__assign)((0,u.__assign)({},O),{ref:L})):l.createElement(void 0===P?"div":P,(0,u.__assign)({},O,{className:E,ref:L}),y))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:d,zeroRight:c};var y=function(e){var t=e.sideCar,n=(0,u.__rest)(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 l.createElement(r,(0,u.__assign)({},n))};
2y.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=E();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},N=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(o)]},R=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=N(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])}},S=w(),D="data-scroll-locked",P=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(D,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(c," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(D,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},T=function(){var e=parseInt(document.body.getAttribute(D)||"0",10);return isFinite(e)?e:0},_=function(){l.useEffect(function(){return document.body.setAttribute(D,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(D):document.body.setAttribute(D,e.toString())}},[])},L=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;_();var i=l.useMemo(function(){return R(o)},[o]);return l.createElement(S,{styles:P(i,!t,o,n?"":"!important")})},O=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){O=!1}var j=!!O&&{passive:!1},k=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},A=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),I(e,r)){var o=F(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},I=function(e,t){return"v"===e?k(t,"overflowY"):k(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*r,u=n.target,l=t.contains(u),c=!1,d=s>0,f=0,m=0;do{if(!u)break;var p=F(e,u),v=p[0],h=p[1]-p[2]-a*v;(v||h)&&I(e,u)&&(f+=h,m+=v);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&u!==document.body||l&&(t.contains(u)||t===u))return d&&(o&&1>Math.abs(f)||!o&&s>f)?c=!0:!d&&(o&&1>Math.abs(m)||!o&&-s>m)&&(c=!0),c},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},H=0,K=[];let z=(a=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(H++)[0],i=l.useState(w)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,u.__spreadArray)([e.lockRef.current],(e.shards||[]).map(U),!0).filter(
2Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=B(e),s=n.current,u="deltaX"in e?e.deltaX:s[0]-i[0],l="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),m=f&&f.anchorNode;if(m&&(m===c||m.contains(c)))return!1;var p=A(d,c);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=A(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var v=r.current||o;return W(v,t,e,"h"===v?u:l,!0)},[]),c=l.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?$(e):B(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=l.useCallback(function(e){n.current=B(e),r.current=void 0},[]),m=l.useCallback(function(t){d(t.type,$(t),t.target,s(t,e.lockRef.current))},[]),p=l.useCallback(function(t){d(t.type,B(t),t.target,s(t,e.lockRef.current))},[]);l.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",c,j),document.addEventListener("touchmove",c,j),document.addEventListener("touchstart",f,j),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,j),document.removeEventListener("touchmove",c,j),document.removeEventListener("touchstart",f,j)}},[]);var v=e.removeScrollBar,h=e.inert;return l.createElement(l.Fragment,null,h?l.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?l.createElement(L,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(a),y);var X=l.forwardRef(function(e,t){return l.createElement(g,(0,u.__assign)({},e,{ref:t,sideCar:z}))});X.classNames=g.classNames,e.s(["RemoveScroll",0,X],970272)},104142,153458,e=>{"use strict";var t=e.i(190898),n=e.i(578791),r=e.i(119836),o=e.i(254161),i=e.i(28801),a=e.i(961655),s=e.i(882536),u=e.i(723745),l=e.i(172234),c=e.i(178699),d=e.i(203601),f=e.i(513410),m=e.i(881056),p=e.i(970272),v=e.i(739045),h=e.i(190279),g="Dialog",[y,E]=(0,i.createContextScope)(g),[b,w]=y(g),C=e=>{let{__scopeDialog:r,children:o,open:i,defaultOpen:u,onOpenChange:l,modal:c=!0}=e,d=n.useRef(null),f=n.useRef(null),[m,p]=(0,s.useControllableState)({prop:i,defaultProp:u??!1,onChange:l,caller:g});return(0,t.jsx)(b,{scope:r,triggerRef:d,contentRef:f,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:m,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:c,children:o})};C.displayName=g;var x="DialogTrigger",N=n.forwardRef((e,n)=>{let{__scopeDialog:i,...a}=e,s=w(x,i),u=(0,o.useComposedRefs)(n,s.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":H(s.open),...a,ref:u,onClick:(0,r.composeEventHandlers)(e.onClick,s.onOpenToggle)})});N.displayName=x;var R="DialogPortal",[S,D]=y(R,{forceMount:void 0}),P=e=>{let{__scopeDialog:r,forceMount:o,children:i,container:a}=e,s=w(R,r);return(0,t.jsx)(S,{scope:r,forceMount:o,children:n.Children.map(i,e=>(0,t.jsx)(d.Presence,{present:o||s.open,children:(0,t.jsx)(c.Portal,{asChild:!0,container:a,children:e})}))})};P.displayName=R;
2var T="DialogOverlay",_=n.forwardRef((e,n)=>{let r=D(T,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,a=w(T,e.__scopeDialog);return a.modal?(0,t.jsx)(d.Presence,{present:o||a.open,children:(0,t.jsx)(O,{...i,ref:n})}):null});_.displayName=T;var L=(0,h.createSlot)("DialogOverlay.RemoveScroll"),O=n.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,i=w(T,r);return(0,t.jsx)(p.RemoveScroll,{as:L,allowPinchZoom:!0,shards:[i.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":H(i.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),M="DialogContent",j=n.forwardRef((e,n)=>{let r=D(M,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,a=w(M,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:o||a.open,children:a.modal?(0,t.jsx)(k,{...i,ref:n}):(0,t.jsx)(A,{...i,ref:n})})});j.displayName=M;var k=n.forwardRef((e,i)=>{let a=w(M,e.__scopeDialog),s=n.useRef(null),u=(0,o.useComposedRefs)(i,a.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,v.hideOthers)(e)},[]),(0,t.jsx)(I,{...e,ref:u,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),A=n.forwardRef((e,r)=>{let o=w(M,e.__scopeDialog),i=n.useRef(!1),a=n.useRef(!1);return(0,t.jsx)(I,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),I=n.forwardRef((e,r)=>{let{__scopeDialog:i,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:c,...d}=e,f=w(M,i),p=n.useRef(null),v=(0,o.useComposedRefs)(r,p);return(0,m.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:s,onUnmountAutoFocus:c,children:(0,t.jsx)(u.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":H(f.open),...d,ref:v,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Y,{titleId:f.titleId}),(0,t.jsx)(V,{contentRef:p,descriptionId:f.descriptionId})]})]})}),F="DialogTitle",W=n.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,i=w(F,r);return(0,t.jsx)(f.Primitive.h2,{id:i.titleId,...o,ref:n})});W.displayName=F;var B="DialogDescription";n.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,i=w(B,r);return(0,t.jsx)(f.Primitive.p,{id:i.descriptionId,...o,ref:n})}).displayName=B;var $="DialogClose",U=n.forwardRef((e,n)=>{let{__scopeDialog:o,...i}=e,a=w($,o);return(0,t.jsx)(f.Primitive.button,{type:"button",...i,ref:n,onClick:(0,r.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function H(e){return e?"open":"closed"}U.displayName=$;var K="DialogTitleWarning",[z,X]=(0,i.createContext)(K,{contentName:M,titleName:F,docsSlug:"dialog"}),Y=({titleId:e})=>{let t=X(K),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 3 4If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 5 6For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},V=({contentRef:e,descriptionId:t})=>{let r=X("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null};e.s(["Close",0,U,"Content",0,j,"Overlay",0,_,"Portal",0,P,"Root",0,C,"Title",0,W,"Trigger",0,N],153458);var Z=e.i(470733),q=e.i(873978),G=e.i(485218),J=e.i(484649);let Q=({className:e,size:n=24})=>(0,t.jsx)(U,{asChild:!0,children:(0,t.jsx)(G.Button,{"aria-label":"Close dialog",className:"group transition-colors dark:text-black",size:"icon",variant:"subtle",children:(0,t.jsx)(J.Icon,{className:e,name:"x",size:n})})}),ee=({className:e,ref:n,...r})=>(0,t.jsx)(_,{ref:n,asChild:!0,forceMount:!0,...r,children:(0,t.jsx)(q.motion.div,{animate:{o
6pacity:1},className:(0,Z.clsx)("fixed inset-0 z-[60] bg-black/40 dark:bg-gray-800",e),exit:{opacity:0},initial:{opacity:0},transition:{duration:.15}})});ee.displayName=_.displayName;let et=({children:e,className:n,contentMaxWidth:r="max-w-md",ref:o,...i})=>(0,t.jsxs)(P,{forceMount:!0,children:[(0,t.jsx)(ee,{}),(0,t.jsx)(j,{ref:o,asChild:!0,className:(0,Z.clsx)("fixed left-1/2 top-[15dvh] z-[60] flex max-h-[70dvh] w-full transform flex-col overflow-hidden rounded-2xl border bg-white shadow",n,r),forceMount:!0,...i,children:(0,t.jsx)(q.motion.div,{animate:{opacity:1,scale:1},exit:{opacity:0,scale:.96},initial:{opacity:0,scale:.96},style:{translateX:"-50%"},transition:{duration:.2},children:e})})]});et.displayName=j.displayName;let en=({className:e,closeButtonClassName:n,showCloseButton:r=!0,title:o,...i})=>(0,t.jsxs)("div",{className:(0,Z.clsx)("flex min-h-12 shrink-0 items-center justify-between px-6 pt-6",e),...i,children:[(0,t.jsx)(eo,{className:"!mb-0 line-clamp-1 text-base !font-medium",children:o}),r?(0,t.jsx)(Q,{className:n}):null]});en.displayName="DialogHeader";let er=({className:e,...n})=>(0,t.jsx)("div",{className:(0,Z.clsx)("min-h-0 flex-1 overflow-y-auto px-6 pb-8 pt-4",e),...n});er.displayName="DialogBody";let eo=({className:e,ref:n,...r})=>(0,t.jsx)(W,{ref:n,className:(0,Z.clsx)("text-lg font-semibold tracking-tight",e),...r});eo.displayName=W.displayName,e.s(["Dialog",0,C,"DialogBody",0,er,"DialogClose",0,Q,"DialogContent",0,et,"DialogHeader",0,en,"DialogOverlay",0,ee,"DialogPortal",0,P,"DialogTitle",0,eo,"DialogTrigger",0,N],104142)}]); 7 8//# debugId=4156d936-fdc3-f554-c316-346e2a564ac7
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.