Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tippy.js

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tippy.js - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

4

dist/tippy-bundle.cjs.js
/**!
* tippy.js v5.0.2
* tippy.js v5.0.3
* (c) 2017-2019 atomiks

@@ -13,3 +13,3 @@ * MIT License

var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}";
var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100vw - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;background-color:#333;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top]>.tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom]>.tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left]>.tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right]>.tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-interactive][data-state=visible]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:5px 9px}";

@@ -16,0 +16,0 @@ /**

/**!
* tippy.js v5.0.2
* tippy.js v5.0.3
* (c) 2017-2019 atomiks

@@ -9,3 +9,3 @@ * MIT License

var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}";
var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100vw - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;background-color:#333;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top]>.tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom]>.tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left]>.tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right]>.tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-interactive][data-state=visible]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:5px 9px}";

@@ -12,0 +12,0 @@ /**

@@ -1,2 +0,2 @@

var tippy=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="undefined"!=typeof window&&"undefined"!=typeof document,n=e?navigator.userAgent:"",r=/MSIE |Trident\//.test(n),i=/UCBrowser\//.test(n),o=e&&/iPhone|iPad|iPod/.test(navigator.platform);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var p="5.0.2",s={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:"22rem",multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},u=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function c(t,e){return a({},t,{},e.reduce(function(e,n){var r=n.name,i=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:i),e},{}))}var l={passive:!0},f="tippy-iOS",d="tippy-popper",v="tippy-tooltip",m="tippy-content",h="tippy-backdrop",g="tippy-arrow",b="tippy-svg-arrow",y="."+d,w="."+v,E="."+m,A="."+g,T="."+b,C={isTouch:!1},x=0;function I(){C.isTouch||(C.isTouch=!0,o&&document.body.classList.add(f),window.performance&&document.addEventListener("mousemove",L))}function L(){var t=performance.now();t-x<20&&(C.isTouch=!1,document.removeEventListener("mousemove",L),o||document.body.classList.remove(f)),x=t}function O(){var t=document.activeElement,e=t._tippy;t&&t.blur&&e&&!e.state.isVisible&&t.blur()}var D=Object.keys(s);function M(t,e){return{}.hasOwnProperty.call(t,e)}function k(t){return S(t)?[t]:function(t){return U(t,"NodeList")}(t)?F(t):Array.isArray(t)?t:F(document.querySelectorAll(t))}function P(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function V(t,e){return t&&t.modifiers&&t.modifiers[e]}function U(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function S(t){return U(t,"Element")}function B(t){return U(t,"MouseEvent")}function H(t,e){return"function"==typeof t?t.apply(void 0,e):t}function N(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function z(){return document.createElement("div")}function q(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function R(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function j(t,e,n){var r=a({},e,{content:H(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(c(s,e)):D).reduce(function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e},{})}(t,n));return r.interactive&&(r.aria=null),r}function W(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)};var n}function _(t,e,n){t&&t!==e&&t.apply(void 0,n)}function F(t){return[].slice.call(t)}function X(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}function Y(t,e){return t.indexOf(e)>-1}function J(t){return t.split(/\s+/).filter(Boolean)}function G(t,e){return void 0!==t?t:e}function K(t){return[].concat(t)}function Q(t){var e=K(t)[0];return e&&e.ownerDocument||document}function Z(t,e){t.innerHTML=S(e)?e.innerHTML:e}function $(t,e){if(S(e.content))Z(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function tt(t){return{tooltip:t.querySelector(w),content:t.querySelector(E),arrow:t.querySelector(A)||t.querySelector(T)}}function et(t){t.setAttribute("data-inertia","")}function nt(t){var e=z();return!0===t?e.className=g:(e.className=b,S(t)?e.appendChild(t):Z(e,t)),e}function rt(t){t.setAttribute("data-interactive","")}function it(t,e,n){var r=i&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ot(t){return t.split("-")[0]}function at(t,e,n){J(n).forEach(function(n){t.classList[e](n+"-theme")})}function pt(t,e){var n=z();n.className=d,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=z();r.className=v,r.id="tippy-"+t,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),at(r,"add",e.theme);var i=z();return i.className=m,i.setAttribute("data-state","hidden"),e.interactive&&rt(r),e.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(nt(e.arrow))),e.inertia&&et(r),$(i,e),r.appendChild(i),n.appendChild(r),st(n,e,e),n}function st(t,e,n){var r=tt(t),i=r.tooltip,o=r.content,a=r.arrow;t.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),e.content!==n.content&&$(o,n),!e.arrow&&n.arrow?(i.appendChild(nt(n.arrow)),i.setAttribute("data-arrow","")):e.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):e.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(nt(n.arrow))),!e.interactive&&n.interactive?rt(i):e.interactive&&!n.interactive&&function(t){t.removeAttribute("data-interactive")}(i),!e.inertia&&n.inertia?et(i):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(i),e.theme!==n.theme&&(at(i,"remove",e.theme),at(i,"add",n.theme))}var ut=1,ct=[];function lt(e,n,i){void 0===i&&(i=[]);var o,p,f,d=c(j(e,n,i),i);if(!d.multiple&&e._tippy)return null;var v,m,h,g,b=!1,y=!1,w=0,E=[],A=W(yt,d.interactiveDebounce),T=Q(d.triggerTarget||e),x=ut++,I=pt(x,d),L=tt(I),O=L.tooltip,D=L.content,k=[O,D],U={id:x,reference:e,popper:I,popperChildren:L,popperInstance:null,props:d,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:i,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(p),cancelAnimationFrame(f)},setProps:function(t){if(U.state.isDestroyed)return;et("onBeforeUpdate",[U,t]),gt();var n=U.props,r=j(e,a({},U.props,{},t,{ignoreAttributes:!0}),i);r.ignoreAttributes=G(t.ignoreAttributes,n.ignoreAttributes),U.props=r,ht(),n.interactiveDebounce!==r.interactiveDebounce&&(at(),A=W(yt,r.interactiveDebounce));st(I,n,r),U.popperChildren=tt(I),n.triggerTarget&&!r.triggerTarget?K(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");rt(),U.popperInstance&&(u.some(function(e){return M(t,e)&&t[e]!==n[e]})?(U.popperInstance.destroy(),Tt(),U.state.isVisible&&U.popperInstance.enableEventListeners()):U.popperInstance.update());et("onAfterUpdate",[U,t])},setContent:function(t){U.setProps({content:t})},show:function(t){void 0===t&&(t=P(U.props.duration,0,s.duration));var e=U.state.isVisible,n=U.state.isDestroyed,r=!U.state.isEnabled,i=C.isTouch&&!U.props.touch;if(e||n||r||i)return;if(Z().hasAttribute("disabled"))return;if(et("onShow",[U],!1),!1===U.props.onShow(U))return;ft(),I.style.visibility="visible",U.state.isVisible=!0,U.state.isMounted||q(k.concat(I),0);m=function(){U.state.isVisible&&(q([I],U.props.updateDuration),q(k,t),R(k,"visible"),nt(),rt(),U.state.isMounted=!0,et("onMount",[U]),function(t,e){vt(t,e)}(t,function(){U.state.isShown=!0,et("onShown",[U])}))},function(){w=0;var t,e=U.props.appendTo,n=Z();t=U.props.interactive&&e===s.appendTo||"parent"===e?n.parentNode:H(e,[n]);t.contains(I)||t.appendChild(I);U.popperInstance?(N(U.popperInstance.modifiers,U.props.flip),U.popperInstance.enableEventListeners(),U.popperInstance.update()):(Tt(),U.popperInstance.enableEventListeners())}()},hide:function(t){void 0===t&&(t=P(U.props.duration,1,s.duration));var e=!U.state.isVisible&&!b,n=U.state.isDestroyed,r=!U.state.isEnabled&&!b;if(e||n||r)return;if(et("onHide",[U],!1),!1===U.props.onHide(U)&&!b)return;dt(),I.style.visibility="hidden",U.state.isVisible=!1,U.state.isShown=!1,q(k,t),R(k,"hidden"),nt(),rt(),function(t,e){vt(t,function(){!U.state.isVisible&&I.parentNode&&I.parentNode.contains(I)&&e()})}(t,function(){U.popperInstance.disableEventListeners(),U.popperInstance.options.placement=U.props.placement,I.parentNode.removeChild(I),U.state.isMounted=!1,et("onHidden",[U])})},enable:function(){U.state.isEnabled=!0},disable:function(){U.hide(),U.state.isEnabled=!1},destroy:function(){if(U.state.isDestroyed)return;b=!0,U.clearDelayTimeouts(),U.hide(0),gt(),delete e._tippy,U.popperInstance&&U.popperInstance.destroy();b=!1,U.state.isDestroyed=!0,et("onDestroy",[U])}};e._tippy=U,I._tippy=U;var S=i.map(function(t){return t.fn(U)});return ht(),rt(),d.lazy||Tt(),et("onCreate",[U]),d.showOnCreate&&xt(),I.addEventListener("mouseenter",function(){U.props.interactive&&U.state.isVisible&&U.clearDelayTimeouts()}),I.addEventListener("mouseleave",function(){U.props.interactive&&Y(U.props.trigger,"mouseenter")&&T.addEventListener("mousemove",A)}),U;function z(){var t=U.props.touch;return Array.isArray(t)?t:[t,0]}function F(){return"hold"===z()[0]}function Z(){return g||e}function $(t){return U.state.isMounted&&!U.state.isVisible||C.isTouch||!v||"focus"===v.type?0:P(U.props.delay,t?0:1,s.delay)}function et(t,e,n){var r;(void 0===n&&(n=!0),S.forEach(function(n){M(n,t)&&n[t].apply(n,e)}),n)&&(r=U.props)[t].apply(r,e)}function nt(){var t=U.props.aria;if(t){var n="aria-"+t,r=O.id;K(U.props.triggerTarget||e).forEach(function(t){var e=t.getAttribute(n);if(U.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var i=e&&e.replace(r,"").trim();i?t.setAttribute(n,i):t.removeAttribute(n)}})}}function rt(){K(U.props.triggerTarget||e).forEach(function(t){U.props.interactive?t.setAttribute("aria-expanded",U.state.isVisible&&t===Z()?"true":"false"):t.removeAttribute("aria-expanded")})}function at(){T.body.removeEventListener("mouseleave",It),T.removeEventListener("mousemove",A),ct=ct.filter(function(t){return t!==A})}function lt(t){if(!U.props.interactive||!I.contains(t.target)){if(Z().contains(t.target)){if(C.isTouch)return;if(U.state.isVisible&&Y(U.props.trigger,"click"))return}!0===U.props.hideOnClick&&(U.clearDelayTimeouts(),U.hide(),y=!0,setTimeout(function(){y=!1}),U.state.isMounted||dt())}}function ft(){T.addEventListener("mousedown",lt,!0)}function dt(){T.removeEventListener("mousedown",lt,!0)}function vt(t,e){function n(t){t.target===O&&(it(O,"remove",n),e())}if(0===t)return e();it(O,"remove",h),it(O,"add",n),h=n}function mt(t,n,r){void 0===r&&(r=!1),K(U.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),E.push({node:e,eventType:t,handler:n,options:r})})}function ht(){F()&&(mt("touchstart",bt,l),mt("touchend",wt,l)),J(U.props.trigger).forEach(function(t){if("manual"!==t)switch(mt(t,bt),t){case"mouseenter":mt("mouseleave",wt);break;case"focus":mt(r?"focusout":"blur",Et)}})}function gt(){E.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),E=[]}function bt(t){if(U.state.isEnabled&&!At(t)&&!y)if(v=t,g=t.currentTarget,rt(),!U.state.isVisible&&B(t)&&ct.forEach(function(e){return e(t)}),"click"===t.type&&!1!==U.props.hideOnClick&&U.state.isVisible)It(t);else{var e=z(),n=e[0],r=e[1];C.isTouch&&"hold"===n&&r?o=setTimeout(function(){xt(t)},r):xt(t)}}function yt(t){X(t.target,function(t){return t===e||t===I})||function(t,e,n){var r=e.clientX,i=e.clientY,o=t.top>i+n,a=t.bottom<i-n,p=t.left>r+n,s=t.right<r-n;return o||a||p||s}(I.getBoundingClientRect(),t,U.props.interactiveBorder)&&(at(),It(t))}function wt(t){if(!At(t))return U.props.interactive?(T.body.addEventListener("mouseleave",It),T.addEventListener("mousemove",A),void ct.push(A)):void It(t)}function Et(t){t.target===Z()&&(U.props.interactive&&t.relatedTarget&&I.contains(t.relatedTarget)||It(t))}function At(t){var e="ontouchstart"in window,n=Y(t.type,"touch"),r=F();return e&&C.isTouch&&r&&!n||C.isTouch&&!r&&n}function Tt(){var n=U.props.popperOptions,r=U.popperChildren.arrow;function i(t){U.state.currentPlacement=t.placement,U.props.flip&&!U.props.flipOnUpdate&&(t.flipped&&(U.popperInstance.options.placement=t.placement),N(U.popperInstance.modifiers,!1)),O.setAttribute("data-placement",t.placement),!1!==t.attributes["x-out-of-boundaries"]?O.setAttribute("data-out-of-boundaries",""):O.removeAttribute("data-out-of-boundaries");var e=ot(t.placement),n=U.props.distance,r={bottom:n+"px 0 0 0",left:"0 "+n+"px 0 0",top:"0 0 "+n+"px 0",right:"0 0 0 "+n+"px"};I.style.padding=r[e]}var o=a({eventsEnabled:!1,placement:U.props.placement},n,{modifiers:a({},n&&n.modifiers,{preventOverflow:a({boundariesElement:U.props.boundary},V(n,"preventOverflow")),arrow:a({element:r,enabled:!!r},V(n,"arrow")),flip:a({enabled:U.props.flip,behavior:U.props.flipBehavior},V(n,"flip")),offset:a({offset:U.props.offset},V(n,"offset"))}),onCreate:function(t){i(t),_(n&&n.onCreate,o.onCreate,[t]),Ct()},onUpdate:function(t){i(t),_(n&&n.onUpdate,o.onUpdate,[t]),Ct()}});U.popperInstance=new t(e,I,o)}function Ct(){0===w?(w++,U.popperInstance.update()):m&&1===w&&(w++,function(t){t.offsetHeight}(I),m())}function xt(t){U.clearDelayTimeouts(),U.popperInstance||Tt(),t&&et("onTrigger",[U,t]),ft();var e=$(!0);e?o=setTimeout(function(){U.show()},e):U.show()}function It(t){if(U.clearDelayTimeouts(),et("onUntrigger",[U,t]),U.state.isVisible){var e=$(!1);e?p=setTimeout(function(){U.state.isVisible&&U.hide()},e):f=requestAnimationFrame(function(){U.hide()})}else dt()}}function ft(t,e,n){void 0===n&&(n=[]),document.addEventListener("touchstart",I,a({},l,{capture:!0})),window.addEventListener("blur",O);var r=a({},s,{},e),i=k(t).reduce(function(t,e){var i=e&&lt(e,r,n);return i&&t.push(i),t},[]);return S(t)?i[0]:i}function dt(t){Object.keys(t).forEach(function(e){s[e]=t[e]})}ft.version=p,ft.defaultProps=s,ft.setDefaultProps=dt,ft.currentInput=C;var vt={mouseover:"mouseenter",focusin:"focus",click:"click"};var mt={name:"animateFill",defaultValue:!1,fn:function(t){var e=t.popperChildren,n=e.tooltip,r=e.content,o=t.props.animateFill&&!i?function(){var t=z();return t.className=h,R([t],"hidden"),t}():null;function a(){t.popperChildren.backdrop=o}return{onCreate:function(){o&&(a(),n.insertBefore(o,n.firstElementChild),n.setAttribute("data-animatefill",""),t.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(o){var t=n.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,R([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&R([o],"hidden")},onAfterUpdate:function(){a()}}}};var ht={name:"followCursor",defaultValue:!1,fn:function(t){var e,n=t.reference,r=t.popper,i=Q(t.props.triggerTarget||n),o=null,a=!1,p=t.props;function s(){var e=p.placement;if(e){var n=e.split("-")[1];a=!0,t.setProps({placement:u()&&n?e.replace(n,"start"===n?"end":"start"):e}),a=!1}}function u(){return t.props.followCursor&&B(o)&&!(0===o.clientX&&0===o.clientY)}function c(){return C.isTouch||"initial"===t.props.followCursor&&t.state.isVisible}function l(){t.popperInstance&&(t.popperInstance.reference=n)}function f(){t.popperInstance&&u()&&(c()||!0!==t.props.followCursor)&&t.popperInstance.disableEventListeners()}function d(){u()&&m(e)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=e=i,a=o.clientX,p=o.clientY;if(t.popperInstance&&t.state.currentPlacement){var s=X(i.target,function(t){return t===n}),u=n.getBoundingClientRect(),l=t.props.followCursor,f="horizontal"===l,d="vertical"===l,m=Y(["top","bottom"],ot(t.state.currentPlacement)),h=function(t,e){var n=e?t.offsetWidth:t.offsetHeight;return{size:n,x:e?n:0,y:e?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!s&&t.props.interactive||(t.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(f?u.top:p)-y,bottom:(f?u.bottom:p)+y,left:(d?u.left:a)-b,right:(d?u.right:a)+b}}},t.popperInstance.update()),c()&&v()}}return{onAfterUpdate:function(t,e){var n;a||(n=e,Object.keys(n).forEach(function(t){p[t]=G(n[t],p[t])}),e.placement&&s()),e.placement&&f(),requestAnimationFrame(d)},onMount:function(){d(),f()},onTrigger:function(n,r){o||(o=r,B(r)&&(e=r),u()&&c()?(a=!0,t.setProps({flipOnUpdate:!0}),a=!1):t.setProps({flipOnUpdate:p.flipOnUpdate}),s(),u()?r===o&&i.addEventListener("mousemove",m):l())},onUntrigger:function(){t.state.isVisible||(v(),o=null)},onHidden:function(){v(),l(),o=null}}}};var gt={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e=t.reference;function n(){return t.props.inlinePositioning}return{onHidden:function(){n()&&(t.popperInstance.reference=e)},onTrigger:function(){n()&&(t.popperInstance.reference={referenceNode:e,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(t,e,n){if(n.length<2||null===t)return e;var r;switch(t){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===t,p=i.top,s=o.bottom,u=a?i.left:o.left,c=a?i.right:o.right;r={top:p,bottom:s,left:u,right:c,width:c-u,height:s-p};break;case"left":case"right":var l=Math.min.apply(Math,n.map(function(t){return t.left})),f=Math.max.apply(Math,n.map(function(t){return t.right})),d=n.filter(function(e){return"left"===t?e.left===l:e.right===f}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:l,right:f,width:f-l,height:m-v};break;default:r=e}return r}(t.state.currentPlacement&&ot(t.state.currentPlacement),e.getBoundingClientRect(),F(e.getClientRects()))}})}}}};var bt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var i=null,o=null;function a(){var p=r("reference")?e.getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(p&&yt(i,p)||s&&yt(o,s))&&t.popperInstance.update(),i=p,o=s,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function yt(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}e&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,r=document.querySelector("head>style,head>link");r?n.insertBefore(e,r):n.appendChild(e)}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}");var wt,Et,At=(wt=[mt,ht,gt,bt],(Et=function(t,e,n){return void 0===n&&(n=[]),ft(t,e,[].concat(wt,n))}).version=p,Et.defaultProps=s,Et.setDefaultProps=dt,Et.currentInput=C,Et);return At.createSingleton=function(t,e,n){var r,i;void 0===n&&(n=[]),t.forEach(function(t){t.disable()});var o={};function p(t){Object.keys(t).forEach(function(e){o[e]=G(t[e],o[e])})}function u(t,e,n){r&&(n&&!e?i.setAttribute("aria-"+r,t):i.removeAttribute("aria-"+r))}p(a({},s,{},e));var c=t.map(function(t){return t.reference}),l=a({},e,{aria:null,triggerTarget:c,onMount:function(t){_(o.onMount,t.props.onMount,[t]),u(t.popperChildren.tooltip.id,t.props.interactive,!0)},onUntrigger:function(t,e){_(o.onUntrigger,t.props.onUntrigger,[t,e]),u(t.popperChildren.tooltip.id,t.props.interactive,!1)},onTrigger:function(e,n){_(o.onTrigger,e.props.onTrigger,[e,n]);var a=n.currentTarget,p=c.indexOf(a);i=a,r=o.aria,e.state.isVisible&&u(e.popperChildren.tooltip.id,e.props.interactive,!0),e.setContent(t[p].props.content),e.popperInstance.reference={referenceNode:a,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return a.getBoundingClientRect()}}},onAfterUpdate:function(t,e){_(o.onAfterUpdate,t.props.onAfterUpdate,[t,e]),p(e)},onDestroy:function(e){_(o.onDestroy,e.props.onDestroy,[e]),t.forEach(function(t){t.enable()})}});return ft(document.createElement("div"),l,n)},At.delegate=function(t,e,n){void 0===n&&(n=[]);var r=[],i=[],o=e.target,p=function(t,e){var n=a({},t);return e.forEach(function(t){delete n[t]}),n}(e,["target"]),u=a({},p,{trigger:"manual"}),c=a({},p,{showOnCreate:!0}),l=ft(t,u,n);function f(t){if(t.target){var r=t.target.closest(o);if(r)if(Y(r.getAttribute("data-tippy-trigger")||e.trigger||s.trigger,vt[t.type])){var a=ft(r,c,n);a&&(i=i.concat(a))}}}function d(t,e,n,i){void 0===i&&(i=!1),t.addEventListener(e,n,i),r.push({element:t,eventType:e,listener:n,options:i})}return K(l).forEach(function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&i.forEach(function(t){t.destroy()}),i=[],r.forEach(function(t){var e=t.element,n=t.eventType,r=t.listener,i=t.options;e.removeEventListener(n,r,i)}),r=[],e()},function(t){var e=t.reference;d(e,"mouseover",f),d(e,"focusin",f),d(e,"click",f)}(t)}),l},At.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;F(document.querySelectorAll(y)).forEach(function(t){var e,i=t._tippy;if(i){var o=!1;n&&(o=(e=n)&&e._tippy&&!e.classList.contains(d)?i.reference===n:t===n.popper),o||i.hide(r)}})},At.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',At}(Popper);
var tippy=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var n={passive:!0},r="tippy-iOS",i="tippy-popper",o="tippy-tooltip",a="tippy-content",p="tippy-backdrop",u="tippy-arrow",s="tippy-svg-arrow",c="."+i,f="."+o,l="."+a,d="."+u,v="."+s,m={isTouch:!1},h=0;function g(){m.isTouch||(m.isTouch=!0,window.performance&&document.addEventListener("mousemove",b))}function b(){var t=performance.now();t-h<20&&(m.isTouch=!1,document.removeEventListener("mousemove",b)),h=t}function y(){var t=document.activeElement,e=t._tippy;t&&t.blur&&e&&!e.state.isVisible&&t.blur()}var w="undefined"!=typeof window&&"undefined"!=typeof document,E=w?navigator.userAgent:"",T=/MSIE |Trident\//.test(E),A=/UCBrowser\//.test(E),C=w&&/iPhone|iPad|iPod/.test(navigator.platform);function x(t){var e=t&&C&&m.isTouch;document.body.classList[e?"add":"remove"](r)}var I="5.0.3",O={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},L=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function D(t,n){return e({},t,{},n.reduce(function(e,n){var r=n.name,i=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:i),e},{}))}var M=Object.keys(O);function k(t,e){return{}.hasOwnProperty.call(t,e)}function P(t){return S(t)?[t]:function(t){return B(t,"NodeList")}(t)?X(t):Array.isArray(t)?t:X(document.querySelectorAll(t))}function V(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function U(t,e){return t&&t.modifiers&&t.modifiers[e]}function B(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function S(t){return B(t,"Element")}function H(t){return B(t,"MouseEvent")}function N(t,e){return"function"==typeof t?t.apply(void 0,e):t}function z(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function R(){return document.createElement("div")}function q(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function j(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function _(t,n,r){var i=e({},n,{content:N(n.content,[t])},n.ignoreAttributes?{}:function(t,e){return(e?Object.keys(D(O,e)):M).reduce(function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e},{})}(t,r));return i.interactive&&(i.aria=null),i}function W(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)};var n}function F(t,e,n){t&&t!==e&&t.apply(void 0,n)}function X(t){return[].slice.call(t)}function Y(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}function J(t,e){return t.indexOf(e)>-1}function G(t){return t.split(/\s+/).filter(Boolean)}function K(t,e){return void 0!==t?t:e}function Q(t){return[].concat(t)}function Z(t){var e=Q(t)[0];return e&&e.ownerDocument||document}function $(t,e){-1===t.indexOf(e)&&t.push(e)}function tt(t){return"number"==typeof t?t+"px":t}function et(t,e){t.innerHTML=S(e)?e.innerHTML:e}function nt(t,e){if(S(e.content))et(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function rt(t){return{tooltip:t.querySelector(f),content:t.querySelector(l),arrow:t.querySelector(d)||t.querySelector(v)}}function it(t){t.setAttribute("data-inertia","")}function ot(t){var e=R();return!0===t?e.className=u:(e.className=s,S(t)?e.appendChild(t):et(e,t)),e}function at(t){t.setAttribute("data-interactive","")}function pt(t,e,n){var r=A&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ut(t){return t.split("-")[0]}function st(t,e,n){G(n).forEach(function(n){t.classList[e](n+"-theme")})}function ct(t,e){var n=R();n.className=i,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=R();r.className=o,r.id="tippy-"+t,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),st(r,"add",e.theme);var p=R();return p.className=a,p.setAttribute("data-state","hidden"),e.interactive&&at(r),e.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(ot(e.arrow))),e.inertia&&it(r),nt(p,e),r.appendChild(p),n.appendChild(r),ft(n,e,e),n}function ft(t,e,n){var r=rt(t),i=r.tooltip,o=r.content,a=r.arrow;t.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=tt(n.maxWidth),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),e.content!==n.content&&nt(o,n),!e.arrow&&n.arrow?(i.appendChild(ot(n.arrow)),i.setAttribute("data-arrow","")):e.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):e.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(ot(n.arrow))),!e.interactive&&n.interactive?at(i):e.interactive&&!n.interactive&&function(t){t.removeAttribute("data-interactive")}(i),!e.inertia&&n.inertia?it(i):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(i),e.theme!==n.theme&&(st(i,"remove",e.theme),st(i,"add",n.theme))}var lt=[],dt=1,vt=[];function mt(r,i,o){void 0===o&&(o=[]);var a,p,u,s=D(_(r,i,o),o);if(!s.multiple&&r._tippy)return null;var f,l,d,v,h=!1,g=!1,b=0,y=[],w=W(xt,s.interactiveDebounce),E=Z(s.triggerTarget||r),A=dt++,C=ct(A,s),I=rt(C),M=I.tooltip,P=I.content,B=[M,P],S={id:A,reference:r,popper:C,popperChildren:I,popperInstance:null,props:s,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:o,clearDelayTimeouts:function(){clearTimeout(a),clearTimeout(p),cancelAnimationFrame(u)},setProps:function(t){if(S.state.isDestroyed)return;at("onBeforeUpdate",[S,t]),At();var n=S.props,i=_(r,e({},S.props,{},t,{ignoreAttributes:!0}),o);i.ignoreAttributes=K(t.ignoreAttributes,n.ignoreAttributes),S.props=i,Tt(),n.interactiveDebounce!==i.interactiveDebounce&&(ht(),w=W(xt,i.interactiveDebounce));ft(C,n,i),S.popperChildren=rt(C),n.triggerTarget&&!i.triggerTarget?Q(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):i.triggerTarget&&r.removeAttribute("aria-expanded");mt(),S.popperInstance&&(L.some(function(e){return k(t,e)&&t[e]!==n[e]})?(S.popperInstance.destroy(),Dt(),S.state.isVisible&&S.popperInstance.enableEventListeners()):S.popperInstance.update());at("onAfterUpdate",[S,t])},setContent:function(t){S.setProps({content:t})},show:function(t){void 0===t&&(t=V(S.props.duration,0,O.duration));var e=S.state.isVisible,n=S.state.isDestroyed,r=!S.state.isEnabled,i=m.isTouch&&!S.props.touch;if(e||n||r||i)return;if(it().hasAttribute("disabled"))return;if(at("onShow",[S],!1),!1===S.props.onShow(S))return;bt(),C.style.visibility="visible",S.state.isVisible=!0,S.state.isMounted||q(B.concat(C),0);l=function(){S.state.isVisible&&(q([C],S.props.updateDuration),q(B,t),j(B,"visible"),st(),mt(),$(lt,S),x(!0),S.state.isMounted=!0,at("onMount",[S]),function(t,e){wt(t,e)}(t,function(){S.state.isShown=!0,at("onShown",[S])}))},function(){b=0;var t,e=S.props.appendTo,n=it();t=S.props.interactive&&e===O.appendTo||"parent"===e?n.parentNode:N(e,[n]);t.contains(C)||t.appendChild(C);S.popperInstance?(z(S.popperInstance.modifiers,S.props.flip),S.popperInstance.enableEventListeners(),S.popperInstance.update()):(Dt(),S.popperInstance.enableEventListeners())}()},hide:function(t){void 0===t&&(t=V(S.props.duration,1,O.duration));var e=!S.state.isVisible&&!h,n=S.state.isDestroyed,r=!S.state.isEnabled&&!h;if(e||n||r)return;if(at("onHide",[S],!1),!1===S.props.onHide(S)&&!h)return;yt(),C.style.visibility="hidden",S.state.isVisible=!1,S.state.isShown=!1,q(B,t),j(B,"hidden"),st(),mt(),function(t,e){wt(t,function(){!S.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&e()})}(t,function(){S.popperInstance.disableEventListeners(),S.popperInstance.options.placement=S.props.placement,C.parentNode.removeChild(C),0===(lt=lt.filter(function(t){return t!==S})).length&&x(!1),S.state.isMounted=!1,at("onHidden",[S])})},enable:function(){S.state.isEnabled=!0},disable:function(){S.hide(),S.state.isEnabled=!1},destroy:function(){if(S.state.isDestroyed)return;h=!0,S.clearDelayTimeouts(),S.hide(0),At(),delete r._tippy,S.popperInstance&&S.popperInstance.destroy();h=!1,S.state.isDestroyed=!0,at("onDestroy",[S])}};r._tippy=S,C._tippy=S;var R=o.map(function(t){return t.fn(S)});return Tt(),mt(),s.lazy||Dt(),at("onCreate",[S]),s.showOnCreate&&kt(),C.addEventListener("mouseenter",function(){S.props.interactive&&S.state.isVisible&&S.clearDelayTimeouts()}),C.addEventListener("mouseleave",function(){S.props.interactive&&J(S.props.trigger,"mouseenter")&&E.addEventListener("mousemove",w)}),S;function et(){var t=S.props.touch;return Array.isArray(t)?t:[t,0]}function nt(){return"hold"===et()[0]}function it(){return v||r}function ot(t){return S.state.isMounted&&!S.state.isVisible||m.isTouch||!f||"focus"===f.type?0:V(S.props.delay,t?0:1,O.delay)}function at(t,e,n){var r;(void 0===n&&(n=!0),R.forEach(function(n){k(n,t)&&n[t].apply(n,e)}),n)&&(r=S.props)[t].apply(r,e)}function st(){var t=S.props.aria;if(t){var e="aria-"+t,n=M.id;Q(S.props.triggerTarget||r).forEach(function(t){var r=t.getAttribute(e);if(S.state.isVisible)t.setAttribute(e,r?r+" "+n:n);else{var i=r&&r.replace(n,"").trim();i?t.setAttribute(e,i):t.removeAttribute(e)}})}}function mt(){Q(S.props.triggerTarget||r).forEach(function(t){S.props.interactive?t.setAttribute("aria-expanded",S.state.isVisible&&t===it()?"true":"false"):t.removeAttribute("aria-expanded")})}function ht(){E.body.removeEventListener("mouseleave",Pt),E.removeEventListener("mousemove",w),vt=vt.filter(function(t){return t!==w})}function gt(t){if(!S.props.interactive||!C.contains(t.target)){if(it().contains(t.target)){if(m.isTouch)return;if(S.state.isVisible&&J(S.props.trigger,"click"))return}!0===S.props.hideOnClick&&(S.clearDelayTimeouts(),S.hide(),g=!0,setTimeout(function(){g=!1}),S.state.isMounted||yt())}}function bt(){E.addEventListener("mousedown",gt,!0)}function yt(){E.removeEventListener("mousedown",gt,!0)}function wt(t,e){function n(t){t.target===M&&(pt(M,"remove",n),e())}if(0===t)return e();pt(M,"remove",d),pt(M,"add",n),d=n}function Et(t,e,n){void 0===n&&(n=!1),Q(S.props.triggerTarget||r).forEach(function(r){r.addEventListener(t,e,n),y.push({node:r,eventType:t,handler:e,options:n})})}function Tt(){nt()&&(Et("touchstart",Ct,n),Et("touchend",It,n)),G(S.props.trigger).forEach(function(t){if("manual"!==t)switch(Et(t,Ct),t){case"mouseenter":Et("mouseleave",It);break;case"focus":Et(T?"focusout":"blur",Ot)}})}function At(){y.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),y=[]}function Ct(t){if(S.state.isEnabled&&!Lt(t)&&!g)if(f=t,v=t.currentTarget,mt(),!S.state.isVisible&&H(t)&&vt.forEach(function(e){return e(t)}),"click"===t.type&&!1!==S.props.hideOnClick&&S.state.isVisible)Pt(t);else{var e=et(),n=e[0],r=e[1];m.isTouch&&"hold"===n&&r?a=setTimeout(function(){kt(t)},r):kt(t)}}function xt(t){Y(t.target,function(t){return t===r||t===C})||function(t,e){var n=e.clientX,r=e.clientY;return t.every(function(t){var e=t.popperRect,i=t.interactiveBorder,o=e.top>r+i,a=e.bottom<r-i,p=e.left>n+i,u=e.right<n-i;return o||a||p||u})}(X(C.querySelectorAll(c)).concat(C).map(function(t){return{popperRect:t.getBoundingClientRect(),interactiveBorder:t._tippy.props.interactiveBorder}}),t)&&(ht(),Pt(t))}function It(t){if(!Lt(t))return S.props.interactive?(E.body.addEventListener("mouseleave",Pt),E.addEventListener("mousemove",w),void $(vt,w)):void Pt(t)}function Ot(t){t.target===it()&&(S.props.interactive&&t.relatedTarget&&C.contains(t.relatedTarget)||Pt(t))}function Lt(t){var e="ontouchstart"in window,n=J(t.type,"touch"),r=nt();return e&&m.isTouch&&r&&!n||m.isTouch&&!r&&n}function Dt(){var n=S.props.popperOptions,i=S.popperChildren.arrow;function o(t){S.state.currentPlacement=t.placement,S.props.flip&&!S.props.flipOnUpdate&&(t.flipped&&(S.popperInstance.options.placement=t.placement),z(S.popperInstance.modifiers,!1)),M.setAttribute("data-placement",t.placement),!1!==t.attributes["x-out-of-boundaries"]?M.setAttribute("data-out-of-boundaries",""):M.removeAttribute("data-out-of-boundaries");var e=ut(t.placement),n=tt(S.props.distance),r={bottom:n+" 0 0 0",left:"0 "+n+" 0 0",top:"0 0 "+n+" 0",right:"0 0 0 "+n};C.style.padding=r[e]}var a=e({eventsEnabled:!1,placement:S.props.placement},n,{modifiers:e({},n&&n.modifiers,{preventOverflow:e({boundariesElement:S.props.boundary},U(n,"preventOverflow")),arrow:e({element:i,enabled:!!i},U(n,"arrow")),flip:e({enabled:S.props.flip,behavior:S.props.flipBehavior},U(n,"flip")),offset:e({offset:S.props.offset},U(n,"offset"))}),onCreate:function(t){o(t),F(n&&n.onCreate,a.onCreate,[t]),Mt()},onUpdate:function(t){o(t),F(n&&n.onUpdate,a.onUpdate,[t]),Mt()}});S.popperInstance=new t(r,C,a)}function Mt(){0===b?(b++,S.popperInstance.update()):l&&1===b&&(b++,function(t){t.offsetHeight}(C),l())}function kt(t){S.clearDelayTimeouts(),S.popperInstance||Dt(),t&&at("onTrigger",[S,t]),bt();var e=ot(!0);e?a=setTimeout(function(){S.show()},e):S.show()}function Pt(t){if(S.clearDelayTimeouts(),at("onUntrigger",[S,t]),S.state.isVisible){var e=ot(!1);e?p=setTimeout(function(){S.state.isVisible&&S.hide()},e):u=requestAnimationFrame(function(){S.hide()})}else yt()}}function ht(t,r,i){void 0===i&&(i=[]),document.addEventListener("touchstart",g,e({},n,{capture:!0})),window.addEventListener("blur",y);var o=e({},O,{},r),a=P(t).reduce(function(t,e){var n=e&&mt(e,o,i);return n&&t.push(n),t},[]);return S(t)?a[0]:a}function gt(t){Object.keys(t).forEach(function(e){O[e]=t[e]})}ht.version=I,ht.defaultProps=O,ht.setDefaultProps=gt,ht.currentInput=m;var bt={mouseover:"mouseenter",focusin:"focus",click:"click"};var yt={name:"animateFill",defaultValue:!1,fn:function(t){var e=t.popperChildren,n=e.tooltip,r=e.content,i=t.props.animateFill&&!A?function(){var t=R();return t.className=p,j([t],"hidden"),t}():null;function o(){t.popperChildren.backdrop=i}return{onCreate:function(){i&&(o(),n.insertBefore(i,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",t.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(i){var t=n.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,j([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&j([i],"hidden")},onAfterUpdate:function(){o()}}}};var wt={name:"followCursor",defaultValue:!1,fn:function(t){var e,n=t.reference,r=t.popper,i=Z(t.props.triggerTarget||n),o=null,a=!1,p=t.props;function u(){var e=p.placement;if(e){var n=e.split("-")[1];a=!0,t.setProps({placement:s()&&n?e.replace(n,"start"===n?"end":"start"):e}),a=!1}}function s(){return t.props.followCursor&&H(o)&&!(0===o.clientX&&0===o.clientY)}function c(){return m.isTouch||"initial"===t.props.followCursor&&t.state.isVisible}function f(){t.popperInstance&&(t.popperInstance.reference=n)}function l(){t.popperInstance&&s()&&(c()||!0!==t.props.followCursor)&&t.popperInstance.disableEventListeners()}function d(){s()&&h(e)}function v(){i.removeEventListener("mousemove",h)}function h(i){var o=e=i,a=o.clientX,p=o.clientY;if(t.popperInstance&&t.state.currentPlacement){var u=Y(i.target,function(t){return t===n}),s=n.getBoundingClientRect(),f=t.props.followCursor,l="horizontal"===f,d="vertical"===f,m=J(["top","bottom"],ut(t.state.currentPlacement)),h=function(t,e){var n=e?t.offsetWidth:t.offsetHeight;return{size:n,x:e?n:0,y:e?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!u&&t.props.interactive||(t.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(l?s.top:p)-y,bottom:(l?s.bottom:p)+y,left:(d?s.left:a)-b,right:(d?s.right:a)+b}}},t.popperInstance.update()),c()&&v()}}return{onAfterUpdate:function(t,e){var n;a||(n=e,Object.keys(n).forEach(function(t){p[t]=K(n[t],p[t])}),e.placement&&u()),e.placement&&l(),requestAnimationFrame(d)},onMount:function(){d(),l()},onTrigger:function(n,r){o||(o=r,H(r)&&(e=r),s()&&c()?(a=!0,t.setProps({flipOnUpdate:!0}),a=!1):t.setProps({flipOnUpdate:p.flipOnUpdate}),u(),s()?r===o&&i.addEventListener("mousemove",h):f())},onUntrigger:function(){t.state.isVisible||(v(),o=null)},onHidden:function(){v(),f(),o=null}}}};var Et={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e=t.reference;function n(){return t.props.inlinePositioning}return{onHidden:function(){n()&&(t.popperInstance.reference=e)},onTrigger:function(){n()&&(t.popperInstance.reference={referenceNode:e,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(t,e,n){if(n.length<2||null===t)return e;var r;switch(t){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===t,p=i.top,u=o.bottom,s=a?i.left:o.left,c=a?i.right:o.right;r={top:p,bottom:u,left:s,right:c,width:c-s,height:u-p};break;case"left":case"right":var f=Math.min.apply(Math,n.map(function(t){return t.left})),l=Math.max.apply(Math,n.map(function(t){return t.right})),d=n.filter(function(e){return"left"===t?e.left===f:e.right===l}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};break;default:r=e}return r}(t.state.currentPlacement&&ut(t.state.currentPlacement),e.getBoundingClientRect(),X(e.getClientRects()))}})}}}};var Tt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var i=null,o=null;function a(){var p=r("reference")?e.getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(p&&At(i,p)||u&&At(o,u))&&t.popperInstance.update(),i=p,o=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function At(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}w&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,r=document.querySelector("head>style,head>link");r?n.insertBefore(e,r):n.appendChild(e)}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100vw - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;background-color:#333;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top]>.tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom]>.tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left]>.tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right]>.tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-interactive][data-state=visible]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:5px 9px}");var Ct,xt,It=(Ct=[yt,wt,Et,Tt],(xt=function(t,e,n){return void 0===n&&(n=[]),ht(t,e,[].concat(Ct,n))}).version=I,xt.defaultProps=O,xt.setDefaultProps=gt,xt.currentInput=m,xt);return It.createSingleton=function(t,n,r){var i,o;void 0===r&&(r=[]),t.forEach(function(t){t.disable()});var a={};function p(t){Object.keys(t).forEach(function(e){a[e]=K(t[e],a[e])})}function u(t,e,n){i&&(n&&!e?o.setAttribute("aria-"+i,t):o.removeAttribute("aria-"+i))}p(e({},O,{},n));var s=t.map(function(t){return t.reference}),c=e({},n,{aria:null,triggerTarget:s,onMount:function(t){F(a.onMount,t.props.onMount,[t]),u(t.popperChildren.tooltip.id,t.props.interactive,!0)},onUntrigger:function(t,e){F(a.onUntrigger,t.props.onUntrigger,[t,e]),u(t.popperChildren.tooltip.id,t.props.interactive,!1)},onTrigger:function(e,n){F(a.onTrigger,e.props.onTrigger,[e,n]);var r=n.currentTarget,p=s.indexOf(r);o=r,i=a.aria,e.state.isVisible&&u(e.popperChildren.tooltip.id,e.props.interactive,!0),e.setContent(t[p].props.content),e.popperInstance.reference={referenceNode:r,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return r.getBoundingClientRect()}}},onAfterUpdate:function(t,e){F(a.onAfterUpdate,t.props.onAfterUpdate,[t,e]),p(e)},onDestroy:function(e){F(a.onDestroy,e.props.onDestroy,[e]),t.forEach(function(t){t.enable()})}});return ht(document.createElement("div"),c,r)},It.delegate=function(t,n,r){void 0===r&&(r=[]);var i=[],o=[],a=n.target,p=function(t,n){var r=e({},t);return n.forEach(function(t){delete r[t]}),r}(n,["target"]),u=e({},p,{trigger:"manual"}),s=e({},p,{showOnCreate:!0}),c=ht(t,u,r);function f(t){if(t.target){var e=t.target.closest(a);if(e)if(J(e.getAttribute("data-tippy-trigger")||n.trigger||O.trigger,bt[t.type])){var i=ht(e,s,r);i&&(o=o.concat(i))}}}function l(t,e,n,r){void 0===r&&(r=!1),t.addEventListener(e,n,r),i.push({element:t,eventType:e,listener:n,options:r})}return Q(c).forEach(function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&o.forEach(function(t){t.destroy()}),o=[],i.forEach(function(t){var e=t.element,n=t.eventType,r=t.listener,i=t.options;e.removeEventListener(n,r,i)}),i=[],e()},function(t){var e=t.reference;l(e,"mouseover",f),l(e,"focusin",f),l(e,"click",f)}(t)}),c},It.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;lt.forEach(function(t){var e,i=!1;n&&(i=(e=n)&&e._tippy&&e._tippy.reference===e?t.reference===n:t.popper===n.popper),i||t.hide(r)})},It.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',It}(Popper);
//# sourceMappingURL=tippy-bundle.iife.min.js.map
/**!
* tippy.js v5.0.2
* tippy.js v5.0.3
* (c) 2017-2019 atomiks

@@ -30,3 +30,3 @@ * MIT License

var version = "5.0.2";
var version = "5.0.3";

@@ -56,3 +56,3 @@ var defaultProps = {

lazy: true,
maxWidth: '22rem',
maxWidth: 350,
multiple: false,

@@ -101,8 +101,2 @@ offset: 0,

var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
var ua = isBrowser ? navigator.userAgent : '';
var isIE = /MSIE |Trident\//.test(ua);
var isUCBrowser = /UCBrowser\//.test(ua);
var isIOS = isBrowser && /iPhone|iPad|iPod/.test(navigator.platform);
var PASSIVE = {

@@ -143,6 +137,2 @@ passive: true

if (isIOS) {
document.body.classList.add(IOS_CLASS);
}
if (window.performance) {

@@ -164,6 +154,2 @@ document.addEventListener('mousemove', onDocumentMouseMove);

document.removeEventListener('mousemove', onDocumentMouseMove);
if (!isIOS) {
document.body.classList.remove(IOS_CLASS);
}
}

@@ -200,2 +186,12 @@

var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
var ua = isBrowser ? navigator.userAgent : '';
var isIE = /MSIE |Trident\//.test(ua);
var isUCBrowser = /UCBrowser\//.test(ua);
var isIOS = isBrowser && /iPhone|iPad|iPod/.test(navigator.platform);
function updateIOSClass(isAdd) {
var shouldAdd = isAdd && isIOS && currentInput.isTouch;
document.body.classList[shouldAdd ? 'add' : 'remove'](IOS_CLASS);
}
var keys = Object.keys(defaultProps);

@@ -234,3 +230,3 @@ /**

function isReferenceElement(value) {
return !!(value && value._tippy && !value.classList.contains(POPPER_CLASS));
return !!(value && value._tippy && value._tippy.reference === value);
}

@@ -485,4 +481,20 @@ /**

}
/**
* Adds item to array if array does not contain it
*/
function pushIfUnique(arr, value) {
if (arr.indexOf(value) === -1) {
arr.push(value);
}
}
/**
* Adds `px` if value is a number, or returns it directly
*/
function appendPxIfNumber(value) {
return typeof value === 'number' ? value + "px" : value;
}
/**
* Sets the innerHTML of an element

@@ -649,3 +661,3 @@ */

tooltip.setAttribute('data-animation', nextProps.animation);
tooltip.style.maxWidth = nextProps.maxWidth + (typeof nextProps.maxWidth === 'number' ? 'px' : '');
tooltip.style.maxWidth = appendPxIfNumber(nextProps.maxWidth);

@@ -702,10 +714,14 @@ if (nextProps.role) {

function isCursorOutsideInteractiveBorder(popperRect, event, interactiveBorder) {
function isCursorOutsideInteractiveBorder(popperTreeData, event) {
var clientX = event.clientX,
clientY = event.clientY;
var exceedsTop = popperRect.top > clientY + interactiveBorder;
var exceedsBottom = popperRect.bottom < clientY - interactiveBorder;
var exceedsLeft = popperRect.left > clientX + interactiveBorder;
var exceedsRight = popperRect.right < clientX - interactiveBorder;
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
return popperTreeData.every(function (_ref) {
var popperRect = _ref.popperRect,
interactiveBorder = _ref.interactiveBorder;
var exceedsTop = popperRect.top > clientY + interactiveBorder;
var exceedsBottom = popperRect.bottom < clientY - interactiveBorder;
var exceedsLeft = popperRect.left > clientX + interactiveBorder;
var exceedsRight = popperRect.right < clientX - interactiveBorder;
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
});
}

@@ -773,6 +789,6 @@

var didPassUnknownProp = !hasOwnProperty(getExtendedProps(defaultProps, plugins), prop) && !includes(['a11y', 'arrowType', 'showOnInit', 'size', 'target', 'touchHold'], prop);
warnWhen(prop === 'target', "The `target` prop was removed in v5 and replaced with the delegate()\n method in order to conserve bundle size.\n \n Read more: https//atomiks.github.io/tippyjs/addons#event-delegation");
warnWhen(prop === 'target', "The `target` prop was removed in v5 and replaced with the delegate()\n addon in order to conserve bundle size.\n \n See: https://atomiks.github.io/tippyjs/addons/#event-delegation");
warnWhen(prop === 'a11y', "The `a11y` prop was removed in v5. Make sure the element you are giving\n a tippy to is natively focusable, such as <button> or <input>, not <div>\n or <span>.");
warnWhen(prop === 'showOnInit', "The `showOnInit` prop was renamed to `showOnCreate` in v5.");
warnWhen(prop === 'arrowType', "The `arrowType` prop was removed in v5 in favor of overloading the\n `arrow` prop.\n \n Before: {arrow: true, arrowType: \"round\"}\n After: {arrow: \"round\"}");
warnWhen(prop === 'arrowType', "The `arrowType` prop was removed in v5 in favor of overloading the\n `arrow` prop.\n\n \"round\" string was replaced with importing the string from the package.\n\n * import {roundArrow} from 'tippy.js'; (ESM version)\n * const {roundArrow} = tippy; (IIFE CDN version)\n\n Before: {arrow: true, arrowType: \"round\"}\n After: {arrow: roundArrow}");
warnWhen(prop === 'touchHold', "The `touchHold` prop was removed in v5 in favor of overloading the\n `touch` prop.\n \n Before: {touchHold: true}\n After: {touch: \"hold\"}");

@@ -782,3 +798,3 @@ warnWhen(prop === 'size', "The `size` prop was removed in v5. Instead, use a theme that specifies\n CSS padding and font-size properties.");

warnWhen(didSpecifyPlacementInPopperOptions, "Specifying placement in `popperOptions` is not supported. Use the\n base-level `placement` prop instead.\n \n Before: {popperOptions: {placement: \"bottom\"}}\n After: {placement: \"bottom\"}");
warnWhen(didPassUnknownProp, "The `" + prop + "` prop is not a valid prop. You may have spelled it \n incorrectly, or if it's a plugin, forgot to pass it in an array as a 3rd\n argument to `tippy()`.\n\n In v5, the following props were turned into plugins:\n\n * animateFill\n * followCursor\n * sticky\n \n All props: https://atomiks.github.io/tippyjs/all-props/\n Plugins: https://atomiks.github.io/tippyjs/plugins/");
warnWhen(didPassUnknownProp, "`" + prop + "` is not a valid prop. You may have spelled it incorrectly,\n or if it's a plugin, forgot to pass it in an array as a 3rd argument to\n `tippy()`.\n\n In v5, the following props were turned into plugins:\n\n * animateFill\n * followCursor\n * sticky\n\n All props: https://atomiks.github.io/tippyjs/all-props/\n Plugins: https://atomiks.github.io/tippyjs/plugins/");
});

@@ -797,2 +813,3 @@ }

var mountedInstances = [];
var idCounter = 1; // Workaround for IE11's lack of new MouseEvent constructor

@@ -1184,3 +1201,10 @@

if (isCursorOutsideInteractiveBorder(popper.getBoundingClientRect(), event, instance.props.interactiveBorder)) {
var popperTreeData = arrayFrom(popper.querySelectorAll(POPPER_SELECTOR)).concat(popper).map(function (popper) {
return {
popperRect: popper.getBoundingClientRect(),
interactiveBorder: popper._tippy.props.interactiveBorder
};
});
if (isCursorOutsideInteractiveBorder(popperTreeData, event)) {
cleanupInteractiveMouseListeners();

@@ -1199,3 +1223,3 @@ scheduleHide(event);

doc.addEventListener('mousemove', debouncedOnMouseMove);
mouseMoveListeners.push(debouncedOnMouseMove);
pushIfUnique(mouseMoveListeners, debouncedOnMouseMove);
return;

@@ -1251,8 +1275,8 @@ }

var basePlacement = getBasePlacement(data.placement);
var distance = instance.props.distance;
var distance = appendPxIfNumber(instance.props.distance);
var padding = {
bottom: distance + "px 0 0 0",
left: "0 " + distance + "px 0 0",
top: "0 0 " + distance + "px 0",
right: "0 0 0 " + distance + "px"
bottom: distance + " 0 0 0",
left: "0 " + distance + " 0 0",
top: "0 0 " + distance + " 0",
right: "0 0 0 " + distance
};

@@ -1540,2 +1564,4 @@ popper.style.padding = padding[basePlacement];

handleAriaExpandedAttribute();
pushIfUnique(mountedInstances, instance);
updateIOSClass(true);
instance.state.isMounted = true;

@@ -1588,2 +1614,10 @@ invokeHook('onMount', [instance]);

popper.parentNode.removeChild(popper);
mountedInstances = mountedInstances.filter(function (i) {
return i !== instance;
});
if (mountedInstances.length === 0) {
updateIOSClass(false);
}
instance.state.isMounted = false;

@@ -1679,3 +1713,3 @@ invokeHook('onHidden', [instance]);

function createTippyWithPlugins(outerPlugins) {
var fn = function fn(targets, optionalProps, innerPlugins) {
var tippyPluginsWrapper = function tippyPluginsWrapper(targets, optionalProps, innerPlugins) {
if (innerPlugins === void 0) {

@@ -1688,7 +1722,7 @@ innerPlugins = [];

fn.version = version;
fn.defaultProps = defaultProps;
fn.setDefaultProps = setDefaultProps;
fn.currentInput = currentInput;
return fn;
tippyPluginsWrapper.version = version;
tippyPluginsWrapper.defaultProps = defaultProps;
tippyPluginsWrapper.setDefaultProps = setDefaultProps;
tippyPluginsWrapper.currentInput = currentInput;
return tippyPluginsWrapper;
}

@@ -1704,15 +1738,11 @@ /**

arrayFrom(document.querySelectorAll(POPPER_SELECTOR)).forEach(function (popper) {
var instance = popper._tippy;
mountedInstances.forEach(function (instance) {
var isExcluded = false;
if (instance) {
var isExcluded = false;
if (excludedReferenceOrInstance) {
isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : instance.popper === excludedReferenceOrInstance.popper;
}
if (excludedReferenceOrInstance) {
isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : popper === excludedReferenceOrInstance.popper;
}
if (!isExcluded) {
instance.hide(duration);
}
if (!isExcluded) {
instance.hide(duration);
}

@@ -1719,0 +1749,0 @@ });

/**!
* tippy.js v5.0.2
* tippy.js v5.0.3
* (c) 2017-2019 atomiks

@@ -26,3 +26,3 @@ * MIT License

var version = "5.0.2";
var version = "5.0.3";

@@ -52,3 +52,3 @@ var defaultProps = {

lazy: true,
maxWidth: '22rem',
maxWidth: 350,
multiple: false,

@@ -97,8 +97,2 @@ offset: 0,

var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
var ua = isBrowser ? navigator.userAgent : '';
var isIE = /MSIE |Trident\//.test(ua);
var isUCBrowser = /UCBrowser\//.test(ua);
var isIOS = isBrowser && /iPhone|iPad|iPod/.test(navigator.platform);
var PASSIVE = {

@@ -139,6 +133,2 @@ passive: true

if (isIOS) {
document.body.classList.add(IOS_CLASS);
}
if (window.performance) {

@@ -160,6 +150,2 @@ document.addEventListener('mousemove', onDocumentMouseMove);

document.removeEventListener('mousemove', onDocumentMouseMove);
if (!isIOS) {
document.body.classList.remove(IOS_CLASS);
}
}

@@ -196,2 +182,12 @@

var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
var ua = isBrowser ? navigator.userAgent : '';
var isIE = /MSIE |Trident\//.test(ua);
var isUCBrowser = /UCBrowser\//.test(ua);
var isIOS = isBrowser && /iPhone|iPad|iPod/.test(navigator.platform);
function updateIOSClass(isAdd) {
var shouldAdd = isAdd && isIOS && currentInput.isTouch;
document.body.classList[shouldAdd ? 'add' : 'remove'](IOS_CLASS);
}
var keys = Object.keys(defaultProps);

@@ -230,3 +226,3 @@ /**

function isReferenceElement(value) {
return !!(value && value._tippy && !value.classList.contains(POPPER_CLASS));
return !!(value && value._tippy && value._tippy.reference === value);
}

@@ -481,4 +477,20 @@ /**

}
/**
* Adds item to array if array does not contain it
*/
function pushIfUnique(arr, value) {
if (arr.indexOf(value) === -1) {
arr.push(value);
}
}
/**
* Adds `px` if value is a number, or returns it directly
*/
function appendPxIfNumber(value) {
return typeof value === 'number' ? value + "px" : value;
}
/**
* Sets the innerHTML of an element

@@ -645,3 +657,3 @@ */

tooltip.setAttribute('data-animation', nextProps.animation);
tooltip.style.maxWidth = nextProps.maxWidth + (typeof nextProps.maxWidth === 'number' ? 'px' : '');
tooltip.style.maxWidth = appendPxIfNumber(nextProps.maxWidth);

@@ -698,10 +710,14 @@ if (nextProps.role) {

function isCursorOutsideInteractiveBorder(popperRect, event, interactiveBorder) {
function isCursorOutsideInteractiveBorder(popperTreeData, event) {
var clientX = event.clientX,
clientY = event.clientY;
var exceedsTop = popperRect.top > clientY + interactiveBorder;
var exceedsBottom = popperRect.bottom < clientY - interactiveBorder;
var exceedsLeft = popperRect.left > clientX + interactiveBorder;
var exceedsRight = popperRect.right < clientX - interactiveBorder;
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
return popperTreeData.every(function (_ref) {
var popperRect = _ref.popperRect,
interactiveBorder = _ref.interactiveBorder;
var exceedsTop = popperRect.top > clientY + interactiveBorder;
var exceedsBottom = popperRect.bottom < clientY - interactiveBorder;
var exceedsLeft = popperRect.left > clientX + interactiveBorder;
var exceedsRight = popperRect.right < clientX - interactiveBorder;
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
});
}

@@ -769,6 +785,6 @@

var didPassUnknownProp = !hasOwnProperty(getExtendedProps(defaultProps, plugins), prop) && !includes(['a11y', 'arrowType', 'showOnInit', 'size', 'target', 'touchHold'], prop);
warnWhen(prop === 'target', "The `target` prop was removed in v5 and replaced with the delegate()\n method in order to conserve bundle size.\n \n Read more: https//atomiks.github.io/tippyjs/addons#event-delegation");
warnWhen(prop === 'target', "The `target` prop was removed in v5 and replaced with the delegate()\n addon in order to conserve bundle size.\n \n See: https://atomiks.github.io/tippyjs/addons/#event-delegation");
warnWhen(prop === 'a11y', "The `a11y` prop was removed in v5. Make sure the element you are giving\n a tippy to is natively focusable, such as <button> or <input>, not <div>\n or <span>.");
warnWhen(prop === 'showOnInit', "The `showOnInit` prop was renamed to `showOnCreate` in v5.");
warnWhen(prop === 'arrowType', "The `arrowType` prop was removed in v5 in favor of overloading the\n `arrow` prop.\n \n Before: {arrow: true, arrowType: \"round\"}\n After: {arrow: \"round\"}");
warnWhen(prop === 'arrowType', "The `arrowType` prop was removed in v5 in favor of overloading the\n `arrow` prop.\n\n \"round\" string was replaced with importing the string from the package.\n\n * import {roundArrow} from 'tippy.js'; (ESM version)\n * const {roundArrow} = tippy; (IIFE CDN version)\n\n Before: {arrow: true, arrowType: \"round\"}\n After: {arrow: roundArrow}");
warnWhen(prop === 'touchHold', "The `touchHold` prop was removed in v5 in favor of overloading the\n `touch` prop.\n \n Before: {touchHold: true}\n After: {touch: \"hold\"}");

@@ -778,3 +794,3 @@ warnWhen(prop === 'size', "The `size` prop was removed in v5. Instead, use a theme that specifies\n CSS padding and font-size properties.");

warnWhen(didSpecifyPlacementInPopperOptions, "Specifying placement in `popperOptions` is not supported. Use the\n base-level `placement` prop instead.\n \n Before: {popperOptions: {placement: \"bottom\"}}\n After: {placement: \"bottom\"}");
warnWhen(didPassUnknownProp, "The `" + prop + "` prop is not a valid prop. You may have spelled it \n incorrectly, or if it's a plugin, forgot to pass it in an array as a 3rd\n argument to `tippy()`.\n\n In v5, the following props were turned into plugins:\n\n * animateFill\n * followCursor\n * sticky\n \n All props: https://atomiks.github.io/tippyjs/all-props/\n Plugins: https://atomiks.github.io/tippyjs/plugins/");
warnWhen(didPassUnknownProp, "`" + prop + "` is not a valid prop. You may have spelled it incorrectly,\n or if it's a plugin, forgot to pass it in an array as a 3rd argument to\n `tippy()`.\n\n In v5, the following props were turned into plugins:\n\n * animateFill\n * followCursor\n * sticky\n\n All props: https://atomiks.github.io/tippyjs/all-props/\n Plugins: https://atomiks.github.io/tippyjs/plugins/");
});

@@ -793,2 +809,3 @@ }

var mountedInstances = [];
var idCounter = 1; // Workaround for IE11's lack of new MouseEvent constructor

@@ -1180,3 +1197,10 @@

if (isCursorOutsideInteractiveBorder(popper.getBoundingClientRect(), event, instance.props.interactiveBorder)) {
var popperTreeData = arrayFrom(popper.querySelectorAll(POPPER_SELECTOR)).concat(popper).map(function (popper) {
return {
popperRect: popper.getBoundingClientRect(),
interactiveBorder: popper._tippy.props.interactiveBorder
};
});
if (isCursorOutsideInteractiveBorder(popperTreeData, event)) {
cleanupInteractiveMouseListeners();

@@ -1195,3 +1219,3 @@ scheduleHide(event);

doc.addEventListener('mousemove', debouncedOnMouseMove);
mouseMoveListeners.push(debouncedOnMouseMove);
pushIfUnique(mouseMoveListeners, debouncedOnMouseMove);
return;

@@ -1247,8 +1271,8 @@ }

var basePlacement = getBasePlacement(data.placement);
var distance = instance.props.distance;
var distance = appendPxIfNumber(instance.props.distance);
var padding = {
bottom: distance + "px 0 0 0",
left: "0 " + distance + "px 0 0",
top: "0 0 " + distance + "px 0",
right: "0 0 0 " + distance + "px"
bottom: distance + " 0 0 0",
left: "0 " + distance + " 0 0",
top: "0 0 " + distance + " 0",
right: "0 0 0 " + distance
};

@@ -1536,2 +1560,4 @@ popper.style.padding = padding[basePlacement];

handleAriaExpandedAttribute();
pushIfUnique(mountedInstances, instance);
updateIOSClass(true);
instance.state.isMounted = true;

@@ -1584,2 +1610,10 @@ invokeHook('onMount', [instance]);

popper.parentNode.removeChild(popper);
mountedInstances = mountedInstances.filter(function (i) {
return i !== instance;
});
if (mountedInstances.length === 0) {
updateIOSClass(false);
}
instance.state.isMounted = false;

@@ -1675,3 +1709,3 @@ invokeHook('onHidden', [instance]);

function createTippyWithPlugins(outerPlugins) {
var fn = function fn(targets, optionalProps, innerPlugins) {
var tippyPluginsWrapper = function tippyPluginsWrapper(targets, optionalProps, innerPlugins) {
if (innerPlugins === void 0) {

@@ -1684,7 +1718,7 @@ innerPlugins = [];

fn.version = version;
fn.defaultProps = defaultProps;
fn.setDefaultProps = setDefaultProps;
fn.currentInput = currentInput;
return fn;
tippyPluginsWrapper.version = version;
tippyPluginsWrapper.defaultProps = defaultProps;
tippyPluginsWrapper.setDefaultProps = setDefaultProps;
tippyPluginsWrapper.currentInput = currentInput;
return tippyPluginsWrapper;
}

@@ -1700,15 +1734,11 @@ /**

arrayFrom(document.querySelectorAll(POPPER_SELECTOR)).forEach(function (popper) {
var instance = popper._tippy;
mountedInstances.forEach(function (instance) {
var isExcluded = false;
if (instance) {
var isExcluded = false;
if (excludedReferenceOrInstance) {
isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : instance.popper === excludedReferenceOrInstance.popper;
}
if (excludedReferenceOrInstance) {
isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : popper === excludedReferenceOrInstance.popper;
}
if (!isExcluded) {
instance.hide(duration);
}
if (!isExcluded) {
instance.hide(duration);
}

@@ -1715,0 +1745,0 @@ });

/**!
* tippy.js v5.0.2
* tippy.js v5.0.3
* (c) 2017-2019 atomiks

@@ -248,2 +248,3 @@ * MIT License

tooltip.setAttribute('data-animatefill', '');
tooltip.style.overflow = 'hidden';
instance.setProps({

@@ -250,0 +251,0 @@ animation: 'shift-away',

/**!
* tippy.js v5.0.2
* tippy.js v5.0.3
* (c) 2017-2019 atomiks

@@ -245,2 +245,3 @@ * MIT License

tooltip.setAttribute('data-animatefill', '');
tooltip.style.overflow = 'hidden';
instance.setProps({

@@ -247,0 +248,0 @@ animation: 'shift-away',

@@ -1,2 +0,2 @@

var tippy=function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e;var n="5.0.2",r={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:"22rem",multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},i=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function o(e,n){return t({},e,{},n.reduce(function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t},{}))}var a="undefined"!=typeof window&&"undefined"!=typeof document,u=a?navigator.userAgent:"",s=/MSIE |Trident\//.test(u),c=/UCBrowser\//.test(u),p=a&&/iPhone|iPad|iPod/.test(navigator.platform),f={passive:!0},l="tippy-iOS",d="tippy-popper",v="tippy-tooltip",m="tippy-content",h="tippy-backdrop",g="tippy-arrow",b="tippy-svg-arrow",y="."+d,w="."+v,E="."+m,T="."+g,A="."+b,C={isTouch:!1},I=0;function L(){C.isTouch||(C.isTouch=!0,p&&document.body.classList.add(l),window.performance&&document.addEventListener("mousemove",O))}function O(){var e=performance.now();e-I<20&&(C.isTouch=!1,document.removeEventListener("mousemove",O),p||document.body.classList.remove(l)),I=e}function D(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var x=Object.keys(r);function M(e,t){return{}.hasOwnProperty.call(e,t)}function P(e){return B(e)?[e]:function(e){return k(e,"NodeList")}(e)?F(e):Array.isArray(e)?e:F(document.querySelectorAll(e))}function V(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function U(e,t){return e&&e.modifiers&&e.modifiers[t]}function k(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function B(e){return k(e,"Element")}function S(e){return k(e,"MouseEvent")}function H(e,t){return"function"==typeof e?e.apply(void 0,t):e}function N(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function R(){return document.createElement("div")}function q(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function z(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function j(e,n,i){var a=t({},n,{content:H(n.content,[e])},n.ignoreAttributes?{}:function(e,t){return(t?Object.keys(o(r,t)):x).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,i));return a.interactive&&(a.aria=null),a}function W(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function _(e,t,n){e&&e!==t&&e.apply(void 0,n)}function F(e){return[].slice.call(e)}function X(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null}function Y(e,t){return e.indexOf(t)>-1}function J(e){return e.split(/\s+/).filter(Boolean)}function G(e,t){return void 0!==e?e:t}function K(e){return[].concat(e)}function Q(e){var t=K(e)[0];return t&&t.ownerDocument||document}function Z(e,t){e.innerHTML=B(t)?t.innerHTML:t}function $(e,t){if(B(t.content))Z(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function ee(e){return{tooltip:e.querySelector(w),content:e.querySelector(E),arrow:e.querySelector(T)||e.querySelector(A)}}function te(e){e.setAttribute("data-inertia","")}function ne(e){var t=R();return!0===e?t.className=g:(t.className=b,B(e)?t.appendChild(e):Z(t,e)),t}function re(e){e.setAttribute("data-interactive","")}function ie(e,t,n){var r=c&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](r,n)}function oe(e){return e.split("-")[0]}function ae(e,t,n){J(n).forEach(function(n){e.classList[t](n+"-theme")})}function ue(e,t){var n=R();n.className=d,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=R();r.className=v,r.id="tippy-"+e,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),ae(r,"add",t.theme);var i=R();return i.className=m,i.setAttribute("data-state","hidden"),t.interactive&&re(r),t.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(ne(t.arrow))),t.inertia&&te(r),$(i,t),r.appendChild(i),n.appendChild(r),se(n,t,t),n}function se(e,t,n){var r=ee(e),i=r.tooltip,o=r.content,a=r.arrow;e.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),t.content!==n.content&&$(o,n),!t.arrow&&n.arrow?(i.appendChild(ne(n.arrow)),i.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(ne(n.arrow))),!t.interactive&&n.interactive?re(i):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(i),!t.inertia&&n.inertia?te(i):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(i),t.theme!==n.theme&&(ae(i,"remove",t.theme),ae(i,"add",n.theme))}var ce=1,pe=[];function fe(n,a,u){void 0===u&&(u=[]);var c,p,l,d=o(j(n,a,u),u);if(!d.multiple&&n._tippy)return null;var v,m,h,g,b=!1,y=!1,w=0,E=[],T=W(ye,d.interactiveDebounce),A=Q(d.triggerTarget||n),I=ce++,L=ue(I,d),O=ee(L),D=O.tooltip,x=O.content,P=[D,x],k={id:I,reference:n,popper:L,popperChildren:O,popperInstance:null,props:d,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:u,clearDelayTimeouts:function(){clearTimeout(c),clearTimeout(p),cancelAnimationFrame(l)},setProps:function(e){if(k.state.isDestroyed)return;te("onBeforeUpdate",[k,e]),ge();var r=k.props,o=j(n,t({},k.props,{},e,{ignoreAttributes:!0}),u);o.ignoreAttributes=G(e.ignoreAttributes,r.ignoreAttributes),k.props=o,he(),r.interactiveDebounce!==o.interactiveDebounce&&(ae(),T=W(ye,o.interactiveDebounce));se(L,r,o),k.popperChildren=ee(L),r.triggerTarget&&!o.triggerTarget?K(r.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):o.triggerTarget&&n.removeAttribute("aria-expanded");re(),k.popperInstance&&(i.some(function(t){return M(e,t)&&e[t]!==r[t]})?(k.popperInstance.destroy(),Ae(),k.state.isVisible&&k.popperInstance.enableEventListeners()):k.popperInstance.update());te("onAfterUpdate",[k,e])},setContent:function(e){k.setProps({content:e})},show:function(e){void 0===e&&(e=V(k.props.duration,0,r.duration));var t=k.state.isVisible,n=k.state.isDestroyed,i=!k.state.isEnabled,o=C.isTouch&&!k.props.touch;if(t||n||i||o)return;if(Z().hasAttribute("disabled"))return;if(te("onShow",[k],!1),!1===k.props.onShow(k))return;le(),L.style.visibility="visible",k.state.isVisible=!0,k.state.isMounted||q(P.concat(L),0);m=function(){k.state.isVisible&&(q([L],k.props.updateDuration),q(P,e),z(P,"visible"),ne(),re(),k.state.isMounted=!0,te("onMount",[k]),function(e,t){ve(e,t)}(e,function(){k.state.isShown=!0,te("onShown",[k])}))},function(){w=0;var e,t=k.props.appendTo,n=Z();e=k.props.interactive&&t===r.appendTo||"parent"===t?n.parentNode:H(t,[n]);e.contains(L)||e.appendChild(L);k.popperInstance?(N(k.popperInstance.modifiers,k.props.flip),k.popperInstance.enableEventListeners(),k.popperInstance.update()):(Ae(),k.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=V(k.props.duration,1,r.duration));var t=!k.state.isVisible&&!b,n=k.state.isDestroyed,i=!k.state.isEnabled&&!b;if(t||n||i)return;if(te("onHide",[k],!1),!1===k.props.onHide(k)&&!b)return;de(),L.style.visibility="hidden",k.state.isVisible=!1,k.state.isShown=!1,q(P,e),z(P,"hidden"),ne(),re(),function(e,t){ve(e,function(){!k.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&t()})}(e,function(){k.popperInstance.disableEventListeners(),k.popperInstance.options.placement=k.props.placement,L.parentNode.removeChild(L),k.state.isMounted=!1,te("onHidden",[k])})},enable:function(){k.state.isEnabled=!0},disable:function(){k.hide(),k.state.isEnabled=!1},destroy:function(){if(k.state.isDestroyed)return;b=!0,k.clearDelayTimeouts(),k.hide(0),ge(),delete n._tippy,k.popperInstance&&k.popperInstance.destroy();b=!1,k.state.isDestroyed=!0,te("onDestroy",[k])}};n._tippy=k,L._tippy=k;var B=u.map(function(e){return e.fn(k)});return he(),re(),d.lazy||Ae(),te("onCreate",[k]),d.showOnCreate&&Ie(),L.addEventListener("mouseenter",function(){k.props.interactive&&k.state.isVisible&&k.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){k.props.interactive&&Y(k.props.trigger,"mouseenter")&&A.addEventListener("mousemove",T)}),k;function R(){var e=k.props.touch;return Array.isArray(e)?e:[e,0]}function F(){return"hold"===R()[0]}function Z(){return g||n}function $(e){return k.state.isMounted&&!k.state.isVisible||C.isTouch||!v||"focus"===v.type?0:V(k.props.delay,e?0:1,r.delay)}function te(e,t,n){var r;(void 0===n&&(n=!0),B.forEach(function(n){M(n,e)&&n[e].apply(n,t)}),n)&&(r=k.props)[e].apply(r,t)}function ne(){var e=k.props.aria;if(e){var t="aria-"+e,r=D.id;K(k.props.triggerTarget||n).forEach(function(e){var n=e.getAttribute(t);if(k.state.isVisible)e.setAttribute(t,n?n+" "+r:r);else{var i=n&&n.replace(r,"").trim();i?e.setAttribute(t,i):e.removeAttribute(t)}})}}function re(){K(k.props.triggerTarget||n).forEach(function(e){k.props.interactive?e.setAttribute("aria-expanded",k.state.isVisible&&e===Z()?"true":"false"):e.removeAttribute("aria-expanded")})}function ae(){A.body.removeEventListener("mouseleave",Le),A.removeEventListener("mousemove",T),pe=pe.filter(function(e){return e!==T})}function fe(e){if(!k.props.interactive||!L.contains(e.target)){if(Z().contains(e.target)){if(C.isTouch)return;if(k.state.isVisible&&Y(k.props.trigger,"click"))return}!0===k.props.hideOnClick&&(k.clearDelayTimeouts(),k.hide(),y=!0,setTimeout(function(){y=!1}),k.state.isMounted||de())}}function le(){A.addEventListener("mousedown",fe,!0)}function de(){A.removeEventListener("mousedown",fe,!0)}function ve(e,t){function n(e){e.target===D&&(ie(D,"remove",n),t())}if(0===e)return t();ie(D,"remove",h),ie(D,"add",n),h=n}function me(e,t,r){void 0===r&&(r=!1),K(k.props.triggerTarget||n).forEach(function(n){n.addEventListener(e,t,r),E.push({node:n,eventType:e,handler:t,options:r})})}function he(){F()&&(me("touchstart",be,f),me("touchend",we,f)),J(k.props.trigger).forEach(function(e){if("manual"!==e)switch(me(e,be),e){case"mouseenter":me("mouseleave",we);break;case"focus":me(s?"focusout":"blur",Ee)}})}function ge(){E.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),E=[]}function be(e){if(k.state.isEnabled&&!Te(e)&&!y)if(v=e,g=e.currentTarget,re(),!k.state.isVisible&&S(e)&&pe.forEach(function(t){return t(e)}),"click"===e.type&&!1!==k.props.hideOnClick&&k.state.isVisible)Le(e);else{var t=R(),n=t[0],r=t[1];C.isTouch&&"hold"===n&&r?c=setTimeout(function(){Ie(e)},r):Ie(e)}}function ye(e){X(e.target,function(e){return e===n||e===L})||function(e,t,n){var r=t.clientX,i=t.clientY,o=e.top>i+n,a=e.bottom<i-n,u=e.left>r+n,s=e.right<r-n;return o||a||u||s}(L.getBoundingClientRect(),e,k.props.interactiveBorder)&&(ae(),Le(e))}function we(e){if(!Te(e))return k.props.interactive?(A.body.addEventListener("mouseleave",Le),A.addEventListener("mousemove",T),void pe.push(T)):void Le(e)}function Ee(e){e.target===Z()&&(k.props.interactive&&e.relatedTarget&&L.contains(e.relatedTarget)||Le(e))}function Te(e){var t="ontouchstart"in window,n=Y(e.type,"touch"),r=F();return t&&C.isTouch&&r&&!n||C.isTouch&&!r&&n}function Ae(){var r=k.props.popperOptions,i=k.popperChildren.arrow;function o(e){k.state.currentPlacement=e.placement,k.props.flip&&!k.props.flipOnUpdate&&(e.flipped&&(k.popperInstance.options.placement=e.placement),N(k.popperInstance.modifiers,!1)),D.setAttribute("data-placement",e.placement),!1!==e.attributes["x-out-of-boundaries"]?D.setAttribute("data-out-of-boundaries",""):D.removeAttribute("data-out-of-boundaries");var t=oe(e.placement),n=k.props.distance,r={bottom:n+"px 0 0 0",left:"0 "+n+"px 0 0",top:"0 0 "+n+"px 0",right:"0 0 0 "+n+"px"};L.style.padding=r[t]}var a=t({eventsEnabled:!1,placement:k.props.placement},r,{modifiers:t({},r&&r.modifiers,{preventOverflow:t({boundariesElement:k.props.boundary},U(r,"preventOverflow")),arrow:t({element:i,enabled:!!i},U(r,"arrow")),flip:t({enabled:k.props.flip,behavior:k.props.flipBehavior},U(r,"flip")),offset:t({offset:k.props.offset},U(r,"offset"))}),onCreate:function(e){o(e),_(r&&r.onCreate,a.onCreate,[e]),Ce()},onUpdate:function(e){o(e),_(r&&r.onUpdate,a.onUpdate,[e]),Ce()}});k.popperInstance=new e(n,L,a)}function Ce(){0===w?(w++,k.popperInstance.update()):m&&1===w&&(w++,function(e){e.offsetHeight}(L),m())}function Ie(e){k.clearDelayTimeouts(),k.popperInstance||Ae(),e&&te("onTrigger",[k,e]),le();var t=$(!0);t?c=setTimeout(function(){k.show()},t):k.show()}function Le(e){if(k.clearDelayTimeouts(),te("onUntrigger",[k,e]),k.state.isVisible){var t=$(!1);t?p=setTimeout(function(){k.state.isVisible&&k.hide()},t):l=requestAnimationFrame(function(){k.hide()})}else de()}}function le(e,n,i){void 0===i&&(i=[]),document.addEventListener("touchstart",L,t({},f,{capture:!0})),window.addEventListener("blur",D);var o=t({},r,{},n),a=P(e).reduce(function(e,t){var n=t&&fe(t,o,i);return n&&e.push(n),e},[]);return B(e)?a[0]:a}function de(e){Object.keys(e).forEach(function(t){r[t]=e[t]})}le.version=n,le.defaultProps=r,le.setDefaultProps=de,le.currentInput=C;var ve={mouseover:"mouseenter",focusin:"focus",click:"click"};function me(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}var he,ge,be=(he=[{name:"animateFill",defaultValue:!1,fn:function(e){var t=e.popperChildren,n=t.tooltip,r=t.content,i=e.props.animateFill&&!c?function(){var e=R();return e.className=h,z([e],"hidden"),e}():null;function o(){e.popperChildren.backdrop=i}return{onCreate:function(){i&&(o(),n.insertBefore(i,n.firstElementChild),n.setAttribute("data-animatefill",""),e.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(i){var e=n.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,z([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&z([i],"hidden")},onAfterUpdate:function(){o()}}}},{name:"followCursor",defaultValue:!1,fn:function(e){var t,n=e.reference,r=e.popper,i=Q(e.props.triggerTarget||n),o=null,a=!1,u=e.props;function s(){var t=u.placement;if(t){var n=t.split("-")[1];a=!0,e.setProps({placement:c()&&n?t.replace(n,"start"===n?"end":"start"):t}),a=!1}}function c(){return e.props.followCursor&&S(o)&&!(0===o.clientX&&0===o.clientY)}function p(){return C.isTouch||"initial"===e.props.followCursor&&e.state.isVisible}function f(){e.popperInstance&&(e.popperInstance.reference=n)}function l(){e.popperInstance&&c()&&(p()||!0!==e.props.followCursor)&&e.popperInstance.disableEventListeners()}function d(){c()&&m(t)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=t=i,a=o.clientX,u=o.clientY;if(e.popperInstance&&e.state.currentPlacement){var s=X(i.target,function(e){return e===n}),c=n.getBoundingClientRect(),f=e.props.followCursor,l="horizontal"===f,d="vertical"===f,m=Y(["top","bottom"],oe(e.state.currentPlacement)),h=function(e,t){var n=t?e.offsetWidth:e.offsetHeight;return{size:n,x:t?n:0,y:t?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!s&&e.props.interactive||(e.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(l?c.top:u)-y,bottom:(l?c.bottom:u)+y,left:(d?c.left:a)-b,right:(d?c.right:a)+b}}},e.popperInstance.update()),p()&&v()}}return{onAfterUpdate:function(e,t){var n;a||(n=t,Object.keys(n).forEach(function(e){u[e]=G(n[e],u[e])}),t.placement&&s()),t.placement&&l(),requestAnimationFrame(d)},onMount:function(){d(),l()},onTrigger:function(n,r){o||(o=r,S(r)&&(t=r),c()&&p()?(a=!0,e.setProps({flipOnUpdate:!0}),a=!1):e.setProps({flipOnUpdate:u.flipOnUpdate}),s(),c()?r===o&&i.addEventListener("mousemove",m):f())},onUntrigger:function(){e.state.isVisible||(v(),o=null)},onHidden:function(){v(),f(),o=null}}}},{name:"inlinePositioning",defaultValue:!1,fn:function(e){var t=e.reference;function n(){return e.props.inlinePositioning}return{onHidden:function(){n()&&(e.popperInstance.reference=t)},onTrigger:function(){n()&&(e.popperInstance.reference={referenceNode:t,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(e,t,n){if(n.length<2||null===e)return t;var r;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===e,u=i.top,s=o.bottom,c=a?i.left:o.left,p=a?i.right:o.right;r={top:u,bottom:s,left:c,right:p,width:p-c,height:s-u};break;case"left":case"right":var f=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===f:t.right===l}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};break;default:r=t}return r}(e.state.currentPlacement&&oe(e.state.currentPlacement),t.getBoundingClientRect(),F(t.getClientRects()))}})}}}},{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 i=null,o=null;function a(){var u=r("reference")?t.getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(u&&me(i,u)||s&&me(o,s))&&e.popperInstance.update(),i=u,o=s,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}}],(ge=function(e,t,n){return void 0===n&&(n=[]),le(e,t,[].concat(he,n))}).version=n,ge.defaultProps=r,ge.setDefaultProps=de,ge.currentInput=C,ge);return be.createSingleton=function(e,n,i){var o,a;void 0===i&&(i=[]),e.forEach(function(e){e.disable()});var u={};function s(e){Object.keys(e).forEach(function(t){u[t]=G(e[t],u[t])})}function c(e,t,n){o&&(n&&!t?a.setAttribute("aria-"+o,e):a.removeAttribute("aria-"+o))}s(t({},r,{},n));var p=e.map(function(e){return e.reference}),f=t({},n,{aria:null,triggerTarget:p,onMount:function(e){_(u.onMount,e.props.onMount,[e]),c(e.popperChildren.tooltip.id,e.props.interactive,!0)},onUntrigger:function(e,t){_(u.onUntrigger,e.props.onUntrigger,[e,t]),c(e.popperChildren.tooltip.id,e.props.interactive,!1)},onTrigger:function(t,n){_(u.onTrigger,t.props.onTrigger,[t,n]);var r=n.currentTarget,i=p.indexOf(r);a=r,o=u.aria,t.state.isVisible&&c(t.popperChildren.tooltip.id,t.props.interactive,!0),t.setContent(e[i].props.content),t.popperInstance.reference={referenceNode:r,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return r.getBoundingClientRect()}}},onAfterUpdate:function(e,t){_(u.onAfterUpdate,e.props.onAfterUpdate,[e,t]),s(t)},onDestroy:function(t){_(u.onDestroy,t.props.onDestroy,[t]),e.forEach(function(e){e.enable()})}});return le(document.createElement("div"),f,i)},be.delegate=function(e,n,i){void 0===i&&(i=[]);var o=[],a=[],u=n.target,s=function(e,n){var r=t({},e);return n.forEach(function(e){delete r[e]}),r}(n,["target"]),c=t({},s,{trigger:"manual"}),p=t({},s,{showOnCreate:!0}),f=le(e,c,i);function l(e){if(e.target){var t=e.target.closest(u);if(t)if(Y(t.getAttribute("data-tippy-trigger")||n.trigger||r.trigger,ve[e.type])){var o=le(t,p,i);o&&(a=a.concat(o))}}}function d(e,t,n,r){void 0===r&&(r=!1),e.addEventListener(t,n,r),o.push({element:e,eventType:t,listener:n,options:r})}return K(f).forEach(function(e){var t=e.destroy;e.destroy=function(e){void 0===e&&(e=!0),e&&a.forEach(function(e){e.destroy()}),a=[],o.forEach(function(e){var t=e.element,n=e.eventType,r=e.listener,i=e.options;t.removeEventListener(n,r,i)}),o=[],t()},function(e){var t=e.reference;d(t,"mouseover",l),d(t,"focusin",l),d(t,"click",l)}(e)}),f},be.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;F(document.querySelectorAll(y)).forEach(function(e){var t,i=e._tippy;if(i){var o=!1;n&&(o=(t=n)&&t._tippy&&!t.classList.contains(d)?i.reference===n:e===n.popper),o||i.hide(r)}})},be.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',be}(Popper);
var tippy=function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e;var n="5.0.3",r={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},i=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function o(e,n){return t({},e,{},n.reduce(function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t},{}))}var a={passive:!0},u="tippy-iOS",s="tippy-popper",c="tippy-tooltip",p="tippy-content",f="tippy-backdrop",l="tippy-arrow",d="tippy-svg-arrow",v="."+s,m="."+c,h="."+p,g="."+l,b="."+d,y={isTouch:!1},w=0;function E(){y.isTouch||(y.isTouch=!0,window.performance&&document.addEventListener("mousemove",T))}function T(){var e=performance.now();e-w<20&&(y.isTouch=!1,document.removeEventListener("mousemove",T)),w=e}function A(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var C="undefined"!=typeof window&&"undefined"!=typeof document,I=C?navigator.userAgent:"",O=/MSIE |Trident\//.test(I),L=/UCBrowser\//.test(I),D=C&&/iPhone|iPad|iPod/.test(navigator.platform);function M(e){var t=e&&D&&y.isTouch;document.body.classList[t?"add":"remove"](u)}var P=Object.keys(r);function V(e,t){return{}.hasOwnProperty.call(e,t)}function x(e){return S(e)?[e]:function(e){return B(e,"NodeList")}(e)?X(e):Array.isArray(e)?e:X(document.querySelectorAll(e))}function U(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function k(e,t){return e&&e.modifiers&&e.modifiers[t]}function B(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function S(e){return B(e,"Element")}function H(e){return B(e,"MouseEvent")}function N(e,t){return"function"==typeof e?e.apply(void 0,t):e}function R(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function q(){return document.createElement("div")}function z(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function j(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function _(e,n,i){var a=t({},n,{content:N(n.content,[e])},n.ignoreAttributes?{}:function(e,t){return(t?Object.keys(o(r,t)):P).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,i));return a.interactive&&(a.aria=null),a}function W(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function F(e,t,n){e&&e!==t&&e.apply(void 0,n)}function X(e){return[].slice.call(e)}function Y(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null}function J(e,t){return e.indexOf(t)>-1}function G(e){return e.split(/\s+/).filter(Boolean)}function K(e,t){return void 0!==e?e:t}function Q(e){return[].concat(e)}function Z(e){var t=Q(e)[0];return t&&t.ownerDocument||document}function $(e,t){-1===e.indexOf(t)&&e.push(t)}function ee(e){return"number"==typeof e?e+"px":e}function te(e,t){e.innerHTML=S(t)?t.innerHTML:t}function ne(e,t){if(S(t.content))te(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function re(e){return{tooltip:e.querySelector(m),content:e.querySelector(h),arrow:e.querySelector(g)||e.querySelector(b)}}function ie(e){e.setAttribute("data-inertia","")}function oe(e){var t=q();return!0===e?t.className=l:(t.className=d,S(e)?t.appendChild(e):te(t,e)),t}function ae(e){e.setAttribute("data-interactive","")}function ue(e,t,n){var r=L&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](r,n)}function se(e){return e.split("-")[0]}function ce(e,t,n){G(n).forEach(function(n){e.classList[t](n+"-theme")})}function pe(e,t){var n=q();n.className=s,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=q();r.className=c,r.id="tippy-"+e,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),ce(r,"add",t.theme);var i=q();return i.className=p,i.setAttribute("data-state","hidden"),t.interactive&&ae(r),t.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(oe(t.arrow))),t.inertia&&ie(r),ne(i,t),r.appendChild(i),n.appendChild(r),fe(n,t,t),n}function fe(e,t,n){var r=re(e),i=r.tooltip,o=r.content,a=r.arrow;e.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=ee(n.maxWidth),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),t.content!==n.content&&ne(o,n),!t.arrow&&n.arrow?(i.appendChild(oe(n.arrow)),i.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(oe(n.arrow))),!t.interactive&&n.interactive?ae(i):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(i),!t.inertia&&n.inertia?ie(i):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(i),t.theme!==n.theme&&(ce(i,"remove",t.theme),ce(i,"add",n.theme))}var le=[],de=1,ve=[];function me(n,u,s){void 0===s&&(s=[]);var c,p,f,l=o(_(n,u,s),s);if(!l.multiple&&n._tippy)return null;var d,m,h,g,b=!1,w=!1,E=0,T=[],A=W(Ie,l.interactiveDebounce),C=Z(l.triggerTarget||n),I=de++,L=pe(I,l),D=re(L),P=D.tooltip,x=D.content,B=[P,x],S={id:I,reference:n,popper:L,popperChildren:D,popperInstance:null,props:l,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:s,clearDelayTimeouts:function(){clearTimeout(c),clearTimeout(p),cancelAnimationFrame(f)},setProps:function(e){if(S.state.isDestroyed)return;ae("onBeforeUpdate",[S,e]),Ae();var r=S.props,o=_(n,t({},S.props,{},e,{ignoreAttributes:!0}),s);o.ignoreAttributes=K(e.ignoreAttributes,r.ignoreAttributes),S.props=o,Te(),r.interactiveDebounce!==o.interactiveDebounce&&(he(),A=W(Ie,o.interactiveDebounce));fe(L,r,o),S.popperChildren=re(L),r.triggerTarget&&!o.triggerTarget?Q(r.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):o.triggerTarget&&n.removeAttribute("aria-expanded");me(),S.popperInstance&&(i.some(function(t){return V(e,t)&&e[t]!==r[t]})?(S.popperInstance.destroy(),Me(),S.state.isVisible&&S.popperInstance.enableEventListeners()):S.popperInstance.update());ae("onAfterUpdate",[S,e])},setContent:function(e){S.setProps({content:e})},show:function(e){void 0===e&&(e=U(S.props.duration,0,r.duration));var t=S.state.isVisible,n=S.state.isDestroyed,i=!S.state.isEnabled,o=y.isTouch&&!S.props.touch;if(t||n||i||o)return;if(ie().hasAttribute("disabled"))return;if(ae("onShow",[S],!1),!1===S.props.onShow(S))return;be(),L.style.visibility="visible",S.state.isVisible=!0,S.state.isMounted||z(B.concat(L),0);m=function(){S.state.isVisible&&(z([L],S.props.updateDuration),z(B,e),j(B,"visible"),ce(),me(),$(le,S),M(!0),S.state.isMounted=!0,ae("onMount",[S]),function(e,t){we(e,t)}(e,function(){S.state.isShown=!0,ae("onShown",[S])}))},function(){E=0;var e,t=S.props.appendTo,n=ie();e=S.props.interactive&&t===r.appendTo||"parent"===t?n.parentNode:N(t,[n]);e.contains(L)||e.appendChild(L);S.popperInstance?(R(S.popperInstance.modifiers,S.props.flip),S.popperInstance.enableEventListeners(),S.popperInstance.update()):(Me(),S.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=U(S.props.duration,1,r.duration));var t=!S.state.isVisible&&!b,n=S.state.isDestroyed,i=!S.state.isEnabled&&!b;if(t||n||i)return;if(ae("onHide",[S],!1),!1===S.props.onHide(S)&&!b)return;ye(),L.style.visibility="hidden",S.state.isVisible=!1,S.state.isShown=!1,z(B,e),j(B,"hidden"),ce(),me(),function(e,t){we(e,function(){!S.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&t()})}(e,function(){S.popperInstance.disableEventListeners(),S.popperInstance.options.placement=S.props.placement,L.parentNode.removeChild(L),0===(le=le.filter(function(e){return e!==S})).length&&M(!1),S.state.isMounted=!1,ae("onHidden",[S])})},enable:function(){S.state.isEnabled=!0},disable:function(){S.hide(),S.state.isEnabled=!1},destroy:function(){if(S.state.isDestroyed)return;b=!0,S.clearDelayTimeouts(),S.hide(0),Ae(),delete n._tippy,S.popperInstance&&S.popperInstance.destroy();b=!1,S.state.isDestroyed=!0,ae("onDestroy",[S])}};n._tippy=S,L._tippy=S;var q=s.map(function(e){return e.fn(S)});return Te(),me(),l.lazy||Me(),ae("onCreate",[S]),l.showOnCreate&&Ve(),L.addEventListener("mouseenter",function(){S.props.interactive&&S.state.isVisible&&S.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){S.props.interactive&&J(S.props.trigger,"mouseenter")&&C.addEventListener("mousemove",A)}),S;function te(){var e=S.props.touch;return Array.isArray(e)?e:[e,0]}function ne(){return"hold"===te()[0]}function ie(){return g||n}function oe(e){return S.state.isMounted&&!S.state.isVisible||y.isTouch||!d||"focus"===d.type?0:U(S.props.delay,e?0:1,r.delay)}function ae(e,t,n){var r;(void 0===n&&(n=!0),q.forEach(function(n){V(n,e)&&n[e].apply(n,t)}),n)&&(r=S.props)[e].apply(r,t)}function ce(){var e=S.props.aria;if(e){var t="aria-"+e,r=P.id;Q(S.props.triggerTarget||n).forEach(function(e){var n=e.getAttribute(t);if(S.state.isVisible)e.setAttribute(t,n?n+" "+r:r);else{var i=n&&n.replace(r,"").trim();i?e.setAttribute(t,i):e.removeAttribute(t)}})}}function me(){Q(S.props.triggerTarget||n).forEach(function(e){S.props.interactive?e.setAttribute("aria-expanded",S.state.isVisible&&e===ie()?"true":"false"):e.removeAttribute("aria-expanded")})}function he(){C.body.removeEventListener("mouseleave",xe),C.removeEventListener("mousemove",A),ve=ve.filter(function(e){return e!==A})}function ge(e){if(!S.props.interactive||!L.contains(e.target)){if(ie().contains(e.target)){if(y.isTouch)return;if(S.state.isVisible&&J(S.props.trigger,"click"))return}!0===S.props.hideOnClick&&(S.clearDelayTimeouts(),S.hide(),w=!0,setTimeout(function(){w=!1}),S.state.isMounted||ye())}}function be(){C.addEventListener("mousedown",ge,!0)}function ye(){C.removeEventListener("mousedown",ge,!0)}function we(e,t){function n(e){e.target===P&&(ue(P,"remove",n),t())}if(0===e)return t();ue(P,"remove",h),ue(P,"add",n),h=n}function Ee(e,t,r){void 0===r&&(r=!1),Q(S.props.triggerTarget||n).forEach(function(n){n.addEventListener(e,t,r),T.push({node:n,eventType:e,handler:t,options:r})})}function Te(){ne()&&(Ee("touchstart",Ce,a),Ee("touchend",Oe,a)),G(S.props.trigger).forEach(function(e){if("manual"!==e)switch(Ee(e,Ce),e){case"mouseenter":Ee("mouseleave",Oe);break;case"focus":Ee(O?"focusout":"blur",Le)}})}function Ae(){T.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),T=[]}function Ce(e){if(S.state.isEnabled&&!De(e)&&!w)if(d=e,g=e.currentTarget,me(),!S.state.isVisible&&H(e)&&ve.forEach(function(t){return t(e)}),"click"===e.type&&!1!==S.props.hideOnClick&&S.state.isVisible)xe(e);else{var t=te(),n=t[0],r=t[1];y.isTouch&&"hold"===n&&r?c=setTimeout(function(){Ve(e)},r):Ve(e)}}function Ie(e){Y(e.target,function(e){return e===n||e===L})||function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.interactiveBorder,o=t.top>r+i,a=t.bottom<r-i,u=t.left>n+i,s=t.right<n-i;return o||a||u||s})}(X(L.querySelectorAll(v)).concat(L).map(function(e){return{popperRect:e.getBoundingClientRect(),interactiveBorder:e._tippy.props.interactiveBorder}}),e)&&(he(),xe(e))}function Oe(e){if(!De(e))return S.props.interactive?(C.body.addEventListener("mouseleave",xe),C.addEventListener("mousemove",A),void $(ve,A)):void xe(e)}function Le(e){e.target===ie()&&(S.props.interactive&&e.relatedTarget&&L.contains(e.relatedTarget)||xe(e))}function De(e){var t="ontouchstart"in window,n=J(e.type,"touch"),r=ne();return t&&y.isTouch&&r&&!n||y.isTouch&&!r&&n}function Me(){var r=S.props.popperOptions,i=S.popperChildren.arrow;function o(e){S.state.currentPlacement=e.placement,S.props.flip&&!S.props.flipOnUpdate&&(e.flipped&&(S.popperInstance.options.placement=e.placement),R(S.popperInstance.modifiers,!1)),P.setAttribute("data-placement",e.placement),!1!==e.attributes["x-out-of-boundaries"]?P.setAttribute("data-out-of-boundaries",""):P.removeAttribute("data-out-of-boundaries");var t=se(e.placement),n=ee(S.props.distance),r={bottom:n+" 0 0 0",left:"0 "+n+" 0 0",top:"0 0 "+n+" 0",right:"0 0 0 "+n};L.style.padding=r[t]}var a=t({eventsEnabled:!1,placement:S.props.placement},r,{modifiers:t({},r&&r.modifiers,{preventOverflow:t({boundariesElement:S.props.boundary},k(r,"preventOverflow")),arrow:t({element:i,enabled:!!i},k(r,"arrow")),flip:t({enabled:S.props.flip,behavior:S.props.flipBehavior},k(r,"flip")),offset:t({offset:S.props.offset},k(r,"offset"))}),onCreate:function(e){o(e),F(r&&r.onCreate,a.onCreate,[e]),Pe()},onUpdate:function(e){o(e),F(r&&r.onUpdate,a.onUpdate,[e]),Pe()}});S.popperInstance=new e(n,L,a)}function Pe(){0===E?(E++,S.popperInstance.update()):m&&1===E&&(E++,function(e){e.offsetHeight}(L),m())}function Ve(e){S.clearDelayTimeouts(),S.popperInstance||Me(),e&&ae("onTrigger",[S,e]),be();var t=oe(!0);t?c=setTimeout(function(){S.show()},t):S.show()}function xe(e){if(S.clearDelayTimeouts(),ae("onUntrigger",[S,e]),S.state.isVisible){var t=oe(!1);t?p=setTimeout(function(){S.state.isVisible&&S.hide()},t):f=requestAnimationFrame(function(){S.hide()})}else ye()}}function he(e,n,i){void 0===i&&(i=[]),document.addEventListener("touchstart",E,t({},a,{capture:!0})),window.addEventListener("blur",A);var o=t({},r,{},n),u=x(e).reduce(function(e,t){var n=t&&me(t,o,i);return n&&e.push(n),e},[]);return S(e)?u[0]:u}function ge(e){Object.keys(e).forEach(function(t){r[t]=e[t]})}he.version=n,he.defaultProps=r,he.setDefaultProps=ge,he.currentInput=y;var be={mouseover:"mouseenter",focusin:"focus",click:"click"};function ye(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}var we,Ee,Te=(we=[{name:"animateFill",defaultValue:!1,fn:function(e){var t=e.popperChildren,n=t.tooltip,r=t.content,i=e.props.animateFill&&!L?function(){var e=q();return e.className=f,j([e],"hidden"),e}():null;function o(){e.popperChildren.backdrop=i}return{onCreate:function(){i&&(o(),n.insertBefore(i,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",e.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(i){var e=n.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,j([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&j([i],"hidden")},onAfterUpdate:function(){o()}}}},{name:"followCursor",defaultValue:!1,fn:function(e){var t,n=e.reference,r=e.popper,i=Z(e.props.triggerTarget||n),o=null,a=!1,u=e.props;function s(){var t=u.placement;if(t){var n=t.split("-")[1];a=!0,e.setProps({placement:c()&&n?t.replace(n,"start"===n?"end":"start"):t}),a=!1}}function c(){return e.props.followCursor&&H(o)&&!(0===o.clientX&&0===o.clientY)}function p(){return y.isTouch||"initial"===e.props.followCursor&&e.state.isVisible}function f(){e.popperInstance&&(e.popperInstance.reference=n)}function l(){e.popperInstance&&c()&&(p()||!0!==e.props.followCursor)&&e.popperInstance.disableEventListeners()}function d(){c()&&m(t)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=t=i,a=o.clientX,u=o.clientY;if(e.popperInstance&&e.state.currentPlacement){var s=Y(i.target,function(e){return e===n}),c=n.getBoundingClientRect(),f=e.props.followCursor,l="horizontal"===f,d="vertical"===f,m=J(["top","bottom"],se(e.state.currentPlacement)),h=function(e,t){var n=t?e.offsetWidth:e.offsetHeight;return{size:n,x:t?n:0,y:t?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!s&&e.props.interactive||(e.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(l?c.top:u)-y,bottom:(l?c.bottom:u)+y,left:(d?c.left:a)-b,right:(d?c.right:a)+b}}},e.popperInstance.update()),p()&&v()}}return{onAfterUpdate:function(e,t){var n;a||(n=t,Object.keys(n).forEach(function(e){u[e]=K(n[e],u[e])}),t.placement&&s()),t.placement&&l(),requestAnimationFrame(d)},onMount:function(){d(),l()},onTrigger:function(n,r){o||(o=r,H(r)&&(t=r),c()&&p()?(a=!0,e.setProps({flipOnUpdate:!0}),a=!1):e.setProps({flipOnUpdate:u.flipOnUpdate}),s(),c()?r===o&&i.addEventListener("mousemove",m):f())},onUntrigger:function(){e.state.isVisible||(v(),o=null)},onHidden:function(){v(),f(),o=null}}}},{name:"inlinePositioning",defaultValue:!1,fn:function(e){var t=e.reference;function n(){return e.props.inlinePositioning}return{onHidden:function(){n()&&(e.popperInstance.reference=t)},onTrigger:function(){n()&&(e.popperInstance.reference={referenceNode:t,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(e,t,n){if(n.length<2||null===e)return t;var r;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===e,u=i.top,s=o.bottom,c=a?i.left:o.left,p=a?i.right:o.right;r={top:u,bottom:s,left:c,right:p,width:p-c,height:s-u};break;case"left":case"right":var f=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===f:t.right===l}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};break;default:r=t}return r}(e.state.currentPlacement&&se(e.state.currentPlacement),t.getBoundingClientRect(),X(t.getClientRects()))}})}}}},{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 i=null,o=null;function a(){var u=r("reference")?t.getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(u&&ye(i,u)||s&&ye(o,s))&&e.popperInstance.update(),i=u,o=s,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}}],(Ee=function(e,t,n){return void 0===n&&(n=[]),he(e,t,[].concat(we,n))}).version=n,Ee.defaultProps=r,Ee.setDefaultProps=ge,Ee.currentInput=y,Ee);return Te.createSingleton=function(e,n,i){var o,a;void 0===i&&(i=[]),e.forEach(function(e){e.disable()});var u={};function s(e){Object.keys(e).forEach(function(t){u[t]=K(e[t],u[t])})}function c(e,t,n){o&&(n&&!t?a.setAttribute("aria-"+o,e):a.removeAttribute("aria-"+o))}s(t({},r,{},n));var p=e.map(function(e){return e.reference}),f=t({},n,{aria:null,triggerTarget:p,onMount:function(e){F(u.onMount,e.props.onMount,[e]),c(e.popperChildren.tooltip.id,e.props.interactive,!0)},onUntrigger:function(e,t){F(u.onUntrigger,e.props.onUntrigger,[e,t]),c(e.popperChildren.tooltip.id,e.props.interactive,!1)},onTrigger:function(t,n){F(u.onTrigger,t.props.onTrigger,[t,n]);var r=n.currentTarget,i=p.indexOf(r);a=r,o=u.aria,t.state.isVisible&&c(t.popperChildren.tooltip.id,t.props.interactive,!0),t.setContent(e[i].props.content),t.popperInstance.reference={referenceNode:r,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return r.getBoundingClientRect()}}},onAfterUpdate:function(e,t){F(u.onAfterUpdate,e.props.onAfterUpdate,[e,t]),s(t)},onDestroy:function(t){F(u.onDestroy,t.props.onDestroy,[t]),e.forEach(function(e){e.enable()})}});return he(document.createElement("div"),f,i)},Te.delegate=function(e,n,i){void 0===i&&(i=[]);var o=[],a=[],u=n.target,s=function(e,n){var r=t({},e);return n.forEach(function(e){delete r[e]}),r}(n,["target"]),c=t({},s,{trigger:"manual"}),p=t({},s,{showOnCreate:!0}),f=he(e,c,i);function l(e){if(e.target){var t=e.target.closest(u);if(t)if(J(t.getAttribute("data-tippy-trigger")||n.trigger||r.trigger,be[e.type])){var o=he(t,p,i);o&&(a=a.concat(o))}}}function d(e,t,n,r){void 0===r&&(r=!1),e.addEventListener(t,n,r),o.push({element:e,eventType:t,listener:n,options:r})}return Q(f).forEach(function(e){var t=e.destroy;e.destroy=function(e){void 0===e&&(e=!0),e&&a.forEach(function(e){e.destroy()}),a=[],o.forEach(function(e){var t=e.element,n=e.eventType,r=e.listener,i=e.options;t.removeEventListener(n,r,i)}),o=[],t()},function(e){var t=e.reference;d(t,"mouseover",l),d(t,"focusin",l),d(t,"click",l)}(e)}),f},Te.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;le.forEach(function(e){var t,i=!1;n&&(i=(t=n)&&t._tippy&&t._tippy.reference===t?e.reference===n:e.popper===n.popper),i||e.hide(r)})},Te.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',Te}(Popper);
//# sourceMappingURL=tippy.iife.min.js.map

@@ -51,3 +51,3 @@ import Popper, {ReferenceObject} from 'popper.js';

delay: number | [number, number];
distance: number;
distance: number | string;
duration: number | [number, number];

@@ -54,0 +54,0 @@ flip: boolean;

{
"name": "tippy.js",
"version": "5.0.2",
"version": "5.0.3",
"description": "Highly customizable tooltip and popover library",

@@ -119,3 +119,3 @@ "main": "dist/tippy.cjs.js",

"node-sass": "^4.12.0",
"parcel-bundler": "^1.12.3",
"parcel-bundler": "^1.12.4",
"postcss": "^7.0.17",

@@ -122,0 +122,0 @@ "prettier": "^1.18.2",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc