1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3926],{98267:function(e,t,n){n.d(t,{h:function(){return o}});var r=n(2265),l=n(61463);function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null===e?null:"current"in e?e.current:e,[o,i]=(0,r.useReducer)(()=>({}),{}),u=(0,r.useMemo)(()=>(function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}})(n),[n,o]);return(0,l.e)(()=>{if(!n)return;let e=new ResizeObserver(i);return e.observe(n),()=>{e.disconnect()}},[n]),t?{width:"".concat(u.width,"px"),height:"".concat(u.height,"px")}:u}},87433:function(e,t,n){n.d(t,{HO:function(){return eW},ES:function(){return eV},U8:function(){return eD},AZ:function(){return ek},L:function(){return eO},Vy:function(){return eA}});var r=n(2265),l=n.t(r,2);let o=Math.min,i=Math.max,u=Math.round,f=Math.floor,a=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(m(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>s[e])}function x(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function w(e){let{x:t,y:n,width:r,height:l}=e;return{width:r,height:l,top:n,left:t,right:t+r,bottom:n+l,x:t,y:n}}function b(e,t,n){let r,{reference:l,floating:o}=e,i=y(t),u=g(y(t)),f=h(u),a=m(t),c="y"===i,s=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,v=l[f]/2-o[f]/2;switch(a){case"top":r={x:s,y:l.y-o.height};break;case"bottom":r={x:s,y:l.y+l.height};break;case"right":r={x:l.x+l.width,y:d};break;case"left":r={x:l.x-o.width,y:d};break;default:r={x:l.x,y:l.y}}switch(p(t)){case"start":r[u]-=v*(n&&c?-1:1);break;case"end":r[u]+=v*(n&&c?-1:1)}return r}let R=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:o=[],platform:i}=n,u=o.filter(Boolean),f=await (null==i.isRTL?void 0:i.isRTL(t)),a=await i.getElementRects({reference:e,floating:t,strategy:l}),{x:c,y:s}=b(a,r,f),d=r,m={},p=0;for(let n=0;n<u.length;n++){let{name:o,fn:g}=u[n],{x:h,y:y,data:v,reset:x}=await g({x:c,y:s,initialPlacement:r,placement:d,strategy:l,middlewareData:m,rects:a,platform:i,elements:{reference:e,floating:t}});c=null!=h?h:c,s=null!=y?y:s,m={...m,[o]:{...m[o],...v}},x&&p<=50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:l}):x.rects),{x:c,y:s}=b(a,d,f)),n=-1)}return{x:c,y:s,placement:d,strategy:l,middlewareData:m}};async function E(e,t){var n;void 0===t&&(t={});let{x:r,y:l,platform:o,rects:i,elements:u,strategy:f}=e,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:s="floating",altBoundary:m=!1,padding:p=0}=d(t,e),g="number"!=typeof p?{top:0,right:0,bottom:0,left:0,...p}:{top:p,right:p,bottom:p,left:p},h=u[m?"floating"===s?"reference":"floating":s],y=w(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(u.floating)),boundary:a,rootBoundary:c,strategy:f})),v="floating"===s?{x:r,y:l,width:i.floating.width,height:i.floating.height}:i.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u.floating)),b=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},R=w(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:v,offsetParent:x,strategy:f}):v);return{top:(y.top-R.top+g.top)/b.y,bottom:(R.bottom-y.bottom+g.bottom)/b.y,left:(y.left-R.left+g.left)/b.x,right:(R.right-y.right+g.right)/b.x}}async function C(e,t){let{placement:n,platform:r,elements:l}=e,o=await (null==r.isRTL?void 0:r.isRTL(l.floating)),i=m(n),u=p(n),f="y"===y(n),a=["left","top"].includes(i)?-1:1,c=o&&f?-1:1,s=d(t,e),{mainAxis:g,crossAxis:h,alignmentAxis:v}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...s};return u&&"number"==typeof v&&(h="end"===u?-1*v:v),f?{x:h*c,y:g*a}:{x:g*a,y:h*c}}function T(e){return S(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function L(e){var t;return null==(t=(S(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function S(e){return e instanceof Node||e instanceof M(e).Node}function H(e){return e instanceof Element||e instanceof M(e).Element}function F(e){return e instanceof HTMLElement||e instanceof M(e).HTMLElement}function P(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}function A(e){let{overflow:t,overflowX:n,overflowY:r,display:l}=V(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(l)}function k(e){let t=O(),n=V(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function O(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function D(e){return["html","body","#document"].includes(T(e))}function V(e){return M(e).getComputedStyle(e)}function W(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function N(e){if("html"===T(e))return e;let t=e.assignedSlot||e.parentNode||P(e)&&e.host||L(e);return P(t)?t.host:t}function B(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let l=function e(t){let n=N(t);return D(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&A(n)?n:e(n)}(e),o=l===(null==(r=e.ownerDocument)?void 0:r.body),i=M(l);return o?t.concat(i,i.visualViewport||[],A(l)?l:[],i.frameElement&&n?B(i.frameElement):[]):t.concat(l,B(l,[],n))}function j(e){let t=V(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,l=F(e),o=l?e.offsetWidth:n,i=l?e.offsetHeight:r,f
1=u(n)!==o||u(r)!==i;return f&&(n=o,r=i),{width:n,height:r,$:f}}function z(e){return H(e)?e:e.contextElement}function I(e){let t=z(e);if(!F(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:l,$:o}=j(t),i=(o?u(n.width):n.width)/r,f=(o?u(n.height):n.height)/l;return i&&Number.isFinite(i)||(i=1),f&&Number.isFinite(f)||(f=1),{x:i,y:f}}let _=a(0);function q(e){let t=M(e);return O()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:_}function $(e,t,n,r){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),i=z(e),u=a(1);t&&(r?H(r)&&(u=I(r)):u=I(e));let f=(void 0===(l=n)&&(l=!1),r&&(!l||r===M(i))&&l)?q(i):a(0),c=(o.left+f.x)/u.x,s=(o.top+f.y)/u.y,d=o.width/u.x,m=o.height/u.y;if(i){let e=M(i),t=r&&H(r)?M(r):r,n=e,l=n.frameElement;for(;l&&r&&t!==n;){let e=I(l),t=l.getBoundingClientRect(),r=V(l),o=t.left+(l.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(l.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,m*=e.y,c+=o,s+=i,l=(n=M(l)).frameElement}}return w({width:d,height:m,x:c,y:s})}let K=[":popover-open",":modal"];function Y(e){return K.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function G(e){return $(L(e)).left+W(e).scrollLeft}function J(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=M(e),r=L(e),l=n.visualViewport,o=r.clientWidth,i=r.clientHeight,u=0,f=0;if(l){o=l.width,i=l.height;let e=O();(!e||e&&"fixed"===t)&&(u=l.offsetLeft,f=l.offsetTop)}return{width:o,height:i,x:u,y:f}}(e,n);else if("document"===t)r=function(e){let t=L(e),n=W(e),r=e.ownerDocument.body,l=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+G(e),f=-n.scrollTop;return"rtl"===V(r).direction&&(u+=i(t.clientWidth,r.clientWidth)-l),{width:l,height:o,x:u,y:f}}(L(e));else if(H(t))r=function(e,t){let n=$(e,!0,"fixed"===t),r=n.top+e.clientTop,l=n.left+e.clientLeft,o=F(e)?I(e):a(1),i=e.clientWidth*o.x;return{width:i,height:e.clientHeight*o.y,x:l*o.x,y:r*o.y}}(t,n);else{let n=q(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return w(r)}function U(e){return"static"===V(e).position}function X(e,t){return F(e)&&"fixed"!==V(e).position?t?t(e):e.offsetParent:null}function Z(e,t){let n=M(e);if(Y(e))return n;if(!F(e)){let t=N(e);for(;t&&!D(t);){if(H(t)&&!U(t))return t;t=N(t)}return n}let r=X(e,t);for(;r&&["table","td","th"].includes(T(r))&&U(r);)r=X(r,t);return r&&D(r)&&U(r)&&!k(r)?n:r||function(e){let t=N(e);for(;F(t)&&!D(t);){if(k(t))return t;t=N(t)}return null}(e)||n}let Q=async function(e){let t=this.getOffsetParent||Z,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),l=L(t),o="fixed"===n,i=$(e,!0,o,t),u={scrollLeft:0,scrollTop:0},f=a(0);if(r||!r&&!o){if(("body"!==T(t)||A(l))&&(u=W(t)),r){let e=$(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else l&&(f.x=G(l))}return{x:i.left+u.scrollLeft-f.x,y:i.top+u.scrollTop-f.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ee={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:l}=e,o="fixed"===l,i=L(r),u=!!t&&Y(t.floating);if(r===i||u&&o)return n;let f={scrollLeft:0,scrollTop:0},c=a(1),s=a(0),d=F(r);if((d||!d&&!o)&&(("body"!==T(r)||A(i))&&(f=W(r)),F(r))){let e=$(r);c=I(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x,y:n.y*c.y-f.scrollTop*c.y+s.y}},getDocumentElement:L,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,u=[..."clippingAncestors"===n?Y(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=B(e,[],!1).filter(e=>H(e)&&"body"!==T(e)),l=null,o="fixed"===V(e).position,i=o?N(e):e;for(;H(i)&&!D(i);){let t=V(i),n=k(i);n||"fixed"!==t.position||(l=null),(o?!n&&!l:!n&&"static"===t.position&&!!l&&["absolute","fixed"].includes(l.position)||A(i)&&!n&&function e(t,n){let r=N(t);return!(r===n||!H(r)||D(r))&&("fixed"===V(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):l=t,i=N(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],f=u[0],a=u.reduce((e,n)=>{let r=J(t,n,l);return e.top=i(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=i(r.left,e.left),e},J(t,f,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Z,getElementRects:Q,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=j(e);return{width:t,height:n}},getScale:I,isElement:H,isRTL:function(e){return"rtl"===V(e).direction}};function et(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,m=z(e),p=u||a?[...m?B(m):[],...B(t)]:[];
1p.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let g=m&&s?function(e,t){let n,r=null,l=L(e);function u(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),u();let{left:d,top:m,width:p,height:g}=e.getBoundingClientRect();if(c||t(),!p||!g)return;let h=f(m),y=f(l.clientWidth-(d+p)),v={rootMargin:-h+"px "+-y+"px "+-f(l.clientHeight-(m+g))+"px "+-f(d)+"px",threshold:i(0,o(1,s))||1},x=!0;function w(e){let t=e[0].intersectionRatio;if(t!==s){if(!x)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{r=new IntersectionObserver(w,{...v,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,v)}r.observe(e)}(!0),u}(m,n):null,h=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),m&&!d&&y.observe(m),y.observe(t));let v=d?$(e):null;return d&&function t(){let r=$(e);v&&(r.x!==v.x||r.y!==v.y||r.width!==v.width||r.height!==v.height)&&n(),v=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{u&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let en=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:l,y:o,placement:i,middlewareData:u}=t,f=await C(t,e);return i===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:l+f.x,y:o+f.y,data:{...f,placement:i}}}}},er=(e,t,n)=>{let r=new Map,l={platform:ee,...n},o={...l.platform,_c:r};return R(e,t,{...l,platform:o})};var el=n(54887),eo="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function ei(e,t){let n,r,l;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(!ei(e[r],t[r]))return!1;return!0}if((n=(l=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,l[r]))return!1;for(r=n;0!=r--;){let n=l[r];if(("_owner"!==n||!e.$$typeof)&&!ei(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eu(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ef(e,t){let n=eu(e);return Math.round(t*n)/n}function ea(e){let t=r.useRef(e);return eo(()=>{t.current=e}),t}let ec={...l},es=ec.useInsertionEffect||(e=>e());function ed(e){let t=r.useRef(()=>{});return es(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var em="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;let ep=!1,eg=0,eh=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+eg++,ey=ec.useId||function(){let[e,t]=r.useState(()=>ep?eh():void 0);return em(()=>{null==e&&t(eh())},[]),r.useEffect(()=>{ep=!0},[]),e},ev=r.createContext(null),ex=r.createContext(null),ew=()=>{var e;return(null==(e=r.useContext(ev))?void 0:e.id)||null},eb=()=>r.useContext(ex),eR="active",eE="selected";function eC(e,t,n){let r=new Map,l="item"===n,o=e;if(l&&e){let{[eR]:t,[eE]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1},...o,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(!(l&&[eR,eE].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var i;null==(i=r.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,l=Array(t),o=0;o<t;o++)l[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...l)).find(e=>void 0!==e)}}}else e[n]=o}}),e),{})}}function eT(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let eM=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:l,offset:o=0,index:i=0,minItemsVisible:u=4,referenceOverflowThreshold:f=0,scrollRef:a,...c}=e,{rects:s,elements:{floating:d}}=t,m=n.current[i];if(!m)return{};let p={...t,...await en(-m.offsetTop-d.clientTop-s.reference.height/2-m.offsetHeight/2-o).fn(t)},g=(null==a?void 0:a.current)||d,h=await E(eT(p,g.scrollHeight),c),y=await E(p,{...c,elementContext:"reference"}),v=Math.max(0,h.top),x=p.y+v,w=Math.max(0,g.scrollHeight-v-Math.max(0,h.bottom));return g.style.maxHeight=w+"px",g.scrollTop=v,l&&(g.offsetHeight<m.offsetHeight*Math.min(u,n.current.length-1)-1||y.top>=-f||y.bottom>=-f?(0,el.flushSync)(()=>l(!0)):(0,el.flushSync)(()=>l(!1))),r&&(r.current=await E(eT({...p,y:x},g.offsetHeight),c)),{y:x}}});var eL=n(99299),eS=n(6584),eH=n(61463);let eF=(0,r.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});eF.displayName="FloatingContext";let eP=(0,r.createContext)(null);function eA(e){return(0,r.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function ek(){return(0,r.useContext)(eF).setReference}function eO(){return(0,r.useContext)(eF).getReferenceProps}function eD(){let{getFloatingProps:e,slot:t}=(0,r.useContext)(eF);return(0,r.useCallback)(function(){for(var n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return Object.assign({},e(...r),{"data-anchor":t.anchor})},[e,t])}function eV(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,r.useContext)(eP),n=(0,r.useMemo)(()=>e,[JSON.stringify(e,"undefined"!=typeof HTMLElement?(e,t)=>t instanceof HTMLElement?t.outerHTML:t:void 0)]);(0,eH.e)(()=>{null==t||t(null!=n?n:null)},[t,n]);let l=(0,r.useContext)(eF);return(0,r.useMemo)(()=>[l.setFloating,e?l.styles:{}],[l.setFloating,e,l.styles])}function eW(e){var t,n,l,u,f,a;let c,s,w;let{children:b,enabled:R=!0}=e,[C,T]=(0,r.useState)(null),[M,L]=(0,r.useState)(0),S=(0,r.useRef)(null),[F,P]=(0,r.useState)(null);(0,eH.e)(()=>
1{if(!F)return;let e=new MutationObserver(()=>{let e=F.style.maxHeight;parseFloat(e)!==parseInt(e)&&(F.style.maxHeight="".concat(Math.ceil(parseFloat(e)),"px"))});return e.observe(F,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[F]);let A=R&&null!==C&&null!==F,{to:k="bottom",gap:O=0,offset:D=0,padding:V=0,inner:W}=(c=eN(null!=(u=null==C?void 0:C.gap)?u:"var(--anchor-gap, 0)",F),s=eN(null!=(f=null==C?void 0:C.offset)?f:"var(--anchor-offset, 0)",F),w=eN(null!=(a=null==C?void 0:C.padding)?a:"var(--anchor-padding, 0)",F),{...C,gap:c,offset:s,padding:w}),[N,B="center"]=k.split(" ");(0,eH.e)(()=>{A&&L(0)},[A]);let{refs:j,floatingStyles:z,context:I}=function(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:l,nodeId:o}=e,[i,u]=r.useState(null),[f,a]=r.useState(null),c=(null==(t=e.elements)?void 0:t.reference)||i;em(()=>{c&&(g.current=c)},[c]);let s=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:l=[],platform:o,elements:{reference:i,floating:u}={},transform:f=!0,whileElementsMounted:a,open:c}=e,[s,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=r.useState(l);ei(m,l)||p(l);let[g,h]=r.useState(null),[y,v]=r.useState(null),x=r.useCallback(e=>{e!==E.current&&(E.current=e,h(e))},[]),w=r.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=i||g,R=u||y,E=r.useRef(null),C=r.useRef(null),T=r.useRef(s),M=null!=a,L=ea(a),S=ea(o),H=r.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:t,strategy:n,middleware:m};S.current&&(e.platform=S.current),er(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!0};F.current&&!ei(T.current,t)&&(T.current=t,el.flushSync(()=>{d(t)}))})},[m,t,n,S]);eo(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let F=r.useRef(!1);eo(()=>(F.current=!0,()=>{F.current=!1}),[]),eo(()=>{if(b&&(E.current=b),R&&(C.current=R),b&&R){if(L.current)return L.current(b,R,H);H()}},[b,R,H,L,M]);let P=r.useMemo(()=>({reference:E,floating:C,setReference:x,setFloating:w}),[x,w]),A=r.useMemo(()=>({reference:b,floating:R}),[b,R]),k=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!A.floating)return e;let t=ef(A.floating,s.x),r=ef(A.floating,s.y);return f?{...e,transform:"translate("+t+"px, "+r+"px)",...eu(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,f,A.floating,s.x,s.y]);return r.useMemo(()=>({...s,update:H,refs:P,elements:A,floatingStyles:k}),[s,H,P,A,k])}({...e,elements:{...e.elements,...f&&{reference:f}}}),d=eb(),m=null!=ew(),p=ed((e,t,n)=>{h.current.openEvent=e?t:void 0,y.emit("openchange",{open:e,event:t,reason:n,nested:m}),null==l||l(e,t,n)}),g=r.useRef(null),h=r.useRef({}),y=r.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],v=ey(),x=r.useCallback(e=>{let t=H(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;a(t),s.refs.setReference(t)},[s.refs]),w=r.useCallback(e=>{(H(e)||null===e)&&(g.current=e,u(e)),(H(s.refs.reference.current)||null===s.refs.reference.current||null!==e&&!H(e))&&s.refs.setReference(e)},[s.refs]),b=r.useMemo(()=>({...s.refs,setReference:w,setPositionReference:x,domReference:g}),[s.refs,w,x]),R=r.useMemo(()=>({...s.elements,domReference:c}),[s.elements,c]),E=r.useMemo(()=>({...s,refs:b,elements:R,dataRef:h,nodeId:o,floatingId:v,events:y,open:n,onOpenChange:p}),[s,o,v,y,n,p,b,R]);return em(()=>{let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===o);e&&(e.context=E)}),r.useMemo(()=>({...s,context:E,refs:b,elements:R}),[s,b,R,E])}({open:A,placement:"selection"===N?"center"===B?"bottom":"bottom-".concat(B):"center"===B?"".concat(N):"".concat(N,"-").concat(B),strategy:"absolute",transform:!1,middleware:[en({mainAxis:"selection"===N?0:O,crossAxis:D}),{name:"shift",options:t={padding:V},async fn(e){let{x:n,y:r,placement:l}=e,{mainAxis:u=!0,crossAxis:f=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(t,e),s={x:n,y:r},p=await E(e,c),h=y(m(l)),v=g(h),x=s[v],w=s[h];if(u){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+p[e],r=x-p[t];x=i(n,o(x,r))}
1if(f){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=w+p[e],r=w-p[t];w=i(n,o(w,r))}let b=a.fn({...e,[v]:x,[h]:w});return{...b,data:{x:b.x-n,y:b.y-r}}}},"selection"!==N&&{name:"flip",options:n={padding:V},async fn(e){var t,r,l,o,i;let{placement:u,middlewareData:f,rects:a,initialPlacement:c,platform:s,elements:w}=e,{mainAxis:b=!0,crossAxis:R=!0,fallbackPlacements:C,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:L=!0,...S}=d(n,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let H=m(u),F=m(c)===c,P=await (null==s.isRTL?void 0:s.isRTL(w.floating)),A=C||(F||!L?[x(c)]:function(e){let t=x(e);return[v(e),t,v(t)]}(c));C||"none"===M||A.push(...function(e,t,n,r){let l=p(e),o=function(e,t,n){let r=["left","right"],l=["right","left"];switch(e){case"top":case"bottom":if(n)return t?l:r;return t?r:l;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(m(e),"start"===n,r);return l&&(o=o.map(e=>e+"-"+l),t&&(o=o.concat(o.map(v)))),o}(c,L,M,P));let k=[c,...A],O=await E(e,S),D=[],V=(null==(r=f.flip)?void 0:r.overflows)||[];if(b&&D.push(O[H]),R){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),l=g(y(e)),o=h(l),i="x"===l?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=x(i)),[i,x(i)]}(u,a,P);D.push(O[e[0]],O[e[1]])}if(V=[...V,{placement:u,overflows:D}],!D.every(e=>e<=0)){let e=((null==(l=f.flip)?void 0:l.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(o=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(T){case"bestFit":{let e=null==(i=V.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=c}if(u!==n)return{reset:{placement:n}}}return{}}},"selection"===N&&W?eM({...W,padding:V,overflowRef:S,offset:M,minItemsVisible:4,referenceOverflowThreshold:V,onFallbackChange(e){var t,n;if(!e)return;let r=I.elements.floating;if(!r)return;let l=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,o=Math.min(4,r.childElementCount),i=0,u=0;for(let e of null!=(n=null==(t=I.elements.floating)?void 0:t.childNodes)?n:[])if(e instanceof HTMLElement){let t=e.offsetTop,n=t+e.clientHeight+l,f=r.scrollTop,a=f+r.clientHeight;if(t>=f&&n<=a)o--;else{u=Math.max(0,Math.min(n,a)-Math.max(t,f)),i=e.clientHeight;break}}o>=1&&L(e=>{let t=i*o-u+l;return e>=t?e:t})}}):null,{name:"size",options:l={padding:V,apply(e){let{availableWidth:t,availableHeight:n,elements:r}=e;Object.assign(r.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(n,"px)")})}},async fn(e){let t,n;let{placement:r,rects:u,platform:f,elements:a}=e,{apply:c=()=>{},...s}=d(l,e),g=await E(e,s),h=m(r),v=p(r),x="y"===y(r),{width:w,height:b}=u.floating;"top"===h||"bottom"===h?(t=h,n=v===(await (null==f.isRTL?void 0:f.isRTL(a.floating))?"start":"end")?"left":"right"):(n=h,t="end"===v?"top":"bottom");let R=b-g[t],C=w-g[n],T=!e.middlewareData.shift,M=R,L=C;if(x){let e=w-g.left-g.right;L=v||T?o(C,e):e}else{let e=b-g.top-g.bottom;M=v||T?o(R,e):e}if(T&&!v){let e=i(g.left,0),t=i(g.right,0),n=i(g.top,0),r=i(g.bottom,0);x?L=w-2*(0!==e||0!==t?e+t:i(g.left,g.right)):M=b-2*(0!==n||0!==r?n+r:i(g.top,g.bottom))}await c({...e,availableWidth:L,availableHeight:M});let S=await f.getDimensions(a.floating);return w!==S.width||b!==S.height?{reset:{rects:!0}}:{}}}].filter(Boolean),whileElementsMounted:et}),[_=N,q=B]=I.placement.split("-");"selection"===N&&(_="selection");let $=(0,r.useMemo)(()=>({anchor:[_,q].filter(Boolean).join(" ")}),[_,q]),{getReferenceProps:K,getFloatingProps:Y}=function(e){void 0===e&&(e=[]);let t=e,n=r.useCallback(t=>eC(t,e,"reference"),t),l=r.useCallback(t=>eC(t,e,"floating"),t),o=r.useCallback(t=>eC(t,e,"item"),e.map(e=>null==e?void 0:e.item));return r.useMemo(()=>({getReferenceProps:n,getFloatingProps:l,getItemProps:o}),[n,l,o])}([function(e,t){let{open:n,elements:l}
1=e,{enabled:o=!0,overflowRef:i,scrollRef:u,onChange:f}=t,a=ed(f),c=r.useRef(!1),s=r.useRef(null),d=r.useRef(null);return r.useEffect(()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;let n=e.deltaY,r=i.current.top>=-.5,l=i.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,u=n<0?-1:1,f=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!l&&n<0?(e.preventDefault(),(0,el.flushSync)(()=>{a(e=>e+Math[f](n,o*u))})):/firefox/i.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}())&&(t.scrollTop+=n))}let t=(null==u?void 0:u.current)||l.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{s.current=t.scrollTop,null!=i.current&&(d.current={...i.current})}),()=>{s.current=null,d.current=null,t.removeEventListener("wheel",e)}},[o,n,l.floating,i,u,a]),r.useMemo(()=>o?{floating:{onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){let e=(null==u?void 0:u.current)||l.floating;if(i.current&&e&&c.current){if(null!==s.current){let t=e.scrollTop-s.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&(0,el.flushSync)(()=>a(e=>e+t))}requestAnimationFrame(()=>{s.current=e.scrollTop})}}}}:{},[o,i,l.floating,u,a])}(I,{overflowRef:S,onChange:L})]),G=(0,eS.z)(e=>{P(e),j.setFloating(e)});return r.createElement(eP.Provider,{value:T},r.createElement(eF.Provider,{value:{setFloating:G,setReference:j.setReference,styles:z,getReferenceProps:K,getFloatingProps:Y,slot:$}},b))}function eN(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,l=(0,eL.G)(),o=(0,eS.z)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let r=eB(e,t);return[r,n=>{let o=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),l=n[1].slice(t+1).trim();return l?[r,...e(l)]:[r]}return[]}(e);{let i=o.map(e=>window.getComputedStyle(t).getPropertyValue(e));l.requestAnimationFrame(function u(){l.nextFrame(u);let f=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(i[e]!==r){i[e]=r,f=!0;break}}if(!f)return;let a=eB(e,t);r!==a&&(n(a),r=a)})}return l.dispose}]}return[n,null]}),i=(0,r.useMemo)(()=>o(e,t)[0],[e,t]),[u=i,f]=(0,r.useState)();return(0,eH.e)(()=>{let[n,r]=o(e,t);if(f(n),r)return r(f)},[e,t]),u}function eB(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}eP.displayName="PlacementContext"},47986:function(e,t,n){function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})}}]);
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.