Socket
Socket
Sign inDemoInstall

tippy.js

Package Overview
Dependencies
1
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.2 to 5.1.3

2

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

@@ -4,0 +4,0 @@ * MIT License

/**!
* tippy.js v5.1.2
* tippy.js v5.1.3
* (c) 2017-2019 atomiks
* MIT License
*/
import { a as tippy, o as isBrowser } from './tippy.chunk.esm.js';
import { t as tippy, o as isBrowser } from './tippy.chunk.esm.js';
import 'popper.js';

@@ -8,0 +8,0 @@

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

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,l="."+o,f="."+a,d="."+u,v="."+s;function m(t,e){t.innerHTML=e}function h(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function g(t,e){return{}.hasOwnProperty.call(t,e)}function b(t){return A(t)?[t]:function(t){return E(t,"NodeList")}(t)?S(t):Array.isArray(t)?t:S(document.querySelectorAll(t))}function y(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function w(t,e){return t&&t.modifiers&&t.modifiers[e]}function E(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function A(t){return E(t,"Element")}function T(t){return E(t,"MouseEvent")}function x(t,e){return"function"==typeof t?t.apply(void 0,e):t}function C(t,e,n,r){t.filter(function(t){return t.name===e})[0][n]=r}function I(){return document.createElement("div")}function O(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function D(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function L(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)};var n}function M(t,e,n){t&&t!==e&&t.apply(void 0,n)}function S(t){return[].slice.call(t)}function k(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}function P(t,e){return t.indexOf(e)>-1}function V(t){return t.split(/\s+/).filter(Boolean)}function B(t,e){return void 0!==t?t:e}function U(t){return[].concat(t)}function H(t){var e=U(t)[0];return e&&e.ownerDocument||document}function N(t,e){-1===t.indexOf(e)&&t.push(e)}function z(t){return"number"==typeof t?t:parseFloat(t)}function R(t,e,n){void 0===e&&(e=5);var r={top:0,right:0,bottom:0,left:0};return Object.keys(r).reduce(function(r,i){return r[i]="number"==typeof e?e:e[i],t===i&&(r[i]="number"==typeof e?e+n:e[t]+n),r},r)}var q={isTouch:!1},F=0;function j(){q.isTouch||(q.isTouch=!0,window.performance&&document.addEventListener("mousemove",_))}function _(){var t=performance.now();t-F<20&&(q.isTouch=!1,document.removeEventListener("mousemove",_)),F=t}function W(){var t=document.activeElement;if(h(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var X="undefined"!=typeof window&&"undefined"!=typeof document,Y=X?navigator.userAgent:"",J=/MSIE |Trident\//.test(Y),G=/UCBrowser\//.test(Y),K=X&&/iPhone|iPad|iPod/.test(navigator.platform);function Q(t){var e=t&&K&&q.isTouch;document.body.classList[e?"add":"remove"](r)}var Z={allowHTML:!0,animateFill:!1,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,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inlinePositioning:!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",plugins:[],popperOptions:{},role:"tooltip",showOnCreate:!1,sticky:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},$=Object.keys(Z),tt=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function et(t){return e({},t,{},t.plugins.reduce(function(e,n){var r=n.name,i=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:i),e},{}))}function nt(t,n){var r=e({},n,{content:x(n.content,[t])},n.ignoreAttributes?{}:function(t,n){return(n?Object.keys(et(e({},Z,{plugins:n}))):$).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.plugins));return r.interactive&&(r.aria=null),r}function rt(t){return t.split("-")[0]}function it(t){t.setAttribute("data-inertia","")}function ot(t){t.setAttribute("data-interactive","")}function at(t,e){if(A(e.content))m(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function pt(t){return{tooltip:t.querySelector(l),content:t.querySelector(f),arrow:t.querySelector(d)||t.querySelector(v)}}function ut(t){var e=I();return!0===t?e.className=u:(e.className=s,A(t)?e.appendChild(t):m(e,t)),e}function st(t,e){var n=I();n.className=i,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=I();r.className=o,r.id="tippy-"+t,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),ft(r,"add",e.theme);var p=I();return p.className=a,p.setAttribute("data-state","hidden"),e.interactive&&ot(r),e.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(ut(e.arrow))),e.inertia&&it(r),at(p,e),r.appendChild(p),n.appendChild(r),ct(n,e,e),n}function ct(t,e,n){var r,i=pt(t),o=i.tooltip,a=i.content,p=i.arrow;t.style.zIndex=""+n.zIndex,o.setAttribute("data-animation",n.animation),o.style.maxWidth="number"==typeof(r=n.maxWidth)?r+"px":r,n.role?o.setAttribute("role",n.role):o.removeAttribute("role"),e.content!==n.content&&at(a,n),!e.arrow&&n.arrow?(o.appendChild(ut(n.arrow)),o.setAttribute("data-arrow","")):e.arrow&&!n.arrow?(o.removeChild(p),o.removeAttribute("data-arrow")):e.arrow!==n.arrow&&(o.removeChild(p),o.appendChild(ut(n.arrow))),!e.interactive&&n.interactive?ot(o):e.interactive&&!n.interactive&&function(t){t.removeAttribute("data-interactive")}(o),!e.inertia&&n.inertia?it(o):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(o),e.theme!==n.theme&&(ft(o,"remove",e.theme),ft(o,"add",n.theme))}function lt(t,e,n){var r=G&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ft(t,e,n){V(n).forEach(function(n){t.classList[e](n+"-theme")})}var dt=1,vt=[],mt=[];function ht(r,i){var o,a,p,u=et(nt(r,i));if(!u.multiple&&r._tippy)return null;var s,l,f,d,v,m=!1,h=!1,b=0,E=[],A=L(Ot,u.interactiveDebounce),I=H(u.triggerTarget||r),F=dt++,j=st(F,u),_=pt(j),W=(v=u.plugins).filter(function(t,e){return v.indexOf(t)===e}),X=_.tooltip,Y=_.content,G=[X,Y],K={id:F,reference:r,popper:j,popperChildren:_,popperInstance:null,props:u,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:W,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(a),cancelAnimationFrame(p)},setProps:function(t){if(K.state.isDestroyed)return;ft("onBeforeUpdate",[K,t]),Ct();var n=K.props,i=nt(r,e({},K.props,{},t,{ignoreAttributes:!0}));i.ignoreAttributes=B(t.ignoreAttributes,n.ignoreAttributes),K.props=i,xt(),n.interactiveDebounce!==i.interactiveDebounce&&(bt(),A=L(Ot,i.interactiveDebounce));ct(j,n,i),K.popperChildren=pt(j),n.triggerTarget&&!i.triggerTarget?U(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):i.triggerTarget&&r.removeAttribute("aria-expanded");if(gt(),K.popperInstance)if(tt.some(function(e){return g(t,e)&&t[e]!==n[e]})){var o=K.popperInstance.reference;K.popperInstance.destroy(),St(),K.popperInstance.reference=o,K.state.isVisible&&K.popperInstance.enableEventListeners()}else K.popperInstance.update();ft("onAfterUpdate",[K,t])},setContent:function(t){K.setProps({content:t})},show:function(t){void 0===t&&(t=y(K.props.duration,0,Z.duration));var e=K.state.isVisible,n=K.state.isDestroyed,r=!K.state.isEnabled,i=q.isTouch&&!K.props.touch;if(e||n||r||i)return;if(at().hasAttribute("disabled"))return;K.popperInstance||St();if(ft("onShow",[K],!1),!1===K.props.onShow(K))return;wt(),j.style.visibility="visible",K.state.isVisible=!0,K.state.isMounted||O(G.concat(j),0);l=function(){K.state.isVisible&&(O([j],K.props.updateDuration),O(G,t),D(G,"visible"),ht(),gt(),N(mt,K),Q(!0),K.state.isMounted=!0,ft("onMount",[K]),function(t,e){At(t,e)}(t,function(){K.state.isShown=!0,ft("onShown",[K])}))},function(){b=0;var t,e=K.props.appendTo,n=at();t=K.props.interactive&&e===Z.appendTo||"parent"===e?n.parentNode:x(e,[n]);t.contains(j)||t.appendChild(j);C(K.popperInstance.modifiers,"flip","enabled",K.props.flip),K.popperInstance.enableEventListeners(),K.popperInstance.update()}()},hide:function(t){void 0===t&&(t=y(K.props.duration,1,Z.duration));var e=!K.state.isVisible&&!m,n=K.state.isDestroyed,r=!K.state.isEnabled&&!m;if(e||n||r)return;if(ft("onHide",[K],!1),!1===K.props.onHide(K)&&!m)return;Et(),j.style.visibility="hidden",K.state.isVisible=!1,K.state.isShown=!1,O(G,t),D(G,"hidden"),ht(),gt(),function(t,e){At(t,function(){!K.state.isVisible&&j.parentNode&&j.parentNode.contains(j)&&e()})}(t,function(){K.popperInstance.disableEventListeners(),K.popperInstance.options.placement=K.props.placement,j.parentNode.removeChild(j),0===(mt=mt.filter(function(t){return t!==K})).length&&Q(!1),K.state.isMounted=!1,ft("onHidden",[K])})},enable:function(){K.state.isEnabled=!0},disable:function(){K.hide(),K.state.isEnabled=!1},destroy:function(){if(K.state.isDestroyed)return;m=!0,K.clearDelayTimeouts(),K.hide(0),Ct(),delete r._tippy,K.popperInstance&&K.popperInstance.destroy();m=!1,K.state.isDestroyed=!0,ft("onDestroy",[K])}};r._tippy=K,j._tippy=K;var $=W.map(function(t){return t.fn(K)});return xt(),gt(),u.lazy||St(),ft("onCreate",[K]),u.showOnCreate&&Pt(),j.addEventListener("mouseenter",function(){K.props.interactive&&K.state.isVisible&&K.clearDelayTimeouts()}),j.addEventListener("mouseleave",function(){K.props.interactive&&P(K.props.trigger,"mouseenter")&&I.addEventListener("mousemove",A)}),K;function it(){var t=K.props.touch;return Array.isArray(t)?t:[t,0]}function ot(){return"hold"===it()[0]}function at(){return d||r}function ut(t){return K.state.isMounted&&!K.state.isVisible||q.isTouch||s&&"focus"===s.type?0:y(K.props.delay,t?0:1,Z.delay)}function ft(t,e,n){var r;(void 0===n&&(n=!0),$.forEach(function(n){g(n,t)&&n[t].apply(n,e)}),n)&&(r=K.props)[t].apply(r,e)}function ht(){var t=K.props.aria;if(t){var e="aria-"+t,n=X.id;U(K.props.triggerTarget||r).forEach(function(t){var r=t.getAttribute(e);if(K.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 gt(){U(K.props.triggerTarget||r).forEach(function(t){K.props.interactive?t.setAttribute("aria-expanded",K.state.isVisible&&t===at()?"true":"false"):t.removeAttribute("aria-expanded")})}function bt(){I.body.removeEventListener("mouseleave",Vt),I.removeEventListener("mousemove",A),vt=vt.filter(function(t){return t!==A})}function yt(t){if(!K.props.interactive||!j.contains(t.target)){if(at().contains(t.target)){if(q.isTouch)return;if(K.state.isVisible&&P(K.props.trigger,"click"))return}!0===K.props.hideOnClick&&(K.clearDelayTimeouts(),K.hide(),h=!0,setTimeout(function(){h=!1}),K.state.isMounted||Et())}}function wt(){I.addEventListener("mousedown",yt,!0)}function Et(){I.removeEventListener("mousedown",yt,!0)}function At(t,e){function n(t){t.target===X&&(lt(X,"remove",n),e())}if(0===t)return e();lt(X,"remove",f),lt(X,"add",n),f=n}function Tt(t,e,n){void 0===n&&(n=!1),U(K.props.triggerTarget||r).forEach(function(r){r.addEventListener(t,e,n),E.push({node:r,eventType:t,handler:e,options:n})})}function xt(){ot()&&(Tt("touchstart",It,n),Tt("touchend",Dt,n)),V(K.props.trigger).forEach(function(t){if("manual"!==t)switch(Tt(t,It),t){case"mouseenter":Tt("mouseleave",Dt);break;case"focus":Tt(J?"focusout":"blur",Lt)}})}function Ct(){E.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),E=[]}function It(t){if(K.state.isEnabled&&!Mt(t)&&!h)if(s=t,d=t.currentTarget,gt(),!K.state.isVisible&&T(t)&&vt.forEach(function(e){return e(t)}),"click"===t.type&&!1!==K.props.hideOnClick&&K.state.isVisible)Vt(t);else{var e=it(),n=e[0],r=e[1];q.isTouch&&"hold"===n&&r?o=setTimeout(function(){Pt(t)},r):Pt(t)}}function Ot(t){k(t.target,function(t){return t===r||t===j})||function(t,e){var n=e.clientX,r=e.clientY;return t.every(function(t){var e=t.popperRect,i=t.tooltipRect,o=t.interactiveBorder,a=Math.min(e.top,i.top),p=Math.max(e.right,i.right),u=Math.max(e.bottom,i.bottom),s=Math.min(e.left,i.left);return a-r>o||r-u>o||s-n>o||n-p>o})}(S(j.querySelectorAll(c)).concat(j).map(function(t){var e=t._tippy,n=e.popperChildren.tooltip,r=e.props.interactiveBorder;return{popperRect:t.getBoundingClientRect(),tooltipRect:n.getBoundingClientRect(),interactiveBorder:r}}),t)&&(bt(),Vt(t))}function Dt(t){if(!Mt(t))return K.props.interactive?(I.body.addEventListener("mouseleave",Vt),I.addEventListener("mousemove",A),void N(vt,A)):void Vt(t)}function Lt(t){t.target===at()&&(K.props.interactive&&t.relatedTarget&&j.contains(t.relatedTarget)||Vt(t))}function Mt(t){var e="ontouchstart"in window,n=P(t.type,"touch"),r=ot();return e&&q.isTouch&&r&&!n||q.isTouch&&!r&&n}function St(){var n,i=K.props.popperOptions,o=K.popperChildren.arrow,a=w(i,"flip"),p=w(i,"preventOverflow");function u(t){var e=K.state.currentPlacement;K.state.currentPlacement=t.placement,K.props.flip&&!K.props.flipOnUpdate&&(t.flipped&&(K.popperInstance.options.placement=t.placement),C(K.popperInstance.modifiers,"flip","enabled",!1)),X.setAttribute("data-placement",t.placement),!1!==t.attributes["x-out-of-boundaries"]?X.setAttribute("data-out-of-boundaries",""):X.removeAttribute("data-out-of-boundaries");var r=rt(t.placement),i=P(["top","bottom"],r),o=P(["bottom","right"],r);X.style.top="0",X.style.left="0",X.style[i?"top":"left"]=(o?1:-1)*n+"px",e&&e!==t.placement&&K.popperInstance.update()}var s=e({eventsEnabled:!1,placement:K.props.placement},i,{modifiers:e({},i&&i.modifiers,{tippyDistance:{enabled:!0,order:0,fn:function(t){n=function(t,e){var n="string"==typeof e&&P(e,"rem"),r=t.documentElement;return r&&n?parseFloat(getComputedStyle(r).fontSize||String(16))*z(e):z(e)}(I,K.props.distance);var e=rt(t.placement),r=R(e,p&&p.padding,n),i=R(e,a&&a.padding,n),o=K.popperInstance.modifiers;return C(o,"preventOverflow","padding",r),C(o,"flip","padding",i),t}},preventOverflow:e({boundariesElement:K.props.boundary},p),flip:e({enabled:K.props.flip,behavior:K.props.flipBehavior},a),arrow:e({element:o,enabled:!!o},w(i,"arrow")),offset:e({offset:K.props.offset},w(i,"offset"))}),onCreate:function(t){u(t),M(i&&i.onCreate,s.onCreate,[t]),kt()},onUpdate:function(t){u(t),M(i&&i.onUpdate,s.onUpdate,[t]),kt()}});K.popperInstance=new t(r,j,s)}function kt(){0===b?(b++,K.popperInstance.update()):l&&1===b&&(b++,j.offsetHeight,l())}function Pt(t){K.clearDelayTimeouts(),K.popperInstance||St(),t&&ft("onTrigger",[K,t]),wt();var e=ut(!0);e?o=setTimeout(function(){K.show()},e):K.show()}function Vt(t){if(K.clearDelayTimeouts(),ft("onUntrigger",[K,t]),K.state.isVisible){var e=ut(!1);e?a=setTimeout(function(){K.state.isVisible&&K.hide()},e):p=requestAnimationFrame(function(){K.hide()})}else Et()}}function gt(t,r,i){void 0===r&&(r={}),void 0===i&&(i=[]),i=Z.plugins.concat(r.plugins||i),document.addEventListener("touchstart",j,e({},n,{capture:!0})),window.addEventListener("blur",W);var o=e({},Z,{},r,{plugins:i}),a=b(t).reduce(function(t,e){var n=e&&ht(e,o);return n&&t.push(n),t},[]);return A(t)?a[0]:a}gt.version="5.1.2",gt.defaultProps=Z,gt.setDefaultProps=function(t){Object.keys(t).forEach(function(e){Z[e]=t[e]})},gt.currentInput=q;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&&!G?function(){var t=I();return t.className=p,D([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,D([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&D([i],"hidden")},onAfterUpdate:function(){o()}}}};var wt={name:"followCursor",defaultValue:!1,fn:function(t){var e,n=t.reference,r=t.popper,i=H(t.props.triggerTarget||n),o=null,a=!1,p=t.props;function u(){return"manual"===t.props.trigger.trim()}function s(){var e=!!u()||null!==o&&!(0===o.clientX&&0===o.clientY);return t.props.followCursor&&e}function c(){return q.isTouch||"initial"===t.props.followCursor&&t.state.isVisible}function l(){t.popperInstance&&(t.popperInstance.reference=n)}function f(){if(s()||t.props.placement!==p.placement){var e=p.placement,n=e.split("-")[1];a=!0,t.setProps({placement:s()&&n?e.replace(n,"start"===n?"end":"start"):e}),a=!1}}function d(){t.popperInstance&&s()&&(c()||!0!==t.props.followCursor)&&t.popperInstance.disableEventListeners()}function v(){s()?i.addEventListener("mousemove",g):l()}function m(){s()&&g(e)}function h(){i.removeEventListener("mousemove",g)}function g(i){var o=e=i,a=o.clientX,p=o.clientY;if(t.popperInstance&&t.state.currentPlacement){var u=k(i.target,function(t){return t===n}),s=n.getBoundingClientRect(),l=t.props.followCursor,f="horizontal"===l,d="vertical"===l,v=P(["top","bottom"],rt(t.state.currentPlacement)),m=function(t,e){var n=e?t.offsetWidth:t.offsetHeight;return{size:n,x:e?n:0,y:e?0:n}}(r,v),g=m.size,b=m.x,y=m.y;!u&&t.props.interactive||(t.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:v?g:0,height:v?0:g,top:(f?s.top:p)-y,bottom:(f?s.bottom:p)+y,left:(d?s.left:a)-b,right:(d?s.right:a)+b}}},t.popperInstance.update()),c()&&h()}}return{onAfterUpdate:function(t,e){var n;a||(n=e,Object.keys(n).forEach(function(t){p[t]=B(n[t],p[t])}),e.placement&&f()),e.placement&&d(),requestAnimationFrame(m)},onMount:function(){m(),d()},onShow:function(){u()&&(e=o={clientX:0,clientY:0},f(),v())},onTrigger:function(t,n){o||(T(n)&&(o={clientX:n.clientX,clientY:n.clientY},e=n),f(),v())},onUntrigger:function(){t.state.isVisible||(h(),o=null)},onHidden:function(){h(),l(),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)},onShow: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;switch(t){case"top":case"bottom":var r=n[0],i=n[n.length-1],o="top"===t,a=r.top,p=i.bottom,u=o?r.left:i.left,s=o?r.right:i.right;return{top:a,bottom:p,left:u,right:s,width:s-u,height:p-a};case"left":case"right":var c=Math.min.apply(Math,n.map(function(t){return t.left})),l=Math.max.apply(Math,n.map(function(t){return t.right})),f=n.filter(function(e){return"left"===t?e.left===c:e.right===l}),d=f[0].top,v=f[f.length-1].bottom;return{top:d,bottom:v,left:c,right:l,width:l-c,height:v-d};default:return e}}(t.state.currentPlacement&&rt(t.state.currentPlacement),e.getBoundingClientRect(),S(e.getClientRects()))}})}}}};var At={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&&Tt(i,p)||u&&Tt(o,u))&&t.popperInstance.update(),i=p,o=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Tt(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}return X&&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}"),gt.setDefaultProps({plugins:[yt,wt,Et,At]}),gt.createSingleton=function(t,n,r){void 0===n&&(n={}),void 0===r&&(r=[]),r=n.plugins||r,t.forEach(function(t){t.disable()});var i,o,a=e({},Z,{},n).aria,p=!1,u=t.map(function(t){return t.reference}),s={fn:function(e){function n(t){if(i){var n="aria-"+i;t&&!e.props.interactive?o.setAttribute(n,e.popperChildren.tooltip.id):o.removeAttribute(n)}}return{onAfterUpdate:function(t,n){var r=n.aria;void 0!==r&&r!==a&&(p?(p=!0,e.setProps({aria:null}),p=!1):a=r)},onDestroy:function(){t.forEach(function(t){t.enable()})},onMount:function(){n(!0)},onUntrigger:function(){n(!1)},onTrigger:function(r,p){var s=p.currentTarget,c=u.indexOf(s);o=s,i=a,e.state.isVisible&&n(!0),e.popperInstance.reference=s,e.setContent(t[c].props.content)}}}};return gt(I(),e({},n,{plugins:[s].concat(r),aria:null,triggerTarget:u}))},gt.delegate=function(t,n,r){void 0===r&&(r=[]),r=n.plugins||r;var i,o,a=[],p=[],u=n.target,s=(i=["target"],o=e({},n),i.forEach(function(t){delete o[t]}),o),c=e({},s,{plugins:r,trigger:"manual"}),l=e({},s,{plugins:r,showOnCreate:!0}),f=gt(t,c);function d(t){if(t.target){var e=t.target.closest(u);if(e)if(P(e.getAttribute("data-tippy-trigger")||n.trigger||Z.trigger,bt[t.type])){var r=gt(e,l);r&&(p=p.concat(r))}}}function v(t,e,n,r){void 0===r&&(r=!1),t.addEventListener(e,n,r),a.push({node:t,eventType:e,handler:n,options:r})}return U(f).forEach(function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&p.forEach(function(t){t.destroy()}),p=[],a.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),a=[],e()},function(t){var e=t.reference;v(e,"mouseover",d),v(e,"focusin",d),v(e,"click",d)}(t)}),f},gt.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;mt.forEach(function(t){var e=!1;n&&(e=h(n)?t.reference===n:t.popper===n.popper),e||t.hide(r)})},gt.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>',gt}(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,l="."+o,f="."+a,d="."+u,v="."+s;function m(t,e){t.innerHTML=e}function h(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function g(t,e){return{}.hasOwnProperty.call(t,e)}function b(t){return A(t)?[t]:function(t){return E(t,"NodeList")}(t)?k(t):Array.isArray(t)?t:k(document.querySelectorAll(t))}function y(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function w(t,e){return t&&t.modifiers&&t.modifiers[e]}function E(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function A(t){return E(t,"Element")}function T(t){return E(t,"MouseEvent")}function x(t,e){return"function"==typeof t?t.apply(void 0,e):t}function C(t,e,n,r){t.filter(function(t){return t.name===e})[0][n]=r}function I(){return document.createElement("div")}function O(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function D(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function L(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)};var n}function M(t,e,n){t&&t!==e&&t.apply(void 0,n)}function k(t){return[].slice.call(t)}function S(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}function P(t,e){return t.indexOf(e)>-1}function V(t){return t.split(/\s+/).filter(Boolean)}function B(t,e){return void 0!==t?t:e}function U(t){return[].concat(t)}function H(t){var e=U(t)[0];return e&&e.ownerDocument||document}function N(t,e){-1===t.indexOf(e)&&t.push(e)}function z(t){return"number"==typeof t?t:parseFloat(t)}function R(t,e,n){void 0===e&&(e=5);var r={top:0,right:0,bottom:0,left:0};return Object.keys(r).reduce(function(r,i){return r[i]="number"==typeof e?e:e[i],t===i&&(r[i]="number"==typeof e?e+n:e[t]+n),r},r)}var q={isTouch:!1},F=0;function j(){q.isTouch||(q.isTouch=!0,window.performance&&document.addEventListener("mousemove",_))}function _(){var t=performance.now();t-F<20&&(q.isTouch=!1,document.removeEventListener("mousemove",_)),F=t}function W(){var t=document.activeElement;if(h(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var X="undefined"!=typeof window&&"undefined"!=typeof document,Y=X?navigator.userAgent:"",J=/MSIE |Trident\//.test(Y),G=/UCBrowser\//.test(Y),K=X&&/iPhone|iPad|iPod/.test(navigator.platform);function Q(t){var e=t&&K&&q.isTouch;document.body.classList[e?"add":"remove"](r)}var Z=e({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",plugins:[],popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1}),$=Object.keys(Z),tt=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function et(t){var n=(t.plugins||[]).reduce(function(e,n){var r=n.name,i=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:i),e},{});return e({},t,{},n)}function nt(t,n){var r=e({},n,{content:x(n.content,[t])},n.ignoreAttributes?{}:function(t,n){return(n?Object.keys(et(e({},Z,{plugins:n}))):$).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.plugins));return r.interactive&&(r.aria=null),r}function rt(t){return t.split("-")[0]}function it(t){t.setAttribute("data-inertia","")}function ot(t){t.setAttribute("data-interactive","")}function at(t,e){if(A(e.content))m(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function pt(t){return{tooltip:t.querySelector(l),content:t.querySelector(f),arrow:t.querySelector(d)||t.querySelector(v)}}function ut(t){var e=I();return!0===t?e.className=u:(e.className=s,A(t)?e.appendChild(t):m(e,t)),e}function st(t,e){var n=I();n.className=i,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=I();r.className=o,r.id="tippy-"+t,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),ft(r,"add",e.theme);var p=I();return p.className=a,p.setAttribute("data-state","hidden"),e.interactive&&ot(r),e.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(ut(e.arrow))),e.inertia&&it(r),at(p,e),r.appendChild(p),n.appendChild(r),ct(n,e,e),n}function ct(t,e,n){var r,i=pt(t),o=i.tooltip,a=i.content,p=i.arrow;t.style.zIndex=""+n.zIndex,o.setAttribute("data-animation",n.animation),o.style.maxWidth="number"==typeof(r=n.maxWidth)?r+"px":r,n.role?o.setAttribute("role",n.role):o.removeAttribute("role"),e.content!==n.content&&at(a,n),!e.arrow&&n.arrow?(o.appendChild(ut(n.arrow)),o.setAttribute("data-arrow","")):e.arrow&&!n.arrow?(o.removeChild(p),o.removeAttribute("data-arrow")):e.arrow!==n.arrow&&(o.removeChild(p),o.appendChild(ut(n.arrow))),!e.interactive&&n.interactive?ot(o):e.interactive&&!n.interactive&&function(t){t.removeAttribute("data-interactive")}(o),!e.inertia&&n.inertia?it(o):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(o),e.theme!==n.theme&&(ft(o,"remove",e.theme),ft(o,"add",n.theme))}function lt(t,e,n){var r=G&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ft(t,e,n){V(n).forEach(function(n){t.classList[e](n+"-theme")})}var dt=1,vt=[],mt=[];function ht(r,i){var o,a,p,u=nt(r,e({},Z,{},et(i)));if(!u.multiple&&r._tippy)return null;var s,l,f,d,v,m=!1,h=!1,b=!1,E=0,A=[],I=L(Dt,u.interactiveDebounce),F=H(u.triggerTarget||r),j=dt++,_=st(j,u),W=pt(_),X=(v=u.plugins).filter(function(t,e){return v.indexOf(t)===e}),Y=W.tooltip,G=W.content,K=[Y,G],$={id:j,reference:r,popper:_,popperChildren:W,popperInstance:null,props:u,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:X,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(a),cancelAnimationFrame(p)},setProps:function(t){if($.state.isDestroyed)return;ht("onBeforeUpdate",[$,t]),It();var n=$.props,i=nt(r,e({},$.props,{},t,{ignoreAttributes:!0}));i.ignoreAttributes=B(t.ignoreAttributes,n.ignoreAttributes),$.props=i,Ct(),n.interactiveDebounce!==i.interactiveDebounce&&(yt(),I=L(Dt,i.interactiveDebounce));ct(_,n,i),$.popperChildren=pt(_),n.triggerTarget&&!i.triggerTarget?U(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):i.triggerTarget&&r.removeAttribute("aria-expanded");if(bt(),$.popperInstance)if(tt.some(function(e){return g(t,e)&&t[e]!==n[e]})){var o=$.popperInstance.reference;$.popperInstance.destroy(),St(),$.popperInstance.reference=o,$.state.isVisible&&$.popperInstance.enableEventListeners()}else $.popperInstance.update();ht("onAfterUpdate",[$,t])},setContent:function(t){$.setProps({content:t})},show:function(t){void 0===t&&(t=y($.props.duration,0,Z.duration));var e=$.state.isVisible,n=$.state.isDestroyed,r=!$.state.isEnabled,i=q.isTouch&&!$.props.touch;if(e||n||r||i)return;if(ut().hasAttribute("disabled"))return;$.popperInstance||St();if(ht("onShow",[$],!1),!1===$.props.onShow($))return;Et(),_.style.visibility="visible",$.state.isVisible=!0,$.state.isMounted||O(K.concat(_),0);l=function(){$.state.isVisible&&(O([_],$.props.updateDuration),O(K,t),D(K,"visible"),gt(),bt(),N(mt,$),Q(!0),$.state.isMounted=!0,ht("onMount",[$]),function(t,e){Tt(t,e)}(t,function(){$.state.isShown=!0,ht("onShown",[$])}))},function(){E=0;var t,e=$.props.appendTo,n=ut();t=$.props.interactive&&e===Z.appendTo||"parent"===e?n.parentNode:x(e,[n]);t.contains(_)||t.appendChild(_);C($.popperInstance.modifiers,"flip","enabled",$.props.flip),$.popperInstance.enableEventListeners(),$.popperInstance.update()}()},hide:function(t){void 0===t&&(t=y($.props.duration,1,Z.duration));var e=!$.state.isVisible&&!m,n=$.state.isDestroyed,r=!$.state.isEnabled&&!m;if(e||n||r)return;if(ht("onHide",[$],!1),!1===$.props.onHide($)&&!m)return;At(),_.style.visibility="hidden",$.state.isVisible=!1,$.state.isShown=!1,O(K,t),D(K,"hidden"),gt(),bt(),function(t,e){Tt(t,function(){!$.state.isVisible&&_.parentNode&&_.parentNode.contains(_)&&e()})}(t,function(){$.popperInstance.disableEventListeners(),$.popperInstance.options.placement=$.props.placement,_.parentNode.removeChild(_),0===(mt=mt.filter(function(t){return t!==$})).length&&Q(!1),$.state.isMounted=!1,ht("onHidden",[$])})},enable:function(){$.state.isEnabled=!0},disable:function(){$.hide(),$.state.isEnabled=!1},destroy:function(){if($.state.isDestroyed)return;m=!0,$.clearDelayTimeouts(),$.hide(0),It(),delete r._tippy,$.popperInstance&&$.popperInstance.destroy();m=!1,$.state.isDestroyed=!0,ht("onDestroy",[$])}};r._tippy=$,_._tippy=$;var it=X.map(function(t){return t.fn($)});return Ct(),bt(),u.lazy||St(),ht("onCreate",[$]),u.showOnCreate&&Vt(),_.addEventListener("mouseenter",function(){$.props.interactive&&$.state.isVisible&&$.clearDelayTimeouts()}),_.addEventListener("mouseleave",function(){$.props.interactive&&P($.props.trigger,"mouseenter")&&F.addEventListener("mousemove",I)}),$;function ot(){var t=$.props.touch;return Array.isArray(t)?t:[t,0]}function at(){return"hold"===ot()[0]}function ut(){return d||r}function ft(t){return $.state.isMounted&&!$.state.isVisible||q.isTouch||s&&"focus"===s.type?0:y($.props.delay,t?0:1,Z.delay)}function ht(t,e,n){var r;(void 0===n&&(n=!0),it.forEach(function(n){g(n,t)&&n[t].apply(n,e)}),n)&&(r=$.props)[t].apply(r,e)}function gt(){var t=$.props.aria;if(t){var e="aria-"+t,n=Y.id;U($.props.triggerTarget||r).forEach(function(t){var r=t.getAttribute(e);if($.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 bt(){U($.props.triggerTarget||r).forEach(function(t){$.props.interactive?t.setAttribute("aria-expanded",$.state.isVisible&&t===ut()?"true":"false"):t.removeAttribute("aria-expanded")})}function yt(){F.body.removeEventListener("mouseleave",Bt),F.removeEventListener("mousemove",I),vt=vt.filter(function(t){return t!==I})}function wt(t){if(!$.props.interactive||!_.contains(t.target)){if(ut().contains(t.target)){if(q.isTouch)return;if($.state.isVisible&&P($.props.trigger,"click"))return}!0===$.props.hideOnClick&&(h=!1,$.clearDelayTimeouts(),$.hide(),b=!0,setTimeout(function(){b=!1}),$.state.isMounted||At())}}function Et(){F.addEventListener("mousedown",wt,!0)}function At(){F.removeEventListener("mousedown",wt,!0)}function Tt(t,e){function n(t){t.target===Y&&"visibility"===t.propertyName&&(lt(Y,"remove",n),e())}if(0===t)return e();lt(Y,"remove",f),lt(Y,"add",n),f=n}function xt(t,e,n){void 0===n&&(n=!1),U($.props.triggerTarget||r).forEach(function(r){r.addEventListener(t,e,n),A.push({node:r,eventType:t,handler:e,options:n})})}function Ct(){at()&&(xt("touchstart",Ot,n),xt("touchend",Lt,n)),V($.props.trigger).forEach(function(t){if("manual"!==t)switch(xt(t,Ot),t){case"mouseenter":xt("mouseleave",Lt);break;case"focus":xt(J?"focusout":"blur",Mt)}})}function It(){A.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),A=[]}function Ot(t){var e=!1;if($.state.isEnabled&&!kt(t)&&!b){if(s=t,d=t.currentTarget,bt(),!$.state.isVisible&&T(t)&&vt.forEach(function(e){return e(t)}),"click"!==t.type||P($.props.trigger,"mouseenter")&&!h||!1===$.props.hideOnClick||!$.state.isVisible){var n=ot(),r=n[0],i=n[1];q.isTouch&&"hold"===r&&i?o=setTimeout(function(){Vt(t)},i):Vt(t)}else e=!0;"click"===t.type&&(h=!e),e&&Bt(t)}}function Dt(t){S(t.target,function(t){return t===r||t===_})||function(t,e){var n=e.clientX,r=e.clientY;return t.every(function(t){var e=t.popperRect,i=t.tooltipRect,o=t.interactiveBorder,a=Math.min(e.top,i.top),p=Math.max(e.right,i.right),u=Math.max(e.bottom,i.bottom),s=Math.min(e.left,i.left);return a-r>o||r-u>o||s-n>o||n-p>o})}(k(_.querySelectorAll(c)).concat(_).map(function(t){var e=t._tippy,n=e.popperChildren.tooltip,r=e.props.interactiveBorder;return{popperRect:t.getBoundingClientRect(),tooltipRect:n.getBoundingClientRect(),interactiveBorder:r}}),t)&&(yt(),Bt(t))}function Lt(t){if(!kt(t))return $.props.interactive?(F.body.addEventListener("mouseleave",Bt),F.addEventListener("mousemove",I),void N(vt,I)):void(P($.props.trigger,"click")&&h||Bt(t))}function Mt(t){t.target===ut()&&($.props.interactive&&t.relatedTarget&&_.contains(t.relatedTarget)||Bt(t))}function kt(t){var e="ontouchstart"in window,n=P(t.type,"touch"),r=at();return e&&q.isTouch&&r&&!n||q.isTouch&&!r&&n}function St(){var n,i=$.props.popperOptions,o=$.popperChildren.arrow,a=w(i,"flip"),p=w(i,"preventOverflow");function u(t){var e=$.state.currentPlacement;$.state.currentPlacement=t.placement,$.props.flip&&!$.props.flipOnUpdate&&(t.flipped&&($.popperInstance.options.placement=t.placement),C($.popperInstance.modifiers,"flip","enabled",!1)),Y.setAttribute("data-placement",t.placement),!1!==t.attributes["x-out-of-boundaries"]?Y.setAttribute("data-out-of-boundaries",""):Y.removeAttribute("data-out-of-boundaries");var r=rt(t.placement),i=P(["top","bottom"],r),o=P(["bottom","right"],r);Y.style.top="0",Y.style.left="0",Y.style[i?"top":"left"]=(o?1:-1)*n+"px",e&&e!==t.placement&&$.popperInstance.update()}var s=e({eventsEnabled:!1,placement:$.props.placement},i,{modifiers:e({},i&&i.modifiers,{tippyDistance:{enabled:!0,order:0,fn:function(t){n=function(t,e){var n="string"==typeof e&&P(e,"rem"),r=t.documentElement;return r&&n?parseFloat(getComputedStyle(r).fontSize||String(16))*z(e):z(e)}(F,$.props.distance);var e=rt(t.placement),r=R(e,p&&p.padding,n),i=R(e,a&&a.padding,n),o=$.popperInstance.modifiers;return C(o,"preventOverflow","padding",r),C(o,"flip","padding",i),t}},preventOverflow:e({boundariesElement:$.props.boundary},p),flip:e({enabled:$.props.flip,behavior:$.props.flipBehavior},a),arrow:e({element:o,enabled:!!o},w(i,"arrow")),offset:e({offset:$.props.offset},w(i,"offset"))}),onCreate:function(t){u(t),M(i&&i.onCreate,s.onCreate,[t]),Pt()},onUpdate:function(t){u(t),M(i&&i.onUpdate,s.onUpdate,[t]),Pt()}});$.popperInstance=new t(r,_,s)}function Pt(){0===E?(E++,$.popperInstance.update()):l&&1===E&&(E++,_.offsetHeight,l())}function Vt(t){$.clearDelayTimeouts(),$.popperInstance||St(),t&&ht("onTrigger",[$,t]),Et();var e=ft(!0);e?o=setTimeout(function(){$.show()},e):$.show()}function Bt(t){if($.clearDelayTimeouts(),ht("onUntrigger",[$,t]),$.state.isVisible){var e=ft(!1);e?a=setTimeout(function(){$.state.isVisible&&$.hide()},e):p=requestAnimationFrame(function(){$.hide()})}else At()}}function gt(t,r,i){void 0===r&&(r={}),void 0===i&&(i=[]),i=Z.plugins.concat(r.plugins||i),document.addEventListener("touchstart",j,e({},n,{capture:!0})),window.addEventListener("blur",W);var o=e({},r,{plugins:i}),a=b(t).reduce(function(t,e){var n=e&&ht(e,o);return n&&t.push(n),t},[]);return A(t)?a[0]:a}gt.version="5.1.3",gt.defaultProps=Z,gt.setDefaultProps=function(t){Object.keys(t).forEach(function(e){Z[e]=t[e]})},gt.currentInput=q;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&&!G?function(){var t=I();return t.className=p,D([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,D([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&D([i],"hidden")},onAfterUpdate:function(){o()}}}};var wt={name:"followCursor",defaultValue:!1,fn:function(t){var e,n=t.reference,r=t.popper,i=null,o=H(t.props.triggerTarget||n),a=null,p=!1,u=t.props;function s(){return"manual"===t.props.trigger.trim()}function c(){var e=!!s()||null!==a&&!(0===a.clientX&&0===a.clientY);return t.props.followCursor&&e}function l(){return q.isTouch||"initial"===t.props.followCursor&&t.state.isVisible}function f(){t.popperInstance&&i&&(t.popperInstance.reference=i)}function d(){if(c()||t.props.placement!==u.placement){var e=u.placement,n=e.split("-")[1];p=!0,t.setProps({placement:c()&&n?e.replace(n,"start"===n?"end":"start"):e}),p=!1}}function v(){t.popperInstance&&c()&&(l()||!0!==t.props.followCursor)&&t.popperInstance.disableEventListeners()}function m(){c()?o.addEventListener("mousemove",b):f()}function h(){c()&&b(e)}function g(){o.removeEventListener("mousemove",b)}function b(o){var a=e=o,p=a.clientX,u=a.clientY;if(t.popperInstance&&t.state.currentPlacement){var s=S(o.target,function(t){return t===n}),c=n.getBoundingClientRect(),f=t.props.followCursor,d="horizontal"===f,v="vertical"===f,m=P(["top","bottom"],rt(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),b=h.size,y=h.x,w=h.y;!s&&t.props.interactive||(null===i&&(i=t.popperInstance.reference),t.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?b:0,height:m?0:b,top:(d?c.top:u)-w,bottom:(d?c.bottom:u)+w,left:(v?c.left:p)-y,right:(v?c.right:p)+y}}},t.popperInstance.update()),l()&&g()}}return{onAfterUpdate:function(t,e){var n;p||(n=e,Object.keys(n).forEach(function(t){u[t]=B(n[t],u[t])}),e.placement&&d()),e.placement&&v(),requestAnimationFrame(h)},onMount:function(){h(),v()},onShow:function(){s()&&(e=a={clientX:0,clientY:0},d(),m())},onTrigger:function(t,n){a||(T(n)&&(a={clientX:n.clientX,clientY:n.clientY},e=n),d(),m())},onUntrigger:function(){t.state.isVisible||(g(),a=null)},onHidden:function(){g(),f(),a=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)},onShow: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;switch(t){case"top":case"bottom":var r=n[0],i=n[n.length-1],o="top"===t,a=r.top,p=i.bottom,u=o?r.left:i.left,s=o?r.right:i.right;return{top:a,bottom:p,left:u,right:s,width:s-u,height:p-a};case"left":case"right":var c=Math.min.apply(Math,n.map(function(t){return t.left})),l=Math.max.apply(Math,n.map(function(t){return t.right})),f=n.filter(function(e){return"left"===t?e.left===c:e.right===l}),d=f[0].top,v=f[f.length-1].bottom;return{top:d,bottom:v,left:c,right:l,width:l-c,height:v-d};default:return e}}(t.state.currentPlacement&&rt(t.state.currentPlacement),e.getBoundingClientRect(),k(e.getClientRects()))}})}}}};var At={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")?(t.popperInstance?t.popperInstance.reference:e).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(p&&Tt(i,p)||u&&Tt(o,u))&&t.popperInstance.update(),i=p,o=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Tt(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}return X&&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}"),gt.setDefaultProps({plugins:[yt,wt,Et,At]}),gt.createSingleton=function(t,n,r){void 0===n&&(n={}),void 0===r&&(r=[]),r=n.plugins||r,t.forEach(function(t){t.disable()});var i,o,a=e({},Z,{},n).aria,p=!1,u=t.map(function(t){return t.reference}),s={fn:function(e){function n(t){if(i){var n="aria-"+i;t&&!e.props.interactive?o.setAttribute(n,e.popperChildren.tooltip.id):o.removeAttribute(n)}}return{onAfterUpdate:function(t,n){var r=n.aria;void 0!==r&&r!==a&&(p?(p=!0,e.setProps({aria:null}),p=!1):a=r)},onDestroy:function(){t.forEach(function(t){t.enable()})},onMount:function(){n(!0)},onUntrigger:function(){n(!1)},onTrigger:function(r,p){var s=p.currentTarget,c=u.indexOf(s);s!==o&&(o=s,i=a,e.state.isVisible&&n(!0),e.popperInstance.reference=s,e.setContent(t[c].props.content))}}}};return gt(I(),e({},n,{plugins:[s].concat(r),aria:null,triggerTarget:u}))},gt.delegate=function(t,n,r){void 0===r&&(r=[]),r=n.plugins||r;var i,o,a=[],p=[],u=n.target,s=(i=["target"],o=e({},n),i.forEach(function(t){delete o[t]}),o),c=e({},s,{plugins:r,trigger:"manual"}),l=e({},s,{plugins:r,showOnCreate:!0}),f=gt(t,c);function d(t){if(t.target){var e=t.target.closest(u);if(e)if(P(e.getAttribute("data-tippy-trigger")||n.trigger||Z.trigger,bt[t.type])){var r=gt(e,l);r&&(p=p.concat(r))}}}function v(t,e,n,r){void 0===r&&(r=!1),t.addEventListener(e,n,r),a.push({node:t,eventType:e,handler:n,options:r})}return U(f).forEach(function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&p.forEach(function(t){t.destroy()}),p=[],a.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),a=[],e()},function(t){var e=t.reference;v(e,"mouseover",d),v(e,"focusin",d),v(e,"click",d)}(t)}),f},gt.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;mt.forEach(function(t){var e=!1;n&&(e=h(n)?t.reference===n:t.popper===n.popper),e||t.hide(r)})},gt.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>',gt}(Popper);
//# sourceMappingURL=tippy-bundle.iife.min.js.map
/**!
* tippy.js v5.1.2
* tippy.js v5.1.3
* (c) 2017-2019 atomiks

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

var version = "5.1.2";
var version = "5.1.3";

@@ -393,8 +393,10 @@ /**

/**
* Helpful wrapper around thrown errors
* Helpful wrapper around `console.error()`
*/
function throwErrorWhen(condition, message) {
function errorWhen(condition, message) {
if (condition) {
throw new Error(clean(message));
var _console2;
(_console2 = console).error.apply(_console2, getFormattedMessage(message));
}

@@ -409,9 +411,14 @@ }

var didPassPlainObject = Object.prototype.toString.call(targets) === '[object Object]' && !targets.addEventListener;
throwErrorWhen(didPassFalsyValue, "tippy() was passed `" + targets + "` as its targets (first) argument.\n\n Valid types are: String, Element, Element[], or NodeList.");
throwErrorWhen(didPassPlainObject, "tippy() was passed a plain object which is no longer supported as an\n argument.\n \n See https://atomiks.github.io/tippyjs/misc/#custom-position");
errorWhen(didPassFalsyValue, ['tippy() was passed', '`' + String(targets) + '`', 'as its targets (first) argument. Valid types are: String, Element, Element[],', 'or NodeList.'].join(' '));
errorWhen(didPassPlainObject, ['tippy() was passed a plain object which is no longer supported as an argument.', 'See: https://atomiks.github.io/tippyjs/misc/#custom-position'].join(' '));
}
var defaultProps = {
var pluginProps = {
animateFill: false,
followCursor: false,
inlinePositioning: false,
sticky: false
};
var defaultProps = _extends({
allowHTML: true,
animateFill: false,
animation: 'fade',

@@ -431,6 +438,4 @@ appendTo: function appendTo() {

flipOnUpdate: false,
followCursor: false,
hideOnClick: true,
ignoreAttributes: false,
inlinePositioning: false,
inertia: false,

@@ -460,3 +465,2 @@ interactive: false,

showOnCreate: false,
sticky: false,
theme: '',

@@ -468,3 +472,3 @@ touch: true,

zIndex: 9999
};
}, pluginProps);
var defaultKeys = Object.keys(defaultProps);

@@ -495,4 +499,5 @@ /**

function getExtendedProps(props) {
return _extends({}, props, {}, props.plugins.reduce(function (acc, plugin) {
function getExtendedPassedProps(passedProps) {
var plugins = passedProps.plugins || [];
var pluginProps = plugins.reduce(function (acc, plugin) {
var name = plugin.name,

@@ -502,7 +507,8 @@ defaultValue = plugin.defaultValue;

if (name) {
acc[name] = props[name] !== undefined ? props[name] : defaultValue;
acc[name] = passedProps[name] !== undefined ? passedProps[name] : defaultValue;
}
return acc;
}, {}));
}, {});
return _extends({}, passedProps, {}, pluginProps);
}

@@ -514,3 +520,3 @@ /**

function getDataAttributeProps(reference, plugins) {
var propKeys = plugins ? Object.keys(getExtendedProps(_extends({}, defaultProps, {
var propKeys = plugins ? Object.keys(getExtendedPassedProps(_extends({}, defaultProps, {
plugins: plugins

@@ -583,11 +589,11 @@ }))) : defaultKeys;

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 \"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\"}");
warnWhen(prop === 'size', "The `size` prop was removed in v5. Instead, use a theme that specifies\n CSS padding and font-size properties.");
warnWhen(prop === 'theme' && value === 'google', "The included theme \"google\" was renamed to \"material\" in v5.");
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, "`" + 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 props.plugins.\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(prop === 'target', ['The `target` prop was removed in v5 and replaced with the delegate() addon', 'in order to conserve bundle size.', 'See: https://atomiks.github.io/tippyjs/addons/#event-delegation'].join(' '));
warnWhen(prop === 'a11y', ['The `a11y` prop was removed in v5. Make sure the element you are giving a', 'tippy to is natively focusable, such as <button> or <input>, not <div>', 'or <span>.'].join(' '));
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 `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}`'].join(' '));
warnWhen(prop === 'touchHold', ['The `touchHold` prop was removed in v5 in favor of overloading the `touch`', 'prop.', '\n\n', 'Before: {touchHold: true}\n', 'After: {touch: "hold"}'].join(' '));
warnWhen(prop === 'size', ['The `size` prop was removed in v5. Instead, use a theme that specifies', 'CSS padding and font-size properties.'].join(' '));
warnWhen(prop === 'theme' && value === 'google', 'The included theme "google" was renamed to "material" in v5.');
warnWhen(didSpecifyPlacementInPopperOptions, ['Specifying placement in `popperOptions` is not supported. Use the base-level', '`placement` prop instead.', '\n\n', 'Before: {popperOptions: {placement: "bottom"}}\n', 'After: {placement: "bottom"}'].join(' '));
warnWhen(didPassUnknownProp, ["`" + prop + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's a", 'plugin, forgot to pass it in an array as props.plugins.', '\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/'].join(' '));
});

@@ -926,4 +932,4 @@ }

function createTippy(reference, collectionProps) {
var props = getExtendedProps(evaluateProps(reference, collectionProps)); // If the reference shouldn't have multiple tippys, return null early
function createTippy(reference, passedProps) {
var props = evaluateProps(reference, _extends({}, defaultProps, {}, getExtendedPassedProps(passedProps))); // If the reference shouldn't have multiple tippys, return null early

@@ -940,2 +946,3 @@ if (!props.multiple && reference._tippy) {

var isBeingDestroyed = false;
var isVisibleFromClick = false;
var didHideDueToDocumentMouseDown = false;

@@ -1141,2 +1148,3 @@ var popperUpdates = 0;

if (instance.props.hideOnClick === true) {
isVisibleFromClick = false;
instance.clearDelayTimeouts();

@@ -1182,3 +1190,3 @@ instance.hide(); // `mousedown` event is fired right before `focus` if pressing the

function listener(event) {
if (event.target === tooltip) {
if (event.target === tooltip && event.propertyName === 'visibility') {
updateTransitionEndListener(tooltip, 'remove', listener);

@@ -1254,2 +1262,4 @@ callback();

function onTrigger(event) {
var shouldScheduleClickHide = false;
if (!instance.state.isEnabled || isEventListenerStopped(event) || didHideDueToDocumentMouseDown) {

@@ -1274,4 +1284,4 @@ return;

if (event.type === 'click' && instance.props.hideOnClick !== false && instance.state.isVisible) {
scheduleHide(event);
if (event.type === 'click' && (!includes(instance.props.trigger, 'mouseenter') || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) {
shouldScheduleClickHide = true;
} else {

@@ -1292,2 +1302,10 @@ var _getNormalizedTouchSe = getNormalizedTouchSettings(),

}
if (event.type === 'click') {
isVisibleFromClick = !shouldScheduleClickHide;
}
if (shouldScheduleClickHide) {
scheduleHide(event);
}
}

@@ -1333,2 +1351,6 @@

if (includes(instance.props.trigger, 'click') && isVisibleFromClick) {
return;
}
scheduleHide(event);

@@ -1498,3 +1520,3 @@ }

// Accessibility check
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, "Interactive tippy element may not be accessible via keyboard\n navigation because it is not directly after the reference element in\n the DOM source order.\n\n Using a wrapper <div> or <span> tag around the reference element solves\n this by creating a new parentNode context.\n \n Specifying `appendTo: document.body` silences this warning, but it\n assumes you are using a focus management solution to handle keyboard\n navigation.\n \n See: https://atomiks.github.io/tippyjs/accessibility/#interactivity");
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, ['Interactive tippy element may not be accessible via keyboard navigation', 'because it is not directly after the reference element in the DOM source', 'order.', '\n\n', 'Using a wrapper <div> or <span> tag around the reference element solves', 'this by creating a new parentNode context.', '\n\n', 'Specifying `appendTo: document.body` silences this warning, but it', 'assumes you are using a focus management solution to handle keyboard', 'navigation.', '\n\n', 'See: https://atomiks.github.io/tippyjs/accessibility/#interactivity'].join(' '));
}

@@ -1814,3 +1836,3 @@

var props = _extends({}, defaultProps, {}, optionalProps, {
var passedProps = _extends({}, optionalProps, {
plugins: plugins

@@ -1822,9 +1844,9 @@ });

if (process.env.NODE_ENV !== "production") {
var isSingleContentElement = isElement(props.content);
var isSingleContentElement = isElement(passedProps.content);
var isMoreThanOneReferenceElement = elements.length > 1;
warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, "tippy() was passed an Element as the `content` prop, but more than one\n tippy instance was created by this invocation. This means the content\n element will only be appended to the last tippy instance.\n \n Instead, pass the .innerHTML of the element, or use a function that\n returns a cloned version of the element instead.\n \n 1) content: () => element.cloneNode(true)\n 2) content: element.innerHTML");
warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ['tippy() was passed an Element as the `content` prop, but more than one tippy', 'instance was created by this invocation. This means the content element will', 'only be appended to the last tippy instance.', '\n\n', 'Instead, pass the .innerHTML of the element, or use a function that returns a', 'cloned version of the element instead.', '\n\n', '1) content: element.innerHTML\n', '2) content: () => element.cloneNode(true)'].join(' '));
}
var instances = elements.reduce(function (acc, reference) {
var instance = reference && createTippy(reference, props);
var instance = reference && createTippy(reference, passedProps);

@@ -1872,3 +1894,3 @@ if (instance) {

if (process.env.NODE_ENV !== "production") {
warnWhen(true, "createTippyWithPlugins([...]) has been deprecated.\n\n Use tippy.setDefaultProps({plugins: [...]}) instead.");
warnWhen(true, ['createTippyWithPlugins([...]) has been deprecated.', '\n\n', 'Use tippy.setDefaultProps({plugins: [...]}) instead.'].join(' '));
}

@@ -1908,2 +1930,3 @@

exports.div = div;
exports.errorWhen = errorWhen;
exports.getBasePlacement = getBasePlacement;

@@ -1919,3 +1942,2 @@ exports.getOwnerDocument = getOwnerDocument;

exports.setVisibilityState = setVisibilityState;
exports.throwErrorWhen = throwErrorWhen;
exports.tippy = tippy;

@@ -1922,0 +1944,0 @@ exports.useIfDefined = useIfDefined;

/**!
* tippy.js v5.1.2
* tippy.js v5.1.3
* (c) 2017-2019 atomiks

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

var version = "5.1.2";
var version = "5.1.3";

@@ -389,8 +389,10 @@ /**

/**
* Helpful wrapper around thrown errors
* Helpful wrapper around `console.error()`
*/
function throwErrorWhen(condition, message) {
function errorWhen(condition, message) {
if (condition) {
throw new Error(clean(message));
var _console2;
(_console2 = console).error.apply(_console2, getFormattedMessage(message));
}

@@ -405,9 +407,14 @@ }

var didPassPlainObject = Object.prototype.toString.call(targets) === '[object Object]' && !targets.addEventListener;
throwErrorWhen(didPassFalsyValue, "tippy() was passed `" + targets + "` as its targets (first) argument.\n\n Valid types are: String, Element, Element[], or NodeList.");
throwErrorWhen(didPassPlainObject, "tippy() was passed a plain object which is no longer supported as an\n argument.\n \n See https://atomiks.github.io/tippyjs/misc/#custom-position");
errorWhen(didPassFalsyValue, ['tippy() was passed', '`' + String(targets) + '`', 'as its targets (first) argument. Valid types are: String, Element, Element[],', 'or NodeList.'].join(' '));
errorWhen(didPassPlainObject, ['tippy() was passed a plain object which is no longer supported as an argument.', 'See: https://atomiks.github.io/tippyjs/misc/#custom-position'].join(' '));
}
var defaultProps = {
var pluginProps = {
animateFill: false,
followCursor: false,
inlinePositioning: false,
sticky: false
};
var defaultProps = _extends({
allowHTML: true,
animateFill: false,
animation: 'fade',

@@ -427,6 +434,4 @@ appendTo: function appendTo() {

flipOnUpdate: false,
followCursor: false,
hideOnClick: true,
ignoreAttributes: false,
inlinePositioning: false,
inertia: false,

@@ -456,3 +461,2 @@ interactive: false,

showOnCreate: false,
sticky: false,
theme: '',

@@ -464,3 +468,3 @@ touch: true,

zIndex: 9999
};
}, pluginProps);
var defaultKeys = Object.keys(defaultProps);

@@ -491,4 +495,5 @@ /**

function getExtendedProps(props) {
return _extends({}, props, {}, props.plugins.reduce(function (acc, plugin) {
function getExtendedPassedProps(passedProps) {
var plugins = passedProps.plugins || [];
var pluginProps = plugins.reduce(function (acc, plugin) {
var name = plugin.name,

@@ -498,7 +503,8 @@ defaultValue = plugin.defaultValue;

if (name) {
acc[name] = props[name] !== undefined ? props[name] : defaultValue;
acc[name] = passedProps[name] !== undefined ? passedProps[name] : defaultValue;
}
return acc;
}, {}));
}, {});
return _extends({}, passedProps, {}, pluginProps);
}

@@ -510,3 +516,3 @@ /**

function getDataAttributeProps(reference, plugins) {
var propKeys = plugins ? Object.keys(getExtendedProps(_extends({}, defaultProps, {
var propKeys = plugins ? Object.keys(getExtendedPassedProps(_extends({}, defaultProps, {
plugins: plugins

@@ -579,11 +585,11 @@ }))) : defaultKeys;

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 \"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\"}");
warnWhen(prop === 'size', "The `size` prop was removed in v5. Instead, use a theme that specifies\n CSS padding and font-size properties.");
warnWhen(prop === 'theme' && value === 'google', "The included theme \"google\" was renamed to \"material\" in v5.");
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, "`" + 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 props.plugins.\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(prop === 'target', ['The `target` prop was removed in v5 and replaced with the delegate() addon', 'in order to conserve bundle size.', 'See: https://atomiks.github.io/tippyjs/addons/#event-delegation'].join(' '));
warnWhen(prop === 'a11y', ['The `a11y` prop was removed in v5. Make sure the element you are giving a', 'tippy to is natively focusable, such as <button> or <input>, not <div>', 'or <span>.'].join(' '));
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 `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}`'].join(' '));
warnWhen(prop === 'touchHold', ['The `touchHold` prop was removed in v5 in favor of overloading the `touch`', 'prop.', '\n\n', 'Before: {touchHold: true}\n', 'After: {touch: "hold"}'].join(' '));
warnWhen(prop === 'size', ['The `size` prop was removed in v5. Instead, use a theme that specifies', 'CSS padding and font-size properties.'].join(' '));
warnWhen(prop === 'theme' && value === 'google', 'The included theme "google" was renamed to "material" in v5.');
warnWhen(didSpecifyPlacementInPopperOptions, ['Specifying placement in `popperOptions` is not supported. Use the base-level', '`placement` prop instead.', '\n\n', 'Before: {popperOptions: {placement: "bottom"}}\n', 'After: {placement: "bottom"}'].join(' '));
warnWhen(didPassUnknownProp, ["`" + prop + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's a", 'plugin, forgot to pass it in an array as props.plugins.', '\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/'].join(' '));
});

@@ -922,4 +928,4 @@ }

function createTippy(reference, collectionProps) {
var props = getExtendedProps(evaluateProps(reference, collectionProps)); // If the reference shouldn't have multiple tippys, return null early
function createTippy(reference, passedProps) {
var props = evaluateProps(reference, _extends({}, defaultProps, {}, getExtendedPassedProps(passedProps))); // If the reference shouldn't have multiple tippys, return null early

@@ -936,2 +942,3 @@ if (!props.multiple && reference._tippy) {

var isBeingDestroyed = false;
var isVisibleFromClick = false;
var didHideDueToDocumentMouseDown = false;

@@ -1137,2 +1144,3 @@ var popperUpdates = 0;

if (instance.props.hideOnClick === true) {
isVisibleFromClick = false;
instance.clearDelayTimeouts();

@@ -1178,3 +1186,3 @@ instance.hide(); // `mousedown` event is fired right before `focus` if pressing the

function listener(event) {
if (event.target === tooltip) {
if (event.target === tooltip && event.propertyName === 'visibility') {
updateTransitionEndListener(tooltip, 'remove', listener);

@@ -1250,2 +1258,4 @@ callback();

function onTrigger(event) {
var shouldScheduleClickHide = false;
if (!instance.state.isEnabled || isEventListenerStopped(event) || didHideDueToDocumentMouseDown) {

@@ -1270,4 +1280,4 @@ return;

if (event.type === 'click' && instance.props.hideOnClick !== false && instance.state.isVisible) {
scheduleHide(event);
if (event.type === 'click' && (!includes(instance.props.trigger, 'mouseenter') || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) {
shouldScheduleClickHide = true;
} else {

@@ -1288,2 +1298,10 @@ var _getNormalizedTouchSe = getNormalizedTouchSettings(),

}
if (event.type === 'click') {
isVisibleFromClick = !shouldScheduleClickHide;
}
if (shouldScheduleClickHide) {
scheduleHide(event);
}
}

@@ -1329,2 +1347,6 @@

if (includes(instance.props.trigger, 'click') && isVisibleFromClick) {
return;
}
scheduleHide(event);

@@ -1494,3 +1516,3 @@ }

// Accessibility check
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, "Interactive tippy element may not be accessible via keyboard\n navigation because it is not directly after the reference element in\n the DOM source order.\n\n Using a wrapper <div> or <span> tag around the reference element solves\n this by creating a new parentNode context.\n \n Specifying `appendTo: document.body` silences this warning, but it\n assumes you are using a focus management solution to handle keyboard\n navigation.\n \n See: https://atomiks.github.io/tippyjs/accessibility/#interactivity");
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, ['Interactive tippy element may not be accessible via keyboard navigation', 'because it is not directly after the reference element in the DOM source', 'order.', '\n\n', 'Using a wrapper <div> or <span> tag around the reference element solves', 'this by creating a new parentNode context.', '\n\n', 'Specifying `appendTo: document.body` silences this warning, but it', 'assumes you are using a focus management solution to handle keyboard', 'navigation.', '\n\n', 'See: https://atomiks.github.io/tippyjs/accessibility/#interactivity'].join(' '));
}

@@ -1810,3 +1832,3 @@

var props = _extends({}, defaultProps, {}, optionalProps, {
var passedProps = _extends({}, optionalProps, {
plugins: plugins

@@ -1818,9 +1840,9 @@ });

if (process.env.NODE_ENV !== "production") {
var isSingleContentElement = isElement(props.content);
var isSingleContentElement = isElement(passedProps.content);
var isMoreThanOneReferenceElement = elements.length > 1;
warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, "tippy() was passed an Element as the `content` prop, but more than one\n tippy instance was created by this invocation. This means the content\n element will only be appended to the last tippy instance.\n \n Instead, pass the .innerHTML of the element, or use a function that\n returns a cloned version of the element instead.\n \n 1) content: () => element.cloneNode(true)\n 2) content: element.innerHTML");
warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ['tippy() was passed an Element as the `content` prop, but more than one tippy', 'instance was created by this invocation. This means the content element will', 'only be appended to the last tippy instance.', '\n\n', 'Instead, pass the .innerHTML of the element, or use a function that returns a', 'cloned version of the element instead.', '\n\n', '1) content: element.innerHTML\n', '2) content: () => element.cloneNode(true)'].join(' '));
}
var instances = elements.reduce(function (acc, reference) {
var instance = reference && createTippy(reference, props);
var instance = reference && createTippy(reference, passedProps);

@@ -1868,3 +1890,3 @@ if (instance) {

if (process.env.NODE_ENV !== "production") {
warnWhen(true, "createTippyWithPlugins([...]) has been deprecated.\n\n Use tippy.setDefaultProps({plugins: [...]}) instead.");
warnWhen(true, ['createTippyWithPlugins([...]) has been deprecated.', '\n\n', 'Use tippy.setDefaultProps({plugins: [...]}) instead.'].join(' '));
}

@@ -1895,3 +1917,3 @@

export { BACKDROP_CLASS as B, ROUND_ARROW as R, _extends as _, tippy as a, div as b, isUCBrowser as c, defaultProps as d, isMouseEvent as e, currentInput as f, getOwnerDocument as g, closestCallback as h, includes as i, getBasePlacement as j, arrayFrom as k, hideAll as l, createTippyWithPlugins as m, normalizeToArray as n, isBrowser as o, removeProperties as r, setVisibilityState as s, throwErrorWhen as t, useIfDefined as u, warnWhen as w };
export { BACKDROP_CLASS as B, ROUND_ARROW as R, _extends as _, div as a, isUCBrowser as b, isMouseEvent as c, defaultProps as d, errorWhen as e, currentInput as f, getOwnerDocument as g, closestCallback as h, includes as i, getBasePlacement as j, arrayFrom as k, hideAll as l, createTippyWithPlugins as m, normalizeToArray as n, isBrowser as o, removeProperties as r, setVisibilityState as s, tippy as t, useIfDefined as u, warnWhen as w };
//# sourceMappingURL=tippy.chunk.esm.js.map
/**!
* tippy.js v5.1.2
* tippy.js v5.1.3
* (c) 2017-2019 atomiks

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

if (process.env.NODE_ENV !== "production") {
index.throwErrorWhen(!Array.isArray(tippyInstances), "The first argument passed to createSingleton() must be an array of tippy\n instances.\n \n The passed value was: " + tippyInstances);
index.errorWhen(!Array.isArray(tippyInstances), ['The first argument passed to createSingleton() must be an array of tippy', 'instances. The passed value was', String(tippyInstances)].join(' '));
}

@@ -94,3 +94,8 @@

var target = event.currentTarget;
var index = references.indexOf(target);
var index = references.indexOf(target); // bail-out
if (target === currentTarget) {
return;
}
currentTarget = target;

@@ -134,3 +139,3 @@ currentAria = userAria;

if (process.env.NODE_ENV !== "production") {
index.throwErrorWhen(!props || !props.target, "You must specify a `target` prop indicating the CSS selector string\n matching the target elements that should receive a tippy.");
index.errorWhen(!(props && props.target), ['You must specity a `target` prop indicating a CSS selector string matching', 'the target elements that should receive a tippy.'].join(' '));
}

@@ -318,3 +323,4 @@

var reference = instance.reference,
popper = instance.popper; // Support iframe contexts
popper = instance.popper;
var originalReference = null; // Support iframe contexts
// Static check that assumes any of the `triggerTarget` or `reference`

@@ -355,4 +361,4 @@ // nodes will never change documents, even when they are updated

function resetReference() {
if (instance.popperInstance) {
instance.popperInstance.reference = reference;
if (instance.popperInstance && originalReference) {
instance.popperInstance.reference = originalReference;
}

@@ -439,2 +445,8 @@ }

if (isCursorOverReference || !instance.props.interactive) {
// Preserve custom position ReferenceObjects, which may not be the
// original targets reference passed as an argument
if (originalReference === null) {
originalReference = instance.popperInstance.reference;
}
instance.popperInstance.reference = {

@@ -654,2 +666,6 @@ referenceNode: reference,

function getReference() {
return instance.popperInstance ? instance.popperInstance.reference : reference;
}
function shouldCheck(value) {

@@ -663,3 +679,3 @@ return instance.props.sticky === true || instance.props.sticky === value;

function updatePosition() {
var currentRefRect = shouldCheck('reference') ? reference.getBoundingClientRect() : null;
var currentRefRect = shouldCheck('reference') ? getReference().getBoundingClientRect() : null;
var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;

@@ -666,0 +682,0 @@

/**!
* tippy.js v5.1.2
* tippy.js v5.1.3
* (c) 2017-2019 atomiks
* MIT License
*/
import { t as throwErrorWhen, _ as _extends, d as defaultProps, a as tippy, b as div, r as removeProperties, n as normalizeToArray, i as includes, c as isUCBrowser, s as setVisibilityState, w as warnWhen, B as BACKDROP_CLASS, g as getOwnerDocument, e as isMouseEvent, u as useIfDefined, f as currentInput, h as closestCallback, j as getBasePlacement, k as arrayFrom } from './tippy.chunk.esm.js';
export { m as createTippyWithPlugins, a as default, l as hideAll, R as roundArrow } from './tippy.chunk.esm.js';
import { e as errorWhen, _ as _extends, d as defaultProps, t as tippy, a as div, r as removeProperties, n as normalizeToArray, i as includes, b as isUCBrowser, s as setVisibilityState, w as warnWhen, B as BACKDROP_CLASS, g as getOwnerDocument, c as isMouseEvent, u as useIfDefined, f as currentInput, h as closestCallback, j as getBasePlacement, k as arrayFrom } from './tippy.chunk.esm.js';
export { m as createTippyWithPlugins, t as default, l as hideAll, R as roundArrow } from './tippy.chunk.esm.js';
import 'popper.js';

@@ -27,3 +27,3 @@

if (process.env.NODE_ENV !== "production") {
throwErrorWhen(!Array.isArray(tippyInstances), "The first argument passed to createSingleton() must be an array of tippy\n instances.\n \n The passed value was: " + tippyInstances);
errorWhen(!Array.isArray(tippyInstances), ['The first argument passed to createSingleton() must be an array of tippy', 'instances. The passed value was', String(tippyInstances)].join(' '));
}

@@ -91,3 +91,8 @@

var target = event.currentTarget;
var index = references.indexOf(target);
var index = references.indexOf(target); // bail-out
if (target === currentTarget) {
return;
}
currentTarget = target;

@@ -131,3 +136,3 @@ currentAria = userAria;

if (process.env.NODE_ENV !== "production") {
throwErrorWhen(!props || !props.target, "You must specify a `target` prop indicating the CSS selector string\n matching the target elements that should receive a tippy.");
errorWhen(!(props && props.target), ['You must specity a `target` prop indicating a CSS selector string matching', 'the target elements that should receive a tippy.'].join(' '));
}

@@ -315,3 +320,4 @@

var reference = instance.reference,
popper = instance.popper; // Support iframe contexts
popper = instance.popper;
var originalReference = null; // Support iframe contexts
// Static check that assumes any of the `triggerTarget` or `reference`

@@ -352,4 +358,4 @@ // nodes will never change documents, even when they are updated

function resetReference() {
if (instance.popperInstance) {
instance.popperInstance.reference = reference;
if (instance.popperInstance && originalReference) {
instance.popperInstance.reference = originalReference;
}

@@ -436,2 +442,8 @@ }

if (isCursorOverReference || !instance.props.interactive) {
// Preserve custom position ReferenceObjects, which may not be the
// original targets reference passed as an argument
if (originalReference === null) {
originalReference = instance.popperInstance.reference;
}
instance.popperInstance.reference = {

@@ -651,2 +663,6 @@ referenceNode: reference,

function getReference() {
return instance.popperInstance ? instance.popperInstance.reference : reference;
}
function shouldCheck(value) {

@@ -660,3 +676,3 @@ return instance.props.sticky === true || instance.props.sticky === value;

function updatePosition() {
var currentRefRect = shouldCheck('reference') ? reference.getBoundingClientRect() : null;
var currentRefRect = shouldCheck('reference') ? getReference().getBoundingClientRect() : null;
var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;

@@ -663,0 +679,0 @@

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

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

"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"@typescript-eslint/parser": "^2.12.0",
"autoprefixer": "^9.6.1",

@@ -110,0 +110,0 @@ "babel-jest": "^24.8.0",

@@ -8,5 +8,2 @@ <div align="center">

<p>A highly customizable tooltip and popover library powered by Popper.js.</p>
<a href="https://travis-ci.org/atomiks/tippyjs">
<img src="https://img.shields.io/travis/atomiks/tippyjs.svg?color=%2325c879&style=for-the-badge" alt="Build">
</a>
<a href="https://www.npmjs.com/package/tippy.js">

@@ -24,3 +21,3 @@ <img src="https://img.shields.io/npm/dm/tippy.js.svg?color=%235599ff&style=for-the-badge" alt="npm Downloads per Month">

🚀 **[View the latest demo & docs here](https://atomiks.github.io/tippyjs/)**
➡️ **[View the latest demo & docs here](https://atomiks.github.io/tippyjs/)**

@@ -43,2 +40,9 @@ [View migration guide from v4 to v5](https://github.com/atomiks/tippyjs/blob/master/MIGRATION_GUIDE.md)

Import the `tippy` constructor and the core CSS:
```js
import tippy from 'tippy.js';
import 'tippy.js/dist/tippy.css';
```
### CDN

@@ -51,2 +55,8 @@

The core CSS comes bundled with the default unpkg import.
## Usage
For detailed usage information, [visit the docs](https://atomiks.github.io/tippyjs/creating-tooltips/).
## Component Wrappers

@@ -53,0 +63,0 @@

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 too big to display

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc