"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1807],{32536:(e,t,r)=>{r.d(t,{B8:()=>D,UC:()=>O,bL:()=>N,l9:()=>F});var n=r(91356),a=r(9321),o=r(65537),i=r(30990),l=r(41459),s=r(83418),d=r(62118),u=r(14216),c=r(10168),p=r(4208),f="Tabs",[v,h]=(0,o.A)(f,[i.RG]),b=(0,i.RG)(),[m,g]=v(f),x=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:l,activationMode:v="automatic",...h}=e,b=(0,d.jH)(l),[g,x]=(0,u.i)({prop:n,onChange:a,defaultProp:o??"",caller:f});return(0,p.jsx)(m,{scope:r,baseId:(0,c.B)(),value:g,onValueChange:x,orientation:i,dir:b,activationMode:v,children:(0,p.jsx)(s.sG.div,{dir:b,"data-orientation":i,...h,ref:t})})});x.displayName=f;var C="TabsList",y=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...a}=e,o=g(C,r),l=b(r);return(0,p.jsx)(i.bL,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:(0,p.jsx)(s.sG.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});y.displayName=C;var R="TabsTrigger",j=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:o=!1,...l}=e,d=g(R,r),u=b(r),c=k(d.baseId,n),f=A(d.baseId,n),v=n===d.value;return(0,p.jsx)(i.q7,{asChild:!0,...u,focusable:!o,active:v,children:(0,p.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":f,"data-state":v?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...l,ref:t,onMouseDown:(0,a.mK)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(n)}),onKeyDown:(0,a.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(n)}),onFocus:(0,a.mK)(e.onFocus,()=>{let e="manual"!==d.activationMode;v||o||!e||d.onValueChange(n)})})})});j.displayName=R;var w="TabsContent",P=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:a,forceMount:o,children:i,...d}=e,u=g(w,r),c=k(u.baseId,a),f=A(u.baseId,a),v=a===u.value,h=n.useRef(v);return n.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.jsx)(l.C,{present:o||v,children:({present:r})=>(0,p.jsx)(s.sG.div,{"data-state":v?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":c,hidden:!r,id:f,tabIndex:0,...d,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:r&&i})})});function k(e,t){return`${e}-trigger-${t}`}function A(e,t){return`${e}-content-${t}`}P.displayName=w;var N=x,D=y,F=j,O=P},49600:(e,t,r)=>{r.d(t,{Ke:()=>R,R6:()=>C,UC:()=>A,bL:()=>P,l9:()=>k,z3:()=>h});var n=r(91356),a=r(9321),o=r(65537),i=r(14216),l=r(84844),s=r(1709),d=r(83418),u=r(41459),c=r(10168),p=r(4208),f="Collapsible",[v,h]=(0,o.A)(f),[b,m]=v(f),g=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:a,defaultOpen:o,disabled:l,onOpenChange:s,...u}=e,[v,h]=(0,i.i)({prop:a,defaultProp:o??!1,onChange:s,caller:f});return(0,p.jsx)(b,{scope:r,disabled:l,contentId:(0,c.B)(),open:v,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),children:(0,p.jsx)(d.sG.div,{"data-state":w(v),"data-disabled":l?"":void 0,...u,ref:t})})});g.displayName=f;var x="CollapsibleTrigger",C=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,o=m(x,r);return(0,p.jsx)(d.sG.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":w(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:t,onClick:(0,a.mK)(e.onClick,o.onOpenToggle)})});C.displayName=x;var y="CollapsibleContent",R=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=m(y,e.__scopeCollapsible);return(0,p.jsx)(u.C,{present:r||a.open,children:({present:e})=>(0,p.jsx)(j,{...n,ref:t,present:e})})});R.displayName=y;var j=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:a,children:o,...i}=e,u=m(y,r),[c,f]=n.useState(a),v=n.useRef(null),h=(0,s.s)(t,v),b=n.useRef(0),g=b.current,x=n.useRef(0),C=x.current,R=u.open||c,j=n.useRef(R),P=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.N)(()=>{let e=v.current;if(e){P.current=P.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();b.current=t.height,x.current=t.width,j.current||(e.style.transitionDuration=P.current.transitionDuration,e.style.animationName=P.current.animationName),f(a)}},[u.open,a]),(0,p.jsx)(d.sG.div,{"data-state":w(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!R,...i,ref:h,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:R&&o})});function w(e){return e?"open":"closed"}var P=g,k=C,A=R},56706:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},74877:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},80584:(e,t,r)=>{r.d(t,{UC:()=>V,ZL:()=>U,bL:()=>$,l9:()=>q});var n=r(91356),a=r(9321),o=r(1709),i=r(65537),l=r(49872),s=r(47802),d=r(14576),u=r(10168),c=r(17923),p=r(69578),f=r(41459),v=r(83418),h=r(64427),b=r(14216),m=r(49173),g=r(7078),x=r(4208),C="Popover",[y,R]=(0,i.A)(C,[c.Bk]),j=(0,c.Bk)(),[w,P]=y(C),k=e=>{let{__scopePopover:t,children:r,open:a,defaultOpen:o,onOpenChange:i,modal:l=!1}=e,s=j(t),d=n.useRef(null),[p,f]=n.useState(!1),[v,h]=(0,b.i)({prop:a,defaultProp:o??!1,onChange:i,caller:C});return(0,x.jsx)(c.bL,{...s,children:(0,x.jsx)(w,{scope:t,contentId:(0,u.B)(),triggerRef:d,open:v,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:p,onCustomAnchorAdd:n.useCallback(()=>f(!0),[]),onCustomAnchorRemove:n.useCallback(()=>f(!1),[]),modal:l,children:r})})};k.displayName=C;var A="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...a}=e,o=P(A,r),i=j(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:s}=o;return n.useEffect(()=>(l(),()=>s()),[l,s]),(0,x.jsx)(c.Mz,{...i,...a,ref:t})}).displayName=A;var N="PopoverTrigger",D=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=P(N,r),l=j(r),s=(0,o.s)(t,i.triggerRef),d=(0,x.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":z(i.open),...n,ref:s,onClick:(0,a.mK)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?d:(0,x.jsx)(c.Mz,{asChild:!0,...l,children:d})});D.displayName=N;var F="PopoverPortal",[O,I]=y(F,{forceMount:void 0}),K=e=>{let{__scopePopover:t,forceMount:r,children:n,container:a}=e,o=P(F,t);return(0,x.jsx)(O,{scope:t,forceMount:r,children:(0,x.jsx)(f.C,{present:r||o.open,children:(0,x.jsx)(p.Z,{asChild:!0,container:a,children:n})})})};K.displayName=F;var _="PopoverContent",E=n.forwardRef((e,t)=>{let r=I(_,e.__scopePopover),{forceMount:n=r.forceMount,...a}=e,o=P(_,e.__scopePopover);return(0,x.jsx)(f.C,{present:n||o.open,children:o.modal?(0,x.jsx)(G,{...a,ref:t}):(0,x.jsx)(M,{...a,ref:t})})});E.displayName=_;var T=(0,h.TL)("PopoverContent.RemoveScroll"),G=n.forwardRef((e,t)=>{let r=P(_,e.__scopePopover),i=n.useRef(null),l=(0,o.s)(t,i),s=n.useRef(!1);return n.useEffect(()=>{let e=i.current;if(e)return(0,m.Eq)(e)},[]),(0,x.jsx)(g.A,{as:T,allowPinchZoom:!0,children:(0,x.jsx)(L,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),M=n.forwardRef((e,t)=>{let r=P(_,e.__scopePopover),a=n.useRef(!1),o=n.useRef(!1);return(0,x.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||r.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),L=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:i,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:v,...h}=e,b=P(_,r),m=j(r);return(0,s.Oh)(),(0,x.jsx)(d.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,x.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:v,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>b.onOpenChange(!1),children:(0,x.jsx)(c.UC,{"data-state":z(b.open),role:"dialog",id:b.contentId,...m,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),B="PopoverClose";function z(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=P(B,r);return(0,x.jsx)(v.sG.button,{type:"button",...n,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=B,n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=j(r);return(0,x.jsx)(c.i3,{...a,...n,ref:t})}).displayName="PopoverArrow";var $=k,q=D,U=K,V=E}}]);