1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2716],{7035:(e,t,r)=>{r.d(t,{s:()=>u});var n=r(37172),o=e=>{let t=n.useId();return n.createElement(s,{...e,instanceId:t})},a=0;class l extends n.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++a}`})}render(){return n.createElement(s,{...this.props.iconProps,instanceId:this.state.instanceId})}}var i=e=>"function"==typeof n.useId?n.createElement(o,{...e}):n.createElement(l,{iconProps:e}),s=({children:e,size:t=24,ariaLabel:r,color:o,ariaHidden:a=!0,style:l,mode:i="masked",maskId:s,instanceId:u,...c})=>{let d=u?`${s}-${u}`:s,f="raw"!==i&&!!s;return n.createElement("svg",{...c,"aria-hidden":a,role:a?void 0:"img",width:"number"==typeof t?`${t}px`:t,height:"number"==typeof t?`${t}px`:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...l}},r&&!a&&n.createElement("title",null,r),f?n.createElement(n.Fragment,null,n.createElement("mask",{id:d,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},n.createElement("rect",{width:"24",height:"24",fill:"#000"}),n.createElement("g",{fill:"none",style:{color:"#fff"}},e)),n.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${d})`})):e)},u=n.memo(e=>
1n.createElement(i,{...e,ariaLabel:"checkmark-1",maskId:"round-outlined-radius-3-stroke-1.5-IconCheckmark1"},n.createElement("path",{d:"M4.75 12.7768L10 19.25L19.25 4.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})))},10957:(e,t,r)=>{r.d(t,{_:()=>n});function n(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}},12921:(e,t,r)=>{r.d(t,{_:()=>o});var n=r(72480);function o(e,t){var r=(0,n._)(e,t,"get");return r.get?r.get.call(e):r.value}},63352:(e,t,r)=>{r.d(t,{jH:()=>a});var n=r(37172);r(69496);var o=n.createContext(void 0);function a(e){let t=n.useContext(o);return e||t||"ltr"}},64365:(e,t,r)=>{r.d(t,{_:()=>o});var n=r(10957);function o(e,t,r){(0,n._)(e,t),t.set(e,r)}},64494:(e,t,r)=>{r.d(t,{V:()=>u});var n=r(37172),o=e=>{let t=n.useId();return n.createElement(s,{...e,instanceId:t})},a=0;class l extends n.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++a}`})}render(){return n.createElement(s,{...this.props.iconProps,instanceId:this.state.instanceId})}}var i=e=>"function"==typeof n.useId?n.createElement(o,{...e}):n.createElement(l,{iconProps:e}),s=({children:e,size:t=24,ariaLabel:r,color:o,ariaHidden:a=!0,style:l,mode:i="masked",maskId:s,instanceId:u,...c})=>{let d=u?`${s}-${u}`:s,f="raw"!==i&&!!s;return n.createElement("svg",{...c,"aria-hidden":a,role:a?void 0:"img",width:"number"==typeof t?`${t}px`:t,height:"number"==typeof t?`${t}px`:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...l}},r&&!a&&n.createElement("title",null,r),f?n.createElement(n.Fragment,null,n.createElement("mask",{id:d,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},n.createElement("rect",{width:"24",height:"24",fill:"#000"}),n.createElement("g",{fill:"none",style:{color:"#fff"}},e)),n.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${d})`})):e)},u=n.memo(e=>
1n.createElement(i,{...e,ariaLabel:"chevron-right",maskId:"round-outlined-radius-3-stroke-1.5-IconChevronRight"},n.createElement("path",{d:"M9 4L14.8787 9.87866C16.0503 11.0502 16.0503 12.9497 14.8787 14.1213L9 20",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))},68505:(e,t,r)=>{r.d(t,{N:()=>p});var n,o=r(12921),a=r(64365),l=r(72480);function i(e,t,r){var n=(0,l._)(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var s=r(37172),u=r(99709),c=r(19147),d=r(47311),f=r(69496);function p(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:r}=e,n=s.useRef(null),a=s.useRef(new Map).current;return(0,f.jsx)(o,{scope:t,itemMap:a,collectionRef:n,children:r})};l.displayName=t;let i=e+"CollectionSlot",p=(0,d.TL)(i),h=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=a(i,r),l=(0,c.s)(t,o.collectionRef);return(0,f.jsx)(p,{ref:l,children:n})});h.displayName=i;let m=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,d.TL)(m),w=s.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,l=s.useRef(null),i=(0,c.s)(t,l),u=a(m,r);return s.useEffect(()=>(u.itemMap.set(l,{ref:l,...o}),()=>void u.itemMap.delete(l))),(0,f.jsx)(g,{...{[v]:""},ref:i,children:n})});return w.displayName=m,[{Provider:l,Slot:h,ItemSlot:w},function(t){let r=a(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var h=new WeakMap;function m(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=v(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}(e,t);return -1===r?void 0:e[r]}function v(e){return e!=e||0===e?0:Math.trunc(e)}n=new WeakMap,class e extends Map{set(e,t){return h.get(this)&&(this.has(e)?(0,o._)(this,n)[(0,o._)(this,n).indexOf(e)]=e:(0,o._)(this,n).push(e)),super.set(e,t),this}insert(e,t,r){let a,l=this.has(t),i=(0,o._)(this,n).length,s=v(e),u=s>=0?s:i+s,c=u<0||u>=i?-1:u;if(c===this.size||l&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!l;s<0&&u++;let f=[...(0,o._)(this,n)],p=!1;for(let e=u;e<d;e++)if(u===e){let n=f[e];f[e]===t&&(n=f[e+1]),l&&this.delete(t),a=this.get(n),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],n=a;a=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=(0,o._)(this,n).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let a=(0,o._)(this,n).indexOf(e);return -1===a?this:this.insert(a,t,r)}after(e){let t=(0,o._)(this,n).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let a=(0,o._)(this,n).indexOf(e);return -1===a?this:this.insert(a+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return i(this,n,[]),super.clear()}delete(e){let t=super.delete(e);return t&&(0,o._)(this,n).splice((0,o._)(this,n).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=m((0,o._)(this,n),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=m((0,o._)(this,n),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return(0,o._)(this,n).indexOf(e)}keyAt(e){return m((0,o._)(this,n),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,o]=t,a=0,l=null!=o?o:this.at(0);for(let e of this)l=0===a&&1===t.length?e:Reflect.apply(n,this,[l,e,a,this]),a++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,o]=t,a=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);a=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[a,r,e,this])}return a}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let o=[...this.entries()];return o.splice(...r),new e(o)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),(0,a._)(this,n,{writable:!0,value:void 0}),i(this,n,[...super.keys()]),h.set(this,!0)}}},71089:(e,t,r)=>{r.d(t,{H_:()=>tc,UC:()=>ti,q7:()=>tu,VF:()=>tp,JU:()=>ts,ZL:()=>tl,z6:()=>td,hN:()=>tf,bL:()=>to,wv:()=>th,Pb:()=>tm,G5:()=>tg,ZP:()=>tv,l9:()=>ta}
1);var n=r(37172),o=r(48282),a=r(19147),l=r(99709),i=r(85260),s=r(14833),u=r(68505),c=r(63352),d=r(45277),f=r(6510),p=r(66472),h=r(60224),m=r(29912),v=r(78192),g=r(65646),w=r(71752),y=r(69496),x="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[R,k,M]=(0,u.N)(b),[_,j]=(0,l.A)(b,[M]),[E,I]=_(b),D=n.forwardRef((e,t)=>(0,y.jsx)(R.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(R.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(K,{...e,ref:t})})}));D.displayName=b;var K=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:l,loop:u=!1,dir:d,currentTabStopId:f,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:h,onEntryFocus:m,preventScrollOnEntryFocus:v=!1,...g}=e,R=n.useRef(null),M=(0,a.s)(t,R),_=(0,c.jH)(d),[j,I]=(0,i.i)({prop:f,defaultProp:null!=p?p:null,onChange:h,caller:b}),[D,K]=n.useState(!1),A=(0,w.c)(m),P=k(r),S=n.useRef(!1),[O,L]=n.useState(0);return n.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(x,A),()=>e.removeEventListener(x,A)},[A]),(0,y.jsx)(E,{scope:r,orientation:l,dir:_,loop:u,currentTabStopId:j,onItemFocus:n.useCallback(e=>I(e),[I]),onItemShiftTab:n.useCallback(()=>K(!0),[]),onFocusableItemAdd:n.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>L(e=>e-1),[]),children:(0,y.jsx)(s.sG.div,{tabIndex:D||0===O?-1:0,"data-orientation":l,...g,ref:M,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!D){let t=new CustomEvent(x,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===j),...e].filter(Boolean).map(e=>e.ref.current),v)}}S.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>K(!1))})})}),A="RovingFocusGroupItem",P=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:l=!1,tabStopId:i,children:u,...c}=e,d=(0,h.B)(),f=i||d,p=I(A,r),m=p.currentTabStopId===f,v=k(r),{onFocusableItemAdd:g,onFocusableItemRemove:w,currentTabStopId:x}=p;return n.useEffect(()=>{if(a)return g(),()=>w()},[a,g,w]),(0,y.jsx)(R.ItemSlot,{scope:r,id:f,focusable:a,active:l,children:(0,y.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return S[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=p.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>T(r))}}),children:"function"==typeof u?u({isCurrentTabStop:m,hasTabStop:null!=x}):u})})});P.displayName=A;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var O=r(47311),L=r(29990),N=r(71896),F=["Enter"," "],G=["ArrowUp","PageDown","End"],z=["ArrowDown","PageUp","Home",...G],B={ltr:[...F,"ArrowRight"],rtl:[...F,"ArrowLeft"]},U={ltr:["ArrowLeft"],rtl:["ArrowRight"]},$="Menu",[V,H,W]=(0,u.N)($),[X,q]=(0,l.A)($,[W,m.Bk,j]),Z=(0,m.Bk)(),Y=j(),[J,Q]=X($),[ee,et]=X($),er=e=>{let{__scopeMenu:t,open:r=!1,children:o,dir:a,onOpenChange:l,modal:i=!0}=e,s=Z(t),[u,d]=n.useState(null),f=n.useRef(!1),p=(0,w.c)(l),h=(0,c.jH)(a);return n.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,y.jsx)(m.bL,{...s,children:(0,y.jsx)(J,{scope:t,open:r,onOpenChange:p,content:u,onContentChange:d,children:(0,y.jsx)(ee,{scope:t,onClose:n.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:h,modal:i,children:o})})})};er.displayName=$;var en=n.forwardRef((e,t)=>
1{let{__scopeMenu:r,...n}=e,o=Z(r);return(0,y.jsx)(m.Mz,{...o,...n,ref:t})});en.displayName="MenuAnchor";var eo="MenuPortal",[ea,el]=X(eo,{forceMount:void 0}),ei=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=Q(eo,t);return(0,y.jsx)(ea,{scope:t,forceMount:r,children:(0,y.jsx)(g.C,{present:r||a.open,children:(0,y.jsx)(v.Z,{asChild:!0,container:o,children:n})})})};ei.displayName=eo;var es="MenuContent",[eu,ec]=X(es),ed=n.forwardRef((e,t)=>{let r=el(es,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Q(es,e.__scopeMenu),l=et(es,e.__scopeMenu);return(0,y.jsx)(V.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(g.C,{present:n||a.open,children:(0,y.jsx)(V.Slot,{scope:e.__scopeMenu,children:l.modal?(0,y.jsx)(ef,{...o,ref:t}):(0,y.jsx)(ep,{...o,ref:t})})})})}),ef=n.forwardRef((e,t)=>{let r=Q(es,e.__scopeMenu),l=n.useRef(null),i=(0,a.s)(t,l);return n.useEffect(()=>{let e=l.current;if(e)return(0,L.Eq)(e)},[]),(0,y.jsx)(em,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),ep=n.forwardRef((e,t)=>{let r=Q(es,e.__scopeMenu);return(0,y.jsx)(em,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),eh=(0,O.TL)("MenuContent.ScrollLock"),em=n.forwardRef((e,t)=>{let{__scopeMenu:r,loop:l=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:u,disableOutsidePointerEvents:c,onEntryFocus:h,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:w,onInteractOutside:x,onDismiss:C,disableOutsideScroll:b,...R}=e,k=Q(es,r),M=et(es,r),_=Z(r),j=Y(r),E=H(r),[I,K]=n.useState(null),A=n.useRef(null),P=(0,a.s)(t,A,k.onContentChange),S=n.useRef(0),T=n.useRef(""),O=n.useRef(0),L=n.useRef(null),F=n.useRef("right"),B=n.useRef(0),U=b?N.A:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(S.current),[]),(0,f.Oh)();let $=n.useCallback(e=>{var t,r;return F.current===(null==(t=L.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let l=t[e],i=t[a],s=l.x,u=l.y,c=i.x,d=i.y;u>n!=d>n&&r<(c-s)*(n-u)/(d-u)+s&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null==(r=L.current)?void 0:r.area)},[]);return(0,y.jsx)(eu,{scope:r,searchRef:T,onItemEnter:n.useCallback(e=>{$(e)&&e.preventDefault()},[$]),onItemLeave:n.useCallback(e=>{var t;$(e)||(null==(t=A.current)||t.focus(),K(null))},[$]),onTriggerLeave:n.useCallback(e=>{$(e)&&e.preventDefault()},[$]),pointerGraceTimerRef:O,onPointerGraceIntentChange:n.useCallback(e=>{L.current=e},[]),children:(0,y.jsx)(U,{...b?{as:eh,allowPinchZoom:!0}:void 0,children:(0,y.jsx)(p.n,{asChild:!0,trapped:i,onMountAutoFocus:(0,o.mK)(s,e=>{var t;e.preventDefault(),null==(t=A.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:(0,y.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:w,onInteractOutside:x,onDismiss:C,children:(0,y.jsx)(D,{asChild:!0,...j,dir:M.dir,orientation:"vertical",loop:l,currentTabStopId:I,onCurrentTabStopIdChange:K,onEntryFocus:(0,o.mK)(h,e=>{M.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,y.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":eU(k.open),"data-radix-menu-content":"",dir:M.dir,..._,...R,ref:P,style:{outline:"none",...R.style},onKeyDown:(0,o.mK)(R.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&(e=>{var t,r;let n=T.current+e,o=E().filter(e=>!e.disabled),a=document.activeElement,l=null==(t=o.find(e=>
1e.ref.current===a))?void 0:t.textValue,i=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=r?e.indexOf(r):-1,l=(n=Math.max(a,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(l=l.filter(e=>e!==r));let i=l.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==r?i:void 0}(o.map(e=>e.textValue),n,l),s=null==(r=o.find(e=>e.textValue===i))?void 0:r.ref.current;!function e(t){T.current=t,window.clearTimeout(S.current),""!==t&&(S.current=window.setTimeout(()=>e(""),1e3))}(n),s&&setTimeout(()=>s.focus())})(e.key));let o=A.current;if(e.target!==o||!z.includes(e.key))return;e.preventDefault();let a=E().filter(e=>!e.disabled).map(e=>e.ref.current);G.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(S.current),T.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,eH(e=>{let t=e.target,r=B.current!==e.clientX;e.currentTarget.contains(t)&&r&&(F.current=e.clientX>B.current?"right":"left",B.current=e.clientX)}))})})})})})})});ed.displayName=es;var ev=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,y.jsx)(s.sG.div,{role:"group",...n,ref:t})});ev.displayName="MenuGroup";var eg=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,y.jsx)(s.sG.div,{...n,ref:t})});eg.displayName="MenuLabel";var ew="MenuItem",ey="menu.itemSelect",ex=n.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:l,...i}=e,u=n.useRef(null),c=et(ew,e.__scopeMenu),d=ec(ew,e.__scopeMenu),f=(0,a.s)(t,u),p=n.useRef(!1);return(0,y.jsx)(eC,{...i,ref:f,disabled:r,onClick:(0,o.mK)(e.onClick,()=>{let e=u.current;if(!r&&e){let t=new CustomEvent(ey,{bubbles:!0,cancelable:!0});e.addEventListener(ey,e=>null==l?void 0:l(e),{once:!0}),(0,s.hO)(e,t),t.defaultPrevented?p.current=!1:c.onClose()}}),onPointerDown:t=>{var r;null==(r=e.onPointerDown)||r.call(e,t),p.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{var t;p.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;r||t&&" "===e.key||F.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ex.displayName=ew;var eC=n.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:l=!1,textValue:i,...u}=e,c=ec(ew,r),d=Y(r),f=n.useRef(null),p=(0,a.s)(t,f),[h,m]=n.useState(!1),[v,g]=n.useState("");return n.useEffect(()=>{let e=f.current;if(e){var t;g((null!=(t=e.textContent)?t:"").trim())}},[u.children]),(0,y.jsx)(V.ItemSlot,{scope:r,disabled:l,textValue:null!=i?i:v,children:(0,y.jsx)(P,{asChild:!0,...d,focusable:!l,children:(0,y.jsx)(s.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0,...u,ref:p,onPointerMove:(0,o.mK)(e.onPointerMove,eH(e=>{l?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eH(e=>c.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>m(!0)),onBlur:(0,o.mK)(e.onBlur,()=>m(!1))})})})}),eb=n.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...a}=e;return(0,y.jsx)(eD,{scope:e.__scopeMenu,checked:r,children:(0,y.jsx)(ex,{role:"menuitemcheckbox","aria-checked":e$(r)?"mixed":r,...a,ref:t,"data-state":eV(r),onSelect:(0,o.mK)(a.onSelect,()=>null==n?void 0:n(!!e$(r)||!r),{checkForDefaultPrevented:!1})})})});eb.displayName="MenuCheckboxItem";var eR="MenuRadioGroup",[ek,eM]=X(eR,{value:void 0,onValueChange:()=>{}}),e_=n.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=(0,w.c)(n);return(0,y.jsx)(ek,{scope:e.__scopeMenu,value:r,onValueChange:a,children:(0,y.jsx)(ev,{...o,ref:t})})});e_.displayName=eR;var ej="MenuRadioItem",eE=n.forwardRef((e,t)=>{let{value:r,...n}=e,a=eM(ej,e.__scopeMenu),l=r===a.value;return(0,y.jsx)(eD,{scope:e.__scopeMenu,checked:l,children:(0,y.jsx)(ex,{role:"menuitemradio","aria-checked":l,...n,ref:t,"data-state":eV(l),onSelect:(0,o.mK)(n.onSelect,()=>{var e;return null==(e=a.onValueChange)?void 0:e.call(a,r)}
1,{checkForDefaultPrevented:!1})})})});eE.displayName=ej;var eI="MenuItemIndicator",[eD,eK]=X(eI,{checked:!1}),eA=n.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=eK(eI,r);return(0,y.jsx)(g.C,{present:n||e$(a.checked)||!0===a.checked,children:(0,y.jsx)(s.sG.span,{...o,ref:t,"data-state":eV(a.checked)})})});eA.displayName=eI;var eP=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,y.jsx)(s.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});eP.displayName="MenuSeparator";var eS=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Z(r);return(0,y.jsx)(m.i3,{...o,...n,ref:t})});eS.displayName="MenuArrow";var eT="MenuSub",[eO,eL]=X(eT),eN=e=>{let{__scopeMenu:t,children:r,open:o=!1,onOpenChange:a}=e,l=Q(eT,t),i=Z(t),[s,u]=n.useState(null),[c,d]=n.useState(null),f=(0,w.c)(a);return n.useEffect(()=>(!1===l.open&&f(!1),()=>f(!1)),[l.open,f]),(0,y.jsx)(m.bL,{...i,children:(0,y.jsx)(J,{scope:t,open:o,onOpenChange:f,content:c,onContentChange:d,children:(0,y.jsx)(eO,{scope:t,contentId:(0,h.B)(),triggerId:(0,h.B)(),trigger:s,onTriggerChange:u,children:r})})})};eN.displayName=eT;var eF="MenuSubTrigger",eG=n.forwardRef((e,t)=>{let r=Q(eF,e.__scopeMenu),l=et(eF,e.__scopeMenu),i=eL(eF,e.__scopeMenu),s=ec(eF,e.__scopeMenu),u=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=s,f={__scopeMenu:e.__scopeMenu},p=n.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return n.useEffect(()=>p,[p]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,y.jsx)(en,{asChild:!0,...f,children:(0,y.jsx)(eC,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":eU(r.open),...e,ref:(0,a.t)(t,i.onTriggerChange),onClick:t=>{var n;null==(n=e.onClick)||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,eH(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||u.current||(s.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eH(e=>{var t,n;p();let o=null==(t=r.content)?void 0:t.getBoundingClientRect();if(o){let t=null==(n=r.content)?void 0:n.dataset.side,a="right"===t,l=o[a?"left":"right"],i=o[a?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:l,y:o.top},{x:i,y:o.top},{x:i,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,t=>{let n=""!==s.searchRef.current;if(!e.disabled&&(!n||" "!==t.key)&&B[l.dir].includes(t.key)){var o;r.onOpenChange(!0),null==(o=r.content)||o.focus(),t.preventDefault()}})})})});eG.displayName=eF;var ez="MenuSubContent",eB=n.forwardRef((e,t)=>{let r=el(es,e.__scopeMenu),{forceMount:l=r.forceMount,...i}=e,s=Q(es,e.__scopeMenu),u=et(es,e.__scopeMenu),c=eL(ez,e.__scopeMenu),d=n.useRef(null),f=(0,a.s)(t,d);return(0,y.jsx)(V.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(g.C,{present:l||s.open,children:(0,y.jsx)(V.Slot,{scope:e.__scopeMenu,children:(0,y.jsx)(em,{id:c.contentId,"aria-labelledby":c.triggerId,...i,ref:f,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;u.isUsingKeyboardRef.current&&(null==(t=d.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=U[u.dir].includes(e.key);if(t&&r){var n;s.onOpenChange(!1),null==(n=c.trigger)||n.focus(),e.preventDefault()}})})})})})});function eU(e){return e?"open":"closed"}function e$(e){return"indeterminate"===e}function eV(e){return e$(e)?"indeterminate":e?"checked":"unchecked"}function eH(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}eB.displayName=ez;var eW="DropdownMenu",[eX,eq]=(0,l.A)(eW,[q]),eZ=q(),[eY,eJ]=eX(eW),eQ=e=>{let{__scopeDropdownMenu:t,children:r,dir:o,open:a,defaultOpen:l,onOpenChange:s,modal:u=!0}=e,c=eZ(t),d=n.useRef(null),[f,p]=(0,i.i)({prop:a,defaultProp:null!=l&&l,onChange:s,caller:eW});return(0,y.jsx)(eY,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:u,children:(0,y.jsx)(er,{...c,open:f,onOpenChange:p,dir:o,modal:u,children:r})})};eQ.displayName=eW;var e0="DropdownMenuTrigger",e1=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...l}=e,i=eJ(e0,r),u=eZ(r);return(0,y.jsx)(en,{asChild:!0,...u,children:(0,y.jsx)(s.sG.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...l,ref:(0,a.t)(t,i.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e1.displayName=e0;var e2=e=>{let{__scopeDropdownMenu:t,...r}=e,n=eZ(t);return(0,y.jsx)(ei,{...n,...r})};e2.displayName="DropdownMenuPortal";var e4="DropdownMenuContent",e7=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,l=eJ(e4,r),i=eZ(r),s=n.useRef(!1);return(0,y.jsx)(ed,{id:l.contentId,"aria-labelledby":l.triggerId,...i,...a,ref:t,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;s.current||null==(t=l.triggerRef.current)||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!l.modal||n)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e7.displayName=e4,n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(ev,{...o,...n,ref:t})}).displayName="DropdownMenuGroup";var e9=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eg,{...o,...n,ref:t})});e9.displayName="DropdownMenuLabel";var e6=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(ex,{...o,...n,ref:t})});e6.displayName="DropdownMenuItem";var e5=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eb,{...o,...n,ref:t})});e5.displayName="DropdownMenuCheckboxItem";var e3=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(e_,{...o,...n,ref:t})});e3.displayName="DropdownMenuRadioGroup";var e8=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eE,{...o,...n,ref:t})});e8.displayName="DropdownMenuRadioItem";var te=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eA,{...o,...n,ref:t})});te.displayName="DropdownMenuItemIndicator";var tt=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eP,{...o,...n,ref:t})});tt.displayName="DropdownMenuSeparator",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eS,{...o,...n,ref:t})}).displayName="DropdownMenuArrow";var tr=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eG,{...o,...n,ref:t})});tr.displayName="DropdownMenuSubTrigger";var tn=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eZ(r);return(0,y.jsx)(eB,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tn.displayName="DropdownMenuSubContent";var to=eQ,ta=e1,tl=e2,ti=e7,ts=e9,tu=e6,tc=e5,td=e3,tf=e8,tp=te,th=tt,tm=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,l=eZ(t),[s,u]=(0,i.i)({prop:n,defaultProp:null!=a&&a,onChange:o,caller:"DropdownMenuSub"});return(0,y.jsx)(eN,{...l,open:s,onOpenChange:u,children:r})},tv=tr,tg=tn},72480:(e,t,r)=>{r.d(t,{_:()=>n});function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(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.