PageSourceSearch

https://botmemo.com/_next/static/chunks/8017-7b851e7479223661.js

js botmemo.com collected 2026-10-06 22:02:19 UTC 27,481 bytes, 1 lines download raw bytes

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

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.