1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67881,e=>{"use strict";var t=e.i(29511),n=e.i(64701),r=e.i(94237),o=e.i(47163);let i=(0,r.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function a({className:e,variant:r,size:a,asChild:l=!1,...c}){let u=l?n.Slot:"button";return(0,t.jsx)(u,{"data-slot":"button",className:(0,o.cn)(i({variant:r,size:a,className:e})),...c})}e.s(["Button",()=>a])},42138,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={callServer:function(){return i.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let i=e.r(84781),a=e.r(25185),l=e.r(56221)},64347,e=>{"use strict";let t=(0,e.i(10965).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},33649,e=>{"use strict";var t=e.i(58138);e.i(29511);var n=t.createContext(void 0);function r(e){let r=t.useContext(n);return e||r||"ltr"}e.s(["useDirection",()=>r])},19960,e=>{"use strict";var t=e.i(58138),n=e.i(71429),r=t["useId".toString()]||(()=>void 0),o=0;function i(e){let[i,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}e.s(["useId",()=>i])},22377,e=>{"use strict";var t=e.i(58138),n=e.i(71429);function r(e){let[r,o]=t.useState(void 0);return(0,n.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;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,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;o({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),r}e.s(["useSize",()=>r])},16212,e=>{"use strict";let t=(0,e.i(10965).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",()=>t])},56278,83182,87489,73772,14329,49894,e=>{"use strict";let t;var n,r,o,i,a,l,c,u=e.i(58138),s=0;function f(){u.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??d()),document.body.insertAdjacentElement("beforeend",e[1]??d()),s++,()=>{1===s&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),s--}},[])}function d(){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",()=>f],56278);var p=e.i(866),h=e.i(20673),m=e.i(50886),v=e.i(29511),g="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",w={bubbles:!1,cancelable:!0},b=u.forwardRef((e,t)=>
1{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,c]=u.useState(null),s=(0,m.useCallbackRef)(o),f=(0,m.useCallbackRef)(i),d=u.useRef(null),b=(0,p.useComposedRefs)(t,e=>c(e)),A=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(r){let e=function(e){if(A.paused||!l)return;let t=e.target;l.contains(t)?d.current=t:S(d.current,{select:!0})},t=function(e){if(A.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||S(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&&S(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,A.paused]),u.useEffect(()=>{if(l){R.add(A);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(g,w);l.addEventListener(g,s),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(S(r,{select:t}),document.activeElement!==n)return}(x(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&S(l))}return()=>{l.removeEventListener(g,s),setTimeout(()=>{let t=new CustomEvent(y,w);l.addEventListener(y,f),l.dispatchEvent(t),t.defaultPrevented||S(e??document.body,{select:!0}),l.removeEventListener(y,f),R.remove(A)},0)}}},[l,s,f,A]);let C=u.useCallback(e=>{if(!n&&!r||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,r=e.currentTarget,[a,l]=[E(t=x(i=r),i),E(t.reverse(),i)];a&&l?e.shiftKey||o!==l?e.shiftKey&&o===a&&(e.preventDefault(),n&&S(l,{select:!0})):(e.preventDefault(),n&&S(a,{select:!0})):o===r&&e.preventDefault()}},[n,r,A.paused]);return(0,v.jsx)(h.Primitive.div,{tabIndex:-1,...a,ref:b,onKeyDown:C})});function x(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 E(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 S(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()}}b.displayName="FocusScope";var R=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=A(t,e)).unshift(e)},remove(e){t=A(t,e),t[0]?.resume()}});function A(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",()=>b],83182);let C=["top","right","bottom","left"],L=Math.min,k=Math.max,T=Math.round,P=Math.floor,O=e=>({x:e,y:e}),M={left:"right",right:"left",bottom:"top",top:"bottom"},N={start:"end",end:"start"};function F(e,t){return"function"==typeof e?e(t):e}function D(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function j(e){return"x"===e?"y":"x"}function H(e){return"y"===e?"height":"width"}let I=new Set(["top","bottom"]);function _(e){return I.has(D(e))?"y":"x"}function z(e){return e.replace(/start|end/g,e=>N[e])}let B=["left","right"],$=["right","left"],Y=["top","bottom"],K=["bottom","top"];function V(e){return e.replace(/left|right|bottom|top/g,e=>M[e])}function X(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function U(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 q(e,t,n){let r,{reference:o,floating:i}=e,a=_(t),l=j(_(t)),c=H(l),u=D(t),s="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[c]/2-i[c]/2;switch(u){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(W(t)){case"start":r[l]-=p*(n&&s?-1:1);break;case"end":r[l]+=p*(n&&s?-1:1)}return r}let Z=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}
1=n,l=i.filter(Boolean),c=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=q(u,r,c),d=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:i,fn:m}=l[n],{x:v,y:g,data:y,reset:w}=await m({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});s=null!=v?v:s,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:s,y:f}=q(u,d,c)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:p}};async function G(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=F(t,e),h=X(p),m=l[d?"floating"===f?"reference":"floating":f],v=U(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:s,strategy:c})),g="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),w=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=U(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-b.top+h.top)/w.y,bottom:(b.bottom-v.bottom+h.bottom)/w.y,left:(v.left-b.left+h.left)/w.x,right:(b.right-v.right+h.right)/w.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 Q(e){return C.some(t=>e[t]>=0)}let ee=new Set(["left","top"]);async function et(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=D(n),l=W(n),c="y"===_(n),u=ee.has(a)?-1:1,s=i&&c?-1:1,f=F(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),c?{x:p*s,y:d*u}:{x:d*u,y:p*s}}function en(){return"undefined"!=typeof window}function er(e){return ea(e)?(e.nodeName||"").toLowerCase():"#document"}function eo(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ei(e){var t;return null==(t=(ea(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ea(e){return!!en()&&(e instanceof Node||e instanceof eo(e).Node)}function el(e){return!!en()&&(e instanceof Element||e instanceof eo(e).Element)}function ec(e){return!!en()&&(e instanceof HTMLElement||e instanceof eo(e).HTMLElement)}function eu(e){return!!en()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eo(e).ShadowRoot)}let es=new Set(["inline","contents"]);function ef(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eE(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!es.has(o)}let ed=new Set(["table","td","th"]),ep=[":popover-open",":modal"];function eh(e){return ep.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let em=["transform","translate","scale","rotate","perspective"],ev=["transform","translate","scale","rotate","perspective","filter"],eg=["paint","layout","strict","content"];function ey(e){let t=ew(),n=el(e)?eE(e):e;return em.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||ev.some(e=>(n.willChange||"").includes(e))||eg.some(e=>(n.contain||"").includes(e))}function ew(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eb=new Set(["html","body","#document"]);function ex(e){return eb.has(er(e))}function eE(e){return eo(e).getComputedStyle(e)}function eS(e){return el(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eR(e){if("html"===er(e))return e;let t=e.assignedSlot||e.parentNode||eu(e)&&e.host||ei(e);return eu(t)?t.host:t}function eA(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eR(t);return ex(n)?t.ownerDocument?t.ownerDocument.body:t.body:ec(n)&&ef(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=eo(o);if(i){let e=eC(a);
1return t.concat(a,a.visualViewport||[],ef(o)?o:[],e&&n?eA(e):[])}return t.concat(o,eA(o,[],n))}function eC(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eL(e){let t=eE(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=ec(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=T(n)!==i||T(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ek(e){return el(e)?e:e.contextElement}function eT(e){let t=ek(e);if(!ec(t))return O(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eL(t),a=(i?T(n.width):n.width)/r,l=(i?T(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let eP=O(0);function eO(e){let t=eo(e);return ew()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eP}function eM(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=ek(e),l=O(1);t&&(r?el(r)&&(l=eT(r)):l=eT(e));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===eo(a))&&o)?eO(a):O(0),u=(i.left+c.x)/l.x,s=(i.top+c.y)/l.y,f=i.width/l.x,d=i.height/l.y;if(a){let e=eo(a),t=r&&el(r)?eo(r):r,n=e,o=eC(n);for(;o&&r&&t!==n;){let e=eT(o),t=o.getBoundingClientRect(),r=eE(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,s*=e.y,f*=e.x,d*=e.y,u+=i,s+=a,o=eC(n=eo(o))}}return U({width:f,height:d,x:u,y:s})}function eN(e,t){let n=eS(e).scrollLeft;return t?t.left+n:eM(ei(e)).left+n}function eF(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eN(e,n),y:n.top+t.scrollTop}}let eD=new Set(["absolute","fixed"]);function eW(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=eo(e),r=ei(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;let e=ew();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}let u=eN(r);if(u<=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 u<=25&&(i+=u);return{width:i,height:a,x:l,y:c}}(e,n);else if("document"===t){let t,n,i,a,l,c,u;r=ei(e),t=ei(r),n=eS(r),i=r.ownerDocument.body,a=k(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=k(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),c=-n.scrollLeft+eN(r),u=-n.scrollTop,"rtl"===eE(i).direction&&(c+=k(t.clientWidth,i.clientWidth)-a),o={width:a,height:l,x:c,y:u}}else if(el(t)){let e,r,i,a,l,c;r=(e=eM(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=ec(t)?eT(t):O(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=eO(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return U(o)}function ej(e){return"static"===eE(e).position}function eH(e,t){if(!ec(e)||"fixed"===eE(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ei(e)===n&&(n=n.ownerDocument.body),n}function eI(e,t){var n;let r=eo(e);if(eh(e))return r;if(!ec(e)){let t=eR(e);for(;t&&!ex(t);){if(el(t)&&!ej(t))return t;t=eR(t)}return r}let o=eH(e,t);for(;o&&(n=o,ed.has(er(n)))&&ej(o);)o=eH(o,t);return o&&ex(o)&&ej(o)&&!ey(o)?r:o||function(e){let t=eR(e);for(;ec(t)&&!ex(t);){if(ey(t))return t;if(eh(t))break;t=eR(t)}return null}(e)||r}let e_=async function(e){let t=this.getOffsetParent||eI,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=ec(t),o=ei(t),i="fixed"===n,a=eM(e,!0,i,t),l={scrollLeft:0,scrollTop:0},c=O(0);if(r||!r&&!i)if(("body"!==er(t)||ef(o))&&(l=eS(t)),r){let e=eM(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=eN(o));i&&!r&&o&&(c.x=eN(o));let u=!o||r||i?O(0):eF(o,l);return{x:a.left+l.scrollLeft-c.x-u.x,y:a.top+l.scrollTop-c.y-u.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}}},ez={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=ei(r),l=!!t&&eh(t.floating);if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=O(1),s=O(0),f=ec(r);if((f||!f&&!i)&&(("body"!==er(r)||ef(a))&&(c=eS(r)),ec(r))){let e=eM(r);u=eT(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let d=!a||f||i?O(0):eF(a,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+d.x,y:n.y*u.y-c.scrollTop*u.y+s.y+d.y}},getDocumentElement:ei,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?eh(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eA(e,[],!1).filter(e=>el(e)&&"body"!==er(e)),o=null,i="fixed"===eE(e).position,a=i?eR(e):e;for(;el(a)&&!ex(a);){let t=eE(a),n=ey(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&eD.has(o.position)||ef(a)&&!n&&function e(t,n){let r=eR(t);return!(r===n||!el(r)||ex(r))&&("fixed"===eE(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=eR(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((e,n)=>{let r=eW(t,n,o);return e.top=k(r.top,e.top),e.right=L(r.right,e.right),e.bottom=L(r.bottom,e.bottom),e.left=k(r.left,e.left),e},eW(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:eI,getElementRects:e_,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eL(e);return{width:t,height:n}},getScale:eT,isElement:el,isRTL:function(e){return"rtl"===eE(e).direction}};function eB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let e$=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:s=0}=F(e,t)||{};if(null==u)return{};let f=X(s),d={x:n,y:r},p=j(_(o)),h=H(p),m=await a.getDimensions(u),v="y"===p,g=v?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[p]-d[p]-i.floating[h],w=d[p]-i.reference[p],b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),x=b?b[g]:0;x&&await (null==a.isElement?void 0:a.isElement(b))||(x=l.floating[g]||i.floating[h]);let E=x/2-m[h]/2-1,S=L(f[v?"top":"left"],E),R=L(f[v?"bottom":"right"],E),A=x-m[h]-R,C=x/2-m[h]/2+(y/2-w/2),T=k(S,L(C,A)),P=!c.arrow&&null!=W(o)&&C!==T&&i.reference[h]/2-(C<S?S:R)-m[h]/2<0,O=P?C<S?C-S:C-A:0;return{[p]:d[p]+O,data:{[p]:T,centerOffset:C-T-O,...P&&{alignmentOffset:O}},reset:P}}});var eY=e.i(49463),eK="undefined"!=typeof document?u.useLayoutEffect:function(){};function eV(e,t){let n,r,o;
1if(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 eX(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eU(e,t){let n=eX(e);return Math.round(t*n)/n}function eq(e){let t=u.useRef(e);return eK(()=>{t.current=e}),t}var eZ=u.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,v.jsx)(h.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,v.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eZ.displayName="Arrow";var eG=e.i(29517),eJ=e.i(71429),eQ=e.i(22377),e0="Popper",[e1,e2]=(0,eG.createContextScope)(e0),[e5,e8]=e1(e0),e9=e=>{let{__scopePopper:t,children:n}=e,[r,o]=u.useState(null);return(0,v.jsx)(e5,{scope:t,anchor:r,onAnchorChange:o,children:n})};e9.displayName=e0;var e3="PopperAnchor",e4=u.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=e8(e3,n),a=u.useRef(null),l=(0,p.useComposedRefs)(t,a);return u.useEffect(()=>{i.onAnchorChange(r?.current||a.current)}),r?null:(0,v.jsx)(h.Primitive.div,{...o,ref:l})});e4.displayName=e3;var e7="PopperContent",[e6,te]=e1(e7),tt=u.forwardRef((e,t)=>{var n,r,o,i,a,l,c,s,f,d,g,y,w,b,x,E,S,R,A,C,T;let{__scopePopper:O,side:M="bottom",sideOffset:N=0,align:I="center",alignOffset:X=0,arrowPadding:U=0,avoidCollisions:q=!0,collisionBoundary:en=[],collisionPadding:er=0,sticky:eo="partial",hideWhenDetached:ea=!1,updatePositionStrategy:el="optimized",onPlaced:ec,...eu}=e,es=e8(e7,O),[ef,ed]=u.useState(null),ep=(0,p.useComposedRefs)(t,e=>ed(e)),[eh,em]=u.useState(null),ev=(0,eQ.useSize)(eh),eg=ev?.width??0,ey=ev?.height??0,ew="number"==typeof er?er:{top:0,right:0,bottom:0,left:0,...er},eb=Array.isArray(en)?en:[en],ex=eb.length>0,eE={padding:ew,boundary:eb.filter(ti),altBoundary:ex},{refs:eS,floatingStyles:eR,placement:eC,isPositioned:eL,middlewareData:eT}=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:c,open:s}=e,[f,d]=u.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=u.useState(r);eV(p,r)||h(r);let[m,v]=u.useState(null),[g,y]=u.useState(null),w=u.useCallback(e=>{e!==S.current&&(S.current=e,v(e))},[]),b=u.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=i||m,E=a||g,S=u.useRef(null),R=u.useRef(null),A=u.useRef(f),C=null!=c,L=eq(c),k=eq(o),T=eq(s),P=u.useCallback(()=>{var e,r;let o,i,a;if(!S.current||!R.current)return;let l={placement:t,strategy:n,middleware:p};k.current&&(l.platform=k.current),(e=S.current,r=R.current,o=new Map,a={...(i={platform:ez,...l}).platform,_c:o},Z(e,r,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==T.current};O.current&&!eV(A.current,t)&&(A.current=t,eY.flushSync(()=>{d(t)}))})},[p,t,n,k,T]);eK(()=>{!1===s&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let O=u.useRef(!1);eK(()=>(O.current=!0,()=>{O.current=!1}),[]),eK(()=>{if(x&&(S.current=x),E&&(R.current=E),x&&E){if(L.current)return L.current(x,E,P);P()}},[x,E,P,L,C]);let M=u.useMemo(()=>({reference:S,floating:R,setReference:w,setFloating:b}),[w,b]),N=u.useMemo(()=>({reference:x,floating:E}),[x,E]),F=u.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=eU(N.floating,f.x),r=eU(N.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eX(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,N.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:P,refs:M,elements:N,floatingStyles:F}),[f,P,M,N,F])}({strategy:"fixed",placement:M+("center"!==I?"-"+I:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,s=ek(e),f=i||a?[...s?eA(s):[],...eA(t)]:[];
1f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let d=s&&c?function(e,t){let n,r=null,o=ei(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();let u=e.getBoundingClientRect(),{left:s,top:f,width:d,height:p}=u;if(l||t(),!d||!p)return;let h={rootMargin:-P(f)+"px "+-P(o.clientWidth-(s+d))+"px "+-P(o.clientHeight-(f+p))+"px "+-P(s)+"px",threshold:k(0,L(1,c))||1},m=!0;function v(t){let r=t[0].intersectionRatio;if(r!==c){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eB(u,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),i}(s,n):null,p=-1,h=null;l&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),s&&!u&&h.observe(s),h.observe(t));let m=u?eM(e):null;return u&&function t(){let r=eM(e);m&&!eB(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===el}),elements:{reference:es.anchor},middleware:[{...{name:"offset",options:o=n={mainAxis:N+ey,alignmentAxis:X},async fn(e){var t,n;let{x:r,y:i,placement:a,middlewareData:l}=e,c=await et(e,o);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:a}}}},options:[n,r]},q&&{...{name:"shift",options:f=c={mainAxis:!0,crossAxis:!1,limiter:"partial"===eo?{...(void 0===(l=i)&&(l={}),{options:l,fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=F(l,e),s={x:t,y:n},f=_(r),d=j(f),p=s[d],h=s[f],m=F(a,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+v.mainAxis,n=o.reference[d]+o.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var g,y;let e="y"===d?"width":"height",t=ee.has(D(r)),n=o.reference[f]-o.floating[e]+(t&&(null==(g=i.offset)?void 0:g[f])||0)+(t?0:v.crossAxis),a=o.reference[f]+o.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[f])||0)-(t?v.crossAxis:0);h<n?h=n:h>a&&(h=a)}return{[d]:p,[f]:h}}}),options:[i,a]}:void 0,...eE},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}=F(f,e),c={x:t,y:n},u=await G(e,l),s=_(D(r)),d=j(s),p=c[d],h=c[s];if(o){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+u[e],r=p-u[t];p=k(n,L(p,r))}if(i){let e="y"===s?"top":"left",t="y"===s?"bottom":"right",n=h+u[e],r=h-u[t];h=k(n,L(h,r))}let m=a.fn({...e,[d]:p,[s]:h});return{...m,data:{x:m.x-t,y:m.y-n,enabled:{[d]:o,[s]:i}}}}},options:[c,s]},q&&{...{name:"flip",options:y=d={...eE},async fn(e){var t,n,r,o,i,a,l,c;let u,s,f,{placement:d,middlewareData:p,rects:h,initialPlacement:m,platform:v,elements:g}=e,{mainAxis:w=!0,crossAxis:b=!0,fallbackPlacements:x,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:R=!0,...A}=F(y,e);if(null!=(t=p.arrow)&&t.alignmentOffset)return{};let C=D(d),L=_(m),k=D(m)===m,T=await (null==v.isRTL?void 0:v.isRTL(g.floating)),P=x||(k||!R?[V(m)]:(u=V(m),[z(m),u,z(u)])),O="none"!==S;!x&&O&&P.push(...(s=W(m),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?$:B;return t?B:$;case"left":case"right":return t?Y:K;default:return[]}}(D(m),"start"===S,T),s&&(f=f.map(e=>e+"-"+s),R&&(f=f.concat(f.map(z)))),f));let M=[m,...P],N=await G(e,A),I=[],X=(null==(n=p.flip)?void 0:n.overflows)||[];if(w&&I.push(N[C]),b){let e,t,n,r,o=(a=d,l=h,void 0===(c=T)&&(c=!1),e=W(a),n=H(t=j(_(a))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=V(r)),[r,V(r)]);I.push(N[o[0]],N[o[1]])}if(X=[...X,{placement:d,overflows:I}],!I.every(e=>e<=0)){let e=((null==(r=p.flip)?void 0:r.index)||0)+1,t=M[e];if(t&&("alignment"!==b||L===_(t)||X.every(e=>_(e.placement)!==L||e.overflows[0]>0)))return{data:{index:e,overflows:X},reset:{placement:t}};let n=null==(o=X.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(i=X.filter(e=>{if(O){let t=_(e.placement);return t===L||"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=m}if(d!==n)return{reset:{placement:n}}}return{}}},options:[d,g]},{...{name:"size",options:x=w={...eE,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,o,{placement:i,rects:a,platform:l,elements:c}=e,{apply:u=()=>{},...s}=F(x,e),f=await G(e,s),d=D(i),p=W(i),h="y"===_(i),{width:m,height:v}=a.floating;"top"===d||"bottom"===d?(r=d,o=p===(await (null==l.isRTL?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(o=d,r="end"===p?"top":"bottom");let g=v-f.top-f.bottom,y=m-f.left-f.right,w=L(v-f[r],g),b=L(m-f[o],y),E=!e.middlewareData.shift,S=w,R=b;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(R=y),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(S=g),E&&!p){let e=k(f.left,0),t=k(f.right,0),n=k(f.top,0),r=k(f.bottom,0);h?R=m-2*(0!==e||0!==t?e+t:k(f.left,f.right)):S=v-2*(0!==n||0!==r?n+r:k(f.top,f.bottom))}await u({...e,availableWidth:R,availableHeight:S});let A=await l.getDimensions(c.floating);return m!==A.width||v!==A.height?{reset:{rects:!0}}:{}}},options:[w,b]},eh&&{...{name:"arrow",options:R=E={element:eh,padding:U},fn(e){let{element:t,padding:n}="function"==typeof R?R(e):R;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?e$({element:t.current,padding:n}).fn(e):{}:t?e$({element:t,padding:n}).fn(e):{}}},options:[E,S]},ta({arrowWidth:eg,arrowHeight:ey}),ea&&{...{name:"hide",options:T=A={strategy:"referenceHidden",...eE},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=F(T,e);switch(n){case"referenceHidden":{let n=J(await G(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:Q(n)}}}case"escaped":{let n=J(await G(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:Q(n)}}}default:return{}}}},options:[A,C]}]}),[eP,eO]=tl(eC),eN=(0,m.useCallbackRef)(ec);(0,eJ.useLayoutEffect)(()=>{eL&&eN?.()},[eL,eN]);let eF=eT.arrow?.x,eD=eT.arrow?.y,eW=eT.arrow?.centerOffset!==0,[ej,eH]=u.useState();return(0,eJ.useLayoutEffect)(()=>{ef&&eH(window.getComputedStyle(ef).zIndex)},[ef]),(0,v.jsx)("div",{ref:eS.setFloating,"data-radix-popper-content-wrapper":"",style:{...eR,transform:eL?eR.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ej,"--radix-popper-transform-origin":[eT.transformOrigin?.x,eT.transformOrigin?.y].join(" "),...eT.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,v.jsx)(e6,{scope:O,placedSide:eP,onArrowChange:em,arrowX:eF,arrowY:eD,shouldHideArrow:eW,children:(0,v.jsx)(h.Primitive.div,{"data-side":eP,"data-align":eO,...eu,ref:ep,style:{...eu.style,animation:eL?void 0:"none"}})})})});tt.displayName=e7;var tn="PopperArrow",tr={top:"bottom",right:"left",bottom:"top",left:"right"},to=u.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=te(tn,n),i=tr[o.placedSide];return(0,v.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,v.jsx)(eZ,{...r,ref:t,style:{...r.style,display:"block"}})})});function ti(e){return null!==e}to.displayName=tn;var ta=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,[c,u]=tl(n),s={start:"0%",center:"50%",end:"100%"}[u],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2,p="",h="";return"bottom"===c?(p=i?s:`${f}px`,h=`${-l}px`):"top"===c?(p=i?s:`${f}px`,h=`${r.floating.height+l}px`):"right"===c?(p=`${-l}px`,h=i?s:`${d}px`):"left"===c&&(p=`${r.floating.width+l}px`,h=i?s:`${d}px`),{data:{x:p,y:h}}}});function tl(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",()=>e4,"Arrow",()=>to,"Content",()=>tt,"Root",()=>e9,"createPopperScope",()=>e2],87489);
1var tc=new WeakMap,tu=new WeakMap,ts={},tf=0,td=function(e){return e&&(e.host||td(e.parentNode))},tp=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=td(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});ts[n]||(ts[n]=new WeakMap);var i=ts[n],a=[],l=new Set,c=new Set(o),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};o.forEach(u);var s=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(tc.get(e)||0)+1,u=(i.get(e)||0)+1;tc.set(e,c),i.set(e,u),a.push(e),1===c&&o&&tu.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return s(t),l.clear(),tf++,function(){a.forEach(function(e){var t=tc.get(e)-1,o=i.get(e)-1;tc.set(e,t),i.set(e,o),t||(tu.has(e)||e.removeAttribute(r),tu.delete(e)),o||e.removeAttribute(n)}),--tf||(tc=new WeakMap,tc=new WeakMap,tu=new WeakMap,ts={})}},th=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"))),tp(r,o,n,"aria-hidden")):function(){return null}};e.s(["hideOthers",()=>th],73772);var tm=function(){return(tm=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 tv(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 tg=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),ty="width-before-scroll-bar";function tw(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tb="undefined"!=typeof window?u.useLayoutEffect:u.useEffect,tx=new WeakMap,tE=(void 0===n&&(n={}),(void 0===r&&(r=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=r(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var n=o;o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(r)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=tm({async:!0,ssr:!1},n),a),tS=function(){},tR=u.forwardRef(function(e,t){var n,r,o,i,a=u.useRef(null),l=u.useState({onScrollCapture:tS,onWheelCapture:tS,onTouchMoveCapture:tS}),c=l[0],s=l[1],f=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,v=e.shards,g=e.sideCar,y=e.noRelative,w=e.noIsolation,b=e.inert,x=e.allowPinchZoom,E=e.as,S=e.gapMode,R=tv(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[a,t],r=function(e){return n.forEach(function(t){return tw(t,e)})},(o=(0,u.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,tb(function(){var e=tx.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||tw(e,null)}),r.forEach(function(e){t.has(e)||tw(e,o)})}tx.set(i,n)},[n]),i),C=tm(tm({},R),c);return u.createElement(u.Fragment,null,m&&u.createElement(g,{sideCar:tE,removeScrollBar:h,shards:v,noRelative:y,noIsolation:w,inert:b,setCallbacks:s,allowPinchZoom:!!x,lockRef:a,gapMode:S}),f?u.cloneElement(u.Children.only(d),tm(tm({},C),{ref:A})):u.createElement(void 0===E?"div":E,tm({},C,{className:p,ref:A}),d))});tR.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tR.classNames={fullWidth:ty,zeroRight:tg};var tA=function(e){var t=e.sideCar,n=tv(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 u.createElement(r,tm({},n))};
1tA.isSideCarExport=!0;var tC=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=c||("undefined"!=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)}}},tL=function(){var e=tC();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tk=function(){var e=tL();return function(t){return e(t.styles,t.dynamic),null}},tT={left:0,top:0,right:0,gap:0},tP=function(e){return parseInt(e||"",10)||0},tO=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[tP(n),tP(r),tP(o)]},tM=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tT;var t=tO(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])}},tN=tk(),tF="data-scroll-locked",tD=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(tF,"] {\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(tg," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(ty," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tg," .").concat(tg," {\n right: 0 ").concat(r,";\n }\n \n .").concat(ty," .").concat(ty," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(tF,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},tW=function(){var e=parseInt(document.body.getAttribute(tF)||"0",10);return isFinite(e)?e:0},tj=function(){u.useEffect(function(){return document.body.setAttribute(tF,(tW()+1).toString()),function(){var e=tW()-1;e<=0?document.body.removeAttribute(tF):document.body.setAttribute(tF,e.toString())}},[])},tH=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;tj();var i=u.useMemo(function(){return tM(o)},[o]);return u.createElement(tN,{styles:tD(i,!t,o,n?"":"!important")})},tI=!1;if("undefined"!=typeof window)try{var t_=Object.defineProperty({},"passive",{get:function(){return tI=!0,!0}});window.addEventListener("test",t_,t_),window.removeEventListener("test",t_,t_)}catch(e){tI=!1}var tz=!!tI&&{passive:!1},tB=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])},t$=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),tY(e,r)){var o=tK(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},tY=function(e,t){return"v"===e?tB(t,"overflowY"):tB(t,"overflowX")},tK=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tV=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,c=n.target,u=t.contains(c),s=!1,f=l>0,d=0,p=0;do{if(!c)break;var h=tK(e,c),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&tY(e,c)&&(d+=v,p+=m);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&c!==document.body||u&&(t.contains(c)||t===c))return f&&(o&&1>Math.abs(d)||!o&&l>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},tX=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tU=function(e){return[e.deltaX,e.deltaY]},tq=function(e){return e&&"current"in e?e.current:e},tZ=0,tG=[];let tJ=(l=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(tZ++)[0],i=u.useState(tk)[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.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))}
1)([e.lockRef.current],(e.shards||[]).map(tq),!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=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=tX(e),l=n.current,c="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,f=Math.abs(c)>Math.abs(u)?"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 h=t$(f,s);if(!h)return!0;if(h?o=f:(o="v"===f?"h":"v",h=t$(f,s)),!h)return!1;if(!r.current&&"changedTouches"in e&&(c||u)&&(r.current=o),!o)return!0;var m=r.current||o;return tV(m,t,e,"h"===m?c:u,!0)},[]),c=u.useCallback(function(e){if(tG.length&&tG[tG.length-1]===i){var n="deltaY"in e?tU(e):tX(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(tq).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=u.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=u.useCallback(function(e){n.current=tX(e),r.current=void 0},[]),d=u.useCallback(function(t){s(t.type,tU(t),t.target,l(t,e.lockRef.current))},[]),p=u.useCallback(function(t){s(t.type,tX(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return tG.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,tz),document.addEventListener("touchmove",c,tz),document.addEventListener("touchstart",f,tz),function(){tG=tG.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,tz),document.removeEventListener("touchmove",c,tz),document.removeEventListener("touchstart",f,tz)}},[]);var h=e.removeScrollBar,m=e.inert;return u.createElement(u.Fragment,null,m?u.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?u.createElement(tH,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tE.useMedium(l),tA);var tQ=u.forwardRef(function(e,t){return u.createElement(tR,tm({},e,{ref:t,sideCar:tJ}))});tQ.classNames=tR.classNames,e.s(["RemoveScroll",0,tQ],14329);var t0=e.i(16212);e.s(["CheckIcon",()=>t0.default],49894)}]);
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.