1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,992704,919751,e=>{"use strict";var t=e.i(271645),n=e.i(544508),l=e.i(835696);function r(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}e.s(["useElementSize",0,function(e,o,i=!1){let[u,s]=(0,t.useState)(()=>r(o));return(0,l.useIsoMorphicEffect)(()=>{if(!o||!e)return;let t=(0,n.disposables)();return t.requestAnimationFrame(function e(){t.requestAnimationFrame(e),s(e=>{let t=r(o);return t.width===e.width&&t.height===e.height?e:t})}),()=>{t.dispose()}},[o,e]),i?{width:`${u.width}px`,height:`${u.height}px`}:u}],992704);var o=e.i(953760),i=e.i(258950);e.i(247167);var u=e.i(229315),s=e.i(343084),a="u"<typeof Element;a||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a||Element.prototype.getRootNode;var c=e.i(174080);let f={...t},g=f.useInsertionEffect||(e=>e());function m(e){let n=t.useRef(()=>{});return g(()=>{n.current=e}),t.useCallback(function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return null==n.current?void 0:n.current(...t)},[])}var p="u">typeof document?t.useLayoutEffect:t.useEffect;let d=!1,h=0,v=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+h++,y=f.useId||function(){let[e,n]=t.useState(()=>d?v():void 0);return p(()=>{null==e&&n(v())},[]),t.useEffect(()=>{d=!0},[]),e},x=t.createContext(null),b=t.createContext(null),C="active",M="selected";function w(e,t,n){let l=new Map,r="item"===n,o=e;if(r&&e){let{[C]:t,[M]:n,...l}=e;o=l}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...o,...t.map(t=>{let l=t?t[n]:null;return"function"==typeof l?e?l(e):null:l}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(!(r&&[C,M].includes(n)))if(0===n.indexOf("on")){if(l.has(n)||l.set(n,[]),"function"==typeof o){var i;null==(i=l.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];return null==(e=l.get(n))?void 0:e.map(e=>e(...r)).find(e=>void 0!==e)}}}else e[n]=o}),e),{})}}function E(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var R=e.i(746725),F=e.i(914189),S=e.i(813581);let P=(0,t.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});P.displayName="FloatingContext";let T=(0,t.createContext)(null);function H(e,n,r){let o=(0,R.useDisposables)(),i=(0,F.useEvent)((e,t)=>{if(null==e)return[r,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[r,null];let n=A(e,t);return[n,l=>{let r=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let l=n[1].slice(0,t).trim(),r=n[1].slice(t+1).trim();return r?[l,...e(r)]:[l]}return[]}(e);{let i=r.map(e=>window.getComputedStyle(t).getPropertyValue(e));o.requestAnimationFrame(function u(){o.nextFrame(u);let s=!1;for(let[e,n]of r.entries()){let l=window.getComputedStyle(t).getPropertyValue(n);if(i[e]!==l){i[e]=l,s=!0;break}}if(!s)return;let a=A(e,t);n!==a&&(l(a),n=a)})}return o.dispose}]}return[r,null]}),u=(0,t.useMemo)(()=>i(e,n)[0],[e,n]),[s=u,a]=(0,t.useState)();return(0,l.useIsoMorphicEffect)(()=>{let[t,l]=i(e,n);if(a(t),l)return l(a)},[e,n]),s}function A(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 l=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),l}T.displayName="PlacementContext",e.s(["FloatingProvider",0,function({children:e,enabled:n=!0}){var r,a,f,g,d,h,v;let C,M,R,A,O,k,I,N,$,B,[j,q]=(0,t.useState)(null),[L,D]=(0,t.useState)(0),K=(0,t.useRef)(null),[U,V]=(0,t.useState)(null);a=U,(0,l.useIsoMorphicEffect)(()=>{if(!a)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(a).maxHeight,t=parseFloat(e);if(isNaN(t))return;let n=parseInt(e);isNaN(n)||t!==n&&(a.style.maxHeight=`${Math.ceil(t)}px`)});return e.observe(a,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[a]);let W=n&&null!==j&&null!==U,{to:z="bottom",gap:J=0,offset:Y=0,padding:G=0,inner:Q}=(f=j,g=U,C=H(null!=(d=null==f?void 0:f.gap)?d:"var(--anchor-gap, 0)",g),M=H(null!=(h=null==f?void 0:f.offset)?h:"var(--anchor-offset, 0)",g),R=H(null!=(v=null==f?void 0:f.padding)?v:"var(--anchor-padding, 0)",g),{...f,gap:C,offset:M,padding:R}),[X,Z="center"]=z.split(" ");(0,l.useIsoMorphicEffect)(()=>{W&&D(0)},[W]);let{refs:_,floatingStyles:ee,context:et}=function(e){void 0===e&&(e={});let{nodeId:n}=e,l=function(e){var n;let{open:l=!1,onOpenChange:r,elements:o}=e,i=y(),u=t.useRef({}),[s]=t.useState(()=>{let e;
1return e=new Map,{emit(t,n){var l;null==(l=e.get(t))||l.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var l;e.set(t,(null==(l=e.get(t))?void 0:l.filter(e=>e!==n))||[])}}}),a=null!=((null==(n=t.useContext(x))?void 0:n.id)||null),[c,f]=t.useState(o.reference),g=m((e,t,n)=>{u.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:a}),null==r||r(e,t,n)}),p=t.useMemo(()=>({setPositionReference:f}),[]),d=t.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);return t.useMemo(()=>({dataRef:u,open:l,onOpenChange:g,elements:d,events:s,floatingId:i,refs:p}),[l,g,d,s,i,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||l,o=r.elements,[s,a]=t.useState(null),[c,f]=t.useState(null),g=(null==o?void 0:o.domReference)||s,d=t.useRef(null),h=t.useContext(b);p(()=>{g&&(d.current=g)},[g]);let v=(0,i.useFloating)({...e,elements:{...o,...c&&{reference:c}}}),C=t.useCallback(e=>{let t=(0,u.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;f(t),v.refs.setReference(t)},[v.refs]),M=t.useCallback(e=>{((0,u.isElement)(e)||null===e)&&(d.current=e,a(e)),((0,u.isElement)(v.refs.reference.current)||null===v.refs.reference.current||null!==e&&!(0,u.isElement)(e))&&v.refs.setReference(e)},[v.refs]),w=t.useMemo(()=>({...v.refs,setReference:M,setPositionReference:C,domReference:d}),[v.refs,M,C]),E=t.useMemo(()=>({...v.elements,domReference:g}),[v.elements,g]),R=t.useMemo(()=>({...v,...r,refs:w,elements:E,nodeId:n}),[v,w,E,n,r]);return p(()=>{r.dataRef.current.floatingContext=R;let e=null==h?void 0:h.nodesRef.current.find(e=>e.id===n);e&&(e.context=R)}),t.useMemo(()=>({...v,context:R,refs:w,elements:E}),[v,w,E,R])}({open:W,placement:"selection"===X?"center"===Z?"bottom":`bottom-${Z}`:"center"===Z?`${X}`:`${X}-${Z}`,strategy:"absolute",transform:!1,middleware:[(0,i.offset)({mainAxis:"selection"===X?0:J,crossAxis:Y}),(0,i.shift)({padding:G}),"selection"!==X&&(0,i.flip)({padding:G}),"selection"===X&&Q?{name:"inner",options:A={...Q,padding:G,overflowRef:K,offset:L,minItemsVisible:4,referenceOverflowThreshold:G,onFallbackChange(e){var t,n;if(!e)return;let l=et.elements.floating;if(!l)return;let r=parseFloat(getComputedStyle(l).scrollPaddingBottom)||0,o=Math.min(4,l.childElementCount),i=0,u=0;for(let e of null!=(n=null==(t=et.elements.floating)?void 0:t.childNodes)?n:[])if(S.isHTMLElement(e)){let t=e.offsetTop,n=t+e.clientHeight+r,s=l.scrollTop,a=s+l.clientHeight;if(t>=s&&n<=a)o--;else{u=Math.max(0,Math.min(n,a)-Math.max(t,s)),i=e.clientHeight;break}}o>=1&&D(e=>{let t=i*o-u+r;return e>=t?e:t})}},async fn(e){let{listRef:t,overflowRef:n,onFallbackChange:l,offset:r=0,index:u=0,minItemsVisible:a=4,referenceOverflowThreshold:f=0,scrollRef:g,...m}=(0,s.evaluate)(A,e),{rects:p,elements:{floating:d}}=e,h=t.current[u],v=(null==g?void 0:g.current)||d,y=d.clientTop||v.clientTop,x=0!==d.clientTop,b=0!==v.clientTop,C=d===v;if(!h)return{};let M={...e,...await (0,i.offset)(-h.offsetTop-d.clientTop-p.reference.height/2-h.offsetHeight/2-r).fn(e)},w=await (0,o.detectOverflow)(E(M,v.scrollHeight+y+d.clientTop),m),R=await (0,o.detectOverflow)(M,{...m,elementContext:"reference"}),F=(0,s.max)(0,w.top),S=M.y+F,P=(v.scrollHeight>v.clientHeight?e=>e:s.round)((0,s.max)(0,v.scrollHeight+(x&&C||b?2*y:0)-F-(0,s.max)(0,w.bottom)));if(v.style.maxHeight=P+"px",v.scrollTop=F,l){let e=v.offsetHeight<h.offsetHeight*(0,s.min)(a,t.current.length)-1||R.top>=-f||R.bottom>=-f;c.flushSync(()=>l(e))}return n&&(n.current=await (0,o.detectOverflow)(E({...M,y:S},v.offsetHeight+y+d.clientTop),m)),{y:S}}}:null,(0,i.size)({padding:G,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)`})}})].filter(Boolean),whileElementsMounted:o.autoUpdate}),[en=X,el=Z]=et.placement.split("-");"selection"===X&&(en="selection");let er=(0,t.useMemo)(()=>({anchor:[en,el].filter(Boolean).join(" ")}),[en,el]),{getReferenceProps:eo,getFloatingProps:ei}=(O=(r=[function(e,n){let{open:l,elements:r}
1=e,{enabled:o=!0,overflowRef:i,scrollRef:u,onChange:s}=n,a=m(s),f=t.useRef(!1),g=t.useRef(null),p=t.useRef(null);t.useEffect(()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;let n=e.deltaY,l=i.current.top>=-.5,r=i.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,u=n<0?-1:1,s=n<0?"max":"min";if(!(t.scrollHeight<=t.clientHeight))if(!l&&n>0||!r&&n<0)e.preventDefault(),c.flushSync(()=>{a(e=>e+Math[s](n,o*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)||r.floating;if(l&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{g.current=t.scrollTop,null!=i.current&&(p.current={...i.current})}),()=>{g.current=null,p.current=null,t.removeEventListener("wheel",e)}},[o,l,r.floating,i,u,a]);let d=t.useMemo(()=>({onKeyDown(){f.current=!0},onWheel(){f.current=!1},onPointerMove(){f.current=!1},onScroll(){let e=(null==u?void 0:u.current)||r.floating;if(i.current&&e&&f.current){if(null!==g.current){let t=e.scrollTop-g.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&c.flushSync(()=>a(e=>e+t))}requestAnimationFrame(()=>{g.current=e.scrollTop})}}}),[r.floating,a,i,u]);return t.useMemo(()=>o?{floating:d}:{},[o,d])}(et,{overflowRef:K,onChange:D})]).map(e=>null==e?void 0:e.reference),k=r.map(e=>null==e?void 0:e.floating),I=r.map(e=>null==e?void 0:e.item),N=t.useCallback(e=>w(e,r,"reference"),O),$=t.useCallback(e=>w(e,r,"floating"),k),B=t.useCallback(e=>w(e,r,"item"),I),t.useMemo(()=>({getReferenceProps:N,getFloatingProps:$,getItemProps:B}),[N,$,B])),eu=(0,F.useEvent)(e=>{V(e),_.setFloating(e)});return t.createElement(T.Provider,{value:q},t.createElement(P.Provider,{value:{setFloating:eu,setReference:_.setReference,styles:ee,getReferenceProps:eo,getFloatingProps:ei,slot:er}},e))},"useFloatingPanel",0,function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let n=(0,t.useContext)(T),r=(0,t.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,l.useIsoMorphicEffect)(()=>{null==n||n(null!=r?r:null)},[n,r]);let o=(0,t.useContext)(P);return(0,t.useMemo)(()=>[o.setFloating,e?o.styles:{}],[o.setFloating,e,o.styles])},"useFloatingPanelProps",0,function(){let{getFloatingProps:e,slot:n}=(0,t.useContext)(P);return(0,t.useCallback)((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])},"useFloatingReference",0,function(){return(0,t.useContext)(P).setReference},"useFloatingReferenceProps",0,function(){return(0,t.useContext)(P).getReferenceProps},"useResolvedAnchor",0,function(e){return(0,t.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}],919751)}]); 2 3//# sourceMappingURL=1nwy-9olcai97.js.map
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.