1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4613],{64613:function(e,t,n){let r;n.d(t,{VY:function(){return tw},h_:function(){return tb},fC:function(){return tg},xz:function(){return ty}});var o,i,a,u,l,c,s,d,f=n(2265),p=n.t(f,2);function v(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function m(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function h(...e){return f.useCallback(m(...e),e)}var g=n(57437),y=n(54887),b=f.forwardRef((e,t)=>{let{children:n,...r}=e,o=f.Children.toArray(n),i=o.find(x);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,g.jsx)(w,{...r,ref:t,children:f.isValidElement(e)?f.cloneElement(e,void 0,n):null})}return(0,g.jsx)(w,{...r,ref:t,children:n})});b.displayName="Slot";var w=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return f.cloneElement(n,{...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)=>{i(...e),o(...e)}: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),ref:t?m(t,i):i})}return f.Children.count(n)>1?f.Children.only(null):null});w.displayName="SlotClone";var E=({children:e})=>(0,g.jsx)(g.Fragment,{children:e});function x(e){return f.isValidElement(e)&&e.type===E}var C=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=f.forwardRef((e,n)=>{let{asChild:r,...o}=e,i=r?b:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,g.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function N(e){let t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...e)=>t.current?.(...e),[])}var S="dismissableLayer.update",P=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R=f.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:u,onInteractOutside:l,onDismiss:c,...d}=e,p=f.useContext(P),[m,y]=f.useState(null),b=null!==(r=null==m?void 0:m.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,w]=f.useState({}),E=h(t,e=>y(e)),x=Array.from(p.layers),[R]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),M=x.indexOf(R),j=m?x.indexOf(m):-1,T=p.layersWithOutsidePointerEventsDisabled.size>0,k=j>=M,L=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=N(e),o=f.useRef(!1),i=f.useRef(()=>{});return f.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){O("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={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(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...p.branches].some(e=>e.contains(t));!k||n||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},b),D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=N(e),o=f.useRef(!1);return f.useEffect(()=>{let e=e=>{e.target&&!o.current&&O("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...p.branches].some(e=>e.contains(t))||(null==u||u(e),null==l||l(e),e.defaultPrevented||null==c||c())},b);return!function(e,t=globalThis?.document){let n=N(e);f.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{j!==p.layers.size-1||(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},b),f.useEffect(()=>{if(m)return o&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(s=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),A(),(
1)=>{o&&1===p.layersWithOutsidePointerEventsDisabled.size&&(b.body.style.pointerEvents=s)}},[m,b,o,p]),f.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),A())},[m,p]),f.useEffect(()=>{let e=()=>w({});return document.addEventListener(S,e),()=>document.removeEventListener(S,e)},[]),(0,g.jsx)(C.div,{...d,ref:E,style:{pointerEvents:T?k?"auto":"none":void 0,...e.style},onFocusCapture:v(e.onFocusCapture,D.onFocusCapture),onBlurCapture:v(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:v(e.onPointerDownCapture,L.onPointerDownCapture)})});function A(){let e=new CustomEvent(S);document.dispatchEvent(e)}function O(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&i.addEventListener(e,t,{once:!0}),o)?i&&y.flushSync(()=>i.dispatchEvent(a)):i.dispatchEvent(a)}R.displayName="DismissableLayer",f.forwardRef((e,t)=>{let n=f.useContext(P),r=f.useRef(null),o=h(t,r);return f.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,g.jsx)(C.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var M=0;function j(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var T="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",L={bubbles:!1,cancelable:!0},D=f.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,l]=f.useState(null),c=N(o),s=N(i),d=f.useRef(null),p=h(t,e=>l(e)),v=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let e=function(e){if(v.paused||!u)return;let t=e.target;u.contains(t)?d.current=t:W(d.current,{select:!0})},t=function(e){if(v.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||W(d.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&W(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,v.paused]),f.useEffect(()=>{if(u){_.add(v);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(T,L);u.addEventListener(T,c),u.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(W(r,{select:t}),document.activeElement!==n)return}(F(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&W(u))}return()=>{u.removeEventListener(T,c),setTimeout(()=>{let t=new CustomEvent(k,L);u.addEventListener(k,s),u.dispatchEvent(t),t.defaultPrevented||W(null!=e?e:document.body,{select:!0}),u.removeEventListener(k,s),_.remove(v)},0)}}},[u,c,s,v]);let m=f.useCallback(e=>{if(!n&&!r||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=F(e);return[I(t,e),I(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&W(i,{select:!0})):(e.preventDefault(),n&&W(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,v.paused]);return(0,g.jsx)(C.div,{tabIndex:-1,...a,ref:p,onKeyDown:m})});function F(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function I(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;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}(n,{upTo:t}))return n}function W(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}D.displayName="FocusScope";var _=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=B(r,e)).unshift(e)},remove(e){var t;null===(t=(r=B(r,e))[0])||void 0===t||t.resume()}});function B(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var z=globalThis?.document?f.useLayoutEffect:()=>{},U=p["useId".toString()]||(()=>void 0),Y=0,$=n(97859),H=n(51050),K=f.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:o=5,...i}=e;return(0,g.jsx)(C.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,g.jsx)("polygon",{points:"0,0 30,0 15,10"})})});K.displayName="Arrow";var X="Popper",[V,Z]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=f.createContext(r),i=n.length;function a(t){let{scope:n,children:r,...a}=t,u=n?.[e][i]||o,l=f.useMemo(()=>a,Object.values(a));return(0,g.jsx)(u.Provider,{value:l,children:r})}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){let u=a?.[e][i]||o,l=f.useContext(u);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(X),[q,G]=V(X),J=e=>{let{__scopePopper:t,children:n}=e,[r,o]=f.useState(null);return(0,g.jsx)(q,{scope:t,anchor:r,onAnchorChange:o,children:n})};J.displayName=X;var Q="PopperAnchor",ee=f.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=G(Q,n),a=f.useRef(null),u=h(t,a);return f.useEffect(()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,g.jsx)(C.div,{...o,ref:u})});ee.displayName=Q;var et="PopperContent",[en,er]=V(et),eo=f.forwardRef((e,t)=>{var n,r,o,i,a,u,l,c;let{__scopePopper:s,side:d="bottom",sideOffset:p=0,align:v="center",alignOffset:m=0,arrowPadding:y=0,avoidCollisions:b=!0,collisionBoundary:w=[],collisionPadding:E=0,sticky:x="partial",hideWhenDetached:S=!1,updatePositionStrategy:P="optimized",onPlaced:R,...A}=e,O=G(et,s),[M,j]=f.useState(null),T=h(t,e=>j(e)),[k,L]=f.useState(null),D=function(e){let[t,n]=f.useState(void 0);return z(()=>{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}(k),F=null!==(l=null==D?void 0:D.width)&&void 0!==l?l:0,I=null!==(c=null==D?void 0:D.height)&&void 0!==c?c:0,W="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},_=Array.isArray(w)?w:[w],B=_.length>0,U={padding:W,boundary:_.filter(el),altBoundary:B},{refs:Y,floatingStyles:K,placement:X,isPositioned:V,middlewareData:Z}=(0,$.YF)({strategy:"fixed",placement:d+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,H.Me)(...t,{animationFrame:"always"===P})},elements:{reference:O.anchor},middleware:[(0,$.cv)({mainAxis:p+I,alignmentAxis:m}),b&&(0,$.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?(0,$.dr)():void 0,...U}),b&&(0,$.RR)({...U}),(0,$.dp)({...U,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,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(i,"px")),u.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),k&&(0,$.x7)({element:k,padding:y}),ec({arrowWidth:F,arrowHeight:I}),S&&(0,$.Cp)({strategy:"referenceHidden",...U})]}),[q,J]=es(X),Q=N(R);z(()=>{V&&(null==Q||Q())},[V,Q]);let ee=null===(n=Z.arrow)||void 0===n?void 0:n.x,er=null===(r=Z.arrow)||void 0===r?void 0:r.y,eo=(null===(o=Z.arrow)||void 0===o?void 0:o.centerOffset)!==0,[ei,ea]=f.useState();return z(()=>{M&&ea(window.getComputedStyle(M).zIndex)},[M]),(0,g.jsx)("div",{ref:Y.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:V?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ei,"--radix-popper-transform-origin":[null===(i=Z.transformOrigin)||void 0===i?void 0:i.x,null===(a=Z.transformOrigin)||void 0===a?void 0:a.y].join(" "),...(null===(u=Z.hide)||void 0===u?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,g.jsx)(en,{scope:s,placedSide:q,onArrowChange:L,arrowX:ee,arrowY:er,shouldHideArrow:eo,children:(0,g.jsx)(C.div,{"data-side":q,"data-align":J,...A,ref:T,style:{...A.
1style,animation:V?void 0:"none"}})})})});eo.displayName=et;var ei="PopperArrow",ea={top:"bottom",right:"left",bottom:"top",left:"right"},eu=f.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=er(ei,n),i=ea[o.placedSide];return(0,g.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]: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,g.jsx)(K,{...r,ref:t,style:{...r.style,display:"block"}})})});function el(e){return null!==e}eu.displayName=ei;var ec=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:u,rects:l,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,v]=es(u),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,g=(null!==(a=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+f/2,y="",b="";return"bottom"===p?(y=s?m:"".concat(h,"px"),b="".concat(-f,"px")):"top"===p?(y=s?m:"".concat(h,"px"),b="".concat(l.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),b=s?m:"".concat(g,"px")):"left"===p&&(y="".concat(l.floating.width+f,"px"),b=s?m:"".concat(g,"px")),{data:{x:y,y:b}}}});function es(e){let[t,n="center"]=e.split("-");return[t,n]}var ed=f.forwardRef((e,t)=>{var n,r;let{container:o,...i}=e,[a,u]=f.useState(!1);z(()=>u(!0),[]);let l=o||a&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return l?y.createPortal((0,g.jsx)(C.div,{...i,ref:t}),l):null});ed.displayName="Portal";var ef=e=>{var t,n;let r,o;let{present:i,children:a}=e,u=function(e){var t,n;let[r,o]=f.useState(),i=f.useRef({}),a=f.useRef(e),u=f.useRef("none"),[l,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},f.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return f.useEffect(()=>{let e=ep(i.current);u.current="mounted"===l?e:"none"},[l]),z(()=>{let t=i.current,n=a.current;if(n!==e){let r=u.current,o=ep(t);e?c("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==o?c("ANIMATION_OUT"):c("UNMOUNT"),a.current=e}},[e,c]),z(()=>{if(r){var e;let t;let n=null!==(e=r.ownerDocument.defaultView)&&void 0!==e?e:window,o=e=>{let o=ep(i.current).includes(e.animationName);if(e.target===r&&o&&(c("ANIMATION_END"),!a.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},l=e=>{e.target===r&&(u.current=ep(i.current))};return r.addEventListener("animationstart",l),r.addEventListener("animationcancel",o),r.addEventListener("animationend",o),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",l),r.removeEventListener("animationcancel",o),r.removeEventListener("animationend",o)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:f.useCallback(e=>{e&&(i.current=getComputedStyle(e)),o(e)},[])}}(i),l="function"==typeof a?a({present:u.isPresent}):f.Children.only(a),c=h(u.ref,(r=null===(t=Object.getOwnPropertyDescriptor(l.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning?l.ref:(r=null===(n=Object.getOwnPropertyDescriptor(l,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning?l.props.ref:l.props.ref||l.ref);return"function"==typeof a||u.isPresent?f.cloneElement(l,{ref:c}):null};function ep(e){return(null==e?void 0:e.animationName)||"none"}ef.displayName="Presence";var ev=new WeakMap,em=new WeakMap,eh={},eg=0,ey=function(e){return e&&(e.host||ey(e.parentNode))},eb=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=ey(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});eh[n]||(eh[n]=new WeakMap);var i=eh[n],a=[],u=new Set,l=new Set(o),c=function(e){!e||u.has(e)||(u.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(ev.get(e)||0)+1,c=(i.get(e)||0)+1;ev.set(e,l),i.set(e,c),a.push(e),1===l&&o&&em.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return s(t),u.clear(),eg++,function(){a.forEach(function(e){var t=ev.get(e)-1,o=i.get(e)-1;ev.set(e,t),i.set(e,o),t||(em.has(e)||e.removeAttribute(r),em.delete(e)),o||e.removeAttribute(n)}),--eg||(ev=new WeakMap,ev=new WeakMap,em=new WeakMap,eh={})}},ew=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]"))),eb(r,o,n,"aria-hidden")):function(){return null}},eE=n(5853),ex="right-scroll-bar-position",eC="width-before-scroll-bar";function eN(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var eS="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,eP=new WeakMap,eR=function(){return(eR=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var eA=(void 0===o&&(o={}),(void 0===i&&(i=function(e){return e}),a=[],u=!1,l={read:function(){if(u)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,u);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(u=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){u=!0;var t=[];if(a.length){var n=a;
1a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=eR({async:!0,ssr:!1},o),l),eO=function(){},eM=f.forwardRef(function(e,t){var n,r,o,i,a=f.useRef(null),u=f.useState({onScrollCapture:eO,onWheelCapture:eO,onTouchMoveCapture:eO}),l=u[0],c=u[1],s=e.forwardProps,d=e.children,p=e.className,v=e.removeScrollBar,m=e.enabled,h=e.shards,g=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,E=e.as,x=e.gapMode,C=(0,eE._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[a,t],r=function(e){return n.forEach(function(t){return eN(t,e)})},(o=(0,f.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,i=o.facade,eS(function(){var e=eP.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||eN(e,null)}),r.forEach(function(e){t.has(e)||eN(e,o)})}eP.set(i,n)},[n]),i),S=(0,eE.pi)((0,eE.pi)({},C),l);return f.createElement(f.Fragment,null,m&&f.createElement(g,{sideCar:eA,removeScrollBar:v,shards:h,noIsolation:y,inert:b,setCallbacks:c,allowPinchZoom:!!w,lockRef:a,gapMode:x}),s?f.cloneElement(f.Children.only(d),(0,eE.pi)((0,eE.pi)({},S),{ref:N})):f.createElement(void 0===E?"div":E,(0,eE.pi)({},S,{className:p,ref:N}),d))});eM.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eM.classNames={fullWidth:eC,zeroRight:ex};var ej=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}(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 f.createElement(r,eR({},n))};ej.isSideCarExport=!0;var eT=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=d||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ek=function(){var e=eT();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eL=function(){var e=ek();return function(t){return e(t.styles,t.dynamic),null}},eD={left:0,top:0,right:0,gap:0},eF=function(e){return parseInt(e||"",10)||0},eI=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[eF(n),eF(r),eF(o)]},eW=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return eD;var t=eI(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_=eL(),eB="data-scroll-locked",ez=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(eB,"] {\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(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(ex," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(eC," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(ex," .").concat(ex," {\n right: 0 ").concat(r,";\n }\n \n .").concat(eC," .").concat(eC," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(eB,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},eU=function(){var e=parseInt(document.body.getAttribute(eB)||"0",10);return isFinite(e)?e:0},eY=function(){f.useEffect(function(){return document.body.setAttribute(eB,(eU()+1).toString()),function(){var e=eU()-1;e<=0?document.body.removeAttribute(eB):document.body.setAttribute(eB,e.toString())}},[])},e$=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;eY();var i=f.useMemo(function(){return eW(o)},[o]);return f.createElement(e_,{styles:ez(i,!t,o,n?"":"!important")})},eH=!1;if("undefined"!=typeof window)try{var eK=Object.defineProperty({},"passive",{get:function(){return eH=!0,!0}});window.addEventListener("test",eK,eK),window.removeEventListener("test",eK,eK)}catch(e){eH=!1}var eX=!!eH&&{passive:!1},eV=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])},eZ=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),eq(e,r)){var o=eG(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},eq=function(e,t){return"v"===e?eV(t,"overflowY"):eV(t,"overflowX")},eG=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eJ=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),u=a*r,l=n.target,c=t.contains(l),s=!1,d=u>0,f=0,p=0;do{var v=eG(e,l),m=v[0],h=v[1]-v[2]-a*m;(m||h)&&eq(e,l)&&(f+=h,p+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(s=!0),s},eQ=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},e0=function(e){return[e.deltaX,e.deltaY]},e1=function(e){return e&&"current"in e?e.current:e},e5=0,e2=[],e3=(c=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(e5++)[0],i=f.useState(eL
1)[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,eE.ev)([e.lockRef.current],(e.shards||[]).map(e1),!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 u=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=eQ(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-i[0],c="deltaY"in e?e.deltaY:u[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=eZ(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=eZ(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return eJ(p,t,e,"h"===p?l:c,!0)},[]),l=f.useCallback(function(e){if(e2.length&&e2[e2.length-1]===i){var n="deltaY"in e?e0(e):eQ(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(e1).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=f.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)},[]),s=f.useCallback(function(e){n.current=eQ(e),r.current=void 0},[]),d=f.useCallback(function(t){c(t.type,e0(t),t.target,u(t,e.lockRef.current))},[]),p=f.useCallback(function(t){c(t.type,eQ(t),t.target,u(t,e.lockRef.current))},[]);f.useEffect(function(){return e2.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,eX),document.addEventListener("touchmove",l,eX),document.addEventListener("touchstart",s,eX),function(){e2=e2.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,eX),document.removeEventListener("touchmove",l,eX),document.removeEventListener("touchstart",s,eX)}},[]);var v=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?f.createElement(e$,{gapMode:e.gapMode}):null)},eA.useMedium(c),ej),e7=f.forwardRef(function(e,t){return f.createElement(eM,(0,eE.pi)({},e,{ref:t,sideCar:e3}))});e7.classNames=eM.classNames;var e8="Popover",[e4,e6]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=f.createContext(r),i=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,u=n?.[e]?.[i]||o,l=f.useMemo(()=>a,Object.values(a));return(0,g.jsx)(u.Provider,{value:l,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let u=a?.[e]?.[i]||o,l=f.useContext(u);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(e8,[Z]),e9=Z(),[te,tt]=e4(e8),tn=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,u=e9(t),l=f.useRef(null),[c,s]=f.useState(!1),[d=!1,p]=function({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=function({defaultProp:e,onChange:t}){let n=f.useState(e),[r]=n,o=f.useRef(r),i=N(t);return f.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,u=N(n);return[a,f.useCallback(t=>{if(i){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else o(t)},[i,e,o,u])]}({prop:r,defaultProp:o,onChange:i});return(0,g.jsx)(J,{...u,children:(0,g.jsx)(te,{scope:t,contentId:function(e){let[t,n]=f.useState(U());return z(()=>{n(e=>e??String(Y++))},[void 0]),t?`radix-${t}`:""}(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:c,onCustomAnchorAdd:f.useCallback(()=>s(!0),[]),onCustomAnchorRemove:f.useCallback(()=>s(!1),[]),modal:a,children:n})})};tn.displayName=e8;var tr="PopoverAnchor";f.forwardRef((e,t)=>
1{let{__scopePopover:n,...r}=e,o=tt(tr,n),i=e9(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:u}=o;return f.useEffect(()=>(a(),()=>u()),[a,u]),(0,g.jsx)(ee,{...i,...r,ref:t})}).displayName=tr;var to="PopoverTrigger",ti=f.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=tt(to,n),i=e9(n),a=h(t,o.triggerRef),u=(0,g.jsx)(C.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":th(o.open),...r,ref:a,onClick:v(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,g.jsx)(ee,{asChild:!0,...i,children:u})});ti.displayName=to;var ta="PopoverPortal",[tu,tl]=e4(ta,{forceMount:void 0}),tc=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=tt(ta,t);return(0,g.jsx)(tu,{scope:t,forceMount:n,children:(0,g.jsx)(ef,{present:n||i.open,children:(0,g.jsx)(ed,{asChild:!0,container:o,children:r})})})};tc.displayName=ta;var ts="PopoverContent",td=f.forwardRef((e,t)=>{let n=tl(ts,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=tt(ts,e.__scopePopover);return(0,g.jsx)(ef,{present:r||i.open,children:i.modal?(0,g.jsx)(tf,{...o,ref:t}):(0,g.jsx)(tp,{...o,ref:t})})});td.displayName=ts;var tf=f.forwardRef((e,t)=>{let n=tt(ts,e.__scopePopover),r=f.useRef(null),o=h(t,r),i=f.useRef(!1);return f.useEffect(()=>{let e=r.current;if(e)return ew(e)},[]),(0,g.jsx)(e7,{as:b,allowPinchZoom:!0,children:(0,g.jsx)(tv,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:v(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:v(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:v(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tp=f.forwardRef((e,t)=>{let n=tt(ts,e.__scopePopover),r=f.useRef(!1),o=f.useRef(!1);return(0,g.jsx)(tv,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let u=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),tv=f.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:s,...d}=e,p=tt(ts,n),v=e9(n);return f.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:j()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:j()),M++,()=>{1===M&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),M--}},[]),(0,g.jsx)(D,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,g.jsx)(R,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:s,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1),children:(0,g.jsx)(eo,{"data-state":th(p.open),role:"dialog",id:p.contentId,...v,...d,ref:t,style:{...d.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)"}})})})}),tm="PopoverClose";function th(e){return e?"open":"closed"}f.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=tt(tm,n);return(0,g.jsx)(C.button,{type:"button",...r,ref:t,onClick:v(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tm,f.forwardRef((e,t)=>
1{let{__scopePopover:n,...r}=e,o=e9(n);return(0,g.jsx)(eu,{...o,...r,ref:t})}).displayName="PopoverArrow";var tg=tn,ty=ti,tb=tc,tw=td}}]);
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.