PageSourceSearch

https://www.sharp.com/_next/static/chunks/4945-f2639b22fceef2d0.js

js sharp.com collected 2026-10-01 10:28:14 UTC 24,024 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4945],{671:(e,t,n)=>{n.d(t,{B1:()=>D,C0:()=>d,DD:()=>i,Dz:()=>y,Jx:()=>u,LI:()=>f,PG:()=>m,RI:()=>a,Sg:()=>g,T9:()=>o,TV:()=>w,WJ:()=>v,_3:()=>h,aD:()=>b,bV:()=>k,jk:()=>l,lP:()=>E,nI:()=>A,qE:()=>s,r_:()=>r,sq:()=>p,w7:()=>x});let r=["top","right","bottom","left"],i=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),l=Math.min,o=Math.max,f=Math.round,a=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return o(e,l(t,n))}function h(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function w(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return m(w(e))}function x(e,t,n){void 0===n&&(n=!1);let r=g(e),i=y(e),l=p(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=k(o)),[o,k(o)]}function v(e){let t=k(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let T=["left","right"],R=["right","left"],L=["top","bottom"],C=["bottom","top"];function E(e,t,n,r){let i=g(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:T;return t?T:R;case"left":case"right":return t?L:C;default:return[]}}(d(e),"start"===n,r);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(b)))),l}function k(e){let t=d(e);return c[t]+e.slice(t.length)}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function D(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}}},41093:(e,t,n)=>{n.d(t,{UE:()=>V,RK:()=>O,ll:()=>A,rD:()=>z,__:()=>D,UU:()=>S,jD:()=>q,mG:()=>B,ER:()=>I,cY:()=>P,iD:()=>E,BN:()=>_,Ej:()=>j});var r=n(671);function i(e,t,n){let i,{reference:l,floating:o}=e,f=(0,r.TV)(t),a=(0,r.Dz)(t),u=(0,r.sq)(a),c=(0,r.C0)(t),s="y"===f,h=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,g=l[u]/2-o[u]/2;switch(c){case"top":i={x:h,y:l.y-o.height};break;case"bottom":i={x:h,y:l.y+l.height};break;case"right":i={x:l.x+l.width,y:d};break;case"left":i={x:l.x-o.width,y:d};break;default:i={x:l.x,y:l.y}}switch((0,r.Sg)(t)){case"start":i[a]-=g*(n&&s?-1:1);break;case"end":i[a]+=g*(n&&s?-1:1)}return i}async function l(e,t){var n;void 0===t&&(t={});let{x:i,y:l,platform:o,rects:f,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:h="floating",altBoundary:d=!1,padding:g=0}=(0,r._3)(t,e),m=(0,r.nI)(g),p=a[d?"floating"===h?"reference":"floating":h],w=(0,r.B1)(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),y="floating"===h?{x:i,y:l,width:f.floating.width,height:f.floating.height}:f.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=(0,r.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:u}):y);return{top:(w.top-b.top+m.top)/v.y,bottom:(b.bottom-w.bottom+m.bottom)/v.y,left:(w.left-b.left+m.left)/v.x,right:(b.right-w.right+m.right)/v.x}}let o=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:f=[],platform:a}=n,u=a.detectOverflow?a:{...a,detectOverflow:l},c=await (null==a.isRTL?void 0:a.isRTL(t)),s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:d}=i(s,r,c),g=r,m=0,p={};for(let n=0;n<f.length;n++){let l=f[n];if(!l)continue;let{name:w,fn:y}=l,{x:x,y:v,data:b,reset:T}=await y({x:h,y:d,initialPlacement:r,placement:g,strategy:o,middlewareData:p,rects:s,platform:u,elements:{reference:e,floating:t}});h=null!=x?x:h,d=null!=v?v:d,p[w]={...p[w],...b},T&&m<50&&(m++,"object"==typeof T&&(T.placement&&(g=T.placement),T.rects&&(s=!0===T.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:h,y:d}=i(s,g,c)),n=-1)}return{x:h,y:d,placement:g,strategy:o,middlewareData:p}};function f(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function a(e){return r.r_.some(t=>e[t]>=0)}function u(e){let t=(0,r.jk)(...e.map(e=>e.left)),n=(0,r.jk)(...e.map(e=>e.top));return{x:t,y:n,width:(0,r.T9)(...e.map(e=>e.right))-t,height:(0,r.T9)(...e.map(e=>e.bottom))-n}}let c=new Set(["left","top"]);async function s(e,t){let{placement:n,platform:i,elements:l}=e,o=await (null==i.isRTL?void 0:i.isRTL(l.floating)),f=(0,r.C0)(n),a=(0,r.Sg)(n),u="y"===(0,r.TV)(n),s=c.has(f)?-1:1,h=o&&u?-1:1,d=(0,r._3)(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
1:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof p&&(m="end"===a?-1*p:p),u?{x:m*h,y:g*s}:{x:g*s,y:m*h}}var h=n(86301);function d(e){let t=(0,h.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,l=(0,h.sb)(e),o=l?e.offsetWidth:n,f=l?e.offsetHeight:i,a=(0,r.LI)(n)!==o||(0,r.LI)(i)!==f;return a&&(n=o,i=f),{width:n,height:i,$:a}}function g(e){return(0,h.vq)(e)?e:e.contextElement}function m(e){let t=g(e);if(!(0,h.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:i,height:l,$:o}=d(t),f=(o?(0,r.LI)(n.width):n.width)/i,a=(o?(0,r.LI)(n.height):n.height)/l;return f&&Number.isFinite(f)||(f=1),a&&Number.isFinite(a)||(a=1),{x:f,y:a}}let p=(0,r.Jx)(0);function w(e){let t=(0,h.zk)(e);return(0,h.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function y(e,t,n,i){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),f=g(e),a=(0,r.Jx)(1);t&&(i?(0,h.vq)(i)&&(a=m(i)):a=m(e));let u=(void 0===(l=n)&&(l=!1),i&&(!l||i===(0,h.zk)(f))&&l)?w(f):(0,r.Jx)(0),c=(o.left+u.x)/a.x,s=(o.top+u.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(f){let e=(0,h.zk)(f),t=i&&(0,h.vq)(i)?(0,h.zk)(i):i,n=e,r=(0,h._m)(n);for(;r&&i&&t!==n;){let e=m(r),t=r.getBoundingClientRect(),i=(0,h.L9)(r),l=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,p*=e.y,c+=l,s+=o,n=(0,h.zk)(r),r=(0,h._m)(n)}}return(0,r.B1)({width:d,height:p,x:c,y:s})}function x(e,t){let n=(0,h.CP)(e).scrollLeft;return t?t.left+n:y((0,h.ep)(e)).left+n}function v(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-x(e,n),y:n.top+t.scrollTop}}function b(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,h.zk)(e),r=(0,h.ep)(e),i=n.visualViewport,l=r.clientWidth,o=r.clientHeight,f=0,a=0;if(i){l=i.width,o=i.height;let e=(0,h.Tc)();(!e||e&&"fixed"===t)&&(f=i.offsetLeft,a=i.offsetTop)}let u=x(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=25&&(l-=o)}else u<=25&&(l+=u);return{width:l,height:o,x:f,y:a}}(e,n);else if("document"===t)i=function(e){let t=(0,h.ep)(e),n=(0,h.CP)(e),i=e.ownerDocument.body,l=(0,r.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=(0,r.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),f=-n.scrollLeft+x(e),a=-n.scrollTop;return"rtl"===(0,h.L9)(i).direction&&(f+=(0,r.T9)(t.clientWidth,i.clientWidth)-l),{width:l,height:o,x:f,y:a}}((0,h.ep)(e));else if((0,h.vq)(t))i=function(e,t){let n=y(e,!0,"fixed"===t),i=n.top+e.clientTop,l=n.left+e.clientLeft,o=(0,h.sb)(e)?m(e):(0,r.Jx)(1),f=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:f,height:a,x:l*o.x,y:i*o.y}}(t,n);else{let n=w(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(i)}function T(e){return"static"===(0,h.L9)(e).position}function R(e,t){if(!(0,h.sb)(e)||"fixed"===(0,h.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,h.ep)(e)===n&&(n=n.ownerDocument.body),n}function L(e,t){let n=(0,h.zk)(e);if((0,h.Tf)(e))return n;if(!(0,h.sb)(e)){let t=(0,h.$4)(e);for(;t&&!(0,h.eu)(t);){if((0,h.vq)(t)&&!T(t))return t;t=(0,h.$4)(t)}return n}let r=R(e,t);for(;r&&(0,h.Lv)(r)&&T(r);)r=R(r,t);return r&&(0,h.eu)(r)&&T(r)&&!(0,h.sQ)(r)?n:r||(0,h.gJ)(e)||n}let C=async function(e){let t=this.getOffsetParent||L,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,h.sb)(t),l=(0,h.ep)(t),o="fixed"===n,f=y(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=(0,r.Jx)(0);if(i||!i&&!o)if(("body"!==(0,h.mq)(t)||(0,h.ZU)(l))&&(a=(0,h.CP)(t)),i){let e=y(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else l&&(u.x=x(l));o&&!i&&l&&(u.x=x(l));let c=!l||i||o?(0,r.Jx)(0):v(l,a);
1return{x:f.left+a.scrollLeft-u.x-c.x,y:f.top+a.scrollTop-u.y-c.y,width:f.width,height:f.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},E={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:l}=e,o="fixed"===l,f=(0,h.ep)(i),a=!!t&&(0,h.Tf)(t.floating);if(i===f||a&&o)return n;let u={scrollLeft:0,scrollTop:0},c=(0,r.Jx)(1),s=(0,r.Jx)(0),d=(0,h.sb)(i);if((d||!d&&!o)&&(("body"!==(0,h.mq)(i)||(0,h.ZU)(f))&&(u=(0,h.CP)(i)),d)){let e=y(i);c=m(i),s.x=e.x+i.clientLeft,s.y=e.y+i.clientTop}let g=!f||d||o?(0,r.Jx)(0):v(f,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+s.x+g.x,y:n.y*c.y-u.scrollTop*c.y+s.y+g.y}},getDocumentElement:h.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:l}=e,o=[..."clippingAncestors"===n?(0,h.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,h.v9)(e,[],!1).filter(e=>(0,h.vq)(e)&&"body"!==(0,h.mq)(e)),i=null,l="fixed"===(0,h.L9)(e).position,o=l?(0,h.$4)(e):e;for(;(0,h.vq)(o)&&!(0,h.eu)(o);){let t=(0,h.L9)(o),n=(0,h.sQ)(o);n||"fixed"!==t.position||(i=null),(l?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||(0,h.ZU)(o)&&!n&&function e(t,n){let r=(0,h.$4)(t);return!(r===n||!(0,h.vq)(r)||(0,h.eu)(r))&&("fixed"===(0,h.L9)(r).position||e(r,n))}(e,o)))?i=t:r=r.filter(e=>e!==o),o=(0,h.$4)(o)}return t.set(e,r),r}(t,this._c):[].concat(n),i],f=b(t,o[0],l),a=f.top,u=f.right,c=f.bottom,s=f.left;for(let e=1;e<o.length;e++){let n=b(t,o[e],l);a=(0,r.T9)(n.top,a),u=(0,r.jk)(n.right,u),c=(0,r.jk)(n.bottom,c),s=(0,r.T9)(n.left,s)}return{width:u-s,height:c-a,x:s,y:a}},getOffsetParent:L,getElementRects:C,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=d(e);return{width:t,height:n}},getScale:m,isElement:h.vq,isRTL:function(e){return"rtl"===(0,h.L9)(e).direction}};function k(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function A(e,t,n,i){let l;void 0===i&&(i={});let{ancestorScroll:o=!0,ancestorResize:f=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,s=g(e),d=o||f?[...s?(0,h.v9)(s):[],...t?(0,h.v9)(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let m=s&&u?function(e,t){let n,i=null,l=(0,h.ep)(e);function o(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function f(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),o();let c=e.getBoundingClientRect(),{left:s,top:h,width:d,height:g}=c;if(a||t(),!d||!g)return;let m=(0,r.RI)(h),p=(0,r.RI)(l.clientWidth-(s+d)),w={rootMargin:-m+"px "+-p+"px "+-(0,r.RI)(l.clientHeight-(h+g))+"px "+-(0,r.RI)(s)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,u))||1},y=!0;function x(t){let r=t[0].intersectionRatio;if(r!==u){if(!y)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||k(c,e.getBoundingClientRect())||f(),y=!1}try{i=new IntersectionObserver(x,{...w,root:l.ownerDocument})}catch(e){i=new IntersectionObserver(x,w)}i.observe(e)}(!0),o}(s,n):null,p=-1,w=null;a&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&w&&t&&(w.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),s&&!c&&w.observe(s),t&&w.observe(t));let x=c?y(e):null;return c&&function t(){let r=y(e);x&&!k(x,r)&&n(),x=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=w)||e.disconnect(),w=null,c&&cancelAnimationFrame(l)}}let D=l,P=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:l,placement:o,middlewareData:f}=t,a=await s(t,e);return o===(null==(n=f.offset)?void 0:n.placement)&&null!=(r=f.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:l+a.y,data:{...a,placement:o}}}}},O=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,l,o;let{rects:f,middlewareData:a,placement:u,platform:c,elements:s}=t,{crossAxis:h=!1,alignment:d,allowedPlacements:g=r.DD,autoAlignment:m=!0,...p}=(0,r._3)(e,t),w=void 0!==d||g===r.DD?((o=d||null)?[...g.filter(e=>
1(0,r.Sg)(e)===o),...g.filter(e=>(0,r.Sg)(e)!==o)]:g.filter(e=>(0,r.C0)(e)===e)).filter(e=>!o||(0,r.Sg)(e)===o||!!m&&(0,r.aD)(e)!==e):g,y=await c.detectOverflow(t,p),x=(null==(n=a.autoPlacement)?void 0:n.index)||0,v=w[x];if(null==v)return{};let b=(0,r.w7)(v,f,await (null==c.isRTL?void 0:c.isRTL(s.floating)));if(u!==v)return{reset:{placement:w[0]}};let T=[y[(0,r.C0)(v)],y[b[0]],y[b[1]]],R=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:T}],L=w[x+1];if(L)return{data:{index:x+1,overflows:R},reset:{placement:L}};let C=R.map(e=>{let t=(0,r.Sg)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),E=(null==(l=C.filter(e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||C[0][0];return E!==u?{data:{index:x+1,overflows:R},reset:{placement:E}}:{}}}},_=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:l,platform:o}=t,{mainAxis:f=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),s={x:n,y:i},h=await o.detectOverflow(t,c),d=(0,r.TV)((0,r.C0)(l)),g=(0,r.PG)(d),m=s[g],p=s[d];if(f){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=m+h[e],i=m-h[t];m=(0,r.qE)(n,m,i)}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+h[e],i=p-h[t];p=(0,r.qE)(n,p,i)}let w=u.fn({...t,[g]:m,[d]:p});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[g]:f,[d]:a}}}}}},S=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,l,o,f;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:h,elements:d}=t,{mainAxis:g=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:x=!0,...v}=(0,r._3)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let b=(0,r.C0)(a),T=(0,r.TV)(s),R=(0,r.C0)(s)===s,L=await (null==h.isRTL?void 0:h.isRTL(d.floating)),C=p||(R||!x?[(0,r.bV)(s)]:(0,r.WJ)(s)),E="none"!==y;!p&&E&&C.push(...(0,r.lP)(s,x,y,L));let k=[s,...C],A=await h.detectOverflow(t,v),D=[],P=(null==(i=u.flip)?void 0:i.overflows)||[];if(g&&D.push(A[b]),m){let e=(0,r.w7)(a,c,L);D.push(A[e[0]],A[e[1]])}if(P=[...P,{placement:a,overflows:D}],!D.every(e=>e<=0)){let e=((null==(l=u.flip)?void 0:l.index)||0)+1,t=k[e];if(t&&("alignment"!==m||T===(0,r.TV)(t)||P.every(e=>(0,r.TV)(e.placement)!==T||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(o=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(w){case"bestFit":{let e=null==(f=P.filter(e=>{if(E){let t=(0,r.TV)(e.placement);return t===T||"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:f[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},j=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let l,o,{placement:f,rects:a,platform:u,elements:c}=t,{apply:s=()=>{},...h}=(0,r._3)(e,t),d=await u.detectOverflow(t,h),g=(0,r.C0)(f),m=(0,r.Sg)(f),p="y"===(0,r.TV)(f),{width:w,height:y}=a.floating;"top"===g||"bottom"===g?(l=g,o=m===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(o=g,l="end"===m?"top":"bottom");let x=y-d.top-d.bottom,v=w-d.left-d.right,b=(0,r.jk)(y-d[l],x),T=(0,r.jk)(w-d[o],v),R=!t.middlewareData.shift,L=b,C=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(C=v),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(L=x),R&&!m){let e=(0,r.T9)(d.left,0),t=(0,r.T9)(d.right,0),n=(0,r.T9)(d.top,0),i=(0,r.T9)(d.bottom,0);p?C=w-2*(0!==e||0!==t?e+t:(0,r.T9)(d.left,d.right)):L=y-2*(0!==n||0!==i?n+i:(0,r.T9)(d.top,d.bottom))}await s({...t,availableWidth:C,availableHeight:L});let E=await u.getDimensions(c.floating);return w!==E.width||y!==E.height?{reset:{rects:!0}}:{}}}},q=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:l="referenceHidden",...o}=(0,r._3)(e,t);switch(l){case"referenceHidden":{let e=f(await i.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:a(e)}}}case"escaped":{let e=f(await i.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:a(e)}}}default:return{}}}}},V=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:l,rects:o,platform:f,elements:a,middlewareData:u}=t,{element:c,padding:s=0}=(0,r._3)(e,t)||{};if(null==c)return{};let h=(0,r.nI)(s),d={x:n,y:i},g=(0,r.Dz)(l),m=(0,r.sq)(g),p=await f.getDimensions(c),w="y"===g,y=w?"clientHeight":"clientWidth",x=o.reference[m]+o.reference[g]-d[g]-o.floating[m],v=d[g]-o.reference[g],b=await (null==f.getOffsetParent?void 0:f.getOffsetParent(c)),T=b?b[y]:0;T&&await (null==f.isElement?void 0:f.isElement(b))||(T=a.floating[y]||o.floating[m]);let R=T/2-p[m]/2-1,L=(0,r.jk)(h[w?"top":"left"],R),C=(0,r.jk)(h[w?"bottom":"right"],R),E=T-p[m]-C,k=T/2-p[m]/2+(x/2-v/2),A=(0,r.qE)(L,k,E),D=!u.arrow&&null!=(0,r.Sg)(l)&&k!==A&&o.reference[m]/2-(k<L?L:C)-p[m]/2<0,P=D?k<L?k-L:k-E:0;return{[g]:d[g]+P,data:{[g]:A,centerOffset:k-A-P,...D&&{alignmentOffset:P}},reset:D}}}),B=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:i,rects:l,platform:o,strategy:f}=t,{padding:a=2,x:c,y:s}=(0,r._3)(e,t),h=Array.from(await (null==o.getClientRects?void 0:o.getClientRects(i.reference))||[]),d=function(e){let t=e.slice().sort((e,t)=>
1e.y-t.y),n=[],i=null;for(let e=0;e<t.length;e++){let r=t[e];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>(0,r.B1)(u(e)))}(h),g=(0,r.B1)(u(h)),m=(0,r.nI)(a),p=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=c&&null!=s)return d.find(e=>c>e.left-m.left&&c<e.right+m.right&&s>e.top-m.top&&s<e.bottom+m.bottom)||g;if(d.length>=2){if("y"===(0,r.TV)(n)){let e=d[0],t=d[d.length-1],i="top"===(0,r.C0)(n),l=e.top,o=t.bottom,f=i?e.left:t.left,a=i?e.right:t.right;return{top:l,bottom:o,left:f,right:a,width:a-f,height:o-l,x:f,y:l}}let e="left"===(0,r.C0)(n),t=(0,r.T9)(...d.map(e=>e.right)),i=(0,r.jk)(...d.map(e=>e.left)),l=d.filter(n=>e?n.left===i:n.right===t),o=l[0].top,f=l[l.length-1].bottom;return{top:o,bottom:f,left:i,right:t,width:t-i,height:f-o,x:i,y:o}}return g}},floating:i.floating,strategy:f});return l.reference.x!==p.reference.x||l.reference.y!==p.reference.y||l.reference.width!==p.reference.width||l.reference.height!==p.reference.height?{reset:{rects:p}}:{}}}},I=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:l,rects:o,middlewareData:f}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=(0,r._3)(e,t),h={x:n,y:i},d=(0,r.TV)(l),g=(0,r.PG)(d),m=h[g],p=h[d],w=(0,r._3)(a,t),y="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===g?"height":"width",t=o.reference[g]-o.floating[e]+y.mainAxis,n=o.reference[g]+o.reference[e]-y.mainAxis;m<t?m=t:m>n&&(m=n)}if(s){var x,v;let e="y"===g?"width":"height",t=c.has((0,r.C0)(l)),n=o.reference[d]-o.floating[e]+(t&&(null==(x=f.offset)?void 0:x[d])||0)+(t?0:y.crossAxis),i=o.reference[d]+o.reference[e]+(t?0:(null==(v=f.offset)?void 0:v[d])||0)-(t?y.crossAxis:0);p<n?p=n:p>i&&(p=i)}return{[g]:m,[d]:p}}}},z=(e,t,n)=>{let r=new Map,i={platform:E,...n},l={...i.platform,_c:r};return o(e,t,{...i,platform:l})}},84945:(e,t,n)=>{n.d(t,{BN:()=>d,ER:()=>g,Ej:()=>p,RK:()=>w,UE:()=>v,UU:()=>m,cY:()=>h,jD:()=>y,mG:()=>x,we:()=>s});var r=n(41093),i=n(12115),l=n(47650),o="undefined"!=typeof document?i.useLayoutEffect:function(){};function f(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(!f(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)&&!f(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=a(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return o(()=>{t.current=e}),t}function s(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:s=[],platform:h,elements:{reference:d,floating:g}={},transform:m=!0,whileElementsMounted:p,open:w}=e,[y,x]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,b]=i.useState(s);f(v,s)||b(s);let[T,R]=i.useState(null),[L,C]=i.useState(null),E=i.useCallback(e=>{e!==P.current&&(P.current=e,R(e))},[]),k=i.useCallback(e=>{e!==O.current&&(O.current=e,C(e))},[]),A=d||T,D=g||L,P=i.useRef(null),O=i.useRef(null),_=i.useRef(y),S=null!=p,j=c(p),q=c(h),V=c(w),B=i.useCallback(()=>{if(!P.current||!O.current)return;let e={placement:t,strategy:n,middleware:v};q.current&&(e.platform=q.current),(0,r.rD)(P.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==V.current};I.current&&!f(_.current,t)&&(_.current=t,l.flushSync(()=>{x(t)}))})},[v,t,n,q,V]);o(()=>{!1===w&&_.current.isPositioned&&(_.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[w]);let I=i.useRef(!1);o(()=>(I.current=!0,()=>{I.current=!1}),[]),o(()=>{if(A&&(P.current=A),D&&(O.current=D),A&&D){if(j.current)return j.current(A,D,B);B()}},[A,D,B,j,S]);let z=i.useMemo(()=>({reference:P,floating:O,setReference:E,setFloating:k}),[E,k]),W=i.useMemo(()=>({reference:A,floating:D}),[A,D]),F=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=u(W.floating,y.x),r=u(W.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...a(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,W.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:B,refs:z,elements:W,floatingStyles:F}),[y,B,z,W,F])}let h=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},d=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),m=(e,t)=>
1{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},w=(e,t)=>{let n=(0,r.RK)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=(0,r.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},x=(e,t)=>{let n=(0,r.mG)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[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.