File "519.cd578c0795e645866066.js"
Full path: /home/satkhirabarta/public_html/wp-content/plugins/really-simple-ssl/settings/build/519.cd578c0795e645866066.js
File
size: 37.44 B (37.44 KB bytes)
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
(self.webpackChunkreally_simple_ssl=self.webpackChunkreally_simple_ssl||[]).push([[519],{6942:(e,t)=>{var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=i(e,l(o)))}return e}function l(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)n.call(e,o)&&e[o]&&(t=i(t,o));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},6635:(e,t,o)=>{"use strict";function n(){return"undefined"!=typeof window}function r(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function l(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!n()&&(e instanceof Node||e instanceof l(e).Node)}function c(e){return!!n()&&(e instanceof Element||e instanceof l(e).Element)}function a(e){return!!n()&&(e instanceof HTMLElement||e instanceof l(e).HTMLElement)}function u(e){return!(!n()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof l(e).ShadowRoot)}function d(e){const{overflow:t,overflowX:o,overflowY:n,display:r}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(r)}function f(e){return["table","td","th"].includes(r(e))}function p(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function m(e){const t=y(),o=c(e)?g(e):e;return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!t&&!!o.backdropFilter&&"none"!==o.backdropFilter||!t&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((e=>(o.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(o.contain||"").includes(e)))}function v(e){let t=b(e);for(;a(t)&&!h(t);){if(m(t))return t;if(p(t))return null;t=b(t)}return null}function y(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(r(e))}function g(e){return l(e).getComputedStyle(e)}function w(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function b(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||i(e);return u(t)?t.host:t}function x(e){const t=b(e);return h(t)?e.ownerDocument?e.ownerDocument.body:e.body:a(t)&&d(t)?t:x(t)}function _(e,t,o){var n;void 0===t&&(t=[]),void 0===o&&(o=!0);const r=x(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),s=l(r);if(i){const e=E(s);return t.concat(s,s.visualViewport||[],d(r)?r:[],e&&o?_(e):[])}return t.concat(r,_(r,[],o))}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}o.d(t,{$4:()=>b,CP:()=>w,L9:()=>g,Lv:()=>f,Tc:()=>y,Tf:()=>p,ZU:()=>d,_m:()=>E,ep:()=>i,eu:()=>h,gJ:()=>v,mq:()=>r,sQ:()=>m,sb:()=>a,v9:()=>_,vq:()=>c,zk:()=>l})},7193:(e,t,o)=>{"use strict";o.d(t,{B1:()=>S,C0:()=>f,Dz:()=>h,Jx:()=>s,LI:()=>l,PG:()=>m,RI:()=>i,Sg:()=>p,T9:()=>r,TV:()=>y,WJ:()=>w,_3:()=>d,bV:()=>_,jk:()=>n,lP:()=>x,nI:()=>E,qE:()=>u,sq:()=>v,w7:()=>g});const n=Math.min,r=Math.max,l=Math.round,i=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function u(e,t,o){return r(e,n(t,o))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(f(e))?"y":"x"}function h(e){return m(y(e))}function g(e,t,o){void 0===o&&(o=!1);const n=p(e),r=h(e),l=v(r);let i="x"===r?n===(o?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=_(i)),[i,_(i)]}function w(e){const t=_(e);return[b(e),t,b(t)]}function b(e){return e.replace(/start|end/g,(e=>a[e]))}function x(e,t,o,n){const r=p(e);let l=function(e,t,o){const n=["left","right"],r=["right","left"],l=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return o?t?r:n:t?n:r;case"left":case"right":return t?l:i;default:return[]}}(f(e),"start"===o,n);return r&&(l=l.map((e=>e+"-"+r)),t&&(l=l.concat(l.map(b)))),l}function _(e){return e.replace(/left|right|bottom|top/g,(e=>c[e]))}function E(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function S(e){const{x:t,y:o,width:n,height:r}=e;return{width:n,height:r,top:o,left:t,right:t+n,bottom:o+r,x:t,y:o}}},9519:(e,t,o)=>{"use strict";o.d(t,{m_:()=>M});var n=o(1609),r=o(7193);function l(e,t,o){let{reference:n,floating:l}=e;const i=(0,r.TV)(t),s=(0,r.Dz)(t),c=(0,r.sq)(s),a=(0,r.C0)(t),u="y"===i,d=n.x+n.width/2-l.width/2,f=n.y+n.height/2-l.height/2,p=n[c]/2-l[c]/2;let m;switch(a){case"top":m={x:d,y:n.y-l.height};break;case"bottom":m={x:d,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-l.width,y:f};break;default:m={x:n.x,y:n.y}}switch((0,r.Sg)(t)){case"start":m[s]-=p*(o&&u?-1:1);break;case"end":m[s]+=p*(o&&u?-1:1)}return m}async function i(e,t){var o;void 0===t&&(t={});const{x:n,y:l,platform:i,rects:s,elements:c,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=(0,r._3)(t,e),v=(0,r.nI)(m),y=c[p?"floating"===f?"reference":"floating":f],h=(0,r.B1)(await i.getClippingRect({element:null==(o=await(null==i.isElement?void 0:i.isElement(y)))||o?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:a})),g="floating"===f?{x:n,y:l,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=(0,r.B1)(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:w,strategy:a}):g);return{top:(h.top-x.top+v.top)/b.y,bottom:(x.bottom-h.bottom+v.bottom)/b.y,left:(h.left-x.left+v.left)/b.x,right:(x.right-h.right+v.right)/b.x}}var s=o(6635);function c(e){const t=(0,s.L9)(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const l=(0,s.sb)(e),i=l?e.offsetWidth:o,c=l?e.offsetHeight:n,a=(0,r.LI)(o)!==i||(0,r.LI)(n)!==c;return a&&(o=i,n=c),{width:o,height:n,$:a}}function a(e){return(0,s.vq)(e)?e:e.contextElement}function u(e){const t=a(e);if(!(0,s.sb)(t))return(0,r.Jx)(1);const o=t.getBoundingClientRect(),{width:n,height:l,$:i}=c(t);let u=(i?(0,r.LI)(o.width):o.width)/n,d=(i?(0,r.LI)(o.height):o.height)/l;return u&&Number.isFinite(u)||(u=1),d&&Number.isFinite(d)||(d=1),{x:u,y:d}}const d=(0,r.Jx)(0);function f(e){const t=(0,s.zk)(e);return(0,s.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:d}function p(e,t,o,n){void 0===t&&(t=!1),void 0===o&&(o=!1);const l=e.getBoundingClientRect(),i=a(e);let c=(0,r.Jx)(1);t&&(n?(0,s.vq)(n)&&(c=u(n)):c=u(e));const d=function(e,t,o){return void 0===t&&(t=!1),!(!o||t&&o!==(0,s.zk)(e))&&t}(i,o,n)?f(i):(0,r.Jx)(0);let p=(l.left+d.x)/c.x,m=(l.top+d.y)/c.y,v=l.width/c.x,y=l.height/c.y;if(i){const e=(0,s.zk)(i),t=n&&(0,s.vq)(n)?(0,s.zk)(n):n;let o=e,r=(0,s._m)(o);for(;r&&n&&t!==o;){const e=u(r),t=r.getBoundingClientRect(),n=(0,s.L9)(r),l=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;p*=e.x,m*=e.y,v*=e.x,y*=e.y,p+=l,m+=i,o=(0,s.zk)(r),r=(0,s._m)(o)}}return(0,r.B1)({width:v,height:y,x:p,y:m})}function m(e,t){const o=(0,s.CP)(e).scrollLeft;return t?t.left+o:p((0,s.ep)(e)).left+o}function v(e,t,o){let n;if("viewport"===t)n=function(e,t){const o=(0,s.zk)(e),n=(0,s.ep)(e),r=o.visualViewport;let l=n.clientWidth,i=n.clientHeight,c=0,a=0;if(r){l=r.width,i=r.height;const e=(0,s.Tc)();(!e||e&&"fixed"===t)&&(c=r.offsetLeft,a=r.offsetTop)}return{width:l,height:i,x:c,y:a}}(e,o);else if("document"===t)n=function(e){const t=(0,s.ep)(e),o=(0,s.CP)(e),n=e.ownerDocument.body,l=(0,r.T9)(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=(0,r.T9)(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let c=-o.scrollLeft+m(e);const a=-o.scrollTop;return"rtl"===(0,s.L9)(n).direction&&(c+=(0,r.T9)(t.clientWidth,n.clientWidth)-l),{width:l,height:i,x:c,y:a}}((0,s.ep)(e));else if((0,s.vq)(t))n=function(e,t){const o=p(e,!0,"fixed"===t),n=o.top+e.clientTop,l=o.left+e.clientLeft,i=(0,s.sb)(e)?u(e):(0,r.Jx)(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:l*i.x,y:n*i.y}}(t,o);else{const o=f(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return(0,r.B1)(n)}function y(e,t){const o=(0,s.$4)(e);return!(o===t||!(0,s.vq)(o)||(0,s.eu)(o))&&("fixed"===(0,s.L9)(o).position||y(o,t))}function h(e,t,o){const n=(0,s.sb)(t),l=(0,s.ep)(t),i="fixed"===o,c=p(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=(0,r.Jx)(0);if(n||!n&&!i)if(("body"!==(0,s.mq)(t)||(0,s.ZU)(l))&&(a=(0,s.CP)(t)),n){const e=p(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else l&&(u.x=m(l));let d=0,f=0;if(l&&!n&&!i){const e=l.getBoundingClientRect();f=e.top+a.scrollTop,d=e.left+a.scrollLeft-m(l,e)}return{x:c.left+a.scrollLeft-u.x-d,y:c.top+a.scrollTop-u.y-f,width:c.width,height:c.height}}function g(e){return"static"===(0,s.L9)(e).position}function w(e,t){if(!(0,s.sb)(e)||"fixed"===(0,s.L9)(e).position)return null;if(t)return t(e);let o=e.offsetParent;return(0,s.ep)(e)===o&&(o=o.ownerDocument.body),o}function b(e,t){const o=(0,s.zk)(e);if((0,s.Tf)(e))return o;if(!(0,s.sb)(e)){let t=(0,s.$4)(e);for(;t&&!(0,s.eu)(t);){if((0,s.vq)(t)&&!g(t))return t;t=(0,s.$4)(t)}return o}let n=w(e,t);for(;n&&(0,s.Lv)(n)&&g(n);)n=w(n,t);return n&&(0,s.eu)(n)&&g(n)&&!(0,s.sQ)(n)?o:n||(0,s.gJ)(e)||o}const x={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:o,offsetParent:n,strategy:l}=e;const i="fixed"===l,c=(0,s.ep)(n),a=!!t&&(0,s.Tf)(t.floating);if(n===c||a&&i)return o;let d={scrollLeft:0,scrollTop:0},f=(0,r.Jx)(1);const m=(0,r.Jx)(0),v=(0,s.sb)(n);if((v||!v&&!i)&&(("body"!==(0,s.mq)(n)||(0,s.ZU)(c))&&(d=(0,s.CP)(n)),(0,s.sb)(n))){const e=p(n);f=u(n),m.x=e.x+n.clientLeft,m.y=e.y+n.clientTop}return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-d.scrollLeft*f.x+m.x,y:o.y*f.y-d.scrollTop*f.y+m.y}},getDocumentElement:s.ep,getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:n,strategy:l}=e;const i=[..."clippingAncestors"===o?(0,s.Tf)(t)?[]:function(e,t){const o=t.get(e);if(o)return o;let n=(0,s.v9)(e,[],!1).filter((e=>(0,s.vq)(e)&&"body"!==(0,s.mq)(e))),r=null;const l="fixed"===(0,s.L9)(e).position;let i=l?(0,s.$4)(e):e;for(;(0,s.vq)(i)&&!(0,s.eu)(i);){const t=(0,s.L9)(i),o=(0,s.sQ)(i);o||"fixed"!==t.position||(r=null),(l?!o&&!r:!o&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||(0,s.ZU)(i)&&!o&&y(e,i))?n=n.filter((e=>e!==i)):r=t,i=(0,s.$4)(i)}return t.set(e,n),n}(t,this._c):[].concat(o),n],c=i[0],a=i.reduce(((e,o)=>{const n=v(t,o,l);return e.top=(0,r.T9)(n.top,e.top),e.right=(0,r.jk)(n.right,e.right),e.bottom=(0,r.jk)(n.bottom,e.bottom),e.left=(0,r.T9)(n.left,e.left),e}),v(t,c,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,o=this.getDimensions,n=await o(e.floating);return{reference:h(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:o}=c(e);return{width:t,height:o}},getScale:u,isElement:s.vq,isRTL:function(e){return"rtl"===(0,s.L9)(e).direction}};const _=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:l,y:i,placement:s,middlewareData:c}=t,a=await async function(e,t){const{placement:o,platform:n,elements:l}=e,i=await(null==n.isRTL?void 0:n.isRTL(l.floating)),s=(0,r.C0)(o),c=(0,r.Sg)(o),a="y"===(0,r.TV)(o),u=["left","top"].includes(s)?-1:1,d=i&&a?-1:1,f=(0,r._3)(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&"number"==typeof v&&(m="end"===c?-1*v:v),a?{x:m*d,y:p*u}:{x:p*u,y:m*d}}(t,e);return s===(null==(o=c.offset)?void 0:o.placement)&&null!=(n=c.arrow)&&n.alignmentOffset?{}:{x:l+a.x,y:i+a.y,data:{...a,placement:s}}}}},E=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:l}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:a={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...u}=(0,r._3)(e,t),d={x:o,y:n},f=await i(t,u),p=(0,r.TV)((0,r.C0)(l)),m=(0,r.PG)(p);let v=d[m],y=d[p];if(s){const e="y"===m?"bottom":"right",t=v+f["y"===m?"top":"left"],o=v-f[e];v=(0,r.qE)(t,v,o)}if(c){const e="y"===p?"bottom":"right",t=y+f["y"===p?"top":"left"],o=y-f[e];y=(0,r.qE)(t,y,o)}const h=a.fn({...t,[m]:v,[p]:y});return{...h,data:{x:h.x-o,y:h.y-n,enabled:{[m]:s,[p]:c}}}}}},S=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:l,middlewareData:s,rects:c,initialPlacement:a,platform:u,elements:d}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:h=!0,...g}=(0,r._3)(e,t);if(null!=(o=s.arrow)&&o.alignmentOffset)return{};const w=(0,r.C0)(l),b=(0,r.TV)(a),x=(0,r.C0)(a)===a,_=await(null==u.isRTL?void 0:u.isRTL(d.floating)),E=m||(x||!h?[(0,r.bV)(a)]:(0,r.WJ)(a)),S="none"!==y;!m&&S&&E.push(...(0,r.lP)(a,h,y,_));const T=[a,...E],A=await i(t,g),k=[];let L=(null==(n=s.flip)?void 0:n.overflows)||[];if(f&&k.push(A[w]),p){const e=(0,r.w7)(l,c,_);k.push(A[e[0]],A[e[1]])}if(L=[...L,{placement:l,overflows:k}],!k.every((e=>e<=0))){var R,O;const e=((null==(R=s.flip)?void 0:R.index)||0)+1,t=T[e];if(t)return{data:{index:e,overflows:L},reset:{placement:t}};let o=null==(O=L.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!o)switch(v){case"bestFit":{var C;const e=null==(C=L.filter((e=>{if(S){const t=(0,r.TV)(e.placement);return t===b||"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:C[0];e&&(o=e);break}case"initialPlacement":o=a}if(l!==o)return{reset:{placement:o}}}return{}}}},T=(e,t,o)=>{const n=new Map,r={platform:x,...o},i={...r.platform,_c:n};return(async(e,t,o)=>{const{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:s}=o,c=i.filter(Boolean),a=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:f}=l(u,n,a),p=n,m={},v=0;for(let o=0;o<c.length;o++){const{name:i,fn:y}=c[o],{x:h,y:g,data:w,reset:b}=await y({x:d,y:f,initialPlacement:n,placement:p,strategy:r,middlewareData:m,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=h?h:d,f=null!=g?g:f,m={...m,[i]:{...m[i],...w}},b&&v<=50&&(v++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):b.rects),({x:d,y:f}=l(u,p,a))),o=-1)}return{x:d,y:f,placement:p,strategy:r,middlewareData:m}})(e,t,{...r,platform:i})};var A=o(6942);const k={core:!1,base:!1};function L({css:e,id:t="react-tooltip-base-styles",type:o="base",ref:n}){var r,l;if(!e||"undefined"==typeof document||k[o])return;if("core"===o&&"undefined"!=typeof process&&(null===(r=null===process||void 0===process?void 0:process.env)||void 0===r?void 0:r.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==o&&"undefined"!=typeof process&&(null===(l=null===process||void 0===process?void 0:process.env)||void 0===l?void 0:l.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===o&&(t="react-tooltip-core-styles"),n||(n={});const{insertAt:i}=n;if(document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css","top"===i&&s.firstChild?s.insertBefore(c,s.firstChild):s.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),k[o]=!0}const R=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:o=null,place:n="top",offset:l=10,strategy:i="absolute",middlewares:s=[_(Number(l)),S({fallbackAxisSideDirection:"start"}),E({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const a=s;return o?(a.push({name:"arrow",options:u={element:o,padding:5},async fn(e){const{x:t,y:o,placement:n,rects:l,platform:i,elements:s,middlewareData:c}=e,{element:a,padding:d=0}=(0,r._3)(u,e)||{};if(null==a)return{};const f=(0,r.nI)(d),p={x:t,y:o},m=(0,r.Dz)(n),v=(0,r.sq)(m),y=await i.getDimensions(a),h="y"===m,g=h?"top":"left",w=h?"bottom":"right",b=h?"clientHeight":"clientWidth",x=l.reference[v]+l.reference[m]-p[m]-l.floating[v],_=p[m]-l.reference[m],E=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a));let S=E?E[b]:0;S&&await(null==i.isElement?void 0:i.isElement(E))||(S=s.floating[b]||l.floating[v]);const T=x/2-_/2,A=S/2-y[v]/2-1,k=(0,r.jk)(f[g],A),L=(0,r.jk)(f[w],A),R=k,O=S-y[v]-L,C=S/2-y[v]/2+T,D=(0,r.qE)(R,C,O),I=!c.arrow&&null!=(0,r.Sg)(n)&&C!==D&&l.reference[v]/2-(C<R?k:L)-y[v]/2<0,q=I?C<R?C-R:C-O:0;return{[m]:p[m]+q,data:{[m]:D,centerOffset:C-D-q,...I&&{alignmentOffset:q}},reset:I}}}),T(e,t,{placement:n,strategy:i,middleware:a}).then((({x:e,y:t,placement:o,middlewareData:n})=>{var r,l;const i={left:`${e}px`,top:`${t}px`,border:c},{x:s,y:a}=null!==(r=n.arrow)&&void 0!==r?r:{x:0,y:0},u=null!==(l={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]])&&void 0!==l?l:"bottom",d=c&&{borderBottom:c,borderRight:c};let f=0;if(c){const e=`${c}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:i,tooltipArrowStyles:{left:null!=s?`${s}px`:"",top:null!=a?`${a}px`:"",right:"",bottom:"",...d,[u]:`-${4+f}px`},place:o}}))):T(e,t,{placement:"bottom",strategy:i,middleware:a}).then((({x:e,y:t,placement:o})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:o})));var u},O=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),C=(e,t,o)=>{let n=null;const r=function(...r){const l=()=>{n=null,o||e.apply(this,r)};o&&!n&&(e.apply(this,r),n=setTimeout(l,t)),o||(n&&clearTimeout(n),n=setTimeout(l,t))};return r.cancel=()=>{n&&(clearTimeout(n),n=null)},r},D=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,I=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,o)=>I(e,t[o])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!D(e)||!D(t))return e===t;const o=Object.keys(e),n=Object.keys(t);return o.length===n.length&&o.every((o=>I(e[o],t[o])))},q=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const o=t.getPropertyValue(e);return"auto"===o||"scroll"===o}))},N=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(q(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},P="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,$=e=>{e.current&&(clearTimeout(e.current),e.current=null)},z={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},B=(0,n.createContext)({getTooltipData:()=>z});function j(e="DEFAULT_TOOLTIP_ID"){return(0,n.useContext)(B).getTooltipData(e)}var W={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},H={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const V=({forwardRef:e,id:t,className:o,classNameArrow:l,variant:i="dark",anchorId:c,anchorSelect:u,place:d="top",offset:f=10,events:m=["hover"],openOnClick:v=!1,positionStrategy:y="absolute",middlewares:h,wrapper:g,delayShow:w=0,delayHide:b=0,float:x=!1,hidden:_=!1,noArrow:E=!1,clickable:S=!1,closeOnEsc:T=!1,closeOnScroll:k=!1,closeOnResize:L=!1,openEvents:O,closeEvents:D,globalCloseEvents:q,imperativeModeOnly:z,style:B,position:V,afterShow:F,afterHide:M,disableTooltip:J,content:K,contentWrapperRef:Z,isOpen:U,defaultIsOpen:X=!1,setIsOpen:G,activeAnchor:Q,setActiveAnchor:Y,border:ee,opacity:te,arrowColor:oe,role:ne="tooltip"})=>{var re;const le=(0,n.useRef)(null),ie=(0,n.useRef)(null),se=(0,n.useRef)(null),ce=(0,n.useRef)(null),ae=(0,n.useRef)(null),[ue,de]=(0,n.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[fe,pe]=(0,n.useState)(!1),[me,ve]=(0,n.useState)(!1),[ye,he]=(0,n.useState)(null),ge=(0,n.useRef)(!1),we=(0,n.useRef)(null),{anchorRefs:be,setActiveAnchor:xe}=j(t),_e=(0,n.useRef)(!1),[Ee,Se]=(0,n.useState)([]),Te=(0,n.useRef)(!1),Ae=v||m.includes("click"),ke=Ae||(null==O?void 0:O.click)||(null==O?void 0:O.dblclick)||(null==O?void 0:O.mousedown),Le=O?{...O}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!O&&Ae&&Object.assign(Le,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Re=D?{...D}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!D&&Ae&&Object.assign(Re,{mouseleave:!1,blur:!1,mouseout:!1});const Oe=q?{...q}:{escape:T||!1,scroll:k||!1,resize:L||!1,clickOutsideAnchor:ke||!1};z&&(Object.assign(Le,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Re,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Oe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),P((()=>(Te.current=!0,()=>{Te.current=!1})),[]);const Ce=e=>{Te.current&&(e&&ve(!0),setTimeout((()=>{Te.current&&(null==G||G(e),void 0===U&&pe(e))}),10))};(0,n.useEffect)((()=>{if(void 0===U)return()=>null;U&&ve(!0);const e=setTimeout((()=>{pe(U)}),10);return()=>{clearTimeout(e)}}),[U]),(0,n.useEffect)((()=>{if(fe!==ge.current)if($(ae),ge.current=fe,fe)null==F||F();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,o]=e;return Number(t)*("ms"===o?1:1e3)})();ae.current=setTimeout((()=>{ve(!1),he(null),null==M||M()}),e+25)}}),[fe]);const De=e=>{de((t=>I(t,e)?t:e))},Ie=(e=w)=>{$(se),me?Ce(!0):se.current=setTimeout((()=>{Ce(!0)}),e)},qe=(e=b)=>{$(ce),ce.current=setTimeout((()=>{_e.current||Ce(!1)}),e)},Ne=e=>{var t;if(!e)return;const o=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==o?void 0:o.isConnected))return Y(null),void xe({current:null});w?Ie():Ce(!0),Y(o),xe({current:o}),$(ce)},Pe=()=>{S?qe(b||100):b?qe():Ce(!1),$(se)},$e=({x:e,y:t})=>{var o;const n={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};R({place:null!==(o=null==ye?void 0:ye.place)&&void 0!==o?o:d,offset:f,elementReference:n,tooltipReference:le.current,tooltipArrowReference:ie.current,strategy:y,middlewares:h,border:ee}).then((e=>{De(e)}))},ze=e=>{if(!e)return;const t=e,o={x:t.clientX,y:t.clientY};$e(o),we.current=o},Be=e=>{var t;if(!fe)return;const o=e.target;o.isConnected&&((null===(t=le.current)||void 0===t?void 0:t.contains(o))||[document.querySelector(`[id='${c}']`),...Ee].some((e=>null==e?void 0:e.contains(o)))||(Ce(!1),$(se)))},je=C(Ne,50,!0),We=C(Pe,50,!0),He=e=>{We.cancel(),je(e)},Ve=()=>{je.cancel(),We()},Fe=(0,n.useCallback)((()=>{var e,t;const o=null!==(e=null==ye?void 0:ye.position)&&void 0!==e?e:V;o?$e(o):x?we.current&&$e(we.current):(null==Q?void 0:Q.isConnected)&&R({place:null!==(t=null==ye?void 0:ye.place)&&void 0!==t?t:d,offset:f,elementReference:Q,tooltipReference:le.current,tooltipArrowReference:ie.current,strategy:y,middlewares:h,border:ee}).then((e=>{Te.current&&De(e)}))}),[fe,Q,K,B,d,null==ye?void 0:ye.place,f,y,V,null==ye?void 0:ye.position,x]);(0,n.useEffect)((()=>{var e,t;const o=new Set(be);Ee.forEach((e=>{(null==J?void 0:J(e))||o.add({current:e})}));const n=document.querySelector(`[id='${c}']`);n&&!(null==J?void 0:J(n))&&o.add({current:n});const l=()=>{Ce(!1)},i=N(Q),u=N(le.current);Oe.scroll&&(window.addEventListener("scroll",l),null==i||i.addEventListener("scroll",l),null==u||u.addEventListener("scroll",l));let d=null;Oe.resize?window.addEventListener("resize",l):Q&&le.current&&(d=function(e,t,o,n){void 0===n&&(n={});const{ancestorScroll:l=!0,ancestorResize:i=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,f=a(e),m=l||i?[...f?(0,s.v9)(f):[],...(0,s.v9)(t)]:[];m.forEach((e=>{l&&e.addEventListener("scroll",o,{passive:!0}),i&&e.addEventListener("resize",o)}));const v=f&&u?function(e,t){let o,n=null;const l=(0,s.ep)(e);function i(){var e;clearTimeout(o),null==(e=n)||e.disconnect(),n=null}return function s(c,a){void 0===c&&(c=!1),void 0===a&&(a=1),i();const{left:u,top:d,width:f,height:p}=e.getBoundingClientRect();if(c||t(),!f||!p)return;const m={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(l.clientWidth-(u+f))+"px "+-(0,r.RI)(l.clientHeight-(d+p))+"px "+-(0,r.RI)(u)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,a))||1};let v=!0;function y(e){const t=e[0].intersectionRatio;if(t!==a){if(!v)return s();t?s(!1,t):o=setTimeout((()=>{s(!1,1e-7)}),1e3)}v=!1}try{n=new IntersectionObserver(y,{...m,root:l.ownerDocument})}catch(e){n=new IntersectionObserver(y,m)}n.observe(e)}(!0),i}(f,o):null;let y,h=-1,g=null;c&&(g=new ResizeObserver((e=>{let[n]=e;n&&n.target===f&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),o()})),f&&!d&&g.observe(f),g.observe(t));let w=d?p(e):null;return d&&function t(){const n=p(e);!w||n.x===w.x&&n.y===w.y&&n.width===w.width&&n.height===w.height||o(),w=n,y=requestAnimationFrame(t)}(),o(),()=>{var e;m.forEach((e=>{l&&e.removeEventListener("scroll",o),i&&e.removeEventListener("resize",o)})),null==v||v(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(y)}}(Q,le.current,Fe,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const f=e=>{"Escape"===e.key&&Ce(!1)};Oe.escape&&window.addEventListener("keydown",f),Oe.clickOutsideAnchor&&window.addEventListener("click",Be);const m=[],v=e=>{fe&&(null==e?void 0:e.target)===Q||Ne(e)},y=e=>{fe&&(null==e?void 0:e.target)===Q&&Pe()},h=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],g=["click","dblclick","mousedown","mouseup"];Object.entries(Le).forEach((([e,t])=>{t&&(h.includes(e)?m.push({event:e,listener:He}):g.includes(e)&&m.push({event:e,listener:v}))})),Object.entries(Re).forEach((([e,t])=>{t&&(h.includes(e)?m.push({event:e,listener:Ve}):g.includes(e)&&m.push({event:e,listener:y}))})),x&&m.push({event:"pointermove",listener:ze});const w=()=>{_e.current=!0},b=()=>{_e.current=!1,Pe()};return S&&!ke&&(null===(e=le.current)||void 0===e||e.addEventListener("mouseenter",w),null===(t=le.current)||void 0===t||t.addEventListener("mouseleave",b)),m.forEach((({event:e,listener:t})=>{o.forEach((o=>{var n;null===(n=o.current)||void 0===n||n.addEventListener(e,t)}))})),()=>{var e,t;Oe.scroll&&(window.removeEventListener("scroll",l),null==i||i.removeEventListener("scroll",l),null==u||u.removeEventListener("scroll",l)),Oe.resize?window.removeEventListener("resize",l):null==d||d(),Oe.clickOutsideAnchor&&window.removeEventListener("click",Be),Oe.escape&&window.removeEventListener("keydown",f),S&&!ke&&(null===(e=le.current)||void 0===e||e.removeEventListener("mouseenter",w),null===(t=le.current)||void 0===t||t.removeEventListener("mouseleave",b)),m.forEach((({event:e,listener:t})=>{o.forEach((o=>{var n;null===(n=o.current)||void 0===n||n.removeEventListener(e,t)}))}))}}),[Q,Fe,me,be,Ee,O,D,q,Ae,w,b]),(0,n.useEffect)((()=>{var e,o;let n=null!==(o=null!==(e=null==ye?void 0:ye.anchorSelect)&&void 0!==e?e:u)&&void 0!==o?o:"";!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const r=new MutationObserver((e=>{const o=[],r=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?o.push(e.target):e.oldValue===t&&r.push(e.target)),"childList"===e.type){if(Q){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(n)try{r.push(...t.filter((e=>e.matches(n)))),r.push(...t.flatMap((e=>[...e.querySelectorAll(n)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,Q))&&(ve(!1),Ce(!1),Y(null),$(se),$(ce),!0)}))}if(n)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));o.push(...t.filter((e=>e.matches(n)))),o.push(...t.flatMap((e=>[...e.querySelectorAll(n)])))}catch(e){}}})),(o.length||r.length)&&Se((e=>[...e.filter((e=>!r.includes(e))),...o]))}));return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{r.disconnect()}}),[t,u,null==ye?void 0:ye.anchorSelect,Q]),(0,n.useEffect)((()=>{Fe()}),[Fe]),(0,n.useEffect)((()=>{if(!(null==Z?void 0:Z.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Fe()))}));return e.observe(Z.current),()=>{e.disconnect()}}),[K,null==Z?void 0:Z.current]),(0,n.useEffect)((()=>{var e;const t=document.querySelector(`[id='${c}']`),o=[...Ee,t];Q&&o.includes(Q)||Y(null!==(e=Ee[0])&&void 0!==e?e:t)}),[c,Ee,Q]),(0,n.useEffect)((()=>(X&&Ce(!0),()=>{$(se),$(ce)})),[]),(0,n.useEffect)((()=>{var e;let o=null!==(e=null==ye?void 0:ye.anchorSelect)&&void 0!==e?e:u;if(!o&&t&&(o=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),o)try{const e=Array.from(document.querySelectorAll(o));Se(e)}catch(e){Se([])}}),[t,u,null==ye?void 0:ye.anchorSelect]),(0,n.useEffect)((()=>{se.current&&($(se),Ie(w))}),[w]);const Me=null!==(re=null==ye?void 0:ye.content)&&void 0!==re?re:K,Je=fe&&Object.keys(ue.tooltipStyles).length>0;return(0,n.useImperativeHandle)(e,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}he(null!=e?e:null),(null==e?void 0:e.delay)?Ie(e.delay):Ce(!0)},close:e=>{(null==e?void 0:e.delay)?qe(e.delay):Ce(!1)},activeAnchor:Q,place:ue.place,isOpen:Boolean(me&&!_&&Me&&Je)}))),me&&!_&&Me?n.createElement(g,{id:t,role:ne,className:A("react-tooltip",W.tooltip,H.tooltip,H[i],o,`react-tooltip__place-${ue.place}`,W[Je?"show":"closing"],Je?"react-tooltip__show":"react-tooltip__closing","fixed"===y&&W.fixed,S&&W.clickable),onTransitionEnd:e=>{$(ae),fe||"opacity"!==e.propertyName||(ve(!1),he(null),null==M||M())},style:{...B,...ue.tooltipStyles,opacity:void 0!==te&&Je?te:void 0},ref:le},Me,n.createElement(g,{className:A("react-tooltip-arrow",W.arrow,H.arrow,l,E&&W.noArrow),style:{...ue.tooltipArrowStyles,background:oe?`linear-gradient(to right bottom, transparent 50%, ${oe} 50%)`:void 0},ref:ie})):null},F=({content:e})=>n.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),M=n.forwardRef((({id:e,anchorId:t,anchorSelect:o,content:r,html:l,render:i,className:s,classNameArrow:c,variant:a="dark",place:u="top",offset:d=10,wrapper:f="div",children:p=null,events:m=["hover"],openOnClick:v=!1,positionStrategy:y="absolute",middlewares:h,delayShow:g=0,delayHide:w=0,float:b=!1,hidden:x=!1,noArrow:_=!1,clickable:E=!1,closeOnEsc:S=!1,closeOnScroll:T=!1,closeOnResize:k=!1,openEvents:L,closeEvents:R,globalCloseEvents:C,imperativeModeOnly:D=!1,style:I,position:q,isOpen:N,defaultIsOpen:P=!1,disableStyleInjection:$=!1,border:z,opacity:B,arrowColor:W,setIsOpen:H,afterShow:M,afterHide:J,disableTooltip:K,role:Z="tooltip"},U)=>{const[X,G]=(0,n.useState)(r),[Q,Y]=(0,n.useState)(l),[ee,te]=(0,n.useState)(u),[oe,ne]=(0,n.useState)(a),[re,le]=(0,n.useState)(d),[ie,se]=(0,n.useState)(g),[ce,ae]=(0,n.useState)(w),[ue,de]=(0,n.useState)(b),[fe,pe]=(0,n.useState)(x),[me,ve]=(0,n.useState)(f),[ye,he]=(0,n.useState)(m),[ge,we]=(0,n.useState)(y),[be,xe]=(0,n.useState)(null),[_e,Ee]=(0,n.useState)(null),Se=(0,n.useRef)($),{anchorRefs:Te,activeAnchor:Ae}=j(e),ke=e=>null==e?void 0:e.getAttributeNames().reduce(((t,o)=>{var n;return o.startsWith("data-tooltip-")&&(t[o.replace(/^data-tooltip-/,"")]=null!==(n=null==e?void 0:e.getAttribute(o))&&void 0!==n?n:null),t}),{}),Le=e=>{const t={place:e=>{var t;te(null!==(t=e)&&void 0!==t?t:u)},content:e=>{G(null!=e?e:r)},html:e=>{Y(null!=e?e:l)},variant:e=>{var t;ne(null!==(t=e)&&void 0!==t?t:a)},offset:e=>{le(null===e?d:Number(e))},wrapper:e=>{var t;ve(null!==(t=e)&&void 0!==t?t:f)},events:e=>{const t=null==e?void 0:e.split(" ");he(null!=t?t:m)},"position-strategy":e=>{var t;we(null!==(t=e)&&void 0!==t?t:y)},"delay-show":e=>{se(null===e?g:Number(e))},"delay-hide":e=>{ae(null===e?w:Number(e))},float:e=>{de(null===e?b:"true"===e)},hidden:e=>{pe(null===e?x:"true"===e)},"class-name":e=>{xe(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,o])=>{var n;null===(n=t[e])||void 0===n||n.call(t,o)}))};(0,n.useEffect)((()=>{G(r)}),[r]),(0,n.useEffect)((()=>{Y(l)}),[l]),(0,n.useEffect)((()=>{te(u)}),[u]),(0,n.useEffect)((()=>{ne(a)}),[a]),(0,n.useEffect)((()=>{le(d)}),[d]),(0,n.useEffect)((()=>{se(g)}),[g]),(0,n.useEffect)((()=>{ae(w)}),[w]),(0,n.useEffect)((()=>{de(b)}),[b]),(0,n.useEffect)((()=>{pe(x)}),[x]),(0,n.useEffect)((()=>{we(y)}),[y]),(0,n.useEffect)((()=>{Se.current!==$&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[$]),(0,n.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===$,disableBase:$}}))}),[]),(0,n.useEffect)((()=>{var n;const r=new Set(Te);let l=o;if(!l&&e&&(l=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),l)try{document.querySelectorAll(l).forEach((e=>{r.add({current:e})}))}catch(n){console.warn(`[react-tooltip] "${l}" is not a valid CSS selector`)}const i=document.querySelector(`[id='${t}']`);if(i&&r.add({current:i}),!r.size)return()=>null;const s=null!==(n=null!=_e?_e:i)&&void 0!==n?n:Ae.current,c=new MutationObserver((e=>{e.forEach((e=>{var t;if(!s||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const o=ke(s);Le(o)}))})),a={attributes:!0,childList:!1,subtree:!1};if(s){const e=ke(s);Le(e),c.observe(s,a)}return()=>{c.disconnect()}}),[Te,Ae,_e,t,o]),(0,n.useEffect)((()=>{(null==I?void 0:I.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),z&&!O("border",`${z}`)&&console.warn(`[react-tooltip] "${z}" is not a valid \`border\`.`),(null==I?void 0:I.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),B&&!O("opacity",`${B}`)&&console.warn(`[react-tooltip] "${B}" is not a valid \`opacity\`.`)}),[]);let Re=p;const Oe=(0,n.useRef)(null);if(i){const e=i({content:(null==_e?void 0:_e.getAttribute("data-tooltip-content"))||X||null,activeAnchor:_e});Re=e?n.createElement("div",{ref:Oe,className:"react-tooltip-content-wrapper"},e):null}else X&&(Re=X);Q&&(Re=n.createElement(F,{content:Q}));const Ce={forwardRef:U,id:e,anchorId:t,anchorSelect:o,className:A(s,be),classNameArrow:c,content:Re,contentWrapperRef:Oe,place:ee,variant:oe,offset:re,wrapper:me,events:ye,openOnClick:v,positionStrategy:ge,middlewares:h,delayShow:ie,delayHide:ce,float:ue,hidden:fe,noArrow:_,clickable:E,closeOnEsc:S,closeOnScroll:T,closeOnResize:k,openEvents:L,closeEvents:R,globalCloseEvents:C,imperativeModeOnly:D,style:I,position:q,isOpen:N,defaultIsOpen:P,border:z,opacity:B,arrowColor:W,setIsOpen:H,afterShow:M,afterHide:J,disableTooltip:K,activeAnchor:_e,setActiveAnchor:e=>Ee(e),role:Z};return n.createElement(V,{...Ce})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||L({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||L({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}))}}]);