PageSourceSearch

https://www.litcode.ai/_next/static/chunks/919385c44cc0f69d.js

js litcode.ai collected 2026-10-05 15:38:10 UTC 25,817 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80462,e=>{"use strict";var t=e.i(92120);let n=["top","right","bottom","left"],r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){return["top","bottom"].includes(u(e))?"y":"x"}function g(e){return e.replace(/start|end/g,e=>s[e])}function y(e){return e.replace(/left|right|bottom|top/g,e=>f[e])}function w(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function v(e,t,n){let r,{reference:i,floating:o}=e,l=m(t),a=p(m(t)),f=h(a),s=u(t),c="y"===l,g=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,w=i[f]/2-o[f]/2;switch(s){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[a]-=w*(n&&c?-1:1);break;case"end":r[a]+=w*(n&&c?-1:1)}return r}let b=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=v(s,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:w,reset:x}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=g?g:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:u}=v(s,d,f)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};async function R(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(t,e),m=w(h),g=a[p?"floating"===d?"reference":"floating":d],y=x(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,strategy:f})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),R=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},A=x(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:f}):v);return{top:(y.top-A.top+m.top)/R.y,bottom:(A.bottom-y.bottom+m.bottom)/R.y,left:(y.left-A.left+m.left)/R.x,right:(A.right-y.right+m.right)/R.x}}function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return n.some(t=>e[t]>=0)}async function L(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=d(n),f="y"===m(n),s=["left","top"].includes(l)?-1:1,p=o&&f?-1:1,h=c(t,e),{mainAxis:g,crossAxis:y,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(y="end"===a?-1*w:w),f?{x:y*p,y:g*s}:{x:g*s,y:y*p}}function P(){return"undefined"!=typeof window}function S(e){return O(e)?(e.nodeName||"").toLowerCase():"#document"}function C(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function E(e){var t;return null==(t=(O(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function O(e){return!!P()&&(e instanceof Node||e instanceof C(e).Node)}function H(e){return!!P()&&(e instanceof Element||e instanceof C(e).Element)}function k(e){return!!P()&&(e instanceof HTMLElement||e instanceof C(e).HTMLElement)}function D(e){return!!P()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof C(e).ShadowRoot)}function j(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=M(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function F(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function W(e){let t=$(),n=H(e)?M(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function $(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function B(e){return["html","body","#document"].includes(S(e))}function M(e){return C(e).getComputedStyle(e)}function z(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function N(e){if("html"===S(e))return e;let t=e.assignedSlot||e.parentNode||D(e)&&e.host||E(e);return D(t)?t.host:t}function V(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=N(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:k(n)&&j(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=C(i);if(o){let e=I(l);return t.concat(l,l.visualViewport||[],j(i)?i:[],e&&n?V(e):[])}return t.concat(i,V(i,[],n))}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Y(e){let t=M(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=k(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r,f
1=o(n)!==l||o(r)!==a;return f&&(n=l,r=a),{width:n,height:r,$:f}}function X(e){return H(e)?e:e.contextElement}function _(e){let t=X(e);if(!k(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=Y(t),f=(l?o(n.width):n.width)/r,s=(l?o(n.height):n.height)/i;return f&&Number.isFinite(f)||(f=1),s&&Number.isFinite(s)||(s=1),{x:f,y:s}}let q=a(0);function K(e){let t=C(e);return $()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:q}function U(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=X(e),f=a(1);t&&(r?H(r)&&(f=_(r)):f=_(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===C(l))&&i)?K(l):a(0),c=(o.left+s.x)/f.x,u=(o.top+s.y)/f.y,d=o.width/f.x,p=o.height/f.y;if(l){let e=C(l),t=r&&H(r)?C(r):r,n=e,i=I(n);for(;i&&r&&t!==n;){let e=_(i),t=i.getBoundingClientRect(),r=M(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,p*=e.y,c+=o,u+=l,i=I(n=C(i))}}return x({width:d,height:p,x:c,y:u})}function G(e,t){let n=z(e).scrollLeft;return t?t.left+n:U(E(e)).left+n}function J(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:G(e,r)),y:r.top+t.scrollTop}}function Q(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=C(e),r=E(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=$();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}return{width:o,height:l,x:a,y:f}}(e,n);else if("document"===t){let t,n,l,a,f,s,c;r=E(e),t=E(r),n=z(r),l=r.ownerDocument.body,a=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),f=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),s=-n.scrollLeft+G(r),c=-n.scrollTop,"rtl"===M(l).direction&&(s+=i(t.clientWidth,l.clientWidth)-a),o={width:a,height:f,x:s,y:c}}else if(H(t)){let e,r,i,l,f,s;r=(e=U(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=k(t)?_(t):a(1),f=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:f,height:s,x:i*l.x,y:r*l.y}}else{let n=K(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return x(o)}function Z(e){return"static"===M(e).position}function ee(e,t){if(!k(e)||"fixed"===M(e).position)return null;if(t)return t(e);let n=e.offsetParent;return E(e)===n&&(n=n.ownerDocument.body),n}function et(e,t){let n=C(e);if(F(e))return n;if(!k(e)){let t=N(e);for(;t&&!B(t);){if(H(t)&&!Z(t))return t;t=N(t)}return n}let r=ee(e,t);for(;r&&["table","td","th"].includes(S(r))&&Z(r);)r=ee(r,t);return r&&B(r)&&Z(r)&&!W(r)?n:r||function(e){let t=N(e);for(;k(t)&&!B(t);){if(W(t))return t;if(F(t))break;t=N(t)}return null}(e)||n}let en=async function(e){let t=this.getOffsetParent||et,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=k(t),i=E(t),o="fixed"===n,l=U(e,!0,o,t),f={scrollLeft:0,scrollTop:0},s=a(0);if(r||!r&&!o)if(("body"!==S(t)||j(i))&&(f=z(t)),r){let e=U(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=G(i));let c=!i||r||o?a(0):J(i,f);return{x:l.left+f.scrollLeft-s.x-c.x,y:l.top+f.scrollTop-s.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},er={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=E(r),f=!!t&&F(t.floating);if(r===l||f&&o)return n;let s={scrollLeft:0,scrollTop:0},c=a(1),u=a(0),d=k(r);if((d||!d&&!o)&&(("body"!==S(r)||j(l))&&(s=z(r)),k(r))){let e=U(r);c=_(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!l||d||o?a(0):J(l,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:E,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?F(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=V(e,[],!1).filter(e=>H(e)&&"body"!==S(e)),i=null,o="fixed"===M(e).position,l=o?N(e):e;for(;H(l)&&!B(l);){let t=M(l),n=W(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||j(l)&&!n&&function e(t,n){let r=N(t);return!(r===n||!H(r)||B(r))&&("fixed"===M(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=N(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],f=a[0],s=a.reduce((e,n)=>{let o=Q(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},Q(t,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:et,getElementRects:en,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Y(e);return{width:t,height:n}},getScale:_,isElement:H,isRTL:function(e){return"rtl"===M(e).direction}};function ei(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eo=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:a,platform:f,elements:s,middlewareData:u}=t,{element:g,padding:y=0}=c(e,t)||{};if(null==g)return{};let x=w(y),v={x:n,y:o},b=p(m(l)),R=h(b),A=await f.getDimensions(g),T="y"===b,L=T?"clientHeight":"clientWidth",P=a.reference[R]+a.reference[b]-v[b]-a.floating[R],S=v[b]-a.reference[b],C=await (null==f.getOffsetParent?void 0:f.getOffsetParent(g)),E=C?C[L]:0;E&&await (null==f.isElement?void 0:f.isElement(C))||(E=s.floating[L]||a.floating[R]);let O=E/2-A[R]/2-1,H=r(x[T?"top":"left"],O),k=r(x[T?"bottom":"right"],O),D=E-A[R]-k,j=E/2-A[R]/2+(P/2-S/2),F=i(H,r(j,D)),W=!u.arrow&&null!=d(l)&&j!==F&&a.reference[R]/2-(j<H?H:k)-A[R]/2<0,$=W?j<H?j-H:j-D:0;return{[b]:v[b]+$,data:{[b]:F,centerOffset:j-F-$,...W&&{alignmentOffset:$}},reset:W}}});var el=e.i(36829),ea="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function ef(e,t){let n,r,i;if(e===t)return!0;
1if(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(!ef(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ef(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function es(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ec(e,t){let n=es(e);return Math.round(t*n)/n}function eu(e){let n=t.useRef(e);return ea(()=>{n.current=e}),n}var ed=e.i(72972),ep=e.i(49453),eh=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,ep.jsx)(ed.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ep.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eh.displayName="Arrow";var em=e.i(11144),eg=e.i(67470),ey=e.i(84155),ew=e.i(34285),ex="Popper",[ev,eb]=(0,eg.createContextScope)(ex),[eR,eA]=ev(ex),eT=e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null);return(0,ep.jsx)(eR,{scope:n,anchor:i,onAnchorChange:o,children:r})};eT.displayName=ex;var eL="PopperAnchor",eP=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=eA(eL,r),a=t.useRef(null),f=(0,em.useComposedRefs)(n,a);return t.useEffect(()=>{l.onAnchorChange(i?.current||a.current)}),i?null:(0,ep.jsx)(ed.Primitive.div,{...o,ref:f})});eP.displayName=eL;var eS="PopperContent",[eC,eE]=ev(eS),eO=t.forwardRef((e,n)=>{var o,a,f,s,w,x,v,P,S,C,O,H,k;let{__scopePopper:D,side:j="bottom",sideOffset:F=0,align:W="center",alignOffset:$=0,arrowPadding:B=0,avoidCollisions:M=!0,collisionBoundary:z=[],collisionPadding:N=0,sticky:I="partial",hideWhenDetached:Y=!1,updatePositionStrategy:_="optimized",onPlaced:q,...K}=e,G=eA(eS,D),[J,Q]=t.useState(null),Z=(0,em.useComposedRefs)(n,e=>Q(e)),[ee,et]=t.useState(null),en=function(e){let[n,r]=t.useState(void 0);return(0,ew.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),n}(ee),eh=en?.width??0,eg=en?.height??0,ex="number"==typeof N?N:{top:0,right:0,bottom:0,left:0,...N},ev=Array.isArray(z)?z:[z],eb=ev.length>0,eR={padding:ex,boundary:ev.filter(ej),altBoundary:eb},{refs:eT,floatingStyles:eL,placement:eP,isPositioned:eE,middlewareData:eO}=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:s,open:c}=e,[u,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,h]=t.useState(i);ef(p,i)||h(i);let[m,g]=t.useState(null),[y,w]=t.useState(null),x=t.useCallback(e=>{e!==T.current&&(T.current=e,g(e))},[]),v=t.useCallback(e=>{e!==L.current&&(L.current=e,w(e))},[]),R=l||m,A=a||y,T=t.useRef(null),L=t.useRef(null),P=t.useRef(u),S=null!=s,C=eu(s),E=eu(o),O=eu(c),H=t.useCallback(()=>{var e,t;let i,o,l;if(!T.current||!L.current)return;let a={placement:n,strategy:r,middleware:p};E.current&&(a.platform=E.current),(e=T.current,t=L.current,i=new Map,l={...(o={platform:er,...a}).platform,_c:i},b(e,t,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==O.current};k.current&&!ef(P.current,t)&&(P.current=t,el.flushSync(()=>{d(t)}))})},[p,n,r,E,O]);ea(()=>{!1===c&&P.current.isPositioned&&(P.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=t.useRef(!1);ea(()=>(k.current=!0,()=>{k.current=!1}),[]),ea(()=>{if(R&&(T.current=R),A&&(L.current=A),R&&A){if(C.current)return C.current(R,A,H);H()}},[R,A,H,C,S]);let D=t.useMemo(()=>({reference:T,floating:L,setReference:x,setFloating:v}),[x,v]),j=t.useMemo(()=>({reference:R,floating:A}),[R,A]),F=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!j.floating)return e;let t=ec(j.floating,u.x),n=ec(j.floating,u.y);return f?{...e,transform:"translate("+t+"px, "+n+"px)",...es(j.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,f,j.floating,u.x,u.y]);return t.useMemo(()=>({...u,update:H,refs:D,elements:j,floatingStyles:F}),[u,H,D,j,F])}({strategy:"fixed",placement:j+("center"!==W?"-"+W:""),whileElementsMounted:(...e)=>(function(e,t,n,o){let a;void 0===o&&(o={});let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=X(e),h=f||s?[...p?V(p):[],...V(t)]:[];
1h.forEach(e=>{f&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&u?function(e,t){let n,o=null,a=E(e);function f(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),f();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||t(),!m||!g)return;let y={rootMargin:-l(h)+"px "+-l(a.clientWidth-(p+m))+"px "+-l(a.clientHeight-(h+g))+"px "+-l(p)+"px",threshold:i(0,r(1,u))||1},w=!0;function x(t){let r=t[0].intersectionRatio;if(r!==u){if(!w)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ei(d,e.getBoundingClientRect())||s(),w=!1}try{o=new IntersectionObserver(x,{...y,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(x,y)}o.observe(e)}(!0),f}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),y.observe(t));let w=d?U(e):null;return d&&function t(){let r=U(e);w&&!ei(w,r)&&n(),w=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{f&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===_}),elements:{reference:G.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:F+eg,alignmentAxis:$},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:l}=e,f=await L(e,a);return o===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:o}}}},options:[o,void 0]},M&&{...{name:"shift",options:w=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===I?{...(f=void 0,{options:f={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:a=!0,crossAxis:s=!0}=c(f,e),d={x:t,y:n},h=m(r),g=p(h),y=d[g],w=d[h],x=c(l,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let e="y"===g?"height":"width",t=i.reference[g]-i.floating[e]+v.mainAxis,n=i.reference[g]+i.reference[e]-v.mainAxis;y<t?y=t:y>n&&(y=n)}if(s){var b,R;let e="y"===g?"width":"height",t=["top","left"].includes(u(r)),n=i.reference[h]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[h])||0)+(t?0:v.crossAxis),l=i.reference[h]+i.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[h])||0)-(t?v.crossAxis:0);w<n?w=n:w>l&&(w=l)}return{[g]:y,[h]:w}}}),options:[void 0,void 0]}:void 0,...eR},async fn(e){let{x:t,y:n,placement:o}=e,{mainAxis:l=!0,crossAxis:a=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=c(w,e),d={x:t,y:n},h=await R(e,s),g=m(u(o)),y=p(g),x=d[y],v=d[g];if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+h[e],o=x-h[t];x=i(n,r(x,o))}if(a){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=v+h[e],o=v-h[t];v=i(n,r(v,o))}let b=f.fn({...e,[y]:x,[g]:v});return{...b,data:{x:b.x-t,y:b.y-n,enabled:{[y]:l,[g]:a}}}}},options:[s,void 0]},M&&{...{name:"flip",options:v=x={...eR},async fn(e){var t,n,r,i,o,l,a,f;let s,w,x,{placement:b,middlewareData:A,rects:T,initialPlacement:L,platform:P,elements:S}=e,{mainAxis:C=!0,crossAxis:E=!0,fallbackPlacements:O,fallbackStrategy:H="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:D=!0,...j}=c(v,e);if(null!=(t=A.arrow)&&t.alignmentOffset)return{};let F=u(b),W=m(L),$=u(L)===L,B=await (null==P.isRTL?void 0:P.isRTL(S.floating)),M=O||($||!D?[y(L)]:(s=y(L),[g(L),s,g(s)])),z="none"!==k;!O&&z&&M.push(...(w=d(L),x=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(u(L),"start"===k,B),w&&(x=x.map(e=>e+"-"+w),D&&(x=x.concat(x.map(g)))),x));let N=[L,...M],V=await R(e,j),I=[],Y=(null==(n=A.flip)?void 0:n.overflows)||[];if(C&&I.push(V[F]),E){let e,t,n,r,i=(l=b,a=T,void 0===(f=B)&&(f=!1),e=d(l),n=h(t=p(m(l))),r="x"===t?e===(f?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=y(r)),[r,y(r)]);I.push(V[i[0]],V[i[1]])}if(Y=[...Y,{placement:b,overflows:I}],!I.every(e=>e<=0)){let e=((null==(r=A.flip)?void 0:r.index)||0)+1,t=N[e];if(t)return{data:{index:e,overflows:Y},reset:{placement:t}};let n=null==(i=Y.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(H){case"bestFit":{let e=null==(o=Y.filter(e=>{if(z){let t=m(e.placement);return t===W||"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=L}if(b!==n)return{reset:{placement:n}}}return{}}},options:[x,void 0]},{...{name:"size",options:S=P={...eR,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,n;let o,l,{placement:a,rects:f,platform:s,elements:p}=e,{apply:h=()=>{},...g}=c(S,e),y=await R(e,g),w=u(a),x=d(a),v="y"===m(a),{width:b,height:A}=f.floating;"top"===w||"bottom"===w?(o=w,l=x===(await (null==s.isRTL?void 0:s.isRTL(p.floating))?"start":"end")?"left":"right"):(l=w,o="end"===x?"top":"bottom");let T=A-y.top-y.bottom,L=b-y.left-y.right,P=r(A-y[o],T),C=r(b-y[l],L),E=!e.middlewareData.shift,O=P,H=C;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(H=L),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(O=T),E&&!x){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);v?H=b-2*(0!==e||0!==t?e+t:i(y.left,y.right)):O=A-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await h({...e,availableWidth:H,availableHeight:O});let k=await s.getDimensions(p.floating);return b!==k.width||A!==k.height?{reset:{rects:!0}}:{}}},options:[P,void 0]},ee&&{...{name:"arrow",options:O=C={element:ee,padding:B},fn(e){let{element:t,padding:n}="function"==typeof O?O(e):O;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eo({element:t.current,padding:n}).fn(e):{}:t?eo({element:t,padding:n}).fn(e):{}}},options:[C,void 0]},eF({arrowWidth:eh,arrowHeight:eg}),Y&&{...{name:"hide",options:k=H={strategy:"referenceHidden",...eR},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=c(k,e);switch(n){case"referenceHidden":{let n=A(await R(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:T(n)}}}case"escaped":{let n=A(await R(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:T(n)}}}default:return{}}}},options:[H,void 0]}]}),[eH,ek]=eW(eP),eD=(0,ey.useCallbackRef)(q);(0,ew.useLayoutEffect)(()=>{eE&&eD?.()},[eE,eD]);let e$=eO.arrow?.x,eB=eO.arrow?.y,eM=eO.arrow?.centerOffset!==0,[ez,eN]=t.useState();return(0,ew.useLayoutEffect)(()=>{J&&eN(window.getComputedStyle(J).zIndex)},[J]),(0,ep.jsx)("div",{ref:eT.setFloating,"data-radix-popper-content-wrapper":"",style:{...eL,transform:eE?eL.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ez,"--radix-popper-transform-origin":[eO.transformOrigin?.x,eO.transformOrigin?.y].join(" "),...eO.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ep.jsx)(eC,{scope:D,placedSide:eH,onArrowChange:et,arrowX:e$,arrowY:eB,shouldHideArrow:eM,children:(0,ep.jsx)(ed.Primitive.div,{"data-side":eH,"data-align":ek,...K,ref:Z,style:{...K.style,animation:eE?void 0:"none"}})})})});eO.displayName=eS;var eH="PopperArrow",ek={top:"bottom",right:"left",bottom:"top",left:"right"},eD=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eE(eH,n),o=ek[i.placedSide];return(0,ep.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,ep.jsx)(eh,{...r,ref:t,style:{...r.style,display:"block"}})})});function ej(e){return null!==e}eD.displayName=eH;var eF=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[f,s]=eW(n),c={start:"0%",center:"50%",end:"100%"}[s],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===f?(p=o?c:`${u}px`,h=`${-a}px`):"top"===f?(p=o?c:`${u}px`,h=`${r.floating.height+a}px`):"right"===f?(p=`${-a}px`,h=o?c:`${d}px`):"left"===f&&(p=`${r.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function eW(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",()=>eP,"Arrow",()=>eD,"Content",()=>eO,"Root",()=>eT,"createPopperScope",()=>eb],80462)}]);

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.