1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5997],{861:(e,t,n)=>{n.d(t,{Qg:()=>a,bL:()=>u});var r=n(12115),o=n(88142),i=n(95155),a=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=r.forwardRef((e,t)=>(0,i.jsx)(o.sG.span,{...e,ref:t,style:{...a,...e.style}}));l.displayName="VisuallyHidden";var u=l},4729:(e,t,n)=>{n.d(t,{UC:()=>eX,YJ:()=>eZ,In:()=>eG,q7:()=>eJ,VF:()=>e0,p4:()=>eQ,JU:()=>e$,ZL:()=>eU,bL:()=>eV,wn:()=>e2,PP:()=>e1,wv:()=>e5,l9:()=>ez,WT:()=>eq,LM:()=>eY});var r=n(82732),o=n(45849),i=n(17389),a=n(22043),l=n(15098),u=n(12115),c=n(47650),s=n(34212),d=n(92556),f=n(38250),p=n(94446),v=n(3468),h=n(66218),m=n(44831),g=n(19526),y=n(69666),w=n(68946),b=n(66093),x=n(75433),_=n(88142),S=n(95155),E=Symbol("radix.slottable");function C(e){return u.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===E}var R=n(70222),P=n(23558),A=n(4129),T=n(78108),k=n(861),L=n(97745),N=n(14432),D=[" ","Enter","ArrowUp","ArrowDown"],O=[" ","Enter"],M="Select",j=(0,a._)((0,f.N)(M),3),I=j[0],W=j[1],F=j[2],B=(0,a._)((0,v.A)(M,[F,b.Bk]),2),H=B[0];B[1];var K=(0,b.Bk)(),V=(0,a._)(H(M),2),z=V[0],q=V[1],G=(0,a._)(H(M),2),U=G[0],X=G[1],Y=function(e){var t=e.__scopeSelect,n=e.children,i=e.open,l=e.defaultOpen,c=e.onOpenChange,s=e.value,d=e.defaultValue,f=e.onValueChange,p=e.dir,v=e.name,m=e.autoComplete,g=e.disabled,y=e.required,x=e.form,_=K(t),E=(0,a._)(u.useState(null),2),C=E[0],R=E[1],A=(0,a._)(u.useState(null),2),T=A[0],k=A[1],L=(0,a._)(u.useState(!1),2),N=L[0],D=L[1],O=(0,h.jH)(p),j=(0,a._)((0,P.i)({prop:i,defaultProp:null!=l&&l,onChange:c,caller:M}),2),W=j[0],F=j[1],B=(0,a._)((0,P.i)({prop:s,defaultProp:d,onChange:f,caller:M}),2),H=B[0],V=B[1],q=u.useRef(null),G=!C||x||!!C.closest("form"),X=(0,a._)(u.useState(new Set),2),Y=X[0],Z=X[1],$=Array.from(Y).map(function(e){return e.props.value}).join(";");return(0,S.jsx)(b.bL,(0,o._)((0,r._)({},_),{children:(0,S.jsxs)(z,{required:y,scope:t,trigger:C,onTriggerChange:R,valueNode:T,onValueNodeChange:k,valueNodeHasChildren:N,onValueNodeHasChildrenChange:D,contentId:(0,w.B)(),value:H,onValueChange:V,open:W,onOpenChange:F,dir:O,triggerPointerDownPosRef:q,disabled:g,children:[(0,S.jsx)(I.Provider,{scope:t,children:(0,S.jsx)(U,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(function(e){Z(function(t){return new Set(t).add(e)})},[]),onNativeOptionRemove:u.useCallback(function(e){Z(function(t){var n=new Set(t);return n.delete(e),n})},[]),children:n})}),G?(0,S.jsxs)(eF,{"aria-hidden":!0,required:y,tabIndex:-1,name:v,autoComplete:m,value:H,onChange:function(e){return V(e.target.value)},disabled:g,form:x,children:[void 0===H?(0,S.jsx)("option",{value:""}):null,Array.from(Y)]},$):null]})}))};Y.displayName=M;var Z="SelectTrigger",$=u.forwardRef(function(e,t){var n=e.__scopeSelect,l=e.disabled,c=(0,i._)(e,["__scopeSelect","disabled"]),s=K(n),f=q(Z,n),v=f.disabled||void 0!==l&&l,h=(0,p.s)(t,f.onTriggerChange),m=W(n),g=u.useRef("touch"),y=(0,a._)(eH(function(e){var t=m().filter(function(e){return!e.disabled}),n=t.find(function(e){return e.value===f.value}),r=eK(t,e,n);void 0!==r&&f.onValueChange(r.value)}),3),w=y[0],x=y[1],E=y[2],C=function(e){v||(f.onOpenChange(!0),E()),e&&(f.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,S.jsx)(b.Mz,(0,o._)((0,r._)({asChild:!0},s),{children:(0,S.jsx)(_.sG.button,(0,o._)((0,r._)({type:"button",role:"combobox","aria-controls":f.contentId,"aria-expanded":f.open,"aria-required":f.required,"aria-autocomplete":"none",dir:f.dir,"data-state":f.open?"open":"closed",disabled:v,"data-disabled":v?"":void 0,"data-placeholder":eB(f.value)?"":void 0},c),{ref:h,onClick:(0,d.mK)(c.onClick,function(e){e.currentTarget.focus(),"mouse"!==g.current&&C(e)}),onPointerDown:(0,d.mK)(c.onPointerDown,function(e){g.current=e.pointerType;var t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(C(e),e.preventDefault())}),onKeyDown:(0,d.mK)(c.onKeyDown,function(e){var t=""!==w.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||x(e.key),(!t||" "!==e.key)&&D.includes(e.key)&&(C(),e.preventDefault())})}))}))});$.displayName=Z;var J="SelectValue",Q=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=(e.className,e.style,e.children),l=e.placeholder,u=(0,i._)(e,["__scopeSelect","className","style","children","placeholder"]),c=q(J,n),s=c.onValueNodeHasChildrenChange,d=void 0!==a,f=(0,p.s)(t,c.onValueNodeChange);return(0,A.N)(function(){s(d)},[s,d]),(0,S.jsx)(_.sG.span,(0,o._)((0,r._)({},u),{ref:f,style:{pointerEvents:"none"},children:eB(c.value)?(0,S.jsx)(S.Fragment,{children:void 0===l?"":l}):a}))});Q.displayName=J;var ee=u.forwardRef(function(e,t){e.__scopeSelect;var n=e.children,a=(0,i._)(e,["__scopeSelect","children"]);return(0,S.jsx)(_.sG.span,(0,o._)((0,r._)({"aria-hidden":!0},a),{ref:t,children:n||"â¼"}))});ee.displayName="SelectIcon";var et=function(e){return(0,S.jsx)(x.Z,(0,r._)({asChild:!0},e))};et.displayName="SelectPortal";var en="SelectContent",er=u.forwardRef(function(e,t){var n=q(en,e.__scopeSelect),i=(0,a._)(u.useState(),2),l=i[0],s=i[1];return((0,A.N)(function(){s(new DocumentFragment)},[]),n.open)?(0,S.jsx)(eu,(0,o._)((0,r._)({},e),{ref:t})):l?c.createPortal((0,S.jsx)(ei,{scope:e.__scopeSelect,children:(0,S.jsx)(I.Slot,{scope:e.__scopeSelect,children:(0,S.jsx)("div",{children:e.children})})}),l):null});er.displayName=en;var eo=(0,a._)(H(en),2),ei=eo[0],ea=eo[1],el=function(e){let t=function(e){let t=u.forwardRef((e,t)=>{let{children:n,...r}=e;if(u.isValidElement(n)){var o;let e,i,a=(o=n,(i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(i=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==u.Fragment&&(l.ref=t?(0,p.t)(t,a):a),u.cloneElement(n,l)}return u.Children.count(n)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=u.forwardRef((e,n)=>{let{children:r,...o}=e,i=u.Children.toArray(r),a=i.find(C);if(a){let e=a.props.children,r=i.map(t=>t!==a?t:u.Children.count(e)>1?u.Children.only(null):u.isValidElement(e)?e.props.children:null);return(0,S.jsx)(t,{...o,ref:n,children:u.isValidElement(e)?u.cloneElement(e,void 0,r):null})}return(0,S.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}("SelectContent.RemoveScroll"),eu=u.forwardRef(function(e,t){var n=e.__scopeSelect,c=e.position,s=void 0===c?"item-aligned":c,f=e.onCloseAutoFocus,v=e.onEscapeKeyDown,h=e.onPointerDownOutside,w=e.side,b=e.sideOffset,x=e.align,_=e.alignOffset,E=e.arrowPadding,C=e.collisionBoundary,R=e.collisionPadding,P=e.sticky,A=e.hideWhenDetached,T=e.avoidCollisions,k=(0,i._)(e,["__scopeSelect","position","onCloseAutoFocus","onEscapeKeyDown","onPointerDownOutside","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"]),D=q(en,n),O=(0,a._)(u.useState(null),2),M=O[0],j=O[1],I=(0,a._)(u.useState(null),2),F=I[0],B=I[1],H=(0,p.s)(t,function(e){return j(e)}),K=(0,a._)(u.useState(null),2),V=K[0],z=K[1],G=(0,a._)(u.useState(null),2),U=G[0],X=G[1],Y=W(n),Z=(0,a._)(u.useState(!1),2),$=Z[0],J=Z[1],Q=u.useRef(!1);u.useEffect(function(){if(M)return(0,L.Eq)(M)},[M]),(0,g.Oh)();var ee=u.useCallback(function(e){var t=(0,l._)(Y().map(function(e){return e.ref.current})),n=t[0],r=t.slice(1),o=(0,a._)(r.slice(-1),1)[0],i=document.activeElement,u=!0,c=!1,s=void 0;try{for(var d,f=e[Symbol.iterator]();!(u=(d=f.next()).done);u=!0){var p=d.value;if(p===i||(null==p||p.scrollIntoView({block:"nearest"}),p===n&&F&&(F.scrollTop=0),p===o&&F&&(F.scrollTop=F.scrollHeight),null==p||p.focus(),document.activeElement!==i))return}}catch(e){c=!0,s=e}finally{try{u||null==f.return||f.return()}finally{if(c)throw s}}},[Y,F]),et=u.useCallback(function(){return ee([V,M])},[ee,V,M]);u.useEffect(function(){$&&et()},[$,et]);var er=D.onOpenChange,eo=D.triggerPointerDownPosRef;u.useEffect(function(){if(M){var e={x:0,y:0},t=function(t){var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!=(o=null==(n=eo.current)?void 0:n.x)?o:0)),y:Math.abs(Math.round(t.pageY)-(null!=(i=null==(r=eo.current)?void 0:r.y
1)?i:0))}},n=function(n){e.x<=10&&e.y<=10?n.preventDefault():M.contains(n.target)||er(!1),document.removeEventListener("pointermove",t),eo.current=null};return null!==eo.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),function(){document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[M,er,eo]),u.useEffect(function(){var e=function(){return er(!1)};return window.addEventListener("blur",e),window.addEventListener("resize",e),function(){window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[er]);var ea=(0,a._)(eH(function(e){var t=Y().filter(function(e){return!e.disabled}),n=t.find(function(e){return e.ref.current===document.activeElement}),r=eK(t,e,n);r&&setTimeout(function(){return r.ref.current.focus()})}),2),eu=ea[0],ed=ea[1],ef=u.useCallback(function(e,t,n){var r=!Q.current&&!n;(void 0!==D.value&&D.value===t||r)&&(z(e),r&&(Q.current=!0))},[D.value]),ep=u.useCallback(function(){return null==M?void 0:M.focus()},[M]),ev=u.useCallback(function(e,t,n){var r=!Q.current&&!n;(void 0!==D.value&&D.value===t||r)&&X(e)},[D.value]),eh="popper"===s?es:ec,em=eh===es?{side:w,sideOffset:b,align:x,alignOffset:_,arrowPadding:E,collisionBoundary:C,collisionPadding:R,sticky:P,hideWhenDetached:A,avoidCollisions:T}:{};return(0,S.jsx)(ei,{scope:n,content:M,viewport:F,onViewportChange:B,itemRefCallback:ef,selectedItem:V,onItemLeave:ep,itemTextRefCallback:ev,focusSelectedItem:et,selectedItemText:U,position:s,isPositioned:$,searchRef:eu,children:(0,S.jsx)(N.A,{as:el,allowPinchZoom:!0,children:(0,S.jsx)(y.n,{asChild:!0,trapped:D.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:(0,d.mK)(f,function(e){var t;null==(t=D.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,S.jsx)(m.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:v,onPointerDownOutside:h,onFocusOutside:function(e){return e.preventDefault()},onDismiss:function(){return D.onOpenChange(!1)},children:(0,S.jsx)(eh,(0,o._)((0,r._)({role:"listbox",id:D.contentId,"data-state":D.open?"open":"closed",dir:D.dir,onContextMenu:function(e){return e.preventDefault()}},k,em),{onPlaced:function(){return J(!0)},ref:H,style:(0,r._)({display:"flex",flexDirection:"column",outline:"none"},k.style),onKeyDown:(0,d.mK)(k.onKeyDown,function(e){var t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||ed(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){var n=Y().filter(function(e){return!e.disabled}).map(function(e){return e.ref.current});if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){var r=e.target,o=n.indexOf(r);n=n.slice(o+1)}setTimeout(function(){return ee(n)}),e.preventDefault()}})}))})})})})});eu.displayName="SelectContentImpl";var ec=u.forwardRef(function(e,t){var n=e.__scopeSelect,l=e.onPlaced,c=(0,i._)(e,["__scopeSelect","onPlaced"]),d=q(en,n),f=ea(en,n),v=(0,a._)(u.useState(null),2),h=v[0],m=v[1],g=(0,a._)(u.useState(null),2),y=g[0],w=g[1],b=(0,p.s)(t,function(e){return w(e)}),x=W(n),E=u.useRef(!1),C=u.useRef(!0),R=f.viewport,P=f.selectedItem,T=f.selectedItemText,k=f.focusSelectedItem,L=u.useCallback(function(){if(d.trigger&&d.valueNode&&h&&y&&R&&P&&T){var e=d.trigger.getBoundingClientRect(),t=y.getBoundingClientRect(),n=d.valueNode.getBoundingClientRect(),r=T.getBoundingClientRect();if("rtl"!==d.dir){var o=r.left-t.left,i=n.left-o,a=e.left-i,u=e.width+a,c=Math.max(u,t.width),f=window.innerWidth-10,p=(0,s.q)(i,[10,Math.max(10,f-c)]);h.style.minWidth=u+"px",h.style.left=p+"px"}else{var v=t.right-r.right,m=window.innerWidth-n.right-v,g=window.innerWidth-e.right-m,w=e.width+g,b=Math.max(w,t.width),_=window.innerWidth-10,S=(0,s.q)(m,[10,Math.max(10,_-b)]);h.style.minWidth=w+"px",h.style.right=S+"px"}var C=x(),A=window.innerHeight-20,k=R.scrollHeight,L=window.getComputedStyle(y),N=parseInt(L.borderTopWidth,10),D=parseInt(L.paddingTop,10),O=parseInt(L.borderBottomWidth,10),M=N+D+k+parseInt(L.paddingBottom,10)+O,j=Math.min(5*P.offsetHeight,M),I=window.getComputedStyle(R),W=parseInt(I.paddingTop,10),F=parseInt(I.paddingBottom,10),B=e.top+e.height/2-10,H=P.offsetHeight/2,K=N+D+(P.offsetTop+H);if(K<=B){var V=C.length>0&&P===C[C.length-1].ref.current;h.style.bottom="0px";var z=Math.max(A-B,H+(V?F:0)+(y.clientHeight-R.offsetTop-R.offsetHeight)+O);h.style.height=K+z+"px"}else{var q=C.length>0&&P===C[0].ref.current;h.style.top="0px";var G=Math.max(B,N+R.offsetTop+(q?W:0)+H);h.style.height=G+(M-K)+"px",R.scrollTop=K-B+R.offsetTop}h.style.margin="".concat(10,"px 0"),h.style.minHeight=j+"px",h.style.maxHeight=A+"px",null==l||l(),requestAnimationFrame(function(){return E.current=!0})}},[x,d.trigger,d.valueNode,h,y,R,P,T,d.dir,l]);(0,A.N)(function(){return L()},[L]);var N=(0,a._)(u.useState(),2),D=N[0],O=N[1];(0,A.N)(function(){y&&O(window.getComputedStyle(y).zIndex)},[y]);var M=u.useCallback(function(e){e&&!0===C.current&&(L(),null==k||k(),C.current=!1)},[L,k]);return(0,S.jsx)(ef,{scope:n,contentWrapper:h,shouldExpandOnScrollRef:E,onScrollButtonChange:M,children:(0,S.jsx)("div",{ref:m,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:D},children:(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({},c),{ref:b,style:(0,r._)({boxSizing:"border-box",maxHeight:"100%"},c.style)}))})})});ec.displayName="SelectItemAlignedPosition";var es=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=e.align,l=e.collisionPadding,u=(0,i._)(e,["__scopeSelect","align","collisionPadding"]),c=K(n);return(0,S.jsx)(b.UC,(0,o._)((0,r._)({},c,u),{ref:t,align:void 0===a?"start":a,collisionPadding:void 0===l?10:l,style:(0,r._)({boxSizing:"border-box"},u.style,{"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"})}))});es.displayName="SelectPopperPosition";var ed=(0,a._)(H(en,{}),2),ef=ed[0],ep=ed[1],ev="SelectViewport",eh=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=e.nonce,l=(0,i._)(e,["__scopeSelect","nonce"]),c=ea(ev,n),s=ep(ev,n),f=(0,p.s)(t,c.onViewportChange),v=u.useRef(0);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,S.jsx)(I.Slot,{scope:n,children:(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({"data-radix-select-viewport":"",role:"presentation"},l),{ref:f,style:(0,r._)({position:"relative",flex:1,overflow:"hidden auto"},l.style),onScroll:(0,d.mK)(l.onScroll,function(e){var t=e.currentTarget,n=s.contentWrapper,r=s.shouldExpandOnScrollRef;if((null==r?void 0:r.current)&&n){var o=Math.abs(v.current-t.scrollTop);if(o>0){var i=window.innerHeight-20,a=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(a<i){var l=a+o,u=Math.min(i,l),c=l-u;n.style.height=u+"px","0px"===n.style.bottom&&(t.scrollTop=c>0?c:0,n.style.justifyContent="flex-end")}}}v.current=t.scrollTop})}))})]})});eh.displayName=ev;var em="SelectGroup",eg=(0,a._)(H(em),2),ey=eg[0],ew=eg[1],eb=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=(0,i._)(e,["__scopeSelect"]),l=(0,w.B)();return(0,S.jsx)(ey,{scope:n,id:l,children:(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({role:"group","aria-labelledby":l},a),{ref:t}))})});
1eb.displayName=em;var ex="SelectLabel",e_=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=(0,i._)(e,["__scopeSelect"]),l=ew(ex,n);return(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({id:l.id},a),{ref:t}))});e_.displayName=ex;var eS="SelectItem",eE=(0,a._)(H(eS),2),eC=eE[0],eR=eE[1],eP=u.forwardRef(function(e,t){var n=e.__scopeSelect,l=e.value,c=e.disabled,s=void 0!==c&&c,f=e.textValue,v=(0,i._)(e,["__scopeSelect","value","disabled","textValue"]),h=q(eS,n),m=ea(eS,n),g=h.value===l,y=(0,a._)(u.useState(null!=f?f:""),2),b=y[0],x=y[1],E=(0,a._)(u.useState(!1),2),C=E[0],R=E[1],P=(0,p.s)(t,function(e){var t;return null==(t=m.itemRefCallback)?void 0:t.call(m,e,l,s)}),A=(0,w.B)(),T=u.useRef("touch"),k=function(){s||(h.onValueChange(l),h.onOpenChange(!1))};if(""===l)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,S.jsx)(eC,{scope:n,value:l,disabled:s,textId:A,isSelected:g,onItemTextChange:u.useCallback(function(e){x(function(t){var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,S.jsx)(I.ItemSlot,{scope:n,value:l,disabled:s,textValue:b,children:(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({role:"option","aria-labelledby":A,"data-highlighted":C?"":void 0,"aria-selected":g&&C,"data-state":g?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1},v),{ref:P,onFocus:(0,d.mK)(v.onFocus,function(){return R(!0)}),onBlur:(0,d.mK)(v.onBlur,function(){return R(!1)}),onClick:(0,d.mK)(v.onClick,function(){"mouse"!==T.current&&k()}),onPointerUp:(0,d.mK)(v.onPointerUp,function(){"mouse"===T.current&&k()}),onPointerDown:(0,d.mK)(v.onPointerDown,function(e){T.current=e.pointerType}),onPointerMove:(0,d.mK)(v.onPointerMove,function(e){if(T.current=e.pointerType,s){var t;null==(t=m.onItemLeave)||t.call(m)}else"mouse"===T.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,d.mK)(v.onPointerLeave,function(e){if(e.currentTarget===document.activeElement){var t;null==(t=m.onItemLeave)||t.call(m)}}),onKeyDown:(0,d.mK)(v.onKeyDown,function(e){var t;((null==(t=m.searchRef)?void 0:t.current)===""||" "!==e.key)&&(O.includes(e.key)&&k()," "===e.key&&e.preventDefault())})}))})})});eP.displayName=eS;var eA="SelectItemText",eT=u.forwardRef(function(e,t){var n=e.__scopeSelect,l=(e.className,e.style,(0,i._)(e,["__scopeSelect","className","style"])),s=q(eA,n),d=ea(eA,n),f=eR(eA,n),v=X(eA,n),h=(0,a._)(u.useState(null),2),m=h[0],g=h[1],y=(0,p.s)(t,function(e){return g(e)},f.onItemTextChange,function(e){var t;return null==(t=d.itemTextRefCallback)?void 0:t.call(d,e,f.value,f.disabled)}),w=null==m?void 0:m.textContent,b=u.useMemo(function(){return(0,S.jsx)("option",{value:f.value,disabled:f.disabled,children:w},f.value)},[f.disabled,f.value,w]),x=v.onNativeOptionAdd,E=v.onNativeOptionRemove;return(0,A.N)(function(){return x(b),function(){return E(b)}},[x,E,b]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(_.sG.span,(0,o._)((0,r._)({id:f.textId},l),{ref:y})),f.isSelected&&s.valueNode&&!s.valueNodeHasChildren?c.createPortal(l.children,s.valueNode):null]})});eT.displayName=eA;var ek="SelectItemIndicator",eL=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=(0,i._)(e,["__scopeSelect"]);return eR(ek,n).isSelected?(0,S.jsx)(_.sG.span,(0,o._)((0,r._)({"aria-hidden":!0},a),{ref:t})):null});eL.displayName=ek;var eN="SelectScrollUpButton",eD=u.forwardRef(function(e,t){var n=ea(eN,e.__scopeSelect),i=ep(eN,e.__scopeSelect),l=(0,a._)(u.useState(!1),2),c=l[0],s=l[1],d=(0,p.s)(t,i.onScrollButtonChange);return(0,A.N)(function(){if(n.viewport&&n.isPositioned){var e=function(){s(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),function(){return t.removeEventListener("scroll",e)}}},[n.viewport,n.isPositioned]),c?(0,S.jsx)(ej,(0,o._)((0,r._)({},e),{ref:d,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null});eD.displayName=eN;var eO="SelectScrollDownButton",eM=u.forwardRef(function(e,t){var n=ea(eO,e.__scopeSelect),i=ep(eO,e.__scopeSelect),l=(0,a._)(u.useState(!1),2),c=l[0],s=l[1],d=(0,p.s)(t,i.onScrollButtonChange);return(0,A.N)(function(){if(n.viewport&&n.isPositioned){var e=function(){var e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),function(){return t.removeEventListener("scroll",e)}}},[n.viewport,n.isPositioned]),c?(0,S.jsx)(ej,(0,o._)((0,r._)({},e),{ref:d,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null});eM.displayName=eO;var ej=u.forwardRef(function(e,t){var n=e.__scopeSelect,a=e.onAutoScroll,l=(0,i._)(e,["__scopeSelect","onAutoScroll"]),c=ea("SelectScrollButton",n),s=u.useRef(null),f=W(n),p=u.useCallback(function(){null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return u.useEffect(function(){return function(){return p()}},[p]),(0,A.N)(function(){var e,t=f().find(function(e){return e.ref.current===document.activeElement});null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[f]),(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({"aria-hidden":!0},l),{ref:t,style:(0,r._)({flexShrink:0},l.style),onPointerDown:(0,d.mK)(l.onPointerDown,function(){null===s.current&&(s.current=window.setInterval(a,50))}),onPointerMove:(0,d.mK)(l.onPointerMove,function(){var e;null==(e=c.onItemLeave)||e.call(c),null===s.current&&(s.current=window.setInterval(a,50))}),onPointerLeave:(0,d.mK)(l.onPointerLeave,function(){p()})}))}),eI=u.forwardRef(function(e,t){e.__scopeSelect;var n=(0,i._)(e,["__scopeSelect"]);return(0,S.jsx)(_.sG.div,(0,o._)((0,r._)({"aria-hidden":!0},n),{ref:t}))});eI.displayName="SelectSeparator";var eW="SelectArrow";u.forwardRef(function(e,t){var n=e.__scopeSelect,a=(0,i._)(e,["__scopeSelect"]),l=K(n),u=q(eW,n),c=ea(eW,n);return u.open&&"popper"===c.position?(0,S.jsx)(b.i3,(0,o._)((0,r._)({},l,a),{ref:t})):null}).displayName=eW;var eF=u.forwardRef(function(e,t){e.__scopeSelect;var n=e.value,a=(0,i._)(e,["__scopeSelect","value"]),l=u.useRef(null),c=(0,p.s)(t,l),s=(0,T.Z)(n);return u.useEffect(function(){var e=l.current;if(e){var t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==n&&t){var r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}}},[s,n]),(0,S.jsx)(_.sG.select,(0,o._)((0,r._)({},a),{style:(0,r._)({},k.Qg,a.style),ref:c,defaultValue:n}))});function eB(e){return""===e||void 0===e}function eH(e){var t=(0,R.c)(e),n=u.useRef(""),r=u.useRef(0),o=u.useCallback(function(e){var o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(function(){return e("")},1e3))}(o)},[t]),i=u.useCallback(function(){n.current="",window.clearTimeout(r.current)},[]);return u.useEffect(function(){return function(){return window.clearTimeout(r.current)}},[]),[n,o,i]}
1function eK(e,t,n){var r,o,i=t.length>1&&Array.from(t).every(function(e){return e===t[0]})?t[0]:t,a=n?e.indexOf(n):-1,l=(r=e,o=Math.max(a,0),r.map(function(e,t){return r[(o+t)%r.length]}));1===i.length&&(l=l.filter(function(e){return e!==n}));var u=l.find(function(e){return e.textValue.toLowerCase().startsWith(i.toLowerCase())});return u!==n?u:void 0}eF.displayName="SelectBubbleInput";var eV=Y,ez=$,eq=Q,eG=ee,eU=et,eX=er,eY=eh,eZ=eb,e$=e_,eJ=eP,eQ=eT,e0=eL,e1=eD,e2=eM,e5=eI},5917:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(71847).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},12108:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(71847).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},14432:(e,t,n)=>{n.d(t,{A:()=>q});var r,o,i=n(71450),a=n(12115),l="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,d=new WeakMap;function f(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=f),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return o.options=(0,i.Cl)({async:!0,ssr:!1},e),o}(),v=function(){},h=a.forwardRef(function(e,t){var n,r,o,l,u=a.useRef(null),f=a.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),h=f[0],m=f[1],g=e.forwardProps,y=e.children,w=e.className,b=e.removeScrollBar,x=e.enabled,_=e.shards,S=e.sideCar,E=e.noRelative,C=e.noIsolation,R=e.inert,P=e.allowPinchZoom,A=e.as,T=e.gapMode,k=(0,i.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(n=[u,t],r=function(e){return n.forEach(function(t){return c(t,e)})},(o=(0,a.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,l=o.facade,s(function(){var e=d.get(l);if(e){var t=new Set(e),r=new Set(n),o=l.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,o)})}d.set(l,n)},[n]),l),N=(0,i.Cl)((0,i.Cl)({},k),h);return a.createElement(a.Fragment,null,x&&a.createElement(S,{sideCar:p,removeScrollBar:b,shards:_,noRelative:E,noIsolation:C,inert:R,setCallbacks:m,allowPinchZoom:!!P,lockRef:u,gapMode:T}),g?a.cloneElement(a.Children.only(y),(0,i.Cl)((0,i.Cl)({},N),{ref:L})):a.createElement(void 0===A?"div":A,(0,i.Cl)({},N,{className:w,ref:L}),y))});h.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},h.classNames={fullWidth:u,zeroRight:l};var m=function(e){var t=e.sideCar,n=(0,i.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return a.createElement(r,(0,i.Cl)({},n))};m.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=g();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},b={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},_=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(o)]},S=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return b;var t=_(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},E=w(),C="data-scroll-locked",R=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(C,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(l," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(C,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},P=function(){var e=parseInt(document.body.getAttribute(C)||"0",10);return isFinite(e)?e:0},A=function(){a.useEffect(function(){return document.body.setAttribute(C,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(C):document.body.setAttribute(C,e.toString())}},[])},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;A();var i=a.useMemo(function(){return S(o)},[o]);return a.createElement(E,{styles:R(i,!t,o,n?"":"!important")})},k=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return k=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){k=!1}var N=!!k&&{passive:!1},D=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},O=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),M(e,r)){var o=j(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},M=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},j=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},I=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,u=n.target,c=t.contains(u),s=!1,d=l>0,f=0,p=0;do{if(!u)break;var v=j(e,u),h=v[0],m=v[1]-v[2]-a*h;(h||m)&&M(e,u)&&(f+=m,p+=h);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&l>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},W=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},F=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},H=0,K=[];let V=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(H++)[0],l=a.useState(w)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,i.fX)([e.lockRef.current],(e.shards||[]).map(B),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=W(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],s=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var v=O(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=O(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var h=r.current||o;return I(h,t,e,"h"===h?l:c,!0)},[]),s=a.useCallback(function(e){if(K.length&&K[K.length-1]===l){var n="deltaY"in e?F(e):W(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=a.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=a.useCallback(function(e){n.current=W(e),r.current=void 0},[]),p=a.useCallback(function(t){d(t.type,F(t),t.target,c(t,e.lockRef.current))},[]),v=a.useCallback(function(t){d(t.type,W(t),t.target,c(t,e.lockRef.current))},[]);a.useEffect(function(){return K.push(l),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:v}),document.addEventListener("wheel",s,N),document.addEventListener("touchmove",s,N),document.addEventListener("touchstart",f,N),function(){K=K.filter(function(e){return e!==l}),document.removeEventListener("wheel",s,N),document.removeEventListener("touchmove",s,N),document.removeEventListener("touchstart",f,N)}},[]);var h=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(l,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?a.createElement(T,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},p.useMedium(r),m);var z=a.forwardRef(function(e,t){return a.createElement(h,(0,i.Cl)({},e,{ref:t,sideCar:V}))});z.classNames=h.classNames;let q=z},19526:(e,t,n)=>{n.d(t,{Oh:()=>i});var r=n(12115),o=0;function i(){r.useEffect(function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:a()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:a()),o++,function(){1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(function(e){return e.remove()}),o--}},[])}function a(){var e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}},34212:(e,t,n)=>{n.d(t,{q:()=>r});function r(e,[t,n]){return Math.min(n,Math.max(t,e))}},44831:(e,t,n)=>{n.d(t,{qW:()=>g});var r,o=n(82732),i=n(45849),a=n(17389),l=n(22043),u=n(45377),c=n(12115),s=n(92556),d=n(88142),f=n(94446),p=n(70222),v=n(95155),h="dismissableLayer.update",m=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),g=c.forwardRef(function(e,t){var n,g,b=e.disableOutsidePointerEvents,x=void 0!==b&&b,_=e.onEscapeKeyDown,S=e.onPointerDownOutside,E=e.onFocusOutside,C=e.onInteractOutside,R=e.onDismiss,P=(0,a._)(e,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),A=c.useContext(m),T=(0,l._)(c.useState(null),2),k=T[0],L=T[1],N=null!=(g=null==k?void 0:k.ownerDocument)?g:null==(n=globalThis)?void 0:n.document,D=(0,l._)(c.useState({}),2)[1],O=(0,f.s)(t,function(e){return L(e)}),M=Array.from(A.layers),j=(0,l._)((0,u._)(A.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],I=M.indexOf(j),W=k?M.indexOf(k):-1,F=A.layersWithOutsidePointerEventsDisabled.size>0,B=W>=I,H=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,p.c)(e),o=c.useRef(!1),i=c.useRef(function(){});return c.useEffect(function(){var e=function(e){if(e.target&&!o.current){var t=function(){w("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(function(){n.addEventListener("pointerdown",e)},0);return function(){window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:function(){return o.current=!0}}}(function(e){var t=e.target,n=(0,u._)(A.branches).some(function(e){return e.contains(t)});B&&!n&&(null==S||S(e),null==C||C(e),e.defaultPrevented||null==R||R())},N),K=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,p.c)(e),o=c.useRef(!1);return c.useEffect(function(){var e=function(e){e.target&&!o.current&&w("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),function(){return n.removeEventListener("focusin",e)}},[n,r]),{onFocusCapture:function(){return o.current=!0},onBlurCapture:function(){return o.current=!1}}}(function(e){var t=e.target;!(0,u._)(A.branches).some(function(e){return e.contains(t)})&&(null==E||E(e),null==C||C(e),e.defaultPrevented||null==R||R())},N);return!function(e,t=globalThis?.document){let n=(0,p.c)(e);c.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(function(e){W===A.layers.size-1&&(null==_||_(e),!e.defaultPrevented&&R&&(e.preventDefault(),R()))},N),c.useEffect(function(){if(k)return x&&(0===A.layersWithOutsidePointerEventsDisabled.size&&(r=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),A.layersWithOutsidePointerEventsDisabled.add(k)),A.layers.add(k),y(),function(){x&&1===A.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=r)}},[k,N,x,A]),c.useEffect(function(){return function(){k&&(A.layers.delete(k),A.layersWithOutsidePointerEventsDisabled.delete(k),y())}},[k,A]),c.useEffect(function(){var e=function(){return D({})};return document.addEventListener(h,e),function(){return document.removeEventListener(h,e)}},[]),(0,v.jsx)(d.sG.div,(0,i._)((0,o._)({},P),{ref:O,style:(0,o._)({pointerEvents:F?B?"auto":"none":void 0},e.style),onFocusCapture:(0,s.mK)(e.onFocusCapture,K.onFocusCapture),onBlurCapture:(0,s.mK)(e.onBlurCapture,K.onBlurCapture),onPointerDownCapture:(0,s.mK)(e.onPointerDownCapture,H.onPointerDownCapture)}))});function y(){var e=new CustomEvent(h);document.dispatchEvent(e)}function w(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,d.hO)(i,a):i.dispatchEvent(a)}g.displayName="DismissableLayer",c.forwardRef(function(e,t){var n=c.useContext(m),r=c.useRef(null),a=(0,f.s)(t,r);return c.useEffect(function(){var e=r.current;if(e)return n.branches.add(e),function(){n.branches.delete(e)}},[n.branches]),(0,v.jsx)(d.sG.div,(0,i._)((0,o._)({},e),{ref:a}))}).displayName="DismissableLayerBranch"},52056:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(71847).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])}
1,66093:(e,t,n)=>{n.d(t,{Mz:()=>tt,i3:()=>tr,UC:()=>tn,bL:()=>te,Bk:()=>eG});var r=n(87922),o=n(82732),i=n(45849),a=n(17389),l=n(22043),u=n(45377),c=n(12115);let s=["top","right","bottom","left"],d=Math.min,f=Math.max,p=Math.round,v=Math.floor,h=e=>({x:e,y:e}),m={left:"right",right:"left",bottom:"top",top:"bottom"},g={start:"end",end:"start"};function y(e,t){return"function"==typeof e?e(t):e}function w(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function x(e){return"x"===e?"y":"x"}function _(e){return"y"===e?"height":"width"}let S=new Set(["top","bottom"]);function E(e){return S.has(w(e))?"y":"x"}function C(e){return e.replace(/start|end/g,e=>g[e])}let R=["left","right"],P=["right","left"],A=["top","bottom"],T=["bottom","top"];function k(e){return e.replace(/left|right|bottom|top/g,e=>m[e])}function L(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function N(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 D(e,t,n){let r,{reference:o,floating:i}=e,a=E(t),l=x(E(t)),u=_(l),c=w(t),s="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[u]/2-i[u]/2;switch(c){case"top":r={x:d,y:o.y-i.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-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(b(t)){case"start":r[l]-=p*(n&&s?-1:1);break;case"end":r[l]+=p*(n&&s?-1:1)}return r}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:d}=D(c,r,u),f=r,p={},v=0;for(let n=0;n<l.length;n++){let{name:i,fn:h}=l[n],{x:m,y:g,data:y,reset:w}=await h({x:s,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=m?m:s,d=null!=g?g:d,p={...p,[i]:{...p[i],...y}},w&&v<=50&&(v++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:s,y:d}=D(c,f,u)),n=-1)}return{x:s,y:d,placement:f,strategy:o,middlewareData:p}};async function M(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=y(t,e),v=L(p),h=l[f?"floating"===d?"reference":"floating":d],m=N(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:s,strategy:u})),g="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=N(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:w,strategy:u}):g);return{top:(m.top-x.top+v.top)/b.y,bottom:(x.bottom-m.bottom+v.bottom)/b.y,left:(m.left-x.left+v.left)/b.x,right:(x.right-m.right+v.right)/b.x}}function j(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function I(e){return s.some(t=>e[t]>=0)}let W=new Set(["left","top"]);async function F(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=w(n),l=b(n),u="y"===E(n),c=W.has(a)?-1:1,s=i&&u?-1:1,d=y(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof v&&(p="end"===l?-1*v:v),u?{x:p*s,y:f*c}:{x:f*c,y:p*s}}function B(){return"undefined"!=typeof window}function H(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function V(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!B()&&(e instanceof Node||e instanceof K(e).Node)}function q(e){return!!B()&&(e instanceof Element||e instanceof K(e).Element)}function G(e){return!!B()&&(e instanceof HTMLElement||e instanceof K(e).HTMLElement)}function U(e){return!!B()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof K(e).ShadowRoot)}let X=new Set(["inline","contents"]);function Y(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ea(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!X.has(o)}let Z=new Set(["table","td","th"]),$=[":popover-open",":modal"];function J(e){return $.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Q=["transform","translate","scale","rotate","perspective"],ee=["transform","translate","scale","rotate","perspective","filter"],et=["paint","layout","strict","content"];function en(e){let t=er(),n=q(e)?ea(e):e;return Q.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||ee.some(e=>(n.willChange||"").includes(e))||et.some(e=>(n.contain||"").includes(e))}function er(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eo=new Set(["html","body","#document"]);function ei(e){return eo.has(H(e))}function ea(e){return K(e).getComputedStyle(e)}function el(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eu(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||V(e);return U(t)?t.host:t}function ec(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eu(t);return ei(n)?t.ownerDocument?t.ownerDocument.body:t.body:G(n)&&Y(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=K(o);if(i){let e=es(a);return t.concat(a,a.visualViewport||[],Y(o)?o:[],e&&n?ec(e):[])}return t.concat(o,ec(o,[],n))}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ed(e){let t=ea(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=G(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=p(n)!==i||p(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ef(e){return q(e)?e:e.contextElement}function ep(e){let t=ef(e);if(!G(t))return h(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ed(t),a=(i?p(n.width):n.width)/r,l=(i?p(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let ev=h(0);function eh(e){let t=K(e);return er()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ev}function em(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=ef(e),l=h(1);t&&(r?q(r)&&(l=ep(r)):l=ep(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===K(a))&&o)?eh(a):h(0),c=(i.left+u.x)/l.x,s=(i.top+u.y)/l.y,d=i.width/l.x,f=i.height/l.y;if(a){let e=K(a),t=r&&q(r)?K(r):r,n=e,o=es(n);for(;o&&r&&t!==n;){let e=ep(o),t=o.getBoundingClientRect(),r=ea(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,f*=e.y,c+=i,s+=a,o=es(n=K(o))}}return N({width:d,height:f,x:c,y:s})}function eg(e,t){let n=el(e).scrollLeft;return t?t.left+n:em(V(e)).left+n}function ey(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eg(e,n),y:n.top+t.scrollTop}}let ew=new Set(["absolute","fixed"]);function eb(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=K(e),r=V(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;let e=er();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}let c=eg(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:l,y:u}}(e,n);else if("document"===t)r=function(e){let t=V(e),n=el(e),r=e.ownerDocument.body,o=f(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=f(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eg(e),l=-n.scrollTop;return"rtl"===ea(r).direction&&(a+=f(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}(V(e));else if(q(t))r=function(e,t){let n=em(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=G(e)?ep(e):h(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y;return{width:a,height:l,x:o*i.x,y:r*i.y}}(t,n);else{let n=eh(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return N(r)}function ex(e){return"static"===ea(e).position}function e_(e,t){if(!G(e)||"fixed"===ea(e).position)return null;if(t)return t(e);let n=e.offsetParent;return V(e)===n&&(n=n.ownerDocument.body),n}function eS(e,t){var n;let r=K(e);if(J(e))return r;if(!G(e)){let t=eu(e);for(;t&&!ei(t);){if(q(t)&&!ex(t))return t;t=eu(t)}return r}let o=e_(e,t);for(;o&&(n=o,Z.has(H(n)))&&ex(o);)o=e_(o,t);return o&&ei(o)&&ex(o)&&!en(o)?r:o||function(e){let t=eu(e);for(;G(t)&&!ei(t);){if(en(t))return t;if(J(t))break;t=eu(t)}return null}(e)||r}let eE=async function(e){let t=this.getOffsetParent||eS,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=G(t),o=V(t),i="fixed"===n,a=em(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=h(0);if(r||!r&&!i)if(("body"!==H(t)||Y(o))&&(l=el(t)),r){let e=em(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=eg(o));i&&!r&&o&&(u.x=eg(o));let c=!o||r||i?h(0):ey(o,l);return{x:a.left+l.scrollLeft-u.x-c.x,y:a.top+l.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eC={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=V(r),l=!!t&&J(t.floating);if(r===a||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=h(1),s=h(0),d=G(r);
1if((d||!d&&!i)&&(("body"!==H(r)||Y(a))&&(u=el(r)),G(r))){let e=em(r);c=ep(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let f=!a||d||i?h(0):ey(a,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+s.x+f.x,y:n.y*c.y-u.scrollTop*c.y+s.y+f.y}},getDocumentElement:V,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?J(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ec(e,[],!1).filter(e=>q(e)&&"body"!==H(e)),o=null,i="fixed"===ea(e).position,a=i?eu(e):e;for(;q(a)&&!ei(a);){let t=ea(a),n=en(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ew.has(o.position)||Y(a)&&!n&&function e(t,n){let r=eu(t);return!(r===n||!q(r)||ei(r))&&("fixed"===ea(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=eu(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((e,n)=>{let r=eb(t,n,o);return e.top=f(r.top,e.top),e.right=d(r.right,e.right),e.bottom=d(r.bottom,e.bottom),e.left=f(r.left,e.left),e},eb(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:eS,getElementRects:eE,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ed(e);return{width:t,height:n}},getScale:ep,isElement:q,isRTL:function(e){return"rtl"===ea(e).direction}};function eR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eP(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,s=ef(e),p=i||a?[...s?ec(s):[],...ec(t)]:[];p.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let h=s&&u?function(e,t){let n,r=null,o=V(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),i();let c=e.getBoundingClientRect(),{left:s,top:p,width:h,height:m}=c;if(l||t(),!h||!m)return;let g=v(p),y=v(o.clientWidth-(s+h)),w={rootMargin:-g+"px "+-y+"px "+-v(o.clientHeight-(p+m))+"px "+-v(s)+"px",threshold:f(0,d(1,u))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==u){if(!b)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eR(c,e.getBoundingClientRect())||a(),b=!1}try{r=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),i}(s,n):null,m=-1,g=null;l&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),s&&!c&&g.observe(s),g.observe(t));let y=c?em(e):null;return c&&function t(){let r=em(e);y&&!eR(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,c&&cancelAnimationFrame(o)}}let eA=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:u}=t,{element:c,padding:s=0}=y(e,t)||{};if(null==c)return{};let p=L(s),v={x:n,y:r},h=x(E(o)),m=_(h),g=await a.getDimensions(c),w="y"===h,S=w?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[h]-v[h]-i.floating[m],R=v[h]-i.reference[h],P=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),A=P?P[S]:0;A&&await (null==a.isElement?void 0:a.isElement(P))||(A=l.floating[S]||i.floating[m]);let T=A/2-g[m]/2-1,k=d(p[w?"top":"left"],T),N=d(p[w?"bottom":"right"],T),D=A-g[m]-N,O=A/2-g[m]/2+(C/2-R/2),M=f(k,d(O,D)),j=!u.arrow&&null!=b(o)&&O!==M&&i.reference[m]/2-(O<k?k:N)-g[m]/2<0,I=j?O<k?O-k:O-D:0;return{[h]:v[h]+I,data:{[h]:M,centerOffset:O-M-I,...j&&{alignmentOffset:I}},reset:j}}});var eT=n(47650),ek="undefined"!=typeof document?c.useLayoutEffect:function(){};function eL(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(!eL(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)&&!eL(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eN(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eD(e,t){let n=eN(e);return Math.round(t*n)/n}function eO(e){let t=c.useRef(e);return ek(()=>{t.current=e}),t}var eM=n(88142),ej=n(95155),eI=c.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:o=5,...i}=e;return(0,ej.jsx)(eM.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ej.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eI.displayName="Arrow";var eW=n(94446),eF=n(3468),eB=n(70222),eH=n(4129),eK=n(84288),eV="Popper",ez=(0,l._)((0,eF.A)(eV),2),eq=ez[0],eG=ez[1],eU=(0,l._)(eq(eV),2),eX=eU[0],eY=eU[1],eZ=function(e){var t=e.__scopePopper,n=e.children,r=(0,l._)(c.useState(null),2),o=r[0],i=r[1];return(0,ej.jsx)(eX,{scope:t,anchor:o,onAnchorChange:i,children:n})};eZ.displayName=eV;var e$="PopperAnchor",eJ=c.forwardRef(function(e,t){var n=e.__scopePopper,r=e.virtualRef,l=(0,a._)(e,["__scopePopper","virtualRef"]),u=eY(e$,n),s=c.useRef(null),d=(0,eW.s)(t,s),f=c.useRef(null);return c.useEffect(function(){var e=f.current;f.current=(null==r?void 0:r.current)||s.current,e!==f.current&&u.onAnchorChange(f.current)}),r?null:(0,ej.jsx)(eM.sG.div,(0,i._)((0,o._)({},l),{ref:d}))});eJ.displayName=e$;var eQ="PopperContent",e0=(0,l._)(eq(eQ),2),e1=e0[0],e2=e0[1],e5=c.forwardRef(function(e,t){let n,s,p,v,h,m,g,S,L,N,D,B,H,K;var V,z,q,G,U,X,Y,Z,$,J,Q,ee,et,en,er,eo=e.__scopePopper,ei=e.side,ea=e.sideOffset,el=e.align,eu=void 0===el?"center":el,ec=e.alignOffset,es=e.arrowPadding,ed=e.avoidCollisions,ef=void 0===ed||ed,ep=e.collisionBoundary,ev=void 0===ep?[]:ep,eh=e.collisionPadding,em=void 0===eh?0:eh,eg=e.sticky,ey=e.hideWhenDetached,ew=e.updatePositionStrategy,eb=void 0===ew?"optimized":ew,ex=e.onPlaced,e_=(0,a._)(e,["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"]),eS=eY(eQ,eo),eE=(0,l._)(c.useState(null),2),eR=eE[0],eI=eE[1],eF=(0,eW.s)(t,function(e){return eI(e)}),eV=(0,l._)(c.useState(null),2),ez=eV[0],eq=eV[1],eG=(0,eK.X)(ez),eU=null!=(en=null==eG?void 0:eG.width)?en:0,eX=null!=(er=null==eG?void 0:eG.height)?er:0,eZ="number"==typeof em?em:(0,o._)({top:0,right:0,bottom:0,left:0},em),e$=Array.isArray(ev)?ev:[ev],eJ=e$.length>0,e0={padding:eZ,boundary:e$.filter(e7),altBoundary:eJ},e2=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:u,open:s}=e,[d,f]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=c.useState(r);eL(p,r)||v(r);let[h,m]=c.useState(null),[g,y]=c.useState(null),w=c.useCallback(e=>{e!==S.current&&(S.current=e,m(e))},[]),b=c.useCallback(e=>{e!==E.current&&(E.current=e,y(e))},[]),x=i||h,_=a||g,S=c.useRef(null),E=c.useRef(null),C=c.useRef(d),R=null!=u,P=eO(u),A=eO(o),T=eO(s),k=c.useCallback(()=>{if(!S.current||!E.current)return;let e={placement:t,strategy:n,middleware:p};A.current&&(e.platform=A.current),((e,t,n)=>{let r=new Map,o={platform:eC,...n},i={...o.platform,_c:r};return O(e,t,{...o,platform:i})})(S.current,E.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};L.current&&!eL(C.current,t)&&(C.current=t,eT.flushSync(()=>{f(t)}))})},[p,t,n,A,T]);ek(()=>{!1===s&&C.current.isPositioned&&(C.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[s]);let L=c.useRef(!1);ek(()=>(L.current=!0,()=>{L.current=!1}),[]),ek(()=>{if(x&&(S.current=x),_&&(E.current=_),x&&_){if(P.current)return P.current(x,_,k);k()}},[x,_,k,P,R]);let N=c.useMemo(()=>({reference:S,floating:E,setReference:w,setFloating:b}),[w,b]),D=c.useMemo(()=>({reference:x,floating:_}),[x,_]),M=c.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eD(D.floating,d.x),r=eD(D.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eN(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,D.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:k,refs:N,elements:D,floatingStyles:M}),[d,k,N,D,M])}({strategy:"fixed",placement:(void 0===ei?"bottom":ei)+("center"!==eu?"-"+eu:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eP.apply(void 0,(0,u._)(t).concat([{animationFrame:"always"===eb}]))},elements:{reference:eS.anchor},middleware:[{...{name:"offset",options:V=n={mainAxis:(void 0===ea?0:ea)+eX,al
1ignmentAxis:void 0===ec?0:ec},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:a}=e,l=await F(e,V);return i===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+l.x,y:o+l.y,data:{...l,placement:i}}}},options:[n,s]},ef&&{...(void 0===(q=h=(0,o._)({mainAxis:!0,crossAxis:!1,limiter:"partial"===(void 0===eg?"partial":eg)?{...(void 0===(z=p)&&(z={}),{options:z,fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=y(z,e),c={x:t,y:n},s=E(r),d=x(s),f=c[d],p=c[s],v=y(a,e),h="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+h.mainAxis,n=o.reference[d]+o.reference[e]-h.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var m,g;let e="y"===d?"width":"height",t=W.has(w(r)),n=o.reference[s]-o.floating[e]+(t&&(null==(m=i.offset)?void 0:m[s])||0)+(t?0:h.crossAxis),a=o.reference[s]+o.reference[e]+(t?0:(null==(g=i.offset)?void 0:g[s])||0)-(t?h.crossAxis:0);p<n?p=n:p>a&&(p=a)}return{[d]:f,[s]:p}}}),options:[p,v]}:void 0},e0))&&(q={}),{name:"shift",options:q,async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=y(q,e),u={x:t,y:n},c=await M(e,l),s=E(w(r)),p=x(s),v=u[p],h=u[s];
1if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+c[e],r=v-c[t];v=f(n,d(v,r))}if(i){let e="y"===s?"top":"left",t="y"===s?"bottom":"right",n=h+c[e],r=h-c[t];h=f(n,d(h,r))}let m=a.fn({...e,[p]:v,[s]:h});return{...m,data:{x:m.x-t,y:m.y-n,enabled:{[p]:o,[s]:i}}}}}),options:[h,m]},ef&&{...(void 0===(G=g=(0,o._)({},e0))&&(G={}),{name:"flip",options:G,async fn(e){var t,n,r,o,i;let{placement:a,middlewareData:l,rects:u,initialPlacement:c,platform:s,elements:d}=e,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...S}=y(G,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let L=w(a),N=E(c),D=w(c)===c,O=await (null==s.isRTL?void 0:s.isRTL(d.floating)),j=v||(D||!g?[k(c)]:function(e){let t=k(e);return[C(e),t,C(t)]}(c)),I="none"!==m;!v&&I&&j.push(...function(e,t,n,r){let o=b(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?P:R;return t?R:P;case"left":case"right":return t?A:T;default:return[]}}(w(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(C)))),i}(c,g,m,O));let W=[c,...j],F=await M(e,S),B=[],H=(null==(n=l.flip)?void 0:n.overflows)||[];if(f&&B.push(F[L]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=b(e),o=x(E(e)),i=_(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=k(a)),[a,k(a)]}(a,u,O);B.push(F[e[0]],F[e[1]])}if(H=[...H,{placement:a,overflows:B}],!B.every(e=>e<=0)){let e=((null==(r=l.flip)?void 0:r.index)||0)+1,t=W[e];if(t&&("alignment"!==p||N===E(t)||H.every(e=>E(e.placement)!==N||e.overflows[0]>0)))return{data:{index:e,overflows:H},reset:{placement:t}};let n=null==(o=H.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(h){case"bestFit":{let e=null==(i=H.filter(e=>{if(I){let t=E(e.placement);return t===N||"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(a!==n)return{reset:{placement:n}}}return{}}}),options:[g,S]},{...(void 0===(U=L=(0,i._)((0,o._)({},e0),{apply:function(e){var t=e.elements,n=e.rects,r=e.availableWidth,o=e.availableHeight,i=n.reference,a=i.width,l=i.height,u=t.floating.style;u.setProperty("--radix-popper-available-width","".concat(r,"px")),u.setProperty("--radix-popper-available-height","".concat(o,"px")),u.setProperty("--radix-popper-anchor-width","".concat(a,"px")),u.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}))&&(U={}),{name:"size",options:U,async fn(e){var t,n;let r,o,{placement:i,rects:a,platform:l,elements:u}=e,{apply:c=()=>{},...s}=y(U,e),p=await M(e,s),v=w(i),h=b(i),m="y"===E(i),{width:g,height:x}=a.floating;"top"===v||"bottom"===v?(r=v,o=h===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(o=v,r="end"===h?"top":"bottom");let _=x-p.top-p.bottom,S=g-p.left-p.right,C=d(x-p[r],_),R=d(g-p[o],S),P=!e.middlewareData.shift,A=C,T=R;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=S),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(A=_),P&&!h){let e=f(p.left,0),t=f(p.right,0),n=f(p.top,0),r=f(p.bottom,0);m?T=g-2*(0!==e||0!==t?e+t:f(p.left,p.right)):A=x-2*(0!==n||0!==r?n+r:f(p.top,p.bottom))}await c({...e,availableWidth:T,availableHeight:A});let k=await l.getDimensions(u.floating);return g!==k.width||x!==k.height?{reset:{rects:!0}}:{}}}),options:[L,N]},ez&&{...{name:"arrow",options:X=D={element:ez,padding:void 0===es?0:es},fn(e){let{element:t,padding:n}="function"==typeof X?X(e):X;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eA({element:t.current,padding:n}).fn(e):{}:t?eA({element:t,padding:n}).fn(e):{}}},options:[D,B]},e9({arrowWidth:eU,arrowHeight:eX}),void 0!==ey&&ey&&{...(void 0===(Y=H=(0,o._)({strategy:"referenceHidden"},e0))&&(Y={}),{name:"hide",options:Y,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=y(Y,e);switch(n){case"referenceHidden":{let n=j(await M(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:I(n)}}}case"escaped":{let n=j(await M(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:I(n)}}}default:return{}}}}),options:[H,K]}]}),e5=e2.refs,e4=e2.floatingStyles,e8=e2.placement,e3=e2.isPositioned,te=e2.middlewareData,tt=(0,l._)(e6(e8),2),tn=tt[0],tr=tt[1],to=(0,eB.c)(ex);(0,eH.N)(function(){e3&&(null==to||to())},[e3,to]);var ti=null==(Z=te.arrow)?void 0:Z.x,ta=null==($=te.arrow)?void 0:$.y,tl=(null==(J=te.arrow)?void 0:J.centerOffset)!==0,tu=(0,l._)(c.useState(),2),tc=tu[0],ts=tu[1];return(0,eH.N)(function(){eR&&ts(window.getComputedStyle(eR).zIndex)},[eR]),(0,ej.jsx)("div",{ref:e5.setFloating,"data-radix-popper-content-wrapper":"",style:(0,o._)((0,i._)((0,o._)({},e4),(0,r._)({transform:e3?e4.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tc},"--radix-popper-transform-origin",[null==(Q=te.transformOrigin)?void 0:Q.x,null==(ee=te.transformOrigin)?void 0:ee.y].join(" "))),(null==(et=te.hide)?void 0:et.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}),dir:e.dir,children:(0,ej.jsx)(e1,{scope:eo,placedSide:tn,onArrowChange:eq,arrowX:ti,arrowY:ta,shouldHideArrow:tl,children:(0,ej.jsx)(eM.sG.div,(0,i._)((0,o._)({"data-side":tn,"data-align":tr},e_),{ref:eF,style:(0,i._)((0,o._)({},e_.style),{animation:e3?void 0:"none"})}))})})});e5.displayName=eQ;var e4="PopperArrow",e8={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e3=c.forwardRef(function(e,t){var n,l=e.__scopePopper,u=(0,a._)(e,["__scopePopper"]),c=e2(e4,l),s=e8[c.placedSide];return(0,ej.jsx)("span",{ref:c.onArrowChange,style:(n={position:"absolute",left:c.arrowX,top:c.arrowY},(0,r._)(n,s,0),(0,r._)(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide]),(0,r._)(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide]),(0,r._)(n,"visibility",c.shouldHideArrow?"hidden":void 0),n),children:(0,ej.jsx)(eI,(0,i._)((0,o._)({},u),{ref:t,style:(0,i._)((0,o._)({},u.style),{display:"block"})}))})});function e7(e){return null!==e}e3.displayName=e4;var e9=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,c=t.rects,s=t.middlewareData,d=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,v=(0,l._)(e6(u),2),h=v[0],m={start:"0%",center:"50%",end:"100%"}[v[1]],g=(null!=(i=null==(r=s.arrow)?void 0:r.x)?i:0)+f/2,y=(null!=(a=null==(o=s.arrow)?void 0:o.y)?a:0)+p/2,w="",b="";return"bottom"===h?(w=d?m:"".concat(g,"px"),b="".concat(-p,"px")):"top"===h?(w=d?m:"".concat(g,"px"),b="".concat(c.floating.height+p,"px")):"right"===h?(w="".concat(-p,"px"),b=d?m:"".concat(y,"px")):"left"===h&&(w="".concat(c.floating.width+p,"px"),b=d?m:"".concat(y,"px")),{data:{x:w,y:b}}}}};function e6(e){var t=(0,l._)(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var te=eZ,tt=eJ,tn=e5,tr=e3},69666:(e,t,n)=>{n.d(t,{n:()=>g});var r=n(79703),o=n(82732),i=n(45849),a=n(17389),l=n(22043),u=n(45377),c=n(12115),s=n(94446),d=n(88142),f=n(70222),p=n(95155),v="focusScope.autoFocusOnMount",h="focusScope.autoFocusOnUnmount",m={bubbles:!1,cancelable:!0},g=c.forwardRef(function(e,t){var n=e.loop,r=void 0!==n&&n,u=e.trapped,g=void 0!==u&&u,_=e.onMountAutoFocus,S=e.onUnmountAutoFocus,E=(0,a._)(e,["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"]),C=(0,l._)(c.useState(null),2),R=C[0],P=C[1],A=(0,f.c)(_),T=(0,f.c)(S),k=c.useRef(null),L=(0,s.s)(t,function(e){return P(e)}),N=c.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;c.useEffect(function(){if(g){var e=function(e){if(!N.paused&&R){var t=e.target;R.contains(t)?k.current=t:b(k.current,{select:!0})}},t=function(e){if(!N.paused&&R){var t=e.relatedTarget;null!==t&&(R.contains(t)||b(k.current,{select:!0}))}};document.addEventListener("focusin",e),document.addEventListener("focusout",t);var n=new MutationObserver(function(e){if(document.activeElement===document.body){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.removedNodes.length>0&&b(R)}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}}});return R&&n.observe(R,{childList:!0,subtree:!0}),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[g,R,N.paused]),c.useEffect(function(){if(R){x.add(N);var e=document.activeElement;if(!R.contains(e)){var t=new CustomEvent(v,m);R.addEventListener(v,A),R.dispatchEvent(t),t.defaultPrevented||(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n,o=document.activeElement,i=!0,a=!1,l=void 0;try{for(var u,c=e[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var s=u.value;if(b(s,{select:r}),document.activeElement!==o)return}}catch(e){a=!0,l=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw l}}}(y(R).filter(function(e){return"A"!==e.tagName}),{select:!0}),document.activeElement===e&&b(R))}return function(){R.removeEventListener(v,A),setTimeout(function(){var t=new CustomEvent(h,m);R.addEventListener(h,T),R.dispatchEvent(t),t.defaultPrevented||b(null!=e?e:document.body,{select:!0}),R.removeEventListener(h,T),x.remove(N)},0)}}},[R,A,T,N]);var D=c.useCallback(function(e){if((r||g)&&!N.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o,i,a=e.currentTarget,u=(0,l._)([w(i=y(o=a),o),w(i.reverse(),o)],2),c=u[0],s=u[1];c&&s?e.shiftKey||n!==s?e.shiftKey&&n===c&&(e.preventDefault(),r&&b(s,{select:!0})):(e.preventDefault(),r&&b(c,{select:!0})):n===a&&e.preventDefault()}}},[r,g,N.paused]);return(0,p.jsx)(d.sG.div,(0,i._)((0,o._)({tabIndex:-1},E),{ref:L,onKeyDown:D}))});function y(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function w(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done);
1n=!0){var l=i.value;if(!function(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(l,{upTo:t}))return l}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(0,r._)(e,HTMLInputElement)&&"select"in e&&void 0!==n&&n&&e.select()}}g.displayName="FocusScope";var x=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=_(e,t)).unshift(t)},remove:function(t){var n;null==(n=(e=_(e,t))[0])||n.resume()}}}();function _(e,t){var n=(0,u._)(e),r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},75433:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(82732),o=n(45849),i=n(17389),a=n(22043),l=n(12115),u=n(47650),c=n(88142),s=n(4129),d=n(95155),f=l.forwardRef(function(e,t){var n,f,p=e.container,v=(0,i._)(e,["container"]),h=(0,a._)(l.useState(!1),2),m=h[0],g=h[1];(0,s.N)(function(){return g(!0)},[]);var y=p||m&&(null==(f=globalThis)||null==(n=f.document)?void 0:n.body);return y?u.createPortal((0,d.jsx)(c.sG.div,(0,o._)((0,r._)({},v),{ref:t})),y):null});f.displayName="Portal"},78108:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(12115);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},84288:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(12115),o=n(4129);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},93499:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(71847).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},97745:(e,t,n)=>{n.d(t,{Eq:()=>c});var r=new WeakMap,o=new WeakMap,i={},a=0,l=function(e){return e&&(e.host||l(e.parentNode))},u=function(e,t,n,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=l(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[n]||(i[n]=new WeakMap);var s=i[n],d=[],f=new Set,p=new Set(c),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};c.forEach(v);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var t=e.getAttribute(u),i=null!==t&&"false"!==t,a=(r.get(e)||0)+1,l=(s.get(e)||0)+1;r.set(e,a),s.set(e,l),d.push(e),1===a&&i&&o.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(t),f.clear(),a++,function(){d.forEach(function(e){var t=r.get(e)-1,i=s.get(e)-1;r.set(e,t),s.set(e,i),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),i||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},c=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),u(r,o,n,"aria-hidden")):function(){return null}}}}]);
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.