1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8697],{32489:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},15278:function(e,t,n){n.d(t,{I0:function(){return g},XB:function(){return d},fC:function(){return v}});var r,i=n(2265),o=n(6741),l=n(66840),a=n(98575),u=n(26606),s=n(57437),f="dismissableLayer.update",c=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=i.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=i.useContext(c),[R,A]=i.useState(null),L=null!==(d=null==R?void 0:R.ownerDocument)&&void 0!==d?d:null===(n=globalThis)||void 0===n?void 0:n.document,[,C]=i.useState({}),O=(0,a.e)(t,e=>A(e)),P=Array.from(E.layers),[S]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),T=P.indexOf(S),D=R?P.indexOf(R):-1,W=E.layersWithOutsidePointerEventsDisabled.size>0,k=D>=T,H=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!k||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==x||x())},L),F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},L);return!function(e,t=globalThis?.document){let n=(0,u.W)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{D!==E.layers.size-1||(null==v||v(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},L),i.useEffect(()=>{if(R)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=L.body.style.pointerEvents,L.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),h(),()=>{p&&1===E.layersWithOutsidePointerEventsDisabled.size&&(L.body.style.pointerEvents=r)}},[R,L,p,E]),i.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),h())},[R,E]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,s.jsx)(l.WV.div,{...b,ref:O,style:{pointerEvents:W?k?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.M)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,o.M)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,o.M)(e.onPointerDownCapture,H.onPointerDownCapture)})});d.displayName="DismissableLayer";var p=i.forwardRef((e,t)=>{let n=i.useContext(c),r=i.useRef(null),o=(0,a.e)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(l.WV.div,{...e,ref:o})});function h(){let e=new CustomEvent(f);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,l.jH)(o,a):o.dispatchEvent(a)}p.displayName="DismissableLayerBranch";var v=d,g=p},26008:function(e,t,n){let r;n.d(t,{ee:function(){return e5},Eh:function(){return e7},VY:function(){return e8},fC:function(){return e6},D7:function(){return eN}});var i=n(2265);let o=["top","right","bottom","left"],l=Math.min,a=Math.max,u=Math.round,s=Math.floor,f=e=>({x:e,y:e}
1),c={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],x=["right","left"],b=["top","bottom"],E=["bottom","top"];function R(e){let t=p(e);return c[t]+e.slice(t.length)}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function L(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 C(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=m(g(t)),u=v(a),s=p(t),f="y"===l,c=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[u]/2-o[u]/2;switch(s){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:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[a]-=y*(n&&f?-1:1);break;case"end":r[a]+=y*(n&&f?-1:1)}return r}async function O(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=A(h),v=a[p?"floating"===c?"reference":"floating":c],g=L(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:u})),y="floating"===c?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=L(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-b.top+m.top)/x.y,bottom:(b.bottom-g.bottom+m.bottom)/x.y,left:(g.left-b.left+m.left)/x.x,right:(b.right-g.right+m.right)/x.x}}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:O},u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=C(s,r,u),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:v,fn:g}=m,{x:y,y:w,data:x,reset:b}=await g({x:f,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:e,floating:t}});f=null!=y?y:f,c=null!=w?w:c,h[v]={...h[v],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:f,y:c}=C(s,d,u)),n=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}};function S(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return o.some(t=>e[t]>=0)}let D=new Set(["left","top"]);async function W(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),u="y"===g(n),s=D.has(l)?-1:1,f=o&&u?-1:1,c=d(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),u?{x:v*f,y:m*s}:{x:m*s,y:v*f}}function k(){return"undefined"!=typeof window}function H(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!k()&&(e instanceof Node||e instanceof F(e).Node)}function z(e){return!!k()&&(e instanceof Element||e instanceof F(e).Element)}function B(e){return!!k()&&(e instanceof HTMLElement||e instanceof F(e).HTMLElement)}function V(e){return!!k()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof F(e).ShadowRoot)}function N(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function _(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/,X=/paint|layout|strict|content/,Y=e=>!!e&&"none"!==e;function $(e){let t=z(e)?G(e):e;return Y(t.transform)||Y(t.translate)||Y(t.scale)||Y(t.rotate)||Y(t.perspective)||!q()&&(Y(t.backdropFilter)||Y(t.filter))||I.test(t.willChange||"")||X.test(t.contain||"")}function q(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function Z(e){return/^(html|body|#document)$/.test(H(e))}function G(e){return F(e).getComputedStyle(e)}function J(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||V(e)&&e.host||M(e);return V(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=K(t);return Z(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&N(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=F(i);if(!o)return t.concat(i,Q(i,[],n));{let e=U(l);
1return t.concat(l,l.visualViewport||[],N(i)?i:[],e&&n?Q(e):[])}}function U(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=B(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=u(n)!==o||u(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function et(e){return z(e)?e:e.contextElement}function en(e){let t=et(e);if(!B(t))return f(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),l=(o?u(n.width):n.width)/r,a=(o?u(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let er=f(0);function ei(e){let t=F(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),a=f(1);t&&(r?z(r)&&(a=en(r)):a=en(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===F(l))&&i)?ei(l):f(0),s=(o.left+u.x)/a.x,c=(o.top+u.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=F(l),t=r&&z(r)?F(r):r,n=e,i=U(n);for(;i&&r&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=G(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,p*=e.y,s+=o,c+=l,i=U(n=F(i))}}return L({width:d,height:p,x:s,y:c})}function el(e,t){let n=J(e).scrollLeft;return t?t.left+n:eo(M(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function eu(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=F(e),r=M(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,u=0;if(i){o=i.width,l=i.height;let e=q();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}let s=el(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=M(e),n=J(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+el(e),u=-n.scrollTop;return"rtl"===G(r).direction&&(l+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:u}}(M(e));else if(z(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=B(e)?en(e):f(1),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=ei(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return L(r)}function es(e){return"static"===G(e).position}function ef(e,t){if(!B(e)||"fixed"===G(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=F(e);if(_(e))return r;if(!B(e)){let t=K(e);for(;t&&!Z(t);){if(z(t)&&!es(t))return t;t=K(t)}return r}let i=ef(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(H(n)))&&es(i);)i=ef(i,t);return i&&Z(i)&&es(i)&&!$(i)?r:i||function(e){let t=K(e);for(;B(t)&&!Z(t);){if($(t))return t;if(_(t))break;t=K(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=B(t),i=M(t),o="fixed"===n,l=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=f(0);if(r||!r&&!o){if(("body"!==H(t)||N(i))&&(a=J(t)),r){let e=eo(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=el(i))}o&&!r&&i&&(u.x=el(i));let s=!i||r||o?f(0):ea(i,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.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}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=M(r),a=!!t&&_(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},s=f(1),c=f(0),d=B(r);if((d||!d&&!o)&&(("body"!==H(r)||N(l))&&(u=J(r)),d)){let e=eo(r);s=en(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?f(0):ea(l,u);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x+p.x,y:n.y*s.y-u.scrollTop*s.y+c.y+p.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?_(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>z(e)&&"body"!==H(e)),i=null,o="fixed"===G(e).position,l=o?K(e):e;for(;z(l)&&!Z(l);){let t=G(l),n=$(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||N(l)&&!n&&function e(t,n){let r=K(t);return!(r===n||!z(r)||Z(r))&&("fixed"===G(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=K(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=eu(t,o[0],i),s=u.top,f=u.right,c=u.bottom,d=u.left;for(let e=1;e<o.length;e++){let n=eu(t,o[e],i);s=a(n.top,s),f=l(n.right,f),c=l(n.bottom,c),d=a(n.left,d)}return{width:f-d,height:c-s,x:d,y:s}},getOffsetParent:ec,getElementRects:ed,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:z,isRTL:function(e){return"rtl"===G(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let em=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:u,elements:s,middlewareData:f}=t,{element:c,padding:p=0}=d(e,t)||{};if(null==c)return{};let y=A(p),w={x:n,y:r},x=m(g(i)),b=v(x),E=await u.getDimensions(c),R="y"===x,L=R?"clientHeight":"clientWidth",C=o.reference[b]+o.reference[x]-w[x]-o.floating[b],O=w[x]-o.reference[x],P=await (null==u.getOffsetParent?void 0:u.getOffsetParent(c)),S=P?P[L]:0;S&&await (null==u.isElement?void 0:u.isElement(P))||(S=s.floating[L]||o.floating[b]);let T=S/2-E[b]/2-1,D=l(y[R?"top":"left"],T),W=l(y[R?"bottom":"right"],T),k=S-E[b]-W,H=S/2-E[b]/2+(C/2-O/2),F=a(D,l(H,k)),M=!f.arrow&&null!=h(i)&&H!==F&&o.reference[b]/2-(H<D?D:W)-E[b]/2<0,j=M?H<D?H-D:H-k:0;return{[x]:w[x]+j,data:{[x]:F,centerOffset:H-F-j,...M&&{alignmentOffset:j}},reset:M}}}
1),ev=(e,t,n)=>{let r=new Map,i={platform:ep,...n},o={...i.platform,_c:r};return P(e,t,{...i,platform:o})};var eg=n(54887),ey="undefined"!=typeof document?i.useLayoutEffect:function(){};function ew(e,t){let n,r,i;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(!ew(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)&&!ew(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 eb(e,t){let n=ex(e);return Math.round(t*n)/n}function eE(e){let t=i.useRef(e);return ey(()=>{t.current=e}),t}let eR=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?em({element:n.current,padding:r}).fn(t):{}:n?em({element:n,padding:r}).fn(t):{}}}),eA=(e,t)=>{var n;let r=(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:l,middlewareData:a}=e,u=await W(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}});return{name:r.name,fn:r.fn,options:[e,t]}},eL=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i,platform:o}=e,{mainAxis:u=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(n,e),h={x:t,y:r},v=await o.detectOverflow(e,c),y=g(p(i)),w=m(y),x=h[w],b=h[y];if(u){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=x+v[e],r=x-v[t];x=a(n,l(x,r))}if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+v[e],r=b-v[t];b=a(n,l(b,r))}let E=f.fn({...e,[w]:x,[y]:b});return{...E,data:{x:E.x-t,y:E.y-r,enabled:{[w]:u,[y]:s}}}}});return{name:r.name,fn:r.fn,options:[e,t]}},eC=(e,t)=>{var n;return{fn:(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=d(n,e),f={x:t,y:r},c=g(i),h=m(c),v=f[h],y=f[c],w=d(a,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+x.mainAxis,n=o.reference[h]+o.reference[e]-x.mainAxis;v<t?v=t:v>n&&(v=n)}if(s){var b,E;let e="y"===h?"width":"height",t=D.has(p(i)),n=o.reference[c]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[c])||0)+(t?0:x.crossAxis),r=o.reference[c]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[c])||0)-(t?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:v,[c]:y}}}).fn,options:[e,t]}},eO=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:f,platform:c,elements:A}=e,{mainAxis:L=!0,crossAxis:C=!0,fallbackPlacements:O,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:T=!0,...D}=d(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let W=p(a),k=g(f),H=p(f)===f,F=await (null==c.isRTL?void 0:c.isRTL(A.floating)),M=O||(H||!T?[R(f)]:function(e){let t=R(e);return[y(e),t,y(t)]}(f)),j="none"!==S;!O&&j&&M.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?b:E;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(f,T,S,F));let z=[f,...M],B=await c.detectOverflow(e,D),V=[],N=(null==(r=u.flip)?void 0:r.overflows)||[];if(L&&V.push(B[W]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=m(g(e)),o=v(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=R(l)),[l,R(l)]}(a,s,F);V.push(B[e[0]],B[e[1]])}if(N=[...N,{placement:a,overflows:V}],!V.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&(!("alignment"===C&&k!==g(t))||N.every(e=>g(e.placement)!==k||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(o=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(P){case"bestFit":{let e=null==(l=N.filter(e=>{if(j){let t=g(e.placement);return t===k||"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:l[0];e&&(n=e);break}case"initialPlacement":n=f}if(a!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[e,t]}},eP=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let i,o;let{placement:u,rects:s,platform:f,elements:c}=e,{apply:m=()=>{},...v}=d(n,e),y=await f.detectOverflow(e,v),w=p(u),x=h(u),b="y"===g(u),{width:E,height:R}=s.floating;"top"===w||"bottom"===w?(i=w,o=x===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(o=w,i="end"===x?"top":"bottom");let A=R-y.top-y.bottom,L=E-y.left-y.right,C=l(R-y[i],A),O=l(E-y[o],L),P=!e.middlewareData.shift,S=C,T=O;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=L),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(S=A),P&&!x){let e=a(y.left,0),t=a(y.right,0),n=a(y.top,0),r=a(y.bottom,0);b?T=E-2*(0!==e||0!==t?e+t:a(y.left,y.right)):S=R-2*(0!==n||0!==r?n+r:a(y.top,y.bottom))}await m({...e,availableWidth:T,availableHeight:S});let D=await f.getDimensions(c.floating);return E!==D.width||R!==D.height?{reset:{rects:!0}}:{}}});return{name:r.name,fn:r.fn,options:[e,t]}},eS=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t,platform:r}=e,{strategy:i="referenceHidden",...o}=d(n,e);switch(i){case"referenceHidden":{let n=S(await r.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:T(n)}}}case"escaped":{let n=S(await r.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:T(n)}}}default:return{}}}});return{name:r.name,fn:r.fn,options:[e,t]}},eT=(e,t)=>{let n=eR(e);return{name:n.name,fn:n.fn,options:[e,t]}};var eD=n(66840),eW=n(57437),ek=i.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eW.jsx)(eD.WV.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eW.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ek.displayName="Arrow";var eH=n(98575),eF=n(73966),eM=n(26606),ej=n(61188),ez=n(90420),eB="Popper",[eV,eN]=(0,eF.b)(eB),[e_,eI]=eV(eB),eX=e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return(0,eW.jsx)(e_,{scope:t,anchor:r,onAnchorChange:o,children:n})};eX.displayName=eB;var eY="PopperAnchor",e$=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,l=eI(eY,n),a=i.useRef(null),u=(0,eH.e)(t,a);return i.useEffect(()=>{l.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,eW.jsx)(eD.WV.div,{...o,ref:u})});e$.displayName=eY;var eq="PopperContent",[eZ,eG]=eV(eq),eJ=i.forwardRef((e,t)=>{var n,r,o,u,f,c,d,p;let{__scopePopper:h,side:m="bottom",sideOffset:v=0,align:g="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:E=0,sticky:R="partial",hideWhenDetached:A=!1,updatePositionStrategy:L="optimized",onPlaced:C,...O}=e,P=eI(eq,h),[S,T]=i.useState(null),D=(0,eH.e)(t,e=>T(e)),[W,k]=i.useState(null),H=(0,ez.t)(W),F=null!==(d=null==H?void 0:H.width)&&void 0!==d?d:0,j=null!==(p=null==H?void 0:H.height)&&void 0!==p?p:0,z="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},B=Array.isArray(b)?b:[b],V=B.length>0,N={padding:z,boundary:B.filter(e0),altBoundary:V},{refs:_,floatingStyles:I,placement:X,isPositioned:Y,middlewareData:$}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:s,open:f}=e,[c,d]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=i.useState(r);ew(p,r)||h(r);let[m,v]=i.useState(null),[g,y]=i.useState(null),w=i.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),x=i.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),b=l||m,E=a||g,R=i.useRef(null),A=i.useRef(null),L=i.useRef(c),C=null!=s,O=eE(s),P=eE(o),S=eE(f),T=i.useCallback(()=>
1{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:p};P.current&&(e.platform=P.current),ev(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==S.current};D.current&&!ew(L.current,t)&&(L.current=t,eg.flushSync(()=>{d(t)}))})},[p,t,n,P,S]);ey(()=>{!1===f&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[f]);let D=i.useRef(!1);ey(()=>(D.current=!0,()=>{D.current=!1}),[]),ey(()=>{if(b&&(R.current=b),E&&(A.current=E),b&&E){if(O.current)return O.current(b,E,T);T()}},[b,E,T,O,C]);let W=i.useMemo(()=>({reference:R,floating:A,setReference:w,setFloating:x}),[w,x]),k=i.useMemo(()=>({reference:b,floating:E}),[b,E]),H=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!k.floating)return e;let t=eb(k.floating,c.x),r=eb(k.floating,c.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...ex(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,k.floating,c.x,c.y]);return i.useMemo(()=>({...c,update:T,refs:W,elements:k,floatingStyles:H}),[c,T,W,k,H])}({strategy:"fixed",placement:m+("center"!==g?"-"+g:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),h=o||u?[...p?Q(p):[],...t?Q(t):[]]:[];h.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,r=null,i=M(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),o();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=d;if(f||t(),!m||!v)return;let g=s(h),y=s(i.clientWidth-(p+m)),w={rootMargin:-g+"px "+-y+"px "+-s(i.clientHeight-(h+v))+"px "+-s(p)+"px",threshold:a(0,l(1,c))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==c){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||eh(d,e.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...w,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),o}(p,n):null,v=-1,g=null;f&&(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?eo(e):null;return d&&function t(){let r=eo(e);y&&!eh(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{o&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===L})},elements:{reference:P.anchor},middleware:[eA({mainAxis:v+j,alignmentAxis:y}),x&&eL({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?eC():void 0,...N}),x&&eO({...N}),eP({...N,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),W&&eT({element:W,padding:w}),e1({arrowWidth:F,arrowHeight:j}),A&&eS({strategy:"referenceHidden",...N})]}),[q,Z]=e2(X),G=(0,eM.W)(C);(0,ej.b)(()=>{Y&&(null==G||G())},[Y,G]);let J=null===(n=$.arrow)||void 0===n?void 0:n.x,K=null===(r=$.arrow)||void 0===r?void 0:r.y,U=(null===(o=$.arrow)||void 0===o?void 0:o.centerOffset)!==0,[ee,en]=i.useState();return(0,ej.b)(()=>{S&&en(window.getComputedStyle(S).zIndex)},[S]),(0,eW.jsx)("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:Y?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[null===(u=$.transformOrigin)||void 0===u?void 0:u.x,null===(f=$.transformOrigin)||void 0===f?void 0:f.y].join(" "),...(null===(c=$.hide)||void 0===c?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eW.jsx)(eZ,{scope:h,placedSide:q,onArrowChange:k,arrowX:J,arrowY:K,shouldHideArrow:U,children:(0,eW.jsx)(eD.WV.div,{"data-side":q,"data-align":Z,...O,ref:D,style:{...O.style,animation:Y?void 0:"none"}})})})});eJ.displayName=eq;var eK="PopperArrow",eQ={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eU=i.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eG(eK,n),o=eQ[i.placedSide];return(0,eW.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,eW.jsx)(ek,{...r,ref:t,style:{...r.style,display:"block"}})})});function e0(e){return null!==e}eU.displayName=eK;var e1=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:u,middlewareData:s}=t,f=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,c=f?0:e.arrowWidth,d=f?0:e.arrowHeight,[p,h]=e2(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(o=null===(r=s.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+c/2,g=(null!==(l=null===(i=s.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,y="",w="";return"bottom"===p?(y=f?m:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=f?m:"".concat(v,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=f?m:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=f?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function e2(e){let[t,n="center"]=e.split("-");return[t,n]}var e6=eX,e5=e$,e8=eJ,e7=eU},83832:function(e,t,n){n.d(t,{h:function(){return u}});var r=n(2265),i=n(54887),o=n(66840),l=n(61188),a=n(57437),u=r.forwardRef((e,t)=>{var n,u;let{container:s,...f}=e,[c,d]=r.useState(!1);(0,l.b)(()=>d(!0),[]);let p=s||c&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?i.createPortal((0,a.jsx)(o.WV.div,{...f,ref:t}),p):null});u.displayName="Portal"},26606:function(e,t,n){n.d(t,{W:function(){return i}});var r=n(2265);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},90420:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(2265),i=n(61188);function o(e){let[t,n]=r.useState(void 0);return(0,i.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}}}]);
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.