1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,571616,e=>{"use strict";var t=e.i(271645);function n(e){return[e.screenX,e.screenY]}function r(){let e=(0,t.useRef)([-1,-1]);return{wasMoved(t){let r=n(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=n(t)}}}e.s(["useTrackedPointer",()=>r])},340143,e=>{"use strict";var t=e.i(271645),n=e.i(402155),r=e.i(835696);function l(e,{container:l,accept:i,walk:o}){let u=(0,t.useRef)(i),f=(0,t.useRef)(o);(0,t.useEffect)(()=>{u.current=i,f.current=o},[i,o]),(0,r.useIsoMorphicEffect)(()=>{if(!l||!e)return;let t=(0,n.getOwnerDocument)(l);if(!t)return;let r=u.current,i=f.current,o=Object.assign(e=>r(e),{acceptNode:r}),s=t.createTreeWalker(l,NodeFilter.SHOW_ELEMENT,o,!1);for(;s.nextNode();)i(s.currentNode)},[l,e,u,f])}e.s(["useTreeWalker",()=>l])},992704,953760,919751,e=>{"use strict";var t=e.i(271645),n=e.i(835696);function r(e,l=!1){let i=null===e?null:"current"in e?e.current:e,[o,u]=(0,t.useReducer)(()=>({}),{}),f=(0,t.useMemo)(()=>(function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}})(i),[i,o]);return(0,n.useIsoMorphicEffect)(()=>{if(!i)return;let e=new ResizeObserver(u);return e.observe(i),()=>{e.disconnect()}},[i]),l?{width:`${f.width}px`,height:`${f.height}px`}:f}e.s(["useElementSize",()=>r],992704);let l=["top","right","bottom","left"],i=l.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,u=Math.max,f=Math.round,s=Math.floor,a=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function m(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(h(e))?"y":"x"}function w(e,t,n){void 0===n&&(n=!1);let r=g(e),l=p(y(e)),i=v(l),o="x"===l?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=b(o)),[o,b(o)]}function x(e){return e.replace(/start|end/g,e=>d[e])}function b(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(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 C(e,t,n){let r,{reference:l,floating:i}=e,o=y(t),u=p(y(t)),f=v(u),s=h(t),a="y"===o,c=l.x+l.width/2-i.width/2,d=l.y+l.height/2-i.height/2,m=l[f]/2-i[f]/2;switch(s){case"top":r={x:c,y:l.y-i.height};break;case"bottom":r={x:c,y:l.y+l.height};break;case"right":r={x:l.x+l.width,y:d};break;case"left":r={x:l.x-i.width,y:d};break;default:r={x:l.x,y:l.y}}switch(g(t)){case"start":r[u]-=m*(n&&a?-1:1);break;case"end":r[u]+=m*(n&&a?-1:1)}return r}let M=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:i=[],platform:o}=n,u=i.filter(Boolean),f=await (null==o.isRTL?void 0:o.isRTL(t)),s=await o.getElementRects({reference:e,floating:t,strategy:l}),{x:a,y:c}=C(s,r,f),d=r,m={},h=0;for(let n=0;n<u.length;n++){let{name:i,fn:g}=u[n],{x:p,y:v,data:y,reset:w}=await g({x:a,y:c,initialPlacement:r,placement:d,strategy:l,middlewareData:m,rects:s,platform:o,elements:{reference:e,floating:t}});a=null!=p?p:a,c=null!=v?v:c,m={...m,[i]:{...m[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await o.getElementRects({reference:e,floating:t,strategy:l}):w.rects),{x:a,y:c}=C(s,d,f)),n=-1)}return{x:a,y:c,placement:d,strategy:l,middlewareData:m}};async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:l,platform:i,rects:o,elements:u,strategy:f}=e,{boundary:s="clippingAncestors",rootBoundary:a="viewport",elementContext:c="floating",altBoundary:d=!1,padding:h=0}=m(t,e),g=R(h),p=u[d?"floating"===c?"reference":"floating":c],v=E(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(p)))||n?p:p.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:s,rootBoundary:a,strategy:f})),y="floating"===c?{x:r,y:l,width:o.floating.width,height:o.floating.height}:o.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),x=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:w,strategy:f}):y);
1return{top:(v.top-b.top+g.top)/x.y,bottom:(b.bottom-v.bottom+g.bottom)/x.y,left:(v.left-b.left+g.left)/x.x,right:(b.right-v.right+g.right)/x.x}}function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return l.some(t=>e[t]>=0)}function A(e){let t=o(...e.map(e=>e.left)),n=o(...e.map(e=>e.top));return{x:t,y:n,width:u(...e.map(e=>e.right))-t,height:u(...e.map(e=>e.bottom))-n}}async function L(e,t){let{placement:n,platform:r,elements:l}=e,i=await (null==r.isRTL?void 0:r.isRTL(l.floating)),o=h(n),u=g(n),f="y"===y(n),s=["left","top"].includes(o)?-1:1,a=i&&f?-1:1,c=m(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:v}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return u&&"number"==typeof v&&(p="end"===u?-1*v:v),f?{x:p*a,y:d*s}:{x:d*s,y:p*a}}function F(e){return k(e)?(e.nodeName||"").toLowerCase():"#document"}function O(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function H(e){var t;return null==(t=(k(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function k(e){return e instanceof Node||e instanceof O(e).Node}function D(e){return e instanceof Element||e instanceof O(e).Element}function N(e){return e instanceof HTMLElement||e instanceof O(e).HTMLElement}function I(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof O(e).ShadowRoot)}function W(e){let{overflow:t,overflowX:n,overflowY:r,display:l}=z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(l)}function B(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function V(e){let t=j(),n=z(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 j(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function $(e){return["html","body","#document"].includes(F(e))}function z(e){return O(e).getComputedStyle(e)}function q(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function K(e){if("html"===F(e))return e;let t=e.assignedSlot||e.parentNode||I(e)&&e.host||H(e);return I(t)?t.host:t}function U(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let l=function e(t){let n=K(t);return $(n)?t.ownerDocument?t.ownerDocument.body:t.body:N(n)&&W(n)?n:e(n)}(e),i=l===(null==(r=e.ownerDocument)?void 0:r.body),o=O(l);return i?t.concat(o,o.visualViewport||[],W(l)?l:[],o.frameElement&&n?U(o.frameElement):[]):t.concat(l,U(l,[],n))}function _(e){let t=z(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,l=N(e),i=l?e.offsetWidth:n,o=l?e.offsetHeight:r,u=f(n)!==i||f(r)!==o;return u&&(n=i,r=o),{width:n,height:r,$:u}}function Y(e){return D(e)?e:e.contextElement}function X(e){let t=Y(e);if(!N(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:l,$:i}=_(t),o=(i?f(n.width):n.width)/r,u=(i?f(n.height):n.height)/l;return o&&Number.isFinite(o)||(o=1),u&&Number.isFinite(u)||(u=1),{x:o,y:u}}let J=a(0);function G(e){let t=O(e);return j()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:J}function Q(e,t,n,r){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),o=Y(e),u=a(1);t&&(r?D(r)&&(u=X(r)):u=X(e));let f=(void 0===(l=n)&&(l=!1),r&&(!l||r===O(o))&&l)?G(o):a(0),s=(i.left+f.x)/u.x,c=(i.top+f.y)/u.y,d=i.width/u.x,m=i.height/u.y;if(o){let e=O(o),t=r&&D(r)?O(r):r,n=e,l=n.frameElement;for(;l&&r&&t!==n;){let e=X(l),t=l.getBoundingClientRect(),r=z(l),i=t.left+(l.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(l.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,m*=e.y,s+=i,c+=o,l=(n=O(l)).frameElement}}return E({width:d,height:m,x:s,y:c})}function Z(e){return Q(H(e)).left+q(e).scrollLeft}function ee(e,t,n){var r;let l;if("viewport"===t)l=function(e,t){let n=O(e),r=H(e),l=n.visualVie
1wport,i=r.clientWidth,o=r.clientHeight,u=0,f=0;if(l){i=l.width,o=l.height;let e=j();(!e||e&&"fixed"===t)&&(u=l.offsetLeft,f=l.offsetTop)}return{width:i,height:o,x:u,y:f}}(e,n);else if("document"===t){let t,n,i,o,f,s,a;r=H(e),t=H(r),n=q(r),i=r.ownerDocument.body,o=u(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),f=u(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+Z(r),a=-n.scrollTop,"rtl"===z(i).direction&&(s+=u(t.clientWidth,i.clientWidth)-o),l={width:o,height:f,x:s,y:a}}else if(D(t)){let e,r,i,o,u,f;r=(e=Q(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,o=N(t)?X(t):a(1),u=t.clientWidth*o.x,f=t.clientHeight*o.y,l={width:u,height:f,x:i*o.x,y:r*o.y}}else{let n=G(e);l={...t,x:t.x-n.x,y:t.y-n.y}}return E(l)}function et(e){return"static"===z(e).position}function en(e,t){return N(e)&&"fixed"!==z(e).position?t?t(e):e.offsetParent:null}function er(e,t){let n=O(e);if(B(e))return n;if(!N(e)){let t=K(e);for(;t&&!$(t);){if(D(t)&&!et(t))return t;t=K(t)}return n}let r=en(e,t);for(;r&&["table","td","th"].includes(F(r))&&et(r);)r=en(r,t);return r&&$(r)&&et(r)&&!V(r)?n:r||function(e){let t=K(e);for(;N(t)&&!$(t)&&!B(t);){if(V(t))return t;t=K(t)}return null}(e)||n}let el=async function(e){let t=this.getOffsetParent||er,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=N(t),l=H(t),i="fixed"===n,o=Q(e,!0,i,t),u={scrollLeft:0,scrollTop:0},f=a(0);if(r||!r&&!i)if(("body"!==F(t)||W(l))&&(u=q(t)),r){let e=Q(t,!0,i,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else l&&(f.x=Z(l));return{x:o.left+u.scrollLeft-f.x,y:o.top+u.scrollTop-f.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ei={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:l}=e,i="fixed"===l,o=H(r),u=!!t&&B(t.floating);if(r===o||u&&i)return n;let f={scrollLeft:0,scrollTop:0},s=a(1),c=a(0),d=N(r);if((d||!d&&!i)&&(("body"!==F(r)||W(o))&&(f=q(r)),N(r))){let e=Q(r);s=X(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-f.scrollLeft*s.x+c.x,y:n.y*s.y-f.scrollTop*s.y+c.y}},getDocumentElement:H,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,i=[..."clippingAncestors"===n?B(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=U(e,[],!1).filter(e=>D(e)&&"body"!==F(e)),l=null,i="fixed"===z(e).position,o=i?K(e):e;for(;D(o)&&!$(o);){let t=z(o),n=V(o);n||"fixed"!==t.position||(l=null),(i?!n&&!l:!n&&"static"===t.position&&!!l&&["absolute","fixed"].includes(l.position)||W(o)&&!n&&function e(t,n){let r=K(t);return!(r===n||!D(r)||$(r))&&("fixed"===z(r).position||e(r,n))}(e,o))?r=r.filter(e=>e!==o):l=t,o=K(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],f=i[0],s=i.reduce((e,n)=>{let r=ee(t,n,l);return e.top=u(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=u(r.left,e.left),e},ee(t,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:er,getElementRects:el,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=_(e);return{width:t,height:n}},getScale:X,isElement:D,isRTL:function(e){return"rtl"===z(e).direction}};function eo(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:f=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,m=Y(e),h=i||f?[...m?U(m):[],...U(t)]:[];h.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let g=m&&c?function(e,t){let n,r=null,l=H(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),i();let{left:d,top:m,width:h,height:g}=e.getBoundingClientRect();if(a||t(),!h||!g)return;let p={rootMargin:-s(m)+"px "+-s(l.clientWidth-(d+h))+"px "+-s(l.clientHeight-(m+g))+"px "+-s(d)+"px",threshold:u(0,o(1,c))||1},v=!0;function y(e){let t=e[0].intersectionRatio;if(t!==c){if(!v)return f();t?f(!1,t):n=setTimeout(()=>{f(!1,1e-7)},1e3)}v=!1}try{r=new IntersectionObserver(y,{...p,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(y,p)}r.observe(e)}(!0),i}(m,n):null,p=-1,v=null;a&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),m&&!d&&v.observe(m),v.observe(t));let y=d?Q(e):null;return d&&function t(){let r=Q(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;
1h.forEach(e=>{i&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(l)}}let eu=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:l,y:i,placement:o,middlewareData:u}=t,f=await L(t,e);return o===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:l+f.x,y:i+f.y,data:{...f,placement:o}}}}},ef=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,l,o;let{rects:u,middlewareData:f,placement:s,platform:a,elements:c}=t,{crossAxis:d=!1,alignment:p,allowedPlacements:v=i,autoAlignment:y=!0,...b}=m(e,t),R=void 0!==p||v===i?((o=p||null)?[...v.filter(e=>g(e)===o),...v.filter(e=>g(e)!==o)]:v.filter(e=>h(e)===e)).filter(e=>!o||g(e)===o||!!y&&x(e)!==e):v,E=await T(t,b),C=(null==(n=f.autoPlacement)?void 0:n.index)||0,M=R[C];if(null==M)return{};let P=w(M,u,await (null==a.isRTL?void 0:a.isRTL(c.floating)));if(s!==M)return{reset:{placement:R[0]}};let S=[E[h(M)],E[P[0]],E[P[1]]],A=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:M,overflows:S}],L=R[C+1];if(L)return{data:{index:C+1,overflows:A},reset:{placement:L}};let F=A.map(e=>{let t=g(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),O=(null==(l=F.filter(e=>e[2].slice(0,g(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||F[0][0];return O!==s?{data:{index:C+1,overflows:A},reset:{placement:O}}:{}}}},es=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:i=!0,crossAxis:f=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=m(e,t),c={x:n,y:r},d=await T(t,a),g=y(h(l)),v=p(g),w=c[v],x=c[g];
1if(i){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+d[e],r=w-d[t];w=u(n,o(w,r))}if(f){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=x+d[e],r=x-d[t];x=u(n,o(x,r))}let b=s.fn({...t,[v]:w,[g]:x});return{...b,data:{x:b.x-n,y:b.y-r}}}}},ea=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,l,i,o;let u,f,s,{placement:a,middlewareData:c,rects:d,initialPlacement:p,platform:v,elements:R}=t,{mainAxis:E=!0,crossAxis:C=!0,fallbackPlacements:M,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:A=!0,...L}=m(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let F=h(a),O=y(p),H=h(p)===p,k=await (null==v.isRTL?void 0:v.isRTL(R.floating)),D=M||(H||!A?[b(p)]:(u=b(p),[x(p),u,x(u)])),N="none"!==S;!M&&N&&D.push(...(f=g(p),s=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[]}}(h(p),"start"===S,k),f&&(s=s.map(e=>e+"-"+f),A&&(s=s.concat(s.map(x)))),s));let I=[p,...D],W=await T(t,L),B=[],V=(null==(r=c.flip)?void 0:r.overflows)||[];if(E&&B.push(W[F]),C){let e=w(a,d,k);B.push(W[e[0]],W[e[1]])}if(V=[...V,{placement:a,overflows:B}],!B.every(e=>e<=0)){let e=((null==(l=c.flip)?void 0:l.index)||0)+1,t=I[e];if(t)return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(i=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(P){case"bestFit":{let e=null==(o=V.filter(e=>{if(N){let t=y(e.placement);return t===O||"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=p}if(a!==n)return{reset:{placement:n}}}return{}}}},ec=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:l,rects:i,platform:f,elements:s}=t,{apply:a=()=>{},...c}=m(e,t),d=await T(t,c),p=h(l),v=g(l),w="y"===y(l),{width:x,height:b}=i.floating;"top"===p||"bottom"===p?(n=p,r=v===(await (null==f.isRTL?void 0:f.isRTL(s.floating))?"start":"end")?"left":"right"):(r=p,n="end"===v?"top":"bottom");let R=b-d.top-d.bottom,E=x-d.left-d.right,C=o(b-d[n],R),M=o(x-d[r],E),P=!t.middlewareData.shift,S=C,A=M;if(w?A=v||P?o(M,E):E:S=v||P?o(C,R):R,P&&!v){let e=u(d.left,0),t=u(d.right,0),n=u(d.top,0),r=u(d.bottom,0);w?A=x-2*(0!==e||0!==t?e+t:u(d.left,d.right)):S=b-2*(0!==n||0!==r?n+r:u(d.top,d.bottom))}await a({...t,availableWidth:A,availableHeight:S});let L=await f.getDimensions(s.floating);return x!==L.width||b!==L.height?{reset:{rects:!0}}:{}}}},ed=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...l}=m(e,t);
1switch(r){case"referenceHidden":{let e=P(await T(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:S(e)}}}case"escaped":{let e=P(await T(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:S(e)}}}default:return{}}}}},em=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:i,platform:f,elements:s,middlewareData:a}=t,{element:c,padding:d=0}=m(e,t)||{};if(null==c)return{};let h=R(d),w={x:n,y:r},x=p(y(l)),b=v(x),E=await f.getDimensions(c),C="y"===x,M=C?"clientHeight":"clientWidth",T=i.reference[b]+i.reference[x]-w[x]-i.floating[b],P=w[x]-i.reference[x],S=await (null==f.getOffsetParent?void 0:f.getOffsetParent(c)),A=S?S[M]:0;A&&await (null==f.isElement?void 0:f.isElement(S))||(A=s.floating[M]||i.floating[b]);let L=A/2-E[b]/2-1,F=o(h[C?"top":"left"],L),O=o(h[C?"bottom":"right"],L),H=A-E[b]-O,k=A/2-E[b]/2+(T/2-P/2),D=u(F,o(k,H)),N=!a.arrow&&null!=g(l)&&k!==D&&i.reference[b]/2-(k<F?F:O)-E[b]/2<0,I=N?k<F?k-F:k-H:0;return{[x]:w[x]+I,data:{[x]:D,centerOffset:k-D-I,...N&&{alignmentOffset:I}},reset:N}}}),eh=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:l,platform:i,strategy:f}=t,{padding:s=2,x:a,y:c}=m(e,t),d=Array.from(await (null==i.getClientRects?void 0:i.getClientRects(r.reference))||[]),g=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let l=t[e];!r||l.y-r.y>r.height/2?n.push([l]):n[n.length-1].push(l),r=l}return n.map(e=>E(A(e)))}(d),p=E(A(d)),v=R(s),w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=a&&null!=c)return g.find(e=>a>e.left-v.left&&a<e.right+v.right&&c>e.top-v.top&&c<e.bottom+v.bottom)||p;if(g.length>=2){if("y"===y(n)){let e=g[0],t=g[g.length-1],r="top"===h(n),l=e.top,i=t.bottom,o=r?e.left:t.left,u=r?e.right:t.right;return{top:l,bottom:i,left:o,right:u,width:u-o,height:i-l,x:o,y:l}}let e="left"===h(n),t=u(...g.map(e=>e.right)),r=o(...g.map(e=>e.left)),l=g.filter(n=>e?n.left===r:n.right===t),i=l[0].top,f=l[l.length-1].bottom;return{top:i,bottom:f,left:r,right:t,width:t-r,height:f-i,x:r,y:i}}return p}},floating:r.floating,strategy:f});return l.reference.x!==w.reference.x||l.reference.y!==w.reference.y||l.reference.width!==w.reference.width||l.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},eg=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:l,rects:i,middlewareData:o}=t,{offset:u=0,mainAxis:f=!0,crossAxis:s=!0}=m(e,t),a={x:n,y:r},c=y(l),d=p(c),g=a[d],v=a[c],w=m(u,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(f){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+x.mainAxis,n=i.reference[d]+i.reference[e]-x.mainAxis;g<t?g=t:g>n&&(g=n)}if(s){var b,R;let e="y"===d?"width":"height",t=["top","left"].includes(h(l)),n=i.reference[c]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[c])||0)+(t?0:x.crossAxis),r=i.reference[c]+i.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[c])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[d]:g,[c]:v}}}},ep=(e,t,n)=>{let r=new Map,l={platform:ei,...n},i={...l.platform,_c:r};return M(e,t,{...l,platform:i})};e.s(["arrow",()=>em,"autoPlacement",()=>ef,"autoUpdate",()=>eo,"computePosition",()=>ep,"detectOverflow",()=>T,"flip",()=>ea,"hide",()=>ed,"inline",()=>eh,"limitShift",()=>eg,"offset",()=>eu,"shift",()=>es,"size",()=>ec],953760);var ev=e.i(174080),ey="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function ew(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(!ew(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)&&!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 eR(e){let n=t.useRef(e);return ey(()=>{n.current=e}),n}let eE=(e,t)=>({...eu(e),options:[e,t]});e.i(247167);var eC="undefined"==typeof Element;eC||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,eC||Element.prototype.getRootNode;let eM={...t},eT=eM.useInsertionEffect||(e=>e());function eP(e){let n=t.useRef(()=>{});return eT(()=>{n.current=e}),t.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)},[])}var eS="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;let eA=!1,eL=0,eF=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+eL++,eO=eM.useId||function(){let[e,n]=t.useState(()=>eA?eF():void 0);return eS(()=>{null==e&&n(eF())},[]),t.useEffect(()=>{eA=!0},[]),e},eH=t.createContext(null),ek=t.createContext(null),eD="active",eN="selected";function eI(e,t,n){let r=new Map,l="item"===n,i=e;if(l&&e){let{[eD]:t,[eN]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1},...i,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>
1(t&&Object.entries(t).forEach(t=>{let[n,i]=t;if(!(l&&[eD,eN].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof i){var o;null==(o=r.get(n))||o.push(i),e[n]=function(){for(var e,t=arguments.length,l=Array(t),i=0;i<t;i++)l[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...l)).find(e=>void 0!==e)}}}else e[n]=i}),e),{})}}function eW(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var eB=e.i(746725),eV=e.i(914189);let ej=(0,t.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});ej.displayName="FloatingContext";let e$=(0,t.createContext)(null);function ez(e){return(0,t.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function eq(){return(0,t.useContext)(ej).setReference}function eK(){return(0,t.useContext)(ej).getReferenceProps}function eU(){let{getFloatingProps:e,slot:n}=(0,t.useContext)(ej);return(0,t.useCallback)((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])}function e_(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let r=(0,t.useContext)(e$),l=(0,t.useMemo)(()=>e,[JSON.stringify(e,"undefined"!=typeof HTMLElement?(e,t)=>t instanceof HTMLElement?t.outerHTML:t:void 0)]);(0,n.useIsoMorphicEffect)(()=>{null==r||r(null!=l?l:null)},[r,l]);let i=(0,t.useContext)(ej);return(0,t.useMemo)(()=>[i.setFloating,e?i.styles:{}],[i.setFloating,e,i.styles])}function eY({children:e,enabled:r=!0}){var l,i,o,u,f,s,a;let c,d,h,g,p,v,y,w,x,b,R,E,C,M,P,S,[A,L]=(0,t.useState)(null),[F,O]=(0,t.useState)(0),H=(0,t.useRef)(null),[k,N]=(0,t.useState)(null);i=k,(0,n.useIsoMorphicEffect)(()=>{if(!i)return;let e=new MutationObserver(()=>{let e=i.style.maxHeight;parseFloat(e)!==parseInt(e)&&(i.style.maxHeight=`${Math.ceil(parseFloat(e))}px`)});return e.observe(i,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[i]);let I=r&&null!==A&&null!==k,{to:W="bottom",gap:B=0,offset:V=0,padding:j=0,inner:$}=(o=A,u=k,c=eX(null!=(f=null==o?void 0:o.gap)?f:"var(--anchor-gap, 0)",u),d=eX(null!=(s=null==o?void 0:o.offset)?s:"var(--anchor-offset, 0)",u),h=eX(null!=(a=null==o?void 0:o.padding)?a:"var(--anchor-padding, 0)",u),{...o,gap:c,offset:d,padding:h}),[z,q="center"]=W.split(" ");(0,n.useIsoMorphicEffect)(()=>{I&&O(0)},[I]);let{refs:K,floatingStyles:U,context:_}=function(e){void 0===e&&(e={});let{nodeId:n}=e,r=function(e){var n;let{open:r=!1,onOpenChange:l,elements:i}=e,o=eO(),u=t.useRef({}),[f]=t.useState(()=>{let e;return e=new Map,{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))||[])}}}),s=null!=((null==(n=t.useContext(eH))?void 0:n.id)||null),[a,c]=t.useState(i.reference),d=eP((e,t,n)=>{u.current.openEvent=e?t:void 0,f.emit("openchange",{open:e,event:t,reason:n,nested:s}),null==l||l(e,t,n)}),m=t.useMemo(()=>({setPositionReference:c}),[]),h=t.useMemo(()=>({reference:a||i.reference||null,floating:i.floating||null,domReference:i.reference}),[a,i.reference,i.floating]);return t.useMemo(()=>({dataRef:u,open:r,onOpenChange:d,elements:h,events:f,floatingId:o,refs:m}),[r,d,h,f,o,m])}({...e,elements:{reference:null,floating:null,...e.elements}}),l=e.rootContext||r,i=l.elements,[o,u]=t.useState(null),[f,s]=t.useState(null),a=(null==i?void 0:i.reference)||o,c=t.useRef(null),d=t.useContext(ek);eS(()=>{a&&(c.current=a)},[a]);let m=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:l=[],platform:i,elements:{reference:o,floating:u}={},transform:f=!0,whileElementsMounted:s,open:a}=e,[c,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[m,h]=t.useState(l);ew(m,l)||h(l);let[g,p]=t.useState(null),[v,y]=t.useState(null),w=t.useCallback(e=>{e!==E.current&&(E.current=e,p(e))},[]),x=t.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),b=o||g,R=u||v,E=t.useRef(null),C=t.useRef(null),M=t.useRef(c),T=null!=s,P=eR(s),S=eR(i),A=t.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:n,strategy:r,middleware:m};S.current&&(e.platform=S.current),ep(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!0};L.current&&!ew(M.current,t)&&(M.current=t,ev.flushSync(()=>{d(t)}))})},[m,n,r,S]);ey(()=>{!1===a&&M.current.isPositioned&&(M.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[a]);let L=t.useRef(!1);ey(()=>(L.current=!0,()=>{L.current=!1}),[]),ey(()=>
1{if(b&&(E.current=b),R&&(C.current=R),b&&R){if(P.current)return P.current(b,R,A);A()}},[b,R,A,P,T]);let F=t.useMemo(()=>({reference:E,floating:C,setReference:w,setFloating:x}),[w,x]),O=t.useMemo(()=>({reference:b,floating:R}),[b,R]),H=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!O.floating)return e;let t=eb(O.floating,c.x),n=eb(O.floating,c.y);return f?{...e,transform:"translate("+t+"px, "+n+"px)",...ex(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,f,O.floating,c.x,c.y]);return t.useMemo(()=>({...c,update:A,refs:F,elements:O,floatingStyles:H}),[c,A,F,O,H])}({...e,elements:{...i,...f&&{reference:f}}}),h=t.useCallback(e=>{let t=D(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),m.refs.setReference(t)},[m.refs]),g=t.useCallback(e=>{(D(e)||null===e)&&(c.current=e,u(e)),(D(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!D(e))&&m.refs.setReference(e)},[m.refs]),p=t.useMemo(()=>({...m.refs,setReference:g,setPositionReference:h,domReference:c}),[m.refs,g,h]),v=t.useMemo(()=>({...m.elements,domReference:a}),[m.elements,a]),y=t.useMemo(()=>({...m,...l,refs:p,elements:v,nodeId:n}),[m,p,v,n,l]);return eS(()=>{l.dataRef.current.floatingContext=y;let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===n);e&&(e.context=y)}),t.useMemo(()=>({...m,context:y,refs:p,elements:v}),[m,p,v,y])}({open:I,placement:"selection"===z?"center"===q?"bottom":`bottom-${q}`:"center"===q?`${z}`:`${z}-${q}`,strategy:"absolute",transform:!1,middleware:[eE({mainAxis:"selection"===z?0:B,crossAxis:V}),{...es(g={padding:j}),options:[g,p]},"selection"!==z&&{...ea(v={padding:j}),options:[v,y]},"selection"===z&&$?{name:"inner",options:w={...$,padding:j,overflowRef:H,offset:F,minItemsVisible:4,referenceOverflowThreshold:j,onFallbackChange(e){var t,n;if(!e)return;let r=_.elements.floating;if(!r)return;let l=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,i=Math.min(4,r.childElementCount),o=0,u=0;for(let e of null!=(n=null==(t=_.elements.floating)?void 0:t.childNodes)?n:[])if(e instanceof HTMLElement){let t=e.offsetTop,n=t+e.clientHeight+l,f=r.scrollTop,s=f+r.clientHeight;if(t>=f&&n<=s)i--;else{u=Math.max(0,Math.min(n,s)-Math.max(t,f)),o=e.clientHeight;break}}i>=1&&O(e=>{let t=o*i-u+l;return e>=t?e:t})}},async fn(e){let{listRef:t,overflowRef:n,onFallbackChange:r,offset:l=0,index:i=0,minItemsVisible:o=4,referenceOverflowThreshold:u=0,scrollRef:f,...s}=m(w,e),{rects:a,elements:{floating:c}}=e,d=t.current[i];if(!d)return{};let h={...e,...await eE(-d.offsetTop-c.clientTop-a.reference.height/2-d.offsetHeight/2-l).fn(e)},g=(null==f?void 0:f.current)||c,p=await T(eW(h,g.scrollHeight),s),v=await T(h,{...s,elementContext:"reference"}),y=Math.max(0,p.top),x=h.y+y,b=Math.max(0,g.scrollHeight-y-Math.max(0,p.bottom));return g.style.maxHeight=b+"px",g.scrollTop=y,r&&(g.offsetHeight<d.offsetHeight*Math.min(o,t.current.length-1)-1||v.top>=-u||v.bottom>=-u?ev.flushSync(()=>r(!0)):ev.flushSync(()=>r(!1))),n&&(n.current=await T(eW({...h,y:x},g.offsetHeight),s)),{y:x}}}:null,{...ec(x={padding:j,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}}),options:[x,b]}].filter(Boolean),whileElementsMounted:eo}),[Y=z,X=q]=_.placement.split("-");"selection"===z&&(Y="selection");let J=(0,t.useMemo)(()=>({anchor:[Y,X].filter(Boolean).join(" ")}),[Y,X]),{getReferenceProps:G,getFloatingProps:Q}=(R=(l=[function(e,n){let{open:r,elements:l}
1=e,{enabled:i=!0,overflowRef:o,scrollRef:u,onChange:f}=n,s=eP(f),a=t.useRef(!1),c=t.useRef(null),d=t.useRef(null);t.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==o.current)return;let n=e.deltaY,r=o.current.top>=-.5,l=o.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,u=n<0?-1:1,f=n<0?"max":"min";if(!(t.scrollHeight<=t.clientHeight))if(!r&&n>0||!l&&n<0)e.preventDefault(),ev.flushSync(()=>{s(e=>e+Math[f](n,i*u))});else{let e;/firefox/i.test((e=navigator.userAgentData)&&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(r&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{c.current=t.scrollTop,null!=o.current&&(d.current={...o.current})}),()=>{c.current=null,d.current=null,t.removeEventListener("wheel",e)}},[i,r,l.floating,o,u,s]);let m=t.useMemo(()=>({onKeyDown(){a.current=!0},onWheel(){a.current=!1},onPointerMove(){a.current=!1},onScroll(){let e=(null==u?void 0:u.current)||l.floating;if(o.current&&e&&a.current){if(null!==c.current){let t=e.scrollTop-c.current;(o.current.bottom<-.5&&t<-1||o.current.top<-.5&&t>1)&&ev.flushSync(()=>s(e=>e+t))}requestAnimationFrame(()=>{c.current=e.scrollTop})}}}),[l.floating,s,o,u]);return t.useMemo(()=>i?{floating:m}:{},[i,m])}(_,{overflowRef:H,onChange:O})]).map(e=>null==e?void 0:e.reference),E=l.map(e=>null==e?void 0:e.floating),C=l.map(e=>null==e?void 0:e.item),M=t.useCallback(e=>eI(e,l,"reference"),R),P=t.useCallback(e=>eI(e,l,"floating"),E),S=t.useCallback(e=>eI(e,l,"item"),C),t.useMemo(()=>({getReferenceProps:M,getFloatingProps:P,getItemProps:S}),[M,P,S])),Z=(0,eV.useEvent)(e=>{N(e),K.setFloating(e)});return t.createElement(e$.Provider,{value:L},t.createElement(ej.Provider,{value:{setFloating:Z,setReference:K.setReference,styles:U,getReferenceProps:G,getFloatingProps:Q,slot:J}},e))}function eX(e,r,l){let i=(0,eB.useDisposables)(),o=(0,eV.useEvent)((e,t)=>{if(null==e)return[l,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[l,null];let n=eJ(e,t);return[n,r=>{let l=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 o=l.map(e=>window.getComputedStyle(t).getPropertyValue(e));i.requestAnimationFrame(function u(){i.nextFrame(u);let f=!1;for(let[e,n]of l.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(o[e]!==r){o[e]=r,f=!0;break}}if(!f)return;let s=eJ(e,t);n!==s&&(r(s),n=s)})}return i.dispose}]}return[l,null]}),u=(0,t.useMemo)(()=>o(e,r)[0],[e,r]),[f=u,s]=(0,t.useState)();return(0,n.useIsoMorphicEffect)(()=>{let[t,n]=o(e,r);if(s(t),n)return n(s)},[e,r]),f}function eJ(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}e$.displayName="PlacementContext",e.s(["FloatingProvider",()=>eY,"useFloatingPanel",()=>e_,"useFloatingPanelProps",()=>eU,"useFloatingReference",()=>eq,"useFloatingReferenceProps",()=>eK,"useResolvedAnchor",()=>ez],919751)},65659,e=>{"use strict";let t;var n=((t=n||{})[t.First=0]="First",t[t.Previous=1]="Previous",t[t.Next=2]="Next",t[t.Last=3]="Last",t[t.Specific=4]="Specific",t[t.Nothing=5]="Nothing",t);function r(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),l=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===l&&(l=n.length);for(let e=l-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=l+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:throw Error("Unexpected object: "+e)}}e.s(["Focus",()=>n,"calculateActiveIndex",()=>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.