1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91967,43250,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)}}],91967);var t=e.i(41525),n=e.i(43687);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),u=o.length;o=[...o,i];let c=r=>{let{scope:o,children:i,...c}=r,s=o?.[e]?.[u]||a,l=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(s.Provider,{value:l,children:i})};return c.displayName=r+"Provider",[c,function(n,o){let c=o?.[e]?.[u]||a,s=t.useContext(c);if(s)return s;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)]}],43250)},48989,80939,36131,e=>{"use strict";var t,n=e.i(41525),r=e.i(91967),o=e.i(59977),i=e.i(52053),a=e.i(43687),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.createSlot)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",0,u,"dispatchDiscreteCustomEvent",0,c],80939);var s=e.i(67928);function l(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["useCallbackRef",0,l],36131);var d="dismissableLayer.update",f=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=n.forwardRef((e,o)=>{let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:g,onDismiss:y,...E}=e,b=n.useContext(f),[w,C]=n.useState(null),R=w?.ownerDocument??globalThis?.document,[,S]=n.useState({}),N=(0,s.useComposedRefs)(o,e=>C(e)),D=Array.from(b.layers),[P]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),x=D.indexOf(P),O=w?D.indexOf(w):-1,T=b.layersWithOutsidePointerEventsDisabled.size>0,L=O>=x,A=function(e,t=globalThis?.document){let r=l(e),o=n.useRef(!1),i=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let n=function(){v("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&&(p?.(e),g?.(e),e.defaultPrevented||y?.())},R),M=function(e,t=globalThis?.document){let r=l(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&v("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?.())},R);return!function(e,t=globalThis?.document){let r=l(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=>{O===b.layers.size-1&&(c?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},R),n.useEffect(()=>{if(w)return i&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(w)),b.layers.add(w),m(),()=>{i&&1===b.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[w,R,i,b]),n.useEffect(()=>()=>{w&&(b.layers.delete(w),b.layersWithOutsidePointerEventsDisabled.delete(w),m())},[w,b]),n.useEffect(()=>{let e=()=>S({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,a.jsx)(u.div,{...E,ref:N,style:{pointerEvents:T?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,A.onPointerDownCapture)})});function m(){let e=new CustomEvent(d);document.dispatchEvent(e)}function v(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?c(o,i):o.dispatchEvent(i)}p.displayName="DismissableLayer",n.forwardRef((e,t)=>
1{let r=n.useContext(f),o=n.useRef(null),i=(0,s.useComposedRefs)(t,o);return n.useEffect(()=>{let e=o.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,a.jsx)(u.div,{...e,ref:i})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,p],48989)},33616,72687,e=>{"use strict";var t=e.i(41525),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n],72687);var r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(r());return n(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}],33616)},32374,90088,e=>{"use strict";var t=e.i(41525),n=e.i(59977),r=e.i(80939),o=e.i(72687),i=e.i(43687),a=t.forwardRef((e,a)=>{let{container:u,...c}=e,[s,l]=t.useState(!1);(0,o.useLayoutEffect)(()=>l(!0),[]);let d=u||s&&globalThis?.document?.body;return d?n.default.createPortal((0,i.jsx)(r.Primitive.div,{...c,ref:a}),d):null});a.displayName="Portal",e.s(["Portal",0,a],32374);var u=e.i(67928),c=e=>{var n;let r,i,{present:a,children:c}=e,l=function(e){var n,r;let[i,a]=t.useState(),u=t.useRef(null),c=t.useRef(e),l=t.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>r[e][t]??e,n));return t.useEffect(()=>{let e=s(u.current);l.current="mounted"===d?e:"none"},[d]),(0,o.useLayoutEffect)(()=>{let t=u.current,n=c.current;if(n!==e){let r=l.current,o=s(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,o.useLayoutEffect)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=s(u.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(f("ANIMATION_END"),!c.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(l.current=s(u.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{u.current=e?getComputedStyle(e):null,a(e)},[])}}(a),d="function"==typeof c?c({present:l.isPresent}):t.Children.only(c),f=(0,u.useComposedRefs)(l.ref,(n=d,(i=(r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?n.ref:(i=(r=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof c||l.isPresent?t.cloneElement(d,{ref:f}):null};function s(e){return e?.animationName||"none"}c.displayName="Presence",e.s(["Presence",0,c],90088)},17256,e=>{"use strict";var t=e.i(41525),n=e.i(72687);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,u,c]=function({defaultProp:e,onChange:n}){let[o,i]=t.useState(e),a=t.useRef(o),u=t.useRef(n);return r(()=>{u.current=n},[n]),t.useEffect(()=>{a.current!==o&&(u.current?.(o),a.current=o)},[o,a]),[o,i,u]}({defaultProp:n,onChange:o}),s=void 0!==e,l=s?e:a;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==s){let t=s?"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=s},[s,i])}return[l,t.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&c.current?.(n)}else u(t)},[s,e,u,c])]}],17256)},1685,e=>{"use strict";var t=e.i(41525),n=e.i(86303);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o=e.i(94779);e.s(["default",0,(e,i)=>{let a=(0,t.forwardRef)(({className:a,...u},c)=>(0,t.createElement)(o.default,{ref:c,iconNode:i,className:(0,n.mergeClasses)(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...u}));return a.displayName=r(e),a}],1685)},45424,39340,6500,73772,e=>{"use strict";let t;var n,r,o,i,a,u,c,s=e.i(41525),l=e.i(67928),d=e.i(80939),f=e.i(36131),p=e.i(43687),m="focusScope.autoFocusOnMount",v="focusScope.autoFocusOnUnmount",h={bubbles:!1,cancelable:!0},g=s.forwardRef((e,t)=>
1{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,c]=s.useState(null),g=(0,f.useCallbackRef)(o),C=(0,f.useCallbackRef)(i),R=s.useRef(null),S=(0,l.useComposedRefs)(t,e=>c(e)),N=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(r){let e=function(e){if(N.paused||!u)return;let t=e.target;u.contains(t)?R.current=t:b(R.current,{select:!0})},t=function(e){if(N.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||b(R.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&&b(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,N.paused]),s.useEffect(()=>{if(u){w.add(N);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(m,h);u.addEventListener(m,g),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(b(r,{select:t}),document.activeElement!==n)return}(y(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&b(u))}return()=>{u.removeEventListener(m,g),setTimeout(()=>{let t=new CustomEvent(v,h);u.addEventListener(v,C),u.dispatchEvent(t),t.defaultPrevented||b(e??document.body,{select:!0}),u.removeEventListener(v,C),w.remove(N)},0)}}},[u,g,C,N]);let D=s.useCallback(e=>{if(!n&&!r||N.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,r=e.currentTarget,[a,u]=[E(t=y(i=r),i),E(t.reverse(),i)];a&&u?e.shiftKey||o!==u?e.shiftKey&&o===a&&(e.preventDefault(),n&&b(u,{select:!0})):(e.preventDefault(),n&&b(a,{select:!0})):o===r&&e.preventDefault()}},[n,r,N.paused]);return(0,p.jsx)(d.Primitive.div,{tabIndex:-1,...a,ref:S,onKeyDown:D})});function y(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 E(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 b(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()}}g.displayName="FocusScope";var w=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=C(t,e)).unshift(e)},remove(e){t=C(t,e),t[0]?.resume()}});function C(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,g],45424);var R=0;function S(){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(){s.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??S()),document.body.insertAdjacentElement("beforeend",e[1]??S()),R++,()=>{1===R&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),R--}},[])}],39340);var N=function(){return(N=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function D(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var P=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),x="width-before-scroll-bar";function O(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var T="u">typeof window?s.useLayoutEffect:s.useEffect,L=new WeakMap,A=(void 0===n&&(n={}),(void 0===r&&(r=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=r(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var n=o;
1o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(r)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=N({async:!0,ssr:!1},n),a),M=function(){},I=s.forwardRef(function(e,t){var n,r,o,i,a=s.useRef(null),u=s.useState({onScrollCapture:M,onWheelCapture:M,onTouchMoveCapture:M}),c=u[0],l=u[1],d=e.forwardProps,f=e.children,p=e.className,m=e.removeScrollBar,v=e.enabled,h=e.shards,g=e.sideCar,y=e.noRelative,E=e.noIsolation,b=e.inert,w=e.allowPinchZoom,C=e.as,R=e.gapMode,S=D(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=(n=[a,t],r=function(e){return n.forEach(function(t){return O(t,e)})},(o=(0,s.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,T(function(){var e=L.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||O(e,null)}),r.forEach(function(e){t.has(e)||O(e,o)})}L.set(i,n)},[n]),i),x=N(N({},S),c);return s.createElement(s.Fragment,null,v&&s.createElement(g,{sideCar:A,removeScrollBar:m,shards:h,noRelative:y,noIsolation:E,inert:b,setCallbacks:l,allowPinchZoom:!!w,lockRef:a,gapMode:R}),d?s.cloneElement(s.Children.only(f),N(N({},x),{ref:P})):s.createElement(void 0===C?"div":C,N({},x,{className:p,ref:P}),f))});I.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},I.classNames={fullWidth:x,zeroRight:P};var k=function(e){var t=e.sideCar,n=D(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 s.createElement(r,N({},n))};k.isSideCarExport=!0;var j=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=c||("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)}}},F=function(){var e=j();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},_=function(){var e=F();return function(t){return e(t.styles,t.dynamic),null}},W={left:0,top:0,right:0,gap:0},$=function(e){return parseInt(e||"",10)||0},U=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[$(n),$(r),$(o)]},B=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return W;var t=U(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])}},H=_(),K="data-scroll-locked",X=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(K,"] {\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(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(P," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(x," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(P," .").concat(P," {\n right: 0 ").concat(r,";\n }\n \n .").concat(x," .").concat(x," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(K,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},Y=function(){var e=parseInt(document.body.getAttribute(K)||"0",10);return isFinite(e)?e:0},z=function(){s.useEffect(function(){return document.body.setAttribute(K,(Y()+1).toString()),function(){var e=Y()-1;e<=0?document.body.removeAttribute(K):document.body.setAttribute(K,e.toString())}},[])},Z=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;z();var i=s.useMemo(function(){return B(o)},[o]);return s.createElement(H,{styles:X(i,!t,o,n?"":"!important")})},q=!1;if("u">typeof window)try{var G=Object.defineProperty({},"passive",{get:function(){return q=!0,!0}});window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch(e){q=!1}var V=!!q&&{passive:!1},J=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])},Q=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ee(e,r)){var o=et(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},ee=function(e,t){return"v"===e?J(t,"overflowY"):J(t,"overflowX")},et=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},en=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),u=a*r,c=n.target,s=t.contains(c),l=!1,d=u>0,f=0,p=0;
1do{if(!c)break;var m=et(e,c),v=m[0],h=m[1]-m[2]-a*v;(v||h)&&ee(e,c)&&(f+=h,p+=v);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&u>f)?l=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(l=!0),l},er=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eo=function(e){return[e.deltaX,e.deltaY]},ei=function(e){return e&&"current"in e?e.current:e},ea=0,eu=[];let ec=(u=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(ea++)[0],i=s.useState(_)[0],a=s.useRef(e);s.useEffect(function(){a.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ei),!0).filter(Boolean);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 u=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=er(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-i[0],s="deltaY"in e?e.deltaY:u[1]-i[1],l=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===l||p.contains(l)))return!1;var m=Q(d,l);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=Q(d,l)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var v=r.current||o;return en(v,t,e,"h"===v?c:s,!0)},[]),c=s.useCallback(function(e){if(eu.length&&eu[eu.length-1]===i){var n="deltaY"in e?eo(e):er(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(ei).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=s.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)},[]),d=s.useCallback(function(e){n.current=er(e),r.current=void 0},[]),f=s.useCallback(function(t){l(t.type,eo(t),t.target,u(t,e.lockRef.current))},[]),p=s.useCallback(function(t){l(t.type,er(t),t.target,u(t,e.lockRef.current))},[]);s.useEffect(function(){return eu.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,V),document.addEventListener("touchmove",c,V),document.addEventListener("touchstart",d,V),function(){eu=eu.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,V),document.removeEventListener("touchmove",c,V),document.removeEventListener("touchstart",d,V)}},[]);var m=e.removeScrollBar,v=e.inert;return s.createElement(s.Fragment,null,v?s.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?s.createElement(Z,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},A.useMedium(u),k);var es=s.forwardRef(function(e,t){return s.createElement(I,N({},e,{ref:t,sideCar:ec}))});es.classNames=I.classNames,e.s(["RemoveScroll",0,es],6500);var el=new WeakMap,ed=new WeakMap,ef={},ep=0,em=function(e){return e&&(e.host||em(e.parentNode))},ev=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=em(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});
1ef[n]||(ef[n]=new WeakMap);var i=ef[n],a=[],u=new Set,c=new Set(o),s=function(e){!e||u.has(e)||(u.add(e),s(e.parentNode))};o.forEach(s);var l=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))l(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(el.get(e)||0)+1,s=(i.get(e)||0)+1;el.set(e,c),i.set(e,s),a.push(e),1===c&&o&&ed.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return l(t),u.clear(),ep++,function(){a.forEach(function(e){var t=el.get(e)-1,o=i.get(e)-1;el.set(e,t),i.set(e,o),t||(ed.has(e)||e.removeAttribute(r),ed.delete(e)),o||e.removeAttribute(n)}),--ep||(el=new WeakMap,el=new WeakMap,ed=new WeakMap,ef={})}};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"))),ev(r,o,n,"aria-hidden")):function(){return null}}],73772)},46951,e=>{"use strict";var t=e.i(41525),n=e.i(91967),r=e.i(67928),o=e.i(43250),i=e.i(33616),a=e.i(17256),u=e.i(48989),c=e.i(45424),s=e.i(32374),l=e.i(90088),d=e.i(80939),f=e.i(39340),p=e.i(6500),m=e.i(73772),v=e.i(52053),h=e.i(43687),g="Dialog",[y,E]=(0,o.createContextScope)(g),[b,w]=y(g),C=e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:u,onOpenChange:c,modal:s=!0}=e,l=t.useRef(null),d=t.useRef(null),[f,p]=(0,a.useControllableState)({prop:o,defaultProp:u??!1,onChange:c,caller:g});return(0,h.jsx)(b,{scope:n,triggerRef:l,contentRef:d,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:s,children:r})};C.displayName=g;var R="DialogTrigger",S=t.forwardRef((e,t)=>{let{__scopeDialog:o,...i}=e,a=w(R,o),u=(0,r.useComposedRefs)(t,a.triggerRef);return(0,h.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":K(a.open),...i,ref:u,onClick:(0,n.composeEventHandlers)(e.onClick,a.onOpenToggle)})});S.displayName=R;var N="DialogPortal",[D,P]=y(N,{forceMount:void 0}),x=e=>{let{__scopeDialog:n,forceMount:r,children:o,container:i}=e,a=w(N,n);return(0,h.jsx)(D,{scope:n,forceMount:r,children:t.Children.map(o,e=>(0,h.jsx)(l.Presence,{present:r||a.open,children:(0,h.jsx)(s.Portal,{asChild:!0,container:i,children:e})}))})};x.displayName=N;var O="DialogOverlay",T=t.forwardRef((e,t)=>{let n=P(O,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=w(O,e.__scopeDialog);return i.modal?(0,h.jsx)(l.Presence,{present:r||i.open,children:(0,h.jsx)(A,{...o,ref:t})}):null});T.displayName=O;var L=(0,v.createSlot)("DialogOverlay.RemoveScroll"),A=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(O,n);return(0,h.jsx)(p.RemoveScroll,{as:L,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(d.Primitive.div,{"data-state":K(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),M="DialogContent",I=t.forwardRef((e,t)=>{let n=P(M,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=w(M,e.__scopeDialog);return(0,h.jsx)(l.Presence,{present:r||i.open,children:i.modal?(0,h.jsx)(k,{...o,ref:t}):(0,h.jsx)(j,{...o,ref:t})})});I.displayName=M;var k=t.forwardRef((e,o)=>{let i=w(M,e.__scopeDialog),a=t.useRef(null),u=(0,r.useComposedRefs)(o,i.contentRef,a);return t.useEffect(()=>{let e=a.current;if(e)return(0,m.hideOthers)(e)},[]),(0,h.jsx)(F,{...e,ref:u,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),j=t.forwardRef((e,n)=>{let r=w(M,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return(0,h.jsx)(F,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}
1),F=t.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,...l}=e,d=w(M,o),p=t.useRef(null),m=(0,r.useComposedRefs)(n,p);return(0,f.useFocusGuards)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,h.jsx)(u.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":K(d.open),...l,ref:m,onDismiss:()=>d.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(Z,{titleId:d.titleId}),(0,h.jsx)(q,{contentRef:p,descriptionId:d.descriptionId})]})]})}),_="DialogTitle",W=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(_,n);return(0,h.jsx)(d.Primitive.h2,{id:o.titleId,...r,ref:t})});W.displayName=_;var $="DialogDescription",U=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w($,n);return(0,h.jsx)(d.Primitive.p,{id:o.descriptionId,...r,ref:t})});U.displayName=$;var B="DialogClose",H=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=w(B,r);return(0,h.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function K(e){return e?"open":"closed"}H.displayName=B;var X="DialogTitleWarning",[Y,z]=(0,o.createContext)(X,{contentName:M,titleName:_,docsSlug:"dialog"}),Z=({titleId:e})=>{let n=z(X),r=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},q=({contentRef:e,descriptionId:n})=>{let r=z("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");n&&t&&(document.getElementById(n)||console.warn(o))},[o,e,n]),null};e.s(["Close",0,H,"Content",0,I,"Description",0,U,"Dialog",0,C,"DialogClose",0,H,"DialogContent",0,I,"DialogDescription",0,U,"DialogOverlay",0,T,"DialogPortal",0,x,"DialogTitle",0,W,"DialogTrigger",0,S,"Overlay",0,T,"Portal",0,x,"Root",0,C,"Title",0,W,"Trigger",0,S,"WarningProvider",0,Y,"createDialogScope",0,E])}]);
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.