(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6518],{36860:function(){},64213:function(){},40782:function(e,t,n){"use strict";n.d(t,{Mi:function(){return P},Ix:function(){return B},Am:function(){return X}});var o=n(67294);function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}var i=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o},l=n(73935);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function c(e){return"number"===typeof e&&!isNaN(e)}function u(e){return"boolean"===typeof e}function d(e){return"string"===typeof e}function f(e){return"function"===typeof e}function p(e){return d(e)||f(e)?e:null}function m(e){return 0===e||e}var v=!("undefined"===typeof window||!window.document||!window.document.createElement);function y(e){return(0,o.isValidElement)(e)||d(e)||f(e)||c(e)}var h={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},g={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function b(e){var t=e.enter,n=e.exit,r=e.appendPosition,i=void 0!==r&&r,l=e.collapse,s=void 0===l||l,a=e.collapseDuration,c=void 0===a?300:a;return function(e){var r=e.children,l=e.position,a=e.preventExitTransition,u=e.done,d=e.nodeRef,f=e.isIn,p=i?t+"--"+l:t,m=i?n+"--"+l:n,v=(0,o.useRef)(),y=(0,o.useRef)(0);function h(e){if(e.target===d.current){var t=d.current;t.removeEventListener("animationend",h),0===y.current&&(t.className=v.current)}}function g(){var e=d.current;e.removeEventListener("animationend",g),s?function(e,t,n){void 0===n&&(n=300);var o=e.scrollHeight,r=e.style;requestAnimationFrame((function(){r.minHeight="initial",r.height=o+"px",r.transition="all "+n+"ms",requestAnimationFrame((function(){r.height="0",r.padding="0",r.margin="0",setTimeout(t,n)}))}))}(e,u,c):u()}return(0,o.useLayoutEffect)((function(){!function(){var e=d.current;v.current=e.className,e.className+=" "+p,e.addEventListener("animationend",h)}()}),[]),(0,o.useEffect)((function(){f||(a?g():function(){y.current=1;var e=d.current;e.className+=" "+m,e.addEventListener("animationend",g)}())}),[f]),o.createElement(o.Fragment,null,r)}}var w={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e,t){if(t){var n=this.list.get(e).filter((function(e){return e!==t}));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];this.list.has(e)&&this.list.get(e).forEach((function(n){var r=setTimeout((function(){n.apply(void 0,o)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(r)}))}};function E(e,t){void 0===t&&(t=!1);var n=(0,o.useRef)(e);return(0,o.useEffect)((function(){t&&(n.current=e)})),n.current}function _(e,t){switch(t.type){case 0:return[].concat(e,[t.toastId]).filter((function(e){return e!==t.staleId}));case 1:return m(t.toastId)?e.filter((function(e){return e!==t.toastId})):[]}}var T=["delay","staleId"];function x(e){var t=(0,o.useReducer)((function(e){return e+1}),0)[1],n=(0,o.useReducer)(_,[]),r=n[0],i=n[1],l=(0,o.useRef)(null),s=E(0),v=E([]),h=E({}),g=E({toastKey:1,displayedToast:0,props:e,containerId:null,isToastActive:b,getToast:function(e){return h[e]||null}});function b(e){return-1!==r.indexOf(e)}function x(e){var t=e.containerId;!g.props.limit||t&&g.containerId!==t||(s-=v.length,v=[])}function O(e){i({type:1,toastId:e})}function S(){var e=v.shift();R(e.toastContent,e.toastProps,e.staleId)}function C(e,n){var r,i=n.delay,b=n.staleId,w=a(n,T);if(y(e)&&!function(e){var t=e.containerId,n=e.toastId,o=e.updateId;return!!(!l.current||g.props.enableMultiContainer&&t!==g.props.containerId||h[n]&&null==o)}(w)){var E=w.toastId,_=w.updateId,x=w.data,C=g.props,A=function(){return O(E)},L=null==w.updateId;L&&s++;var k,I,N={toastId:E,updateId:_,isLoading:w.isLoading,theme:w.theme||C.theme,icon:null!=(r=w.icon)?r:C.icon,isIn:!1,key:w.key||g.toastKey++,type:w.type,closeToast:A,closeButton:w.closeButton,rtl:C.rtl,position:w.position||C.position,transition:w.transition||C.transition,className:p(w.className||C.toastClassName),bodyClassName:p(w.bodyClassName||C.bodyClassName),style:w.style||C.toastStyle,bodyStyle:w.bodyStyle||C.bodyStyle,onClick:w.onClick||C.onClick,pauseOnHover:u(w.pauseOnHover)?w.pauseOnHover:C.pauseOnHover,pauseOnFocusLoss:u(w.pauseOnFocusLoss)?w.pauseOnFocusLoss:C.pauseOnFocusLoss,draggable:u(w.draggable)?w.draggable:C.draggable,draggablePercent:c(w.draggablePercent)?w.draggablePercent:C.draggablePercent,draggableDirection:w.draggableDirection||C.draggableDirection,closeOnClick:u(w.closeOnClick)?w.closeOnClick:C.closeOnClick,progressClassName:p(w.progressClassName||C.progressClassName),progressStyle:w.progressStyle||C.progressStyle,autoClose:!w.isLoading&&(k=w.autoClose,I=C.autoClose,!1===k||c(k)&&k>0?k:I),hideProgressBar:u(w.hideProgressBar)?w.hideProgressBar:C.hideProgressBar,progress:w.progress,role:d(w.role)?w.role:C.role,deleteToast:function(){!function(e){delete h[e];var n=v.length;(s=m(e)?s-1:s-g.displayedToast)<0&&(s=0);if(n>0){var o=m(e)?1:g.props.limit;if(1===n||1===o)g.displayedToast++,S();else{var r=o>n?n:o;g.displayedToast=r;for(var i=0;i<r;i++)S()}}else t()}(E)}};f(w.onOpen)&&(N.onOpen=w.onOpen),f(w.onClose)&&(N.onClose=w.onClose),"y"===N.draggableDirection&&80===N.draggablePercent&&(N.draggablePercent*=1.5);var D=C.closeButton;!1===w.closeButton||y(w.closeButton)?D=w.closeButton:!0===w.closeButton&&(D=!y(C.closeButton)||C.closeButton),N.closeButton=D;var P=e;(0,o.isValidElement)(e)&&!d(e.type)?P=(0,o.cloneElement)(e,{closeToast:A,toastProps:N,data:x}):f(e)&&(P=e({closeToast:A,toastProps:N,data:x})),C.limit&&C.limit>0&&s>C.limit&&L?v.push({toastContent:P,toastProps:N,staleId:b}):c(i)&&i>0?setTimeout((function(){R(P,N,b)}),i):R(P,N,b)}}function R(e,t,n){var o=t.toastId;n&&delete h[n],h[o]={content:e,props:t},i({type:0,toastId:o,staleId:n})}return(0,o.useEffect)((function(){return g.containerId=e.containerId,w.cancelEmit(3).on(0,C).on(1,(function(e){return l.current&&O(e)})).on(5,x).emit(2,g),function(){return w.emit(3,g)}}),[]),(0,o.useEffect)((function(){g.isToastActive=b,g.displayedToast=r.length,w.emit(4,r.length,e.containerId)}),[r]),(0,o.useEffect)((function(){g.props=e})),{getToastToRender:function(t){for(var n={},o=e.newestOnTop?Object.keys(h).reverse():Object.keys(h),r=0;r<o.length;r++){var i=h[o[r]],l=i.props.position;n[l]||(n[l]=[]),n[l].push(i)}return Object.keys(n).map((function(e){return t(e,n[e])}))},collection:h,containerRef:l,isToastActive:b}}function O(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function S(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function C(e){var t=(0,o.useState)(!0),n=t[0],r=t[1],i=(0,o.useState)(!1),l=i[0],s=i[1],a=(0,o.useRef)(null),c=E({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null}),u=E(e,!0),d=e.autoClose,p=e.pauseOnHover,m=e.closeToast,v=e.onClick,y=e.closeOnClick;function h(t){if(e.draggable){var n=a.current;c.canCloseOnClick=!0,c.canDrag=!0,c.boundingRect=n.getBoundingClientRect(),n.style.transition="",c.x=O(t.nativeEvent),c.y=S(t.nativeEvent),"x"===e.draggableDirection?(c.start=c.x,c.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(c.start=c.y,c.removalDistance=n.offsetHeight*(e.draggablePercent/100))}}function g(){if(c.boundingRect){var t=c.boundingRect,n=t.top,o=t.bottom,r=t.left,i=t.right;e.pauseOnHover&&c.x>=r&&c.x<=i&&c.y>=n&&c.y<=o?w():b()}}function b(){r(!0)}function w(){r(!1)}function _(t){if(c.canDrag){t.preventDefault();var o=a.current;n&&w(),c.x=O(t),c.y=S(t),"x"===e.draggableDirection?c.delta=c.x-c.start:c.delta=c.y-c.start,c.start!==c.x&&(c.canCloseOnClick=!1),o.style.transform="translate"+e.draggableDirection+"("+c.delta+"px)",o.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance))}}function T(){var t=a.current;if(c.canDrag){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return s(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform="translate"+e.draggableDirection+"(0)",t.style.opacity="1"}}(0,o.useEffect)((function(){return f(e.onOpen)&&e.onOpen((0,o.isValidElement)(e.children)&&e.children.props),function(){f(u.onClose)&&u.onClose((0,o.isValidElement)(u.children)&&u.children.props)}}),[]),(0,o.useEffect)((function(){return e.draggable&&(document.addEventListener("mousemove",_),document.addEventListener("mouseup",T),document.addEventListener("touchmove",_),document.addEventListener("touchend",T)),function(){e.draggable&&(document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",T),document.removeEventListener("touchmove",_),document.removeEventListener("touchend",T))}}),[e.draggable]),(0,o.useEffect)((function(){return e.pauseOnFocusLoss&&function(){document.hasFocus()||w();window.addEventListener("focus",b),window.addEventListener("blur",w)}(),function(){e.pauseOnFocusLoss&&(window.removeEventListener("focus",b),window.removeEventListener("blur",w))}}),[e.pauseOnFocusLoss]);var x={onMouseDown:h,onTouchStart:h,onMouseUp:g,onTouchEnd:g};return d&&p&&(x.onMouseEnter=w,x.onMouseLeave=b),y&&(x.onClick=function(e){v&&v(e),c.canCloseOnClick&&m()}),{playToast:b,pauseToast:w,isRunning:n,preventExitTransition:l,toastRef:a,eventHandlers:x}}function R(e){var t=e.closeToast,n=e.theme,r=e.ariaLabel,i=void 0===r?"close":r;return(0,o.createElement)("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":i},(0,o.createElement)("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,o.createElement)("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function A(e){var t,n,r=e.delay,l=e.isRunning,a=e.closeToast,c=e.type,u=e.hide,d=e.className,p=e.style,m=e.controlledProgress,v=e.progress,y=e.rtl,h=e.isIn,g=e.theme,b=s({},p,{animationDuration:r+"ms",animationPlayState:l?"running":"paused",opacity:u?0:1});m&&(b.transform="scaleX("+v+")");var w=i("Toastify__progress-bar",m?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+g,"Toastify__progress-bar--"+c,((t={})["Toastify__progress-bar--rtl"]=y,t)),E=f(d)?d({rtl:y,type:c,defaultClassName:w}):i(w,d),_=((n={})[m&&v>=1?"onTransitionEnd":"onAnimationEnd"]=m&&v<1?null:function(){h&&a()},n);return(0,o.createElement)("div",Object.assign({role:"progressbar","aria-hidden":u?"true":"false","aria-label":"notification timer",className:E,style:b},_))}A.defaultProps={type:g.DEFAULT,hide:!1};var L=["theme","type"],k=function(e){var t=e.theme,n=e.type,r=a(e,L);return o.createElement("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":"var(--toastify-icon-color-"+n+")"},r))};var I={info:function(e){return o.createElement(k,Object.assign({},e),o.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return o.createElement(k,Object.assign({},e),o.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return o.createElement(k,Object.assign({},e),o.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return o.createElement(k,Object.assign({},e),o.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return o.createElement("div",{className:"Toastify__spinner"})}},N=function(e){var t,n,r=C(e),l=r.isRunning,s=r.preventExitTransition,a=r.toastRef,c=r.eventHandlers,u=e.closeButton,p=e.children,m=e.autoClose,v=e.onClick,y=e.type,h=e.hideProgressBar,g=e.closeToast,b=e.transition,w=e.position,E=e.className,_=e.style,T=e.bodyClassName,x=e.bodyStyle,O=e.progressClassName,S=e.progressStyle,R=e.updateId,L=e.role,k=e.progress,N=e.rtl,D=e.toastId,P=e.deleteToast,B=e.isIn,j=e.isLoading,M=e.icon,F=e.theme,H=i("Toastify__toast","Toastify__toast-theme--"+F,"Toastify__toast--"+y,((t={})["Toastify__toast--rtl"]=N,t)),z=f(E)?E({rtl:N,position:w,type:y,defaultClassName:H}):i(H,E),$=!!k,V=I[y],W={theme:F,type:y},q=V&&V(W);return!1===M?q=void 0:f(M)?q=M(W):(0,o.isValidElement)(M)?q=(0,o.cloneElement)(M,W):d(M)?q=M:j&&(q=I.spinner()),(0,o.createElement)(b,{isIn:B,done:P,position:w,preventExitTransition:s,nodeRef:a},(0,o.createElement)("div",Object.assign({id:D,onClick:v,className:z},c,{style:_,ref:a}),(0,o.createElement)("div",Object.assign({},B&&{role:L},{className:f(T)?T({type:y}):i("Toastify__toast-body",T),style:x}),q&&(0,o.createElement)("div",{className:i("Toastify__toast-icon",(n={},n["Toastify--animate-icon Toastify__zoom-enter"]=!j,n))},q),(0,o.createElement)("div",null,p)),function(e){if(e){var t={closeToast:g,type:y,theme:F};return f(e)?e(t):(0,o.isValidElement)(e)?(0,o.cloneElement)(e,t):void 0}}(u),(m||$)&&(0,o.createElement)(A,Object.assign({},R&&!$?{key:"pb-"+R}:{},{rtl:N,theme:F,delay:m,isRunning:l,isIn:B,closeToast:g,hide:h,type:y,style:S,className:O,controlledProgress:$,progress:k}))))},D=b({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),P=b({enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0}),B=function(e){var t=x(e),n=t.getToastToRender,r=t.containerRef,l=t.isToastActive,a=e.className,c=e.style,u=e.rtl,d=e.containerId;function m(e){var t,n=i("Toastify__toast-container","Toastify__toast-container--"+e,((t={})["Toastify__toast-container--rtl"]=u,t));return f(a)?a({position:e,rtl:u,defaultClassName:n}):i(n,p(a))}return(0,o.createElement)("div",{ref:r,className:"Toastify",id:d},n((function(e,t){var n=0===t.length?s({},c,{pointerEvents:"none"}):s({},c);return(0,o.createElement)("div",{className:m(e),style:n,key:"container-"+e},t.map((function(e){var t=e.content,n=e.props;return(0,o.createElement)(N,Object.assign({},n,{isIn:l(n.toastId),key:"toast-"+n.key,closeButton:!0===n.closeButton?R:n.closeButton}),t)})))})))};B.defaultProps={position:h.TOP_RIGHT,transition:D,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:R,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var j,M,F,H=new Map,z=[],$=!1;function V(){return Math.random().toString(36).substr(2,9)}function W(e){return e&&(d(e.toastId)||c(e.toastId))?e.toastId:V()}function q(e,t){return H.size>0?w.emit(0,e,t):(z.push({content:e,options:t}),$&&v&&($=!1,M=document.createElement("div"),document.body.appendChild(M),(0,l.render)((0,o.createElement)(B,Object.assign({},F)),M))),t.toastId}function U(e,t){return s({},t,{type:t&&t.type||e,toastId:W(t)})}var K=function(e){return function(t,n){return q(t,U(e,n))}},X=function(e,t){return q(e,U(g.DEFAULT,t))};X.loading=function(e,t){return q(e,U(g.DEFAULT,s({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},t)))},X.promise=function(e,t,n){var o=t.pending,r=t.error,i=t.success,l=d(o)?X.loading(o,n):X.loading(o.render,s({},n,o)),a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=function(e,t,o){var r=d(t)?{render:t}:t;return X.update(l,s({type:e},a,n,r,{data:o})),o},u=f(e)?e():e;return u.then((function(e){return c("success",i,e)})).catch((function(e){return c("error",r,e)})),u},X.success=K(g.SUCCESS),X.info=K(g.INFO),X.error=K(g.ERROR),X.warning=K(g.WARNING),X.warn=X.warning,X.dark=function(e,t){return q(e,U(g.DEFAULT,s({theme:"dark"},t)))},X.dismiss=function(e){return w.emit(1,e)},X.clearWaitingQueue=function(e){return void 0===e&&(e={}),w.emit(5,e)},X.isActive=function(e){var t=!1;return H.forEach((function(n){n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},X.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=function(e,t){var n=t.containerId,o=H.get(n||j);return o?o.getToast(e):null}(e,t);if(n){var o=n.props,r=n.content,i=s({},o,t,{toastId:t.toastId||e,updateId:V()});i.toastId!==e&&(i.staleId=e);var l=i.render||r;delete i.render,q(l,i)}}),0)},X.done=function(e){X.update(e,{progress:1})},X.onChange=function(e){return f(e)&&w.on(4,e),function(){f(e)&&w.off(4,e)}},X.configure=function(e){void 0===e&&(e={}),$=!0,F=e},X.POSITION=h,X.TYPE=g,w.on(2,(function(e){j=e.containerId||e,H.set(j,e),z.forEach((function(e){w.emit(0,e.content,e.options)})),z=[]})).on(3,(function(e){H.delete(e.containerId||e),0===H.size&&w.off(0).off(1).off(5),v&&M&&document.body.removeChild(M)}))},25934:function(e,t,n){"use strict";var o;n.d(t,{Z:function(){return d}});var r=new Uint8Array(16);function i(){if(!o&&!(o="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(r)}var l=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"===typeof e&&l.test(e)},a=[],c=0;c<256;++c)a.push((c+256).toString(16).substr(1));var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var d=function(e,t,n){var o=(e=e||{}).random||(e.rng||i)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=o[r];return t}return u(o)}},59364:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=l(e,i(n)))}return e}function i(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 n in e)o.call(e,n)&&e[n]&&(t=l(t,n));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},50549:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var o=n(67294);const r=o.createContext({});function i({baseColor:e,highlightColor:t,width:n,height:o,borderRadius:r,circle:i,direction:l,duration:s,enableAnimation:a=true}){const c={};return"rtl"===l&&(c["--animation-direction"]="reverse"),"number"===typeof s&&(c["--animation-duration"]=`${s}s`),a||(c["--pseudo-element-display"]="none"),"string"!==typeof n&&"number"!==typeof n||(c.width=n),"string"!==typeof o&&"number"!==typeof o||(c.height=o),"string"!==typeof r&&"number"!==typeof r||(c.borderRadius=r),i&&(c.borderRadius="50%"),"undefined"!==typeof e&&(c["--base-color"]=e),"undefined"!==typeof t&&(c["--highlight-color"]=t),c}function l({count:e=1,wrapper:t,className:n,containerClassName:l,containerTestId:s,circle:a=!1,style:c,...u}){var d,f,p;const m=o.useContext(r),v={...u};for(const[o,r]of Object.entries(u))"undefined"===typeof r&&delete v[o];const y={...m,...v,circle:a},h={...c,...i(y)};let g="react-loading-skeleton";n&&(g+=` ${n}`);const b=null!==(d=y.inline)&&void 0!==d&&d,w=[],E=Math.ceil(e);for(let r=0;r<E;r++){let t=h;if(E>e&&r===E-1){const n=null!==(f=t.width)&&void 0!==f?f:"100%",o=e%1,r="number"===typeof n?n*o:`calc(${n} * ${o})`;t={...t,width:r}}const n=o.createElement("span",{className:g,style:t,key:r},"\u200c");b?w.push(n):w.push(o.createElement(o.Fragment,{key:r},n,o.createElement("br",null)))}return o.createElement("span",{className:l,"data-testid":s,"aria-live":"polite","aria-busy":null===(p=y.enableAnimation)||void 0===p||p},t?w.map(((e,n)=>o.createElement(t,{key:n},e))):w)}},20684:function(e,t,n){"use strict";n.d(t,{u:function(){return De}});var o=n(67294);const r=Math.min,i=Math.max,l=Math.round,s=Math.floor,a=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(e,t,n){return i(e,r(t,n))}function f(e,t){return"function"===typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}function h(e){return["top","bottom"].includes(p(e))?"y":"x"}function g(e){return v(h(e))}function b(e){return e.replace(/start|end/g,(e=>u[e]))}function w(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 _(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function T(e,t,n){let{reference:o,floating:r}=e;const i=h(t),l=g(t),s=y(l),a=p(t),c="y"===i,u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,f=o[s]/2-r[s]/2;let v;switch(a){case"top":v={x:u,y:o.y-r.height};break;case"bottom":v={x:u,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:d};break;case"left":v={x:o.x-r.width,y:d};break;default:v={x:o.x,y:o.y}}switch(m(t)){case"start":v[l]-=f*(n&&c?-1:1);break;case"end":v[l]+=f*(n&&c?-1:1)}return v}async function x(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:s,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=f(t,e),v=E(m),y=s[p?"floating"===d?"reference":"floating":d],h=_(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(y)))||n?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:a})),g="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},T=_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:b,strategy:a}):g);return{top:(h.top-T.top+v.top)/w.y,bottom:(T.bottom-h.bottom+v.bottom)/w.y,left:(h.left-T.left+v.left)/w.x,right:(T.right-h.right+v.right)/w.x}}function O(){return"undefined"!==typeof window}function S(e){return A(e)?(e.nodeName||"").toLowerCase():"#document"}function C(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function R(e){var t;return null==(t=(A(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function A(e){return!!O()&&(e instanceof Node||e instanceof C(e).Node)}function L(e){return!!O()&&(e instanceof Element||e instanceof C(e).Element)}function k(e){return!!O()&&(e instanceof HTMLElement||e instanceof C(e).HTMLElement)}function I(e){return!(!O()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof C(e).ShadowRoot)}function N(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=F(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function D(e){return["table","td","th"].includes(S(e))}function P(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function B(e){const t=j(),n=L(e)?F(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function j(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function M(e){return["html","body","#document"].includes(S(e))}function F(e){return C(e).getComputedStyle(e)}function H(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function z(e){if("html"===S(e))return e;const t=e.assignedSlot||e.parentNode||I(e)&&e.host||R(e);return I(t)?t.host:t}function $(e){const t=z(e);return M(t)?e.ownerDocument?e.ownerDocument.body:e.body:k(t)&&N(t)?t:$(t)}function V(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=$(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),l=C(r);if(i){const e=W(l);return t.concat(l,l.visualViewport||[],N(r)?r:[],e&&n?V(e):[])}return t.concat(r,V(r,[],n))}function W(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function q(e){const t=F(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=k(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=l(n)!==i||l(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function U(e){return L(e)?e:e.contextElement}function K(e){const t=U(e);if(!k(t))return a(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=q(t);let s=(i?l(n.width):n.width)/o,c=(i?l(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}const X=a(0);function Q(e){const t=C(e);return j()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:X}function G(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=U(e);let l=a(1);t&&(o?L(o)&&(l=K(o)):l=K(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==C(e))&&t}(i,n,o)?Q(i):a(0);let c=(r.left+s.x)/l.x,u=(r.top+s.y)/l.y,d=r.width/l.x,f=r.height/l.y;if(i){const e=C(i),t=o&&L(o)?C(o):o;let n=e,r=W(n);for(;r&&o&&t!==n;){const e=K(r),t=r.getBoundingClientRect(),o=F(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,f*=e.y,c+=i,u+=l,n=C(r),r=W(n)}}return _({width:d,height:f,x:c,y:u})}function Y(e,t){const n=H(e).scrollLeft;return t?t.left+n:G(R(e)).left+n}function Z(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=C(e),o=R(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,s=0,a=0;if(r){i=r.width,l=r.height;const e=j();(!e||e&&"fixed"===t)&&(s=r.offsetLeft,a=r.offsetTop)}return{width:i,height:l,x:s,y:a}}(e,n);else if("document"===t)o=function(e){const t=R(e),n=H(e),o=e.ownerDocument.body,r=i(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=i(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Y(e);const a=-n.scrollTop;return"rtl"===F(o).direction&&(s+=i(t.clientWidth,o.clientWidth)-r),{width:r,height:l,x:s,y:a}}(R(e));else if(L(t))o=function(e,t){const n=G(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=k(e)?K(e):a(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=Q(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return _(o)}function J(e,t){const n=z(e);return!(n===t||!L(n)||M(n))&&("fixed"===F(n).position||J(n,t))}function ee(e,t,n){const o=k(t),r=R(t),i="fixed"===n,l=G(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=a(0);if(o||!o&&!i)if(("body"!==S(t)||N(r))&&(s=H(t)),o){const e=G(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else r&&(c.x=Y(r));let u=0,d=0;if(r&&!o&&!i){const e=r.getBoundingClientRect();d=e.top+s.scrollTop,u=e.left+s.scrollLeft-Y(r,e)}return{x:l.left+s.scrollLeft-c.x-u,y:l.top+s.scrollTop-c.y-d,width:l.width,height:l.height}}function te(e){return"static"===F(e).position}function ne(e,t){if(!k(e)||"fixed"===F(e).position)return null;if(t)return t(e);let n=e.offsetParent;return R(e)===n&&(n=n.ownerDocument.body),n}function oe(e,t){const n=C(e);if(P(e))return n;if(!k(e)){let t=z(e);for(;t&&!M(t);){if(L(t)&&!te(t))return t;t=z(t)}return n}let o=ne(e,t);for(;o&&D(o)&&te(o);)o=ne(o,t);return o&&M(o)&&te(o)&&!B(o)?n:o||function(e){let t=z(e);for(;k(t)&&!M(t);){if(B(t))return t;if(P(t))return null;t=z(t)}return null}(e)||n}const re={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i="fixed"===r,l=R(o),s=!!t&&P(t.floating);if(o===l||s&&i)return n;let c={scrollLeft:0,scrollTop:0},u=a(1);const d=a(0),f=k(o);if((f||!f&&!i)&&(("body"!==S(o)||N(l))&&(c=H(o)),k(o))){const e=G(o);u=K(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}},getDocumentElement:R,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e;const s="clippingAncestors"===n?P(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=V(e,[],!1).filter((e=>L(e)&&"body"!==S(e))),r=null;const i="fixed"===F(e).position;let l=i?z(e):e;for(;L(l)&&!M(l);){const t=F(l),n=B(l);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||N(l)&&!n&&J(e,l))?o=o.filter((e=>e!==l)):r=t,l=z(l)}return t.set(e,o),o}(t,this._c):[].concat(n),a=[...s,o],c=a[0],u=a.reduce(((e,n)=>{const o=Z(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e}),Z(t,c,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:oe,getElementRects:async function(e){const t=this.getOffsetParent||oe,n=this.getDimensions,o=await n(e.floating);return{reference:ee(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=q(e);return{width:t,height:n}},getScale:K,isElement:L,isRTL:function(e){return"rtl"===F(e).direction}};function ie(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:c="function"===typeof ResizeObserver,layoutShift:u="function"===typeof IntersectionObserver,animationFrame:d=!1}=o,f=U(e),p=l||a?[...f?V(f):[],...V(t)]:[];p.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const m=f&&u?function(e,t){let n,o=null;const l=R(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),a();const{left:f,top:p,width:m,height:v}=e.getBoundingClientRect();if(u||t(),!m||!v)return;const y={rootMargin:-s(p)+"px "+-s(l.clientWidth-(f+m))+"px "+-s(l.clientHeight-(p+v))+"px "+-s(f)+"px",threshold:i(0,r(1,d))||1};let h=!0;function g(e){const t=e[0].intersectionRatio;if(t!==d){if(!h)return c();t?c(!1,t):n=setTimeout((()=>{c(!1,1e-7)}),1e3)}h=!1}try{o=new IntersectionObserver(g,{...y,root:l.ownerDocument})}catch(b){o=new IntersectionObserver(g,y)}o.observe(e)}(!0),a}(f,n):null;let v,y=-1,h=null;c&&(h=new ResizeObserver((e=>{let[o]=e;o&&o.target===f&&h&&(h.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),f&&!d&&h.observe(f),h.observe(t));let g=d?G(e):null;return d&&function t(){const o=G(e);!g||o.x===g.x&&o.y===g.y&&o.width===g.width&&o.height===g.height||n();g=o,v=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{l&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=h)||e.disconnect(),h=null,d&&cancelAnimationFrame(v)}}const le=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:l,middlewareData:s}=t,a=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=p(n),s=m(n),a="y"===h(n),c=["left","top"].includes(l)?-1:1,u=i&&a?-1:1,d=f(t,e);let{mainAxis:v,crossAxis:y,alignmentAxis:g}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"===typeof g&&(y="end"===s?-1*g:g),a?{x:y*u,y:v*c}:{x:v*c,y:y*u}}(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:l}}}}},se=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=f(e,t),c={x:n,y:o},u=await x(t,a),m=h(p(r)),y=v(m);let g=c[y],b=c[m];if(i){const e="y"===y?"bottom":"right";g=d(g+u["y"===y?"top":"left"],g,g-u[e])}if(l){const e="y"===m?"bottom":"right";b=d(b+u["y"===m?"top":"left"],b,b-u[e])}const w=s.fn({...t,[y]:g,[m]:b});return{...w,data:{x:w.x-n,y:w.y-o,enabled:{[y]:i,[m]:l}}}}}},ae=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:s,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:v,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:T=!0,...O}=f(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const S=p(r),C=h(s),R=p(s)===s,A=await(null==a.isRTL?void 0:a.isRTL(c.floating)),L=v||(R||!T?[w(s)]:function(e){const t=w(e);return[b(e),t,b(t)]}(s)),k="none"!==_;!v&&k&&L.push(...function(e,t,n,o){const r=m(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:l;default:return[]}}(p(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(b)))),i}(s,T,_,A));const I=[s,...L],N=await x(t,O),D=[];let P=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&D.push(N[S]),d){const e=function(e,t,n){void 0===n&&(n=!1);const o=m(e),r=g(e),i=y(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=w(l)),[l,w(l)]}(r,l,A);D.push(N[e[0]],N[e[1]])}if(P=[...P,{placement:r,overflows:D}],!D.every((e=>e<=0))){var B,j;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=I[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(j=P.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:j.placement;if(!n)switch(E){case"bestFit":{var M;const e=null==(M=P.filter((e=>{if(k){const t=h(e.placement);return t===C||"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:M[0];e&&(n=e);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},ce=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:l,platform:s,elements:a,middlewareData:c}=t,{element:u,padding:p=0}=f(e,t)||{};if(null==u)return{};const v=E(p),h={x:n,y:o},b=g(i),w=y(b),_=await s.getDimensions(u),T="y"===b,x=T?"top":"left",O=T?"bottom":"right",S=T?"clientHeight":"clientWidth",C=l.reference[w]+l.reference[b]-h[b]-l.floating[w],R=h[b]-l.reference[b],A=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let L=A?A[S]:0;L&&await(null==s.isElement?void 0:s.isElement(A))||(L=a.floating[S]||l.floating[w]);const k=C/2-R/2,I=L/2-_[w]/2-1,N=r(v[x],I),D=r(v[O],I),P=N,B=L-_[w]-D,j=L/2-_[w]/2+k,M=d(P,j,B),F=!c.arrow&&null!=m(i)&&j!==M&&l.reference[w]/2-(j<P?N:D)-_[w]/2<0,H=F?j<P?j-P:j-B:0;return{[b]:h[b]+H,data:{[b]:M,centerOffset:j-M-H,...F&&{alignmentOffset:H}},reset:F}}}),ue=(e,t,n)=>{const o=new Map,r={platform:re,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=T(c,o,a),f=o,p={},m=0;for(let v=0;v<s.length;v++){const{name:n,fn:i}=s[v],{x:y,y:h,data:g,reset:b}=await i({x:u,y:d,initialPlacement:o,placement:f,strategy:r,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=h?h:d,p={...p,[n]:{...p[n],...g}},b&&m<=50&&(m++,"object"===typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):b.rects),({x:u,y:d}=T(c,f,a))),v=-1)}return{x:u,y:d,placement:f,strategy:r,middlewareData:p}})(e,t,{...r,platform:i})};var de=n(59364),fe=n(83454);const pe="react-tooltip-core-styles",me="react-tooltip-base-styles",ve={core:!1,base:!1};function ye({css:e,id:t=me,type:n="base",ref:o}){var r,i;if(!e||"undefined"==typeof document||ve[n])return;if("core"===n&&"undefined"!=typeof fe&&(null===(r=null===fe||void 0===fe?void 0:fe.env)||void 0===r?void 0:r.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof fe&&(null===(i=null===fe||void 0===fe?void 0:fe.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t=pe),o||(o={});const{insertAt:l}=o;if(document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.id=t,a.type="text/css","top"===l&&s.firstChild?s.insertBefore(a,s.firstChild):s.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e)),ve[n]=!0}const he=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:o="top",offset:r=10,strategy:i="absolute",middlewares:l=[le(Number(r)),ae({fallbackAxisSideDirection:"start"}),se({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};const a=l;return n?(a.push(ce({element:n,padding:5})),ue(e,t,{placement:o,strategy:i,middleware:a}).then((({x:e,y:t,placement:n,middlewareData:o})=>{var r,i;const l={left:`${e}px`,top:`${t}px`,border:s},{x:a,y:c}=null!==(r=o.arrow)&&void 0!==r?r:{x:0,y:0},u=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",d=s&&{borderBottom:s,borderRight:s};let f=0;if(s){const e=`${s}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:l,tooltipArrowStyles:{left:null!=a?`${a}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...d,[u]:`-${4+f}px`},place:n}}))):ue(e,t,{placement:"bottom",strategy:i,middleware:a}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))},ge=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),be=(e,t,n)=>{let o=null;const r=function(...r){const i=()=>{o=null,n||e.apply(this,r)};n&&!o&&(e.apply(this,r),o=setTimeout(i,t)),n||(o&&clearTimeout(o),o=setTimeout(i,t))};return r.cancel=()=>{o&&(clearTimeout(o),o=null)},r},we=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,Ee=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>Ee(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!we(e)||!we(t))return e===t;const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every((n=>Ee(e[n],t[n])))},_e=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},Te=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(_e(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},xe="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,Oe=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Se="DEFAULT_TOOLTIP_ID",Ce={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Re=(0,o.createContext)({getTooltipData:()=>Ce});function Ae(e=Se){return(0,o.useContext)(Re).getTooltipData(e)}var Le={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"},ke={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 Ie=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:i="dark",anchorId:l,anchorSelect:s,place:a="top",offset:c=10,events:u=["hover"],openOnClick:d=!1,positionStrategy:f="absolute",middlewares:p,wrapper:m,delayShow:v=0,delayHide:y=0,float:h=!1,hidden:g=!1,noArrow:b=!1,clickable:w=!1,closeOnEsc:E=!1,closeOnScroll:_=!1,closeOnResize:T=!1,openEvents:x,closeEvents:O,globalCloseEvents:S,imperativeModeOnly:C,style:R,position:A,afterShow:L,afterHide:k,content:I,contentWrapperRef:N,isOpen:D,defaultIsOpen:P=!1,setIsOpen:B,activeAnchor:j,setActiveAnchor:M,border:F,opacity:H,arrowColor:z,role:$="tooltip"})=>{var V;const W=(0,o.useRef)(null),q=(0,o.useRef)(null),U=(0,o.useRef)(null),K=(0,o.useRef)(null),X=(0,o.useRef)(null),[Q,G]=(0,o.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:a}),[Y,Z]=(0,o.useState)(!1),[J,ee]=(0,o.useState)(!1),[te,ne]=(0,o.useState)(null),oe=(0,o.useRef)(!1),re=(0,o.useRef)(null),{anchorRefs:le,setActiveAnchor:se}=Ae(t),ae=(0,o.useRef)(!1),[ce,ue]=(0,o.useState)([]),fe=(0,o.useRef)(!1),pe=d||u.includes("click"),me=pe||(null==x?void 0:x.click)||(null==x?void 0:x.dblclick)||(null==x?void 0:x.mousedown),ve=x?{...x}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!x&&pe&&Object.assign(ve,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const ye=O?{...O}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!O&&pe&&Object.assign(ye,{mouseleave:!1,blur:!1,mouseout:!1});const ge=S?{...S}:{escape:E||!1,scroll:_||!1,resize:T||!1,clickOutsideAnchor:me||!1};C&&(Object.assign(ve,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(ye,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(ge,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),xe((()=>(fe.current=!0,()=>{fe.current=!1})),[]);const we=e=>{fe.current&&(e&&ee(!0),setTimeout((()=>{fe.current&&(null==B||B(e),void 0===D&&Z(e))}),10))};(0,o.useEffect)((()=>{if(void 0===D)return()=>null;D&&ee(!0);const e=setTimeout((()=>{Z(D)}),10);return()=>{clearTimeout(e)}}),[D]),(0,o.useEffect)((()=>{if(Y!==oe.current)if(Oe(X),oe.current=Y,Y)null==L||L();else{const e=(e=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,n,o]=t;return Number(n)*("ms"===o?1:1e3)})();X.current=setTimeout((()=>{ee(!1),ne(null),null==k||k()}),e+25)}}),[Y]);const _e=e=>{G((t=>Ee(t,e)?t:e))},Se=(e=v)=>{Oe(U),J?we(!0):U.current=setTimeout((()=>{we(!0)}),e)},Ce=(e=y)=>{Oe(K),K.current=setTimeout((()=>{ae.current||we(!1)}),e)},Re=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return M(null),void se({current:null});v?Se():we(!0),M(n),se({current:n}),Oe(K)},Ie=()=>{w?Ce(y||100):y?Ce():we(!1),Oe(U)},Ne=({x:e,y:t})=>{var n;const o={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};he({place:null!==(n=null==te?void 0:te.place)&&void 0!==n?n:a,offset:c,elementReference:o,tooltipReference:W.current,tooltipArrowReference:q.current,strategy:f,middlewares:p,border:F}).then((e=>{_e(e)}))},De=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};Ne(n),re.current=n},Pe=e=>{var t;if(!Y)return;const n=e.target;n.isConnected&&((null===(t=W.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${l}']`),...ce].some((e=>null==e?void 0:e.contains(n)))||(we(!1),Oe(U)))},Be=be(Re,50,!0),je=be(Ie,50,!0),Me=e=>{je.cancel(),Be(e)},Fe=()=>{Be.cancel(),je()},He=(0,o.useCallback)((()=>{var e,t;const n=null!==(e=null==te?void 0:te.position)&&void 0!==e?e:A;n?Ne(n):h?re.current&&Ne(re.current):(null==j?void 0:j.isConnected)&&he({place:null!==(t=null==te?void 0:te.place)&&void 0!==t?t:a,offset:c,elementReference:j,tooltipReference:W.current,tooltipArrowReference:q.current,strategy:f,middlewares:p,border:F}).then((e=>{fe.current&&_e(e)}))}),[Y,j,I,R,a,null==te?void 0:te.place,c,f,A,null==te?void 0:te.position,h]);(0,o.useEffect)((()=>{var e,t;const n=new Set(le);ce.forEach((e=>{n.add({current:e})}));const o=document.querySelector(`[id='${l}']`);o&&n.add({current:o});const r=()=>{we(!1)},i=Te(j),s=Te(W.current);ge.scroll&&(window.addEventListener("scroll",r),null==i||i.addEventListener("scroll",r),null==s||s.addEventListener("scroll",r));let a=null;ge.resize?window.addEventListener("resize",r):j&&W.current&&(a=ie(j,W.current,He,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&we(!1)};ge.escape&&window.addEventListener("keydown",c),ge.clickOutsideAnchor&&window.addEventListener("click",Pe);const u=[],d=e=>{Y&&(null==e?void 0:e.target)===j||Re(e)},f=e=>{Y&&(null==e?void 0:e.target)===j&&Ie()},p=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],m=["click","dblclick","mousedown","mouseup"];Object.entries(ve).forEach((([e,t])=>{t&&(p.includes(e)?u.push({event:e,listener:Me}):m.includes(e)&&u.push({event:e,listener:d}))})),Object.entries(ye).forEach((([e,t])=>{t&&(p.includes(e)?u.push({event:e,listener:Fe}):m.includes(e)&&u.push({event:e,listener:f}))})),h&&u.push({event:"pointermove",listener:De});const v=()=>{ae.current=!0},y=()=>{ae.current=!1,Ie()};return w&&!me&&(null===(e=W.current)||void 0===e||e.addEventListener("mouseenter",v),null===(t=W.current)||void 0===t||t.addEventListener("mouseleave",y)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var o;null===(o=n.current)||void 0===o||o.addEventListener(e,t)}))})),()=>{var e,t;ge.scroll&&(window.removeEventListener("scroll",r),null==i||i.removeEventListener("scroll",r),null==s||s.removeEventListener("scroll",r)),ge.resize?window.removeEventListener("resize",r):null==a||a(),ge.clickOutsideAnchor&&window.removeEventListener("click",Pe),ge.escape&&window.removeEventListener("keydown",c),w&&!me&&(null===(e=W.current)||void 0===e||e.removeEventListener("mouseenter",v),null===(t=W.current)||void 0===t||t.removeEventListener("mouseleave",y)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var o;null===(o=n.current)||void 0===o||o.removeEventListener(e,t)}))}))}}),[j,He,J,le,ce,x,O,S,pe,v,y]),(0,o.useEffect)((()=>{var e,n;let o=null!==(n=null!==(e=null==te?void 0:te.anchorSelect)&&void 0!==e?e:s)&&void 0!==n?n:"";!o&&t&&(o=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const r=new MutationObserver((e=>{const n=[],r=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&r.push(e.target)),"childList"===e.type){if(j){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(o)try{r.push(...t.filter((e=>e.matches(o)))),r.push(...t.flatMap((e=>[...e.querySelectorAll(o)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,j))&&(ee(!1),we(!1),M(null),Oe(U),Oe(K),!0)}))}if(o)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));n.push(...t.filter((e=>e.matches(o)))),n.push(...t.flatMap((e=>[...e.querySelectorAll(o)])))}catch(e){}}})),(n.length||r.length)&&ue((e=>[...e.filter((e=>!r.includes(e))),...n]))}));return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{r.disconnect()}}),[t,s,null==te?void 0:te.anchorSelect,j]),(0,o.useEffect)((()=>{He()}),[He]),(0,o.useEffect)((()=>{if(!(null==N?void 0:N.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>He()))}));return e.observe(N.current),()=>{e.disconnect()}}),[I,null==N?void 0:N.current]),(0,o.useEffect)((()=>{var e;const t=document.querySelector(`[id='${l}']`),n=[...ce,t];j&&n.includes(j)||M(null!==(e=ce[0])&&void 0!==e?e:t)}),[l,ce,j]),(0,o.useEffect)((()=>(P&&we(!0),()=>{Oe(U),Oe(K)})),[]),(0,o.useEffect)((()=>{var e;let n=null!==(e=null==te?void 0:te.anchorSelect)&&void 0!==e?e:s;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{const e=Array.from(document.querySelectorAll(n));ue(e)}catch(e){ue([])}}),[t,s,null==te?void 0:te.anchorSelect]),(0,o.useEffect)((()=>{U.current&&(Oe(U),Se(v))}),[v]);const ze=null!==(V=null==te?void 0:te.content)&&void 0!==V?V:I,$e=Y&&Object.keys(Q.tooltipStyles).length>0;return(0,o.useImperativeHandle)(e,(()=>({open:t=>{if(null==t?void 0:t.anchorSelect)try{document.querySelector(t.anchorSelect)}catch(e){return void console.warn(`[react-tooltip] "${t.anchorSelect}" is not a valid CSS selector`)}ne(null!=t?t:null),(null==t?void 0:t.delay)?Se(t.delay):we(!0)},close:e=>{(null==e?void 0:e.delay)?Ce(e.delay):we(!1)},activeAnchor:j,place:Q.place,isOpen:Boolean(J&&!g&&ze&&$e)}))),J&&!g&&ze?o.createElement(m,{id:t,role:$,className:de("react-tooltip",Le.tooltip,ke.tooltip,ke[i],n,`react-tooltip__place-${Q.place}`,Le[$e?"show":"closing"],$e?"react-tooltip__show":"react-tooltip__closing","fixed"===f&&Le.fixed,w&&Le.clickable),onTransitionEnd:e=>{Oe(X),Y||"opacity"!==e.propertyName||(ee(!1),ne(null),null==k||k())},style:{...R,...Q.tooltipStyles,opacity:void 0!==H&&$e?H:void 0},ref:W},ze,o.createElement(m,{className:de("react-tooltip-arrow",Le.arrow,ke.arrow,r,b&&Le.noArrow),style:{...Q.tooltipArrowStyles,background:z?`linear-gradient(to right bottom, transparent 50%, ${z} 50%)`:void 0},ref:q})):null},Ne=({content:e})=>o.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),De=o.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:r,html:i,render:l,className:s,classNameArrow:a,variant:c="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:b=0,float:w=!1,hidden:E=!1,noArrow:_=!1,clickable:T=!1,closeOnEsc:x=!1,closeOnScroll:O=!1,closeOnResize:S=!1,openEvents:C,closeEvents:R,globalCloseEvents:A,imperativeModeOnly:L=!1,style:k,position:I,isOpen:N,defaultIsOpen:D=!1,disableStyleInjection:P=!1,border:B,opacity:j,arrowColor:M,setIsOpen:F,afterShow:H,afterHide:z,role:$="tooltip"},V)=>{const[W,q]=(0,o.useState)(r),[U,K]=(0,o.useState)(i),[X,Q]=(0,o.useState)(u),[G,Y]=(0,o.useState)(c),[Z,J]=(0,o.useState)(d),[ee,te]=(0,o.useState)(g),[ne,oe]=(0,o.useState)(b),[re,ie]=(0,o.useState)(w),[le,se]=(0,o.useState)(E),[ae,ce]=(0,o.useState)(f),[ue,fe]=(0,o.useState)(m),[pe,me]=(0,o.useState)(y),[ve,ye]=(0,o.useState)(null),[he,be]=(0,o.useState)(null),we=(0,o.useRef)(P),{anchorRefs:Ee,activeAnchor:_e}=Ae(e),Te=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var o;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(o=null==e?void 0:e.getAttribute(n))&&void 0!==o?o:null),t}),{}),xe=e=>{const t={place:e=>{var t;Q(null!==(t=e)&&void 0!==t?t:u)},content:e=>{q(null!=e?e:r)},html:e=>{K(null!=e?e:i)},variant:e=>{var t;Y(null!==(t=e)&&void 0!==t?t:c)},offset:e=>{J(null===e?d:Number(e))},wrapper:e=>{var t;ce(null!==(t=e)&&void 0!==t?t:f)},events:e=>{const t=null==e?void 0:e.split(" ");fe(null!=t?t:m)},"position-strategy":e=>{var t;me(null!==(t=e)&&void 0!==t?t:y)},"delay-show":e=>{te(null===e?g:Number(e))},"delay-hide":e=>{oe(null===e?b:Number(e))},float:e=>{ie(null===e?w:"true"===e)},hidden:e=>{se(null===e?E:"true"===e)},"class-name":e=>{ye(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var o;null===(o=t[e])||void 0===o||o.call(t,n)}))};(0,o.useEffect)((()=>{q(r)}),[r]),(0,o.useEffect)((()=>{K(i)}),[i]),(0,o.useEffect)((()=>{Q(u)}),[u]),(0,o.useEffect)((()=>{Y(c)}),[c]),(0,o.useEffect)((()=>{J(d)}),[d]),(0,o.useEffect)((()=>{te(g)}),[g]),(0,o.useEffect)((()=>{oe(b)}),[b]),(0,o.useEffect)((()=>{ie(w)}),[w]),(0,o.useEffect)((()=>{se(E)}),[E]),(0,o.useEffect)((()=>{me(y)}),[y]),(0,o.useEffect)((()=>{we.current!==P&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[P]),(0,o.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===P,disableBase:P}}))}),[]),(0,o.useEffect)((()=>{var o;const r=new Set(Ee);let i=n;if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach((e=>{r.add({current:e})}))}catch(o){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const l=document.querySelector(`[id='${t}']`);if(l&&r.add({current:l}),!r.size)return()=>null;const s=null!==(o=null!=he?he:l)&&void 0!==o?o:_e.current,a=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 n=Te(s);xe(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(s){const e=Te(s);xe(e),a.observe(s,c)}return()=>{a.disconnect()}}),[Ee,_e,he,t,n]),(0,o.useEffect)((()=>{(null==k?void 0:k.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),B&&!ge("border",`${B}`)&&console.warn(`[react-tooltip] "${B}" is not a valid \`border\`.`),(null==k?void 0:k.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),j&&!ge("opacity",`${j}`)&&console.warn(`[react-tooltip] "${j}" is not a valid \`opacity\`.`)}),[]);let Oe=p;const Se=(0,o.useRef)(null);if(l){const e=l({content:(null==he?void 0:he.getAttribute("data-tooltip-content"))||W||null,activeAnchor:he});Oe=e?o.createElement("div",{ref:Se,className:"react-tooltip-content-wrapper"},e):null}else W&&(Oe=W);U&&(Oe=o.createElement(Ne,{content:U}));const Ce={forwardRef:V,id:e,anchorId:t,anchorSelect:n,className:de(s,ve),classNameArrow:a,content:Oe,contentWrapperRef:Se,place:X,variant:G,offset:Z,wrapper:ae,events:ue,openOnClick:v,positionStrategy:pe,middlewares:h,delayShow:ee,delayHide:ne,float:re,hidden:le,noArrow:_,clickable:T,closeOnEsc:x,closeOnScroll:O,closeOnResize:S,openEvents:C,closeEvents:R,globalCloseEvents:A,imperativeModeOnly:L,style:k,position:I,isOpen:N,defaultIsOpen:D,border:B,opacity:j,arrowColor:M,setIsOpen:F,afterShow:H,afterHide:z,activeAnchor:he,setActiveAnchor:e=>be(e),role:$};return o.createElement(Ie,{...Ce})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||ye({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||ye({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"})}))}}]);
//# sourceMappingURL=6518-103965018c632a95.js.map