1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9249],{23201:(e,t,n)=>{n.d(t,{It:()=>H,Mk:()=>L,SV:()=>c,T3:()=>T,bv:()=>X,ck:()=>P,iQ:()=>Y,s9:()=>W,we:()=>S});var r,o=n(7620),u=n(3716),l=n(77547);n(97509);var i=n(81543);function c(e){return o.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}let s={...r||(r=n.t(o,2))},a=s.useInsertionEffect||(e=>e());function f(e){let t=o.useRef(()=>{});return a(()=>{t.current=e}),o.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 d="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;let v=!1,m=0,E=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+m++,p=s.useId||function(){let[e,t]=o.useState(()=>v?E():void 0);return d(()=>{null==e&&t(E())},[]),o.useEffect(()=>{v=!0},[]),e},g=o.createContext(null),b=o.createContext(null),y=()=>{var e;return(null==(e=o.useContext(g))?void 0:e.id)||null},R=()=>o.useContext(b);function h(e){return"data-floating-ui-"+e}function w(e){let t=(0,o.useRef)(e);return d(()=>{t.current=e}),t}let x=h("safe-polygon");function C(e,t,n){return n&&!(0,u.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function L(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:c,elements:s}=e,{enabled:a=!0,delay:v=0,handleClose:m=null,mouseOnly:E=!1,restMs:p=0,move:g=!0}=t,b=R(),h=y(),L=w(m),M=w(v),k=w(n),T=o.useRef(),P=o.useRef(-1),I=o.useRef(),q=o.useRef(-1),_=o.useRef(!0),D=o.useRef(!1),W=o.useRef(()=>{}),S=o.useRef(!1),Y=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(a)return c.on("openchange",e),()=>{c.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(P.current),clearTimeout(q.current),_.current=!0,S.current=!1)}},[a,c]),o.useEffect(()=>{if(!a||!L.current||!n)return;function e(e){Y()&&r(!1,e,"hover")}let t=(0,u.YE)(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s.floating,n,r,a,L,Y]);let A=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=C(M.current,"close",T.current);o&&!I.current?(clearTimeout(P.current),P.current=window.setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(P.current),r(!1,e,n))},[M,r]),K=f(()=>{W.current(),I.current=void 0}),B=f(()=>{if(D.current){let e=(0,u.YE)(s.floating).body;e.style.pointerEvents="",e.removeAttribute(x),D.current=!1}}),X=f(()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type));o.useEffect(()=>{if(a&&(0,l.vq)(s.domReference)){var e;let r=s.domReference;return n&&r.addEventListener("mouseleave",c),null==(e=s.floating)||e.addEventListener("mouseleave",c),g&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",c),null==(e=s.floating)||e.removeEventListener("mouseleave",c),g&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(clearTimeout(P.current),_.current=!1,E&&!(0,u.Go)(T.current)||p>0&&!C(M.current,"open"))return;let t=C(M.current,"open",T.current);t?P.current=window.setTimeout(()=>{k.current||r(!0,e,"hover")},t):n||r(!0,e,"hover")}function o(e){if(X())return;W.current();let t=(0,u.YE)(s.floating);if(clearTimeout(q.current),S.current=!1,L.current&&i.current.floatingContext){n||clearTimeout(P.current),I.current=L.current({...i.current.floatingContext,tree:b,x:e.clientX,y:e.clientY,onClose(){B(),K(),X()||A(e,!0,"safe-polygon")}});let r=I.current;t.addEventListener("mousemove",r),W.current=()=>{t.removeEventListener("mousemove",r)};return}"touch"===T.current&&(0,u.gR)(s.floating,e.relatedTarget)||A(e)}function c(e){!X()&&i.current.floatingContext&&(null==L.current||L.current({...i.current.floatingContext,tree:b,x:e.clientX,y:e.clientY,onClose(){B(),K(),X()||A(e)}})(e))}},[s,a,e,E,p,g,A,K,B,r,n,k,b,M,L,i,X]),d(()=>{var e,t;if(a&&n&&null!=(e=L.current)&&e.__options.blockPointerEvents&&Y()){D.current=!0;let e=s.floating;if((0,l.vq)(s.domReference)&&e){let n=(0,u.YE)(s.floating).body;n.setAttribute(x,"");let r=s.domReference,o=null==b||null==(t=b.nodesRef.current.find(e=>e.id===h))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[a,n,h,s,b,L,Y]),d(()=>{n||(T.current=void 0,S.current=!1,K(),B())},[n,K,B]),o.useEffect(()=>()=>{K(),clearTimeout(P.current),clearTimeout(q.current),B()},[a,s.domReference,K,B]);let F=o.useMemo(()=>{function e(e){T.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function o(){_.current||k.current||r(!0,t,"hover")}(!E||(0,u.Go)(T.current))&&!n&&0!==p&&(S.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(q.current),"touch"===T.current?o():(S.current=!0,q.current=window.setTimeout(o,p))))}}},[E,r,n,k,p]),H=o.useMemo(()=>({onMouseEnter(){clearTimeout(P.current)},onMouseLeave(e){X()||A(e.nativeEvent,!1)}}),[A,X]);return o.useMemo(()=>a?{reference:F,floating:H}:{},[a,F,H])}let M=()=>{},k=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:M,setState:M,isInstantPhase:!1});function T(e){let{children:t,delay:n,timeoutMs:r=0}=e,[u,l]=o.useReducer((e,t)=>
1({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),i=o.useRef(null),c=o.useCallback(e=>{l({currentId:e})},[]);return d(()=>{u.currentId?null===i.current?i.current=u.currentId:u.isInstantPhase||l({isInstantPhase:!0}):(u.isInstantPhase&&l({isInstantPhase:!1}),i.current=null)},[u.currentId,u.isInstantPhase]),o.createElement(k.Provider,{value:o.useMemo(()=>({...u,setState:l,setCurrentId:c}),[u,c])},t)}function P(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:u}=e,{id:l,enabled:i=!0}=t,c=null!=l?l:u,s=o.useContext(k),{currentId:a,setCurrentId:f,initialDelay:v,setState:m,timeoutMs:E}=s;return d(()=>{i&&a&&(m({delay:{open:1,close:C(v,"close")}}),a!==c&&r(!1))},[i,c,r,m,a,v]),d(()=>{function e(){r(!1),m({delay:v,currentId:null})}if(i&&a&&!n&&a===c){if(E){let t=window.setTimeout(e,E);return()=>{clearTimeout(t)}}e()}},[i,n,m,a,c,r,v,E]),d(()=>{i&&f!==M&&n&&f(c)},[i,n,f,c]),s}function I(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let q={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},_={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},D=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function W(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:i,dataRef:c}=e,{enabled:s=!0,escapeKey:a=!0,outsidePress:d=!0,outsidePressEvent:v="pointerdown",referencePress:m=!1,referencePressEvent:E="pointerdown",ancestorScroll:p=!1,bubbles:g,capture:b}=t,y=R(),w=f("function"==typeof d?d:()=>!1),x="function"==typeof d?w:d,C=o.useRef(!1),L=o.useRef(!1),{escapeKey:M,outsidePress:k}=D(g),{escapeKey:T,outsidePress:P}=D(b),W=o.useRef(!1),S=f(e=>{var t;if(!n||!s||!a||"Escape"!==e.key||W.current)return;let o=null==(t=c.current.floatingContext)?void 0:t.nodeId,l=y?I(y.nodesRef.current,o):[];if(!M&&(e.stopPropagation(),l.length>0)){let e=!0;if(l.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,(0,u.O_)(e)?e.nativeEvent:e,"escape-key")}),Y=f(e=>{var t;let n=()=>{var t;S(e),null==(t=(0,u.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,u.EW)(e))||t.addEventListener("keydown",n)}),A=f(e=>{var t;let n=C.current;C.current=!1;let o=L.current;if(L.current=!1,"click"===v&&o||n||"function"==typeof x&&!x(e))return;let s=(0,u.EW)(e),a="["+h("inert")+"]",f=(0,u.YE)(i.floating).querySelectorAll(a),d=(0,l.vq)(s)?s:null;for(;d&&!(0,l.eu)(d);){let e=(0,l.$4)(d);if((0,l.eu)(e)||!(0,l.vq)(e))break;d=e}if(f.length&&(0,l.vq)(s)&&!(0,u.tZ)(s)&&!(0,u.gR)(s,i.floating)&&Array.from(f).every(e=>!(0,u.gR)(d,e)))return;if((0,l.sb)(s)&&X){let t=s.clientWidth>0&&s.scrollWidth>s.clientWidth,n=s.clientHeight>0&&s.scrollHeight>s.clientHeight,r=n&&e.offsetX>s.clientWidth;if(n&&"rtl"===(0,l.L9)(s).direction&&(r=e.offsetX<=s.offsetWidth-s.clientWidth),r||t&&e.offsetY>s.clientHeight)return}let m=null==(t=c.current.floatingContext)?void 0:t.nodeId,E=y&&I(y.nodesRef.current,m).some(t=>{var n;return(0,u.F2)(e,null==(n=t.context)?void 0:n.elements.floating)});if((0,u.F2)(e,i.floating)||(0,u.F2)(e,i.domReference)||E)return;let p=y?I(y.nodesRef.current,m):[];if(p.length>0){let e=!0;if(p.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),K=f(e=>{var t;let n=()=>{var t;A(e),null==(t=(0,u.EW)(e))||t.removeEventListener(v,n)};null==(t=(0,u.EW)(e))||t.addEventListener(v,n)});o.useEffect(()=>{if(!n||!s)return;c.current.__escapeKeyBubbles=M,c.current.__outsidePressBubbles=k;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),W.current=!0}function f(){e=window.setTimeout(()=>{W.current=!1},5*!!(0,l.Tc)())}let d=(0,u.YE)(i.floating);a&&(d.addEventListener("keydown",T?Y:S,T),d.addEventListener("compositionstart",o),d.addEventListener("compositionend",f)),x&&d.addEventListener(v,P?K:A,P);let m=[];return p&&((0,l.vq)(i.domReference)&&(m=(0,l.v9)(i.domReference)),(0,l.vq)(i.floating)&&(m=m.concat((0,l.v9)(i.floating))),!(0,l.vq)(i.reference)&&i.reference&&i.reference.contextElement&&(m=m.concat((0,l.v9)(i.reference.contextElement)))),(m=m.filter(e=>{var t;
1return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{a&&(d.removeEventListener("keydown",T?Y:S,T),d.removeEventListener("compositionstart",o),d.removeEventListener("compositionend",f)),x&&d.removeEventListener(v,P?K:A,P),m.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[c,i,a,x,v,n,r,p,s,M,k,S,T,Y,A,P,K]),o.useEffect(()=>{C.current=!1},[x,v]);let B=o.useMemo(()=>({onKeyDown:S,[q[E]]:e=>{m&&r(!1,e.nativeEvent,"reference-press")}}),[S,r,m,E]),X=o.useMemo(()=>({onKeyDown:S,onMouseDown(){L.current=!0},onMouseUp(){L.current=!0},[_[v]]:()=>{C.current=!0}}),[S,v]);return o.useMemo(()=>s?{reference:B,floating:X}:{},[s,B,X])}function S(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,u=p(),l=o.useRef({}),[i]=o.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))||[])}}})()),c=null!=y(),[s,a]=o.useState(r.reference),d=f((e,t,r)=>{l.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)}),v=o.useMemo(()=>({setPositionReference:a}),[]),m=o.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return o.useMemo(()=>({dataRef:l,open:t,onOpenChange:d,elements:m,events:i,floatingId:u,refs:v}),[t,d,m,i,u,v])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,u=r.elements,[c,s]=o.useState(null),[a,v]=o.useState(null),m=(null==u?void 0:u.domReference)||c,E=o.useRef(null),g=R();d(()=>{m&&(E.current=m)},[m]);let b=(0,i.we)({...e,elements:{...u,...a&&{reference:a}}}),h=o.useCallback(e=>{let t=(0,l.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;v(t),b.refs.setReference(t)},[b.refs]),w=o.useCallback(e=>{((0,l.vq)(e)||null===e)&&(E.current=e,s(e)),((0,l.vq)(b.refs.reference.current)||null===b.refs.reference.current||null!==e&&!(0,l.vq)(e))&&b.refs.setReference(e)},[b.refs]),x=o.useMemo(()=>({...b.refs,setReference:w,setPositionReference:h,domReference:E}),[b.refs,w,h]),C=o.useMemo(()=>({...b.elements,domReference:m}),[b.elements,m]),L=o.useMemo(()=>({...b,...r,refs:x,elements:C,nodeId:t}),[b,x,C,t,r]);return d(()=>{r.dataRef.current.floatingContext=L;let e=null==g?void 0:g.nodesRef.current.find(e=>e.id===t);e&&(e.context=L)}),o.useMemo(()=>({...b,context:L,refs:x,elements:C}),[b,x,C,L])}function Y(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,dataRef:c,elements:s}=e,{enabled:a=!0,visibleOnly:f=!0}=t,d=o.useRef(!1),v=o.useRef(),m=o.useRef(!0);o.useEffect(()=>{if(!a)return;let e=(0,l.zk)(s.domReference);function t(){!n&&(0,l.sb)(s.domReference)&&s.domReference===(0,u.RS)((0,u.YE)(s.domReference))&&(d.current=!0)}function r(){m.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[s.domReference,n,a]),o.useEffect(()=>{if(a)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(d.current=!0)}},[i,a]),o.useEffect(()=>()=>{clearTimeout(v.current)},[]);let E=o.useMemo(()=>({onPointerDown(e){(0,u.Pg)(e.nativeEvent)||(m.current=!1)},onMouseLeave(){d.current=!1},onFocus(e){if(d.current)return;let t=(0,u.EW)(e.nativeEvent);if(f&&(0,l.vq)(t))try{if((0,u.nr)()&&(0,u.cX)())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!m.current&&!(0,u.$u)(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){d.current=!1;let t=e.relatedTarget,n=e.nativeEvent,o=(0,l.vq)(t)&&t.hasAttribute(h("focus-guard"))&&"outside"===t.getAttribute("data-type");v.current=window.setTimeout(()=>{var e;let l=(0,u.RS)(s.domReference?s.domReference.ownerDocument:document);(t||l!==s.domReference)&&((0,u.gR)(null==(e=c.current.floatingContext)?void 0:e.refs.floating.current,l)||(0,u.gR)(s.domReference,l)||o||r(!1,n,"focus"))})}}),[c,s.domReference,r,f]);return o.useMemo(()=>a?{reference:E}:{},[a,E])}let A="active",K="selected";function B(e,t,n){let r=new Map,o="item"===n,u=e;if(o&&e){let{[A]:t,[K]:n,...r}=e;u=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...u,...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,u]=t;if(!(o&&[A,K].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof u){var l;null==(l=r.get(n))||l.push(u),e[n]=function(){for(var e,t=arguments.length,o=Array(t),u=0;u<t;u++)o[u]=arguments[u];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)}}}else e[n]=u}),e),{})}}function X(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),u=o.useCallback(t=>B(t,e,"reference"),t),l=o.useCallback(t=>B(t,e,"floating"),n),i=o.useCallback(t=>B(t,e,"item"),r);return o.useMemo(()=>({getReferenceProps:u,getFloatingProps:l,getItemProps:i}),[u,l,i])}let F=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function H(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:u}=e,{enabled:l=!0,role:i="dialog"}=t,c=null!=(n=F.get(i))?n:i,s=p(),a=null!=y(),f=o.useMemo(()=>"tooltip"===c||"label"===i?{["aria-"+("label"===i?"labelledby":"describedby")]:r?u:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===c?"dialog":c,"aria-controls":r?u:void 0,..."listbox"===c&&{role:"combobox"},..."menu"===c&&{id:s},..."menu"===c&&a&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},[c,u,a,r,s,i]),d=o.useMemo(()=>{let e={id:u,...c&&{role:c}};return"tooltip"===c||"label"===i?e:{...e,..."menu"===c&&{"aria-labelledby":s}}},[c,u,s,i]),v=o.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:u+"-option"}};switch(i){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}},[u,i]);return o.useMemo(()=>l?{reference:f,floating:d,item:v}:{},[l,f,d,v])}}}]);
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.