PageSourceSearch

https://waye.ai/_next/static/chunks/7859-0fb6c4f376aabfb5.js

js waye.ai collected 2026-10-05 13:19:46 UTC 23,557 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7859],{50032:function(t,e,n){let r;n.d(e,{x7:function(){return tT},X5:function(){return tv},Me:function(){return tg},oo:function(){return tO},US:function(){return tw},RR:function(){return tb},Cp:function(){return tL},dr:function(){return tA},cv:function(){return ty},uY:function(){return tx},dp:function(){return tR}});let i=["top","right","bottom","left"],o=i.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),l=Math.min,f=Math.max,u=Math.round,c=Math.floor,a=t=>({x:t,y:t}),s={left:"right",right:"left",bottom:"top",top:"bottom"};function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function w(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function y(t,e,n){void 0===n&&(n=!1);let r=p(t),i=h(w(t)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=T(l)),[l,T(l)]}function v(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let x=["left","right"],b=["right","left"],R=["top","bottom"],L=["bottom","top"];function T(t){let e=m(t);return s[e]+t.slice(e.length)}function A(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function O(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function C(t,e,n){let r,{reference:i,floating:o}=t,l=w(e),f=h(w(e)),u=g(f),c=m(e),a="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[u]/2-o[u]/2;switch(c){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,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(p(e)){case"start":r[f]-=y*(n&&a?-1:1);break;case"end":r[f]+=y*(n&&a?-1:1)}return r}async function E(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:f,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:a="viewport",elementContext:s="floating",altBoundary:m=!1,padding:p=0}=d(e,t),h=A(p),g=f[m?"floating"===s?"reference":"floating":s],w=O(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(f.floating)),boundary:c,rootBoundary:a,strategy:u})),y="floating"===s?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.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=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:y,offsetParent:v,strategy:u}):y);return{top:(w.top-b.top+h.top)/x.y,bottom:(b.bottom-w.bottom+h.bottom)/x.y,left:(w.left-b.left+h.left)/x.x,right:(b.right-w.right+h.right)/x.x}}let S=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,f=l.detectOverflow?l:{...l,detectOverflow:E},u=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:s}=C(c,r,u),d=r,m=0,p={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:g,fn:w}=h,{x:y,y:v,data:x,reset:b}=await w({x:a,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:c,platform:f,elements:{reference:t,floating:e}});a=null!=y?y:a,s=null!=v?v:s,p[g]={...p[g],...x},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:a,y:s}=C(c,d,u)),n=-1)}return{x:a,y:s,placement:d,strategy:i,middlewareData:p}};function P(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function D(t){return i.some(e=>t[e]>=0)}let k=new Set(["left","top"]);async function F(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=m(n),f=p(n),u="y"===w(n),c=k.has(l)?-1:1,a=o&&u?-1:1,s=d(e,t),{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}
1:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return f&&"number"==typeof y&&(g="end"===f?-1*y:y),u?{x:g*a,y:h*c}:{x:h*c,y:g*a}}function M(){return"undefined"!=typeof window}function H(t){return N(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function V(t){var e;return null==(e=(N(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function N(t){return!!M()&&(t instanceof Node||t instanceof W(t).Node)}function B(t){return!!M()&&(t instanceof Element||t instanceof W(t).Element)}function _(t){return!!M()&&(t instanceof HTMLElement||t instanceof W(t).HTMLElement)}function j(t){return!!M()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof W(t).ShadowRoot)}function z(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function Y(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let $=/transform|translate|scale|rotate|perspective|filter/,X=/paint|layout|strict|content/,I=t=>!!t&&"none"!==t;function q(t){let e=B(t)?J(t):t;return I(e.transform)||I(e.translate)||I(e.scale)||I(e.rotate)||I(e.perspective)||!U()&&(I(e.backdropFilter)||I(e.filter))||$.test(e.willChange||"")||X.test(e.contain||"")}function U(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function G(t){return/^(html|body|#document)$/.test(H(t))}function J(t){return W(t).getComputedStyle(t)}function K(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Q(t){if("html"===H(t))return t;let e=t.assignedSlot||t.parentNode||j(t)&&t.host||V(t);return j(e)?e.host:e}function Z(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=Q(e);return G(n)?e.ownerDocument?e.ownerDocument.body:e.body:_(n)&&z(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=W(i);if(!o)return e.concat(i,Z(i,[],n));{let t=tt(l);return e.concat(l,l.visualViewport||[],z(i)?i:[],t&&n?Z(t):[])}}function tt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function te(t){let e=J(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=_(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,f
1=u(n)!==o||u(r)!==l;return f&&(n=o,r=l),{width:n,height:r,$:f}}function tn(t){return B(t)?t:t.contextElement}function tr(t){let e=tn(t);if(!_(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=te(e),l=(o?u(n.width):n.width)/r,f=(o?u(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),f&&Number.isFinite(f)||(f=1),{x:l,y:f}}let ti=a(0);function to(t){let e=W(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ti}function tl(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=tn(t),f=a(1);e&&(r?B(r)&&(f=tr(r)):f=tr(t));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===W(l))&&i)?to(l):a(0),c=(o.left+u.x)/f.x,s=(o.top+u.y)/f.y,d=o.width/f.x,m=o.height/f.y;if(l){let t=W(l),e=r&&B(r)?W(r):r,n=t,i=tt(n);for(;i&&r&&e!==n;){let t=tr(i),e=i.getBoundingClientRect(),r=J(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,d*=t.x,m*=t.y,c+=o,s+=l,i=tt(n=W(i))}}return O({width:d,height:m,x:c,y:s})}function tf(t,e){let n=K(t).scrollLeft;return e?e.left+n:tl(V(t)).left+n}function tu(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-tf(t,n),y:n.top+e.scrollTop}}function tc(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=W(t),r=V(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,f=0,u=0;if(i){o=i.width,l=i.height;let t=U();(!t||t&&"fixed"===e)&&(f=i.offsetLeft,u=i.offsetTop)}let c=tf(r);if(c<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-i);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:f,y:u}}(t,n);else if("document"===e)r=function(t){let e=V(t),n=K(t),r=t.ownerDocument.body,i=f(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=f(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+tf(t),u=-n.scrollTop;return"rtl"===J(r).direction&&(l+=f(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:u}}(V(t));else if(B(e))r=function(t,e){let n=tl(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=_(t)?tr(t):a(1),l=t.clientWidth*o.x;return{width:l,height:t.clientHeight*o.y,x:i*o.x,y:r*o.y}}(e,n);else{let n=to(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return O(r)}function ta(t){return"static"===J(t).position}function ts(t,e){if(!_(t)||"fixed"===J(t).position)return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function td(t,e){var n;let r=W(t);if(Y(t))return r;if(!_(t)){let e=Q(t);for(;e&&!G(e);){if(B(e)&&!ta(e))return e;e=Q(e)}return r}let i=ts(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(H(n)))&&ta(i);)i=ts(i,e);return i&&G(i)&&ta(i)&&!q(i)?r:i||function(t){let e=Q(t);for(;_(e)&&!G(e);){if(q(e))return e;if(Y(e))break;e=Q(e)}return null}(t)||r}let tm=async function(t){let e=this.getOffsetParent||td,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=_(e),i=V(e),o="fixed"===n,l=tl(t,!0,o,e),f={scrollLeft:0,scrollTop:0},u=a(0);if(r||!r&&!o){if(("body"!==H(e)||z(i))&&(f=K(e)),r){let t=tl(e,!0,o,e);u.x=t.x+e.clientLeft,u.y=t.y+e.clientTop}else i&&(u.x=tf(i))}o&&!r&&i&&(u.x=tf(i));let c=!i||r||o?a(0):tu(i,f);return{x:l.left+f.scrollLeft-u.x-c.x,y:l.top+f.scrollTop-u.y-c.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tp={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=V(r),f=!!e&&Y(e.floating);if(r===l||f&&o)return n;let u={scrollLeft:0,scrollTop:0},c=a(1),s=a(0),d=_(r);if((d||!d&&!o)&&(("body"!==H(r)||z(l))&&(u=K(r)),d)){let t=tl(r);c=tr(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let m=!l||d||o?a(0):tu(l,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+s.x+m.x,y:n.y*c.y-u.scrollTop*c.y+s.y+m.y}},getDocumentElement:V,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,o=[..."clippingAncestors"===n?Y(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=Z(t,[],!1).filter(t=>B(t)&&"body"!==H(t)),i=null,o="fixed"===J(t).position,l=o?Q(t):t;for(;B(l)&&!G(l);){let e=J(l),n=q(l);n||"fixed"!==e.position||(i=null),(o?n||i:!(!n&&"static"===e.position&&i&&("absolute"===i.position||"fixed"===i.position)||z(l)&&!n&&function t(e,n){let r=Q(e);return!(r===n||!B(r)||G(r))&&("fixed"===J(r).position||t(r,n))}(t,l)))?i=e:r=r.filter(t=>t!==l),l=Q(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],u=tc(e,o[0],i),c=u.top,a=u.right,s=u.bottom,d=u.left;for(let t=1;t<o.length;t++){let n=tc(e,o[t],i);c=f(n.top,c),a=l(n.right,a),s=l(n.bottom,s),d=f(n.left,d)}return{width:a-d,height:s-c,x:d,y:c}},getOffsetParent:td,getElementRects:tm,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=te(t);return{width:e,height:n}},getScale:tr,isElement:B,isRTL:function(t){return"rtl"===J(t).direction}};function th(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tg(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,m=tn(t),p=o||u?[...m?Z(m):[],...e?Z(e):[]]:[];p.forEach(t=>{o&&t.addEventListener("scroll",n,{passive:!0}),u&&t.addEventListener("resize",n)});let h=m&&s?function(t,e){let n,r=null,i=V(t);function o(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function u(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let d=t.getBoundingClientRect(),{left:m,top:p,width:h,height:g}=d;if(a||e(),!h||!g)return;let w=c(p),y=c(i.clientWidth-(m+h)),v={rootMargin:-w+"px "+-y+"px "+-c(i.clientHeight-(p+g))+"px "+-c(m)+"px",threshold:f(0,l(1,s))||1},x=!0;function b(e){let r=e[0].intersectionRatio;if(r!==s){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||th(d,t.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(b,v)}r.observe(t)}(!0),o}(m,n):null,g=-1,w=null;a&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===m&&w&&e&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),m&&!d&&w.observe(m),e&&w.observe(e));let y=d?tl(t):null;return d&&function e(){let r=tl(t);y&&!th(y,r)&&n(),y=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{o&&t.removeEventListener("scroll",n),u&&t.removeEventListener("resize",n)}),null==h||h(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(i)}}let tw=E,ty=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:f}=e,u=await F(e,t);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(r=f.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},tv=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,i,l;let{rects:f,middlewareData:u,placement:c,platform:a,elements:s}=e,{crossAxis:h=!1,alignment:g,allowedPlacements:w=o,autoAlignment:x=!0,...b}=d(t,e),R=void 0!==g||w===o?((l=g||null)?[...w.filter(t=>p(t)===l),...w.filter(t=>p(t)!==l)]:w.filter(t=>m(t)===t)).filter(t=>!l||p(t)===l||!!x&&v(t)!==t):w,L=await a.detectOverflow(e,b),T=(null==(n=u.autoPlacement)?void 0:n.index)||0,A=R[T];if(null==A)return{};let O=y(A,f,await (null==a.isRTL?void 0:a.isRTL(s.floating)));if(c!==A)return{reset:{placement:R[0]}};let C=[L[m(A)],L[O[0]],L[O[1]]],E=[...(null==(r=u.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:C}],S=R[T+1];if(S)return{data:{index:T+1,overflows:E},reset:{placement:S}};let P=E.map(t=>{let e=p(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),D=(null==(i=P.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0))[0])?void 0:i[0])||P[0][0];return D!==c?{data:{index:T+1,overflows:E},reset:{placement:D}}:{}}}},tx=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:i,platform:o}=e,{mainAxis:u=!0,crossAxis:c=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),p={x:n,y:r},g=await o.detectOverflow(e,s),y=w(m(i)),v=h(y),x=p[v],b=p[y];if(u){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=x+g[t],r=x-g[e];x=f(n,l(x,r))}if(c){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=b+g[t],r=b-g[e];b=f(n,l(b,r))}let R=a.fn({...e,[v]:x,[y]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[v]:u,[y]:c}}}}}},tb=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l;let{placement:f,middlewareData:u,rects:c,initialPlacement:a,platform:s,elements:h}=e,{mainAxis:g=!0,crossAxis:A=!0,fallbackPlacements:O,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:S=!0,...P}=d(t,e);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let D=m(f),k=w(a),F=m(a)===a,M=await (null==s.isRTL?void 0:s.isRTL(h.floating)),H=O||(F||!S?[T(a)]:function(t){let e=T(t);return[v(t),e,v(e)]}(a)),W="none"!==E;!O&&W&&H.push(...function(t,e,n,r){let i=p(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?b:x;return e?x:b;case"left":case"right":return e?R:L;default:return[]}}(m(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(v)))),o}(a,S,E,M));let V=[a,...H],N=await s.detectOverflow(e,P),B=[],_=(null==(r=u.flip)?void 0:r.overflows)||[];if(g&&B.push(N[D]),A){let t=y(f,c,M);B.push(N[t[0]],N[t[1]])}if(_=[..._,{placement:f,overflows:B}],!B.every(t=>t<=0)){let t=((null==(i=u.flip)?void 0:i.index)||0)+1,e=V[t];if(e&&(!("alignment"===A&&k!==w(e))||_.every(t=>w(t.placement)!==k||t.overflows[0]>0)))return{data:{index:t,overflows:_},reset:{placement:e}};let n=null==(o=_.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let t=null==(l=_.filter(t=>{if(W){let e=w(t.placement);return e===k||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=a}if(f!==n)return{reset:{placement:n}}}return{}}}},tR=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;let i,o;let{placement:u,rects:c,platform:a,elements:s}=e,{apply:h=()=>{},...g}=d(t,e),y=await a.detectOverflow(e,g),v=m(u),x=p(u),b="y"===w(u),{width:R,height:L}=c.floating;"top"===v||"bottom"===v?(i=v,o=x===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(o=v,i="end"===x?"top":"bottom");let T=L-y.top-y.bottom,A=R-y.left-y.right,O=l(L-y[i],T),C=l(R-y[o],A),E=!e.middlewareData.shift,S=O,P=C;
1if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=A),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(S=T),E&&!x){let t=f(y.left,0),e=f(y.right,0),n=f(y.top,0),r=f(y.bottom,0);b?P=R-2*(0!==t||0!==e?t+e:f(y.left,y.right)):S=L-2*(0!==n||0!==r?n+r:f(y.top,y.bottom))}await h({...e,availableWidth:P,availableHeight:S});let D=await a.getDimensions(s.floating);return R!==D.width||L!==D.height?{reset:{rects:!0}}:{}}}},tL=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=d(t,e);switch(i){case"referenceHidden":{let t=P(await r.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{let t=P(await r.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},tT=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:o,platform:u,elements:c,middlewareData:a}=e,{element:s,padding:m=0}=d(t,e)||{};if(null==s)return{};let y=A(m),v={x:n,y:r},x=h(w(i)),b=g(x),R=await u.getDimensions(s),L="y"===x,T=L?"clientHeight":"clientWidth",O=o.reference[b]+o.reference[x]-v[x]-o.floating[b],C=v[x]-o.reference[x],E=await (null==u.getOffsetParent?void 0:u.getOffsetParent(s)),S=E?E[T]:0;S&&await (null==u.isElement?void 0:u.isElement(E))||(S=c.floating[T]||o.floating[b]);let P=S/2-R[b]/2-1,D=l(y[L?"top":"left"],P),k=l(y[L?"bottom":"right"],P),F=S-R[b]-k,M=S/2-R[b]/2+(O/2-C/2),H=f(D,l(M,F)),W=!a.arrow&&null!=p(i)&&M!==H&&o.reference[b]/2-(M<D?D:k)-R[b]/2<0,V=W?M<D?M-D:M-F:0;return{[x]:v[x]+V,data:{[x]:H,centerOffset:M-H-V,...W&&{alignmentOffset:V}},reset:W}}}),tA=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:f=0,mainAxis:u=!0,crossAxis:c=!0}=d(t,e),a={x:n,y:r},s=w(i),p=h(s),g=a[p],y=a[s],v=d(f,e),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){let t="y"===p?"height":"width",e=o.reference[p]-o.floating[t]+x.mainAxis,n=o.reference[p]+o.reference[t]-x.mainAxis;g<e?g=e:g>n&&(g=n)}if(c){var b,R;let t="y"===p?"width":"height",e=k.has(m(i)),n=o.reference[s]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[s])||0)+(e?0:x.crossAxis),r=o.reference[s]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[s])||0)-(e?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:g,[s]:y}}}},tO=(t,e,n)=>{let r=new Map,i={platform:tp,...n},o={...i.platform,_c:r};return S(t,e,{...i,platform:o})}},97859:function(t,e,n){n.d(e,{Cp:function(){return v},RR:function(){return g},X5:function(){return y},YF:function(){return s},cv:function(){return m},dp:function(){return w},dr:function(){return h},uY:function(){return p},x7:function(){return x}});var r=n(50032),i=n(2265),o=n(54887),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function f(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!f(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!f(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function u(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=u(t);return Math.round(e*n)/n}function a(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function s(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:m,floating:p}={},transform:h=!0,whileElementsMounted:g,open:w}=t,[y,v]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[x,b]=i.useState(s);f(x,s)||b(s);let[R,L]=i.useState(null),[T,A]=i.useState(null),O=i.useCallback(t=>{t!==P.current&&(P.current=t,L(t))},[]),C=i.useCallback(t=>{t!==D.current&&(D.current=t,A(t))},[]),E=m||R,S=p||T,P=i.useRef(null),D=i.useRef(null),k=i.useRef(y),F=null!=g,M=a(g),H=a(d),W=a(w),V=i.useCallback(()=>
1{if(!P.current||!D.current)return;let t={placement:e,strategy:n,middleware:x};H.current&&(t.platform=H.current),(0,r.oo)(P.current,D.current,t).then(t=>{let e={...t,isPositioned:!1!==W.current};N.current&&!f(k.current,e)&&(k.current=e,o.flushSync(()=>{v(e)}))})},[x,e,n,H,W]);l(()=>{!1===w&&k.current.isPositioned&&(k.current.isPositioned=!1,v(t=>({...t,isPositioned:!1})))},[w]);let N=i.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{if(E&&(P.current=E),S&&(D.current=S),E&&S){if(M.current)return M.current(E,S,V);V()}},[E,S,V,M,F]);let B=i.useMemo(()=>({reference:P,floating:D,setReference:O,setFloating:C}),[O,C]),_=i.useMemo(()=>({reference:E,floating:S}),[E,S]),j=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!_.floating)return t;let e=c(_.floating,y.x),r=c(_.floating,y.y);return h?{...t,transform:"translate("+e+"px, "+r+"px)",...u(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,h,_.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:V,refs:B,elements:_,floatingStyles:j}),[y,V,B,_,j])}let d=t=>({name:"arrow",options:t,fn(e){let{element:n,padding:i}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(e):{}:n?(0,r.x7)({element:n,padding:i}).fn(e):{}}}),m=(t,e)=>{let n=(0,r.cv)(t);return{name:n.name,fn:n.fn,options:[t,e]}},p=(t,e)=>{let n=(0,r.uY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},h=(t,e)=>({fn:(0,r.dr)(t).fn,options:[t,e]}),g=(t,e)=>{let n=(0,r.RR)(t);return{name:n.name,fn:n.fn,options:[t,e]}},w=(t,e)=>{let n=(0,r.dp)(t);return{name:n.name,fn:n.fn,options:[t,e]}},y=(t,e)=>{let n=(0,r.X5)(t);return{name:n.name,fn:n.fn,options:[t,e]}},v=(t,e)=>{let n=(0,r.Cp)(t);return{name:n.name,fn:n.fn,options:[t,e]}},x=(t,e)=>{let n=d(t);return{name:n.name,fn:n.fn,options:[t,e]}}}}]);

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.