(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2777],{97349:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(30853).Z)("adjustments-horizontal","IconAdjustmentsHorizontal",[["path",{d:"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M4 6l8 0",key:"svg-1"}],["path",{d:"M16 6l4 0",key:"svg-2"}],["path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-3"}],["path",{d:"M4 12l2 0",key:"svg-4"}],["path",{d:"M10 12l10 0",key:"svg-5"}],["path",{d:"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-6"}],["path",{d:"M4 18l11 0",key:"svg-7"}],["path",{d:"M19 18l1 0",key:"svg-8"}]])},83454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(77663)},77663:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function u(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var l=[],s=!1,c=-1;function d(){s&&r&&(s=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!s){var e=u(d);s=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,s=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||s||u(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e](a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//";var o=r(229);e.exports=o}()},30769:function(e,t,n){"use strict";let r;n.d(t,{VY:function(){return ta},h_:function(){return to},fC:function(){return tn},xz:function(){return tr}});var o,a=n(67294),i=n.t(a,2);function u(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function l(...e){return t=>e.forEach(e=>{var n;"function"==typeof(n=e)?n(t):null!=n&&(n.current=t)})}function s(...e){return a.useCallback(l(...e),e)}var c=n(85893),d=n(73935),f=a.forwardRef((e,t)=>{let{children:n,...r}=e,o=a.Children.toArray(n),i=o.find(v);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,c.jsx)(p,{...r,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,c.jsx)(p,{...r,ref:t,children:n})});f.displayName="Slot";var p=a.forwardRef((e,t)=>{let{children:n,...r}=e;if(a.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return a.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r],i=/^on[A-Z]/.test(r);i?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?l(t,i):i})}return a.Children.count(n)>1?a.Children.only(null):null});p.displayName="SlotClone";var m=({children:e})=>(0,c.jsx)(c.Fragment,{children:e});function v(e){return a.isValidElement(e)&&e.type===m}var h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=a.forwardRef((e,n)=>{let{asChild:r,...o}=e,a=r?f:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(a,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function g(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}var y="dismissableLayer.update",b=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w=a.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:d,onDismiss:f,...p}=e,m=a.useContext(b),[v,w]=a.useState(null),C=v?.ownerDocument??globalThis?.document,[,P]=a.useState({}),R=s(t,e=>w(e)),N=Array.from(m.layers),[T]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),S=N.indexOf(T),M=v?N.indexOf(v):-1,O=m.layersWithOutsidePointerEventsDisabled.size>0,A=M>=S,k=function(e,t=globalThis?.document){let n=g(e),r=a.useRef(!1),o=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){x("dismissableLayer.pointerDownOutside",n,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));!A||n||(i?.(e),d?.(e),e.defaultPrevented||f?.())},C),L=function(e,t=globalThis?.document){let n=g(e),r=a.useRef(!1);return a.useEffect(()=>{let e=e=>{e.target&&!r.current&&x("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));n||(l?.(e),d?.(e),e.defaultPrevented||f?.())},C);return!function(e,t=globalThis?.document){let n=g(e);a.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{let t=M===m.layers.size-1;t&&(r?.(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))},C),a.useEffect(()=>{if(v)return n&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(o=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),E(),()=>{n&&1===m.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=o)}},[v,C,n,m]),a.useEffect(()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),E())},[v,m]),a.useEffect(()=>{let e=()=>P({});return document.addEventListener(y,e),()=>document.removeEventListener(y,e)},[]),(0,c.jsx)(h.div,{...p,ref:R,style:{pointerEvents:O?A?"auto":"none":void 0,...e.style},onFocusCapture:u(e.onFocusCapture,L.onFocusCapture),onBlurCapture:u(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:u(e.onPointerDownCapture,k.onPointerDownCapture)})});function E(){let e=new CustomEvent(y);document.dispatchEvent(e)}function x(e,t,n,{discrete:r}){let o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&o.addEventListener(e,t,{once:!0}),r)?o&&d.flushSync(()=>o.dispatchEvent(a)):o.dispatchEvent(a)}w.displayName="DismissableLayer",a.forwardRef((e,t)=>{let n=a.useContext(b),r=a.useRef(null),o=s(t,r);return a.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(h.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var C=0;function P(){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}var R="focusScope.autoFocusOnMount",N="focusScope.autoFocusOnUnmount",T={bubbles:!1,cancelable:!0},S=a.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...u}=e,[l,d]=a.useState(null),f=g(o),p=g(i),m=a.useRef(null),v=s(t,e=>d(e)),y=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let e=function(e){if(y.paused||!l)return;let t=e.target;l.contains(t)?m.current=t:A(m.current,{select:!0})},t=function(e){if(y.paused||!l)return;let t=e.relatedTarget;null===t||l.contains(t)||A(m.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&A(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,y.paused]),a.useEffect(()=>{if(l){k.add(y);let e=document.activeElement,t=l.contains(e);if(!t){let t=new CustomEvent(R,T);l.addEventListener(R,f),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(A(r,{select:t}),document.activeElement!==n)return}(M(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&A(l))}return()=>{l.removeEventListener(R,f),setTimeout(()=>{let t=new CustomEvent(N,T);l.addEventListener(N,p),l.dispatchEvent(t),t.defaultPrevented||A(e??document.body,{select:!0}),l.removeEventListener(N,p),k.remove(y)},0)}}},[l,f,p,y]);let b=a.useCallback(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=M(e),n=O(t,e),r=O(t.reverse(),e);return[n,r]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&A(a,{select:!0})):(e.preventDefault(),n&&A(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,c.jsx)(h.div,{tabIndex:-1,...u,ref:v,onKeyDown:b})});function M(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 O(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 A(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()}}S.displayName="FocusScope";var k=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=L(r,e)).unshift(e)},remove(e){r=L(r,e),r[0]?.resume()}});function L(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var _=Boolean(globalThis?.document)?a.useLayoutEffect:()=>{},j=i["useId".toString()]||(()=>void 0),D=0,F=n(55863),I=n(88301),W="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function $(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!$(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!$(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function z(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function V(e,t){let n=z(e);return Math.round(t*n)/n}function B(e){let t=a.useRef(e);return W(()=>{t.current=e}),t}let U=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,I.x7)({element:n.current,padding:r}).fn(t):{}:n?(0,I.x7)({element:n,padding:r}).fn(t):{}}}),Y=(e,t)=>({...(0,I.cv)(e),options:[e,t]}),Z=(e,t)=>({...(0,I.uY)(e),options:[e,t]}),K=(e,t)=>({...(0,I.dr)(e),options:[e,t]}),H=(e,t)=>({...(0,I.RR)(e),options:[e,t]}),X=(e,t)=>({...(0,I.dp)(e),options:[e,t]}),q=(e,t)=>({...(0,I.Cp)(e),options:[e,t]}),G=(e,t)=>({...U(e),options:[e,t]});var J=a.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,c.jsx)(h.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});J.displayName="Arrow";var Q="Popper",[ee,et]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>a.createContext(e));return function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=a.createContext(r),i=n.length;function u(t){let{scope:n,children:r,...u}=t,l=n?.[e][i]||o,s=a.useMemo(()=>u,Object.values(u));return(0,c.jsx)(l.Provider,{value:s,children:r})}return n=[...n,r],u.displayName=t+"Provider",[u,function(n,u){let l=u?.[e][i]||o,s=a.useContext(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e),a=o[`__scope${r}`];return{...t,...a}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(Q),[en,er]=ee(Q),eo=e=>{let{__scopePopper:t,children:n}=e,[r,o]=a.useState(null);return(0,c.jsx)(en,{scope:t,anchor:r,onAnchorChange:o,children:n})};eo.displayName=Q;var ea="PopperAnchor",ei=a.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=er(ea,n),u=a.useRef(null),l=s(t,u);return a.useEffect(()=>{i.onAnchorChange(r?.current||u.current)}),r?null:(0,c.jsx)(h.div,{...o,ref:l})});ei.displayName=ea;var eu="PopperContent",[el,es]=ee(eu),ec=a.forwardRef((e,t)=>{let{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:u=0,arrowPadding:l=0,avoidCollisions:f=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:w,...E}=e,x=er(eu,n),[C,P]=a.useState(null),R=s(t,e=>P(e)),[N,T]=a.useState(null),S=function(e){let[t,n]=a.useState(void 0);return _(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(N),M=S?.width??0,O=S?.height??0,A="number"==typeof m?m:{top:0,right:0,bottom:0,left:0,...m},k=Array.isArray(p)?p:[p],L=k.length>0,j={padding:A,boundary:k.filter(em),altBoundary:L},{refs:D,floatingStyles:I,placement:U,isPositioned:J,middlewareData:Q}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:u}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[f,p]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,v]=a.useState(r);$(m,r)||v(r);let[h,g]=a.useState(null),[y,b]=a.useState(null),w=a.useCallback(e=>{e!==P.current&&(P.current=e,g(e))},[]),E=a.useCallback(e=>{e!==R.current&&(R.current=e,b(e))},[]),x=i||h,C=u||y,P=a.useRef(null),R=a.useRef(null),N=a.useRef(f),T=B(s),S=B(o),M=B(c),O=a.useCallback(()=>{if(!P.current||!R.current)return;let e={placement:t,strategy:n,middleware:m};S.current&&(e.platform=S.current),(0,F.oo)(P.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};A.current&&!$(N.current,t)&&(N.current=t,d.flushSync(()=>{p(t)}))})},[m,t,n,S,M]);W(()=>{!1===c&&N.current.isPositioned&&(N.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[c]);let A=a.useRef(!1);W(()=>(A.current=!0,()=>{A.current=!1}),[]),W(()=>{if(x&&(P.current=x),C&&(R.current=C),x&&C){if(T.current)return T.current(x,C,O);O()}},[x,C,O,T,null!=s]);let k=a.useMemo(()=>({reference:P,floating:R,setReference:w,setFloating:E}),[w,E]),L=a.useMemo(()=>({reference:x,floating:C}),[x,C]),_=a.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=V(L.floating,f.x),r=V(L.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...z(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,L.floating,f.x,f.y]);return a.useMemo(()=>({...f,update:O,refs:k,elements:L,floatingStyles:_}),[f,O,k,L,_])}({strategy:"fixed",placement:r+("center"!==i?"-"+i:""),whileElementsMounted:(...e)=>{let t=(0,F.Me)(...e,{animationFrame:"always"===b});return t},elements:{reference:x.anchor},middleware:[Y({mainAxis:o+O,alignmentAxis:u}),f&&Z({mainAxis:!0,crossAxis:!1,limiter:"partial"===v?K():void 0,...j}),f&&H({...j}),X({...j,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:a}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${n}px`),i.setProperty("--radix-popper-available-height",`${r}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${a}px`)}}),N&&G({element:N,padding:l}),ev({arrowWidth:M,arrowHeight:O}),y&&q({strategy:"referenceHidden",...j})]}),[ee,et]=eh(U),en=g(w);_(()=>{J&&en?.()},[J,en]);let eo=Q.arrow?.x,ea=Q.arrow?.y,ei=Q.arrow?.centerOffset!==0,[es,ec]=a.useState();return _(()=>{C&&ec(window.getComputedStyle(C).zIndex)},[C]),(0,c.jsx)("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:J?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[Q.transformOrigin?.x,Q.transformOrigin?.y].join(" "),...Q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(el,{scope:n,placedSide:ee,onArrowChange:T,arrowX:eo,arrowY:ea,shouldHideArrow:ei,children:(0,c.jsx)(h.div,{"data-side":ee,"data-align":et,...E,ref:R,style:{...E.style,animation:J?void 0:"none"}})})})});ec.displayName=eu;var ed="PopperArrow",ef={top:"bottom",right:"left",bottom:"top",left:"right"},ep=a.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=es(ed,n),a=ef[o.placedSide];return(0,c.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(J,{...r,ref:t,style:{...r.style,display:"block"}})})});function em(e){return null!==e}ep.displayName=ed;var ev=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,i=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[l,s]=eh(n),c={start:"0%",center:"50%",end:"100%"}[s],d=(o.arrow?.x??0)+i/2,f=(o.arrow?.y??0)+u/2,p="",m="";return"bottom"===l?(p=a?c:`${d}px`,m=`${-u}px`):"top"===l?(p=a?c:`${d}px`,m=`${r.floating.height+u}px`):"right"===l?(p=`${-u}px`,m=a?c:`${f}px`):"left"===l&&(p=`${r.floating.width+u}px`,m=a?c:`${f}px`),{data:{x:p,y:m}}}});function eh(e){let[t,n="center"]=e.split("-");return[t,n]}var eg=a.forwardRef((e,t)=>{let{container:n,...r}=e,[o,i]=a.useState(!1);_(()=>i(!0),[]);let u=n||o&&globalThis?.document?.body;return u?d.createPortal((0,c.jsx)(h.div,{...r,ref:t}),u):null});eg.displayName="Portal";var ey=e=>{let t,n;let{present:r,children:o}=e,i=function(e){var t;let[n,r]=a.useState(),o=a.useRef({}),i=a.useRef(e),u=a.useRef("none"),[l,s]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,n)=>{let r=t[e][n];return r??e},e?"mounted":"unmounted"));return a.useEffect(()=>{let e=eb(o.current);u.current="mounted"===l?e:"none"},[l]),_(()=>{let t=o.current,n=i.current;if(n!==e){let r=u.current,o=eb(t);e?s("MOUNT"):"none"===o||t?.display==="none"?s("UNMOUNT"):n&&r!==o?s("ANIMATION_OUT"):s("UNMOUNT"),i.current=e}},[e,s]),_(()=>{if(n){let e;let t=n.ownerDocument.defaultView??window,r=r=>{let a=eb(o.current),u=a.includes(r.animationName);if(r.target===n&&u&&(s("ANIMATION_END"),!i.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},a=e=>{e.target===n&&(u.current=eb(o.current))};return n.addEventListener("animationstart",a),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",a),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}s("ANIMATION_END")},[n,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:a.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(r),u="function"==typeof o?o({present:i.isPresent}):a.Children.only(o),l=s(i.ref,(t=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?u.ref:(t=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?u.props.ref:u.props.ref||u.ref);return"function"==typeof o||i.isPresent?a.cloneElement(u,{ref:l}):null};function eb(e){return e?.animationName||"none"}ey.displayName="Presence";var ew=n(23541),eE=n(97582),ex=n(71642),eC=n(99495),eP=(0,n(87122)._)(),eR=function(){},eN=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:eR,onWheelCapture:eR,onTouchMoveCapture:eR}),o=r[0],i=r[1],u=e.forwardProps,l=e.children,s=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noIsolation,v=e.inert,h=e.allowPinchZoom,g=e.as,y=e.gapMode,b=(0,eE.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(0,eC.q)([n,t]),E=(0,eE.__assign)((0,eE.__assign)({},b),o);return a.createElement(a.Fragment,null,d&&a.createElement(p,{sideCar:eP,removeScrollBar:c,shards:f,noIsolation:m,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n,gapMode:y}),u?a.cloneElement(a.Children.only(l),(0,eE.__assign)((0,eE.__assign)({},E),{ref:w})):a.createElement(void 0===g?"div":g,(0,eE.__assign)({},E,{className:s,ref:w}),l))});eN.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eN.classNames={fullWidth:ex.zi,zeroRight:ex.pF};var eT=n(66781),eS=n(37087),eM=n(6525),eO=!1;if("undefined"!=typeof window)try{var eA=Object.defineProperty({},"passive",{get:function(){return eO=!0,!0}});window.addEventListener("test",eA,eA),window.removeEventListener("test",eA,eA)}catch(e){eO=!1}var ek=!!eO&&{passive:!1},eL=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])},e_=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ej(e,r)){var o=eD(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ej=function(e,t){return"v"===e?eL(t,"overflowY"):eL(t,"overflowX")},eD=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eF=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,l=n.target,s=t.contains(l),c=!1,d=u>0,f=0,p=0;do{var m=eD(e,l),v=m[0],h=m[1]-m[2]-i*v;(v||h)&&ej(e,l)&&(f+=h,p+=v),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(f)||!o&&u>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(c=!0),c},eI=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eW=function(e){return[e.deltaX,e.deltaY]},e$=function(e){return e&&"current"in e?e.current:e},ez=0,eV=[],eB=(0,eT.L)(eP,function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(ez++)[0],i=a.useState(eM.Ws)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,eE.__spreadArray)([e.lockRef.current],(e.shards||[]).map(e$),!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 l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,a=eI(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-a[0],s="deltaY"in e?e.deltaY:i[1]-a[1],c=e.target,d=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=e_(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=e_(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=o),!o)return!0;var p=r.current||o;return eF(p,t,e,"h"===p?l:s,!0)},[]),s=a.useCallback(function(e){if(eV.length&&eV[eV.length-1]===i){var n="deltaY"in e?eW(e):eI(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)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(e$).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=a.useCallback(function(e,n,r,o){var a={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(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=a.useCallback(function(e){n.current=eI(e),r.current=void 0},[]),f=a.useCallback(function(t){c(t.type,eW(t),t.target,l(t,e.lockRef.current))},[]),p=a.useCallback(function(t){c(t.type,eI(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return eV.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,ek),document.addEventListener("touchmove",s,ek),document.addEventListener("touchstart",d,ek),function(){eV=eV.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,ek),document.removeEventListener("touchmove",s,ek),document.removeEventListener("touchstart",d,ek)}},[]);var m=e.removeScrollBar,v=e.inert;return a.createElement(a.Fragment,null,v?a.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?a.createElement(eS.jp,{gapMode:e.gapMode}):null)}),eU=a.forwardRef(function(e,t){return a.createElement(eN,(0,eE.__assign)({},e,{ref:t,sideCar:eB}))});eU.classNames=eN.classNames;var eY="Popover",[eZ,eK]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>a.createContext(e));return function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=a.createContext(r),i=n.length;n=[...n,r];let u=t=>{let{scope:n,children:r,...u}=t,l=n?.[e]?.[i]||o,s=a.useMemo(()=>u,Object.values(u));return(0,c.jsx)(l.Provider,{value:s,children:r})};return u.displayName=t+"Provider",[u,function(n,u){let l=u?.[e]?.[i]||o,s=a.useContext(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e),a=o[`__scope${r}`];return{...t,...a}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(eY,[et]),eH=et(),[eX,eq]=eZ(eY),eG=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:u=!1}=e,l=eH(t),s=a.useRef(null),[d,f]=a.useState(!1),[p=!1,m]=function({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=function({defaultProp:e,onChange:t}){let n=a.useState(e),[r]=n,o=a.useRef(r),i=g(t);return a.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,u=g(n),l=a.useCallback(t=>{if(i){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else o(t)},[i,e,o,u]);return[i?e:r,l]}({prop:r,defaultProp:o,onChange:i});return(0,c.jsx)(eo,{...l,children:(0,c.jsx)(eX,{scope:t,contentId:function(e){let[t,n]=a.useState(j());return _(()=>{e||n(e=>e??String(D++))},[e]),e||(t?`radix-${t}`:"")}(),triggerRef:s,open:p,onOpenChange:m,onOpenToggle:a.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:a.useCallback(()=>f(!0),[]),onCustomAnchorRemove:a.useCallback(()=>f(!1),[]),modal:u,children:n})})};eG.displayName=eY;var eJ="PopoverAnchor";a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eq(eJ,n),i=eH(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:l}=o;return a.useEffect(()=>(u(),()=>l()),[u,l]),(0,c.jsx)(ei,{...i,...r,ref:t})}).displayName=eJ;var eQ="PopoverTrigger",e0=a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eq(eQ,n),a=eH(n),i=s(t,o.triggerRef),l=(0,c.jsx)(h.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tt(o.open),...r,ref:i,onClick:u(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:(0,c.jsx)(ei,{asChild:!0,...a,children:l})});e0.displayName=eQ;var e1="PopoverPortal",[e2,e7]=eZ(e1,{forceMount:void 0}),e6=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=eq(e1,t);return(0,c.jsx)(e2,{scope:t,forceMount:n,children:(0,c.jsx)(ey,{present:n||a.open,children:(0,c.jsx)(eg,{asChild:!0,container:o,children:r})})})};e6.displayName=e1;var e4="PopoverContent",e3=a.forwardRef((e,t)=>{let n=e7(e4,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=eq(e4,e.__scopePopover);return(0,c.jsx)(ey,{present:r||a.open,children:a.modal?(0,c.jsx)(e5,{...o,ref:t}):(0,c.jsx)(e8,{...o,ref:t})})});e3.displayName=e4;var e5=a.forwardRef((e,t)=>{let n=eq(e4,e.__scopePopover),r=a.useRef(null),o=s(t,r),i=a.useRef(!1);return a.useEffect(()=>{let e=r.current;if(e)return(0,ew.Ry)(e)},[]),(0,c.jsx)(eU,{as:f,allowPinchZoom:!0,children:(0,c.jsx)(e9,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:u(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||n.triggerRef.current?.focus()}),onPointerDownOutside:u(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:u(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),e8=a.forwardRef((e,t)=>{let n=eq(e4,e.__scopePopover),r=a.useRef(!1),o=a.useRef(!1);return(0,c.jsx)(e9,{...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,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let a=t.target,i=n.triggerRef.current?.contains(a);i&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),e9=a.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:u,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:f,...p}=e,m=eq(e4,n),v=eH(n);return a.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??P()),document.body.insertAdjacentElement("beforeend",e[1]??P()),C++,()=>{1===C&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),C--}},[]),(0,c.jsx)(S,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,c.jsx)(w,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),children:(0,c.jsx)(ec,{"data-state":tt(m.open),role:"dialog",id:m.contentId,...v,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),te="PopoverClose";function tt(e){return e?"open":"closed"}a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eq(te,n);return(0,c.jsx)(h.button,{type:"button",...r,ref:t,onClick:u(e.onClick,()=>o.onOpenChange(!1))})}).displayName=te,a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eH(n);return(0,c.jsx)(ep,{...o,...r,ref:t})}).displayName="PopoverArrow";var tn=eG,tr=e0,to=e6,ta=e3},60434:function(e,t,n){"use strict";n.d(t,{VY:function(){return S},aV:function(){return N},fC:function(){return R},xz:function(){return T}});var r=n(87462),o=n(67294),a=n(36206),i=n(25360),u=n(66681),l=n(29115),s=n(75320),c=n(78990),d=n(77342),f=n(91276);let p="Tabs",[m,v]=(0,i.b)(p,[u.Pc]),h=(0,u.Pc)(),[g,y]=m(p),b=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:a,onValueChange:i,defaultValue:u,orientation:l="horizontal",dir:p,activationMode:m="automatic",...v}=e,h=(0,c.gm)(p),[y,b]=(0,d.T)({prop:a,onChange:i,defaultProp:u});return(0,o.createElement)(g,{scope:n,baseId:(0,f.M)(),value:y,onValueChange:b,orientation:l,dir:h,activationMode:m},(0,o.createElement)(s.WV.div,(0,r.Z)({dir:h,"data-orientation":l},v,{ref:t})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,loop:a=!0,...i}=e,l=y("TabsList",n),c=h(n);return(0,o.createElement)(u.fC,(0,r.Z)({asChild:!0},c,{orientation:l.orientation,dir:l.dir,loop:a}),(0,o.createElement)(s.WV.div,(0,r.Z)({role:"tablist","aria-orientation":l.orientation},i,{ref:t})))}),E=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:i,disabled:l=!1,...c}=e,d=y("TabsTrigger",n),f=h(n),p=C(d.baseId,i),m=P(d.baseId,i),v=i===d.value;return(0,o.createElement)(u.ck,(0,r.Z)({asChild:!0},f,{focusable:!l,active:v}),(0,o.createElement)(s.WV.button,(0,r.Z)({type:"button",role:"tab","aria-selected":v,"aria-controls":m,"data-state":v?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:p},c,{ref:t,onMouseDown:(0,a.M)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,a.M)(e.onFocus,()=>{let e="manual"!==d.activationMode;v||l||!e||d.onValueChange(i)})})))}),x=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:n,value:a,forceMount:i,children:u,...c}=e,d=y("TabsContent",n),f=C(d.baseId,a),p=P(d.baseId,a),m=a===d.value,v=(0,o.useRef)(m);return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.createElement)(l.z,{present:i||m},({present:n})=>(0,o.createElement)(s.WV.div,(0,r.Z)({"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!n,id:p,tabIndex:0},c,{ref:t,style:{...e.style,animationDuration:v.current?"0s":void 0}}),n&&u))});function C(e,t){return`${e}-trigger-${t}`}function P(e,t){return`${e}-content-${t}`}let R=b,N=w,T=E,S=x}}]);