1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26330,30207,53660,74606,e=>{"use strict";let t;var n,r=e.i(71645),i=e.i(81140),o=e.i(48425),l=e.i(20783);function a(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}(0,Object.defineProperty)(a,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,a],30207);var s=e.i(43476),u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0}),f="dismissableLayer.update",d=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),p=r.forwardRef(c(function(e,t){let{disableOutsidePointerEvents:u=!1,deferPointerDownOutside:p=!1,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:b,onDismiss:x,...E}=e,P=r.useContext(d),[R,C]=r.useState(null),L=R?.ownerDocument??globalThis?.document,[,A]=r.useState({}),O=(0,l.useComposedRefs)(t,C),S=Array.from(P.layers),[T]=[...P.layersWithOutsidePointerEventsDisabled].slice(-1),D=T?S.indexOf(T):-1,k=R?S.indexOf(R):-1,F=P.layersWithOutsidePointerEventsDisabled.size>0,H=k>=D,j=r.useRef(!1),W=h(e=>{y?.(e),b?.(e),e.defaultPrevented||x?.()},{ownerDocument:L,deferPointerDownOutside:p,isDeferredPointerDownOutsideRef:j,dismissableSurfaces:P.dismissableSurfaces,shouldHandlePointerDownOutside:r.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...P.branches].some(t=>t.contains(e));return H&&!t},[P.branches,H])}),M=g(e=>{if(p&&j.current)return;let t=e.target;![...P.branches].some(e=>e.contains(t))&&(w?.(e),b?.(e),e.defaultPrevented||x?.())},L),B=!!R&&k===S.length-1,$=a(e=>{"Escape"===e.key&&(m?.(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))});return r.useEffect(()=>{if(B)return L.addEventListener("keydown",$,{capture:!0}),()=>L.removeEventListener("keydown",$,{capture:!0})},[L,B,$]),r.useEffect(()=>{if(R)return u&&(0===P.layersWithOutsidePointerEventsDisabled.size&&(n=L.body.style.pointerEvents,L.body.style.pointerEvents="none"),P.layersWithOutsidePointerEventsDisabled.add(R)),P.layers.add(R),v(),()=>{u&&(P.layersWithOutsidePointerEventsDisabled.delete(R),0===P.layersWithOutsidePointerEventsDisabled.size&&(L.body.style.pointerEvents=n))}},[R,L,u,P]),r.useEffect(()=>()=>{R&&(P.layers.delete(R),P.layersWithOutsidePointerEventsDisabled.delete(R),v())},[R,P]),r.useEffect(()=>{let e=c(()=>A({}),"handleUpdate");return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,s.jsx)(o.Primitive.div,{...E,ref:O,style:{pointerEvents:F?H?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.composeEventHandlers)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,i.composeEventHandlers)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,i.composeEventHandlers)(e.onPointerDownCapture,W.onPointerDownCapture)})},"DismissableLayer"));c(function(){let e=r.useContext(d),[t,n]=r.useState(null);return r.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n},"useDismissableLayerSurface");var m=c(()=>!0,"IS_TRUE");function h(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:l,shouldHandlePointerDownOutside:s=m}=t,u=a(e),f=r.useRef(!1),d=r.useRef(!1),p=r.useRef(new Map),h=r.useRef(()=>{});return r.useEffect(()=>{function e(){d.current=!1,o.current=!1,p.current.clear()}function t(){return Array.from(p.current.values()).some(Boolean)}function r(e){if(!d.current)return;let t=e.target;t instanceof Node&&[...l].some(e=>e.contains(t))||p.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{d.current&&h.current()},0)}function a(e){d.current&&p.current.set(e.type,!1)}c(e,"resetOutsideInteraction"),c(t,"isOutsideInteractionIntercepted"),c(r,"handleInteractionCapture"),c(a,"handleInteractionBubble");let m=c(r=>{if(r.target&&!f.current){let l=function(){n.removeEventListener("click",h.current);let r=t();e(),r||y("dismissableLayer.pointerDownOutside",u,a,{discrete:!0})};if(c(l,"handleAndDispatchPointerDownOutsideEvent"),!s(r.target)){n.removeEventListener("click",h.current),e(
1),f.current=!1;return}let a={originalEvent:r};d.current=!0,o.current=i&&0===r.button,p.current.clear(),i&&0===r.button?(n.removeEventListener("click",h.current),h.current=l,n.addEventListener("click",h.current,{once:!0})):l()}else n.removeEventListener("click",h.current),e();f.current=!1},"handlePointerDown"),g=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of g)n.addEventListener(e,r,!0),n.addEventListener(e,a);let v=window.setTimeout(()=>{n.addEventListener("pointerdown",m)},0);return()=>{for(let e of(window.clearTimeout(v),n.removeEventListener("pointerdown",m),n.removeEventListener("click",h.current),g))n.removeEventListener(e,r,!0),n.removeEventListener(e,a)}},[n,u,i,o,l,s]),{onPointerDownCapture:c(()=>f.current=!0,"onPointerDownCapture")}}function g(e,t=globalThis?.document){let n=a(e),i=r.useRef(!1);return r.useEffect(()=>{let e=c(e=>{e.target&&!i.current&&y("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:c(()=>i.current=!0,"onFocusCapture"),onBlurCapture:c(()=>i.current=!1,"onBlurCapture")}}function v(){let e=new CustomEvent(f);document.dispatchEvent(e)}function y(e,t,n,{discrete:r}){let i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(i,l):i.dispatchEvent(l)}c(h,"usePointerDownOutside"),c(g,"useFocusOutside"),c(v,"dispatchUpdate"),c(y,"handleAndDispatchCustomEvent"),e.s(["DismissableLayer",0,p],26330);let w=["top","right","bottom","left"],b=Math.min,x=Math.max,E=Math.round,P=Math.floor,R=e=>({x:e,y:e}),C={left:"right",right:"left",bottom:"top",top:"bottom"};function L(e,t){return"function"==typeof e?e(t):e}function A(e){return e.split("-")[0]}function O(e){return e.split("-")[1]}function S(e){return"x"===e?"y":"x"}function T(e){return"y"===e?"height":"width"}function D(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function k(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let F=["left","right"],H=["right","left"],j=["top","bottom"],W=["bottom","top"];function M(e){let t=A(e);return C[t]+e.slice(t.length)}function B(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function $(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function z(e,t,n){let r,{reference:i,floating:o}
1=e,l=D(t),a=S(D(t)),s=T(a),u=A(t),c=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,d=i[s]/2-o[s]/2;switch(u){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}let p=O(t);return p&&(r[a]+=d*("end"===p?1:-1)*(n&&"y"===l?-1:1)),r}async function V(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=L(t,e),m=B(p),h=a[d?"floating"===f?"reference":"floating":f],g=$(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(h)))||n?h:h.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===f?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},b=$(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-b.top+m.top)/w.y,bottom:(b.bottom-g.bottom+m.bottom)/w.y,left:(g.left-b.left+m.left)/w.x,right:(b.right-g.right+m.right)/w.x}}let I=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:V},s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=z(u,r,s),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:g,fn:v}=h,{x:y,y:w,data:b,reset:x}=await v({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=w?w:f,m[g]={...m[g],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(u=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:f}=z(u,d,s)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:m}};function N(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _(e){return w.some(t=>e[t]>=0)}let U=new Set(["left","top"]);async function Y(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=A(n),a=O(n),s="y"===D(n),u=U.has(l)?-1:1,c=o&&s?-1:1,f=L(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function X(){return"u">typeof window}function q(e){return J(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(J(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function J(e){return!!X()&&(e instanceof Node||e instanceof K(e).Node)}function Q(e){return!!X()&&(e instanceof Element||e instanceof K(e).Element)}function Z(e){return!!X()&&(e instanceof HTMLElement||e instanceof K(e).HTMLElement)}function ee(e){return!(!X()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof K(e).ShadowRoot)}function et(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=eu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function en(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let er=/transform|translate|scale|rotate|perspective|filter/,ei=/paint|layout|strict|content/,eo=e=>!!e&&"none"!==e;function el(e){let t=Q(e)?eu(e):e;return eo(t.transform)||eo(t.translate)||eo(t.scale)||eo(t.rotate)||eo(t.perspective)||!ea()&&(eo(t.backdropFilter)||eo(t.filter))||er.test(t.willChange||"")||ei.test(t.contain||"")}function ea(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function es(e){return/^(html|body|#document)$/.test(q(e))}function eu(e){return K(e).getComputedStyle(e)}function ec(e){return Q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ef(e){if("html"===q(e))return e;let t=e.assignedSlot||e.parentNode||ee(e)&&e.host||G(e);return ee(t)?t.host:t}function ed(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=ef(t);return es(n)?(t.ownerDocument||t).body:Z(n)&&et(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=K(i);if(!o)return t.concat(i,ed(i,[],n));{let e=ep(l);
1return t.concat(l,l.visualViewport||[],et(i)?i:[],e&&n?ed(e):[])}}function ep(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function em(e){let t=eu(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Z(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=E(n)!==o||E(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function eh(e){return Q(e)?e:e.contextElement}function eg(e){let t=eh(e);if(!Z(t))return R(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=em(t),l=(o?E(n.width):n.width)/r,a=(o?E(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ev=R(0);function ey(e){let t=K(e);return ea()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ev}function ew(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=eh(e),a=R(1);t&&(r?Q(r)&&(a=eg(r)):a=eg(e));let s=(void 0===(i=n)&&(i=!1),r&&i&&r===K(l))?ey(l):R(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,f=o.width/a.x,d=o.height/a.y;if(l&&r){let e=K(l),t=Q(r)?K(r):r,n=e,i=ep(n);for(;i&&t!==n;){let e=eg(i),t=i.getBoundingClientRect(),r=eu(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=o,c+=l,i=ep(n=K(i))}}return $({width:f,height:d,x:u,y:c})}function eb(e,t){let n=ec(e).scrollLeft;return t?t.left+n:ew(G(e)).left+n}function ex(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eb(e,n),y:n.top+t.scrollTop}}function eE(e,t,n){var r;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=K(e),o=G(e),l=i.visualViewport,a=o.clientWidth,s=o.clientHeight,u=0,c=0;if(l){let e=!ea()||"fixed"===t;r?e||(u=-l.offsetLeft,c=-l.offsetTop):(a=l.width,s=l.height,e&&(u=l.offsetLeft,c=l.offsetTop))}if(0>=eb(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(a-=l)}return{width:a,height:s,x:u,y:c}}(e,n,t);else if("document"===t){let t,n,o,l,a,s;t=ec(r=G(e)),n=r.ownerDocument.body,o=x(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),l=x(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+eb(r),s=-t.scrollTop,"rtl"===eu(n).direction&&(a+=x(r.clientWidth,n.clientWidth)-o),i={width:o,height:l,x:a,y:s}}else if(Q(t)){let e,r,o,l,a,s;r=(e=ew(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=eg(t),a=t.clientWidth*l.x,s=t.clientHeight*l.y,i={width:a,height:s,x:o*l.x,y:r*l.y}}else{let n=ey(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return $(i)}function eP(e){return"static"===eu(e).position}function eR(e,t){if(!Z(e)||"fixed"===eu(e).position)return null;if(t)return t(e);let n=e.offsetParent;return G(e)===n&&(n=n.ownerDocument.body),n}function eC(e,t){var n;let r=K(e);if(en(e))return r;if(!Z(e)){let t=ef(e);for(;t&&!es(t);){if(Q(t)&&!eP(t))return t;t=ef(t)}return r}let i=eR(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(q(n)))&&eP(i);)i=eR(i,t);return i&&es(i)&&eP(i)&&!el(i)?r:i||function(e){let t=ef(e);for(;Z(t)&&!es(t);){if(el(t))return t;if(en(t))break;t=ef(t)}return null}(e)||r}let eL=async function(e){let t=this.getOffsetParent||eC,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Z(t),i=G(t),o="fixed"===n,l=ew(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=R(0);if((r||!o)&&(("body"!==q(t)||et(i))&&(a=ec(t)),r)){let e=ew(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!r&&i&&(s.x=eb(i));let u=!i||r||o?R(0):ex(i,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eA={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=G(r),a=!!t&&en(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},u=R(1),c=R(0),f=Z(r);if((f||!o)&&(("body"!==q(r)||et(l))&&(s=ec(r)),f)){let e=ew(r);u=eg(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let d=!l||f||o?R(0):ex(l,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-s.scrollTop*u.y+c.y+d.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?en(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ed(e,[],!1).filter(e=>Q(e)&&"body"!==q(e)),i=null,o="fixed"===eu(e).position,l=o?ef(e):e;for(;Q(l)&&!es(l);){let e=eu(l),t=el(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=ef(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=eE(t,o[0],i),a=l.top,s=l.right,u=l.bottom,c=l.left;for(let e=1;e<o.length;e++){let n=eE(t,o[e],i);a=x(n.top,a),s=b(n.right,s),u=b(n.bottom,u),c=x(n.left,c)}return{width:s-c,height:u-a,x:c,y:a}},getOffsetParent:eC,getElementRects:eL,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=em(e);return{width:t,height:n}},getScale:eg,isElement:Q,isRTL:function(e){return"rtl"===eu(e).direction}};function eO(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eS=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=L(e,t)||{};if(null==u)return{};let f=B(c),d={x:n,y:r},p=S(D(i)),m=T(p),h=await l.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",y=o.reference[m]+o.reference[p]-d[p]-o.floating[m],w=d[p]-o.reference[p],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),P=E?E[v]:0;P&&await (null==l.isElement?void 0:l.isElement(E))||(P=a.floating[v]||o.floating[m]);let R=P/2-h[m]/2-1,C=b(f[g?"top":"left"],R),A=b(f[g?"bottom":"right"],R),k=P-h[m]-A,F=P/2-h[m]/2+(y/2-w/2),H=x(C,b(F,k)),j=!s.arrow&&null!=O(i)&&F!==H&&o.reference[m]/2-(F<C?C:A)-h[m]/2<0,W=j?F<C?F-C:F-k:0;return{[p]:d[p]+W,data:{[p]:H,centerOffset:F-H-W,...j&&{alignmentOffset:W}},reset:j}}});var eT=e.i(74080),eD="u">typeof document?r.useLayoutEffect:function(){};function ek(e,t){let n,r,i;if(e===t)return!0;
1if(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(!ek(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ek(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eF(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eH(e,t){let n=eF(e);return Math.round(t*n)/n}function ej(e){let t=r.useRef(e);return eD(()=>{t.current=e}),t}var eW=Object.defineProperty,eM=r.forwardRef(eW(function(e,t){let{children:n,width:r=10,height:i=5,...l}=e;return(0,s.jsx)(o.Primitive.svg,{...l,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),eB=e.i(30030),e$=e.i(34620),ez=e.i(35804),eV=Object.defineProperty,eI=(e,t)=>eV(e,"name",{value:t,configurable:!0}),eN="Popper",[e_,eU]=(0,eB.createContextScope)(eN),[eY,eX]=e_(eN),eq=eI(e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null),[l,a]=r.useState(void 0);return(0,s.jsx)(eY,{scope:t,anchor:i,onAnchorChange:o,placementState:l,setPlacementState:a,children:n})},"Popper"),eK=r.forwardRef(eI(function(e,t){let{__scopePopper:n,virtualRef:i,...a}=e,u=eX("PopperAnchor",n),c=r.useRef(null),f=u.onAnchorChange,d=r.useCallback(e=>{c.current=e,e&&f(e)},[f]),p=(0,l.useComposedRefs)(t,d),m=r.useRef(null);r.useEffect(()=>{if(!i)return;let e=m.current;m.current=i.current,e!==m.current&&f(m.current)});let h=u.placementState&&e5(u.placementState),g=h?.[0],v=h?.[1];return i?null:(0,s.jsx)(o.Primitive.div,{"data-radix-popper-side":g,"data-radix-popper-align":v,...a,ref:p})},"PopperAnchor")),eG="PopperContent",[eJ,eQ]=e_(eG),eZ=r.forwardRef(eI(function(e,t){var n,i,u,c,f,d,p,m,h,g,v,y,w;let E,R,C,B,$,z,{__scopePopper:V,side:X="bottom",sideOffset:q=0,align:J="center",alignOffset:Q=0,arrowPadding:Z=0,avoidCollisions:ee=!0,collisionBoundary:et=[],collisionPadding:en=0,sticky:er="partial",hideWhenDetached:ei=!1,updatePositionStrategy:eo="optimized",onPlaced:el,...ea}=e,es=eX(eG,V),[eu,ec]=r.useState(null),ef=(0,l.useComposedRefs)(t,ec),[ep,em]=r.useState(null),eg=(0,ez.useSize)(ep),ev=eg?.width??0,ey=eg?.height??0,eb="number"==typeof en?en:{top:0,right:0,bottom:0,left:0,...en},ex=Array.isArray(et)?et:[et],eE=ex.length>0,eP={padding:eb,boundary:ex.filter(e2),altBoundary:eE},{refs:eR,floatingStyles:eC,placement:eL,isPositioned:eW,middlewareData:eM}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=r.useState(i);ek(p,i)||m(i);let[h,g]=r.useState(null),[v,y]=r.useState(null),w=r.useCallback(e=>{e!==P.current&&(P.current=e,g(e))},[]),b=r.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=l||h,E=a||v,P=r.useRef(null),R=r.useRef(null),C=r.useRef(f),L=null!=u,A=ej(u),O=ej(o),S=ej(c),T=r.useCallback(()=>{var e,r;let i,o,l;if(!P.current||!R.current)return;let a={placement:t,strategy:n,middleware:p};O.current&&(a.platform=O.current),(e=P.current,r=R.current,i=new Map,o=null!=a?a:{},l={...eA,...o.platform,_c:i},I(e,r,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==S.current};D.current&&!ek(C.current,t)&&(C.current=t,eT.flushSync(()=>{d(t)}))})},[p,t,n,O,S]);eD(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let D=r.useRef(!1);eD(()=>(D.current=!0,()=>{D.current=!1}),[]),eD(()=>{if(x&&(P.current=x),E&&(R.current=E),x&&E){if(A.current)return A.current(x,E,T);T()}},[x,E,T,A,L]);let k=r.useMemo(()=>({reference:P,floating:R,setReference:w,setFloating:b}),[w,b]),F=r.useMemo(()=>({reference:x,floating:E}),[x,E]),H=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=eH(F.floating,f.x),r=eH(F.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eF(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,F.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:T,refs:k,elements:F,floatingStyles:H}),[f,T,k,F,H])}({strategy:"fixed",placement:X+("center"!==J?"-"+J:""),whileElementsMounted:eI((...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=eh(e),f=o||l?[...c?ed(c):[],...t?ed(t):[]]:[];
1f.forEach(e=>{o&&e.addEventListener("scroll",n),l&&e.addEventListener("resize",n)});let d=c&&s?function(e,t,n){let r,i=null,o=G(e);function l(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function a(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),l();let u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(n||t(),!d||!p)return;let m={rootMargin:-P(f)+"px "+-P(o.clientWidth-(c+d))+"px "+-P(o.clientHeight-(f+p))+"px "+-P(c)+"px",threshold:x(0,b(1,s))||1},h=!0;function g(t){let n=t[0].intersectionRatio;if(!eO(u,e.getBoundingClientRect()))return a();if(n!==s){if(!h)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}h=!1}try{i=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(g,m)}i.observe(e)}let s=K(e),u=()=>a(n);return s.addEventListener("resize",u),a(!0),()=>{s.removeEventListener("resize",u),l()}}(c,n,l):null,p=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!u&&m.observe(c),t&&m.observe(t));let h=u?ew(e):null;return u&&function t(){let r=ew(e);h&&!eO(h,r)&&n(),h=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===eo}),"whileElementsMounted"),elements:{reference:es.anchor},middleware:[{name:(E={name:"offset",options:i=n={mainAxis:q+ey,alignmentAxis:Q},async fn(e){var t,n;let{x:r,y:o,placement:l,middlewareData:a}=e,s=await Y(e,i);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:o+s.y,data:{...s,placement:l}}}}).name,fn:E.fn,options:[n,void 0]},ee&&{name:(R={name:"shift",options:f=c={mainAxis:!0,crossAxis:!1,limiter:"partial"===er?{fn:(u=void 0,{options:u={},fn(e){var t,n,r,i;let{x:o,y:l,placement:a,rects:s,middlewareData:c}=e,{offset:f=0,mainAxis:d=!0,crossAxis:p=!0}=L(u,e),m={x:o,y:l},h=D(a),g=S(h),v=m[g],y=m[h],w=L(f,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(t=w.mainAxis)?t:0,crossAxis:null!=(n=w.crossAxis)?n:0};if(d){let e="y"===g?"height":"width",t=s.reference[g]-s.floating[e]+b.mainAxis,n=s.reference[g]+s.reference[e]-b.mainAxis;v<t?v=t:v>n&&(v=n)}if(p){let e="y"===g?"width":"height",t=U.has(A(a)),n=s.reference[h]-s.floating[e]+(t&&(null==(r=c.offset)?void 0:r[h])||0)+(t?0:b.crossAxis),o=s.reference[h]+s.reference[e]+(t?0:(null==(i=c.offset)?void 0:i[h])||0)-(t?b.crossAxis:0);y<n?y=n:y>o&&(y=o)}return{[g]:v,[h]:y}}}).fn,options:[void 0,void 0]}:void 0,...eP},async fn(e){let{x:t,y:n,placement:r,platform:i}=e,{mainAxis:o=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=L(f,e),u={x:t,y:n},c=await i.detectOverflow(e,s),d=D(r),p=S(d),m=u[p],h=u[d],g=(e,t)=>x(t+c["y"===e?"top":"left"],b(t,t-c["y"===e?"bottom":"right"]));o&&(m=g(p,m)),l&&(h=g(d,h));let v=a.fn({...e,[p]:m,[d]:h});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[p]:o,[d]:l}}}}}).name,fn:R.fn,options:[c,void 0]},ee&&{name:(C={name:"flip",options:p=d={...eP},async fn(e){var t,n,r,i,o,l,a,s;let u,c,f,{placement:d,middlewareData:m,rects:h,initialPlacement:g,platform:v,elements:y}=e,{mainAxis:w=!0,crossAxis:b=!0,fallbackPlacements:x,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:R=!0,...C}=L(p,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let B=A(d),$=D(g),z=A(g)===g,V=await (null==v.isRTL?void 0:v.isRTL(y.floating)),I=x||(z||!R?[M(g)]:(u=M(g),[k(g),u,k(u)])),N="none"!==P;!x&&N&&I.push(...(c=O(g),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?H:F;return t?F:H;case"left":case"right":return t?j:W;default:return[]}}(A(g),"start"===P,V),c&&(f=f.map(e=>e+"-"+c),R&&(f=f.concat(f.map(k)))),f));let _=[g,...I],U=await v.detectOverflow(e,C),Y=[],X=(null==(n=m.flip)?void 0:n.overflows)||[];if(w&&Y.push(U[B]),b){let e,t,n,r,i=(l=d,a=h,void 0===(s=V)&&(s=!1),e=O(l),n=T(t=S(D(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=M(r)),[r,M(r)]);Y.push(U[i[0]],U[i[1]])}if(X=[...X,{placement:d,overflows:Y}],!Y.every(e=>e<=0)){let e=((null==(r=m.flip)?void 0:r.index)||0)+1,t=_[e];if(t&&("alignment"!==b||$===D(t)||X.every(e=>D(e.placement)!==$||e.overflows[0]>0)))return{data:{index:e,overflows:X},reset:{placement:t}};let n=null==(i=X.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(E){case"bestFit":{let e=null==(o=X.filter(e=>{if(N){let t=D(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:o[0];e&&(n=e);break}case"initialPlacement":n=g}if(d!==n)return{reset:{placement:n}}}return{}}}).name,fn:C.fn,options:[d,void 0]},{name:(B={name:"size",options:h=m={...eP,apply:eI(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)},"apply")},async fn(e){let t,n,{placement:r,rects:i,platform:o,elements:l}=e,{apply:a=()=>{},...s}=L(h,e),u=await o.detectOverflow(e,s),c=A(r),f=O(r),d="y"===D(r),{width:p,height:m}=i.floating;"top"===c||"bottom"===c?(t=c,n=f===(await (null==o.isRTL?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(n=c,t="end"===f?"top":"bottom");let g=m-u.top-u.bottom,v=p-u.left-u.right,y=b(m-u[t],g),w=b(p-u[n],v),E=e.middlewareData.shift,P=!E,R=y,C=w;null!=E&&E.enabled.x&&(C=v),null!=E&&E.enabled.y&&(R=g),P&&!f&&(d?C=p-2*x(u.left,u.right):R=m-2*x(u.top,u.bottom)),await a({...e,availableWidth:C,availableHeight:R});let S=await o.getDimensions(l.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}).name,fn:B.fn,options:[m,void 0]},ep&&{name:($={name:"arrow",options:v=g={element:ep,padding:Z},fn(e){let{element:t,padding:n}="function"==typeof v?v(e):v;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eS({element:t.current,padding:n}).fn(e):{}:t?eS({element:t,padding:n}).fn(e):{}}}).name,fn:$.fn,options:[g,void 0]},e3({arrowWidth:ev,arrowHeight:ey}),ei&&{name:(z={name:"hide",options:w=y={strategy:"referenceHidden",...eP,boundary:eE?eP.boundary:void 0},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=L(w,e);switch(r){case"referenceHidden":{let r=N(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:_(r)}}}case"escaped":{let r=N(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:_(r)}}}default:return{}}}}).name,fn:z.fn,options:[y,void 0]}]}),eB=es.setPlacementState;(0,e$.useLayoutEffect)(()=>(eB(eL),()=>{eB(void 0)}),[eL,eB]);let[eV,eN]=e5(eL),e_=a(el);(0,e$.useLayoutEffect)(()=>{eW&&e_?.()},[eW,e_]);let eU=eM.arrow?.x,eY=eM.arrow?.y,eq=eM.arrow?.centerOffset!==0,[eK,eQ]=r.useState();return(0,e$.useLayoutEffect)(()=>{eu&&eQ(window.getComputedStyle(eu).zIndex)},[eu]),(0,s.jsx)("div",{ref:eR.setFloating,"data-radix-popper-content-wrapper":"",style:{...eC,transform:eW?eC.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eK,"--radix-popper-transform-origin":[eM.transformOrigin?.x,eM.transformOrigin?.y].join(" "),...eM.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(eJ,{scope:V,placedSide:eV,placedAlign:eN,onArrowChange:em,arrowX:eU,arrowY:eY,shouldHideArrow:eq,children:(0,s.jsx)(o.Primitive.div,{"data-side":eV,"data-align":eN,...ea,ref:ef,style:{...ea.style,animation:eW?ea.style?.animation:"none"}})})})},"PopperContent")),e0={top:"bottom",right:"left",bottom:"top",left:"right"},e1=r.forwardRef(eI(function(e,t){let{__scopePopper:n,...r}=e,i=eQ("PopperArrow",n),o=e0[i.placedSide];return(0,s.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,s.jsx)(eM,{...r,ref:t,style:{...r.style,display:"block"}})})},"PopperArrow"));function e2(e){return null!==e}eI(e2,"isNotNull");var e3=eI(e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[s,u]=e5(n),c={start:"0%",center:"50%",end:"100%"}[u],f=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",m="";return"bottom"===s?(p=o?c:`${f}px`,m=`${-a}px`):"top"===s?(p=o?c:`${f}px`,m=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,m=o?c:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,m=o?c:`${d}px`),{data:{x:p,y:m}}}}),"transformOrigin");function e5(e){let[t,n="center"]=e.split("-");return[t,n]}eI(e5,"getSideAndAlignFromPlacement"),e.s(["Anchor",0,eK,"Arrow",0,e1,"Content",0,eZ,"Root",0,eq,"createPopperScope",0,eU],53660);var e6=Object.defineProperty,e4=r.forwardRef(e6(function(e,t){let{c
1ontainer:n,...i}=e,[l,a]=r.useState(!1);(0,e$.useLayoutEffect)(()=>a(!0),[]);let u=n||l&&globalThis?.document?.body;return u?eT.createPortal((0,s.jsx)(o.Primitive.div,{...i,ref:t}),u):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",0,e4],74606)}]);
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.