1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9336],{763:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]])},4884:(e,t,n)=>{n.d(t,{bL:()=>k,zi:()=>A});var r=n(12115),o=n(85185),a=n(6101),i=n(46081),l=n(5845),u=n(45503),s=n(11275),c=n(63655),d=n(95155),f="Switch",[p,h]=(0,i.A)(f),[m,y]=p(f),v=r.forwardRef((e,t)=>{let{__scopeSwitch:n,name:i,checked:u,defaultChecked:s,required:p,disabled:h,value:y="on",onCheckedChange:v,form:g,...w}=e,[k,A]=r.useState(null),M=(0,a.s)(t,e=>A(e)),R=r.useRef(!1),C=!k||g||!!k.closest("form"),[j,D]=(0,l.i)({prop:u,defaultProp:null!=s&&s,onChange:v,caller:f});return(0,d.jsxs)(m,{scope:n,checked:j,disabled:h,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":j,"aria-required":p,"data-state":b(j),"data-disabled":h?"":void 0,disabled:h,value:y,...w,ref:M,onClick:(0,o.mK)(e.onClick,e=>{D(e=>!e),C&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())})}),C&&(0,d.jsx)(x,{control:k,bubbles:!R.current,name:i,value:y,checked:j,required:p,disabled:h,form:g,style:{transform:"translateX(-100%)"}})]})});v.displayName=f;var g="SwitchThumb",w=r.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,o=y(g,n);return(0,d.jsx)(c.sG.span,{"data-state":b(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});w.displayName=g;var x=r.forwardRef((e,t)=>{let{__scopeSwitch:n,control:o,checked:i,bubbles:l=!0,...c}=e,f=r.useRef(null),p=(0,a.s)(f,t),h=(0,u.Z)(i),m=(0,s.X)(o);return r.useEffect(()=>{let e=f.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(h!==i&&t){let n=new Event("click",{bubbles:l});t.call(e,i),e.dispatchEvent(n)}},[h,i,l]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i,...c,tabIndex:-1,ref:p,style:{...c.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function b(e){return e?"checked":"unchecked"}x.displayName="SwitchBubbleInput";var k=v,A=w},6554:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("FileChartColumnIncreasing",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]])},13896:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},15300:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},17649:(e,t,n)=>{n.d(t,{UC:()=>N,VY:()=>K,ZD:()=>_,ZL:()=>T,bL:()=>L,hE:()=>F,hJ:()=>O,l9:()=>P,rc:()=>I});var r=n(12115),o=n(46081),a=n(6101),i=n(15452),l=n(85185),u=n(99708),s=n(95155),c="AlertDialog",[d,f]=(0,o.A)(c,[i.Hs]),p=(0,i.Hs)(),h=e=>{let{__scopeAlertDialog:t,...n}=e,r=p(t);return(0,s.jsx)(i.bL,{...r,...n,modal:!0})};h.displayName=c;var m=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(i.l9,{...o,...r,ref:t})});m.displayName="AlertDialogTrigger";var y=e=>{let{__scopeAlertDialog:t,...n}=e,r=p(t);return(0,s.jsx)(i.ZL,{...r,...n})};y.displayName="AlertDialogPortal";var v=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(i.hJ,{...o,...r,ref:t})});v.displayName="AlertDialogOverlay";var g="AlertDialogContent",[w,x]=d(g),b=(0,u.Dc)("AlertDialogContent"),k=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:o,...u}=e,c=p(n),d=r.useRef(null),f=(0,a.s)(t,d),h=r.useRef(null);
1return(0,s.jsx)(i.G$,{contentName:g,titleName:A,docsSlug:"alert-dialog",children:(0,s.jsx)(w,{scope:n,cancelRef:h,children:(0,s.jsxs)(i.UC,{role:"alertdialog",...c,...u,ref:f,onOpenAutoFocus:(0,l.mK)(u.onOpenAutoFocus,e=>{var t;e.preventDefault(),null==(t=h.current)||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,s.jsx)(b,{children:o}),(0,s.jsx)(E,{contentRef:d})]})})})});k.displayName=g;var A="AlertDialogTitle",M=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(i.hE,{...o,...r,ref:t})});M.displayName=A;var R="AlertDialogDescription",C=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(i.VY,{...o,...r,ref:t})});C.displayName=R;var j=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,s.jsx)(i.bm,{...o,...r,ref:t})});j.displayName="AlertDialogAction";var D="AlertDialogCancel",S=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=x(D,n),l=p(n),u=(0,a.s)(t,o);return(0,s.jsx)(i.bm,{...l,...r,ref:u})});S.displayName=D;var E=e=>{let{contentRef:t}=e,n="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(R,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return r.useEffect(()=>{var e;document.getElementById(null==(e=t.current)?void 0:e.getAttribute("aria-describedby"))||console.warn(n)},[n,t]),null},L=h,P=m,T=y,O=v,N=k,I=j,_=S,F=M,K=C},18186:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},18271:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},19591:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]])},22436:(e,t,n)=>{var r=n(12115),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return l(function(){o.value=n,o.getSnapshot=t,s(o)&&c({inst:o})},[e,n,t]),i(function(){return s(o)&&c({inst:o}),e(function(){s(o)&&c({inst:o})})},[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},28341:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},30181:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])}
1,33349:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},35079:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},35152:(e,t,n)=>{n.d(t,{Mz:()=>te,i3:()=>tn,UC:()=>tt,bL:()=>e9,Bk:()=>eW});var r=n(12115);let o=["top","right","bottom","left"],a=Math.min,i=Math.max,l=Math.round,u=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}let v=new Set(["top","bottom"]);function g(e){return v.has(p(e))?"y":"x"}function w(e){return e.replace(/start|end/g,e=>d[e])}let x=["left","right"],b=["right","left"],k=["top","bottom"],A=["bottom","top"];function M(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function j(e,t,n){let r,{reference:o,floating:a}=e,i=g(t),l=m(g(t)),u=y(l),s=p(t),c="y"===i,d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,v=o[u]/2-a[u]/2;switch(s){case"top":r={x:d,y:o.y-a.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-a.width,y:f};break;default:r={x:o.x,y:o.y}}switch(h(t)){case"start":r[l]-=v*(n&&c?-1:1);break;case"end":r[l]+=v*(n&&c?-1:1)}return r}let D=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),u=await (null==i.isRTL?void 0:i.isRTL(t)),s=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=j(s,r,u),f=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:a,fn:m}=l[n],{x:y,y:v,data:g,reset:w}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:s,platform:i,elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=v?v:d,p={...p,[a]:{...p[a],...g}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(s=!0===w.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:d}=j(s,f,u)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}};async function S(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:a,rects:i,elements:l,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(t,e),m=R(h),y=l[p?"floating"===d?"reference":"floating":d],v=C(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(y)))||n?y:y.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:s,rootBoundary:c,strategy:u})),g="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await (null==a.isElement?void 0:a.isElement(w))&&await (null==a.getScale?void 0:a.getScale(w))||{x:1,y:1},b=C(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:w,strategy:u}):g);return{top:(v.top-b.top+m.top)/x.y,bottom:(b.bottom-v.bottom+m.bottom)/x.y,left:(v.left-b.left+m.left)/x.x,right:(b.right-v.right+m.right)/x.x}}function E(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function L(e){return o.some(t=>e[t]>=0)}let P=new Set(["left","top"]);async function T(e,t){let{placement:n,platform:r,elements:o}=e,a=await (null==r.isRTL?void 0:r.isRTL(o.floating)),i=p(n),l=h(n),u="y"===g(n),s=P.has(i)?-1:1,c=a&&u?-1:1,d=f(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
1:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof v&&(y="end"===l?-1*v:v),u?{x:y*c,y:m*s}:{x:m*s,y:y*c}}function O(){return"undefined"!=typeof window}function N(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!O()&&(e instanceof Node||e instanceof I(e).Node)}function K(e){return!!O()&&(e instanceof Element||e instanceof I(e).Element)}function H(e){return!!O()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function G(e){return!!O()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}let V=new Set(["inline","contents"]);function q(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!V.has(o)}let B=new Set(["table","td","th"]),z=[":popover-open",":modal"];function U(e){return z.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let W=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],Z=["paint","layout","strict","content"];function Y(e){let t=J(),n=K(e)?ee(e):e;return W.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||X.some(e=>(n.willChange||"").includes(e))||Z.some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let $=new Set(["html","body","#document"]);function Q(e){return $.has(N(e))}function ee(e){return I(e).getComputedStyle(e)}function et(e){return K(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===N(e))return e;let t=e.assignedSlot||e.parentNode||G(e)&&e.host||_(e);return G(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&q(n)?n:e(n)}(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=I(o);if(a){let e=eo(i);return t.concat(i,i.visualViewport||[],q(o)?o:[],e&&n?er(e):[])}return t.concat(o,er(o,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ea(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=H(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,u=l(n)!==a||l(r)!==i;return u&&(n=a,r=i),{width:n,height:r,$:u}}function ei(e){return K(e)?e:e.contextElement}function el(e){let t=ei(e);if(!H(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:a}=ea(t),i=(a?l(n.width):n.width)/r,u=(a?l(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),u&&Number.isFinite(u)||(u=1),{x:i,y:u}}let eu=s(0);function es(e){let t=I(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function ec(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),i=ei(e),l=s(1);t&&(r?K(r)&&(l=el(r)):l=el(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===I(i))&&o)?es(i):s(0),c=(a.left+u.x)/l.x,d=(a.top+u.y)/l.y,f=a.width/l.x,p=a.height/l.y;if(i){let e=I(i),t=r&&K(r)?I(r):r,n=e,o=eo(n);for(;o&&r&&t!==n;){let e=el(o),t=o.getBoundingClientRect(),r=ee(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,p*=e.y,c+=a,d+=i,o=eo(n=I(o))}}return C({width:f,height:p,x:c,y:d})}function ed(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(_(e)).left+n}function ef(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eh(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=I(e),r=_(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,u=0;if(o){a=o.width,i=o.height;let e=J();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}let s=ed(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-o);i<=25&&(a-=i)}else s<=25&&(a+=s);return{width:a,height:i,x:l,y:u}}(e,n);else if("document"===t)r=function(e){let t=_(e),n=et(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+ed(e),u=-n.scrollTop;return"rtl"===ee(r).direction&&(l+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:l,y:u}}(_(e));else if(K(t))r=function(e,t){let n=ec(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=H(e)?el(e):s(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y;return{width:i,height:l,x:o*a.x,y:r*a.y}}(t,n);else{let n=es(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function em(e){return"static"===ee(e).position}function ey(e,t){if(!H(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return _(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){var n;let r=I(e);if(U(e))return r;if(!H(e)){let t=en(e);for(;t&&!Q(t);){if(K(t)&&!em(t))return t;t=en(t)}return r}let o=ey(e,t);for(;o&&(n=o,B.has(N(n)))&&em(o);)o=ey(o,t);return o&&Q(o)&&em(o)&&!Y(o)?r:o||function(e){let t=en(e);for(;H(t)&&!Q(t);){if(Y(t))return t;if(U(t))break;t=en(t)}return null}(e)||r}let eg=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=H(t),o=_(t),a="fixed"===n,i=ec(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=s(0);if(r||!r&&!a)if(("body"!==N(t)||q(o))&&(l=et(t)),r){let e=ec(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=ed(o));a&&!r&&o&&(u.x=ed(o));let c=!o||r||a?s(0):ef(o,l);return{x:i.left+l.scrollLeft-u.x-c.x,y:i.top+l.scrollTop-u.y-c.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,a="fixed"===o,i=_(r),l=!!t&&U(t.floating);if(r===i||l&&a)return n;let u={scrollLeft:0,scrollTop:0},c=s(1),d=s(0),f=H(r);
1if((f||!f&&!a)&&(("body"!==N(r)||q(i))&&(u=et(r)),H(r))){let e=ec(r);c=el(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=!i||f||a?s(0):ef(i,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-u.scrollTop*c.y+d.y+p.y}},getDocumentElement:_,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,l=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>K(e)&&"body"!==N(e)),o=null,a="fixed"===ee(e).position,i=a?en(e):e;for(;K(i)&&!Q(i);){let t=ee(i),n=Y(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&!!o&&ep.has(o.position)||q(i)&&!n&&function e(t,n){let r=en(t);return!(r===n||!K(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):o=t,i=en(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=l[0],s=l.reduce((e,n)=>{let r=eh(t,n,o);return e.top=i(r.top,e.top),e.right=a(r.right,e.right),e.bottom=a(r.bottom,e.bottom),e.left=i(r.left,e.left),e},eh(t,u,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ev,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ea(e);return{width:t,height:n}},getScale:el,isElement:K,isRTL:function(e){return"rtl"===ee(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eb=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:l,platform:u,elements:s,middlewareData:c}=t,{element:d,padding:p=0}=f(e,t)||{};if(null==d)return{};let v=R(p),w={x:n,y:r},x=m(g(o)),b=y(x),k=await u.getDimensions(d),A="y"===x,M=A?"clientHeight":"clientWidth",C=l.reference[b]+l.reference[x]-w[x]-l.floating[b],j=w[x]-l.reference[x],D=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),S=D?D[M]:0;S&&await (null==u.isElement?void 0:u.isElement(D))||(S=s.floating[M]||l.floating[b]);let E=S/2-k[b]/2-1,L=a(v[A?"top":"left"],E),P=a(v[A?"bottom":"right"],E),T=S-k[b]-P,O=S/2-k[b]/2+(C/2-j/2),N=i(L,a(O,T)),I=!c.arrow&&null!=h(o)&&O!==N&&l.reference[b]/2-(O<L?L:P)-k[b]/2<0,_=I?O<L?O-L:O-T:0;return{[x]:w[x]+_,data:{[x]:N,centerOffset:O-N-_,...I&&{alignmentOffset:_}},reset:I}}}),ek=(e,t,n)=>{let r=new Map,o={platform:ew,...n},a={...o.platform,_c:r};return D(e,t,{...o,platform:a})};var eA=n(47650),eM="undefined"!=typeof document?r.useLayoutEffect:function(){};function eR(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(!eR(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)&&!eR(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eC(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ej(e,t){let n=eC(e);return Math.round(t*n)/n}function eD(e){let t=r.useRef(e);return eM(()=>{t.current=e}),t}let eS=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?eb({element:n.current,padding:r}).fn(t):{}:n?eb({element:n,padding:r}).fn(t):{}}}),eE=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:a,placement:i,middlewareData:l}=t,u=await T(t,e);return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:i}}}}}(e),options:[e,t]}),eL=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(e,t),d={x:n,y:r},h=await S(t,c),y=g(p(o)),v=m(y),w=d[v],x=d[y];if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+h[e],r=w-h[t];w=i(n,a(w,r))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+h[e],r=x-h[t];x=i(n,a(x,r))}let b=s.fn({...t,[v]:w,[y]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:l,[y]:u}}}}}}(e),options:[e,t]}),eP=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:u=!0,crossAxis:s=!0}=f(e,t),c={x:n,y:r},d=g(o),h=m(d),y=c[h],v=c[d],w=f(l,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+x.mainAxis,n=a.reference[h]+a.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(s){var b,k;let e="y"===h?"width":"height",t=P.has(p(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(b=i.offset)?void 0:b[d])||0)+(t?0:x.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(k=i.offset)?void 0:k[d])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:y,[d]:v}}}}(e),options:[e,t]}),eT=(e,t)=>
1({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,a,i;let{placement:l,middlewareData:u,rects:s,initialPlacement:c,platform:d,elements:v}=t,{mainAxis:R=!0,crossAxis:C=!0,fallbackPlacements:j,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:L=!0,...P}=f(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let T=p(l),O=g(c),N=p(c)===c,I=await (null==d.isRTL?void 0:d.isRTL(v.floating)),_=j||(N||!L?[M(c)]:function(e){let t=M(e);return[w(e),t,w(t)]}(c)),F="none"!==E;!j&&F&&_.push(...function(e,t,n,r){let o=h(e),a=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:x;return t?x:b;case"left":case"right":return t?k:A;default:return[]}}(p(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(w)))),a}(c,L,E,I));let K=[c,..._],H=await S(t,P),G=[],V=(null==(r=u.flip)?void 0:r.overflows)||[];if(R&&G.push(H[T]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),o=m(g(e)),a=y(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=M(i)),[i,M(i)]}(l,s,I);G.push(H[e[0]],H[e[1]])}if(V=[...V,{placement:l,overflows:G}],!G.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=K[e];if(t&&("alignment"!==C||O===g(t)||V.every(e=>g(e.placement)!==O||e.overflows[0]>0)))return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(a=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(D){case"bestFit":{let e=null==(i=V.filter(e=>{if(F){let t=g(e.placement);return t===O||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=c}if(l!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}),eO=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,l,{placement:u,rects:s,platform:c,elements:d}=t,{apply:m=()=>{},...y}=f(e,t),v=await S(t,y),w=p(u),x=h(u),b="y"===g(u),{width:k,height:A}=s.floating;"top"===w||"bottom"===w?(o=w,l=x===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(l=w,o="end"===x?"top":"bottom");let M=A-v.top-v.bottom,R=k-v.left-v.right,C=a(A-v[o],M),j=a(k-v[l],R),D=!t.middlewareData.shift,E=C,L=j;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(L=R),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(E=M),D&&!x){let e=i(v.left,0),t=i(v.right,0),n=i(v.top,0),r=i(v.bottom,0);b?L=k-2*(0!==e||0!==t?e+t:i(v.left,v.right)):E=A-2*(0!==n||0!==r?n+r:i(v.top,v.bottom))}await m({...t,availableWidth:L,availableHeight:E});let P=await c.getDimensions(d.floating);return k!==P.width||A!==P.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),eN=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=f(e,t);switch(r){case"referenceHidden":{let e=E(await S(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:L(e)}}}case"escaped":{let e=E(await S(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:L(e)}}}default:return{}}}}}(e),options:[e,t]}),eI=(e,t)=>({...eS(e),options:[e,t]});var e_=n(63655),eF=n(95155),eK=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,eF.jsx)(e_.sG.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eF.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eK.displayName="Arrow";var eH=n(6101),eG=n(46081),eV=n(39033),eq=n(52712),eB=n(11275),ez="Popper",[eU,eW]=(0,eG.A)(ez),[eX,eZ]=eU(ez),eY=e=>{let{__scopePopper:t,children:n}=e,[o,a]=r.useState(null);return(0,eF.jsx)(eX,{scope:t,anchor:o,onAnchorChange:a,children:n})};eY.displayName=ez;var eJ="PopperAnchor",e$=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...a}=e,i=eZ(eJ,n),l=r.useRef(null),u=(0,eH.s)(t,l),s=r.useRef(null);return r.useEffect(()=>{let e=s.current;s.current=(null==o?void 0:o.current)||l.current,e!==s.current&&i.onAnchorChange(s.current)}),o?null:(0,eF.jsx)(e_.sG.div,{...a,ref:u})});e$.displayName=eJ;var eQ="PopperContent",[e0,e1]=eU(eQ),e2=r.forwardRef((e,t)=>
1{var n,o,l,s,c,d,f,p;let{__scopePopper:h,side:m="bottom",sideOffset:y=0,align:v="center",alignOffset:g=0,arrowPadding:w=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:k=0,sticky:A="partial",hideWhenDetached:M=!1,updatePositionStrategy:R="optimized",onPlaced:C,...j}=e,D=eZ(eQ,h),[S,E]=r.useState(null),L=(0,eH.s)(t,e=>E(e)),[P,T]=r.useState(null),O=(0,eB.X)(P),N=null!=(f=null==O?void 0:O.width)?f:0,I=null!=(p=null==O?void 0:O.height)?p:0,F="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},K=Array.isArray(b)?b:[b],H=K.length>0,G={padding:F,boundary:K.filter(e8),altBoundary:H},{refs:V,floatingStyles:q,placement:B,isPositioned:z,middlewareData:U}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:a,elements:{reference:i,floating:l}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);eR(p,o)||h(o);let[m,y]=r.useState(null),[v,g]=r.useState(null),w=r.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),x=r.useCallback(e=>{e!==M.current&&(M.current=e,g(e))},[]),b=i||m,k=l||v,A=r.useRef(null),M=r.useRef(null),R=r.useRef(d),C=null!=s,j=eD(s),D=eD(a),S=eD(c),E=r.useCallback(()=>{if(!A.current||!M.current)return;let e={placement:t,strategy:n,middleware:p};D.current&&(e.platform=D.current),ek(A.current,M.current,e).then(e=>{let t={...e,isPositioned:!1!==S.current};L.current&&!eR(R.current,t)&&(R.current=t,eA.flushSync(()=>{f(t)}))})},[p,t,n,D,S]);eM(()=>{!1===c&&R.current.isPositioned&&(R.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let L=r.useRef(!1);eM(()=>(L.current=!0,()=>{L.current=!1}),[]),eM(()=>{if(b&&(A.current=b),k&&(M.current=k),b&&k){if(j.current)return j.current(b,k,E);E()}},[b,k,E,j,C]);let P=r.useMemo(()=>({reference:A,floating:M,setReference:w,setFloating:x}),[w,x]),T=r.useMemo(()=>({reference:b,floating:k}),[b,k]),O=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!T.floating)return e;let t=ej(T.floating,d.x),r=ej(T.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eC(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,T.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:E,refs:P,elements:T,floatingStyles:O}),[d,E,P,T,O])}({strategy:"fixed",placement:m+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=ei(e),h=l||s?[...p?er(p):[],...er(t)]:[];h.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&d?function(e,t){let n,r=null,o=_(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:y}=f;if(c||t(),!m||!y)return;let v=u(h),g=u(o.clientWidth-(p+m)),w={rootMargin:-v+"px "+-g+"px "+-u(o.clientHeight-(h+y))+"px "+-u(p)+"px",threshold:i(0,a(1,d))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==d){if(!x)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ex(f,e.getBoundingClientRect())||s(),x=!1}try{r=new IntersectionObserver(b,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),l}(p,n):null,y=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!f&&v.observe(p),v.observe(t));let g=f?ec(e):null;return f&&function t(){let r=ec(e);g&&!ex(g,r)&&n(),g=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,f&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===R})},elements:{reference:D.anchor}
1,middleware:[eE({mainAxis:y+I,alignmentAxis:g}),x&&eL({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?eP():void 0,...G}),x&&eT({...G}),eO({...G,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:a,height:i}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),P&&eI({element:P,padding:w}),e6({arrowWidth:N,arrowHeight:I}),M&&eN({strategy:"referenceHidden",...G})]}),[W,X]=e7(B),Z=(0,eV.c)(C);(0,eq.N)(()=>{z&&(null==Z||Z())},[z,Z]);let Y=null==(n=U.arrow)?void 0:n.x,J=null==(o=U.arrow)?void 0:o.y,$=(null==(l=U.arrow)?void 0:l.centerOffset)!==0,[Q,ee]=r.useState();return(0,eq.N)(()=>{S&&ee(window.getComputedStyle(S).zIndex)},[S]),(0,eF.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:z?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null==(s=U.transformOrigin)?void 0:s.x,null==(c=U.transformOrigin)?void 0:c.y].join(" "),...(null==(d=U.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eF.jsx)(e0,{scope:h,placedSide:W,onArrowChange:T,arrowX:Y,arrowY:J,shouldHideArrow:$,children:(0,eF.jsx)(e_.sG.div,{"data-side":W,"data-align":X,...j,ref:L,style:{...j.style,animation:z?void 0:"none"}})})})});e2.displayName=eQ;var e4="PopperArrow",e5={top:"bottom",right:"left",bottom:"top",left:"right"},e3=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e1(e4,n),a=e5[o.placedSide];return(0,eF.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,eF.jsx)(eK,{...r,ref:t,style:{...r.style,display:"block"}})})});function e8(e){return null!==e}e3.displayName=e4;var e6=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;let{placement:l,rects:u,middlewareData:s}=t,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=e7(l),m={start:"0%",center:"50%",end:"100%"}[h],y=(null!=(a=null==(r=s.arrow)?void 0:r.x)?a:0)+d/2,v=(null!=(i=null==(o=s.arrow)?void 0:o.y)?i:0)+f/2,g="",w="";return"bottom"===p?(g=c?m:"".concat(y,"px"),w="".concat(-f,"px")):"top"===p?(g=c?m:"".concat(y,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),w=c?m:"".concat(v,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),w=c?m:"".concat(v,"px")),{data:{x:g,y:w}}}});function e7(e){let[t,n="center"]=e.split("-");return[t,n]}var e9=eY,te=e$,tt=e2,tn=e3},36931:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]])},42625:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]])},46287:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("LayoutList",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["path",{d:"M14 4h7",key:"3xa0d5"}],["path",{d:"M14 9h7",key:"1icrd9"}],["path",{d:"M14 15h7",key:"1mj8o2"}],["path",{d:"M14 20h7",key:"11slyb"}]])},48698:(e,t,n)=>{n.d(t,{H_:()=>e6,UC:()=>e4,YJ:()=>e5,q7:()=>e8,VF:()=>te,JU:()=>e3,ZL:()=>e2,z6:()=>e7,hN:()=>e9,bL:()=>e0,wv:()=>tt,Pb:()=>tn,G5:()=>to,ZP:()=>tr,l9:()=>e1});var r=n(12115),o=n(85185),a=n(6101),i=n(46081),l=n(5845),u=n(63655),s=n(37328),c=n(94315),d=n(19178),f=n(92293),p=n(25519),h=n(61285),m=n(35152),y=n(34378),v=n(28905),g=n(89196),w=n(99708),x=n(39033),b=n(38168),k=n(58890),A=n(95155),M=["Enter"," "],R=["ArrowUp","PageDown","End"],C=["ArrowDown","PageUp","Home",...R],j={ltr:[...M,"ArrowRight"],rtl:[...M,"ArrowLeft"]},D={ltr:["ArrowLeft"],rtl:["ArrowRight"]},S="Menu",[E,L,P]=(0,s.N)(S),[T,O]=(0,i.A)(S,[P,m.Bk,g.RG]),N=(0,m.Bk)(),I=(0,g.RG)(),[_,F]=T(S),[K,H]=T(S),G=e=>{let{__scopeMenu:t,open:n=!1,children:o,dir:a,onOpenChange:i,modal:l=!0}=e,u=N(t),[s,d]=r.useState(null),f=r.useRef(!1),p=(0,x.c)(i),h=(0,c.jH)(a);return r.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,A.jsx)(m.bL,{...u,children:(0,A.jsx)(_,{scope:t,open:n,onOpenChange:p,content:s,onContentChange:d,children:(0,A.jsx)(K,{scope:t,onClose:r.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:h,modal:l,children:o})})})};G.displayName=S;var V=r.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=N(n);return(0,A.jsx)(m.Mz,{...o,...r,ref:t})});V.displayName="MenuAnchor";var q="MenuPortal",[B,z]=T(q,{forceMount:void 0}),U=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=F(q,t);return(0,A.jsx)(B,{scope:t,forceMount:n,children:(0,A.jsx)(v.C,{present:n||a.open,children:(0,A.jsx)(y.Z,{asChild:!0,container:o,children:r})})})};U.displayName=q;var W="MenuContent",[X,Z]=T(W),Y=r.forwardRef((e,t)=>{let n=z(W,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=F(W,e.__scopeMenu),i=H(W,e.__scopeMenu);return(0,A.jsx)(E.Provider,{scope:e.__scopeMenu,children:(0,A.jsx)(v.C,{present:r||a.open,children:(0,A.jsx)(E.Slot,{scope:e.__scopeMenu,children:i.modal?(0,A.jsx)(J,{...o,ref:t}):(0,A.jsx)($,{...o,ref:t})})})})}),J=r.forwardRef((e,t)=>{let n=F(W,e.__scopeMenu),i=r.useRef(null),l=(0,a.s)(t,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,b.Eq)(e)},[]),(0,A.jsx)(ee,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),$=r.forwardRef((e,t)=>{let n=F(W,e.__scopeMenu);return(0,A.jsx)(ee,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Q=(0,w.TL)("MenuContent.ScrollLock"),ee=r.forwardRef((e,t)=>{let{__scopeMenu:n,loop:i=!1,trapFocus:l,onOpenAutoFocus:u,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:h,onEscapeKeyDown:y,onPointerDownOutside:v,onFocusOutside:w,onInteractOutside:x,onDismiss:b,disableOutsideScroll:M,...j}=e,D=F(W,n),S=H(W,n),E=N(n),P=I(n),T=L(n),[O,_]=r.useState(null),K=r.useRef(null),G=(0,a.s)(t,K,D.onContentChange),V=r.useRef(0),q=r.useRef(""),B=r.useRef(0),z=r.useRef(null),U=r.useRef("right"),Z=r.useRef(0),Y=M?k.A:r.Fragment,J=e=>{var t,n;let r=q.current+e,o=T().filter(e=>!e.disabled),a=document.activeElement,i=null==(t=o.find(e=>
1e.ref.current===a))?void 0:t.textValue,l=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=n?e.indexOf(n):-1,i=(r=Math.max(a,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let l=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(o.map(e=>e.textValue),r,i),u=null==(n=o.find(e=>e.textValue===l))?void 0:n.ref.current;!function e(t){q.current=t,window.clearTimeout(V.current),""!==t&&(V.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>u.focus())};r.useEffect(()=>()=>window.clearTimeout(V.current),[]),(0,f.Oh)();let $=r.useCallback(e=>{var t,n;return U.current===(null==(t=z.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let i=t[e],l=t[a],u=i.x,s=i.y,c=l.x,d=l.y;s>r!=d>r&&n<(c-u)*(r-s)/(d-s)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null==(n=z.current)?void 0:n.area)},[]);return(0,A.jsx)(X,{scope:n,searchRef:q,onItemEnter:r.useCallback(e=>{$(e)&&e.preventDefault()},[$]),onItemLeave:r.useCallback(e=>{var t;$(e)||(null==(t=K.current)||t.focus(),_(null))},[$]),onTriggerLeave:r.useCallback(e=>{$(e)&&e.preventDefault()},[$]),pointerGraceTimerRef:B,onPointerGraceIntentChange:r.useCallback(e=>{z.current=e},[]),children:(0,A.jsx)(Y,{...M?{as:Q,allowPinchZoom:!0}:void 0,children:(0,A.jsx)(p.n,{asChild:!0,trapped:l,onMountAutoFocus:(0,o.mK)(u,e=>{var t;e.preventDefault(),null==(t=K.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,A.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:y,onPointerDownOutside:v,onFocusOutside:w,onInteractOutside:x,onDismiss:b,children:(0,A.jsx)(g.bL,{asChild:!0,...P,dir:S.dir,orientation:"vertical",loop:i,currentTabStopId:O,onCurrentTabStopIdChange:_,onEntryFocus:(0,o.mK)(h,e=>{S.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,A.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":eD(D.open),"data-radix-menu-content":"",dir:S.dir,...E,...j,ref:G,style:{outline:"none",...j.style},onKeyDown:(0,o.mK)(j.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&J(e.key));let o=K.current;if(e.target!==o||!C.includes(e.key))return;e.preventDefault();let a=T().filter(e=>!e.disabled).map(e=>e.ref.current);R.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(V.current),q.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,eL(e=>{let t=e.target,n=Z.current!==e.clientX;e.currentTarget.contains(t)&&n&&(U.current=e.clientX>Z.current?"right":"left",Z.current=e.clientX)}))})})})})})})});Y.displayName=W;var et=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,A.jsx)(u.sG.div,{role:"group",...r,ref:t})});et.displayName="MenuGroup";var en=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,A.jsx)(u.sG.div,{...r,ref:t})});en.displayName="MenuLabel";var er="MenuItem",eo="menu.itemSelect",ea=r.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:i,...l}=e,s=r.useRef(null),c=H(er,e.__scopeMenu),d=Z(er,e.__scopeMenu),f=(0,a.s)(t,s),p=r.useRef(!1);return(0,A.jsx)(ei,{...l,ref:f,disabled:n,onClick:(0,o.mK)(e.onClick,()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(eo,{bubbles:!0,cancelable:!0});e.addEventListener(eo,e=>null==i?void 0:i(e),{once:!0}),(0,u.hO)(e,t),t.defaultPrevented?p.current=!1:c.onClose()}}),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.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;n||t&&" "===e.key||M.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ea.displayName=er;var ei=r.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:i=!1,textValue:l,...s}=e,c=Z(er,n),d=I(n),f=r.useRef(null),p=(0,a.s)(t,f),[h,m]=r.useState(!1),[y,v]=r.useState("");return r.useEffect(()=>{let e=f.current;if(e){var t;v((null!=(t=e.textContent)?t:"").trim())}},[s.children]),(0,A.jsx)(E.ItemSlot,{scope:n,disabled:i,textValue:null!=l?l:y,children:(0,A.jsx)(g.q7,{asChild:!0,...d,focusable:!i,children:(0,A.jsx)(u.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...s,ref:p,onPointerMove:(0,o.mK)(e.onPointerMove,eL(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eL(e=>c.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>m(!0)),onBlur:(0,o.mK)(e.onBlur,()=>m(!1))})})})}),el=r.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...a}=e;return(0,A.jsx)(em,{scope:e.__scopeMenu,checked:n,children:(0,A.jsx)(ea,{role:"menuitemcheckbox","aria-checked":eS(n)?"mixed":n,...a,ref:t,"data-state":eE(n),onSelect:(0,o.mK)(a.onSelect,()=>null==r?void 0:r(!!eS(n)||!n),{checkForDefaultPrevented:!1})})})});el.displayName="MenuCheckboxItem";var eu="MenuRadioGroup",[es,ec]=T(eu,{value:void 0,onValueChange:()=>{}}),ed=r.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,a=(0,x.c)(r);return(0,A.jsx)(es,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,A.jsx)(et,{...o,ref:t})})});ed.displayName=eu;var ef="MenuRadioItem",ep=r.forwardRef((e,t)=>{let{value:n,...r}=e,a=ec(ef,e.__scopeMenu),i=n===a.value;return(0,A.jsx)(em,{scope:e.__scopeMenu,checked:i,children:(0,A.jsx)(ea,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":eE(i),onSelect:(0,o.mK)(r.onSelect,()=>{var e;return null==(e=a.onValueChange)?void 0:e.call(a,n)},{checkForDefaultPrevented:!1})})})});ep.displayName=ef;var eh="MenuItemIndicator",[em,ey]=T(eh,{checked:!1}),ev=r.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,a=ey(eh,n);return(0,A.jsx)(v.C,{present:r||eS(a.checked)||!0===a.checked,children:(0,A.jsx)(u.sG.span,{...o,ref:t,"data-state":eE(a.checked)})})});ev.displayName=eh;var eg=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,A.jsx)(u.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});eg.displayName="MenuSeparator";var ew=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=N(n);return(0,A.jsx)(m.i3,{...o,...r,ref:t})});ew.displayName="MenuArrow";var ex="MenuSub",[eb,ek]=T(ex),eA=e=>{let{__scopeMenu:t,children:n,open:o=!1,onOpenChange:a}=e,i=F(ex,t),l=N(t),[u,s]=r.useState(null),[c,d]=r.useState(null),f=(0,x.c)(a);return r.useEffect(()=>(!1===i.open&&f(!1),()=>f(!1)),[i.open,f]),(0,A.jsx)(m.bL,{...l,children:(0,A.jsx)(_,{scope:t,open:o,onOpenChange:f,content:c,onContentChange:d,children:(0,A.jsx)(eb,{scope:t,contentId:(0,h.B)(),triggerId:(0,h.B)(),trigger:u,onTriggerChange:s,children:n})})})};eA.displayName=ex;var eM="MenuSubTrigger",eR=r.forwardRef((e,t)=>{let n=F(eM,e.__scopeMenu),i=H(eM,e.__scopeMenu),l=ek(eM,e.__scopeMenu),u=Z(eM,e.__scopeMenu),s=r.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=u,f={__scopeMenu:e.__scopeMenu},p=r.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return r.useEffect(()=>p,[p]),r.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,A.jsx)(V,{asChild:!0,...f,children:(0,A.jsx)(ei,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":eD(n.open),...e,ref:(0,a.t)(t,l.onTriggerChange),onClick:t=>{var r;null==(r=e.onClick)||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,eL(t=>{u.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||s.current||(u.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eL(e=>{var t,r;p();let o=null==(t=n.content)?void 0:t.getBoundingClientRect();if(o){let t=null==(r=n.content)?void 0:r.dataset.side,a="right"===t,i=o[a?"left":"right"],l=o[a?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:i,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:i,y:o.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,t=>{let r=""!==u.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&j[i.dir].includes(t.key)){var o;n.onOpenChange(!0),null==(o=n.content)||o.focus(),t.preventDefault()}})})})});eR.displayName=eM;var eC="MenuSubContent",ej=r.forwardRef((e,t)=>
1{let n=z(W,e.__scopeMenu),{forceMount:i=n.forceMount,...l}=e,u=F(W,e.__scopeMenu),s=H(W,e.__scopeMenu),c=ek(eC,e.__scopeMenu),d=r.useRef(null),f=(0,a.s)(t,d);return(0,A.jsx)(E.Provider,{scope:e.__scopeMenu,children:(0,A.jsx)(v.C,{present:i||u.open,children:(0,A.jsx)(E.Slot,{scope:e.__scopeMenu,children:(0,A.jsx)(ee,{id:c.contentId,"aria-labelledby":c.triggerId,...l,ref:f,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.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&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=D[s.dir].includes(e.key);if(t&&n){var r;u.onOpenChange(!1),null==(r=c.trigger)||r.focus(),e.preventDefault()}})})})})})});function eD(e){return e?"open":"closed"}function eS(e){return"indeterminate"===e}function eE(e){return eS(e)?"indeterminate":e?"checked":"unchecked"}function eL(e){return t=>"mouse"===t.pointerType?e(t):void 0}ej.displayName=eC;var eP="DropdownMenu",[eT,eO]=(0,i.A)(eP,[O]),eN=O(),[eI,e_]=eT(eP),eF=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:a,defaultOpen:i,onOpenChange:u,modal:s=!0}=e,c=eN(t),d=r.useRef(null),[f,p]=(0,l.i)({prop:a,defaultProp:null!=i&&i,onChange:u,caller:eP});return(0,A.jsx)(eI,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:(0,A.jsx)(G,{...c,open:f,onOpenChange:p,dir:o,modal:s,children:n})})};eF.displayName=eP;var eK="DropdownMenuTrigger",eH=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,l=e_(eK,n),s=eN(n);return(0,A.jsx)(V,{asChild:!0,...s,children:(0,A.jsx)(u.sG.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:(0,a.t)(t,l.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eH.displayName=eK;var eG=e=>{let{__scopeDropdownMenu:t,...n}=e,r=eN(t);return(0,A.jsx)(U,{...r,...n})};eG.displayName="DropdownMenuPortal";var eV="DropdownMenuContent",eq=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,i=e_(eV,n),l=eN(n),u=r.useRef(!1);return(0,A.jsx)(Y,{id:i.contentId,"aria-labelledby":i.triggerId,...l,...a,ref:t,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;u.current||null==(t=i.triggerRef.current)||t.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!i.modal||r)&&(u.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)"}})});eq.displayName=eV;var eB=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(et,{...o,...r,ref:t})});eB.displayName="DropdownMenuGroup";var ez=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(en,{...o,...r,ref:t})});ez.displayName="DropdownMenuLabel";var eU=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(ea,{...o,...r,ref:t})});eU.displayName="DropdownMenuItem";var eW=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(el,{...o,...r,ref:t})});
1eW.displayName="DropdownMenuCheckboxItem";var eX=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(ed,{...o,...r,ref:t})});eX.displayName="DropdownMenuRadioGroup";var eZ=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(ep,{...o,...r,ref:t})});eZ.displayName="DropdownMenuRadioItem";var eY=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(ev,{...o,...r,ref:t})});eY.displayName="DropdownMenuItemIndicator";var eJ=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(eg,{...o,...r,ref:t})});eJ.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(ew,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var e$=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(eR,{...o,...r,ref:t})});e$.displayName="DropdownMenuSubTrigger";var eQ=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eN(n);return(0,A.jsx)(ej,{...o,...r,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)"}})});eQ.displayName="DropdownMenuSubContent";var e0=eF,e1=eH,e2=eG,e4=eq,e5=eB,e3=ez,e8=eU,e6=eW,e7=eX,e9=eZ,te=eY,tt=eJ,tn=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:a}=e,i=eN(t),[u,s]=(0,l.i)({prop:r,defaultProp:null!=a&&a,onChange:o,caller:"DropdownMenuSub"});return(0,A.jsx)(eA,{...i,open:u,onOpenChange:s,children:n})},tr=e$,to=eQ},49033:(e,t,n)=>{e.exports=n(22436)},50286:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},54011:(e,t,n)=>{n.d(t,{H4:()=>M,_V:()=>A,bL:()=>k});var r=n(12115),o=n(46081),a=n(39033),i=n(52712),l=n(63655),u=n(49033);function s(){return()=>{}}var c=n(95155),d="Avatar",[f,p]=(0,o.A)(d),[h,m]=f(d),y=r.forwardRef((e,t)=>{let{__scopeAvatar:n,...o}=e,[a,i]=r.useState("idle");return(0,c.jsx)(h,{scope:n,imageLoadingStatus:a,onImageLoadingStatusChange:i,children:(0,c.jsx)(l.sG.span,{...o,ref:t})})});y.displayName=d;var v="AvatarImage",g=r.forwardRef((e,t)=>{let{__scopeAvatar:n,src:o,onLoadingStatusChange:d=()=>{},...f}=e,p=m(v,n),h=function(e,t){let{referrerPolicy:n,crossOrigin:o}=t,a=(0,u.useSyncExternalStore)(s,()=>!0,()=>!1),l=r.useRef(null),c=a?(l.current||(l.current=new window.Image),l.current):null,[d,f]=r.useState(()=>b(c,e));return(0,i.N)(()=>{f(b(c,e))},[c,e]),(0,i.N)(()=>{let e=e=>()=>{f(e)};if(!c)return;let t=e("loaded"),r=e("error");return c.addEventListener("load",t),c.addEventListener("error",r),n&&(c.referrerPolicy=n),"string"==typeof o&&(c.crossOrigin=o),()=>{c.removeEventListener("load",t),c.removeEventListener("error",r)}},[c,o,n]),d}(o,f),y=(0,a.c)(e=>{d(e),p.onImageLoadingStatusChange(e)});return(0,i.N)(()=>{"idle"!==h&&y(h)},[h,y]),"loaded"===h?(0,c.jsx)(l.sG.img,{...f,ref:t,src:o}):null});g.displayName=v;var w="AvatarFallback",x=r.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:o,...a}=e,i=m(w,n),[u,s]=r.useState(void 0===o);return r.useEffect(()=>{if(void 0!==o){let e=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(e)}},[o]),u&&"loaded"!==i.imageLoadingStatus?(0,c.jsx)(l.sG.span,{...a,ref:t}):null});function b(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}x.displayName=w;var k=y,A=g,M=x},59114:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]])},59722:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("LifeBuoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]])}
1,70154:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},70593:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},73158:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},74601:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},75074:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},85081:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]])},87489:(e,t,n)=>{n.d(t,{b:()=>s});var r=n(12115),o=n(63655),a=n(95155),i="horizontal",l=["horizontal","vertical"],u=r.forwardRef((e,t)=>{var n;let{decorative:r,orientation:u=i,...s}=e,c=(n=u,l.includes(n))?u:i;return(0,a.jsx)(o.sG.div,{"data-orientation":c,...r?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...s,ref:t})});u.displayName="Separator";var s=u},89196:(e,t,n)=>{n.d(t,{RG:()=>b,bL:()=>E,q7:()=>L});var r=n(12115),o=n(85185),a=n(37328),i=n(6101),l=n(46081),u=n(61285),s=n(63655),c=n(39033),d=n(5845),f=n(94315),p=n(95155),h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[v,g,w]=(0,a.N)(y),[x,b]=(0,l.A)(y,[w]),[k,A]=x(y),M=r.forwardRef((e,t)=>(0,p.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(R,{...e,ref:t})})}));M.displayName=y;var R=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:u,currentTabStopId:v,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:x,onEntryFocus:b,preventScrollOnEntryFocus:A=!1,...M}=e,R=r.useRef(null),C=(0,i.s)(t,R),j=(0,f.jH)(u),[D,E]=(0,d.i)({prop:v,defaultProp:null!=w?w:null,onChange:x,caller:y}),[L,P]=r.useState(!1),T=(0,c.c)(b),O=g(n),N=r.useRef(!1),[I,_]=r.useState(0);return r.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(h,T),()=>e.removeEventListener(h,T)},[T]),(0,p.jsx)(k,{scope:n,orientation:a,dir:j,loop:l,currentTabStopId:D,onItemFocus:r.useCallback(e=>E(e),[E]),onItemShiftTab:r.useCallback(()=>P(!0),[]),onFocusableItemAdd:r.useCallback(()=>_(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>_(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:L||0===I?-1:0,"data-orientation":a,...M,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!L){let t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),A)}}N.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>P(!1))})})}),C="RovingFocusGroupItem",j=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:i=!1,tabStopId:l,children:c,...d}=e,f=(0,u.B)(),h=l||f,m=A(C,n),y=m.currentTabStopId===h,w=g(n),{onFocusableItemAdd:x,onFocusableItemRemove:b,currentTabStopId:k}=m;return r.useEffect(()=>{if(a)return x(),()=>b()},[a,x,b]),(0,p.jsx)(v.ItemSlot,{scope:n,id:h,focusable:a,active:i,children:(0,p.jsx)(s.sG.span,{tabIndex:y?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return D[o]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=w().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=m.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>S(n))}}),children:"function"==typeof c?c({isCurrentTabStop:y,hasTabStop:null!=k}):c})})});j.displayName=C;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var E=M,L=j},91721:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},98328:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])}}]);
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.