1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19836,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}])},77206,79283,e=>{"use strict";var t=e.i(83536),n=e.i(59381);e.s(["createContext",0,function(e,r){let o=t.createContext(r),i=e=>{let{children:r,...i}=e,a=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:a,children:r})};return i.displayName=e+"Provider",[i,function(n){let i=t.useContext(o);if(i)return i;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let o=[],i=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(r,i){let a=t.createContext(i),l=o.length;o=[...o,i];let u=r=>{let{scope:o,children:i,...u}=r,c=o?.[e]?.[l]||a,s=t.useMemo(()=>u,Object.values(u));return(0,n.jsx)(c.Provider,{value:s,children:i})};return u.displayName=r+"Provider",[u,function(n,o){let u=o?.[e]?.[l]||a,c=t.useContext(u);if(c)return c;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}(i,...r)]}],77206);var r=e.i(99468),o=Symbol("radix.slottable");function i(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}e.s(["createSlot",0,function(e){var o;let a,l=(o=e,(a=t.forwardRef((e,n)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,l,u=(a=o,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=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}}(i,o.props);return o.type!==t.Fragment&&(c.ref=n?(0,r.composeRefs)(n,u):u),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,a),u=t.forwardRef((e,r)=>{let{children:o,...a}=e,u=t.Children.toArray(o),c=u.find(i);if(c){let e=c.props.children,o=u.map(n=>n!==c?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(l,{...a,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,n.jsx)(l,{...a,ref:r,children:o})});return u.displayName=`${e}.Slot`,u}],79283)},74209,e=>{"use strict";var t,n=e.i(83536),r=e.i(19836),o=e.i(56965),i=e.i(99468),a=e.i(75244),l=e.i(59381),u="dismissableLayer.update",c=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),s=n.forwardRef((e,s)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:g,onDismiss:y,...w}=e,b=n.useContext(c),[x,E]=n.useState(null),R=x?.ownerDocument??globalThis?.document,[,C]=n.useState({}),S=(0,i.useComposedRefs)(s,e=>E(e)),A=Array.from(b.layers),[L]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),P=A.indexOf(L),T=x?A.indexOf(x):-1,O=b.layersWithOutsidePointerEventsDisabled.size>0,k=T>=P,N=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1),i=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let n=function(){d("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));k&&!n&&(h?.(e),g?.(e),e.defaultPrevented||y?.())},R),D=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>
1{e.target&&!o.current&&d("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(v?.(e),g?.(e),e.defaultPrevented||y?.())},R);return!function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{T===b.layers.size-1&&(m?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},R),n.useEffect(()=>{if(x)return p&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),f(),()=>{p&&1===b.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[x,R,p,b]),n.useEffect(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),f())},[x,b]),n.useEffect(()=>{let e=()=>C({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)},[]),(0,l.jsx)(o.Primitive.div,{...w,ref:S,style:{pointerEvents:O?k?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,N.onPointerDownCapture)})});function f(){let e=new CustomEvent(u);document.dispatchEvent(e)}function d(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}s.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(c),a=n.useRef(null),u=(0,i.useComposedRefs)(t,a);return n.useEffect(()=>{let e=a.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,l.jsx)(o.Primitive.div,{...e,ref:u})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,s],74209)},50146,e=>{"use strict";var t=e.i(83536),n=0;function r(){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}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??r()),document.body.insertAdjacentElement("beforeend",e[1]??r()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},93698,e=>{"use strict";let t;var n=e.i(83536),r=e.i(99468),o=e.i(56965),i=e.i(75244),a=e.i(59381),l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},s=n.forwardRef((e,t)=>{let{loop:s=!1,trapped:h=!1,onMountAutoFocus:v,onUnmountAutoFocus:g,...y}=e,[w,b]=n.useState(null),x=(0,i.useCallbackRef)(v),E=(0,i.useCallbackRef)(g),R=n.useRef(null),C=(0,r.useComposedRefs)(t,e=>b(e)),S=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(h){let e=function(e){if(S.paused||!w)return;let t=e.target;w.contains(t)?R.current=t:p(R.current,{select:!0})},t=function(e){if(S.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||p(R.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&&p(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[h,w,S.paused]),n.useEffect(()=>{if(w){m.add(S);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(l,c);w.addEventListener(l,x),w.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(f(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(w))}return()=>{w.removeEventListener(l,x),setTimeout(()=>{let t=new CustomEvent(u,c);w.addEventListener(u,E),w.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),w.removeEventListener(u,E),m.remove(S)},0)}}},[w,x,E,S]);let A=n.useCallback(e=>{if(!s&&!h||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;
1let t,o=e.currentTarget,[i,a]=[d(t=f(r=o),r),d(t.reverse(),r)];i&&a?e.shiftKey||n!==a?e.shiftKey&&n===i&&(e.preventDefault(),s&&p(a,{select:!0})):(e.preventDefault(),s&&p(i,{select:!0})):n===o&&e.preventDefault()}},[s,h,S.paused]);return(0,a.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:C,onKeyDown:A})});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 d(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e,{select:t=!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()}}s.displayName="FocusScope";var m=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=h(t,e)).unshift(e)},remove(e){t=h(t,e),t[0]?.resume()}});function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,s])},95952,e=>{"use strict";var t=e.i(83536),n=e.i(60454),r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},30870,e=>{"use strict";let t;var n=e.i(83536);let r=["top","right","bottom","left"],o=Math.min,i=Math.max,a=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function h(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],y=["right","left"],w=["top","bottom"],b=["bottom","top"];function x(e){let t=f(e);return c[t]+e.slice(t.length)}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(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 C(e,t,n){let r,{reference:o,floating:i}=e,a=h(t),l=p(h(t)),u=m(l),c=f(t),s="y"===a,v=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,y=o[u]/2-i[u]/2;switch(c){case"top":r={x:v,y:o.y-i.height};break;case"bottom":r={x:v,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:g};break;case"left":r={x:o.x-i.width,y:g};break;default:r={x:o.x,y:o.y}}switch(d(t)){case"start":r[l]-=y*(n&&s?-1:1);break;case"end":r[l]+=y*(n&&s?-1:1)}return r}async function S(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:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=s(t,e),h=E(m),v=l[p?"floating"===d?"reference":"floating":d],g=R(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:u})),y="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=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=a.detectOverflow?a:{...a,detectOverflow:S},u=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=C(c,r,u),d=r,p=0,m={};for(let n=0;n<i.length;n++){let h=i[n];if(!h)continue;let{name:v,fn:g}=h,{x:y,y:w,data:b,reset:x}=await g({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=w?w:f,m[v]={...m[v],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:s,y:f}=C(c,d,u)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:m}};function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return r.some(t=>e[t]>=0)}let T=new Set(["left","top"]);async function O(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=f(n),l=d(n),u="y"===h(n),c=T.has(a)?-1:1,p=i&&u?-1:1,m=s(t,e),{mainAxis:v,crossAxis:g,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}
1:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&"number"==typeof y&&(g="end"===l?-1*y:y),u?{x:g*p,y:v*c}:{x:v*c,y:g*p}}function k(){return"u">typeof window}function N(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!k()&&(e instanceof Node||e instanceof D(e).Node)}function j(e){return!!k()&&(e instanceof Element||e instanceof D(e).Element)}function F(e){return!!k()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function _(e){return!(!k()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function H(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let I=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,z=e=>!!e&&"none"!==e;function V(e){let t=j(e)?K(e):e;return z(t.transform)||z(t.translate)||z(t.scale)||z(t.rotate)||z(t.perspective)||!Y()&&(z(t.backdropFilter)||z(t.filter))||I.test(t.willChange||"")||B.test(t.contain||"")}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function X(e){return/^(html|body|#document)$/.test(N(e))}function K(e){return D(e).getComputedStyle(e)}function U(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===N(e))return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||M(e);return _(t)?t.host:t}function Z(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=q(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&$(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=D(o);if(!i)return t.concat(o,Z(o,[],n));{let e=G(a);return t.concat(a,a.visualViewport||[],$(o)?o:[],e&&n?Z(e):[])}}function G(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function J(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=F(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,u=a(n)!==i||a(r)!==l;return u&&(n=i,r=l),{width:n,height:r,$:u}}function Q(e){return j(e)?e:e.contextElement}function ee(e){let t=Q(e);if(!F(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=J(t),l=(i?a(n.width):n.width)/r,c=(i?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),c&&Number.isFinite(c)||(c=1),{x:l,y:c}}let et=u(0);function en(e){let t=D(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:et}function er(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=Q(e),l=u(1);t&&(r?j(r)&&(l=ee(r)):l=ee(e));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===D(a))&&o)?en(a):u(0),s=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,d=i.width/l.x,p=i.height/l.y;if(a){let e=D(a),t=r&&j(r)?D(r):r,n=e,o=G(n);for(;o&&r&&t!==n;){let e=ee(o),t=o.getBoundingClientRect(),r=K(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,f*=e.y,d*=e.x,p*=e.y,s+=i,f+=a,o=G(n=D(o))}}return R({width:d,height:p,x:s,y:f})}function eo(e,t){let n=U(e).scrollLeft;return t?t.left+n:er(M(e)).left+n}function ei(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eo(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=D(e),r=M(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;let e=Y();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}let c=eo(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){let t,n,a,l,u,c,s;r=M(e),t=M(r),n=U(r),a=r.ownerDocument.body,l=i(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),u=i(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),c=-n.scrollLeft+eo(r),s=-n.scrollTop,"rtl"===K(a).direction&&(c+=i(t.clientWidth,a.clientWidth)-l),o={width:l,height:u,x:c,y:s}}else if(j(t)){let e,r,i,a,l,c;r=(e=er(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=F(t)?ee(t):u(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,o={width:l,height:c,x:i*a.x,y:r*a.y}}else{let n=en(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return R(o)}function el(e){return"static"===K(e).position}function eu(e,t){if(!F(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function ec(e,t){var n;let r=D(e);if(H(e))return r;if(!F(e)){let t=q(e);for(;t&&!X(t);){if(j(t)&&!el(t))return t;t=q(t)}return r}let o=eu(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(N(n)))&&el(o);)o=eu(o,t);return o&&X(o)&&el(o)&&!V(o)?r:o||function(e){let t=q(e);for(;F(t)&&!X(t);){if(V(t))return t;if(H(t))break;t=q(t)}return null}(e)||r}let es=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),o=M(t),i="fixed"===n,a=er(e,!0,i,t),l={scrollLeft:0,scrollTop:0},c=u(0);if(r||!r&&!i)if(("body"!==N(t)||$(o))&&(l=U(t)),r){let e=er(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=eo(o));i&&!r&&o&&(c.x=eo(o));let s=!o||r||i?u(0):ei(o,l);return{x:a.left+l.scrollLeft-c.x-s.x,y:a.top+l.scrollTop-c.y-s.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}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=M(r),l=!!t&&H(t.floating);if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},s=u(1),f=u(0),d=F(r);
1if((d||!d&&!i)&&(("body"!==N(r)||$(a))&&(c=U(r)),d)){let e=er(r);s=ee(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!a||d||i?u(0):ei(a,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+f.x+p.x,y:n.y*s.y-c.scrollTop*s.y+f.y+p.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,l=[..."clippingAncestors"===n?H(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Z(e,[],!1).filter(e=>j(e)&&"body"!==N(e)),o=null,i="fixed"===K(e).position,a=i?q(e):e;for(;j(a)&&!X(a);){let t=K(a),n=V(a);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||$(a)&&!n&&function e(t,n){let r=q(t);return!(r===n||!j(r)||X(r))&&("fixed"===K(r).position||e(r,n))}(e,a)))?o=t:r=r.filter(e=>e!==a),a=q(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=ea(t,l[0],a),c=u.top,s=u.right,f=u.bottom,d=u.left;for(let e=1;e<l.length;e++){let n=ea(t,l[e],a);c=i(n.top,c),s=o(n.right,s),f=o(n.bottom,f),d=i(n.left,d)}return{width:s-d,height:f-c,x:d,y:c}},getOffsetParent:ec,getElementRects:es,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=J(e);return{width:t,height:n}},getScale:ee,isElement:j,isRTL:function(e){return"rtl"===K(e).direction}};function ed(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ep=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:a,rects:l,platform:u,elements:c,middlewareData:f}=t,{element:v,padding:g=0}=s(e,t)||{};if(null==v)return{};let y=E(g),w={x:n,y:r},b=p(h(a)),x=m(b),R=await u.getDimensions(v),C="y"===b,S=C?"clientHeight":"clientWidth",A=l.reference[x]+l.reference[b]-w[b]-l.floating[x],L=w[b]-l.reference[b],P=await (null==u.getOffsetParent?void 0:u.getOffsetParent(v)),T=P?P[S]:0;T&&await (null==u.isElement?void 0:u.isElement(P))||(T=c.floating[S]||l.floating[x]);let O=T/2-R[x]/2-1,k=o(y[C?"top":"left"],O),N=o(y[C?"bottom":"right"],O),D=T-R[x]-N,M=T/2-R[x]/2+(A/2-L/2),W=i(k,o(M,D)),j=!f.arrow&&null!=d(a)&&M!==W&&l.reference[x]/2-(M<k?k:N)-R[x]/2<0,F=j?M<k?M-k:M-D:0;return{[b]:w[b]+F,data:{[b]:W,centerOffset:M-W-F,...j&&{alignmentOffset:F}},reset:j}}});var em=e.i(13680),eh="u">typeof document?n.useLayoutEffect:function(){};function ev(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(!ev(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)&&!ev(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eg(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ey(e,t){let n=eg(e);return Math.round(t*n)/n}function ew(e){let t=n.useRef(e);return eh(()=>{t.current=e}),t}var eb=e.i(56965),ex=e.i(59381),eE=n.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,ex.jsx)(eb.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ex.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eE.displayName="Arrow";var eR=e.i(99468),eC=e.i(77206),eS=e.i(75244),eA=e.i(60454),eL="Popper",[eP,eT]=(0,eC.createContextScope)(eL),[eO,ek]=eP(eL),eN=e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null);return(0,ex.jsx)(eO,{scope:t,anchor:o,onAnchorChange:i,children:r})};eN.displayName=eL;var eD="PopperAnchor",eM=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,a=ek(eD,r),l=n.useRef(null),u=(0,eR.useComposedRefs)(t,l),c=n.useRef(null);return n.useEffect(()=>{let e=c.current;c.current=o?.current||l.current,e!==c.current&&a.onAnchorChange(c.current)}),o?null:(0,ex.jsx)(eb.Primitive.div,{...i,ref:u})});eM.displayName=eD;var eW="PopperContent",[ej,eF]=eP(eW),e_=n.forwardRef((e,t)=>{var r,a,u,c,E,R,C,S,k,N,D,W,j;let F,_,$,H,I,B,{__scopePopper:z,side:V="bottom",sideOffset:Y=0,align:X="center",alignOffset:K=0,arrowPadding:U=0,avoidCollisions:q=!0,collisionBoundary:G=[],collisionPadding:J=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:eo,...ei}=e,ea=ek(eW,z),[el,eu]=n.useState(null),ec=(0,eR.useComposedRefs)(t,e=>eu(e)),[es,eE]=n.useState(null),eC=function(e){let[t,r]=n.useState(void 0);return(0,eA.useLayoutEffect)(()=>
1{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,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;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(es),eL=eC?.width??0,eP=eC?.height??0,eT="number"==typeof J?J:{top:0,right:0,bottom:0,left:0,...J},eO=Array.isArray(G)?G:[G],eN=eO.length>0,eD={padding:eT,boundary:eO.filter(eB),altBoundary:eN},{refs:eM,floatingStyles:eF,placement:e_,isPositioned:e$,middlewareData:eH}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:l}={},transform:u=!0,whileElementsMounted:c,open:s}=e,[f,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=n.useState(o);ev(p,o)||m(o);let[h,v]=n.useState(null),[g,y]=n.useState(null),w=n.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),b=n.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),x=a||h,E=l||g,R=n.useRef(null),C=n.useRef(null),S=n.useRef(f),L=null!=c,P=ew(c),T=ew(i),O=ew(s),k=n.useCallback(()=>{var e,n;let o,i,a;if(!R.current||!C.current)return;let l={placement:t,strategy:r,middleware:p};T.current&&(l.platform=T.current),(e=R.current,n=C.current,o=new Map,a={...(i={platform:ef,...l}).platform,_c:o},A(e,n,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==O.current};N.current&&!ev(S.current,t)&&(S.current=t,em.flushSync(()=>{d(t)}))})},[p,t,r,T,O]);eh(()=>{!1===s&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let N=n.useRef(!1);eh(()=>(N.current=!0,()=>{N.current=!1}),[]),eh(()=>
1{if(x&&(R.current=x),E&&(C.current=E),x&&E){if(P.current)return P.current(x,E,k);k()}},[x,E,k,P,L]);let D=n.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:b}),[w,b]),M=n.useMemo(()=>({reference:x,floating:E}),[x,E]),W=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!M.floating)return e;let t=ey(M.floating,f.x),n=ey(M.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...eg(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,M.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:k,refs:D,elements:M,floatingStyles:W}),[f,k,D,M,W])}({strategy:"fixed",placement:V+("center"!==X?"-"+X:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let a;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=Q(e),m=u||c?[...p?Z(p):[],...t?Z(t):[]]:[];m.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,r=null,a=M(e);function u(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),u();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:v}=d;if(s||t(),!h||!v)return;let g={rootMargin:-l(m)+"px "+-l(a.clientWidth-(p+h))+"px "+-l(a.clientHeight-(m+v))+"px "+-l(p)+"px",threshold:i(0,o(1,f))||1},y=!0;function w(t){let r=t[0].intersectionRatio;if(r!==f){if(!y)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||ed(d,e.getBoundingClientRect())||c(),y=!1}try{r=new IntersectionObserver(w,{...g,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(w,g)}r.observe(e)}(!0),u}(p,n):null,v=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),t&&g.observe(t));let y=d?er(e):null;return d&&function t(){let r=er(e);y&&!ed(y,r)&&n(),y=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{u&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===en}),elements:{reference:ea.anchor},middleware:[{name:(F={name:"offset",options:a=r={mainAxis:Y+eP,alignmentAxis:K},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:l}=e,u=await O(e,a);return i===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+u.x,y:o+u.y,data:{...u,placement:i}}}}).name,fn:F.fn,options:[r,void 0]},q&&{name:(_={name:"shift",options:E=c={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(u=void 0,{options:u={},fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=s(u,e),d={x:t,y:n},m=h(r),v=p(m),g=d[v],y=d[m],w=s(a,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){let e="y"===v?"height":"width",t=o.reference[v]-o.floating[e]+b.mainAxis,n=o.reference[v]+o.reference[e]-b.mainAxis;g<t?g=t:g>n&&(g=n)}if(c){var x,E;let e="y"===v?"width":"height",t=T.has(f(r)),n=o.reference[m]-o.floating[e]+(t&&(null==(x=i.offset)?void 0:x[m])||0)+(t?0:b.crossAxis),a=o.reference[m]+o.reference[e]+(t?0:(null==(E=i.offset)?void 0:E[m])||0)-(t?b.crossAxis:0);y<n?y=n:y>a&&(y=a)}return{[v]:g,[m]:y}}}).fn,options:[void 0,void 0]}:void 0,...eD},async fn(e){let{x:t,y:n,placement:r,platform:a}=e,{mainAxis:l=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=s(E,e),m={x:t,y:n},v=await a.detectOverflow(e,d),g=h(f(r)),y=p(g),w=m[y],b=m[g];if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+v[e],r=w-v[t];w=i(n,o(w,r))}if(u){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=b+v[e],r=b-v[t];b=i(n,o(b,r))}let x=c.fn({...e,[y]:w,[g]:b});return{...x,data:{x:x.x-t,y:x.y-n,enabled:{[y]:l,[g]:u}}}}}).name,fn:_.fn,options:[c,void 0]},q&&{name:($={name:"flip",options:C=R={...eD},async fn(e){var t,n,r,o,i,a,l,u;let c,E,R,{placement:S,middlewareData:A,rects:L,initialPlacement:P,platform:T,elements:O}=e,{mainAxis:k=!0,crossAxis:N=!0,fallbackPlacements:D,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:W="none",flipAlignment:j=!0,...F}=s(C,e);if(null!=(t=A.arrow)&&t.alignmentOffset)return{};let _=f(S),$=h(P),H=f(P)===P,I=await (null==T.isRTL?void 0:T.isRTL(O.floating)),B=D||(H||!j?[x(P)]:(c=x(P),[v(P),c,v(c)])),z="none"!==W;!D&&z&&B.push(...(E=d(P),R=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?y:g;return t?g:y;case"left":case"right":return t?w:b;default:return[]}}(f(P),"start"===W,I),E&&(R=R.map(e=>e+"-"+E),j&&(R=R.concat(R.map(v)))),R));let V=[P,...B],Y=await T.detectOverflow(e,F),X=[],K=(null==(n=A.flip)?void 0:n.overflows)||[];
1if(k&&X.push(Y[_]),N){let e,t,n,r,o=(a=S,l=L,void 0===(u=I)&&(u=!1),e=d(a),n=m(t=p(h(a))),r="x"===t?e===(u?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=x(r)),[r,x(r)]);X.push(Y[o[0]],Y[o[1]])}if(K=[...K,{placement:S,overflows:X}],!X.every(e=>e<=0)){let e=((null==(r=A.flip)?void 0:r.index)||0)+1,t=V[e];if(t&&("alignment"!==N||$===h(t)||K.every(e=>h(e.placement)!==$||e.overflows[0]>0)))return{data:{index:e,overflows:K},reset:{placement:t}};let n=null==(o=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(M){case"bestFit":{let e=null==(i=K.filter(e=>{if(z){let t=h(e.placement);return t===$||"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=P}if(S!==n)return{reset:{placement:n}}}return{}}}).name,fn:$.fn,options:[R,void 0]},{name:(H={name:"size",options:k=S={...eD,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let r,a,{placement:l,rects:u,platform:c,elements:p}=e,{apply:m=()=>{},...v}
1=s(k,e),g=await c.detectOverflow(e,v),y=f(l),w=d(l),b="y"===h(l),{width:x,height:E}=u.floating;"top"===y||"bottom"===y?(r=y,a=w===(await (null==c.isRTL?void 0:c.isRTL(p.floating))?"start":"end")?"left":"right"):(a=y,r="end"===w?"top":"bottom");let R=E-g.top-g.bottom,C=x-g.left-g.right,S=o(E-g[r],R),A=o(x-g[a],C),L=!e.middlewareData.shift,P=S,T=A;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=C),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(P=R),L&&!w){let e=i(g.left,0),t=i(g.right,0),n=i(g.top,0),r=i(g.bottom,0);b?T=x-2*(0!==e||0!==t?e+t:i(g.left,g.right)):P=E-2*(0!==n||0!==r?n+r:i(g.top,g.bottom))}await m({...e,availableWidth:T,availableHeight:P});let O=await c.getDimensions(p.floating);return x!==O.width||E!==O.height?{reset:{rects:!0}}:{}}}).name,fn:H.fn,options:[S,void 0]},es&&{name:(I={name:"arrow",options:D=N={element:es,padding:U},fn(e){let{element:t,padding:n}="function"==typeof D?D(e):D;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ep({element:t.current,padding:n}).fn(e):{}:t?ep({element:t,padding:n}).fn(e):{}}}).name,fn:I.fn,options:[N,void 0]},ez({arrowWidth:eL,arrowHeight:eP}),et&&{name:(B={name:"hide",options:j=W={strategy:"referenceHidden",...eD},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=s(j,e);switch(r){case"referenceHidden":{let r=L(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:P(r)}}}case"escaped":{let r=L(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:P(r)}}}default:return{}}}}).name,fn:B.fn,options:[W,void 0]}]}),[eI,eY]=eV(e_),eX=(0,eS.useCallbackRef)(eo);(0,eA.useLayoutEffect)(()=>{e$&&eX?.()},[e$,eX]);let eK=eH.arrow?.x,eU=eH.arrow?.y,eq=eH.arrow?.centerOffset!==0,[eZ,eG]=n.useState();return(0,eA.useLayoutEffect)(()=>{el&&eG(window.getComputedStyle(el).zIndex)},[el]),(0,ex.jsx)("div",{ref:eM.setFloating,"data-radix-popper-content-wrapper":"",style:{...eF,transform:e$?eF.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eZ,"--radix-popper-transform-origin":[eH.transformOrigin?.x,eH.transformOrigin?.y].join(" "),...eH.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ex.jsx)(ej,{scope:z,placedSide:eI,onArrowChange:eE,arrowX:eK,arrowY:eU,shouldHideArrow:eq,children:(0,ex.jsx)(eb.Primitive.div,{"data-side":eI,"data-align":eY,...ei,ref:ec,style:{...ei.style,animation:e$?void 0:"none"}})})})});e_.displayName=eW;var e$="PopperArrow",eH={top:"bottom",right:"left",bottom:"top",left:"right"},eI=n.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eF(e$,n),i=eH[o.placedSide];return(0,ex.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,ex.jsx)(eE,{...r,ref:t,style:{...r.style,display:"block"}})})});function eB(e){return null!==e}eI.displayName=e$;var ez=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,c]=eV(n),s={start:"0%",center:"50%",end:"100%"}[c],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===u?(p=i?s:`${f}px`,m=`${-l}px`):"top"===u?(p=i?s:`${f}px`,m=`${r.floating.height+l}px`):"right"===u?(p=`${-l}px`,m=i?s:`${d}px`):"left"===u&&(p=`${r.floating.width+l}px`,m=i?s:`${d}px`),{data:{x:p,y:m}}}});function eV(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,eM,"Arrow",0,eI,"Content",0,e_,"Root",0,eN,"createPopperScope",0,eT],30870)},81515,e=>{"use strict";var t=e.i(83536),n=e.i(13680),r=e.i(56965),o=e.i(60454),i=e.i(59381),a=t.forwardRef((e,a)=>{let{container:l,...u}=e,[c,s]=t.useState(!1);(0,o.useLayoutEffect)(()=>s(!0),[]);let f=l||c&&globalThis?.document?.body;return f?n.default.createPortal((0,i.jsx)(r.Primitive.div,{...u,ref:a}),f):null});a.displayName="Portal",e.s(["Portal",0,a])},56965,e=>{"use strict";var t=e.i(83536),n=e.i(13680),r=e.i(79283),o=e.i(59381),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),a=t.forwardRef((e,t)=>
1{let{asChild:r,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...a,ref:t})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},75244,e=>{"use strict";var t=e.i(83536);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},58915,e=>{"use strict";var t=e.i(83536),n=e.i(60454);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:o=()=>{},caller:i}){let[a,l,u]=function({defaultProp:e,onChange:n}){let[o,i]=t.useState(e),a=t.useRef(o),l=t.useRef(n);return r(()=>{l.current=n},[n]),t.useEffect(()=>{a.current!==o&&(l.current?.(o),a.current=o)},[o,a]),[o,i,l]}({defaultProp:n,onChange:o}),c=void 0!==e,s=c?e:a;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=c},[c,i])}return[s,t.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else l(t)},[c,e,l,u])]}],58915)},60454,e=>{"use strict";var t=e.i(83536),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},39045,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,l,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[l]||(r[l]=new WeakMap);var s=r[l],f=[],d=new Set,p=new Set(c),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};c.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))h(e);else try{var r=e.getAttribute(u),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(s.get(e)||0)+1;t.set(e,i),s.set(e,a),f.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(l,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(a),d.clear(),o++,function(){f.forEach(function(e){var r=t.get(e)-1,o=s.get(e)-1;t.set(e,r),s.set(e,o),r||(n.has(e)||e.removeAttribute(u),n.delete(e)),o||e.removeAttribute(l)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),a(r,o,n,"aria-hidden")):function(){return null}}])},4299,e=>{"use strict";let t=(0,e.i(98453).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},71191,e=>{"use strict";var t,n,r,o,i,a,l,u=function(){return(u=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 c(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}var s=("function"==typeof SuppressedError&&SuppressedError,e.i(83536)),f="right-scroll-bar-position",d="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?s.useLayoutEffect:s.useEffect,h=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;
1r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=u({async:!0,ssr:!1},t),i),g=function(){},y=s.forwardRef(function(e,t){var n,r,o,i,a=s.useRef(null),l=s.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),f=l[0],d=l[1],y=e.forwardProps,w=e.children,b=e.className,x=e.removeScrollBar,E=e.enabled,R=e.shards,C=e.sideCar,S=e.noRelative,A=e.noIsolation,L=e.inert,P=e.allowPinchZoom,T=e.as,O=e.gapMode,k=c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[a,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,s.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,m(function(){var e=h.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}h.set(i,n)},[n]),i),D=u(u({},k),f);return s.createElement(s.Fragment,null,E&&s.createElement(C,{sideCar:v,removeScrollBar:x,shards:R,noRelative:S,noIsolation:A,inert:L,setCallbacks:d,allowPinchZoom:!!P,lockRef:a,gapMode:O}),y?s.cloneElement(s.Children.only(w),u(u({},D),{ref:N})):s.createElement(void 0===T?"div":T,u({},D,{className:b,ref:N}),w))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:d,zeroRight:f};var w=function(e){var t=e.sideCar,n=c(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 s.createElement(r,u({},n))};w.isSideCarExport=!0;var b=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},x=function(){var e=b();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=x();return function(t){return e(t.styles,t.dynamic),null}},R={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},S=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[C(n),C(r),C(o)]},A=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return R;var t=S(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])}},L=E(),P="data-scroll-locked",T=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(P,"] {\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(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(f," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(P,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},O=function(){var e=parseInt(document.body.getAttribute(P)||"0",10);return isFinite(e)?e:0},k=function(){s.useEffect(function(){return document.body.setAttribute(P,(O()+1).toString()),function(){var e=O()-1;e<=0?document.body.removeAttribute(P):document.body.setAttribute(P,e.toString())}},[])},N=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;k();var i=s.useMemo(function(){return A(o)}
1,[o]);return s.createElement(L,{styles:T(i,!t,o,n?"":"!important")})},D=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){D=!1}var W=!!D&&{passive:!1},j=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])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=$(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},_=function(e,t){return"v"===e?j(t,"overflowY"):j(t,"overflowX")},$=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},H=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,f=l>0,d=0,p=0;do{if(!u)break;var m=$(e,u),h=m[0],v=m[1]-m[2]-a*h;(h||v)&&_(e,u)&&(d+=v,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 f&&(o&&1>Math.abs(d)||!o&&l>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},B=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},V=0,Y=[];let X=(a=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(V++)[0],i=s.useState(E)[0],a=s.useRef(e);s.useEffect(function(){a.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(z),!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 l=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=I(e),l=n.current,u="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,f=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var m=F(f,s);if(!m)return!0;if(m?o=f:(o="v"===f?"h":"v",m=F(f,s)),!m)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var h=r.current||o;return H(h,t,e,"h"===h?u:c,!0)},[]),u=s.useCallback(function(e){if(Y.length&&Y[Y.length-1]===i){var n="deltaY"in e?B(e):I(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=(a.current.shards||[]).map(z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=s.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=s.useCallback(function(e){n.current=I(e),r.current=void 0},[]),d=s.useCallback(function(t){c(t.type,B(t),t.target,l(t,e.lockRef.current))},[]),p=s.useCallback(function(t){c(t.type,I(t),t.target,l(t,e.lockRef.current))},[]);s.useEffect(function(){return Y.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,W),document.addEventListener("touchmove",u,W),document.addEventListener("touchstart",f,W),function(){Y=Y.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,W),document.removeEventListener("touchmove",u,W),document.removeEventListener("touchstart",f,W)}},[]);var m=e.removeScrollBar,h=e.inert;return s.createElement(s.Fragment,null,h?s.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?s.createElement(N,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(a),w);var K=s.forwardRef(function(e,t){return s.createElement(y,u({},e,{ref:t,sideCar:X}))});K.classNames=y.classNames,e.s(["RemoveScroll",0,K],71191)}]);
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.