RedblockTooltipLayer.react",["BaseContextualLayerAnchorRootContext","BaseContextualLayerContextSizeContext","BaseContextualLayerOrientationContext","CometContextualLayerAnchorRoot.react","CometTextContext","Locale","RedblockPortal.react","RedblockTootipConstants","getComputedStyle","getDefaultViewForNode","getRedblockTooltipLayerPositioningStyles_DEPRECATED","mergeRefs","react","useCometVisualChangeTracker"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useContext,m=e.useImperativeHandle,n=e.useLayoutEffect,o=e.useMemo,p=e.useRef,q=e.useState;function r(a,b){var d;b===void 0&&(b="document");if(b==="viewport"){b=a.getBoundingClientRect();return{bottom:b.bottom,left:b.left,right:b.right,top:b.top}}b=r(a,"viewport");a=c("getDefaultViewForNode")(a);d=(d=a==null?void 0:a.pageXOffset)!=null?d:0;a=(a=a==null?void 0:a.pageYOffset)!=null?a:0;return{bottom:b.bottom+a,left:b.left+d,right:b.right+d,top:b.top+a}}function s(a){var b=(h||(h=c("getComputedStyle")))(a);return b!=null&&b.getPropertyValue("position")!=="static"?a:a instanceof HTMLElement&&a.offsetParent||a.ownerDocument.documentElement}function t(a){var b=a;while(b!=null&&b!==a.ownerDocument){var d=(h||(h=c("getComputedStyle")))(b);if(d==null)return!1;d=d.getPropertyValue("position");if(d==="fixed"||d==="sticky")return!0;b=b.parentElement}return!1}var u=d("Locale").isRTL();e=j.forwardRef(b);function b(b,e){var f=b.children,g=b.context,h=b.hidden,i=h===void 0?!1:h;h=b.align;var v=h===void 0?"end":h;h=b.disableAutoFlip;var w=h===void 0?!1:h;h=b.position;var x=h===void 0?"below":h;b=q(!1);var y=b[0],z=b[1];h=q(function(){return x});var A=h[0],B=h[1];b=q(function(){return v});var C=b[0],D=b[1];h=q(null);var E=h[0],F=h[1];b=q(null);var G=b[0],H=b[1],I=l(c("BaseContextualLayerAnchorRootContext")),J=p(null),K=k(function(){var b=J.current;if(b!=null){var c=r(g,"viewport");b=r(b,"viewport");var e=b.bottom-b.top,f=d("RedblockTootipConstants").TOP_BOUND_OFFSET,h=a.innerHeight-d("RedblockTootipConstants").BOTTOM_BOUND_OFFSET,i=b.right-b.left,j=a.innerWidth,k=0;A==="above"||A==="below"?(!w&&A==="above"&&b.top!==0&&b.toph&&c.top-e>f&&B("above"),(u&&C==="end"||!u&&C==="start")&&b.right!==0&&b.right>j&&c.right-i>k?D(u?"start":"end"):(u&&C==="start"||!u&&C==="end")&&b.left!==0&&b.leftj&&c.left-i>k&&B(u?"end":"start"),C==="start"&&b.bottom!==0&&b.bottom>h&&c.bottom-eh&&D("start"))}},[C,g,w,A]),L=k(function(){var b,e=I.current||a.document.body,f=s(e);if(f==null)return;e=!t(e)&&t(g);var h=r(g,e?"viewport":"document");b=e?{bottom:(b=(b=(b=document.documentElement)==null?void 0:b.clientHeight)!=null?b:a.innerHeight)!=null?b:0,left:0,right:(b=(b=(b=document.documentElement)==null?void 0:b.clientWidth)!=null?b:a.innerWidth)!=null?b:0,top:0}:r(f,"document");var i=c("getRedblockTooltipLayerPositioningStyles_DEPRECATED")({align:C,contextRect:h,fixed:e,offsetRect:b,position:A}),j=J.current;j!=null&&(j.removeAttribute("style"),Object.keys(i).forEach(function(a){var b=i[a];j.style.setProperty(a,typeof b==="number"?String(b)+"px":b)}),j.getBoundingClientRect().bottom>a.innerHeight-d("RedblockTootipConstants").BOTTOM_BOUND_OFFSET&&B("above"));z(!0);F(h.bottom-h.top);H(h.left-h.right)},[C,I,g,A]);m(e,function(){return{reposition:function(a){a=a||{};a=a.autoflip;a=a===void 0?!1:a;a&&K();L()}}},[L,K]);n(function(){i||L()},[L,i]);var M=k(function(a){J.current=a,J.current!=null&&!i&&(y&&K(),L())},[y,L,K,i]),N=c("useCometVisualChangeTracker")();h=o(function(){return c("mergeRefs")(M,N)},[M,N]);b=o(function(){return{align:C,position:A}},[C,A]);e=o(function(){return E!=null&&G!=null?{height:E,width:G}:null},[E,G]);return j.jsx(c("RedblockPortal.react"),{children:j.jsx("div",{className:"xu96u03 xm80bdy x10l6tqk x13vifvy x1q2oy4v x1vq45kp x1bifzbx",ref:h,children:j.jsx(c("CometContextualLayerAnchorRoot.react"),{children:j.jsx(c("BaseContextualLayerContextSizeContext").Provider,{value:e,children:j.jsx(c("BaseContextualLayerOrientationContext").Provider,{value:b,children:j.jsx(d("CometTextContext").CometTextContextProvider,{color:null,type:null,children:f})})})})})})}b.displayName=b.name+" [from "+f.id+"]";b=e;g["default"]=b}),98);
-----
getComputedStyle",["getDefaultViewForNode"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=c("getDefaultViewForNode")(a);return d==null?null:d.getComputedStyle(a,b)}g["default"]=a}),98);
-----
getDefaultViewForNode",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a===document?document:a.ownerDocument;return a.defaultView}f["default"]=a}),66);
-----
RedblockTooltipLayer.react",["BaseContextualLayerAnchorRootContext","BaseContextualLayerContextSizeContext","BaseContextualLayerOrientationContext","CometContextualLayerAnchorRoot.react","CometTextContext","Locale","ReactDOMComet","RedblockPortal.react","getComputedStyle","getDefaultViewForNode","getRedblockTooltipLayerPositioningStyles_DEPRECATED","mergeRefs","react","useCometVisualChangeTracker","useLayoutEffect_SAFE_FOR_SSR"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useContext,k=e.useImperativeHandle,l=e.useMemo,m=e.useRef,n=e.useState,o=40,p=0;function q(a,b){var d;b===void 0&&(b="document");if(b==="viewport"){b=a.getBoundingClientRect();return{bottom:b.bottom,left:b.left,right:b.right,top:b.top}}b=q(a,"viewport");a=c("getDefaultViewForNode")(a);d=(d=a==null?void 0:a.pageXOffset)!=null?d:0;a=(a=a==null?void 0:a.pageYOffset)!=null?a:0;return{bottom:b.bottom+a,left:b.left+d,right:b.right+d,top:b.top+a}}function r(a){var b=c("getComputedStyle")(a);return b!=null&&b.getPropertyValue("position")!=="static"?a:a instanceof HTMLElement&&a.offsetParent||a.ownerDocument.documentElement}function s(a){var b=a;while(b!=null&&b!==a.ownerDocument){var d=c("getComputedStyle")(b);if(d==null)return!1;d=d.getPropertyValue("position");if(d==="fixed"||d==="sticky")return!0;b=b.parentElement}return!1}var t=d("Locale").isRTL();function b(b,e){var f=b.align,g=f===void 0?"end":f;f=b.children;var u=b.context,v=b.disableAutoFlip,w=v===void 0?!1:v;v=b.hidden;var x=v===void 0?!1:v;v=b.position;var y=v===void 0?"below":v;v=b.passive;v===void 0?!1:v;b=n(!1);var z=b[0],A=b[1];v=n(function(){return y});var B=v[0],C=v[1];b=n(function(){return g});var D=b[0],E=b[1];v=n(null);var F=v[0],G=v[1];b=n(null);var H=b[0],I=b[1],J=j(c("BaseContextualLayerAnchorRootContext")),K=m(null),L=i(function(){var b=K.current;if(b!=null){var c=q(u,"viewport");b=q(b,"viewport");var d=b.bottom-b.top,e=o,f=a.innerHeight-p,g=b.right-b.left,h=a.innerWidth,i=0;B==="above"||B==="below"?(!w&&B==="above"&&b.top!==0&&b.topf&&c.top-d>e&&C("above"),(t&&D==="end"||!t&&D==="start")&&b.right!==0&&b.right>h&&c.right-g>i?E(t?"start":"end"):(t&&D==="start"||!t&&D==="end")&&b.left!==0&&b.lefth&&c.left-g>i&&C(t?"end":"start"),D==="start"&&b.bottom!==0&&b.bottom>f&&c.bottom-df&&E("start"))}},[D,u,w,B]),M=i(function(){var b,e=J.current||a.document.body,f=r(e);if(f==null)return;e=!s(e)&&s(u);var g=q(u,e?"viewport":"document");b=e?{bottom:(b=(b=(b=document.documentElement)==null?void 0:b.clientHeight)!=null?b:a.innerHeight)!=null?b:0,left:0,right:(b=(b=(b=document.documentElement)==null?void 0:b.clientWidth)!=null?b:a.innerWidth)!=null?b:0,top:0}:q(f,"document");var h=c("getRedblockTooltipLayerPositioningStyles_DEPRECATED")({align:D,contextRect:g,fixed:e,offsetRect:b,position:B}),i=K.current;i!=null&&(i.removeAttribute("style"),Object.keys(h).forEach(function(a){var b=h[a];i.style.setProperty(a,typeof b==="number"?String(b)+"px":b)}),i.getBoundingClientRect().bottom>a.innerHeight-p&&C("above"));d("ReactDOMComet").unstable_batchedUpdates(function(){A(!0),G(g.bottom-g.top),I(g.left-g.right)})},[D,J,u,B]);k(e,function(){return{reposition:function(a){a=a||{};a=a.autoflip;a=a===void 0?!1:a;a&&L();M()}}},[M,L]);c("useLayoutEffect_SAFE_FOR_SSR")(function(){x||M()},[M,x]);var N=i(function(a){K.current=a,K.current!=null&&!x&&(z&&L(),M())},[z,M,L,x]),O=c("useCometVisualChangeTracker")();v=l(function(){return c("mergeRefs")(N,O)},[N,O]);b=l(function(){return{align:D,position:B}},[D,B]);e=l(function(){return F!=null&&H!=null?{height:F,width:H}:null},[F,H]);return h.jsx(c("RedblockPortal.react"),{children:h.jsx("div",{className:"xu96u03 xm80bdy x10l6tqk x13vifvy x1q2oy4v",ref:v,children:h.jsx(c("CometContextualLayerAnchorRoot.react"),{children:h.jsx(c("BaseContextualLayerContextSizeContext").Provider,{value:e,children:h.jsx(c("BaseContextualLayerOrientationContext").Provider,{value:b,children:h.jsx(c("CometTextContext").Provider,{value:null,children:f})})})})})})}b.displayName=b.name+" [from "+f.id+"]";e=h.forwardRef(b);g["default"]=e}),98);
-----
getComputedStyle",["getDefaultViewForNode"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=c("getDefaultViewForNode")(a);return d==null?null:d.getComputedStyle(a,b)}g["default"]=a}),98);
-----
getDefaultViewForNode",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a===document?document:a.ownerDocument;return a.defaultView}f["default"]=a}),66);
-----
-----
getComputedStyle",["getDefaultViewForNode"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=c("getDefaultViewForNode")(a);return d==null?null:d.getComputedStyle(a,b)}g["default"]=a}),98);
-----
getDefaultViewForNode",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a===document?document:a.ownerDocument;return a.defaultView}f["default"]=a}),66);
-----
RedblockTooltipLayer.react",["BaseContextualLayerAnchorRootContext","BaseContextualLayerContextSizeContext","BaseContextualLayerOrientationContext","CometContextualLayerAnchorRoot.react","CometTextContext","Locale","ReactDOMComet","RedblockPortal.react","getComputedStyle","getDefaultViewForNode","getRedblockTooltipLayerPositioningStyles_DEPRECATED","mergeRefs","react","useCometVisualChangeTracker","useLayoutEffect_SAFE_FOR_SSR"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useContext,k=e.useImperativeHandle,l=e.useMemo,m=e.useRef,n=e.useState,o=40,p=0;function q(a,b){var d;b===void 0&&(b="document");if(b==="viewport"){b=a.getBoundingClientRect();return{bottom:b.bottom,left:b.left,right:b.right,top:b.top}}b=q(a,"viewport");a=c("getDefaultViewForNode")(a);d=(d=a==null?void 0:a.pageXOffset)!=null?d:0;a=(a=a==null?void 0:a.pageYOffset)!=null?a:0;return{bottom:b.bottom+a,left:b.left+d,right:b.right+d,top:b.top+a}}function r(a){var b=c("getComputedStyle")(a);return b!=null&&b.getPropertyValue("position")!=="static"?a:a instanceof HTMLElement&&a.offsetParent||a.ownerDocument.documentElement}function s(a){var b=a;while(b!=null&&b!==a.ownerDocument){var d=c("getComputedStyle")(b);if(d==null)return!1;d=d.getPropertyValue("position");if(d==="fixed"||d==="sticky")return!0;b=b.parentElement}return!1}var t=d("Locale").isRTL();function b(b,e){var f=b.align,g=f===void 0?"end":f;f=b.children;var u=b.context,v=b.disableAutoFlip,w=v===void 0?!1:v;v=b.hidden;var x=v===void 0?!1:v;v=b.position;var y=v===void 0?"below":v;v=b.passive;v===void 0?!1:v;b=n(!1);var z=b[0],A=b[1];v=n(function(){return y});var B=v[0],C=v[1];b=n(function(){return g});var D=b[0],E=b[1];v=n(null);var F=v[0],G=v[1];b=n(null);var H=b[0],I=b[1],J=j(c("BaseContextualLayerAnchorRootContext")),K=m(null),L=i(function(){var b=K.current;if(b!=null){var c=q(u,"viewport");b=q(b,"viewport");var d=b.bottom-b.top,e=o,f=a.innerHeight-p,g=b.right-b.left,h=a.innerWidth,i=0;B==="above"||B==="below"?(!w&&B==="above"&&b.top!==0&&b.top
-----
getComputedStyle",["getDefaultViewForNode"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=c("getDefaultViewForNode")(a);return d==null?null:d.getComputedStyle(a,b)}g["default"]=a}),98);
-----
getDefaultViewForNode",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a===document?document:a.ownerDocument;return a.defaultView}f["default"]=a}),66);
-----