PageSourceSearch

https://perpmate.com/_next/static/chunks/2286-2c16d9025e8170b6.js

js perpmate.com collected 2026-10-08 23:49:17 UTC 31,696 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2286],{66093:(e,t,n)=>{n.d(t,{Mz:()=>e1,i3:()=>e5,UC:()=>e2,bL:()=>e0,Bk:()=>ez});var r=n(12115);let o=["top","right","bottom","left"],i=Math.min,l=Math.max,a=Math.round,s=Math.floor,u=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};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 g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let v=new Set(["top","bottom"]);function w(e){return v.has(p(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>c[e])}let x=["left","right"],b=["right","left"],R=["top","bottom"],A=["bottom","top"];function C(e){return e.replace(/left|right|bottom|top/g,e=>f[e])}function P(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function S(e,t,n){let r,{reference:o,floating:i}=e,l=w(t),a=g(w(t)),s=m(a),u=p(t),f="y"===l,c=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,v=o[s]/2-i[s]/2;switch(u){case"top":r={x:c,y:o.y-i.height};break;case"bottom":r={x:c,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(h(t)){case"start":r[a]-=v*(n&&f?-1:1);break;case"end":r[a]+=v*(n&&f?-1:1)}return r}let E=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=S(u,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:g}=a[n],{x:m,y:v,data:w,reset:y}=await g({x:f,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});f=null!=m?m:f,c=null!=v?v:c,p={...p,[i]:{...p[i],...w}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(u=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:f,y:c}=S(u,d,s)),n=-1)}return{x:f,y:c,placement:d,strategy:o,middlewareData:p}};async function L(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:h=0}=d(t,e),g=P(h),m=a[p?"floating"===c?"reference":"floating":c],v=O(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),w="floating"===c?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=O(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:y,strategy:s}):w);return{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 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 k(e){return o.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function D(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=p(n),a=h(n),s="y"===w(n),u=j.has(l)?-1:1,f=i&&s?-1:1,c=d(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:v}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof v&&(m="end"===a?-1*v:v),s?{x:m*f,y:g*u}:{x:g*u,y:m*f}}function F(){return"undefined"!=typeof window}function N(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function H(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!F()&&(e instanceof Node||e instanceof H(e).Node)}function _(e){return!!F()&&(e instanceof Element||e instanceof H(e).Element)}function B(e){return!!F()&&(e instanceof HTMLElement||e instanceof H(e).HTMLElement)}function W(e){return!!F()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof H(e).ShadowRoot)}let I=new Set(["inline","contents"]);function V(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ee(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!I.has(o)}let K=new Set(["table","td","th"]),X=[":popover-open",":modal"];function G(e){return X.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],q=["transform","translate","scale","rotate","perspective","filter"],U=["paint","layout","strict","content"];function Z(e){let t=$(),n=_(e)?ee(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||q.some(e=>(n.willChange||"").includes(e))||U.some(e=>(n.contain||"").includes(e))}function $(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let J=new Set(["html","body","#document"]);function Q(e){return J.has(N(e))}function ee(e){return H(e).getComputedStyle(e)}function et(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===N(e))return e;let t=e.assignedSlot||e.parentNode||W(e)&&e.host||M(e);return W(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&V(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=H(o);if(i){let e=eo(l);return t.concat(l,l.visualViewport||[],V(o)?o:[],e&&n?er(e):[])}return t.concat(o,er(o,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=B(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=a(n)!==i||a(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function el(e){return _(e)?e:e.contextElement}function ea(e){let t=el(e);if(!B(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ei(t),l=(i?a(n.width):n.width)/r,s=(i?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let es=u(0);function eu(e){let t=H(e);return $()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function ef(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=el(e),a=u(1);t&&(r?_(r)&&(a=ea(r)):a=ea(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===H(l))&&o)?eu(l):u(0),f=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,d=i.width/a.x,p=i.height/a.y;if(l){let e=H(l),t=r&&_(r)?H(r):r,n=e,o=eo(n);for(;o&&r&&t!==n;){let e=ea(o),t=o.getBoundingClientRect(),r=ee(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,c*=e.y,d*=e.x,p*=e.y,f+=i,c+=l,o=eo(n=H(o))}}return O({width:d,height:p,x:f,y:c})}function ec(e,t){let n=et(e).scrollLeft;return t?t.left+n:ef(M(e)).left+n}function ed(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ec(e,r)),y:r.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eh(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=H(e),r=M(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=$();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=M(e),n=et(e),r=e.ownerDocument.body,o=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ec(e),s=-n.scrollTop;return"rtl"===ee(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(M(e));else if(_(t))r=function(e,t){let n=ef(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=B(e)?ea(e):u(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(r)}function eg(e){return"static"===ee(e).position}function em(e,t){if(!B(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){var n;let r=H(e);if(G(e))return r;if(!B(e)){let t=en(e);for(;t&&!Q(t);){if(_(t)&&!eg(t))return t;t=en(t)}return r}let o=em(e,t);for(;o&&(n=o,K.has(N(n)))&&eg(o);)o=em(o,t);
1return o&&Q(o)&&eg(o)&&!Z(o)?r:o||function(e){let t=en(e);for(;B(t)&&!Q(t);){if(Z(t))return t;if(G(t))break;t=en(t)}return null}(e)||r}let ew=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=B(t),o=M(t),i="fixed"===n,l=ef(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=u(0);if(r||!r&&!i)if(("body"!==N(t)||V(o))&&(a=et(t)),r){let e=ef(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=ec(o));i&&!r&&o&&(s.x=ec(o));let f=!o||r||i?u(0):ed(o,a);return{x:l.left+a.scrollLeft-s.x-f.x,y:l.top+a.scrollTop-s.y-f.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}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=M(r),a=!!t&&G(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},f=u(1),c=u(0),d=B(r);if((d||!d&&!i)&&(("body"!==N(r)||V(l))&&(s=et(r)),B(r))){let e=ef(r);f=ea(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||i?u(0):ed(l,s,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-s.scrollLeft*f.x+c.x+p.x,y:n.y*f.y-s.scrollTop*f.y+c.y+p.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?G(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>_(e)&&"body"!==N(e)),o=null,i="fixed"===ee(e).position,l=i?en(e):e;for(;_(l)&&!Q(l);){let t=ee(l),n=Z(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ep.has(o.position)||V(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!_(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=a[0],u=a.reduce((e,n)=>{let r=eh(t,n,o);return e.top=l(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=l(r.left,e.left),e},eh(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ev,getElementRects:ew,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ei(e);return{width:t,height:n}},getScale:ea,isElement:_,isRTL:function(e){return"rtl"===ee(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eb=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:a,platform:s,elements:u,middlewareData:f}=t,{element:c,padding:p=0}=d(e,t)||{};if(null==c)return{};let v=P(p),y={x:n,y:r},x=g(w(o)),b=m(x),R=await s.getDimensions(c),A="y"===x,C=A?"clientHeight":"clientWidth",O=a.reference[b]+a.reference[x]-y[x]-a.floating[b],S=y[x]-a.reference[x],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),L=E?E[C]:0;L&&await (null==s.isElement?void 0:s.isElement(E))||(L=u.floating[C]||a.floating[b]);let T=L/2-R[b]/2-1,k=i(v[A?"top":"left"],T),j=i(v[A?"bottom":"right"],T),D=L-R[b]-j,F=L/2-R[b]/2+(O/2-S/2),N=l(k,i(F,D)),H=!f.arrow&&null!=h(o)&&F!==N&&a.reference[b]/2-(F<k?k:j)-R[b]/2<0,M=H?F<k?F-k:F-D:0;return{[x]:y[x]+M,data:{[x]:N,centerOffset:F-N-M,...H&&{alignmentOffset:M}},reset:H}}});var eR=n(47650),eA="undefined"!=typeof document?r.useLayoutEffect:function(){};function eC(e,t){let n,r,o;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(!eC(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eC(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eP(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eO(e,t){let n=eP(e);return Math.round(t*n)/n}function eS(e){let t=r.useRef(e);return eA(()=>{t.current=e}),t}var eE=n(97602),eL=n(95155),eT=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eL.jsx)(eE.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eL.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eT.displayName="Arrow";var ek=n(94446),ej=n(3468),eD=n(70222),eF=n(4129),eN=n(84288),eH="Popper",[eM,ez]=(0,ej.A)(eH),[e_,eB]=eM(eH),eW=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eL.jsx)(e_,{scope:t,anchor:o,onAnchorChange:i,children:n})};
1eW.displayName=eH;var eI="PopperAnchor",eV=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=eB(eI,n),a=r.useRef(null),s=(0,ek.s)(t,a),u=r.useRef(null);return r.useEffect(()=>{let e=u.current;u.current=(null==o?void 0:o.current)||a.current,e!==u.current&&l.onAnchorChange(u.current)}),o?null:(0,eL.jsx)(eE.sG.div,{...i,ref:s})});eV.displayName=eI;var eK="PopperContent",[eX,eG]=eM(eK),eY=r.forwardRef((e,t)=>{var n,o,a,u,f,c,v,P;let{__scopePopper:O,side:S="bottom",sideOffset:F=0,align:N="center",alignOffset:H=0,arrowPadding:z=0,avoidCollisions:_=!0,collisionBoundary:B=[],collisionPadding:W=0,sticky:I="partial",hideWhenDetached:V=!1,updatePositionStrategy:K="optimized",onPlaced:X,...G}=e,Y=eB(eK,O),[q,U]=r.useState(null),Z=(0,ek.s)(t,e=>U(e)),[$,J]=r.useState(null),Q=(0,eN.X)($),ee=null!=(v=null==Q?void 0:Q.width)?v:0,et=null!=(P=null==Q?void 0:Q.height)?P:0,en="number"==typeof W?W:{top:0,right:0,bottom:0,left:0,...W},eo=Array.isArray(B)?B:[B],ei=eo.length>0,ea={padding:en,boundary:eo.filter(e$),altBoundary:ei},{refs:es,floatingStyles:eu,placement:ec,isPositioned:ed,middlewareData:ep}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:f}=e,[c,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);eC(p,o)||h(o);let[g,m]=r.useState(null),[v,w]=r.useState(null),y=r.useCallback(e=>{e!==A.current&&(A.current=e,m(e))},[]),x=r.useCallback(e=>{e!==C.current&&(C.current=e,w(e))},[]),b=l||g,R=a||v,A=r.useRef(null),C=r.useRef(null),P=r.useRef(c),O=null!=u,S=eS(u),L=eS(i),T=eS(f),k=r.useCallback(()=>{if(!A.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};L.current&&(e.platform=L.current),((e,t,n)=>{let r=new Map,o={platform:ey,...n},i={...o.platform,_c:r};return E(e,t,{...o,platform:i})})(A.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};j.current&&!eC(P.current,t)&&(P.current=t,eR.flushSync(()=>{d(t)}))})},[p,t,n,L,T]);eA(()=>{!1===f&&P.current.isPositioned&&(P.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[f]);let j=r.useRef(!1);eA(()=>(j.current=!0,()=>{j.current=!1}),[]),eA(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(S.current)return S.current(b,R,k);k()}},[b,R,k,S,O]);let D=r.useMemo(()=>({reference:A,floating:C,setReference:y,setFloating:x}),[y,x]),F=r.useMemo(()=>({reference:b,floating:R}),[b,R]),N=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=eO(F.floating,c.x),r=eO(F.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eP(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,F.floating,c.x,c.y]);return r.useMemo(()=>({...c,update:k,refs:D,elements:F,floatingStyles:N}),[c,k,D,F,N])}({strategy:"fixed",placement:S+("center"!==N?"-"+N:""),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 o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=el(e),h=a||u?[...p?er(p):[],...er(t)]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let g=p&&c?function(e,t){let n,r=null,o=M(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:g,height:m}=d;if(f||t(),!g||!m)return;let v=s(h),w=s(o.clientWidth-(p+g)),y={rootMargin:-v+"px "+-w+"px "+-s(o.clientHeight-(h+m))+"px "+-s(p)+"px",threshold:l(0,i(1,c))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==c){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ex(d,e.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...y,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(p,n):null,m=-1,v=null;f&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}
1),p&&!d&&v.observe(p),v.observe(t));let w=d?ef(e):null;return d&&function t(){let r=ef(e);w&&!ex(w,r)&&n(),w=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===K})},elements:{reference:Y.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,s=await D(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}}(e),options:[e,t]}))({mainAxis:F+et,alignmentAxis:H}),_&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=d(e,t),c={x:n,y:r},h=await L(t,f),m=w(p(o)),v=g(m),y=c[v],x=c[m];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=y+h[e],r=y-h[t];y=l(n,i(y,r))}if(s){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=x+h[e],r=x-h[t];x=l(n,i(x,r))}let b=u.fn({...t,[v]:y,[m]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:a,[m]:s}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===I?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=d(e,t),f={x:n,y:r},c=w(o),h=g(c),m=f[h],v=f[c],y=d(a,t),x="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(s){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+x.mainAxis,n=i.reference[h]+i.reference[e]-x.mainAxis;m<t?m=t:m>n&&(m=n)}if(u){var b,R;let e="y"===h?"width":"height",t=j.has(p(o)),n=i.reference[c]-i.floating[e]+(t&&(null==(b=l.offset)?void 0:b[c])||0)+(t?0:x.crossAxis),r=i.reference[c]+i.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[c])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:m,[c]:v}}}}(e),options:[e,t]}))():void 0,...ea}),_&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:f,platform:c,elements:v}=t,{mainAxis:P=!0,crossAxis:O=!0,fallbackPlacements:S,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:k=!0,...j}=d(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let D=p(a),F=w(f),N=p(f)===f,H=await (null==c.isRTL?void 0:c.isRTL(v.floating)),M=S||(N||!k?[C(f)]:function(e){let t=C(e);return[y(e),t,y(t)]}(f)),z="none"!==T;!S&&z&&M.push(...function(e,t,n,r){let o=h(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:x;return t?x:b;case"left":case"right":return t?R:A;default:return[]}}(p(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}(f,k,T,H));let _=[f,...M],B=await L(t,j),W=[],I=(null==(r=s.flip)?void 0:r.overflows)||[];if(P&&W.push(B[D]),O){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),o=g(w(e)),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=C(l)),[l,C(l)]}(a,u,H);W.push(B[e[0]],B[e[1]])}if(I=[...I,{placement:a,overflows:W}],!W.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=_[e];if(t&&("alignment"!==O||F===w(t)||I.every(e=>w(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(i=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(E){case"bestFit":{let e=null==(l=I.filter(e=>{if(z){let t=w(e.placement);return t===F||"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=f}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...ea}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,a,{placement:s,rects:u,platform:f,elements:c}=t,{apply:g=()=>{},...m}=d(e,t),v=await L(t,m),y=p(s),x=h(s),b="y"===w(s),{width:R,height:A}=u.floating;"top"===y||"bottom"===y?(o=y,a=x===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(a=y,o="end"===x?"top":"bottom");let C=A-v.top-v.bottom,P=R-v.left-v.right,O=i(A-v[o],C),S=i(R-v[a],P),E=!t.middlewareData.shift,T=O,k=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=P),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=C),E&&!x){let e=l(v.left,0),t=l(v.right,0),n=l(v.top,0),r=l(v.bottom,0);b?k=R-2*(0!==e||0!==t?e+t:l(v.left,v.right)):T=A-2*(0!==n||0!==r?n+r:l(v.top,v.bottom))}await g({...t,availableWidth:k,availableHeight:T});let j=await f.getDimensions(c.floating);return R!==j.width||A!==j.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...ea,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),$&&((e,t)=>({...(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?eb({element:n.current,padding:r}).fn(t):{}:n?eb({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:$,padding:z}),eJ({arrowWidth:ee,arrowHeight:et}),V&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=d(e,t);switch(r){case"referenceHidden":{let e=T(await L(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:k(e)}}}case"escaped":{let e=T(await L(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:k(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...ea})]}),[eh,eg]=eQ(ec),em=(0,eD.c)(X);(0,eF.N)(()=>{ed&&(null==em||em())},[ed,em]);let ev=null==(n=ep.arrow)?void 0:n.x,ew=null==(o=ep.arrow)?void 0:o.y,eT=(null==(a=ep.arrow)?void 0:a.centerOffset)!==0,[ej,eH]=r.useState();return(0,eF.N)(()=>{q&&eH(window.getComputedStyle(q).zIndex)},[q]),(0,eL.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:ed?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ej,"--radix-popper-transform-origin":[null==(u=ep.transformOrigin)?void 0:u.x,null==(f=ep.transformOrigin)?void 0:f.y].join(" "),...(null==(c=ep.hide)?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eL.jsx)(eX,{scope:O,placedSide:eh,onArrowChange:J,arrowX:ev,arrowY:ew,shouldHideArrow:eT,children:(0,eL.jsx)(eE.sG.div,{"data-side":eh,"data-align":eg,...G,ref:Z,style:{...G.style,animation:ed?void 0:"none"}})})})});eY.displayName=eK;var eq="PopperArrow",eU={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eZ=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eG(eq,n),i=eU[o.placedSide];return(0,eL.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eL.jsx)(eT,{...r,ref:t,style:{...r.style,display:"block"}})})});function e$(e){return null!==e}eZ.displayName=eq;var eJ=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:s,middlewareData:u}=t,f=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,c=f?0:e.arrowWidth,d=f?0:e.arrowHeight,[p,h]=eQ(a),g={start:"0%",center:"50%",end:"100%"}[h],m=(null!=(i=null==(r=u.arrow)?void 0:r.x)?i:0)+c/2,v=(null!=(l=null==(o=u.arrow)?void 0:o.y)?l:0)+d/2,w="",y="";return"bottom"===p?(w=f?g:"".concat(m,"px"),y="".concat(-d,"px")):"top"===p?(w=f?g:"".concat(m,"px"),y="".concat(s.floating.height+d,"px")):"right"===p?(w="".concat(-d,"px"),y=f?g:"".concat(v,"px")):"left"===p&&(w="".concat(s.floating.width+d,"px"),y=f?g:"".concat(v,"px")),{data:{x:w,y}}}});function eQ(e){let[t,n="center"]=e.split("-");return[t,n]}var e0=eW,e1=eV,e2=eY,e5=eZ},82286:(e,t,n)=>{n.d(t,{Mz:()=>X,UC:()=>q,ZL:()=>Y,bL:()=>K,iN:()=>I,l9:()=>G});var r=n(12115),o=n(92556),i=n(94446),l=n(3468),a=n(44831),s=n(19526),u=n(69666),f=n(68946),c=n(66093),d=n(75433),p=n(76842),h=n(97602),g=n(32467),m=n(23558),v=n(97745),w=n(13655),y=n(95155),x="Popover",[b,R]=(0,l.A)(x,[c.Bk]),A=(0,c.Bk)(),[C,P]=b(x),O=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:i,onOpenChange:l,modal:a=!1}=e,s=A(t),u=r.useRef(null),[d,p]=r.useState(!1),[h,g]=(0,m.i)({prop:o,defaultProp:null!=i&&i,onChange:l,caller:x});return(0,y.jsx)(c.bL,{...s,children:(0,y.jsx)(C,{scope:t,contentId:(0,f.B)(),triggerRef:u,open:h,onOpenChange:g,onOpenToggle:r.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:d,onCustomAnchorAdd:r.useCallback(()=>p(!0),[]),onCustomAnchorRemove:r.useCallback(()=>p(!1),[]),modal:a,children:n})})};O.displayName=x;var S="PopoverAnchor",E=r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,i=P(S,n),l=A(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=i;return r.useEffect(()=>(a(),()=>s()),[a,s]),(0,y.jsx)(c.Mz,{...l,...o,ref:t})});E.displayName=S;var L="PopoverTrigger",T=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,l=P(L,n),a=A(n),s=(0,i.s)(t,l.triggerRef),u=(0,y.jsx)(h.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":V(l.open),...r,ref:s,onClick:(0,o.mK)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,y.jsx)(c.Mz,{asChild:!0,...a,children:u})});T.displayName=L;var k="PopoverPortal",[j,D]=b(k,{forceMount:void 0}),F=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=P(k,t);return(0,y.jsx)(j,{scope:t,forceMount:n,children:(0,y.jsx)(p.C,{present:n||i.open,children:(0,y.jsx)(d.Z,{asChild:!0,container:o,children:r})})})};F.displayName=k;var N="PopoverContent",H=r.forwardRef((e,t)=>{let n=D(N,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=P(N,e.__scopePopover);return(0,y.jsx)(p.C,{present:r||i.open,children:i.modal?(0,y.jsx)(z,{...o,ref:t}):(0,y.jsx)(_,{...o,ref:t})})});H.displayName=N;var M=(0,g.TL)("PopoverContent.RemoveScroll"),z=r.forwardRef((e,t)=>{let n=P(N,e.__scopePopover),l=r.useRef(null),a=(0,i.s)(t,l),s=r.useRef(!1);return r.useEffect(()=>{let e=l.current;
1if(e)return(0,v.Eq)(e)},[]),(0,y.jsx)(w.A,{as:M,allowPinchZoom:!0,children:(0,y.jsx)(B,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),s.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),_=r.forwardRef((e,t)=>{let n=P(N,e.__scopePopover),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,l;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),B=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:h,...g}=e,m=P(N,n),v=A(n);return(0,s.Oh)(),(0,y.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,y.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:h,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:p,onDismiss:()=>m.onOpenChange(!1),children:(0,y.jsx)(c.UC,{"data-state":V(m.open),role:"dialog",id:m.contentId,...v,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),W="PopoverClose",I=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=P(W,n);return(0,y.jsx)(h.sG.button,{type:"button",...r,ref:t,onClick:(0,o.mK)(e.onClick,()=>i.onOpenChange(!1))})});function V(e){return e?"open":"closed"}I.displayName=W,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=A(n);return(0,y.jsx)(c.i3,{...o,...r,ref:t})}).displayName="PopoverArrow";var K=O,X=E,G=T,Y=F,q=H},84288:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(12115),o=n(4129);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});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.