"use strict";(self.webpackChunkapp_container=self.webpackChunkapp_container||[]).push([[3202],{3202:(e,t,n)=>{function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.r(t),n.d(t,{animateFill:()=>ut,createSingleton:()=>at,default:()=>gt,delegate:()=>ct,followCursor:()=>dt,hideAll:()=>ot,inlinePositioning:()=>vt,roundArrow:()=>le,sticky:()=>mt});var s=Math.max,c=Math.min,u=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function p(){return!/^((?!chrome|android).)*safari/i.test(f())}function l(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&i(e)&&(s=e.offsetWidth>0&&u(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&u(a.height)/e.offsetHeight||1);var f=(o(e)?r(e):window).visualViewport,l=!p()&&n,d=(a.left+(l&&f?f.offsetLeft:0))/s,v=(a.top+(l&&f?f.offsetTop:0))/c,m=a.width/s,h=a.height/c;return{width:m,height:h,top:v,right:d+m,bottom:v+h,left:d,x:d,y:v}}function d(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function v(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return l(m(e)).left+d(e).scrollLeft}function g(e){return r(e).getComputedStyle(e)}function b(e){var t=g(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function y(e,t,n){void 0===n&&(n=!1);var o,a,s=i(t),c=i(t)&&function(e){var t=e.getBoundingClientRect(),n=u(t.width)/e.offsetWidth||1,r=u(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),f=m(t),p=l(e,c,n),g={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(s||!s&&!n)&&(("body"!==v(t)||b(f))&&(g=(o=t)!==r(o)&&i(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}:d(o)),i(t)?((y=l(t,!0)).x+=t.clientLeft,y.y+=t.clientTop):f&&(y.x=h(f))),{x:p.left+g.scrollLeft-y.x,y:p.top+g.scrollTop-y.y,width:p.width,height:p.height}}function w(e){var t=l(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function x(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||m(e)}function O(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:i(e)&&b(e)?e:O(x(e))}function E(e,t){var n;void 0===t&&(t=[]);var o=O(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],b(o)?o:[]):o,c=t.concat(s);return i?c:c.concat(E(x(s)))}function A(e){return["table","td","th"].indexOf(v(e))>=0}function T(e){return i(e)&&"fixed"!==g(e).position?e.offsetParent:null}function C(e){for(var t=r(e),n=T(e);n&&A(n)&&"static"===g(n).position;)n=T(n);return n&&("html"===v(n)||"body"===v(n)&&"static"===g(n).position)?t:n||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&i(e)&&"fixed"===g(e).position)return null;var n=x(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(v(n))<0;){var r=g(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var D="top",j="bottom",L="right",k="left",P="auto",M=[D,j,L,k],R="start",V="end",B="viewport",H="popper",S=M.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+V])}),[]),W=[].concat(M,[P]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+V])}),[]),I=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function $(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?X(o):null,a=o?Y(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case D:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:c};break;case k:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?z(i):null;if(null!=u){var f="y"===u?"height":"width";switch(a){case R:t[u]=t[u]-(n[f]/2-r[f]/2);break;case V:t[u]=t[u]+(n[f]/2-r[f]/2)}}return t}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,c=e.position,f=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,d=e.isFixed,v=s.x,h=void 0===v?0:v,b=s.y,y=void 0===b?0:b,w="function"==typeof l?l({x:h,y}):{x:h,y};h=w.x,y=w.y;var x=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),E=k,A=D,T=window;if(p){var P=C(n),M="clientHeight",R="clientWidth";P===r(n)&&"static"!==g(P=m(n)).position&&"absolute"===c&&(M="scrollHeight",R="scrollWidth"),(i===D||(i===k||i===L)&&a===V)&&(A=j,y-=(d&&P===T&&T.visualViewport?T.visualViewport.height:P[M])-o.height,y*=f?1:-1),i!==k&&(i!==D&&i!==j||a!==V)||(E=L,h-=(d&&P===T&&T.visualViewport?T.visualViewport.width:P[R])-o.width,h*=f?1:-1)}var B,H=Object.assign({position:c},p&&J),S=!0===l?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:u(n*o)/o||0,y:u(r*o)/o||0}}({x:h,y},r(n)):{x:h,y};return h=S.x,y=S.y,f?Object.assign({},H,((B={})[A]=O?"0":"",B[E]=x?"0":"",B.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",B)):Object.assign({},H,((t={})[A]=O?y+"px":"",t[E]=x?h+"px":"",t.transform="",t))}const K={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&v(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&v(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function Z(e){return e.replace(/left|right|bottom|top/g,(function(e){return Q[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t,n){return t===B?re(function(e,t){var n=r(e),o=m(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,c=0,u=0;if(i){a=i.width,s=i.height;var f=p();(f||!f&&"fixed"===t)&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:c+h(e),y:u}}(e,n)):o(t)?function(e,t){var n=l(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):re(function(e){var t,n=m(e),r=d(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+h(e),u=-r.scrollTop;return"rtl"===g(o||n).direction&&(c+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:u}}(m(e)))}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ae(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,u=n.strategy,f=void 0===u?e.strategy:u,p=n.boundary,d=void 0===p?"clippingParents":p,h=n.rootBoundary,b=void 0===h?B:h,y=n.elementContext,w=void 0===y?H:y,O=n.altBoundary,A=void 0!==O&&O,T=n.padding,k=void 0===T?0:T,P=ie("number"!=typeof k?k:ae(k,M)),R=w===H?"reference":H,V=e.rects.popper,S=e.elements[A?R:w],W=function(e,t,n,r){var a="clippingParents"===t?function(e){var t=E(x(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&i(e)?C(e):e;return o(n)?t.filter((function(e){return o(e)&&ne(e,n)&&"body"!==v(e)})):[]}(e):[].concat(t),u=[].concat(a,[n]),f=u[0],p=u.reduce((function(t,n){var o=oe(e,n,r);return t.top=s(o.top,t.top),t.right=c(o.right,t.right),t.bottom=c(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),oe(e,f,r));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}(o(S)?S:S.contextElement||m(e.elements.popper),d,b,f),I=l(e.elements.reference),N=$({reference:I,element:V,strategy:"absolute",placement:a}),U=re(Object.assign({},V,N)),q=w===H?U:I,_={top:W.top-q.top+P.top,bottom:q.bottom-W.bottom+P.bottom,left:W.left-q.left+P.left,right:q.right-W.right+P.right},F=e.modifiersData.offset;if(w===H&&F){var X=F[a];Object.keys(_).forEach((function(e){var t=[L,j].indexOf(e)>=0?1:-1,n=[D,j].indexOf(e)>=0?"y":"x";_[e]+=X[n]*t}))}return _}function ce(e,t,n){return s(e,c(t,n))}function ue(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[D,L,j,k].some((function(t){return e[t]>=0}))}var pe=_({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,c=void 0===s||s,u=r(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach((function(e){e.addEventListener("scroll",n.update,F)})),c&&u.addEventListener("resize",n.update,F),function(){a&&f.forEach((function(e){e.removeEventListener("scroll",n.update,F)})),c&&u.removeEventListener("resize",n.update,F)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:X(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,G(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,G(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},K,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce((function(e,n){return e[n]=function(e,t,n){var r=X(e),o=[k,D].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[k,L].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,f=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,v=void 0===d||d,m=n.allowedAutoPlacements,h=t.options.placement,g=X(h),b=c||(g!==h&&v?function(e){if(X(e)===P)return[];var t=Z(e);return[te(e),t,te(t)]}(h):[Z(h)]),y=[h].concat(b).reduce((function(e,n){return e.concat(X(n)===P?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?W:c,f=Y(r),p=f?s?S:S.filter((function(e){return Y(e)===f})):M,l=p.filter((function(e){return u.indexOf(e)>=0}));0===l.length&&(l=p);var d=l.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[X(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:f,rootBoundary:p,padding:u,flipVariations:v,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,E=!0,A=y[0],T=0;T=0,I=H?"width":"height",N=se(t,{placement:C,boundary:f,rootBoundary:p,altBoundary:l,padding:u}),U=H?B?L:k:B?j:D;w[I]>x[I]&&(U=Z(U));var q=Z(U),_=[];if(i&&_.push(N[V]<=0),s&&_.push(N[U]<=0,N[q]<=0),_.every((function(e){return e}))){A=C,E=!1;break}O.set(C,_)}if(E)for(var F=function(e){var t=y.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},z=v?3:1;z>0&&"break"!==F(z);z--);t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0!==a&&a,f=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.padding,v=n.tether,m=void 0===v||v,h=n.tetherOffset,g=void 0===h?0:h,b=se(t,{boundary:f,rootBoundary:p,padding:d,altBoundary:l}),y=X(t.placement),x=Y(t.placement),O=!x,E=z(y),A="x"===E?"y":"x",T=t.modifiersData.popperOffsets,P=t.rects.reference,M=t.rects.popper,V="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,B="number"==typeof V?{mainAxis:V,altAxis:V}:Object.assign({mainAxis:0,altAxis:0},V),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(T){if(i){var W,I="y"===E?D:k,N="y"===E?j:L,U="y"===E?"height":"width",q=T[E],_=q+b[I],F=q-b[N],$=m?-M[U]/2:0,J=x===R?P[U]:M[U],G=x===R?-M[U]:-P[U],K=t.elements.arrow,Q=m&&K?w(K):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[I],te=Z[N],ne=ce(0,P[U],Q[U]),re=O?P[U]/2-$-ne-ee-B.mainAxis:J-ne-ee-B.mainAxis,oe=O?-P[U]/2+$+ne+te+B.mainAxis:G+ne+te+B.mainAxis,ie=t.elements.arrow&&C(t.elements.arrow),ae=ie?"y"===E?ie.clientTop||0:ie.clientLeft||0:0,ue=null!=(W=null==H?void 0:H[E])?W:0,fe=q+oe-ue,pe=ce(m?c(_,q+re-ue-ae):_,q,m?s(F,fe):F);T[E]=pe,S[E]=pe-q}if(u){var le,de="x"===E?D:k,ve="x"===E?j:L,me=T[A],he="y"===A?"height":"width",ge=me+b[de],be=me-b[ve],ye=-1!==[D,k].indexOf(y),we=null!=(le=null==H?void 0:H[A])?le:0,xe=ye?ge:me-P[he]-M[he]-we+B.altAxis,Oe=ye?me+P[he]+M[he]-we-B.altAxis:be,Ee=m&&ye?function(e,t,n){var r=ce(e,t,n);return r>n?n:r}(xe,me,Oe):ce(m?xe:ge,me,m?Oe:be);T[A]=Ee,S[A]=Ee-me}t.modifiersData[r]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=X(n.placement),c=z(s),u=[k,L].indexOf(s)>=0?"height":"width";if(i&&a){var f=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ae(e,M))}(o.padding,n),p=w(i),l="y"===c?D:k,d="y"===c?j:L,v=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],h=C(i),g=h?"y"===c?h.clientHeight||0:h.clientWidth||0:0,b=v/2-m/2,y=f[l],x=g-p[u]-f[d],O=g/2-p[u]/2+b,E=ce(y,O,x),A=c;n.modifiersData[r]=((t={})[A]=E,t.centerOffset=E-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ne(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),c=ue(a,r),u=ue(s,o,i),f=fe(c),p=fe(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}}]}),le='',de="tippy-content",ve="tippy-backdrop",me="tippy-arrow",he="tippy-svg-arrow",ge={passive:!0,capture:!0},be=function(){return document.body};function ye(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function we(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function xe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Oe(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ee(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function Ae(e){return[].concat(e)}function Te(e,t){-1===e.indexOf(t)&&e.push(t)}function Ce(e){return e.split("-")[0]}function De(e){return[].slice.call(e)}function je(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Le(){return document.createElement("div")}function ke(e){return["Element","Fragment"].some((function(t){return we(e,t)}))}function Pe(e){return we(e,"MouseEvent")}function Me(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Re(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ve(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Be(e){var t,n=Ae(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function He(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Se(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var We={isTouch:!1},Ie=0;function Ne(){We.isTouch||(We.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ue))}function Ue(){var e=performance.now();e-Ie<20&&(We.isTouch=!1,document.removeEventListener("mousemove",Ue)),Ie=e}function qe(){var e=document.activeElement;if(Me(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var _e=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),Fe=Object.assign({appendTo:be,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Xe=Object.keys(Fe);function Ye(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Fe[o])?r:i),t}),{});return Object.assign({},e,t)}function ze(e,t){var n=Object.assign({},t,{content:xe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ye(Object.assign({},Fe,{plugins:t}))):Xe).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Fe.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var $e=function(){return"innerHTML"};function Je(e,t){e[$e()]=t}function Ge(e){var t=Le();return!0===e?t.className=me:(t.className=he,ke(e)?t.appendChild(e):Je(t,e)),t}function Ke(e,t){ke(t.content)?(Je(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Je(e,t.content):e.textContent=t.content)}function Qe(e){var t=e.firstElementChild,n=De(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(de)})),arrow:n.find((function(e){return e.classList.contains(me)||e.classList.contains(he)})),backdrop:n.find((function(e){return e.classList.contains(ve)}))}}function Ze(e){var t=Le(),n=Le();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Le();function o(n,r){var o=Qe(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Ke(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(Ge(r.arrow))):i.appendChild(Ge(r.arrow)):s&&i.removeChild(s)}return r.className=de,r.setAttribute("data-state","hidden"),Ke(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ze.$$tippy=!0;var et=1,tt=[],nt=[];function rt(e,t){void 0===t&&(t={});var n=Fe.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ne,ge),window.addEventListener("blur",qe);var r,o=Object.assign({},t,{plugins:n}),i=(r=e,ke(r)?[r]:function(e){return we(e,"NodeList")}(r)?De(r):Array.isArray(r)?r:De(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&function(e,t){var n,r,o,i,a,s,c,u,f=ze(e,Object.assign({},Fe,Ye(je(t)))),p=!1,l=!1,d=!1,v=!1,m=[],h=Oe(z,f.interactiveDebounce),g=et++,b=(u=f.plugins).filter((function(e,t){return u.indexOf(e)===t})),y={id:g,reference:e,popper:Le(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(!y.state.isDestroyed){R("onBeforeUpdate",[y,t]),X();var n=y.props,r=ze(e,Object.assign({},n,je(t),{ignoreAttributes:!0}));y.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(H(),h=Oe(z,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Ae(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),B(),M(),O&&O(n,r),y.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),R("onAfterUpdate",[y,t])}},setContent:function(e){y.setProps({content:e})},show:function(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=We.isTouch&&!y.props.touch,o=ye(y.props.duration,0,Fe.duration);if(!(e||t||n||r||j().hasAttribute("disabled")||(R("onShow",[y],!1),!1===y.props.onShow(y)))){if(y.state.isVisible=!0,D()&&(x.style.visibility="visible"),M(),N(),y.state.isMounted||(x.style.transition="none"),D()){var i=k();Re([i.box,i.content],0)}var a,c,u;s=function(){var e;if(y.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=y.props.moveTransition,D()&&y.props.animation){var t=k(),n=t.box,r=t.content;Re([n,r],o),Ve([n,r],"visible")}V(),B(),Te(nt,y),null==(e=y.popperInstance)||e.forceUpdate(),R("onMount",[y]),y.props.animation&&D()&&function(e,t){q(e,(function(){y.state.isShown=!0,R("onShown",[y])}))}(o)}},c=y.props.appendTo,u=j(),(a=y.props.interactive&&c===be||"parent"===c?u.parentNode:xe(c,[u])).contains(x)||a.appendChild(x),y.state.isMounted=!0,K()}},hide:function(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=ye(y.props.duration,1,Fe.duration);if(!(e||t||n)&&(R("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,v=!1,p=!1,D()&&(x.style.visibility="hidden"),H(),U(),M(!0),D()){var o=k(),i=o.box,a=o.content;y.props.animation&&(Re([i,a],r),Ve([i,a],"hidden"))}V(),B(),y.props.animation?D()&&function(e,t){q(e,(function(){!y.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,y.unmount):y.unmount()}},hideWithInteractivity:function(e){L().addEventListener("mousemove",h),Te(tt,h),h(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){y.state.isVisible&&y.hide(),y.state.isMounted&&(Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),nt=nt.filter((function(e){return e!==y})),y.state.isMounted=!1,R("onHidden",[y]))},destroy:function(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),X(),delete e._tippy,y.state.isDestroyed=!0,R("onDestroy",[y]))}};if(!f.render)return y;var w=f.render(y),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+y.id,y.popper=x,e._tippy=y,x._tippy=y;var E=b.map((function(e){return e.fn(y)})),A=e.hasAttribute("aria-expanded");return F(),B(),M(),R("onCreate",[y]),f.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&L().addEventListener("mousemove",h)})),y;function T(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===T()[0]}function D(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function j(){return c||e}function L(){var e=j().parentNode;return e?Be(e):document}function k(){return Qe(x)}function P(e){return y.state.isMounted&&!y.state.isVisible||We.isTouch||i&&"focus"===i.type?0:ye(y.props.delay,e?0:1,Fe.delay)}function M(e){void 0===e&&(e=!1),x.style.pointerEvents=y.props.interactive&&!e?"":"none",x.style.zIndex=""+y.props.zIndex}function R(e,t,n){var r;void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=y.props)[e].apply(r,t)}function V(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ae(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function B(){!A&&y.props.aria.expanded&&Ae(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")}))}function H(){L().removeEventListener("mousemove",h),tt=tt.filter((function(e){return e!==h}))}function S(t){if(!We.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Se(x,n)){if(Ae(y.props.triggerTarget||e).some((function(e){return Se(e,n)}))){if(We.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),l=!0,setTimeout((function(){l=!1})),y.state.isMounted||U())}}}function W(){d=!0}function I(){d=!1}function N(){var e=L();e.addEventListener("mousedown",S,!0),e.addEventListener("touchend",S,ge),e.addEventListener("touchstart",I,ge),e.addEventListener("touchmove",W,ge)}function U(){var e=L();e.removeEventListener("mousedown",S,!0),e.removeEventListener("touchend",S,ge),e.removeEventListener("touchstart",I,ge),e.removeEventListener("touchmove",W,ge)}function q(e,t){var n=k().box;function r(e){e.target===n&&(He(n,"remove",r),t())}if(0===e)return t();He(n,"remove",a),He(n,"add",r),a=r}function _(t,n,r){void 0===r&&(r=!1),Ae(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;C()&&(_("touchstart",Y,{passive:!0}),_("touchend",$,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(_(e,Y),e){case"mouseenter":_("mouseleave",$);break;case"focus":_(_e?"focusout":"blur",J);break;case"focusin":_("focusout",J)}}))}function X(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function Y(e){var t,n=!1;if(y.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,B(),!y.state.isVisible&&Pe(e)&&tt.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||p)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(p=!n),n&&!r&&te(e)}}function z(e){var t=e.target,n=j().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=Ce(o.placement),s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,f="right"===a?s.left.x:0,p="left"===a?s.right.x:0,l=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+f>i,m=n-t.right-p>i;return l||d||v||m}))})(r,e)&&(H(),te(e))}}function $(e){G(e)||y.props.trigger.indexOf("click")>=0&&p||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function J(e){y.props.trigger.indexOf("focusin")<0&&e.target!==j()||y.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!We.isTouch&&C()!==e.type.indexOf("touch")>=0}function K(){Q();var t=y.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?Qe(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||j()}:e,f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=k().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];D()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),y.popperInstance=pe(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Z(){return De(x.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&R("onTrigger",[y,e]),N();var t=P(!0),r=T(),o=r[0],i=r[1];We.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),R("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=P(!1);t?r=setTimeout((function(){y.state.isVisible&&y.hide()}),t):o=requestAnimationFrame((function(){y.hide()}))}}else U()}}(t,o);return n&&e.push(n),e}),[]);return ke(e)?i[0]:i}rt.defaultProps=Fe,rt.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Fe[t]=e[t]}))},rt.currentInput=We;var ot=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;nt.forEach((function(e){var t=!1;if(n&&(t=Me(n)?e.reference===n:e.popper===n.popper),!t){var o=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:o})}}))},it=Object.assign({},K,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),at=function(e,t){var n;void 0===t&&(t={});var r,o=e,i=[],a=[],s=t.overrides,c=[],u=!1;function f(){a=o.map((function(e){return Ae(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function p(){i=o.map((function(e){return e.reference}))}function l(e){o.forEach((function(t){e?t.enable():t.disable()}))}function d(e){return o.map((function(t){var n=t.setProps;return t.setProps=function(o){n(o),t.reference===r&&e.setProps(o)},function(){t.setProps=n}}))}function v(e,t){var n=a.indexOf(t);if(t!==r){r=t;var c=(s||[]).concat("content").reduce((function(e,t){return e[t]=o[n].props[t],e}),{});e.setProps(Object.assign({},c,{getReferenceClientRect:"function"==typeof c.getReferenceClientRect?c.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}l(!1),p(),f();var m={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,v(e,i[0]))},onTrigger:function(e,t){v(e,t.currentTarget)}}}},h=rt(Le(),Object.assign({},Ee(t,["overrides"]),{plugins:[m].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[it])})})),g=h.show;h.show=function(e){if(g(),!r&&null==e)return v(h,i[0]);if(!r||null!=e){if("number"==typeof e)return i[e]&&v(h,i[e]);if(o.indexOf(e)>=0){var t=e.reference;return v(h,t)}return i.indexOf(e)>=0?v(h,e):void 0}},h.showNext=function(){var e=i[0];if(!r)return h.show(0);var t=i.indexOf(r);h.show(i[t+1]||e)},h.showPrevious=function(){var e=i[i.length-1];if(!r)return h.show(e);var t=i.indexOf(r),n=i[t-1]||e;h.show(n)};var b=h.setProps;return h.setProps=function(e){s=e.overrides||s,b(e)},h.setInstances=function(e){l(!0),c.forEach((function(e){return e()})),o=e,l(!1),p(),f(),c=d(h),h.setProps({triggerTarget:a})},c=d(h),h},st={mouseover:"mouseenter",focusin:"focus",click:"click"};function ct(e,t){var n=[],r=[],o=!1,i=t.target,a=Ee(t,["target"]),s=Object.assign({},a,{trigger:"manual",touch:!1}),c=Object.assign({touch:Fe.touch},a,{showOnCreate:!0}),u=rt(e,s);function f(e){if(e.target&&!o){var n=e.target.closest(i);if(n){var a=n.getAttribute("data-tippy-trigger")||t.trigger||Fe.trigger;if(!n._tippy&&!("touchstart"===e.type&&"boolean"==typeof c.touch||"touchstart"!==e.type&&a.indexOf(st[e.type])<0)){var s=rt(n,c);s&&(r=r.concat(s))}}}}function p(e,t,r,o){void 0===o&&(o=!1),e.addEventListener(t,r,o),n.push({node:e,eventType:t,handler:r,options:o})}return Ae(u).forEach((function(e){var t=e.destroy,i=e.enable,a=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&r.forEach((function(e){e.destroy()})),r=[],n.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),n=[],t()},e.enable=function(){i(),r.forEach((function(e){return e.enable()})),o=!1},e.disable=function(){a(),r.forEach((function(e){return e.disable()})),o=!0},function(e){var t=e.reference;p(t,"touchstart",f,ge),p(t,"mouseover",f),p(t,"focusin",f),p(t,"click",f)}(e)})),u}var ut={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=Qe(e.popper),r=n.box,o=n.content,i=e.props.animateFill?function(){var e=Le();return e.className=ve,Ve([e],"hidden"),e}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));o.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,Ve([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&Ve([i],"hidden")}}}},ft={clientX:0,clientY:0},pt=[];function lt(e){var t=e.clientX,n=e.clientY;ft={clientX:t,clientY:n}}var dt={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Be(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function c(){n.addEventListener("mousemove",p)}function u(){n.removeEventListener("mousemove",p)}function f(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function p(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),c=i-s.left,u=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+c,r=e.top+u);var s="horizontal"===o?e.top:r,f="vertical"===o?e.right:n,p="horizontal"===o?e.bottom:r,l="vertical"===o?e.left:n;return{width:f-l,height:p-s,top:s,right:f,bottom:p,left:l}}})}function l(){e.props.followCursor&&(pt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",lt)}(n))}function d(){0===(pt=pt.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",lt)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!e.state.isMounted||o||s()||c()):(u(),f()))},onMount:function(){e.props.followCursor&&!o&&(i&&(p(ft),i=!1),s()||c())},onTrigger:function(e,t){Pe(t)&&(ft={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(f(),u(),i=!0)}}}},vt={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference,r=-1,o=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var a=o.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===e,s=o.top,c=i.bottom,u=a?o.left:i.left,f=a?o.right:i.right;return{top:s,bottom:c,left:u,right:f,width:f-u,height:c-s};case"left":case"right":var p=Math.min.apply(Math,n.map((function(e){return e.left}))),l=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===p:t.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:p,right:l,width:l-p,height:m-v};default:return t}}(Ce(e),n.getBoundingClientRect(),De(n.getClientRects()),r)}(a.placement)}})),t=a.placement)}};function s(){var t;o||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,a),o=!0,e.setProps(t),o=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(Pe(n)){var o=De(e.reference.getClientRects()),i=o.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY})),a=o.indexOf(i);r=a>-1?a:r}},onHidden:function(){r=-1}}}},mt={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var o=null,i=null;function a(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,c=r("popper")?n.getBoundingClientRect():null;(s&&ht(o,s)||c&&ht(i,c))&&e.popperInstance&&e.popperInstance.update(),o=s,i=c,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function ht(e,t){return!e||!t||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}rt.setDefaultProps({render:Ze});const gt=rt}}]);