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