Comparing version 2.3.0 to 2.4.0
@@ -14,3 +14,3 @@ module.exports = { | ||
rules: { | ||
indent: ['error', 2], | ||
indent: ['error', 2, { SwitchCase: 1 }], | ||
'linebreak-style': ['error', 'unix'], | ||
@@ -17,0 +17,0 @@ quotes: ['error', 'single'], |
@@ -1,1 +0,1 @@ | ||
(function(t,e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define(e):t.tippy=e()})(this,function(){'use strict';function t(t){return'[object Object]'===Object.prototype.toString.call(t)}function a(t){return[].slice.call(t)}function o(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return a(e);if(Array.isArray(e))return e;try{return a(document.querySelectorAll(e))}catch(t){return[]}}function r(t){for(var e=['','webkit'],a=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function p(t,e,a){var i=a.arrow,o=a.arrowType,p=a.arrowTransform,n=a.animateFill,s=a.inertia,l=a.animation,d=a.size,c=a.theme,m=a.html,f=a.zIndex,h=a.interactive,b=a.maxWidth,u=a.allowTitleHTML,y=document.createElement('div');y.setAttribute('class','tippy-popper'),y.setAttribute('role','tooltip'),y.setAttribute('id','tippy-'+t),y.style.zIndex=f,y.style.maxWidth=b;var g=document.createElement('div');if(g.setAttribute('class','tippy-tooltip'),g.setAttribute('data-size',d),g.setAttribute('data-animation',l),g.setAttribute('data-state','hidden'),c.split(' ').forEach(function(e){g.classList.add(e+'-theme')}),i){var w=document.createElement('div');w.style[r('transform')]=p,'round'===o?(w.classList.add('tippy-roundarrow'),w.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):w.classList.add('tippy-arrow'),g.appendChild(w)}if(n){g.setAttribute('data-animatefill','');var x=document.createElement('div');x.setAttribute('data-state','hidden'),x.classList.add('tippy-backdrop'),g.appendChild(x)}s&&g.setAttribute('data-inertia',''),h&&g.setAttribute('data-interactive','');var v=document.createElement('div');if(v.setAttribute('class','tippy-content'),m){var k;m instanceof Element?(v.appendChild(m),k='#'+m.id||'tippy-html-template'):(v.innerHTML=document.querySelector(m).innerHTML,k=m),y.setAttribute('data-html',''),h&&y.setAttribute('tabindex','-1'),g.setAttribute('data-template-id',k)}else v[u?'innerHTML':'textContent']=e;return g.appendChild(v),y.appendChild(g),y}function n(t,e,a,i){var o=a.onTrigger,r=a.onMouseLeave,p=a.onBlur,n=a.onDelegateShow,s=a.onDelegateHide,l=[];if('manual'===t)return l;var d=function(t,a){e.addEventListener(t,a),l.push({event:t,handler:a})};return i.target?(Bt.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',s)),'mouseenter'===t&&(d('mouseover',n),d('mouseout',s)),'focus'===t&&(d('focusin',n),d('focusout',s)),'click'===t&&d('click',n)):(d(t,o),Bt.supportsTouch&&i.touchHold&&(d('touchstart',o),d('touchend',r)),'mouseenter'===t&&d('mouseleave',r),'focus'===t&&d(Mt?'focusout':'blur',p)),l}function s(t,e){var a=Ut.reduce(function(a,i){var o=t.getAttribute('data-tippy-'+i.toLowerCase())||e[i];return'false'===o&&(o=!1),'true'===o&&(o=!0),isFinite(o)&&!isNaN(parseFloat(o))&&(o=parseFloat(o)),'target'!==i&&'string'==typeof o&&'['===o.trim().charAt(0)&&(o=JSON.parse(o)),a[i]=o,a},{});return jt({},e,a)}function l(t,e){return e.arrow&&(e.animateFill=!1),e.appendTo&&'function'==typeof e.appendTo&&(e.appendTo=e.appendTo()),'function'==typeof e.html&&(e.html=e.html(t)),e}function d(t){var e=function(e){return t.querySelector(e)};return{tooltip:e(Wt.TOOLTIP),backdrop:e(Wt.BACKDROP),content:e(Wt.CONTENT),arrow:e(Wt.ARROW)||e(Wt.ROUND_ARROW)}}function c(t){var e=t.getAttribute('title');e&&t.setAttribute('data-original-title',e),t.removeAttribute('title')}function m(t){return t&&'[object Function]'==={}.toString.call(t)}function f(t,e){if(1!==t.nodeType)return[];var a=getComputedStyle(t,null);return e?a[e]:a}function h(t){return'HTML'===t.nodeName?t:t.parentNode||t.host}function b(t){if(!t)return document.body;switch(t.nodeName){case'HTML':case'BODY':return t.ownerDocument.body;case'#document':return t.body;}var e=f(t),a=e.overflow,i=e.overflowX,o=e.overflowY;return /(auto|scroll)/.test(a+o+i)?t:b(h(t))}function u(t){var e=t&&t.offsetParent,a=e&&e.nodeName;return a&&'BODY'!==a&&'HTML'!==a?-1!==['TD','TABLE'].indexOf(e.nodeName)&&'static'===f(e,'position')?u(e):e:t?t.ownerDocument.documentElement:document.documentElement}function y(t){var e=t.nodeName;return'BODY'!==e&&('HTML'===e||u(t.firstElementChild)===t)}function g(t){return null===t.parentNode?t:g(t.parentNode)}function w(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var a=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=a?t:e,o=a?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var p=r.commonAncestorContainer;if(t!==p&&e!==p||i.contains(o))return y(p)?p:u(p);var n=g(t);return n.host?w(n.host,e):w(t,g(e).host)}function x(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',a='top'===e?'scrollTop':'scrollLeft',i=t.nodeName;if('BODY'===i||'HTML'===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[a]}return t[a]}function v(t,e){var a=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=x(e,'top'),o=x(e,'left'),r=a?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function k(t,e){var a='x'===e?'Left':'Top',i='Left'==a?'Right':'Bottom';return parseFloat(t['border'+a+'Width'],10)+parseFloat(t['border'+i+'Width'],10)}function E(t,e,a,i){return Nt(e['offset'+t],e['scroll'+t],a['client'+t],a['offset'+t],a['scroll'+t],Jt()?a['offset'+t]+i['margin'+('Height'===t?'Top':'Left')]+i['margin'+('Height'===t?'Bottom':'Right')]:0)}function T(){var t=document.body,e=document.documentElement,a=Jt()&&getComputedStyle(e);return{height:E('Height',t,e,a),width:E('Width',t,e,a)}}function L(t){return ie({},t,{right:t.left+t.width,bottom:t.top+t.height})}function O(t){var e={};if(Jt())try{e=t.getBoundingClientRect();var a=x(t,'top'),i=x(t,'left');e.top+=a,e.left+=i,e.bottom+=a,e.right+=i}catch(t){}else e=t.getBoundingClientRect();var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r='HTML'===t.nodeName?T():{},p=r.width||t.clientWidth||o.right-o.left,n=r.height||t.clientHeight||o.bottom-o.top,s=t.offsetWidth-p,l=t.offsetHeight-n;if(s||l){var d=f(t);s-=k(d,'x'),l-=k(d,'y'),o.width-=s,o.height-=l}return L(o)}function A(t,e){var a=Jt(),i='HTML'===e.nodeName,o=O(t),r=O(e),p=b(t),n=f(e),s=parseFloat(n.borderTopWidth,10),l=parseFloat(n.borderLeftWidth,10),d=L({top:o.top-r.top-s,left:o.left-r.left-l,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!a&&i){var c=parseFloat(n.marginTop,10),m=parseFloat(n.marginLeft,10);d.top-=s-c,d.bottom-=s-c,d.left-=l-m,d.right-=l-m,d.marginTop=c,d.marginLeft=m}return(a?e.contains(p):e===p&&'BODY'!==p.nodeName)&&(d=v(d,e)),d}function C(t){var e=t.ownerDocument.documentElement,a=A(t,e),i=Nt(e.clientWidth,window.innerWidth||0),o=Nt(e.clientHeight,window.innerHeight||0),r=x(e),p=x(e,'left'),n={top:r-a.top+a.marginTop,left:p-a.left+a.marginLeft,width:i,height:o};return L(n)}function S(t){var e=t.nodeName;return'BODY'===e||'HTML'===e?!1:'fixed'===f(t,'position')||S(h(t))}function Y(t,e,a,i){var o={top:0,left:0},r=w(t,e);if('viewport'===i)o=C(r);else{var p;'scrollParent'===i?(p=b(h(e)),'BODY'===p.nodeName&&(p=t.ownerDocument.documentElement)):'window'===i?p=t.ownerDocument.documentElement:p=i;var n=A(p,r);if('HTML'===p.nodeName&&!S(r)){var s=T(),l=s.height,d=s.width;o.top+=n.top-n.marginTop,o.bottom=l+n.top,o.left+=n.left-n.marginLeft,o.right=d+n.left}else o=n}return o.left+=a,o.top+=a,o.right-=a,o.bottom-=a,o}function P(t){var e=t.width,a=t.height;return e*a}function X(t,e,a,i,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf('auto'))return t;var p=Y(a,i,r,o),n={top:{width:p.width,height:e.top-p.top},right:{width:p.right-e.right,height:p.height},bottom:{width:p.width,height:p.bottom-e.bottom},left:{width:e.left-p.left,height:p.height}},s=Object.keys(n).map(function(t){return ie({key:t},n[t],{area:P(n[t])})}).sort(function(t,e){return e.area-t.area}),l=s.filter(function(t){var e=t.width,i=t.height;return e>=a.clientWidth&&i>=a.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=t.split('-')[1];return d+(c?'-'+c:'')}function D(t,e,a){var i=w(e,a);return A(a,i)}function I(t){var e=getComputedStyle(t),a=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight),o={width:t.offsetWidth+i,height:t.offsetHeight+a};return o}function R(t){var e={left:'right',right:'left',bottom:'top',top:'bottom'};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function _(t,e,a){a=a.split('-')[0];var i=I(t),o={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(a),p=r?'top':'left',n=r?'left':'top',s=r?'height':'width',l=r?'width':'height';return o[p]=e[p]+e[s]/2-i[s]/2,o[n]=a===n?e[n]-i[l]:e[R(n)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function H(t,e,a){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===a});var i=N(t,function(t){return t[e]===a});return t.indexOf(i)}function M(t,e,a){var i=void 0===a?t:t.slice(0,H(t,'name',a));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var a=t['function']||t.fn;t.enabled&&m(a)&&(e.offsets.popper=L(e.offsets.popper),e.offsets.reference=L(e.offsets.reference),e=a(e,t))}),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=D(this.state,this.popper,this.reference),t.placement=X(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=_(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position='absolute',t=M(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function W(t,e){return t.some(function(t){var a=t.name,i=t.enabled;return i&&a===e})}function z(t){for(var e=[!1,'ms','Webkit','Moz','O'],a=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length-1;o++){var i=e[o],r=i?''+i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function U(){return this.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[z('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function F(t){var e=t.ownerDocument;return e?e.defaultView:window}function q(t,e,a,i){var o='BODY'===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,a,{passive:!0}),o||q(b(r.parentNode),e,a,i),i.push(r)}function j(t,e,a,i){a.updateBound=i,F(t).addEventListener('resize',a.updateBound,{passive:!0});var o=b(t);return q(o,'scroll',a.updateBound,a.scrollParents),a.scrollElement=o,a.eventsEnabled=!0,a}function K(){this.state.eventsEnabled||(this.state=j(this.reference,this.options,this.state,this.scheduleUpdate))}function V(t,e){return F(t).removeEventListener('resize',e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener('scroll',e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function G(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=V(this.reference,this.state))}function Q(t){return''!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Z(t,e){Object.keys(e).forEach(function(a){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(a)&&Q(e[a])&&(i='px'),t.style[a]=e[a]+i})}function $(t,e){Object.keys(e).forEach(function(a){var i=e[a];!1===i?t.removeAttribute(a):t.setAttribute(a,e[a])})}function J(t,e,a){var i=N(t,function(t){var a=t.name;return a===e}),o=!!i&&t.some(function(t){return t.name===a&&t.enabled&&t.order<i.order});if(!o){var r='`'+e+'`';console.warn('`'+a+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return o}function tt(t){return'end'===t?'start':'start'===t?'end':t}function et(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],a=re.indexOf(t),i=re.slice(a+1).concat(re.slice(0,a));return e?i.reverse():i}function at(t,e,a,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],p=o[2];if(!r)return t;if(0===p.indexOf('%')){var n;switch(p){case'%p':n=a;break;case'%':case'%r':default:n=i;}var s=L(n);return s[e]/100*r}if('vh'===p||'vw'===p){var l;return l='vh'===p?Nt(document.documentElement.clientHeight,window.innerHeight||0):Nt(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function it(t,e,a,i){var o=[0,0],r=-1!==['right','left'].indexOf(i),p=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=p.indexOf(N(p,function(t){return-1!==t.search(/,|\s/)}));p[n]&&-1===p[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[p]:[p.slice(0,n).concat([p[n].split(s)[0]]),[p[n].split(s)[1]].concat(p.slice(n+1))];return l=l.map(function(t,i){var o=(1===i?!r:r)?'height':'width',p=!1;return t.reduce(function(t,e){return''===t[t.length-1]&&-1!==['+','-'].indexOf(e)?(t[t.length-1]=e,p=!0,t):p?(t[t.length-1]+=e,p=!1,t):t.concat(e)},[]).map(function(t){return at(t,o,e,a)})}),l.forEach(function(t,e){t.forEach(function(a,i){Q(a)&&(o[e]+=a*('-'===t[i-1]?-1:1))})}),o}function ot(t){var e=t.style;e[r('transform')]=null,e.top=null,e.left=null}function rt(t){void t.offsetHeight}function pt(t,e,a){var i=t.popper,o=t.options,r=o.onCreate,p=o.onUpdate;o.onCreate=o.onUpdate=function(){rt(i),e&&e(),p(),o.onCreate=r,o.onUpdate=p},a||t.scheduleUpdate()}function nt(t){return t.getAttribute('x-placement').replace(/-.+/,'')}function st(t,e,a){if(!e.getAttribute('x-placement'))return!0;var i=t.clientX,o=t.clientY,r=a.interactiveBorder,p=a.distance,n=e.getBoundingClientRect(),s=nt(e),l=r+p,d={top:n.top-o>r,bottom:o-n.bottom>r,left:n.left-i>r,right:i-n.right>r};return'top'===s?d.top=n.top-o>l:'bottom'===s?d.bottom=o-n.bottom>l:'left'===s?d.left=n.left-i>l:'right'===s?d.right=i-n.right>l:void 0,d.top||d.bottom||d.left||d.right}function lt(t,e,a,i){if(!e.length)return'';var o={scale:function(){return 1===e.length?''+e[0]:a?e[0]+', '+e[1]:e[1]+', '+e[0]}(),translate:function(){return 1===e.length?i?-e[0]+'px':e[0]+'px':a?i?e[0]+'px, '+-e[1]+'px':e[0]+'px, '+e[1]+'px':i?-e[1]+'px, '+e[0]+'px':e[1]+'px, '+e[0]+'px'}()};return o[t]}function dt(t,e){if(!t)return'';return e?t:{X:'Y',Y:'X'}[t]}function ct(t,e,a){var i=nt(t),o='top'===i||'bottom'===i,p='right'===i||'bottom'===i,n=function(t){var e=a.match(t);return e?e[1]:''},s=function(t){var e=a.match(t);return e?e[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:n(/translate([XY])/),numbers:s(l.translate)},scale:{axis:n(/scale([XY])/),numbers:s(l.scale)}},c=a.replace(l.translate,'translate'+dt(d.translate.axis,o)+'('+lt('translate',d.translate.numbers,o,p)+')').replace(l.scale,'scale'+dt(d.scale.axis,o)+'('+lt('scale',d.scale.numbers,o,p)+')');e.style[r('transform')]=c}function mt(t){return-(t-zt.distance)+'px'}function ft(t){requestAnimationFrame(function(){setTimeout(t,1)})}function ht(t,a){var i=Element.prototype.closest||function(t){for(var a=this;a;){if(e.call(a,t))return a;a=a.parentElement}};return i.call(t,a)}function bt(t,e){return Array.isArray(t)?t[e]:t}function ut(t,e){t.forEach(function(t){t&&t.setAttribute('data-state',e)})}function yt(t,e){t.filter(Boolean).forEach(function(t){t.style[r('transitionDuration')]=e+'ms'})}function gt(t){var e=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;t.focus(),scroll(e,a)}function wt(){var t=this._(de).lastTriggerEvent;return this.options.followCursor&&!Bt.usingTouch&&t&&'focus'!==t.type}function xt(t){var e=ht(t.target,this.options.target);if(e&&!e._tippy){var a=e.getAttribute('title')||this.title;a&&(e.setAttribute('title',a),It(e,jt({},this.options,{target:null})),vt.call(e._tippy,t))}}function vt(t){var e=this,a=this.options;if(Ot.call(this),!this.state.visible){if(a.target)return void xt.call(this,t);if(this._(de).isPreparingToShow=!0,a.wait)return void a.wait.call(this.popper,this.show.bind(this),t);if(wt.call(this)){this._(de).followCursorListener||At.call(this);var i=d(this.popper),o=i.arrow;o&&(o.style.margin='0'),document.addEventListener('mousemove',this._(de).followCursorListener)}var r=bt(a.delay,0);r?this._(de).showTimeout=setTimeout(function(){e.show()},r):this.show()}}function kt(){var t=this;if(Ot.call(this),!!this.state.visible){this._(de).isPreparingToShow=!1;var e=bt(this.options.delay,1);e?this._(de).hideTimeout=setTimeout(function(){t.state.visible&&t.hide()},e):this.hide()}}function Et(){var t=this;return{onTrigger:function(e){if(t.state.enabled){var a=Bt.supportsTouch&&Bt.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);a&&t.options.touchHold||(t._(de).lastTriggerEvent=e,'click'===e.type&&'persistent'!==t.options.hideOnClick&&t.state.visible?kt.call(t):vt.call(t,e),a&&Bt.iOS&&t.reference.click&&t.reference.click())}},onMouseLeave:function(e){if(!(-1<['mouseleave','mouseout'].indexOf(e.type)&&Bt.supportsTouch&&Bt.usingTouch&&t.options.touchHold)){if(t.options.interactive){var a=kt.bind(t),i=function e(i){var o=ht(i.target,Wt.REFERENCE),r=ht(i.target,Wt.POPPER)===t.popper,p=o===t.reference;r||p||st(i,t.popper,t.options)&&(document.body.removeEventListener('mouseleave',a),document.removeEventListener('mousemove',e),kt.call(t))};return document.body.addEventListener('mouseleave',a),void document.addEventListener('mousemove',i)}kt.call(t)}},onBlur:function(e){e.target!==t.reference||!e.relatedTarget||Bt.usingTouch||ht(e.relatedTarget,Wt.POPPER)||kt.call(t)},onDelegateShow:function(e){ht(e.target,t.options.target)&&vt.call(t,e)},onDelegateHide:function(e){ht(e.target,t.options.target)&&kt.call(t)}}}function Tt(){var t=this,e=this.popper,a=this.reference,i=this.options,o=d(e),r=o.tooltip,p=i.popperOptions,n='round'===i.arrowType?Wt.ROUND_ARROW:Wt.ARROW,s=r.querySelector(n),l=jt({placement:i.placement},p||{},{modifiers:jt({},p?p.modifiers:{},{arrow:jt({element:n},p&&p.modifiers?p.modifiers.arrow:{}),flip:jt({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},p&&p.modifiers?p.modifiers.flip:{}),offset:jt({offset:i.offset},p&&p.modifiers?p.modifiers.offset:{})}),onCreate:function(){r.style[nt(e)]=mt(i.distance),s&&i.arrowTransform&&ct(e,s,i.arrowTransform)},onUpdate:function(){var t=r.style;t.top='',t.bottom='',t.left='',t.right='',t[nt(e)]=mt(i.distance),s&&i.arrowTransform&&ct(e,s,i.arrowTransform)}});return St.call(this,{target:e,callback:function(){t.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new ne(a,e,l)}function Lt(t){var e=this.options;if(this.popperInstance?(ot(this.popper),this.popperInstance.scheduleUpdate(),e.livePlacement&&!wt.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Tt.call(this),!e.livePlacement&&this.popperInstance.disableEventListeners()),!wt.call(this)){var a=d(this.popper),i=a.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}pt(this.popperInstance,t,!0),e.appendTo.contains(this.popper)||e.appendTo.appendChild(this.popper)}function Ot(){var t=this._(de),e=t.showTimeout,a=t.hideTimeout;clearTimeout(e),clearTimeout(a)}function At(){var t=this;this._(de).followCursorListener=function(e){var a=t._(de).lastMouseMoveEvent=e,i=a.clientX,o=a.clientY;t.popperInstance&&(t.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:o,left:i,right:i,bottom:o}},clientWidth:0,clientHeight:0},t.popperInstance.scheduleUpdate())}}function Ct(){var t=this,e=function(){t.popper.style[r('transitionDuration')]=t.options.updateDuration+'ms'},a=function(){t.popper.style[r('transitionDuration')]=''};ft(function i(){t.popperInstance&&t.popperInstance.scheduleUpdate(),e(),t.state.visible?requestAnimationFrame(i):a()})}function St(t){var e=t.target,a=t.callback,i=t.options;if(window.MutationObserver){var o=new MutationObserver(a);o.observe(e,i),this._(de).mutationObservers.push(o)}}function Yt(t,a){if(!t)return a();var e=d(this.popper),i=e.tooltip,o=function(t,e){e&&i[t+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',e)},r=function t(r){r.target===i&&(o('remove',t),a())};o('remove',this._(de).transitionendListener),o('add',r),this._(de).transitionendListener=r}function Pt(t,e){return t.reduce(function(t,a){var i=fe,o=l(a,e.performance?e:s(a,e)),r=a.getAttribute('title');if(!r&&!o.target&&!o.html&&!o.dynamicTitle)return t;a.setAttribute(o.target?'data-tippy-delegate':'data-tippy',''),c(a);var m=p(i,r,o),f=new me({id:i,reference:a,popper:m,options:o,title:r,popperInstance:null});o.createPopperInstanceOnInit&&(f.popperInstance=Tt.call(f),f.popperInstance.disableEventListeners());var h=Et.call(f);return f.listeners=o.trigger.trim().split(' ').reduce(function(t,e){return t.concat(n(e,a,h,o))},[]),o.dynamicTitle&&St.call(f,{target:a,callback:function(){var t=d(m),e=t.content,i=a.getAttribute('title');i&&(e[o.allowTitleHTML?'innerHTML':'textContent']=f.title=i,c(a))},options:{attributes:!0}}),a._tippy=f,m._tippy=f,m._reference=a,t.push(f),fe++,t},[])}function Xt(t){var e=a(document.querySelectorAll(Wt.POPPER));e.forEach(function(e){var a=e._tippy;if(a){var i=a.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!t||e!==t.popper)&&a.hide()}})}function Dt(){var t=function(){Bt.usingTouch||(Bt.usingTouch=!0,Bt.iOS&&document.body.classList.add('tippy-touch'),Bt.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),Bt.onUserInputChange('touch'))},i=function(){var t;return function(){var e=performance.now();20>e-t&&(Bt.usingTouch=!1,document.removeEventListener('mousemove',i),!Bt.iOS&&document.body.classList.remove('tippy-touch'),Bt.onUserInputChange('mouse')),t=e}}();document.addEventListener('click',function(t){if(!(t.target instanceof Element))return Xt();var e=ht(t.target,Wt.REFERENCE),a=ht(t.target,Wt.POPPER);if(!(a&&a._reference._tippy.options.interactive)){if(e){var i=e._tippy.options;if(!i.multiple&&Bt.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return Xt(e._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}Xt()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,a=t.activeElement;a&&a.blur&&e.call(a,Wt.REFERENCE)&&a.blur()}),window.addEventListener('resize',function(){a(document.querySelectorAll(Wt.POPPER)).forEach(function(t){var e=t._tippy;e.options.livePlacement||e.popperInstance.scheduleUpdate()})}),!Bt.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function It(e,a){return Bt.supported&&!he&&(Dt(),he=!0),t(e)&&(e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,a){e.attributes[t]=a},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}),a=jt({},zt,a),{selector:e,options:a,tooltips:Bt.supported?Pt(o(e),a):[],destroyAll:function(){this.tooltips.forEach(function(t){return t.destroy()}),this.tooltips=[]}}}var Rt=Math.min,_t=Math.floor,Nt=Math.max,Ht='undefined'!=typeof window,Mt=Ht&&/MSIE |Trident\//.test(navigator.userAgent),Bt={};Ht&&(Bt.supported='requestAnimationFrame'in window,Bt.supportsTouch='ontouchstart'in window,Bt.usingTouch=!1,Bt.dynamicInputDetection=!0,Bt.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Bt.onUserInputChange=function(){});for(var Wt={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},zt={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},Ut=Bt.supported&&Object.keys(zt),Ft=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},qt=function(){function t(t,e){for(var a,o=0;o<e.length;o++)a=e[o],a.enumerable=a.enumerable||!1,a.configurable=!0,('value'in a)&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),jt=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var i in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Kt='undefined'!=typeof window&&'undefined'!=typeof document,Vt=['Edge','Trident','Firefox'],Gt=0,Qt=0;Qt<Vt.length;Qt+=1)if(Kt&&0<=navigator.userAgent.indexOf(Vt[Qt])){Gt=1;break}var i,Zt=Kt&&window.Promise,$t=Zt?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Gt))}},Jt=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},te=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},ee=function(){function t(t,e){for(var a,o=0;o<e.length;o++)a=e[o],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),ae=function(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t},ie=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var i in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},oe=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],re=oe.slice(3),pe={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ne=function(){function t(e,a){var i=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};te(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=$t(this.update.bind(this)),this.options=ie({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(ie({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=ie({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return ie({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&m(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return ee(t,[{key:'update',value:function(){return B.call(this)}},{key:'destroy',value:function(){return U.call(this)}},{key:'enableEventListeners',value:function(){return K.call(this)}},{key:'disableEventListeners',value:function(){return G.call(this)}}]),t}();ne.Utils=('undefined'==typeof window?global:window).PopperUtils,ne.placements=oe,ne.Defaults={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,a=e.split('-')[0],i=e.split('-')[1];if(i){var o=t.offsets,r=o.reference,p=o.popper,n=-1!==['bottom','top'].indexOf(a),s=n?'left':'top',l=n?'width':'height',d={start:ae({},s,r[s]),end:ae({},s,r[s]+r[l]-p[l])};t.offsets.popper=ie({},p,d[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var a,i=e.offset,o=t.placement,r=t.offsets,p=r.popper,n=r.reference,s=o.split('-')[0];return a=Q(+i)?[+i,0]:it(i,p,n,s),'left'===s?(p.top+=a[0],p.left-=a[1]):'right'===s?(p.top+=a[0],p.left+=a[1]):'top'===s?(p.left+=a[0],p.top-=a[1]):'bottom'===s&&(p.left+=a[0],p.top+=a[1]),t.popper=p,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var a=e.boundariesElement||u(t.instance.popper);t.instance.reference===a&&(a=u(a));var i=Y(t.instance.popper,t.instance.reference,e.padding,a);e.boundaries=i;var o=e.priority,r=t.offsets.popper,p={primary:function(t){var a=r[t];return r[t]<i[t]&&!e.escapeWithReference&&(a=Nt(r[t],i[t])),ae({},t,a)},secondary:function(t){var a='right'===t?'left':'top',o=r[a];return r[t]>i[t]&&!e.escapeWithReference&&(o=Rt(r[a],i[t]-('right'===t?r.width:r.height))),ae({},a,o)}};return o.forEach(function(t){var e=-1===['left','top'].indexOf(t)?'secondary':'primary';r=ie({},r,p[e](t))}),t.offsets.popper=r,t},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,a=e.popper,i=e.reference,o=t.placement.split('-')[0],r=_t,p=-1!==['top','bottom'].indexOf(o),n=p?'right':'bottom',s=p?'left':'top',l=p?'width':'height';return a[n]<r(i[s])&&(t.offsets.popper[s]=r(i[s])-a[l]),a[s]>r(i[n])&&(t.offsets.popper[s]=r(i[n])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var a;if(!J(t.instance.modifiers,'arrow','keepTogether'))return t;var i=e.element;if('string'==typeof i){if(i=t.instance.popper.querySelector(i),!i)return t;}else if(!t.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),t;var o=t.placement.split('-')[0],r=t.offsets,p=r.popper,n=r.reference,s=-1!==['left','right'].indexOf(o),l=s?'height':'width',d=s?'Top':'Left',c=d.toLowerCase(),m=s?'left':'top',h=s?'bottom':'right',b=I(i)[l];n[h]-b<p[c]&&(t.offsets.popper[c]-=p[c]-(n[h]-b)),n[c]+b>p[h]&&(t.offsets.popper[c]+=n[c]+b-p[h]),t.offsets.popper=L(t.offsets.popper);var u=n[c]+n[l]/2-b/2,y=f(t.instance.popper),g=parseFloat(y['margin'+d],10),w=parseFloat(y['border'+d+'Width'],10),x=u-t.offsets.popper[c]-g-w;return x=Nt(Rt(p[l]-b,x),0),t.arrowElement=i,t.offsets.arrow=(a={},ae(a,c,Math.round(x)),ae(a,m,''),a),t},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(t,e){if(W(t.instance.modifiers,'inner'))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var a=Y(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split('-')[0],o=R(i),r=t.placement.split('-')[1]||'',p=[];switch(e.behavior){case pe.FLIP:p=[i,o];break;case pe.CLOCKWISE:p=et(i);break;case pe.COUNTERCLOCKWISE:p=et(i,!0);break;default:p=e.behavior;}return p.forEach(function(n,s){if(i!==n||p.length===s+1)return t;i=t.placement.split('-')[0],o=R(i);var l=t.offsets.popper,d=t.offsets.reference,c=_t,m='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),f=c(l.left)<c(a.left),h=c(l.right)>c(a.right),b=c(l.top)<c(a.top),u=c(l.bottom)>c(a.bottom),y='left'===i&&f||'right'===i&&h||'top'===i&&b||'bottom'===i&&u,g=-1!==['top','bottom'].indexOf(i),w=!!e.flipVariations&&(g&&'start'===r&&f||g&&'end'===r&&h||!g&&'start'===r&&b||!g&&'end'===r&&u);(m||y||w)&&(t.flipped=!0,(m||y)&&(i=p[s+1]),w&&(r=tt(r)),t.placement=i+(r?'-'+r:''),t.offsets.popper=ie({},t.offsets.popper,_(t.instance.popper,t.offsets.reference,t.placement)),t=M(t.instance.modifiers,t,'flip'))}),t},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,a=e.split('-')[0],i=t.offsets,o=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(a),n=-1===['top','left'].indexOf(a);return o[p?'left':'top']=r[a]-(n?o[p?'width':'height']:0),t.placement=R(e),t.offsets.popper=L(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!J(t.instance.modifiers,'hide','preventOverflow'))return t;var e=t.offsets.reference,a=N(t.instance.modifiers,function(t){return'preventOverflow'===t.name}).boundaries;if(e.bottom<a.top||e.left>a.right||e.top>a.bottom||e.right<a.left){if(!0===t.hide)return t;t.hide=!0,t.attributes['x-out-of-boundaries']=''}else{if(!1===t.hide)return t;t.hide=!1,t.attributes['x-out-of-boundaries']=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var a=e.x,i=e.y,o=t.offsets.popper,r=N(t.instance.modifiers,function(t){return'applyStyle'===t.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var p,n,s=void 0===r?e.gpuAcceleration:r,l=u(t.instance.popper),d=O(l),c={position:o.position},m={left:_t(o.left),top:_t(o.top),bottom:_t(o.bottom),right:_t(o.right)},f='bottom'===a?'top':'bottom',h='right'===i?'left':'right',b=z('transform');if(n='bottom'==f?-d.height+m.bottom:m.top,p='right'==h?-d.width+m.right:m.left,s&&b)c[b]='translate3d('+p+'px, '+n+'px, 0)',c[f]=0,c[h]=0,c.willChange='transform';else{var y='bottom'==f?-1:1,g='right'==h?-1:1;c[f]=n*y,c[h]=p*g,c.willChange=f+', '+h}var w={"x-placement":t.placement};return t.attributes=ie({},w,t.attributes),t.styles=ie({},c,t.styles),t.arrowStyles=ie({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(t){return Z(t.instance.popper,t.styles),$(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&Z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,a,i,o){var r=D(o,e,t),p=X(a.placement,r,e,t,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return e.setAttribute('x-placement',p),Z(e,{position:'absolute'}),a},gpuAcceleration:void 0}}};var se={};if(Ht){var le=Element.prototype;se=le.matches||le.matchesSelector||le.webkitMatchesSelector||le.mozMatchesSelector||le.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),a=e.length;0<=--a&&e.item(a)!==this;);return-1<a}}var e=se,de={},ce=function(t){return function(e){return e===de&&t}},me=function(){function t(e){for(var a in Ft(this,t),e)this[a]=e[a];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ce({mutationObservers:[]})}return qt(t,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var a=this.popper,i=this.reference,o=this.options,p=d(a),n=p.tooltip,s=p.backdrop,l=p.content;return o.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(o.onShow.call(a,this),t=bt(void 0===t?o.duration:t,0),yt([a,n,s],0),a.style.visibility='visible',this.state.visible=!0,Lt.call(this,function(){if(e.state.visible){if(wt.call(e)||e.popperInstance.scheduleUpdate(),wt.call(e)){e.popperInstance.disableEventListeners();var p=bt(o.delay,0),d=e._(de).lastTriggerEvent;d&&e._(de).followCursorListener(p&&e._(de).lastMouseMoveEvent?e._(de).lastMouseMoveEvent:d)}yt([n,s,s?l:null],t),s&&getComputedStyle(s)[r('transform')],o.interactive&&i.classList.add('tippy-active'),o.sticky&&Ct.call(e),ut([n,s],'visible'),Yt.call(e,t,function(){o.updateDuration||n.classList.add('tippy-notransition'),o.interactive&>(a),i.setAttribute('aria-describedby','tippy-'+e.id),o.onShown.call(a,e)})}})):void this.destroy()}}},{key:'hide',value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var a=this.popper,i=this.reference,o=this.options,r=d(a),p=r.tooltip,n=r.backdrop,s=r.content;o.onHide.call(a,this),t=bt(void 0===t?o.duration:t,1),o.updateDuration||p.classList.remove('tippy-notransition'),o.interactive&&i.classList.remove('tippy-active'),a.style.visibility='hidden',this.state.visible=!1,yt([p,n,n?s:null],t),ut([p,n],'hidden'),o.interactive&&-1<o.trigger.indexOf('click')&>(i),ft(function(){Yt.call(e,t,function(){e.state.visible||!o.appendTo.contains(a)||(!e._(de).isPreparingToShow&&(document.removeEventListener('mousemove',e._(de).followCursorListener),e._(de).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),e.popperInstance.disableEventListeners(),o.appendTo.removeChild(a),o.onHidden.call(a,e))})})}}},{key:'destroy',value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:!0;if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(e){t.reference.removeEventListener(e.event,e.handler)}),this.reference.setAttribute('title',this.reference.getAttribute('data-original-title')),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(e){t.reference.removeAttribute(e)}),this.options.target&&e&&a(this.reference.querySelectorAll(this.options.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(de).mutationObservers.forEach(function(t){t.disconnect()}),this.state.destroyed=!0}}}]),t}(),fe=1,he=!1;return It.browser=Bt,It.defaults=zt,It.disableAnimations=function(){zt.updateDuration=zt.duration=0,zt.animateFill=!1},function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'';if(Ht&&Bt.supported){var e=document.head||document.querySelector('head'),a=document.createElement('style');a.type='text/css',e.insertBefore(a,e.firstChild),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('.tippy-touch{cursor:pointer!important}.tippy-notransition{-webkit-transition:none!important;transition:none!important}.tippy-popper{max-width:350px;-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;-webkit-transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[data-html]{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 90%;transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-50%,25%);transform:scale(5.5) translate(-50%,25%);opacity:1}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,25%);transform:scale(1) translate(-50%,25%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -90%;transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-50%,-125%);transform:scale(5.5) translate(-50%,-125%);opacity:1}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,-125%);transform:scale(1) translate(-50%,-125%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:30% 0 0 30%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:90% 0;transform-origin:90% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(33%,-50%);transform:scale(5.5) translate(33%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(33%,-50%);transform:scale(1.5) translate(33%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 30% 30% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-90% 0;transform-origin:-90% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-133%,-50%);transform:scale(5.5) translate(-133%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(-133%,-50%);transform:scale(1.5) translate(-133%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-animatefill] .tippy-content{-webkit-transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98),-webkit-clip-path cubic-bezier(.46,.1,.52,.98)}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{-webkit-transition-timing-function:cubic-bezier(.53,2,.36,.85);transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{-webkit-transition-timing-function:ease;transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-roundarrow path{pointer-events:auto}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:26%;left:50%;top:50%;z-index:-1;-webkit-transition:all cubic-bezier(.46,.1,.52,.98);transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(100% 100% at 50% 50%);clip-path:ellipse(100% 100% at 50% 50%)}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(5% 50% at 50% 50%);clip-path:ellipse(5% 50% at 50% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 0 50%);clip-path:ellipse(135% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(25% 100% at 0 50%);clip-path:ellipse(25% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 100% 50%);clip-path:ellipse(135% 100% at 100% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(25% 100% at 100% 50%);clip-path:ellipse(25% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}'),It}); | ||
(function(t,e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define(e):t.tippy=e()})(this,function(){'use strict';function t(t){return'[object Object]'==={}.toString.call(t)}function a(t){return[].slice.call(t)}function o(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return a(e);if(Array.isArray(e))return e;try{return a(document.querySelectorAll(e))}catch(t){return[]}}function r(t){for(var e=['','webkit'],a=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function p(t,e,a){var i=document.createElement('div');i.setAttribute('class','tippy-popper'),i.setAttribute('role','tooltip'),i.setAttribute('id','tippy-'+t),i.style.zIndex=a.zIndex,i.style.maxWidth=a.maxWidth;var o=document.createElement('div');if(o.setAttribute('class','tippy-tooltip'),o.setAttribute('data-size',a.size),o.setAttribute('data-animation',a.animation),o.setAttribute('data-state','hidden'),a.theme.split(' ').forEach(function(e){o.classList.add(e+'-theme')}),a.arrow){var p=document.createElement('div');p.style[r('transform')]=a.arrowTransform,'round'===a.arrowType?(p.classList.add('tippy-roundarrow'),p.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):p.classList.add('tippy-arrow'),o.appendChild(p)}if(a.animateFill){o.setAttribute('data-animatefill','');var n=document.createElement('div');n.setAttribute('data-state','hidden'),n.classList.add('tippy-backdrop'),o.appendChild(n)}a.inertia&&o.setAttribute('data-inertia',''),a.interactive&&o.setAttribute('data-interactive','');var s=document.createElement('div');s.setAttribute('class','tippy-content');var l=a.html;if(l){var d;l instanceof Element?(s.appendChild(l),d='#'+l.id||'tippy-html-template'):(s.innerHTML=document.querySelector(l).innerHTML,d=l),i.setAttribute('data-html',''),o.setAttribute('data-template-id',d),a.interactive&&i.setAttribute('tabindex','-1')}else s[a.allowTitleHTML?'innerHTML':'textContent']=e;return o.appendChild(s),i.appendChild(o),i}function n(t,e,a,i){var o=a.onTrigger,r=a.onMouseLeave,p=a.onBlur,n=a.onDelegateShow,s=a.onDelegateHide,l=[];if('manual'===t)return l;var d=function(t,a){e.addEventListener(t,a),l.push({event:t,handler:a})};return i.target?(zt.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',s)),'mouseenter'===t&&(d('mouseover',n),d('mouseout',s)),'focus'===t&&(d('focusin',n),d('focusout',s)),'click'===t&&d('click',n)):(d(t,o),zt.supportsTouch&&i.touchHold&&(d('touchstart',o),d('touchend',r)),'mouseenter'===t&&d('mouseleave',r),'focus'===t&&d(Bt?'focusout':'blur',p)),l}function s(t,e){var a=qt.reduce(function(a,i){var o=t.getAttribute('data-tippy-'+i.toLowerCase())||e[i];return'false'===o&&(o=!1),'true'===o&&(o=!0),isFinite(o)&&!isNaN(parseFloat(o))&&(o=parseFloat(o)),'target'!==i&&'string'==typeof o&&'['===o.trim().charAt(0)&&(o=JSON.parse(o)),a[i]=o,a},{});return Vt({},e,a)}function l(t,e){return e.arrow&&(e.animateFill=!1),e.appendTo&&'function'==typeof e.appendTo&&(e.appendTo=e.appendTo()),'function'==typeof e.html&&(e.html=e.html(t)),e}function d(t){var e=function(e){return t.querySelector(e)};return{tooltip:e(Ut.TOOLTIP),backdrop:e(Ut.BACKDROP),content:e(Ut.CONTENT),arrow:e(Ut.ARROW)||e(Ut.ROUND_ARROW)}}function c(t){var e=t.getAttribute('title');e&&t.setAttribute('data-original-title',e),t.removeAttribute('title')}function m(t){return t&&'[object Function]'==={}.toString.call(t)}function f(t,e){if(1!==t.nodeType)return[];var a=getComputedStyle(t,null);return e?a[e]:a}function h(t){return'HTML'===t.nodeName?t:t.parentNode||t.host}function b(t){if(!t)return document.body;switch(t.nodeName){case'HTML':case'BODY':return t.ownerDocument.body;case'#document':return t.body;}var e=f(t),a=e.overflow,i=e.overflowX,o=e.overflowY;return /(auto|scroll|overlay)/.test(a+o+i)?t:b(h(t))}function u(t){if(!t)return document.documentElement;for(var e=ee(10)?document.body:null,a=t.offsetParent;a===e&&t.nextElementSibling;)a=(t=t.nextElementSibling).offsetParent;var i=a&&a.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(a.nodeName)&&'static'===f(a,'position')?u(a):a:t?t.ownerDocument.documentElement:document.documentElement}function y(t){var e=t.nodeName;return'BODY'!==e&&('HTML'===e||u(t.firstElementChild)===t)}function g(t){return null===t.parentNode?t:g(t.parentNode)}function w(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var a=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=a?t:e,o=a?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var p=r.commonAncestorContainer;if(t!==p&&e!==p||i.contains(o))return y(p)?p:u(p);var n=g(t);return n.host?w(n.host,e):w(t,g(e).host)}function x(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',a='top'===e?'scrollTop':'scrollLeft',i=t.nodeName;if('BODY'===i||'HTML'===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[a]}return t[a]}function v(t,e){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=x(e,'top'),o=x(e,'left'),r=a?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function k(t,e){var a='x'===e?'Left':'Top',i='Left'==a?'Right':'Bottom';return parseFloat(t['border'+a+'Width'],10)+parseFloat(t['border'+i+'Width'],10)}function E(t,e,a,i){return Mt(e['offset'+t],e['scroll'+t],a['client'+t],a['offset'+t],a['scroll'+t],ee(10)?a['offset'+t]+i['margin'+('Height'===t?'Top':'Left')]+i['margin'+('Height'===t?'Bottom':'Right')]:0)}function T(){var t=document.body,e=document.documentElement,a=ee(10)&&getComputedStyle(e);return{height:E('Height',t,e,a),width:E('Width',t,e,a)}}function O(t){return re({},t,{right:t.left+t.width,bottom:t.top+t.height})}function L(t){var e={};try{if(ee(10)){e=t.getBoundingClientRect();var a=x(t,'top'),i=x(t,'left');e.top+=a,e.left+=i,e.bottom+=a,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r='HTML'===t.nodeName?T():{},p=r.width||t.clientWidth||o.right-o.left,n=r.height||t.clientHeight||o.bottom-o.top,s=t.offsetWidth-p,l=t.offsetHeight-n;if(s||l){var d=f(t);s-=k(d,'x'),l-=k(d,'y'),o.width-=s,o.height-=l}return O(o)}function A(t,e){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=ee(10),o='HTML'===e.nodeName,r=L(t),p=L(e),n=b(t),s=f(e),l=parseFloat(s.borderTopWidth,10),d=parseFloat(s.borderLeftWidth,10);a&&'HTML'===e.nodeName&&(p.top=Mt(p.top,0),p.left=Mt(p.left,0));var c=O({top:r.top-p.top-l,left:r.left-p.left-d,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!i&&o){var m=parseFloat(s.marginTop,10),h=parseFloat(s.marginLeft,10);c.top-=l-m,c.bottom-=l-m,c.left-=d-h,c.right-=d-h,c.marginTop=m,c.marginLeft=h}return(i&&!a?e.contains(n):e===n&&'BODY'!==n.nodeName)&&(c=v(c,e)),c}function C(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=t.ownerDocument.documentElement,i=A(t,a),o=Mt(a.clientWidth,window.innerWidth||0),r=Mt(a.clientHeight,window.innerHeight||0),p=e?0:x(a),n=e?0:x(a,'left'),s={top:p-i.top+i.marginTop,left:n-i.left+i.marginLeft,width:o,height:r};return O(s)}function S(t){var e=t.nodeName;return'BODY'!==e&&'HTML'!==e&&('fixed'===f(t,'position')||S(h(t)))}function Y(t){if(!t||!t.parentElement||ee())return document.documentElement;for(var e=t.parentElement;e&&'none'===f(e,'transform');)e=e.parentElement;return e||document.documentElement}function P(t,e,a,i){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],r={top:0,left:0},p=o?Y(t):w(t,e);if('viewport'===i)r=C(p,o);else{var n;'scrollParent'===i?(n=b(h(e)),'BODY'===n.nodeName&&(n=t.ownerDocument.documentElement)):'window'===i?n=t.ownerDocument.documentElement:n=i;var s=A(n,p,o);if('HTML'===n.nodeName&&!S(p)){var l=T(),d=l.height,c=l.width;r.top+=s.top-s.marginTop,r.bottom=d+s.top,r.left+=s.left-s.marginLeft,r.right=c+s.left}else r=s}return r.left+=a,r.top+=a,r.right-=a,r.bottom-=a,r}function X(t){var e=t.width,a=t.height;return e*a}function I(t,e,a,i,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf('auto'))return t;var p=P(a,i,r,o),n={top:{width:p.width,height:e.top-p.top},right:{width:p.right-e.right,height:p.height},bottom:{width:p.width,height:p.bottom-e.bottom},left:{width:e.left-p.left,height:p.height}},s=Object.keys(n).map(function(t){return re({key:t},n[t],{area:X(n[t])})}).sort(function(t,e){return e.area-t.area}),l=s.filter(function(t){var e=t.width,i=t.height;return e>=a.clientWidth&&i>=a.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=t.split('-')[1];return d+(c?'-'+c:'')}function D(t,e,a){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=i?Y(e):w(e,a);return A(a,o,i)}function R(t){var e=getComputedStyle(t),a=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight),o={width:t.offsetWidth+i,height:t.offsetHeight+a};return o}function N(t){var e={left:'right',right:'left',bottom:'top',top:'bottom'};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function _(t,e,a){a=a.split('-')[0];var i=R(t),o={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(a),p=r?'top':'left',n=r?'left':'top',s=r?'height':'width',l=r?'width':'height';return o[p]=e[p]+e[s]/2-i[s]/2,o[n]=a===n?e[n]-i[l]:e[N(n)],o}function H(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,e,a){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===a});var i=H(t,function(t){return t[e]===a});return t.indexOf(i)}function W(t,e,a){var i=void 0===a?t:t.slice(0,M(t,'name',a));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var a=t['function']||t.fn;t.enabled&&m(a)&&(e.offsets.popper=O(e.offsets.popper),e.offsets.reference=O(e.offsets.reference),e=a(e,t))}),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=I(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=_(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',t=W(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some(function(t){var a=t.name,i=t.enabled;return i&&a===e})}function U(t){for(var e=[!1,'ms','Webkit','Moz','O'],a=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?''+i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function F(){return this.state.isDestroyed=!0,z(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[U('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(t){var e=t.ownerDocument;return e?e.defaultView:window}function j(t,e,a,i){var o='BODY'===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,a,{passive:!0}),o||j(b(r.parentNode),e,a,i),i.push(r)}function K(t,e,a,i){a.updateBound=i,q(t).addEventListener('resize',a.updateBound,{passive:!0});var o=b(t);return j(o,'scroll',a.updateBound,a.scrollParents),a.scrollElement=o,a.eventsEnabled=!0,a}function V(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function G(t,e){return q(t).removeEventListener('resize',e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener('scroll',e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}function Z(t){return''!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach(function(a){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(a)&&Z(e[a])&&(i='px'),t.style[a]=e[a]+i})}function J(t,e){Object.keys(e).forEach(function(a){var i=e[a];!1===i?t.removeAttribute(a):t.setAttribute(a,e[a])})}function tt(t,e,a){var i=H(t,function(t){var a=t.name;return a===e}),o=!!i&&t.some(function(t){return t.name===a&&t.enabled&&t.order<i.order});if(!o){var r='`'+e+'`';console.warn('`'+a+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return o}function et(t){return'end'===t?'start':'start'===t?'end':t}function at(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=ne.indexOf(t),i=ne.slice(a+1).concat(ne.slice(0,a));return e?i.reverse():i}function it(t,e,a,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],p=o[2];if(!r)return t;if(0===p.indexOf('%')){var n;switch(p){case'%p':n=a;break;case'%':case'%r':default:n=i;}var s=O(n);return s[e]/100*r}if('vh'===p||'vw'===p){var l;return l='vh'===p?Mt(document.documentElement.clientHeight,window.innerHeight||0):Mt(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function ot(t,e,a,i){var o=[0,0],r=-1!==['right','left'].indexOf(i),p=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=p.indexOf(H(p,function(t){return-1!==t.search(/,|\s/)}));p[n]&&-1===p[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[p]:[p.slice(0,n).concat([p[n].split(s)[0]]),[p[n].split(s)[1]].concat(p.slice(n+1))];return l=l.map(function(t,i){var o=(1===i?!r:r)?'height':'width',p=!1;return t.reduce(function(t,e){return''===t[t.length-1]&&-1!==['+','-'].indexOf(e)?(t[t.length-1]=e,p=!0,t):p?(t[t.length-1]+=e,p=!1,t):t.concat(e)},[]).map(function(t){return it(t,o,e,a)})}),l.forEach(function(t,e){t.forEach(function(a,i){Z(a)&&(o[e]+=a*('-'===t[i-1]?-1:1))})}),o}function rt(t,e){var a,i=e.offset,o=t.placement,r=t.offsets,p=r.popper,n=r.reference,s=o.split('-')[0];return a=Z(+i)?[+i,0]:ot(i,p,n,s),'left'===s?(p.top+=a[0],p.left-=a[1]):'right'===s?(p.top+=a[0],p.left+=a[1]):'top'===s?(p.left+=a[0],p.top-=a[1]):'bottom'===s&&(p.left+=a[0],p.top+=a[1]),t.popper=p,t}function pt(t){var e=t.style;e[r('transform')]=null,e.top=null,e.left=null}function nt(t){void t.offsetHeight}function st(t,e,a){var i=t.popper,o=t.options,r=o.onCreate,p=o.onUpdate;o.onCreate=o.onUpdate=function(){nt(i),e&&e(),p(),o.onCreate=r,o.onUpdate=p},a||t.scheduleUpdate()}function lt(t){return t.getAttribute('x-placement').replace(/-.+/,'')}function dt(t,e,a){if(!e.getAttribute('x-placement'))return!0;var i=t.clientX,o=t.clientY,r=a.interactiveBorder,p=a.distance,n=e.getBoundingClientRect(),s=lt(e),l=r+p,d={top:n.top-o>r,bottom:o-n.bottom>r,left:n.left-i>r,right:i-n.right>r};return'top'===s?d.top=n.top-o>l:'bottom'===s?d.bottom=o-n.bottom>l:'left'===s?d.left=n.left-i>l:'right'===s?d.right=i-n.right>l:void 0,d.top||d.bottom||d.left||d.right}function ct(t,e,a,i){if(!e.length)return'';var o={scale:function(){return 1===e.length?''+e[0]:a?e[0]+', '+e[1]:e[1]+', '+e[0]}(),translate:function(){return 1===e.length?i?-e[0]+'px':e[0]+'px':a?i?e[0]+'px, '+-e[1]+'px':e[0]+'px, '+e[1]+'px':i?-e[1]+'px, '+e[0]+'px':e[1]+'px, '+e[0]+'px'}()};return o[t]}function mt(t,e){if(!t)return'';return e?t:{X:'Y',Y:'X'}[t]}function ft(t,e,a){var i=lt(t),o='top'===i||'bottom'===i,p='right'===i||'bottom'===i,n=function(t){var e=a.match(t);return e?e[1]:''},s=function(t){var e=a.match(t);return e?e[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:n(/translate([XY])/),numbers:s(l.translate)},scale:{axis:n(/scale([XY])/),numbers:s(l.scale)}},c=a.replace(l.translate,'translate'+mt(d.translate.axis,o)+'('+ct('translate',d.translate.numbers,o,p)+')').replace(l.scale,'scale'+mt(d.scale.axis,o)+'('+ct('scale',d.scale.numbers,o,p)+')');e.style[r('transform')]=c}function ht(t){return-(t-Ft.distance)+'px'}function bt(t){requestAnimationFrame(function(){setTimeout(t,1)})}function ut(t,a){var i=Element.prototype.closest||function(t){for(var a=this;a;){if(e.call(a,t))return a;a=a.parentElement}};return i.call(t,a)}function yt(t,e){return Array.isArray(t)?t[e]:t}function gt(t,e){t.forEach(function(t){t&&t.setAttribute('data-state',e)})}function wt(t,e){t.filter(Boolean).forEach(function(t){t.style[r('transitionDuration')]=e+'ms'})}function xt(t){var e=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;t.focus(),scroll(e,a)}function vt(){var t=this._(me).lastTriggerEvent;return this.options.followCursor&&!zt.usingTouch&&t&&'focus'!==t.type}function kt(t){var e=ut(t.target,this.options.target);if(e&&!e._tippy){var a=e.getAttribute('title')||this.title;a&&(e.setAttribute('title',a),Nt(e,Vt({},this.options,{target:null})),Et.call(e._tippy,t))}}function Et(t){var e=this,a=this.options;if(Ct.call(this),!this.state.visible){if(a.target)return void kt.call(this,t);if(this._(me).isPreparingToShow=!0,a.wait)return void a.wait.call(this.popper,this.show.bind(this),t);if(vt.call(this)){this._(me).followCursorListener||St.call(this);var i=d(this.popper),o=i.arrow;o&&(o.style.margin='0'),document.addEventListener('mousemove',this._(me).followCursorListener)}var r=yt(a.delay,0);r?this._(me).showTimeout=setTimeout(function(){e.show()},r):this.show()}}function Tt(){var t=this;if(Ct.call(this),!!this.state.visible){this._(me).isPreparingToShow=!1;var e=yt(this.options.delay,1);e?this._(me).hideTimeout=setTimeout(function(){t.state.visible&&t.hide()},e):this.hide()}}function Ot(){var t=this;return{onTrigger:function(e){if(t.state.enabled){var a=zt.supportsTouch&&zt.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);a&&t.options.touchHold||(t._(me).lastTriggerEvent=e,'click'===e.type&&'persistent'!==t.options.hideOnClick&&t.state.visible?Tt.call(t):Et.call(t,e),a&&zt.iOS&&t.reference.click&&t.reference.click())}},onMouseLeave:function(e){if(!(-1<['mouseleave','mouseout'].indexOf(e.type)&&zt.supportsTouch&&zt.usingTouch&&t.options.touchHold)){if(t.options.interactive){var a=Tt.bind(t),i=function e(i){var o=ut(i.target,Ut.REFERENCE),r=ut(i.target,Ut.POPPER)===t.popper,p=o===t.reference;r||p||dt(i,t.popper,t.options)&&(document.body.removeEventListener('mouseleave',a),document.removeEventListener('mousemove',e),Tt.call(t,e))};return document.body.addEventListener('mouseleave',a),void document.addEventListener('mousemove',i)}Tt.call(t)}},onBlur:function(e){if(!(e.target!==t.reference||zt.usingTouch)){if(t.options.interactive){if(!e.relatedTarget)return;if(ut(e.relatedTarget,Ut.POPPER))return}Tt.call(t)}},onDelegateShow:function(e){ut(e.target,t.options.target)&&Et.call(t,e)},onDelegateHide:function(e){ut(e.target,t.options.target)&&Tt.call(t)}}}function Lt(){var t=this,e=this.popper,a=this.reference,i=this.options,o=d(e),r=o.tooltip,p=i.popperOptions,n='round'===i.arrowType?Ut.ROUND_ARROW:Ut.ARROW,s=r.querySelector(n),l=Vt({placement:i.placement},p||{},{modifiers:Vt({},p?p.modifiers:{},{arrow:Vt({element:n},p&&p.modifiers?p.modifiers.arrow:{}),flip:Vt({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},p&&p.modifiers?p.modifiers.flip:{}),offset:Vt({offset:i.offset},p&&p.modifiers?p.modifiers.offset:{})}),onCreate:function(){r.style[lt(e)]=ht(i.distance),s&&i.arrowTransform&&ft(e,s,i.arrowTransform)},onUpdate:function(){var t=r.style;t.top='',t.bottom='',t.left='',t.right='',t[lt(e)]=ht(i.distance),s&&i.arrowTransform&&ft(e,s,i.arrowTransform)}});return Pt.call(this,{target:e,callback:function(){t.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new le(a,e,l)}function At(t){var e=this.options;if(this.popperInstance?(pt(this.popper),this.popperInstance.scheduleUpdate(),e.livePlacement&&!vt.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Lt.call(this),!e.livePlacement&&this.popperInstance.disableEventListeners()),!vt.call(this)){var a=d(this.popper),i=a.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}st(this.popperInstance,t,!0),e.appendTo.contains(this.popper)||e.appendTo.appendChild(this.popper)}function Ct(){var t=this._(me),e=t.showTimeout,a=t.hideTimeout;clearTimeout(e),clearTimeout(a)}function St(){var t=this;this._(me).followCursorListener=function(e){var a=t._(me).lastMouseMoveEvent=e,i=a.clientX,o=a.clientY;t.popperInstance&&(t.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:o,left:i,right:i,bottom:o}},clientWidth:0,clientHeight:0},t.popperInstance.scheduleUpdate())}}function Yt(){var t=this,e=function(){t.popper.style[r('transitionDuration')]=t.options.updateDuration+'ms'},a=function(){t.popper.style[r('transitionDuration')]=''};bt(function i(){t.popperInstance&&t.popperInstance.scheduleUpdate(),e(),t.state.visible?requestAnimationFrame(i):a()})}function Pt(t){var e=t.target,a=t.callback,i=t.options;if(window.MutationObserver){var o=new MutationObserver(a);o.observe(e,i),this._(me).mutationObservers.push(o)}}function Xt(t,a){if(!t)return a();var e=d(this.popper),i=e.tooltip,o=function(t,e){e&&i[t+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',e)},r=function t(r){r.target===i&&(o('remove',t),a())};o('remove',this._(me).transitionendListener),o('add',r),this._(me).transitionendListener=r}function It(t,e){return t.reduce(function(t,a){var i=be,o=l(a,e.performance?e:s(a,e)),r=a.getAttribute('title');if(!r&&!o.target&&!o.html&&!o.dynamicTitle)return t;a.setAttribute(o.target?'data-tippy-delegate':'data-tippy',''),c(a);var m=p(i,r,o),f=new he({id:i,reference:a,popper:m,options:o,title:r,popperInstance:null});o.createPopperInstanceOnInit&&(f.popperInstance=Lt.call(f),f.popperInstance.disableEventListeners());var h=Ot.call(f);return f.listeners=o.trigger.trim().split(' ').reduce(function(t,e){return t.concat(n(e,a,h,o))},[]),o.dynamicTitle&&Pt.call(f,{target:a,callback:function(){var t=d(m),e=t.content,i=a.getAttribute('title');i&&(e[o.allowTitleHTML?'innerHTML':'textContent']=f.title=i,c(a))},options:{attributes:!0}}),a._tippy=f,m._tippy=f,m._reference=a,t.push(f),be++,t},[])}function Dt(t){var e=a(document.querySelectorAll(Ut.POPPER));e.forEach(function(e){var a=e._tippy;if(a){var i=a.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!t||e!==t.popper)&&a.hide()}})}function Rt(){var t=function(){zt.usingTouch||(zt.usingTouch=!0,zt.iOS&&document.body.classList.add('tippy-touch'),zt.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),zt.onUserInputChange('touch'))},i=function(){var t;return function(){var e=performance.now();20>e-t&&(zt.usingTouch=!1,document.removeEventListener('mousemove',i),!zt.iOS&&document.body.classList.remove('tippy-touch'),zt.onUserInputChange('mouse')),t=e}}();document.addEventListener('click',function(t){if(!(t.target instanceof Element))return Dt();var e=ut(t.target,Ut.REFERENCE),a=ut(t.target,Ut.POPPER);if(!(a&&a._reference._tippy.options.interactive)){if(e){var i=e._tippy.options;if(!i.multiple&&zt.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return Dt(e._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}Dt()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,a=t.activeElement;a&&a.blur&&e.call(a,Ut.REFERENCE)&&a.blur()}),window.addEventListener('resize',function(){a(document.querySelectorAll(Ut.POPPER)).forEach(function(t){var e=t._tippy;e.options.livePlacement||e.popperInstance.scheduleUpdate()})}),!zt.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Nt(e,a){return zt.supported&&!ue&&(Rt(),ue=!0),t(e)&&(e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,a){e.attributes[t]=a},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}),a=Vt({},Ft,a),{selector:e,options:a,tooltips:zt.supported?It(o(e),a):[],destroyAll:function(){this.tooltips.forEach(function(t){return t.destroy()}),this.tooltips=[]}}}var _t=Math.min,Ht=Math.floor,Mt=Math.max,Wt='undefined'!=typeof window,Bt=Wt&&/MSIE |Trident\//.test(navigator.userAgent),zt={};Wt&&(zt.supported='requestAnimationFrame'in window,zt.supportsTouch='ontouchstart'in window,zt.usingTouch=!1,zt.dynamicInputDetection=!0,zt.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,zt.onUserInputChange=function(){});for(var Ut={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},Ft={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},qt=zt.supported&&Object.keys(Ft),jt=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},Kt=function(){function t(t,e){for(var a,o=0;o<e.length;o++)a=e[o],a.enumerable=a.enumerable||!1,a.configurable=!0,('value'in a)&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),Vt=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var i in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Gt='undefined'!=typeof window&&'undefined'!=typeof document,Qt=['Edge','Trident','Firefox'],Zt=0,$t=0;$t<Qt.length;$t+=1)if(Gt&&0<=navigator.userAgent.indexOf(Qt[$t])){Zt=1;break}var i=Gt&&window.Promise,Jt=i?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Zt))}},te={},ee=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'all';return(t=t.toString(),te.hasOwnProperty(t))?te[t]:('11'===t?te[t]=-1!==navigator.userAgent.indexOf('Trident'):'10'===t?te[t]=-1!==navigator.appVersion.indexOf('MSIE 10'):'all'===t?te[t]=-1!==navigator.userAgent.indexOf('Trident')||-1!==navigator.userAgent.indexOf('MSIE'):void 0,te.all=te.all||Object.keys(te).some(function(t){return te[t]}),te[t])},ae=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},ie=function(){function t(t,e){for(var a,o=0;o<e.length;o++)a=e[o],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),oe=function(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t},re=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var i in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},pe=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ne=pe.slice(3),se={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},le=function(){function t(e,a){var i=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ae(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Jt(this.update.bind(this)),this.options=re({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(re({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=re({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return re({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&m(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return ie(t,[{key:'update',value:function(){return B.call(this)}},{key:'destroy',value:function(){return F.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return Q.call(this)}}]),t}();le.Utils=('undefined'==typeof window?global:window).PopperUtils,le.placements=pe,le.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,a=e.split('-')[0],i=e.split('-')[1];if(i){var o=t.offsets,r=o.reference,p=o.popper,n=-1!==['bottom','top'].indexOf(a),s=n?'left':'top',l=n?'width':'height',d={start:oe({},s,r[s]),end:oe({},s,r[s]+r[l]-p[l])};t.offsets.popper=re({},p,d[i])}return t}},offset:{order:200,enabled:!0,fn:rt,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var a=e.boundariesElement||u(t.instance.popper);t.instance.reference===a&&(a=u(a));var i=P(t.instance.popper,t.instance.reference,e.padding,a,t.positionFixed);e.boundaries=i;var o=e.priority,r=t.offsets.popper,p={primary:function(t){var a=r[t];return r[t]<i[t]&&!e.escapeWithReference&&(a=Mt(r[t],i[t])),oe({},t,a)},secondary:function(t){var a='right'===t?'left':'top',o=r[a];return r[t]>i[t]&&!e.escapeWithReference&&(o=_t(r[a],i[t]-('right'===t?r.width:r.height))),oe({},a,o)}};return o.forEach(function(t){var e=-1===['left','top'].indexOf(t)?'secondary':'primary';r=re({},r,p[e](t))}),t.offsets.popper=r,t},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,a=e.popper,i=e.reference,o=t.placement.split('-')[0],r=Ht,p=-1!==['top','bottom'].indexOf(o),n=p?'right':'bottom',s=p?'left':'top',l=p?'width':'height';return a[n]<r(i[s])&&(t.offsets.popper[s]=r(i[s])-a[l]),a[s]>r(i[n])&&(t.offsets.popper[s]=r(i[n])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var a;if(!tt(t.instance.modifiers,'arrow','keepTogether'))return t;var i=e.element;if('string'==typeof i){if(i=t.instance.popper.querySelector(i),!i)return t;}else if(!t.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),t;var o=t.placement.split('-')[0],r=t.offsets,p=r.popper,n=r.reference,s=-1!==['left','right'].indexOf(o),l=s?'height':'width',d=s?'Top':'Left',c=d.toLowerCase(),m=s?'left':'top',h=s?'bottom':'right',b=R(i)[l];n[h]-b<p[c]&&(t.offsets.popper[c]-=p[c]-(n[h]-b)),n[c]+b>p[h]&&(t.offsets.popper[c]+=n[c]+b-p[h]),t.offsets.popper=O(t.offsets.popper);var u=n[c]+n[l]/2-b/2,y=f(t.instance.popper),g=parseFloat(y['margin'+d],10),w=parseFloat(y['border'+d+'Width'],10),x=u-t.offsets.popper[c]-g-w;return x=Mt(_t(p[l]-b,x),0),t.arrowElement=i,t.offsets.arrow=(a={},oe(a,c,Math.round(x)),oe(a,m,''),a),t},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(t,e){if(z(t.instance.modifiers,'inner'))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var a=P(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split('-')[0],o=N(i),r=t.placement.split('-')[1]||'',p=[];switch(e.behavior){case se.FLIP:p=[i,o];break;case se.CLOCKWISE:p=at(i);break;case se.COUNTERCLOCKWISE:p=at(i,!0);break;default:p=e.behavior;}return p.forEach(function(n,s){if(i!==n||p.length===s+1)return t;i=t.placement.split('-')[0],o=N(i);var l=t.offsets.popper,d=t.offsets.reference,c=Ht,m='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),f=c(l.left)<c(a.left),h=c(l.right)>c(a.right),b=c(l.top)<c(a.top),u=c(l.bottom)>c(a.bottom),y='left'===i&&f||'right'===i&&h||'top'===i&&b||'bottom'===i&&u,g=-1!==['top','bottom'].indexOf(i),w=!!e.flipVariations&&(g&&'start'===r&&f||g&&'end'===r&&h||!g&&'start'===r&&b||!g&&'end'===r&&u);(m||y||w)&&(t.flipped=!0,(m||y)&&(i=p[s+1]),w&&(r=et(r)),t.placement=i+(r?'-'+r:''),t.offsets.popper=re({},t.offsets.popper,_(t.instance.popper,t.offsets.reference,t.placement)),t=W(t.instance.modifiers,t,'flip'))}),t},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,a=e.split('-')[0],i=t.offsets,o=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(a),n=-1===['top','left'].indexOf(a);return o[p?'left':'top']=r[a]-(n?o[p?'width':'height']:0),t.placement=N(e),t.offsets.popper=O(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!tt(t.instance.modifiers,'hide','preventOverflow'))return t;var e=t.offsets.reference,a=H(t.instance.modifiers,function(t){return'preventOverflow'===t.name}).boundaries;if(e.bottom<a.top||e.left>a.right||e.top>a.bottom||e.right<a.left){if(!0===t.hide)return t;t.hide=!0,t.attributes['x-out-of-boundaries']=''}else{if(!1===t.hide)return t;t.hide=!1,t.attributes['x-out-of-boundaries']=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var a=e.x,i=e.y,o=t.offsets.popper,r=H(t.instance.modifiers,function(t){return'applyStyle'===t.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var p,n,s=void 0===r?e.gpuAcceleration:r,l=u(t.instance.popper),d=L(l),c={position:o.position},m={left:Ht(o.left),top:Ht(o.top),bottom:Ht(o.bottom),right:Ht(o.right)},f='bottom'===a?'top':'bottom',h='right'===i?'left':'right',b=U('transform');if(n='bottom'==f?-d.height+m.bottom:m.top,p='right'==h?-d.width+m.right:m.left,s&&b)c[b]='translate3d('+p+'px, '+n+'px, 0)',c[f]=0,c[h]=0,c.willChange='transform';else{var y='bottom'==f?-1:1,g='right'==h?-1:1;c[f]=n*y,c[h]=p*g,c.willChange=f+', '+h}var w={"x-placement":t.placement};return t.attributes=re({},w,t.attributes),t.styles=re({},c,t.styles),t.arrowStyles=re({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(t){return $(t.instance.popper,t.styles),J(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,a,i,o){var r=D(o,e,t,a.positionFixed),p=I(a.placement,r,e,t,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return e.setAttribute('x-placement',p),$(e,{position:a.positionFixed?'fixed':'absolute'}),a},gpuAcceleration:void 0}}};var de={};if(Wt){var ce=Element.prototype;de=ce.matches||ce.matchesSelector||ce.webkitMatchesSelector||ce.mozMatchesSelector||ce.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),a=e.length;0<=--a&&e.item(a)!==this;);return-1<a}}var e=de,me={},fe=function(t){return function(e){return e===me&&t}},he=function(){function t(e){for(var a in jt(this,t),e)this[a]=e[a];this.state={destroyed:!1,visible:!1,enabled:!0},this._=fe({mutationObservers:[]})}return Kt(t,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var a=this.popper,i=this.reference,o=this.options,p=d(a),n=p.tooltip,s=p.backdrop,l=p.content;return o.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(o.onShow.call(a,this),t=yt(void 0===t?o.duration:t,0),wt([a,n,s],0),a.style.visibility='visible',this.state.visible=!0,At.call(this,function(){if(e.state.visible){if(vt.call(e)||e.popperInstance.scheduleUpdate(),vt.call(e)){e.popperInstance.disableEventListeners();var p=yt(o.delay,0),d=e._(me).lastTriggerEvent;d&&e._(me).followCursorListener(p&&e._(me).lastMouseMoveEvent?e._(me).lastMouseMoveEvent:d)}wt([n,s,s?l:null],t),s&&getComputedStyle(s)[r('transform')],o.interactive&&i.classList.add('tippy-active'),o.sticky&&Yt.call(e),gt([n,s],'visible'),Xt.call(e,t,function(){o.updateDuration||n.classList.add('tippy-notransition'),o.interactive&&xt(a),i.setAttribute('aria-describedby','tippy-'+e.id),o.onShown.call(a,e)})}})):void this.destroy()}}},{key:'hide',value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var a=this.popper,i=this.reference,o=this.options,r=d(a),p=r.tooltip,n=r.backdrop,s=r.content;o.onHide.call(a,this),t=yt(void 0===t?o.duration:t,1),o.updateDuration||p.classList.remove('tippy-notransition'),o.interactive&&i.classList.remove('tippy-active'),a.style.visibility='hidden',this.state.visible=!1,wt([p,n,n?s:null],t),gt([p,n],'hidden'),o.interactive&&-1<o.trigger.indexOf('click')&&xt(i),bt(function(){Xt.call(e,t,function(){e.state.visible||!o.appendTo.contains(a)||(!e._(me).isPreparingToShow&&(document.removeEventListener('mousemove',e._(me).followCursorListener),e._(me).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),e.popperInstance.disableEventListeners(),o.appendTo.removeChild(a),o.onHidden.call(a,e))})})}}},{key:'destroy',value:function(){var t=this,e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(e){t.reference.removeEventListener(e.event,e.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(e){t.reference.removeAttribute(e)}),this.options.target&&e&&a(this.reference.querySelectorAll(this.options.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(me).mutationObservers.forEach(function(t){t.disconnect()}),this.state.destroyed=!0}}}]),t}(),be=1,ue=!1;return Nt.version='2.4.0',Nt.browser=zt,Nt.defaults=Ft,Nt.disableAnimations=function(){Ft.updateDuration=Ft.duration=0,Ft.animateFill=!1},function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'';if(Wt&&zt.supported){var e=document.head||document.querySelector('head'),a=document.createElement('style');a.type='text/css',e.insertBefore(a,e.firstChild),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('.tippy-touch{cursor:pointer!important}.tippy-notransition{-webkit-transition:none!important;transition:none!important}.tippy-popper{max-width:350px;-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;-webkit-transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[data-html]{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 90%;transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-50%,25%);transform:scale(5.5) translate(-50%,25%);opacity:1}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,25%);transform:scale(1) translate(-50%,25%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -90%;transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-50%,-125%);transform:scale(5.5) translate(-50%,-125%);opacity:1}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,-125%);transform:scale(1) translate(-50%,-125%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:90% 0;transform-origin:90% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(33%,-50%);transform:scale(5.5) translate(33%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(33%,-50%);transform:scale(1.5) translate(33%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-90% 0;transform-origin:-90% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-133%,-50%);transform:scale(5.5) translate(-133%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(-133%,-50%);transform:scale(1.5) translate(-133%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-animatefill] .tippy-content{-webkit-transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98),-webkit-clip-path cubic-bezier(.46,.1,.52,.98)}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{-webkit-transition-timing-function:cubic-bezier(.53,2,.36,.85);transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{-webkit-transition-timing-function:ease;transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-roundarrow path{pointer-events:auto}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:26%;left:50%;top:50%;z-index:-1;-webkit-transition:all cubic-bezier(.46,.1,.52,.98);transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(100% 100% at 50% 50%);clip-path:ellipse(100% 100% at 50% 50%)}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(5% 50% at 50% 50%);clip-path:ellipse(5% 50% at 50% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 0 50%);clip-path:ellipse(135% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(25% 100% at 0 50%);clip-path:ellipse(25% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 100% 50%);clip-path:ellipse(135% 100% at 100% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(25% 100% at 100% 50%);clip-path:ellipse(25% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}'),Nt}); |
@@ -1,1 +0,1 @@ | ||
(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){'use strict';function t(e){return'[object Object]'===Object.prototype.toString.call(e)}function o(e){return[].slice.call(e)}function n(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return o(e);if(Array.isArray(e))return e;try{return o(document.querySelectorAll(e))}catch(e){return[]}}function r(e){for(var t=['','webkit'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function a(e,t,o){var i=o.arrow,n=o.arrowType,a=o.arrowTransform,s=o.animateFill,p=o.inertia,l=o.animation,d=o.size,c=o.theme,f=o.html,m=o.zIndex,u=o.interactive,h=o.maxWidth,g=o.allowTitleHTML,b=document.createElement('div');b.setAttribute('class','tippy-popper'),b.setAttribute('role','tooltip'),b.setAttribute('id','tippy-'+e),b.style.zIndex=m,b.style.maxWidth=h;var y=document.createElement('div');if(y.setAttribute('class','tippy-tooltip'),y.setAttribute('data-size',d),y.setAttribute('data-animation',l),y.setAttribute('data-state','hidden'),c.split(' ').forEach(function(e){y.classList.add(e+'-theme')}),i){var v=document.createElement('div');v.style[r('transform')]=a,'round'===n?(v.classList.add('tippy-roundarrow'),v.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):v.classList.add('tippy-arrow'),y.appendChild(v)}if(s){y.setAttribute('data-animatefill','');var w=document.createElement('div');w.setAttribute('data-state','hidden'),w.classList.add('tippy-backdrop'),y.appendChild(w)}p&&y.setAttribute('data-inertia',''),u&&y.setAttribute('data-interactive','');var E=document.createElement('div');if(E.setAttribute('class','tippy-content'),f){var T;f instanceof Element?(E.appendChild(f),T='#'+f.id||'tippy-html-template'):(E.innerHTML=document.querySelector(f).innerHTML,T=f),b.setAttribute('data-html',''),u&&b.setAttribute('tabindex','-1'),y.setAttribute('data-template-id',T)}else E[g?'innerHTML':'textContent']=t;return y.appendChild(E),b.appendChild(y),b}function s(e,t,o,i){var n=o.onTrigger,r=o.onMouseLeave,a=o.onBlur,s=o.onDelegateShow,p=o.onDelegateHide,l=[];if('manual'===e)return l;var d=function(e,o){t.addEventListener(e,o),l.push({event:e,handler:o})};return i.target?(Ue.supportsTouch&&i.touchHold&&(d('touchstart',s),d('touchend',p)),'mouseenter'===e&&(d('mouseover',s),d('mouseout',p)),'focus'===e&&(d('focusin',s),d('focusout',p)),'click'===e&&d('click',s)):(d(e,n),Ue.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',r)),'mouseenter'===e&&d('mouseleave',r),'focus'===e&&d(Be?'focusout':'blur',a)),l}function p(e,t){var o=qe.reduce(function(o,i){var n=e.getAttribute('data-tippy-'+i.toLowerCase())||t[i];return'false'===n&&(n=!1),'true'===n&&(n=!0),isFinite(n)&&!isNaN(parseFloat(n))&&(n=parseFloat(n)),'target'!==i&&'string'==typeof n&&'['===n.trim().charAt(0)&&(n=JSON.parse(n)),o[i]=n,o},{});return Xe({},t,o)}function l(e,t){return t.arrow&&(t.animateFill=!1),t.appendTo&&'function'==typeof t.appendTo&&(t.appendTo=t.appendTo()),'function'==typeof t.html&&(t.html=t.html(e)),t}function d(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Ye.TOOLTIP),backdrop:t(Ye.BACKDROP),content:t(Ye.CONTENT),arrow:t(Ye.ARROW)||t(Ye.ROUND_ARROW)}}function c(e){var t=e.getAttribute('title');t&&e.setAttribute('data-original-title',t),e.removeAttribute('title')}function f(e){return e&&'[object Function]'==={}.toString.call(e)}function m(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function u(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function h(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=m(e),o=t.overflow,i=t.overflowX,n=t.overflowY;return /(auto|scroll)/.test(o+n+i)?e:h(u(e))}function g(e){var t=e&&e.offsetParent,o=t&&t.nodeName;return o&&'BODY'!==o&&'HTML'!==o?-1!==['TD','TABLE'].indexOf(t.nodeName)&&'static'===m(t,'position')?g(t):t:e?e.ownerDocument.documentElement:document.documentElement}function b(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||g(e.firstElementChild)===e)}function y(e){return null===e.parentNode?e:y(e.parentNode)}function v(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(n,0);var a=r.commonAncestorContainer;if(e!==a&&t!==a||i.contains(n))return b(a)?a:g(a);var s=y(e);return s.host?v(s.host,t):v(e,y(t).host)}function w(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',i=e.nodeName;if('BODY'===i||'HTML'===i){var n=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||n;return r[o]}return e[o]}function E(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=w(t,'top'),n=w(t,'left'),r=o?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=n*r,e.right+=n*r,e}function T(e,t){var o='x'===t?'Left':'Top',i='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+i+'Width'],10)}function L(e,t,o,i){return Me(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],Je()?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function O(){var e=document.body,t=document.documentElement,o=Je()&&getComputedStyle(t);return{height:L('Height',e,t,o),width:L('Width',e,t,o)}}function x(e){return it({},e,{right:e.left+e.width,bottom:e.top+e.height})}function A(e){var t={};if(Je())try{t=e.getBoundingClientRect();var o=w(e,'top'),i=w(e,'left');t.top+=o,t.left+=i,t.bottom+=o,t.right+=i}catch(e){}else t=e.getBoundingClientRect();var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r='HTML'===e.nodeName?O():{},a=r.width||e.clientWidth||n.right-n.left,s=r.height||e.clientHeight||n.bottom-n.top,p=e.offsetWidth-a,l=e.offsetHeight-s;if(p||l){var d=m(e);p-=T(d,'x'),l-=T(d,'y'),n.width-=p,n.height-=l}return x(n)}function k(e,t){var o=Je(),i='HTML'===t.nodeName,n=A(e),r=A(t),a=h(e),s=m(t),p=parseFloat(s.borderTopWidth,10),l=parseFloat(s.borderLeftWidth,10),d=x({top:n.top-r.top-p,left:n.left-r.left-l,width:n.width,height:n.height});if(d.marginTop=0,d.marginLeft=0,!o&&i){var c=parseFloat(s.marginTop,10),f=parseFloat(s.marginLeft,10);d.top-=p-c,d.bottom-=p-c,d.left-=l-f,d.right-=l-f,d.marginTop=c,d.marginLeft=f}return(o?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(d=E(d,t)),d}function C(e){var t=e.ownerDocument.documentElement,o=k(e,t),i=Me(t.clientWidth,window.innerWidth||0),n=Me(t.clientHeight,window.innerHeight||0),r=w(t),a=w(t,'left'),s={top:r-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:i,height:n};return x(s)}function S(e){var t=e.nodeName;return'BODY'===t||'HTML'===t?!1:'fixed'===m(e,'position')||S(u(e))}function P(e,t,o,i){var n={top:0,left:0},r=v(e,t);if('viewport'===i)n=C(r);else{var a;'scrollParent'===i?(a=h(u(t)),'BODY'===a.nodeName&&(a=e.ownerDocument.documentElement)):'window'===i?a=e.ownerDocument.documentElement:a=i;var s=k(a,r);if('HTML'===a.nodeName&&!S(r)){var p=O(),l=p.height,d=p.width;n.top+=s.top-s.marginTop,n.bottom=l+s.top,n.left+=s.left-s.marginLeft,n.right=d+s.left}else n=s}return n.left+=o,n.top+=o,n.right-=o,n.bottom-=o,n}function I(e){var t=e.width,o=e.height;return t*o}function D(e,t,o,i,n){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var a=P(o,i,r,n),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},p=Object.keys(s).map(function(e){return it({key:e},s[e],{area:I(s[e])})}).sort(function(e,t){return t.area-e.area}),l=p.filter(function(e){var t=e.width,i=e.height;return t>=o.clientWidth&&i>=o.clientHeight}),d=0<l.length?l[0].key:p[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function R(e,t,o){var i=v(t,o);return k(o,i)}function _(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),n={width:e.offsetWidth+i,height:e.offsetHeight+o};return n}function H(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function N(e,t,o){o=o.split('-')[0];var i=_(e),n={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(o),a=r?'top':'left',s=r?'left':'top',p=r?'height':'width',l=r?'width':'height';return n[a]=t[a]+t[p]/2-i[p]/2,n[s]=o===s?t[s]-i[l]:t[H(s)],n}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function W(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var i=M(e,function(e){return e[t]===o});return e.indexOf(i)}function B(e,t,o){var i=void 0===o?e:e.slice(0,W(e,'name',o));return i.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&f(o)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=o(t,e))}),t}function U(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=R(this.state,this.popper,this.reference),e.placement=D(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position='absolute',e=B(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Y(e,t){return e.some(function(e){var o=e.name,i=e.enabled;return i&&o===t})}function F(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length-1;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function q(){return this.state.isDestroyed=!0,Y(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[F('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function z(e){var t=e.ownerDocument;return t?t.defaultView:window}function j(e,t,o,i){var n='BODY'===e.nodeName,r=n?e.ownerDocument.defaultView:e;r.addEventListener(t,o,{passive:!0}),n||j(h(r.parentNode),t,o,i),i.push(r)}function X(e,t,o,i){o.updateBound=i,z(e).addEventListener('resize',o.updateBound,{passive:!0});var n=h(e);return j(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function K(){this.state.eventsEnabled||(this.state=X(this.reference,this.options,this.state,this.scheduleUpdate))}function V(e,t){return z(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function G(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=V(this.reference,this.state))}function Q(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Z(e,t){Object.keys(t).forEach(function(o){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Q(t[o])&&(i='px'),e.style[o]=t[o]+i})}function $(e,t){Object.keys(t).forEach(function(o){var i=t[o];!1===i?e.removeAttribute(o):e.setAttribute(o,t[o])})}function J(e,t,o){var i=M(e,function(e){var o=e.name;return o===t}),n=!!i&&e.some(function(e){return e.name===o&&e.enabled&&e.order<i.order});if(!n){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return n}function ee(e){return'end'===e?'start':'start'===e?'end':e}function te(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=rt.indexOf(e),i=rt.slice(o+1).concat(rt.slice(0,o));return t?i.reverse():i}function oe(e,t,o,i){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],a=n[2];if(!r)return e;if(0===a.indexOf('%')){var s;switch(a){case'%p':s=o;break;case'%':case'%r':default:s=i;}var p=x(s);return p[t]/100*r}if('vh'===a||'vw'===a){var l;return l='vh'===a?Me(document.documentElement.clientHeight,window.innerHeight||0):Me(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function ie(e,t,o,i){var n=[0,0],r=-1!==['right','left'].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(M(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var p=/\s*,\s*|\s+/,l=-1===s?[a]:[a.slice(0,s).concat([a[s].split(p)[0]]),[a[s].split(p)[1]].concat(a.slice(s+1))];return l=l.map(function(e,i){var n=(1===i?!r:r)?'height':'width',s=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return oe(e,n,t,o)})}),l.forEach(function(e,t){e.forEach(function(o,i){Q(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function ne(e){var t=e.style;t[r('transform')]=null,t.top=null,t.left=null}function re(e){void e.offsetHeight}function ae(e,t,o){var i=e.popper,n=e.options,r=n.onCreate,a=n.onUpdate;n.onCreate=n.onUpdate=function(){re(i),t&&t(),a(),n.onCreate=r,n.onUpdate=a},o||e.scheduleUpdate()}function se(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function pe(e,t,o){if(!t.getAttribute('x-placement'))return!0;var i=e.clientX,n=e.clientY,r=o.interactiveBorder,a=o.distance,s=t.getBoundingClientRect(),p=se(t),l=r+a,d={top:s.top-n>r,bottom:n-s.bottom>r,left:s.left-i>r,right:i-s.right>r};return'top'===p?d.top=s.top-n>l:'bottom'===p?d.bottom=n-s.bottom>l:'left'===p?d.left=s.left-i>l:'right'===p?d.right=i-s.right>l:void 0,d.top||d.bottom||d.left||d.right}function le(e,t,o,i){if(!t.length)return'';var n={scale:function(){return 1===t.length?''+t[0]:o?t[0]+', '+t[1]:t[1]+', '+t[0]}(),translate:function(){return 1===t.length?i?-t[0]+'px':t[0]+'px':o?i?t[0]+'px, '+-t[1]+'px':t[0]+'px, '+t[1]+'px':i?-t[1]+'px, '+t[0]+'px':t[1]+'px, '+t[0]+'px'}()};return n[e]}function de(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function ce(e,t,o){var i=se(e),n='top'===i||'bottom'===i,a='right'===i||'bottom'===i,s=function(e){var t=o.match(e);return t?t[1]:''},p=function(e){var t=o.match(e);return t?t[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:s(/translate([XY])/),numbers:p(l.translate)},scale:{axis:s(/scale([XY])/),numbers:p(l.scale)}},c=o.replace(l.translate,'translate'+de(d.translate.axis,n)+'('+le('translate',d.translate.numbers,n,a)+')').replace(l.scale,'scale'+de(d.scale.axis,n)+'('+le('scale',d.scale.numbers,n,a)+')');t.style[r('transform')]=c}function fe(e){return-(e-Fe.distance)+'px'}function me(e){requestAnimationFrame(function(){setTimeout(e,1)})}function ue(t,o){var i=Element.prototype.closest||function(t){for(var o=this;o;){if(e.call(o,t))return o;o=o.parentElement}};return i.call(t,o)}function he(e,t){return Array.isArray(e)?e[t]:e}function ge(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function be(e,t){e.filter(Boolean).forEach(function(e){e.style[r('transitionDuration')]=t+'ms'})}function ye(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function ve(){var e=this._(dt).lastTriggerEvent;return this.options.followCursor&&!Ue.usingTouch&&e&&'focus'!==e.type}function we(e){var t=ue(e.target,this.options.target);if(t&&!t._tippy){var o=t.getAttribute('title')||this.title;o&&(t.setAttribute('title',o),_e(t,Xe({},this.options,{target:null})),Ee.call(t._tippy,e))}}function Ee(e){var t=this,o=this.options;if(Ae.call(this),!this.state.visible){if(o.target)return void we.call(this,e);if(this._(dt).isPreparingToShow=!0,o.wait)return void o.wait.call(this.popper,this.show.bind(this),e);if(ve.call(this)){this._(dt).followCursorListener||ke.call(this);var i=d(this.popper),n=i.arrow;n&&(n.style.margin='0'),document.addEventListener('mousemove',this._(dt).followCursorListener)}var r=he(o.delay,0);r?this._(dt).showTimeout=setTimeout(function(){t.show()},r):this.show()}}function Te(){var e=this;if(Ae.call(this),!!this.state.visible){this._(dt).isPreparingToShow=!1;var t=he(this.options.delay,1);t?this._(dt).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function Le(){var e=this;return{onTrigger:function(t){if(e.state.enabled){var o=Ue.supportsTouch&&Ue.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(t.type);o&&e.options.touchHold||(e._(dt).lastTriggerEvent=t,'click'===t.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?Te.call(e):Ee.call(e,t),o&&Ue.iOS&&e.reference.click&&e.reference.click())}},onMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&Ue.supportsTouch&&Ue.usingTouch&&e.options.touchHold)){if(e.options.interactive){var o=Te.bind(e),i=function t(i){var n=ue(i.target,Ye.REFERENCE),r=ue(i.target,Ye.POPPER)===e.popper,a=n===e.reference;r||a||pe(i,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',o),document.removeEventListener('mousemove',t),Te.call(e))};return document.body.addEventListener('mouseleave',o),void document.addEventListener('mousemove',i)}Te.call(e)}},onBlur:function(t){t.target!==e.reference||!t.relatedTarget||Ue.usingTouch||ue(t.relatedTarget,Ye.POPPER)||Te.call(e)},onDelegateShow:function(t){ue(t.target,e.options.target)&&Ee.call(e,t)},onDelegateHide:function(t){ue(t.target,e.options.target)&&Te.call(e)}}}function Oe(){var e=this,t=this.popper,o=this.reference,i=this.options,n=d(t),r=n.tooltip,a=i.popperOptions,s='round'===i.arrowType?Ye.ROUND_ARROW:Ye.ARROW,p=r.querySelector(s),l=Xe({placement:i.placement},a||{},{modifiers:Xe({},a?a.modifiers:{},{arrow:Xe({element:s},a&&a.modifiers?a.modifiers.arrow:{}),flip:Xe({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},a&&a.modifiers?a.modifiers.flip:{}),offset:Xe({offset:i.offset},a&&a.modifiers?a.modifiers.offset:{})}),onCreate:function(){r.style[se(t)]=fe(i.distance),p&&i.arrowTransform&&ce(t,p,i.arrowTransform)},onUpdate:function(){var e=r.style;e.top='',e.bottom='',e.left='',e.right='',e[se(t)]=fe(i.distance),p&&i.arrowTransform&&ce(t,p,i.arrowTransform)}});return Se.call(this,{target:t,callback:function(){e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new st(o,t,l)}function xe(e){var t=this.options;if(this.popperInstance?(ne(this.popper),this.popperInstance.scheduleUpdate(),t.livePlacement&&!ve.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Oe.call(this),!t.livePlacement&&this.popperInstance.disableEventListeners()),!ve.call(this)){var o=d(this.popper),i=o.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}ae(this.popperInstance,e,!0),t.appendTo.contains(this.popper)||t.appendTo.appendChild(this.popper)}function Ae(){var e=this._(dt),t=e.showTimeout,o=e.hideTimeout;clearTimeout(t),clearTimeout(o)}function ke(){var e=this;this._(dt).followCursorListener=function(t){var o=e._(dt).lastMouseMoveEvent=t,i=o.clientX,n=o.clientY;e.popperInstance&&(e.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:n,left:i,right:i,bottom:n}},clientWidth:0,clientHeight:0},e.popperInstance.scheduleUpdate())}}function Ce(){var e=this,t=function(){e.popper.style[r('transitionDuration')]=e.options.updateDuration+'ms'},o=function(){e.popper.style[r('transitionDuration')]=''};me(function i(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(i):o()})}function Se(e){var t=e.target,o=e.callback,i=e.options;if(window.MutationObserver){var n=new MutationObserver(o);n.observe(t,i),this._(dt).mutationObservers.push(n)}}function Pe(e,t){if(!e)return t();var o=d(this.popper),i=o.tooltip,n=function(e,t){t&&i[e+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',t)},r=function o(r){r.target===i&&(n('remove',o),t())};n('remove',this._(dt).transitionendListener),n('add',r),this._(dt).transitionendListener=r}function Ie(e,t){return e.reduce(function(e,o){var i=mt,n=l(o,t.performance?t:p(o,t)),r=o.getAttribute('title');if(!r&&!n.target&&!n.html&&!n.dynamicTitle)return e;o.setAttribute(n.target?'data-tippy-delegate':'data-tippy',''),c(o);var f=a(i,r,n),m=new ft({id:i,reference:o,popper:f,options:n,title:r,popperInstance:null});n.createPopperInstanceOnInit&&(m.popperInstance=Oe.call(m),m.popperInstance.disableEventListeners());var u=Le.call(m);return m.listeners=n.trigger.trim().split(' ').reduce(function(e,t){return e.concat(s(t,o,u,n))},[]),n.dynamicTitle&&Se.call(m,{target:o,callback:function(){var e=d(f),t=e.content,i=o.getAttribute('title');i&&(t[n.allowTitleHTML?'innerHTML':'textContent']=m.title=i,c(o))},options:{attributes:!0}}),o._tippy=m,f._tippy=m,f._reference=o,e.push(m),mt++,e},[])}function De(e){var t=o(document.querySelectorAll(Ye.POPPER));t.forEach(function(t){var o=t._tippy;if(o){var i=o.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&o.hide()}})}function Re(){var t=function(){Ue.usingTouch||(Ue.usingTouch=!0,Ue.iOS&&document.body.classList.add('tippy-touch'),Ue.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),Ue.onUserInputChange('touch'))},i=function(){var e;return function(){var t=performance.now();20>t-e&&(Ue.usingTouch=!1,document.removeEventListener('mousemove',i),!Ue.iOS&&document.body.classList.remove('tippy-touch'),Ue.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return De();var t=ue(e.target,Ye.REFERENCE),o=ue(e.target,Ye.POPPER);if(!(o&&o._reference._tippy.options.interactive)){if(t){var i=t._tippy.options;if(!i.multiple&&Ue.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return De(t._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}De()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,o=t.activeElement;o&&o.blur&&e.call(o,Ye.REFERENCE)&&o.blur()}),window.addEventListener('resize',function(){o(document.querySelectorAll(Ye.POPPER)).forEach(function(e){var t=e._tippy;t.options.livePlacement||t.popperInstance.scheduleUpdate()})}),!Ue.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function _e(e,o){return Ue.supported&&!ut&&(Re(),ut=!0),t(e)&&(e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,o){e.attributes[t]=o},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}),o=Xe({},Fe,o),{selector:e,options:o,tooltips:Ue.supported?Ie(n(e),o):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var He=Math.min,Ne=Math.floor,Me=Math.max,We='undefined'!=typeof window,Be=We&&/MSIE |Trident\//.test(navigator.userAgent),Ue={};We&&(Ue.supported='requestAnimationFrame'in window,Ue.supportsTouch='ontouchstart'in window,Ue.usingTouch=!1,Ue.dynamicInputDetection=!0,Ue.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Ue.onUserInputChange=function(){});for(var Ye={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},Fe={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},qe=Ue.supported&&Object.keys(Fe),ze=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},je=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,('value'in o)&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),Xe=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ke='undefined'!=typeof window&&'undefined'!=typeof document,Ve=['Edge','Trident','Firefox'],Ge=0,Qe=0;Qe<Ve.length;Qe+=1)if(Ke&&0<=navigator.userAgent.indexOf(Ve[Qe])){Ge=1;break}var i,Ze=Ke&&window.Promise,$e=Ze?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Ge))}},Je=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},et=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},tt=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),ot=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},it=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},nt=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],rt=nt.slice(3),at={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},st=function(){function e(t,o){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};et(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=$e(this.update.bind(this)),this.options=it({},e.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(it({},e.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=it({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return it({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&f(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return tt(e,[{key:'update',value:function(){return U.call(this)}},{key:'destroy',value:function(){return q.call(this)}},{key:'enableEventListeners',value:function(){return K.call(this)}},{key:'disableEventListeners',value:function(){return G.call(this)}}]),e}();st.Utils=('undefined'==typeof window?global:window).PopperUtils,st.placements=nt,st.Defaults={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],i=t.split('-')[1];if(i){var n=e.offsets,r=n.reference,a=n.popper,s=-1!==['bottom','top'].indexOf(o),p=s?'left':'top',l=s?'width':'height',d={start:ot({},p,r[p]),end:ot({},p,r[p]+r[l]-a[l])};e.offsets.popper=it({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var o,i=t.offset,n=e.placement,r=e.offsets,a=r.popper,s=r.reference,p=n.split('-')[0];return o=Q(+i)?[+i,0]:ie(i,a,s,p),'left'===p?(a.top+=o[0],a.left-=o[1]):'right'===p?(a.top+=o[0],a.left+=o[1]):'top'===p?(a.left+=o[0],a.top-=o[1]):'bottom'===p&&(a.left+=o[0],a.top+=o[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||g(e.instance.popper);e.instance.reference===o&&(o=g(o));var i=P(e.instance.popper,e.instance.reference,t.padding,o);t.boundaries=i;var n=t.priority,r=e.offsets.popper,a={primary:function(e){var o=r[e];return r[e]<i[e]&&!t.escapeWithReference&&(o=Me(r[e],i[e])),ot({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=r[o];return r[e]>i[e]&&!t.escapeWithReference&&(n=He(r[o],i[e]-('right'===e?r.width:r.height))),ot({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';r=it({},r,a[t](e))}),e.offsets.popper=r,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,i=t.reference,n=e.placement.split('-')[0],r=Ne,a=-1!==['top','bottom'].indexOf(n),s=a?'right':'bottom',p=a?'left':'top',l=a?'width':'height';return o[s]<r(i[p])&&(e.offsets.popper[p]=r(i[p])-o[l]),o[p]>r(i[s])&&(e.offsets.popper[p]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!J(e.instance.modifiers,'arrow','keepTogether'))return e;var i=t.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var n=e.placement.split('-')[0],r=e.offsets,a=r.popper,s=r.reference,p=-1!==['left','right'].indexOf(n),l=p?'height':'width',d=p?'Top':'Left',c=d.toLowerCase(),f=p?'left':'top',u=p?'bottom':'right',h=_(i)[l];s[u]-h<a[c]&&(e.offsets.popper[c]-=a[c]-(s[u]-h)),s[c]+h>a[u]&&(e.offsets.popper[c]+=s[c]+h-a[u]),e.offsets.popper=x(e.offsets.popper);var g=s[c]+s[l]/2-h/2,b=m(e.instance.popper),y=parseFloat(b['margin'+d],10),v=parseFloat(b['border'+d+'Width'],10),w=g-e.offsets.popper[c]-y-v;return w=Me(He(a[l]-h,w),0),e.arrowElement=i,e.offsets.arrow=(o={},ot(o,c,Math.round(w)),ot(o,f,''),o),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(Y(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),i=e.placement.split('-')[0],n=H(i),r=e.placement.split('-')[1]||'',a=[];switch(t.behavior){case at.FLIP:a=[i,n];break;case at.CLOCKWISE:a=te(i);break;case at.COUNTERCLOCKWISE:a=te(i,!0);break;default:a=t.behavior;}return a.forEach(function(s,p){if(i!==s||a.length===p+1)return e;i=e.placement.split('-')[0],n=H(i);var l=e.offsets.popper,d=e.offsets.reference,c=Ne,f='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),m=c(l.left)<c(o.left),u=c(l.right)>c(o.right),h=c(l.top)<c(o.top),g=c(l.bottom)>c(o.bottom),b='left'===i&&m||'right'===i&&u||'top'===i&&h||'bottom'===i&&g,y=-1!==['top','bottom'].indexOf(i),v=!!t.flipVariations&&(y&&'start'===r&&m||y&&'end'===r&&u||!y&&'start'===r&&h||!y&&'end'===r&&g);(f||b||v)&&(e.flipped=!0,(f||b)&&(i=a[p+1]),v&&(r=ee(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=it({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=B(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,a=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return n[a?'left':'top']=r[o]-(s?n[a?'width':'height']:0),e.placement=H(t),e.offsets.popper=x(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=M(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,i=t.y,n=e.offsets.popper,r=M(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var a,s,p=void 0===r?t.gpuAcceleration:r,l=g(e.instance.popper),d=A(l),c={position:n.position},f={left:Ne(n.left),top:Ne(n.top),bottom:Ne(n.bottom),right:Ne(n.right)},m='bottom'===o?'top':'bottom',u='right'===i?'left':'right',h=F('transform');if(s='bottom'==m?-d.height+f.bottom:f.top,a='right'==u?-d.width+f.right:f.left,p&&h)c[h]='translate3d('+a+'px, '+s+'px, 0)',c[m]=0,c[u]=0,c.willChange='transform';else{var b='bottom'==m?-1:1,y='right'==u?-1:1;c[m]=s*b,c[u]=a*y,c.willChange=m+', '+u}var v={"x-placement":e.placement};return e.attributes=it({},v,e.attributes),e.styles=it({},c,e.styles),e.arrowStyles=it({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return Z(e.instance.popper,e.styles),$(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,i,n){var r=R(n,t,e),a=D(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',a),Z(t,{position:'absolute'}),o},gpuAcceleration:void 0}}};var pt={};if(We){var lt=Element.prototype;pt=lt.matches||lt.matchesSelector||lt.webkitMatchesSelector||lt.mozMatchesSelector||lt.msMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),o=t.length;0<=--o&&t.item(o)!==this;);return-1<o}}var e=pt,dt={},ct=function(e){return function(t){return t===dt&&e}},ft=function(){function e(t){for(var o in ze(this,e),t)this[o]=t[o];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ct({mutationObservers:[]})}return je(e,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,a=d(o),s=a.tooltip,p=a.backdrop,l=a.content;return n.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(n.onShow.call(o,this),e=he(void 0===e?n.duration:e,0),be([o,s,p],0),o.style.visibility='visible',this.state.visible=!0,xe.call(this,function(){if(t.state.visible){if(ve.call(t)||t.popperInstance.scheduleUpdate(),ve.call(t)){t.popperInstance.disableEventListeners();var a=he(n.delay,0),d=t._(dt).lastTriggerEvent;d&&t._(dt).followCursorListener(a&&t._(dt).lastMouseMoveEvent?t._(dt).lastMouseMoveEvent:d)}be([s,p,p?l:null],e),p&&getComputedStyle(p)[r('transform')],n.interactive&&i.classList.add('tippy-active'),n.sticky&&Ce.call(t),ge([s,p],'visible'),Pe.call(t,e,function(){n.updateDuration||s.classList.add('tippy-notransition'),n.interactive&&ye(o),i.setAttribute('aria-describedby','tippy-'+t.id),n.onShown.call(o,t)})}})):void this.destroy()}}},{key:'hide',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,r=d(o),a=r.tooltip,s=r.backdrop,p=r.content;n.onHide.call(o,this),e=he(void 0===e?n.duration:e,1),n.updateDuration||a.classList.remove('tippy-notransition'),n.interactive&&i.classList.remove('tippy-active'),o.style.visibility='hidden',this.state.visible=!1,be([a,s,s?p:null],e),ge([a,s],'hidden'),n.interactive&&-1<n.trigger.indexOf('click')&&ye(i),me(function(){Pe.call(t,e,function(){t.state.visible||!n.appendTo.contains(o)||(!t._(dt).isPreparingToShow&&(document.removeEventListener('mousemove',t._(dt).followCursorListener),t._(dt).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),t.popperInstance.disableEventListeners(),n.appendTo.removeChild(o),n.onHidden.call(o,t))})})}}},{key:'destroy',value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:!0;if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(t){e.reference.removeEventListener(t.event,t.handler)}),this.reference.setAttribute('title',this.reference.getAttribute('data-original-title')),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(t){e.reference.removeAttribute(t)}),this.options.target&&t&&o(this.reference.querySelectorAll(this.options.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(dt).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}(),mt=1,ut=!1;return _e.browser=Ue,_e.defaults=Fe,_e.disableAnimations=function(){Fe.updateDuration=Fe.duration=0,Fe.animateFill=!1},_e}); | ||
(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){'use strict';function t(e){return'[object Object]'==={}.toString.call(e)}function o(e){return[].slice.call(e)}function n(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return o(e);if(Array.isArray(e))return e;try{return o(document.querySelectorAll(e))}catch(e){return[]}}function r(e){for(var t=['','webkit'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function s(e,t,o){var i=document.createElement('div');i.setAttribute('class','tippy-popper'),i.setAttribute('role','tooltip'),i.setAttribute('id','tippy-'+e),i.style.zIndex=o.zIndex,i.style.maxWidth=o.maxWidth;var n=document.createElement('div');if(n.setAttribute('class','tippy-tooltip'),n.setAttribute('data-size',o.size),n.setAttribute('data-animation',o.animation),n.setAttribute('data-state','hidden'),o.theme.split(' ').forEach(function(e){n.classList.add(e+'-theme')}),o.arrow){var s=document.createElement('div');s.style[r('transform')]=o.arrowTransform,'round'===o.arrowType?(s.classList.add('tippy-roundarrow'),s.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):s.classList.add('tippy-arrow'),n.appendChild(s)}if(o.animateFill){n.setAttribute('data-animatefill','');var a=document.createElement('div');a.setAttribute('data-state','hidden'),a.classList.add('tippy-backdrop'),n.appendChild(a)}o.inertia&&n.setAttribute('data-inertia',''),o.interactive&&n.setAttribute('data-interactive','');var p=document.createElement('div');p.setAttribute('class','tippy-content');var l=o.html;if(l){var d;l instanceof Element?(p.appendChild(l),d='#'+l.id||'tippy-html-template'):(p.innerHTML=document.querySelector(l).innerHTML,d=l),i.setAttribute('data-html',''),n.setAttribute('data-template-id',d),o.interactive&&i.setAttribute('tabindex','-1')}else p[o.allowTitleHTML?'innerHTML':'textContent']=t;return n.appendChild(p),i.appendChild(n),i}function a(e,t,o,i){var n=o.onTrigger,r=o.onMouseLeave,s=o.onBlur,a=o.onDelegateShow,p=o.onDelegateHide,l=[];if('manual'===e)return l;var d=function(e,o){t.addEventListener(e,o),l.push({event:e,handler:o})};return i.target?(Ye.supportsTouch&&i.touchHold&&(d('touchstart',a),d('touchend',p)),'mouseenter'===e&&(d('mouseover',a),d('mouseout',p)),'focus'===e&&(d('focusin',a),d('focusout',p)),'click'===e&&d('click',a)):(d(e,n),Ye.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',r)),'mouseenter'===e&&d('mouseleave',r),'focus'===e&&d(Fe?'focusout':'blur',s)),l}function p(e,t){var o=je.reduce(function(o,i){var n=e.getAttribute('data-tippy-'+i.toLowerCase())||t[i];return'false'===n&&(n=!1),'true'===n&&(n=!0),isFinite(n)&&!isNaN(parseFloat(n))&&(n=parseFloat(n)),'target'!==i&&'string'==typeof n&&'['===n.trim().charAt(0)&&(n=JSON.parse(n)),o[i]=n,o},{});return Ve({},t,o)}function l(e,t){return t.arrow&&(t.animateFill=!1),t.appendTo&&'function'==typeof t.appendTo&&(t.appendTo=t.appendTo()),'function'==typeof t.html&&(t.html=t.html(e)),t}function d(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(qe.TOOLTIP),backdrop:t(qe.BACKDROP),content:t(qe.CONTENT),arrow:t(qe.ARROW)||t(qe.ROUND_ARROW)}}function c(e){var t=e.getAttribute('title');t&&e.setAttribute('data-original-title',t),e.removeAttribute('title')}function f(e){return e&&'[object Function]'==={}.toString.call(e)}function m(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function u(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function h(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=m(e),o=t.overflow,i=t.overflowX,n=t.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:h(u(e))}function g(e){if(!e)return document.documentElement;for(var t=tt(10)?document.body:null,o=e.offsetParent;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===m(o,'position')?g(o):o:e?e.ownerDocument.documentElement:document.documentElement}function b(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||g(e.firstElementChild)===e)}function y(e){return null===e.parentNode?e:y(e.parentNode)}function v(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(n,0);var s=r.commonAncestorContainer;if(e!==s&&t!==s||i.contains(n))return b(s)?s:g(s);var a=y(e);return a.host?v(a.host,t):v(e,y(t).host)}function w(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',i=e.nodeName;if('BODY'===i||'HTML'===i){var n=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||n;return r[o]}return e[o]}function E(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=w(t,'top'),n=w(t,'left'),r=o?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=n*r,e.right+=n*r,e}function T(e,t){var o='x'===t?'Left':'Top',i='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+i+'Width'],10)}function O(e,t,o,i){return Be(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],tt(10)?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function L(){var e=document.body,t=document.documentElement,o=tt(10)&&getComputedStyle(t);return{height:O('Height',e,t,o),width:O('Width',e,t,o)}}function x(e){return rt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function A(e){var t={};try{if(tt(10)){t=e.getBoundingClientRect();var o=w(e,'top'),i=w(e,'left');t.top+=o,t.left+=i,t.bottom+=o,t.right+=i}else t=e.getBoundingClientRect()}catch(t){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r='HTML'===e.nodeName?L():{},s=r.width||e.clientWidth||n.right-n.left,a=r.height||e.clientHeight||n.bottom-n.top,p=e.offsetWidth-s,l=e.offsetHeight-a;if(p||l){var d=m(e);p-=T(d,'x'),l-=T(d,'y'),n.width-=p,n.height-=l}return x(n)}function k(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=tt(10),n='HTML'===t.nodeName,r=A(e),s=A(t),a=h(e),p=m(t),l=parseFloat(p.borderTopWidth,10),d=parseFloat(p.borderLeftWidth,10);o&&'HTML'===t.nodeName&&(s.top=Be(s.top,0),s.left=Be(s.left,0));var c=x({top:r.top-s.top-l,left:r.left-s.left-d,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!i&&n){var f=parseFloat(p.marginTop,10),u=parseFloat(p.marginLeft,10);c.top-=l-f,c.bottom-=l-f,c.left-=d-u,c.right-=d-u,c.marginTop=f,c.marginLeft=u}return(i&&!o?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(c=E(c,t)),c}function C(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,i=k(e,o),n=Be(o.clientWidth,window.innerWidth||0),r=Be(o.clientHeight,window.innerHeight||0),s=t?0:w(o),a=t?0:w(o,'left'),p={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:r};return x(p)}function S(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&('fixed'===m(e,'position')||S(u(e)))}function P(e){if(!e||!e.parentElement||tt())return document.documentElement;for(var t=e.parentElement;t&&'none'===m(t,'transform');)t=t.parentElement;return t||document.documentElement}function I(e,t,o,i){var n=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],r={top:0,left:0},s=n?P(e):v(e,t);if('viewport'===i)r=C(s,n);else{var a;'scrollParent'===i?(a=h(u(t)),'BODY'===a.nodeName&&(a=e.ownerDocument.documentElement)):'window'===i?a=e.ownerDocument.documentElement:a=i;var p=k(a,s,n);if('HTML'===a.nodeName&&!S(s)){var l=L(),d=l.height,c=l.width;r.top+=p.top-p.marginTop,r.bottom=d+p.top,r.left+=p.left-p.marginLeft,r.right=c+p.left}else r=p}return r.left+=o,r.top+=o,r.right-=o,r.bottom-=o,r}function D(e){var t=e.width,o=e.height;return t*o}function R(e,t,o,i,n){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var s=I(o,i,r,n),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},p=Object.keys(a).map(function(e){return rt({key:e},a[e],{area:D(a[e])})}).sort(function(e,t){return t.area-e.area}),l=p.filter(function(e){var t=e.width,i=e.height;return t>=o.clientWidth&&i>=o.clientHeight}),d=0<l.length?l[0].key:p[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function _(e,t,o){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,n=i?P(t):v(t,o);return k(o,n,i)}function H(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),n={width:e.offsetWidth+i,height:e.offsetHeight+o};return n}function N(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function M(e,t,o){o=o.split('-')[0];var i=H(e),n={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(o),s=r?'top':'left',a=r?'left':'top',p=r?'height':'width',l=r?'width':'height';return n[s]=t[s]+t[p]/2-i[p]/2,n[a]=o===a?t[a]-i[l]:t[N(a)],n}function W(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function B(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var i=W(e,function(e){return e[t]===o});return e.indexOf(i)}function U(e,t,o){var i=void 0===o?e:e.slice(0,B(e,'name',o));return i.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&f(o)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=o(t,e))}),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=R(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=M(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Y(e,t){return e.some(function(e){var o=e.name,i=e.enabled;return i&&o===t})}function q(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function z(){return this.state.isDestroyed=!0,Y(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[q('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function j(e){var t=e.ownerDocument;return t?t.defaultView:window}function X(e,t,o,i){var n='BODY'===e.nodeName,r=n?e.ownerDocument.defaultView:e;r.addEventListener(t,o,{passive:!0}),n||X(h(r.parentNode),t,o,i),i.push(r)}function K(e,t,o,i){o.updateBound=i,j(e).addEventListener('resize',o.updateBound,{passive:!0});var n=h(e);return X(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function V(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function G(e,t){return j(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}function Z(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach(function(o){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Z(t[o])&&(i='px'),e.style[o]=t[o]+i})}function J(e,t){Object.keys(t).forEach(function(o){var i=t[o];!1===i?e.removeAttribute(o):e.setAttribute(o,t[o])})}function ee(e,t,o){var i=W(e,function(e){var o=e.name;return o===t}),n=!!i&&e.some(function(e){return e.name===o&&e.enabled&&e.order<i.order});if(!n){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return n}function te(e){return'end'===e?'start':'start'===e?'end':e}function oe(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=at.indexOf(e),i=at.slice(o+1).concat(at.slice(0,o));return t?i.reverse():i}function ie(e,t,o,i){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],s=n[2];if(!r)return e;if(0===s.indexOf('%')){var a;switch(s){case'%p':a=o;break;case'%':case'%r':default:a=i;}var p=x(a);return p[t]/100*r}if('vh'===s||'vw'===s){var l;return l='vh'===s?Be(document.documentElement.clientHeight,window.innerHeight||0):Be(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function ne(e,t,o,i){var n=[0,0],r=-1!==['right','left'].indexOf(i),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(W(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var p=/\s*,\s*|\s+/,l=-1===a?[s]:[s.slice(0,a).concat([s[a].split(p)[0]]),[s[a].split(p)[1]].concat(s.slice(a+1))];return l=l.map(function(e,i){var n=(1===i?!r:r)?'height':'width',s=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return ie(e,n,t,o)})}),l.forEach(function(e,t){e.forEach(function(o,i){Z(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function re(e,t){var o,i=t.offset,n=e.placement,r=e.offsets,s=r.popper,a=r.reference,p=n.split('-')[0];return o=Z(+i)?[+i,0]:ne(i,s,a,p),'left'===p?(s.top+=o[0],s.left-=o[1]):'right'===p?(s.top+=o[0],s.left+=o[1]):'top'===p?(s.left+=o[0],s.top-=o[1]):'bottom'===p&&(s.left+=o[0],s.top+=o[1]),e.popper=s,e}function se(e){var t=e.style;t[r('transform')]=null,t.top=null,t.left=null}function ae(e){void e.offsetHeight}function pe(e,t,o){var i=e.popper,n=e.options,r=n.onCreate,s=n.onUpdate;n.onCreate=n.onUpdate=function(){ae(i),t&&t(),s(),n.onCreate=r,n.onUpdate=s},o||e.scheduleUpdate()}function le(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function de(e,t,o){if(!t.getAttribute('x-placement'))return!0;var i=e.clientX,n=e.clientY,r=o.interactiveBorder,s=o.distance,a=t.getBoundingClientRect(),p=le(t),l=r+s,d={top:a.top-n>r,bottom:n-a.bottom>r,left:a.left-i>r,right:i-a.right>r};return'top'===p?d.top=a.top-n>l:'bottom'===p?d.bottom=n-a.bottom>l:'left'===p?d.left=a.left-i>l:'right'===p?d.right=i-a.right>l:void 0,d.top||d.bottom||d.left||d.right}function ce(e,t,o,i){if(!t.length)return'';var n={scale:function(){return 1===t.length?''+t[0]:o?t[0]+', '+t[1]:t[1]+', '+t[0]}(),translate:function(){return 1===t.length?i?-t[0]+'px':t[0]+'px':o?i?t[0]+'px, '+-t[1]+'px':t[0]+'px, '+t[1]+'px':i?-t[1]+'px, '+t[0]+'px':t[1]+'px, '+t[0]+'px'}()};return n[e]}function fe(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function me(e,t,o){var i=le(e),n='top'===i||'bottom'===i,s='right'===i||'bottom'===i,a=function(e){var t=o.match(e);return t?t[1]:''},p=function(e){var t=o.match(e);return t?t[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:a(/translate([XY])/),numbers:p(l.translate)},scale:{axis:a(/scale([XY])/),numbers:p(l.scale)}},c=o.replace(l.translate,'translate'+fe(d.translate.axis,n)+'('+ce('translate',d.translate.numbers,n,s)+')').replace(l.scale,'scale'+fe(d.scale.axis,n)+'('+ce('scale',d.scale.numbers,n,s)+')');t.style[r('transform')]=c}function ue(e){return-(e-ze.distance)+'px'}function he(e){requestAnimationFrame(function(){setTimeout(e,1)})}function ge(t,o){var i=Element.prototype.closest||function(t){for(var o=this;o;){if(e.call(o,t))return o;o=o.parentElement}};return i.call(t,o)}function be(e,t){return Array.isArray(e)?e[t]:e}function ye(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function ve(e,t){e.filter(Boolean).forEach(function(e){e.style[r('transitionDuration')]=t+'ms'})}function we(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function Ee(){var e=this._(ft).lastTriggerEvent;return this.options.followCursor&&!Ye.usingTouch&&e&&'focus'!==e.type}function Te(e){var t=ge(e.target,this.options.target);if(t&&!t._tippy){var o=t.getAttribute('title')||this.title;o&&(t.setAttribute('title',o),Ne(t,Ve({},this.options,{target:null})),Oe.call(t._tippy,e))}}function Oe(e){var t=this,o=this.options;if(Ce.call(this),!this.state.visible){if(o.target)return void Te.call(this,e);if(this._(ft).isPreparingToShow=!0,o.wait)return void o.wait.call(this.popper,this.show.bind(this),e);if(Ee.call(this)){this._(ft).followCursorListener||Se.call(this);var i=d(this.popper),n=i.arrow;n&&(n.style.margin='0'),document.addEventListener('mousemove',this._(ft).followCursorListener)}var r=be(o.delay,0);r?this._(ft).showTimeout=setTimeout(function(){t.show()},r):this.show()}}function Le(){var e=this;if(Ce.call(this),!!this.state.visible){this._(ft).isPreparingToShow=!1;var t=be(this.options.delay,1);t?this._(ft).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function xe(){var e=this;return{onTrigger:function(t){if(e.state.enabled){var o=Ye.supportsTouch&&Ye.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(t.type);o&&e.options.touchHold||(e._(ft).lastTriggerEvent=t,'click'===t.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?Le.call(e):Oe.call(e,t),o&&Ye.iOS&&e.reference.click&&e.reference.click())}},onMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&Ye.supportsTouch&&Ye.usingTouch&&e.options.touchHold)){if(e.options.interactive){var o=Le.bind(e),i=function t(i){var n=ge(i.target,qe.REFERENCE),r=ge(i.target,qe.POPPER)===e.popper,s=n===e.reference;r||s||de(i,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',o),document.removeEventListener('mousemove',t),Le.call(e,t))};return document.body.addEventListener('mouseleave',o),void document.addEventListener('mousemove',i)}Le.call(e)}},onBlur:function(t){if(!(t.target!==e.reference||Ye.usingTouch)){if(e.options.interactive){if(!t.relatedTarget)return;if(ge(t.relatedTarget,qe.POPPER))return}Le.call(e)}},onDelegateShow:function(t){ge(t.target,e.options.target)&&Oe.call(e,t)},onDelegateHide:function(t){ge(t.target,e.options.target)&&Le.call(e)}}}function Ae(){var e=this,t=this.popper,o=this.reference,i=this.options,n=d(t),r=n.tooltip,s=i.popperOptions,a='round'===i.arrowType?qe.ROUND_ARROW:qe.ARROW,p=r.querySelector(a),l=Ve({placement:i.placement},s||{},{modifiers:Ve({},s?s.modifiers:{},{arrow:Ve({element:a},s&&s.modifiers?s.modifiers.arrow:{}),flip:Ve({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},s&&s.modifiers?s.modifiers.flip:{}),offset:Ve({offset:i.offset},s&&s.modifiers?s.modifiers.offset:{})}),onCreate:function(){r.style[le(t)]=ue(i.distance),p&&i.arrowTransform&&me(t,p,i.arrowTransform)},onUpdate:function(){var e=r.style;e.top='',e.bottom='',e.left='',e.right='',e[le(t)]=ue(i.distance),p&&i.arrowTransform&&me(t,p,i.arrowTransform)}});return Ie.call(this,{target:t,callback:function(){e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new lt(o,t,l)}function ke(e){var t=this.options;if(this.popperInstance?(se(this.popper),this.popperInstance.scheduleUpdate(),t.livePlacement&&!Ee.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Ae.call(this),!t.livePlacement&&this.popperInstance.disableEventListeners()),!Ee.call(this)){var o=d(this.popper),i=o.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}pe(this.popperInstance,e,!0),t.appendTo.contains(this.popper)||t.appendTo.appendChild(this.popper)}function Ce(){var e=this._(ft),t=e.showTimeout,o=e.hideTimeout;clearTimeout(t),clearTimeout(o)}function Se(){var e=this;this._(ft).followCursorListener=function(t){var o=e._(ft).lastMouseMoveEvent=t,i=o.clientX,n=o.clientY;e.popperInstance&&(e.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:n,left:i,right:i,bottom:n}},clientWidth:0,clientHeight:0},e.popperInstance.scheduleUpdate())}}function Pe(){var e=this,t=function(){e.popper.style[r('transitionDuration')]=e.options.updateDuration+'ms'},o=function(){e.popper.style[r('transitionDuration')]=''};he(function i(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(i):o()})}function Ie(e){var t=e.target,o=e.callback,i=e.options;if(window.MutationObserver){var n=new MutationObserver(o);n.observe(t,i),this._(ft).mutationObservers.push(n)}}function De(e,t){if(!e)return t();var o=d(this.popper),i=o.tooltip,n=function(e,t){t&&i[e+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',t)},r=function o(r){r.target===i&&(n('remove',o),t())};n('remove',this._(ft).transitionendListener),n('add',r),this._(ft).transitionendListener=r}function Re(e,t){return e.reduce(function(e,o){var i=ht,n=l(o,t.performance?t:p(o,t)),r=o.getAttribute('title');if(!r&&!n.target&&!n.html&&!n.dynamicTitle)return e;o.setAttribute(n.target?'data-tippy-delegate':'data-tippy',''),c(o);var f=s(i,r,n),m=new ut({id:i,reference:o,popper:f,options:n,title:r,popperInstance:null});n.createPopperInstanceOnInit&&(m.popperInstance=Ae.call(m),m.popperInstance.disableEventListeners());var u=xe.call(m);return m.listeners=n.trigger.trim().split(' ').reduce(function(e,t){return e.concat(a(t,o,u,n))},[]),n.dynamicTitle&&Ie.call(m,{target:o,callback:function(){var e=d(f),t=e.content,i=o.getAttribute('title');i&&(t[n.allowTitleHTML?'innerHTML':'textContent']=m.title=i,c(o))},options:{attributes:!0}}),o._tippy=m,f._tippy=m,f._reference=o,e.push(m),ht++,e},[])}function _e(e){var t=o(document.querySelectorAll(qe.POPPER));t.forEach(function(t){var o=t._tippy;if(o){var i=o.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&o.hide()}})}function He(){var t=function(){Ye.usingTouch||(Ye.usingTouch=!0,Ye.iOS&&document.body.classList.add('tippy-touch'),Ye.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),Ye.onUserInputChange('touch'))},i=function(){var e;return function(){var t=performance.now();20>t-e&&(Ye.usingTouch=!1,document.removeEventListener('mousemove',i),!Ye.iOS&&document.body.classList.remove('tippy-touch'),Ye.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return _e();var t=ge(e.target,qe.REFERENCE),o=ge(e.target,qe.POPPER);if(!(o&&o._reference._tippy.options.interactive)){if(t){var i=t._tippy.options;if(!i.multiple&&Ye.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return _e(t._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}_e()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,o=t.activeElement;o&&o.blur&&e.call(o,qe.REFERENCE)&&o.blur()}),window.addEventListener('resize',function(){o(document.querySelectorAll(qe.POPPER)).forEach(function(e){var t=e._tippy;t.options.livePlacement||t.popperInstance.scheduleUpdate()})}),!Ye.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Ne(e,o){return Ye.supported&&!gt&&(He(),gt=!0),t(e)&&(e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,o){e.attributes[t]=o},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}),o=Ve({},ze,o),{selector:e,options:o,tooltips:Ye.supported?Re(n(e),o):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var Me=Math.min,We=Math.floor,Be=Math.max,Ue='undefined'!=typeof window,Fe=Ue&&/MSIE |Trident\//.test(navigator.userAgent),Ye={};Ue&&(Ye.supported='requestAnimationFrame'in window,Ye.supportsTouch='ontouchstart'in window,Ye.usingTouch=!1,Ye.dynamicInputDetection=!0,Ye.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Ye.onUserInputChange=function(){});for(var qe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},ze={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},je=Ye.supported&&Object.keys(ze),Xe=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ke=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,('value'in o)&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),Ve=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ge='undefined'!=typeof window&&'undefined'!=typeof document,Qe=['Edge','Trident','Firefox'],Ze=0,$e=0;$e<Qe.length;$e+=1)if(Ge&&0<=navigator.userAgent.indexOf(Qe[$e])){Ze=1;break}var i=Ge&&window.Promise,Je=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Ze))}},et={},tt=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'all';return(e=e.toString(),et.hasOwnProperty(e))?et[e]:('11'===e?et[e]=-1!==navigator.userAgent.indexOf('Trident'):'10'===e?et[e]=-1!==navigator.appVersion.indexOf('MSIE 10'):'all'===e?et[e]=-1!==navigator.userAgent.indexOf('Trident')||-1!==navigator.userAgent.indexOf('MSIE'):void 0,et.all=et.all||Object.keys(et).some(function(e){return et[e]}),et[e])},ot=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},it=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),nt=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},rt=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},st=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],at=st.slice(3),pt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},lt=function(){function e(t,o){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ot(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Je(this.update.bind(this)),this.options=rt({},e.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(rt({},e.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=rt({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return rt({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&f(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return it(e,[{key:'update',value:function(){return F.call(this)}},{key:'destroy',value:function(){return z.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return Q.call(this)}}]),e}();lt.Utils=('undefined'==typeof window?global:window).PopperUtils,lt.placements=st,lt.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],i=t.split('-')[1];if(i){var n=e.offsets,r=n.reference,s=n.popper,a=-1!==['bottom','top'].indexOf(o),p=a?'left':'top',l=a?'width':'height',d={start:nt({},p,r[p]),end:nt({},p,r[p]+r[l]-s[l])};e.offsets.popper=rt({},s,d[i])}return e}},offset:{order:200,enabled:!0,fn:re,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||g(e.instance.popper);e.instance.reference===o&&(o=g(o));var i=I(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);t.boundaries=i;var n=t.priority,r=e.offsets.popper,s={primary:function(e){var o=r[e];return r[e]<i[e]&&!t.escapeWithReference&&(o=Be(r[e],i[e])),nt({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=r[o];return r[e]>i[e]&&!t.escapeWithReference&&(n=Me(r[o],i[e]-('right'===e?r.width:r.height))),nt({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';r=rt({},r,s[t](e))}),e.offsets.popper=r,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,i=t.reference,n=e.placement.split('-')[0],r=We,s=-1!==['top','bottom'].indexOf(n),a=s?'right':'bottom',p=s?'left':'top',l=s?'width':'height';return o[a]<r(i[p])&&(e.offsets.popper[p]=r(i[p])-o[l]),o[p]>r(i[a])&&(e.offsets.popper[p]=r(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!ee(e.instance.modifiers,'arrow','keepTogether'))return e;var i=t.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var n=e.placement.split('-')[0],r=e.offsets,s=r.popper,a=r.reference,p=-1!==['left','right'].indexOf(n),l=p?'height':'width',d=p?'Top':'Left',c=d.toLowerCase(),f=p?'left':'top',u=p?'bottom':'right',h=H(i)[l];a[u]-h<s[c]&&(e.offsets.popper[c]-=s[c]-(a[u]-h)),a[c]+h>s[u]&&(e.offsets.popper[c]+=a[c]+h-s[u]),e.offsets.popper=x(e.offsets.popper);var g=a[c]+a[l]/2-h/2,b=m(e.instance.popper),y=parseFloat(b['margin'+d],10),v=parseFloat(b['border'+d+'Width'],10),w=g-e.offsets.popper[c]-y-v;return w=Be(Me(s[l]-h,w),0),e.arrowElement=i,e.offsets.arrow=(o={},nt(o,c,Math.round(w)),nt(o,f,''),o),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(Y(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split('-')[0],n=N(i),r=e.placement.split('-')[1]||'',s=[];switch(t.behavior){case pt.FLIP:s=[i,n];break;case pt.CLOCKWISE:s=oe(i);break;case pt.COUNTERCLOCKWISE:s=oe(i,!0);break;default:s=t.behavior;}return s.forEach(function(a,p){if(i!==a||s.length===p+1)return e;i=e.placement.split('-')[0],n=N(i);var l=e.offsets.popper,d=e.offsets.reference,c=We,f='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),m=c(l.left)<c(o.left),u=c(l.right)>c(o.right),h=c(l.top)<c(o.top),g=c(l.bottom)>c(o.bottom),b='left'===i&&m||'right'===i&&u||'top'===i&&h||'bottom'===i&&g,y=-1!==['top','bottom'].indexOf(i),v=!!t.flipVariations&&(y&&'start'===r&&m||y&&'end'===r&&u||!y&&'start'===r&&h||!y&&'end'===r&&g);(f||b||v)&&(e.flipped=!0,(f||b)&&(i=s[p+1]),v&&(r=te(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=rt({},e.offsets.popper,M(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,s=-1!==['left','right'].indexOf(o),a=-1===['top','left'].indexOf(o);return n[s?'left':'top']=r[o]-(a?n[s?'width':'height']:0),e.placement=N(t),e.offsets.popper=x(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ee(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=W(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,i=t.y,n=e.offsets.popper,r=W(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,a,p=void 0===r?t.gpuAcceleration:r,l=g(e.instance.popper),d=A(l),c={position:n.position},f={left:We(n.left),top:We(n.top),bottom:We(n.bottom),right:We(n.right)},m='bottom'===o?'top':'bottom',u='right'===i?'left':'right',h=q('transform');if(a='bottom'==m?-d.height+f.bottom:f.top,s='right'==u?-d.width+f.right:f.left,p&&h)c[h]='translate3d('+s+'px, '+a+'px, 0)',c[m]=0,c[u]=0,c.willChange='transform';else{var b='bottom'==m?-1:1,y='right'==u?-1:1;c[m]=a*b,c[u]=s*y,c.willChange=m+', '+u}var v={"x-placement":e.placement};return e.attributes=rt({},v,e.attributes),e.styles=rt({},c,e.styles),e.arrowStyles=rt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return $(e.instance.popper,e.styles),J(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&$(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,i,n){var r=_(n,t,e,o.positionFixed),s=R(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',s),$(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var dt={};if(Ue){var ct=Element.prototype;dt=ct.matches||ct.matchesSelector||ct.webkitMatchesSelector||ct.mozMatchesSelector||ct.msMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),o=t.length;0<=--o&&t.item(o)!==this;);return-1<o}}var e=dt,ft={},mt=function(e){return function(t){return t===ft&&e}},ut=function(){function e(t){for(var o in Xe(this,e),t)this[o]=t[o];this.state={destroyed:!1,visible:!1,enabled:!0},this._=mt({mutationObservers:[]})}return Ke(e,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,s=d(o),a=s.tooltip,p=s.backdrop,l=s.content;return n.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(n.onShow.call(o,this),e=be(void 0===e?n.duration:e,0),ve([o,a,p],0),o.style.visibility='visible',this.state.visible=!0,ke.call(this,function(){if(t.state.visible){if(Ee.call(t)||t.popperInstance.scheduleUpdate(),Ee.call(t)){t.popperInstance.disableEventListeners();var s=be(n.delay,0),d=t._(ft).lastTriggerEvent;d&&t._(ft).followCursorListener(s&&t._(ft).lastMouseMoveEvent?t._(ft).lastMouseMoveEvent:d)}ve([a,p,p?l:null],e),p&&getComputedStyle(p)[r('transform')],n.interactive&&i.classList.add('tippy-active'),n.sticky&&Pe.call(t),ye([a,p],'visible'),De.call(t,e,function(){n.updateDuration||a.classList.add('tippy-notransition'),n.interactive&&we(o),i.setAttribute('aria-describedby','tippy-'+t.id),n.onShown.call(o,t)})}})):void this.destroy()}}},{key:'hide',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,r=d(o),s=r.tooltip,a=r.backdrop,p=r.content;n.onHide.call(o,this),e=be(void 0===e?n.duration:e,1),n.updateDuration||s.classList.remove('tippy-notransition'),n.interactive&&i.classList.remove('tippy-active'),o.style.visibility='hidden',this.state.visible=!1,ve([s,a,a?p:null],e),ye([s,a],'hidden'),n.interactive&&-1<n.trigger.indexOf('click')&&we(i),he(function(){De.call(t,e,function(){t.state.visible||!n.appendTo.contains(o)||(!t._(ft).isPreparingToShow&&(document.removeEventListener('mousemove',t._(ft).followCursorListener),t._(ft).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),t.popperInstance.disableEventListeners(),n.appendTo.removeChild(o),n.onHidden.call(o,t))})})}}},{key:'destroy',value:function(){var e=this,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(t){e.reference.removeEventListener(t.event,t.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(t){e.reference.removeAttribute(t)}),this.options.target&&t&&o(this.reference.querySelectorAll(this.options.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(ft).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}(),ht=1,gt=!1;return Ne.version='2.4.0',Ne.browser=Ye,Ne.defaults=ze,Ne.disableAnimations=function(){ze.updateDuration=ze.duration=0,ze.animateFill=!1},Ne}); |
@@ -0,1 +1,6 @@ | ||
/*! | ||
* Tippy.js v2.4.0 | ||
* (c) 2017-2018 atomiks | ||
* MIT | ||
*/ | ||
(function (global, factory) { | ||
@@ -9,2 +14,4 @@ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('popper.js')) : | ||
var version = "2.4.0"; | ||
var isBrowser = typeof window !== 'undefined'; | ||
@@ -36,7 +43,5 @@ | ||
REFERENCE: '[data-tippy]' | ||
}; | ||
/** | ||
* The default options applied to each instance | ||
*/ | ||
};var defaults = { | ||
var defaults = { | ||
placement: 'top', | ||
@@ -97,3 +102,3 @@ livePlacement: true, | ||
function isObjectLiteral(value) { | ||
return Object.prototype.toString.call(value) === '[object Object]'; | ||
return {}.toString.call(value) === '[object Object]'; | ||
} | ||
@@ -163,17 +168,2 @@ | ||
function createPopperElement(id, title, options) { | ||
var arrow = options.arrow, | ||
arrowType = options.arrowType, | ||
arrowTransform = options.arrowTransform, | ||
animateFill = options.animateFill, | ||
inertia = options.inertia, | ||
animation = options.animation, | ||
size = options.size, | ||
theme = options.theme, | ||
html = options.html, | ||
zIndex = options.zIndex, | ||
interactive = options.interactive, | ||
maxWidth = options.maxWidth, | ||
allowTitleHTML = options.allowTitleHTML; | ||
var popper = document.createElement('div'); | ||
@@ -183,30 +173,30 @@ popper.setAttribute('class', 'tippy-popper'); | ||
popper.setAttribute('id', 'tippy-' + id); | ||
popper.style.zIndex = zIndex; | ||
popper.style.maxWidth = maxWidth; | ||
popper.style.zIndex = options.zIndex; | ||
popper.style.maxWidth = options.maxWidth; | ||
var tooltip = document.createElement('div'); | ||
tooltip.setAttribute('class', 'tippy-tooltip'); | ||
tooltip.setAttribute('data-size', size); | ||
tooltip.setAttribute('data-animation', animation); | ||
tooltip.setAttribute('data-size', options.size); | ||
tooltip.setAttribute('data-animation', options.animation); | ||
tooltip.setAttribute('data-state', 'hidden'); | ||
theme.split(' ').forEach(function (t) { | ||
options.theme.split(' ').forEach(function (t) { | ||
tooltip.classList.add(t + '-theme'); | ||
}); | ||
if (arrow) { | ||
var _arrow = document.createElement('div'); | ||
_arrow.style[prefix('transform')] = arrowTransform; | ||
if (options.arrow) { | ||
var arrow = document.createElement('div'); | ||
arrow.style[prefix('transform')] = options.arrowTransform; | ||
if (arrowType === 'round') { | ||
_arrow.classList.add('tippy-roundarrow'); | ||
_arrow.innerHTML = '<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'; | ||
if (options.arrowType === 'round') { | ||
arrow.classList.add('tippy-roundarrow'); | ||
arrow.innerHTML = '<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'; | ||
} else { | ||
_arrow.classList.add('tippy-arrow'); | ||
arrow.classList.add('tippy-arrow'); | ||
} | ||
tooltip.appendChild(_arrow); | ||
tooltip.appendChild(arrow); | ||
} | ||
if (animateFill) { | ||
if (options.animateFill) { | ||
// Create animateFill circle element for animation | ||
@@ -220,3 +210,3 @@ tooltip.setAttribute('data-animatefill', ''); | ||
if (inertia) { | ||
if (options.inertia) { | ||
// Change transition timing function cubic bezier | ||
@@ -226,3 +216,3 @@ tooltip.setAttribute('data-inertia', ''); | ||
if (interactive) { | ||
if (options.interactive) { | ||
tooltip.setAttribute('data-interactive', ''); | ||
@@ -234,2 +224,3 @@ } | ||
var html = options.html; | ||
if (html) { | ||
@@ -248,6 +239,9 @@ var templateId = void 0; | ||
popper.setAttribute('data-html', ''); | ||
interactive && popper.setAttribute('tabindex', '-1'); | ||
tooltip.setAttribute('data-template-id', templateId); | ||
if (options.interactive) { | ||
popper.setAttribute('tabindex', '-1'); | ||
} | ||
} else { | ||
content[allowTitleHTML ? 'innerHTML' : 'textContent'] = title; | ||
content[options.allowTitleHTML ? 'innerHTML' : 'textContent'] = title; | ||
} | ||
@@ -983,3 +977,5 @@ | ||
// Restore title | ||
this.reference.setAttribute('title', this.reference.getAttribute('data-original-title')); | ||
if (this.title) { | ||
this.reference.setAttribute('title', this.title); | ||
} | ||
@@ -1123,4 +1119,5 @@ delete this.reference._tippy; | ||
this._(key).hideTimeout = setTimeout(function () { | ||
if (!_this5.state.visible) return; | ||
_this5.hide(); | ||
if (_this5.state.visible) { | ||
_this5.hide(); | ||
} | ||
}, delay); | ||
@@ -1169,3 +1166,2 @@ } else { | ||
// Temporarily handle mousemove to check if the mouse left somewhere other than the popper | ||
var onMouseMove = function onMouseMove(event) { | ||
@@ -1182,5 +1178,6 @@ var referenceCursorIsOver = closest(event.target, selectors.REFERENCE); | ||
_leave.call(_this6); | ||
_leave.call(_this6, onMouseMove); | ||
} | ||
}; | ||
document.body.addEventListener('mouseleave', hide); | ||
@@ -1195,5 +1192,9 @@ document.addEventListener('mousemove', onMouseMove); | ||
var onBlur = function onBlur(event) { | ||
if (event.target !== _this6.reference || !event.relatedTarget || browser.usingTouch) return; | ||
if (closest(event.relatedTarget, selectors.POPPER)) return; | ||
if (event.target !== _this6.reference || browser.usingTouch) return; | ||
if (_this6.options.interactive) { | ||
if (!event.relatedTarget) return; | ||
if (closest(event.relatedTarget, selectors.POPPER)) return; | ||
} | ||
_leave.call(_this6); | ||
@@ -1730,2 +1731,3 @@ }; | ||
tippy$1.version = version; | ||
tippy$1.browser = browser; | ||
@@ -1732,0 +1734,0 @@ tippy$1.defaults = defaults; |
@@ -1,1 +0,1 @@ | ||
(function(a,b){'object'==typeof exports&&'undefined'!=typeof module?module.exports=b(require('popper.js')):'function'==typeof define&&define.amd?define(['popper.js'],b):a.tippy=b(a.Popper)})(this,function(a){'use strict';function b(a){return'[object Object]'===Object.prototype.toString.call(a)}function c(a){return[].slice.call(a)}function d(a){if(a instanceof Element||b(a))return[a];if(a instanceof NodeList)return c(a);if(Array.isArray(a))return a;try{return c(document.querySelectorAll(a))}catch(a){return[]}}function f(a){for(var b=['','webkit'],c=a.charAt(0).toUpperCase()+a.slice(1),d=0;d<b.length;d++){var e=b[d],f=e?e+c:a;if('undefined'!=typeof document.body.style[f])return f}return null}function g(a,b,c){var d=c.arrow,e=c.arrowType,g=c.arrowTransform,h=c.animateFill,i=c.inertia,j=c.animation,k=c.size,l=c.theme,m=c.html,n=c.zIndex,o=c.interactive,p=c.maxWidth,q=c.allowTitleHTML,r=document.createElement('div');r.setAttribute('class','tippy-popper'),r.setAttribute('role','tooltip'),r.setAttribute('id','tippy-'+a),r.style.zIndex=n,r.style.maxWidth=p;var s=document.createElement('div');if(s.setAttribute('class','tippy-tooltip'),s.setAttribute('data-size',k),s.setAttribute('data-animation',j),s.setAttribute('data-state','hidden'),l.split(' ').forEach(function(a){s.classList.add(a+'-theme')}),d){var t=document.createElement('div');t.style[f('transform')]=g,'round'===e?(t.classList.add('tippy-roundarrow'),t.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):t.classList.add('tippy-arrow'),s.appendChild(t)}if(h){s.setAttribute('data-animatefill','');var u=document.createElement('div');u.setAttribute('data-state','hidden'),u.classList.add('tippy-backdrop'),s.appendChild(u)}i&&s.setAttribute('data-inertia',''),o&&s.setAttribute('data-interactive','');var v=document.createElement('div');if(v.setAttribute('class','tippy-content'),m){var w;m instanceof Element?(v.appendChild(m),w='#'+m.id||'tippy-html-template'):(v.innerHTML=document.querySelector(m).innerHTML,w=m),r.setAttribute('data-html',''),o&&r.setAttribute('tabindex','-1'),s.setAttribute('data-template-id',w)}else v[q?'innerHTML':'textContent']=b;return s.appendChild(v),r.appendChild(s),r}function h(a,b,c,d){var e=c.onTrigger,f=c.onMouseLeave,g=c.onBlur,h=c.onDelegateShow,i=c.onDelegateHide,j=[];if('manual'===a)return j;var k=function(a,c){b.addEventListener(a,c),j.push({event:a,handler:c})};return d.target?(T.supportsTouch&&d.touchHold&&(k('touchstart',h),k('touchend',i)),'mouseenter'===a&&(k('mouseover',h),k('mouseout',i)),'focus'===a&&(k('focusin',h),k('focusout',i)),'click'===a&&k('click',h)):(k(a,e),T.supportsTouch&&d.touchHold&&(k('touchstart',e),k('touchend',f)),'mouseenter'===a&&k('mouseleave',f),'focus'===a&&k(S?'focusout':'blur',g)),j}function i(a,b){var c=W.reduce(function(c,d){var e=a.getAttribute('data-tippy-'+d.toLowerCase())||b[d];return'false'===e&&(e=!1),'true'===e&&(e=!0),isFinite(e)&&!isNaN(parseFloat(e))&&(e=parseFloat(e)),'target'!==d&&'string'==typeof e&&'['===e.trim().charAt(0)&&(e=JSON.parse(e)),c[d]=e,c},{});return Z({},b,c)}function j(a,b){return b.arrow&&(b.animateFill=!1),b.appendTo&&'function'==typeof b.appendTo&&(b.appendTo=b.appendTo()),'function'==typeof b.html&&(b.html=b.html(a)),b}function k(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(U.TOOLTIP),backdrop:b(U.BACKDROP),content:b(U.CONTENT),arrow:b(U.ARROW)||b(U.ROUND_ARROW)}}function l(a){var b=a.getAttribute('title');b&&a.setAttribute('data-original-title',b),a.removeAttribute('title')}function m(a){var b=a.style;b[f('transform')]=null,b.top=null,b.left=null}function n(a){void a.offsetHeight}function o(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){n(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()}function p(a){return a.getAttribute('x-placement').replace(/-.+/,'')}function q(a,b,c){if(!b.getAttribute('x-placement'))return!0;var d=a.clientX,e=a.clientY,f=c.interactiveBorder,g=c.distance,h=b.getBoundingClientRect(),i=p(b),j=f+g,k={top:h.top-e>f,bottom:e-h.bottom>f,left:h.left-d>f,right:d-h.right>f};return'top'===i?k.top=h.top-e>j:'bottom'===i?k.bottom=e-h.bottom>j:'left'===i?k.left=h.left-d>j:'right'===i?k.right=d-h.right>j:void 0,k.top||k.bottom||k.left||k.right}function r(a,b,c,d){if(!b.length)return'';var e={scale:function(){return 1===b.length?''+b[0]:c?b[0]+', '+b[1]:b[1]+', '+b[0]}(),translate:function(){return 1===b.length?d?-b[0]+'px':b[0]+'px':c?d?b[0]+'px, '+-b[1]+'px':b[0]+'px, '+b[1]+'px':d?-b[1]+'px, '+b[0]+'px':b[1]+'px, '+b[0]+'px'}()};return e[a]}function s(a,b){if(!a)return'';return b?a:{X:'Y',Y:'X'}[a]}function t(a,b,c){var d=p(a),e='top'===d||'bottom'===d,g='right'===d||'bottom'===d,h=function(a){var b=c.match(a);return b?b[1]:''},i=function(a){var b=c.match(a);return b?b[1].split(',').map(parseFloat):[]},j={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},k={translate:{axis:h(/translate([XY])/),numbers:i(j.translate)},scale:{axis:h(/scale([XY])/),numbers:i(j.scale)}},l=c.replace(j.translate,'translate'+s(k.translate.axis,e)+'('+r('translate',k.translate.numbers,e,g)+')').replace(j.scale,'scale'+s(k.scale.axis,e)+'('+r('scale',k.scale.numbers,e,g)+')');b.style[f('transform')]=l}function u(a){return-(a-V.distance)+'px'}function v(a){requestAnimationFrame(function(){setTimeout(a,1)})}function w(a,b){var c=Element.prototype.closest||function(a){for(var b=this;b;){if(e.call(b,a))return b;b=b.parentElement}};return c.call(a,b)}function x(a,b){return Array.isArray(a)?a[b]:a}function y(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function z(a,b){a.filter(Boolean).forEach(function(a){a.style[f('transitionDuration')]=b+'ms'})}function A(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function B(){var a=this._(aa).lastTriggerEvent;return this.options.followCursor&&!T.usingTouch&&a&&'focus'!==a.type}function C(a){var b=w(a.target,this.options.target);if(b&&!b._tippy){var c=b.getAttribute('title')||this.title;c&&(b.setAttribute('title',c),Q(b,Z({},this.options,{target:null})),D.call(b._tippy,a))}}function D(a){var b=this,c=this.options;if(I.call(this),!this.state.visible){if(c.target)return void C.call(this,a);if(this._(aa).isPreparingToShow=!0,c.wait)return void c.wait.call(this.popper,this.show.bind(this),a);if(B.call(this)){this._(aa).followCursorListener||J.call(this);var d=k(this.popper),e=d.arrow;e&&(e.style.margin='0'),document.addEventListener('mousemove',this._(aa).followCursorListener)}var f=x(c.delay,0);f?this._(aa).showTimeout=setTimeout(function(){b.show()},f):this.show()}}function E(){var a=this;if(I.call(this),!!this.state.visible){this._(aa).isPreparingToShow=!1;var b=x(this.options.delay,1);b?this._(aa).hideTimeout=setTimeout(function(){a.state.visible&&a.hide()},b):this.hide()}}function F(){var a=this;return{onTrigger:function(b){if(a.state.enabled){var c=T.supportsTouch&&T.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(b.type);c&&a.options.touchHold||(a._(aa).lastTriggerEvent=b,'click'===b.type&&'persistent'!==a.options.hideOnClick&&a.state.visible?E.call(a):D.call(a,b),c&&T.iOS&&a.reference.click&&a.reference.click())}},onMouseLeave:function(b){if(!(-1<['mouseleave','mouseout'].indexOf(b.type)&&T.supportsTouch&&T.usingTouch&&a.options.touchHold)){if(a.options.interactive){var c=E.bind(a),d=function b(d){var e=w(d.target,U.REFERENCE),f=w(d.target,U.POPPER)===a.popper,g=e===a.reference;f||g||q(d,a.popper,a.options)&&(document.body.removeEventListener('mouseleave',c),document.removeEventListener('mousemove',b),E.call(a))};return document.body.addEventListener('mouseleave',c),void document.addEventListener('mousemove',d)}E.call(a)}},onBlur:function(b){b.target!==a.reference||!b.relatedTarget||T.usingTouch||w(b.relatedTarget,U.POPPER)||E.call(a)},onDelegateShow:function(b){w(b.target,a.options.target)&&D.call(a,b)},onDelegateHide:function(b){w(b.target,a.options.target)&&E.call(a)}}}function G(){var b=this,c=this.popper,d=this.reference,e=this.options,f=k(c),g=f.tooltip,h=e.popperOptions,i='round'===e.arrowType?U.ROUND_ARROW:U.ARROW,j=g.querySelector(i),l=Z({placement:e.placement},h||{},{modifiers:Z({},h?h.modifiers:{},{arrow:Z({element:i},h&&h.modifiers?h.modifiers.arrow:{}),flip:Z({enabled:e.flip,padding:e.distance+5,behavior:e.flipBehavior},h&&h.modifiers?h.modifiers.flip:{}),offset:Z({offset:e.offset},h&&h.modifiers?h.modifiers.offset:{})}),onCreate:function(){g.style[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)},onUpdate:function(){var a=g.style;a.top='',a.bottom='',a.left='',a.right='',a[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)}});return L.call(this,{target:c,callback:function(){b.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new a(d,c,l)}function H(a){var b=this.options;if(this.popperInstance?(m(this.popper),this.popperInstance.scheduleUpdate(),b.livePlacement&&!B.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=G.call(this),!b.livePlacement&&this.popperInstance.disableEventListeners()),!B.call(this)){var c=k(this.popper),d=c.arrow;d&&(d.style.margin=''),this.popperInstance.reference=this.reference}o(this.popperInstance,a,!0),b.appendTo.contains(this.popper)||b.appendTo.appendChild(this.popper)}function I(){var a=this._(aa),b=a.showTimeout,c=a.hideTimeout;clearTimeout(b),clearTimeout(c)}function J(){var a=this;this._(aa).followCursorListener=function(b){var c=a._(aa).lastMouseMoveEvent=b,d=c.clientX,e=c.clientY;a.popperInstance&&(a.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:e,left:d,right:d,bottom:e}},clientWidth:0,clientHeight:0},a.popperInstance.scheduleUpdate())}}function K(){var a=this,b=function(){a.popper.style[f('transitionDuration')]=a.options.updateDuration+'ms'},c=function(){a.popper.style[f('transitionDuration')]=''};v(function d(){a.popperInstance&&a.popperInstance.scheduleUpdate(),b(),a.state.visible?requestAnimationFrame(d):c()})}function L(a){var b=a.target,c=a.callback,d=a.options;if(window.MutationObserver){var e=new MutationObserver(c);e.observe(b,d),this._(aa).mutationObservers.push(e)}}function M(a,b){if(!a)return b();var c=k(this.popper),d=c.tooltip,f=function(a,b){b&&d[a+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',b)},e=function a(c){c.target===d&&(f('remove',a),b())};f('remove',this._(aa).transitionendListener),f('add',e),this._(aa).transitionendListener=e}function N(a,b){return a.reduce(function(a,c){var d=da,e=j(c,b.performance?b:i(c,b)),f=c.getAttribute('title');if(!f&&!e.target&&!e.html&&!e.dynamicTitle)return a;c.setAttribute(e.target?'data-tippy-delegate':'data-tippy',''),l(c);var m=g(d,f,e),n=new ca({id:d,reference:c,popper:m,options:e,title:f,popperInstance:null});e.createPopperInstanceOnInit&&(n.popperInstance=G.call(n),n.popperInstance.disableEventListeners());var o=F.call(n);return n.listeners=e.trigger.trim().split(' ').reduce(function(a,b){return a.concat(h(b,c,o,e))},[]),e.dynamicTitle&&L.call(n,{target:c,callback:function(){var a=k(m),b=a.content,d=c.getAttribute('title');d&&(b[e.allowTitleHTML?'innerHTML':'textContent']=n.title=d,l(c))},options:{attributes:!0}}),c._tippy=n,m._tippy=n,m._reference=c,a.push(n),da++,a},[])}function O(a){var b=c(document.querySelectorAll(U.POPPER));b.forEach(function(b){var c=b._tippy;if(c){var d=c.options;(!0===d.hideOnClick||-1<d.trigger.indexOf('focus'))&&(!a||b!==a.popper)&&c.hide()}})}function P(){var a=function(){T.usingTouch||(T.usingTouch=!0,T.iOS&&document.body.classList.add('tippy-touch'),T.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',b),T.onUserInputChange('touch'))},b=function(){var a;return function(){var c=performance.now();20>c-a&&(T.usingTouch=!1,document.removeEventListener('mousemove',b),!T.iOS&&document.body.classList.remove('tippy-touch'),T.onUserInputChange('mouse')),a=c}}();document.addEventListener('click',function(a){if(!(a.target instanceof Element))return O();var b=w(a.target,U.REFERENCE),c=w(a.target,U.POPPER);if(!(c&&c._reference._tippy.options.interactive)){if(b){var d=b._tippy.options;if(!d.multiple&&T.usingTouch||!d.multiple&&-1<d.trigger.indexOf('click'))return O(b._tippy);if(!0!==d.hideOnClick||-1<d.trigger.indexOf('click'))return}O()}}),document.addEventListener('touchstart',a),window.addEventListener('blur',function(){var a=document,b=a.activeElement;b&&b.blur&&e.call(b,U.REFERENCE)&&b.blur()}),window.addEventListener('resize',function(){c(document.querySelectorAll(U.POPPER)).forEach(function(a){var b=a._tippy;b.options.livePlacement||b.popperInstance.scheduleUpdate()})}),!T.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',a)}function Q(a,c){return T.supported&&!ea&&(P(),ea=!0),b(a)&&(a.refObj=!0,a.attributes=a.attributes||{},a.setAttribute=function(b,c){a.attributes[b]=c},a.getAttribute=function(b){return a.attributes[b]},a.removeAttribute=function(b){delete a.attributes[b]},a.addEventListener=function(){},a.removeEventListener=function(){},a.classList={classNames:{},add:function(b){return a.classList.classNames[b]=!0},remove:function(b){return delete a.classList.classNames[b],!0},contains:function(b){return!!a.classList.classNames[b]}}),c=Z({},V,c),{selector:a,options:c,tooltips:T.supported?N(d(a),c):[],destroyAll:function(){this.tooltips.forEach(function(a){return a.destroy()}),this.tooltips=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var R='undefined'!=typeof window,S=R&&/MSIE |Trident\//.test(navigator.userAgent),T={};R&&(T.supported='requestAnimationFrame'in window,T.supportsTouch='ontouchstart'in window,T.usingTouch=!1,T.dynamicInputDetection=!0,T.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,T.onUserInputChange=function(){});var U={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},V={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},W=T.supported&&Object.keys(V),X=function(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')},Y=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,'value'in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),Z=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},$={};if(R){var _=Element.prototype;$=_.matches||_.matchesSelector||_.webkitMatchesSelector||_.mozMatchesSelector||_.msMatchesSelector||function(a){for(var b=(this.document||this.ownerDocument).querySelectorAll(a),c=b.length;0<=--c&&b.item(c)!==this;);return-1<c}}var e=$,aa={},ba=function(a){return function(b){return b===aa&&a}},ca=function(){function a(b){for(var c in X(this,a),b)this[c]=b[c];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ba({mutationObservers:[]})}return Y(a,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,g=k(c),h=g.tooltip,i=g.backdrop,j=g.content;return e.dynamicTitle&&!d.getAttribute('data-original-title')?void 0:d.refObj||document.documentElement.contains(d)?void(e.onShow.call(c,this),a=x(void 0===a?e.duration:a,0),z([c,h,i],0),c.style.visibility='visible',this.state.visible=!0,H.call(this,function(){if(b.state.visible){if(B.call(b)||b.popperInstance.scheduleUpdate(),B.call(b)){b.popperInstance.disableEventListeners();var g=x(e.delay,0),k=b._(aa).lastTriggerEvent;k&&b._(aa).followCursorListener(g&&b._(aa).lastMouseMoveEvent?b._(aa).lastMouseMoveEvent:k)}z([h,i,i?j:null],a),i&&getComputedStyle(i)[f('transform')],e.interactive&&d.classList.add('tippy-active'),e.sticky&&K.call(b),y([h,i],'visible'),M.call(b,a,function(){e.updateDuration||h.classList.add('tippy-notransition'),e.interactive&&A(c),d.setAttribute('aria-describedby','tippy-'+b.id),e.onShown.call(c,b)})}})):void this.destroy()}}},{key:'hide',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,f=k(c),g=f.tooltip,h=f.backdrop,i=f.content;e.onHide.call(c,this),a=x(void 0===a?e.duration:a,1),e.updateDuration||g.classList.remove('tippy-notransition'),e.interactive&&d.classList.remove('tippy-active'),c.style.visibility='hidden',this.state.visible=!1,z([g,h,h?i:null],a),y([g,h],'hidden'),e.interactive&&-1<e.trigger.indexOf('click')&&A(d),v(function(){M.call(b,a,function(){b.state.visible||!e.appendTo.contains(c)||(!b._(aa).isPreparingToShow&&(document.removeEventListener('mousemove',b._(aa).followCursorListener),b._(aa).lastMouseMoveEvent=null),d.removeAttribute('aria-describedby'),b.popperInstance.disableEventListeners(),e.appendTo.removeChild(c),e.onHidden.call(c,b))})})}}},{key:'destroy',value:function(){var a=this,b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:!0;if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(b){a.reference.removeEventListener(b.event,b.handler)}),this.reference.setAttribute('title',this.reference.getAttribute('data-original-title')),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(b){a.reference.removeAttribute(b)}),this.options.target&&b&&c(this.reference.querySelectorAll(this.options.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(aa).mutationObservers.forEach(function(a){a.disconnect()}),this.state.destroyed=!0}}}]),a}(),da=1,ea=!1;return Q.browser=T,Q.defaults=V,Q.disableAnimations=function(){V.updateDuration=V.duration=0,V.animateFill=!1},Q}); | ||
(function(a,b){'object'==typeof exports&&'undefined'!=typeof module?module.exports=b(require('popper.js')):'function'==typeof define&&define.amd?define(['popper.js'],b):a.tippy=b(a.Popper)})(this,function(a){'use strict';function b(a){return'[object Object]'==={}.toString.call(a)}function c(a){return[].slice.call(a)}function d(a){if(a instanceof Element||b(a))return[a];if(a instanceof NodeList)return c(a);if(Array.isArray(a))return a;try{return c(document.querySelectorAll(a))}catch(a){return[]}}function f(a){for(var b=['','webkit'],c=a.charAt(0).toUpperCase()+a.slice(1),d=0;d<b.length;d++){var e=b[d],f=e?e+c:a;if('undefined'!=typeof document.body.style[f])return f}return null}function g(a,b,c){var d=document.createElement('div');d.setAttribute('class','tippy-popper'),d.setAttribute('role','tooltip'),d.setAttribute('id','tippy-'+a),d.style.zIndex=c.zIndex,d.style.maxWidth=c.maxWidth;var e=document.createElement('div');if(e.setAttribute('class','tippy-tooltip'),e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.setAttribute('data-state','hidden'),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}),c.arrow){var g=document.createElement('div');g.style[f('transform')]=c.arrowTransform,'round'===c.arrowType?(g.classList.add('tippy-roundarrow'),g.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):g.classList.add('tippy-arrow'),e.appendChild(g)}if(c.animateFill){e.setAttribute('data-animatefill','');var h=document.createElement('div');h.setAttribute('data-state','hidden'),h.classList.add('tippy-backdrop'),e.appendChild(h)}c.inertia&&e.setAttribute('data-inertia',''),c.interactive&&e.setAttribute('data-interactive','');var i=document.createElement('div');i.setAttribute('class','tippy-content');var j=c.html;if(j){var k;j instanceof Element?(i.appendChild(j),k='#'+j.id||'tippy-html-template'):(i.innerHTML=document.querySelector(j).innerHTML,k=j),d.setAttribute('data-html',''),e.setAttribute('data-template-id',k),c.interactive&&d.setAttribute('tabindex','-1')}else i[c.allowTitleHTML?'innerHTML':'textContent']=b;return e.appendChild(i),d.appendChild(e),d}function h(a,b,c,d){var e=c.onTrigger,f=c.onMouseLeave,g=c.onBlur,h=c.onDelegateShow,i=c.onDelegateHide,j=[];if('manual'===a)return j;var k=function(a,c){b.addEventListener(a,c),j.push({event:a,handler:c})};return d.target?(T.supportsTouch&&d.touchHold&&(k('touchstart',h),k('touchend',i)),'mouseenter'===a&&(k('mouseover',h),k('mouseout',i)),'focus'===a&&(k('focusin',h),k('focusout',i)),'click'===a&&k('click',h)):(k(a,e),T.supportsTouch&&d.touchHold&&(k('touchstart',e),k('touchend',f)),'mouseenter'===a&&k('mouseleave',f),'focus'===a&&k(S?'focusout':'blur',g)),j}function i(a,b){var c=W.reduce(function(c,d){var e=a.getAttribute('data-tippy-'+d.toLowerCase())||b[d];return'false'===e&&(e=!1),'true'===e&&(e=!0),isFinite(e)&&!isNaN(parseFloat(e))&&(e=parseFloat(e)),'target'!==d&&'string'==typeof e&&'['===e.trim().charAt(0)&&(e=JSON.parse(e)),c[d]=e,c},{});return Z({},b,c)}function j(a,b){return b.arrow&&(b.animateFill=!1),b.appendTo&&'function'==typeof b.appendTo&&(b.appendTo=b.appendTo()),'function'==typeof b.html&&(b.html=b.html(a)),b}function k(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(U.TOOLTIP),backdrop:b(U.BACKDROP),content:b(U.CONTENT),arrow:b(U.ARROW)||b(U.ROUND_ARROW)}}function l(a){var b=a.getAttribute('title');b&&a.setAttribute('data-original-title',b),a.removeAttribute('title')}function m(a){var b=a.style;b[f('transform')]=null,b.top=null,b.left=null}function n(a){void a.offsetHeight}function o(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){n(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()}function p(a){return a.getAttribute('x-placement').replace(/-.+/,'')}function q(a,b,c){if(!b.getAttribute('x-placement'))return!0;var d=a.clientX,e=a.clientY,f=c.interactiveBorder,g=c.distance,h=b.getBoundingClientRect(),i=p(b),j=f+g,k={top:h.top-e>f,bottom:e-h.bottom>f,left:h.left-d>f,right:d-h.right>f};return'top'===i?k.top=h.top-e>j:'bottom'===i?k.bottom=e-h.bottom>j:'left'===i?k.left=h.left-d>j:'right'===i?k.right=d-h.right>j:void 0,k.top||k.bottom||k.left||k.right}function r(a,b,c,d){if(!b.length)return'';var e={scale:function(){return 1===b.length?''+b[0]:c?b[0]+', '+b[1]:b[1]+', '+b[0]}(),translate:function(){return 1===b.length?d?-b[0]+'px':b[0]+'px':c?d?b[0]+'px, '+-b[1]+'px':b[0]+'px, '+b[1]+'px':d?-b[1]+'px, '+b[0]+'px':b[1]+'px, '+b[0]+'px'}()};return e[a]}function s(a,b){if(!a)return'';return b?a:{X:'Y',Y:'X'}[a]}function t(a,b,c){var d=p(a),e='top'===d||'bottom'===d,g='right'===d||'bottom'===d,h=function(a){var b=c.match(a);return b?b[1]:''},i=function(a){var b=c.match(a);return b?b[1].split(',').map(parseFloat):[]},j={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},k={translate:{axis:h(/translate([XY])/),numbers:i(j.translate)},scale:{axis:h(/scale([XY])/),numbers:i(j.scale)}},l=c.replace(j.translate,'translate'+s(k.translate.axis,e)+'('+r('translate',k.translate.numbers,e,g)+')').replace(j.scale,'scale'+s(k.scale.axis,e)+'('+r('scale',k.scale.numbers,e,g)+')');b.style[f('transform')]=l}function u(a){return-(a-V.distance)+'px'}function v(a){requestAnimationFrame(function(){setTimeout(a,1)})}function w(a,b){var c=Element.prototype.closest||function(a){for(var b=this;b;){if(e.call(b,a))return b;b=b.parentElement}};return c.call(a,b)}function x(a,b){return Array.isArray(a)?a[b]:a}function y(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function z(a,b){a.filter(Boolean).forEach(function(a){a.style[f('transitionDuration')]=b+'ms'})}function A(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function B(){var a=this._(aa).lastTriggerEvent;return this.options.followCursor&&!T.usingTouch&&a&&'focus'!==a.type}function C(a){var b=w(a.target,this.options.target);if(b&&!b._tippy){var c=b.getAttribute('title')||this.title;c&&(b.setAttribute('title',c),Q(b,Z({},this.options,{target:null})),D.call(b._tippy,a))}}function D(a){var b=this,c=this.options;if(I.call(this),!this.state.visible){if(c.target)return void C.call(this,a);if(this._(aa).isPreparingToShow=!0,c.wait)return void c.wait.call(this.popper,this.show.bind(this),a);if(B.call(this)){this._(aa).followCursorListener||J.call(this);var d=k(this.popper),e=d.arrow;e&&(e.style.margin='0'),document.addEventListener('mousemove',this._(aa).followCursorListener)}var f=x(c.delay,0);f?this._(aa).showTimeout=setTimeout(function(){b.show()},f):this.show()}}function E(){var a=this;if(I.call(this),!!this.state.visible){this._(aa).isPreparingToShow=!1;var b=x(this.options.delay,1);b?this._(aa).hideTimeout=setTimeout(function(){a.state.visible&&a.hide()},b):this.hide()}}function F(){var a=this;return{onTrigger:function(b){if(a.state.enabled){var c=T.supportsTouch&&T.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(b.type);c&&a.options.touchHold||(a._(aa).lastTriggerEvent=b,'click'===b.type&&'persistent'!==a.options.hideOnClick&&a.state.visible?E.call(a):D.call(a,b),c&&T.iOS&&a.reference.click&&a.reference.click())}},onMouseLeave:function(b){if(!(-1<['mouseleave','mouseout'].indexOf(b.type)&&T.supportsTouch&&T.usingTouch&&a.options.touchHold)){if(a.options.interactive){var c=E.bind(a),d=function b(d){var e=w(d.target,U.REFERENCE),f=w(d.target,U.POPPER)===a.popper,g=e===a.reference;f||g||q(d,a.popper,a.options)&&(document.body.removeEventListener('mouseleave',c),document.removeEventListener('mousemove',b),E.call(a,b))};return document.body.addEventListener('mouseleave',c),void document.addEventListener('mousemove',d)}E.call(a)}},onBlur:function(b){if(!(b.target!==a.reference||T.usingTouch)){if(a.options.interactive){if(!b.relatedTarget)return;if(w(b.relatedTarget,U.POPPER))return}E.call(a)}},onDelegateShow:function(b){w(b.target,a.options.target)&&D.call(a,b)},onDelegateHide:function(b){w(b.target,a.options.target)&&E.call(a)}}}function G(){var b=this,c=this.popper,d=this.reference,e=this.options,f=k(c),g=f.tooltip,h=e.popperOptions,i='round'===e.arrowType?U.ROUND_ARROW:U.ARROW,j=g.querySelector(i),l=Z({placement:e.placement},h||{},{modifiers:Z({},h?h.modifiers:{},{arrow:Z({element:i},h&&h.modifiers?h.modifiers.arrow:{}),flip:Z({enabled:e.flip,padding:e.distance+5,behavior:e.flipBehavior},h&&h.modifiers?h.modifiers.flip:{}),offset:Z({offset:e.offset},h&&h.modifiers?h.modifiers.offset:{})}),onCreate:function(){g.style[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)},onUpdate:function(){var a=g.style;a.top='',a.bottom='',a.left='',a.right='',a[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)}});return L.call(this,{target:c,callback:function(){b.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new a(d,c,l)}function H(a){var b=this.options;if(this.popperInstance?(m(this.popper),this.popperInstance.scheduleUpdate(),b.livePlacement&&!B.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=G.call(this),!b.livePlacement&&this.popperInstance.disableEventListeners()),!B.call(this)){var c=k(this.popper),d=c.arrow;d&&(d.style.margin=''),this.popperInstance.reference=this.reference}o(this.popperInstance,a,!0),b.appendTo.contains(this.popper)||b.appendTo.appendChild(this.popper)}function I(){var a=this._(aa),b=a.showTimeout,c=a.hideTimeout;clearTimeout(b),clearTimeout(c)}function J(){var a=this;this._(aa).followCursorListener=function(b){var c=a._(aa).lastMouseMoveEvent=b,d=c.clientX,e=c.clientY;a.popperInstance&&(a.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:e,left:d,right:d,bottom:e}},clientWidth:0,clientHeight:0},a.popperInstance.scheduleUpdate())}}function K(){var a=this,b=function(){a.popper.style[f('transitionDuration')]=a.options.updateDuration+'ms'},c=function(){a.popper.style[f('transitionDuration')]=''};v(function d(){a.popperInstance&&a.popperInstance.scheduleUpdate(),b(),a.state.visible?requestAnimationFrame(d):c()})}function L(a){var b=a.target,c=a.callback,d=a.options;if(window.MutationObserver){var e=new MutationObserver(c);e.observe(b,d),this._(aa).mutationObservers.push(e)}}function M(a,b){if(!a)return b();var c=k(this.popper),d=c.tooltip,f=function(a,b){b&&d[a+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',b)},e=function a(c){c.target===d&&(f('remove',a),b())};f('remove',this._(aa).transitionendListener),f('add',e),this._(aa).transitionendListener=e}function N(a,b){return a.reduce(function(a,c){var d=da,e=j(c,b.performance?b:i(c,b)),f=c.getAttribute('title');if(!f&&!e.target&&!e.html&&!e.dynamicTitle)return a;c.setAttribute(e.target?'data-tippy-delegate':'data-tippy',''),l(c);var m=g(d,f,e),n=new ca({id:d,reference:c,popper:m,options:e,title:f,popperInstance:null});e.createPopperInstanceOnInit&&(n.popperInstance=G.call(n),n.popperInstance.disableEventListeners());var o=F.call(n);return n.listeners=e.trigger.trim().split(' ').reduce(function(a,b){return a.concat(h(b,c,o,e))},[]),e.dynamicTitle&&L.call(n,{target:c,callback:function(){var a=k(m),b=a.content,d=c.getAttribute('title');d&&(b[e.allowTitleHTML?'innerHTML':'textContent']=n.title=d,l(c))},options:{attributes:!0}}),c._tippy=n,m._tippy=n,m._reference=c,a.push(n),da++,a},[])}function O(a){var b=c(document.querySelectorAll(U.POPPER));b.forEach(function(b){var c=b._tippy;if(c){var d=c.options;(!0===d.hideOnClick||-1<d.trigger.indexOf('focus'))&&(!a||b!==a.popper)&&c.hide()}})}function P(){var a=function(){T.usingTouch||(T.usingTouch=!0,T.iOS&&document.body.classList.add('tippy-touch'),T.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',b),T.onUserInputChange('touch'))},b=function(){var a;return function(){var c=performance.now();20>c-a&&(T.usingTouch=!1,document.removeEventListener('mousemove',b),!T.iOS&&document.body.classList.remove('tippy-touch'),T.onUserInputChange('mouse')),a=c}}();document.addEventListener('click',function(a){if(!(a.target instanceof Element))return O();var b=w(a.target,U.REFERENCE),c=w(a.target,U.POPPER);if(!(c&&c._reference._tippy.options.interactive)){if(b){var d=b._tippy.options;if(!d.multiple&&T.usingTouch||!d.multiple&&-1<d.trigger.indexOf('click'))return O(b._tippy);if(!0!==d.hideOnClick||-1<d.trigger.indexOf('click'))return}O()}}),document.addEventListener('touchstart',a),window.addEventListener('blur',function(){var a=document,b=a.activeElement;b&&b.blur&&e.call(b,U.REFERENCE)&&b.blur()}),window.addEventListener('resize',function(){c(document.querySelectorAll(U.POPPER)).forEach(function(a){var b=a._tippy;b.options.livePlacement||b.popperInstance.scheduleUpdate()})}),!T.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',a)}function Q(a,c){return T.supported&&!ea&&(P(),ea=!0),b(a)&&(a.refObj=!0,a.attributes=a.attributes||{},a.setAttribute=function(b,c){a.attributes[b]=c},a.getAttribute=function(b){return a.attributes[b]},a.removeAttribute=function(b){delete a.attributes[b]},a.addEventListener=function(){},a.removeEventListener=function(){},a.classList={classNames:{},add:function(b){return a.classList.classNames[b]=!0},remove:function(b){return delete a.classList.classNames[b],!0},contains:function(b){return!!a.classList.classNames[b]}}),c=Z({},V,c),{selector:a,options:c,tooltips:T.supported?N(d(a),c):[],destroyAll:function(){this.tooltips.forEach(function(a){return a.destroy()}),this.tooltips=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var R='undefined'!=typeof window,S=R&&/MSIE |Trident\//.test(navigator.userAgent),T={};R&&(T.supported='requestAnimationFrame'in window,T.supportsTouch='ontouchstart'in window,T.usingTouch=!1,T.dynamicInputDetection=!0,T.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,T.onUserInputChange=function(){});var U={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},V={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},W=T.supported&&Object.keys(V),X=function(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')},Y=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,'value'in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),Z=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},$={};if(R){var _=Element.prototype;$=_.matches||_.matchesSelector||_.webkitMatchesSelector||_.mozMatchesSelector||_.msMatchesSelector||function(a){for(var b=(this.document||this.ownerDocument).querySelectorAll(a),c=b.length;0<=--c&&b.item(c)!==this;);return-1<c}}var e=$,aa={},ba=function(a){return function(b){return b===aa&&a}},ca=function(){function a(b){for(var c in X(this,a),b)this[c]=b[c];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ba({mutationObservers:[]})}return Y(a,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,g=k(c),h=g.tooltip,i=g.backdrop,j=g.content;return e.dynamicTitle&&!d.getAttribute('data-original-title')?void 0:d.refObj||document.documentElement.contains(d)?void(e.onShow.call(c,this),a=x(void 0===a?e.duration:a,0),z([c,h,i],0),c.style.visibility='visible',this.state.visible=!0,H.call(this,function(){if(b.state.visible){if(B.call(b)||b.popperInstance.scheduleUpdate(),B.call(b)){b.popperInstance.disableEventListeners();var g=x(e.delay,0),k=b._(aa).lastTriggerEvent;k&&b._(aa).followCursorListener(g&&b._(aa).lastMouseMoveEvent?b._(aa).lastMouseMoveEvent:k)}z([h,i,i?j:null],a),i&&getComputedStyle(i)[f('transform')],e.interactive&&d.classList.add('tippy-active'),e.sticky&&K.call(b),y([h,i],'visible'),M.call(b,a,function(){e.updateDuration||h.classList.add('tippy-notransition'),e.interactive&&A(c),d.setAttribute('aria-describedby','tippy-'+b.id),e.onShown.call(c,b)})}})):void this.destroy()}}},{key:'hide',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,f=k(c),g=f.tooltip,h=f.backdrop,i=f.content;e.onHide.call(c,this),a=x(void 0===a?e.duration:a,1),e.updateDuration||g.classList.remove('tippy-notransition'),e.interactive&&d.classList.remove('tippy-active'),c.style.visibility='hidden',this.state.visible=!1,z([g,h,h?i:null],a),y([g,h],'hidden'),e.interactive&&-1<e.trigger.indexOf('click')&&A(d),v(function(){M.call(b,a,function(){b.state.visible||!e.appendTo.contains(c)||(!b._(aa).isPreparingToShow&&(document.removeEventListener('mousemove',b._(aa).followCursorListener),b._(aa).lastMouseMoveEvent=null),d.removeAttribute('aria-describedby'),b.popperInstance.disableEventListeners(),e.appendTo.removeChild(c),e.onHidden.call(c,b))})})}}},{key:'destroy',value:function(){var a=this,b=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(b){a.reference.removeEventListener(b.event,b.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(b){a.reference.removeAttribute(b)}),this.options.target&&b&&c(this.reference.querySelectorAll(this.options.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(aa).mutationObservers.forEach(function(a){a.disconnect()}),this.state.destroyed=!0}}}]),a}(),da=1,ea=!1;return Q.version='2.4.0',Q.browser=T,Q.defaults=V,Q.disableAnimations=function(){V.updateDuration=V.duration=0,V.animateFill=!1},Q}); |
{ | ||
"name": "tippy.js", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Vanilla JS Tooltip Library", | ||
@@ -11,29 +11,25 @@ "main": "dist/tippy.all.js", | ||
"scripts": { | ||
"dev": "rollup -c scripts/rollup.dev.config.js --watch", | ||
"build": "npm run themes && npm run standalone && npm run bundle && npm run all", | ||
"all": "rollup -c scripts/rollup.all.config.js && rollup -c scripts/rollup.all.min.config.js", | ||
"bundle": "rollup -c scripts/rollup.bundle.config.js && rollup -c scripts/rollup.bundle.min.config.js", | ||
"standalone": "rollup -c scripts/rollup.standalone.config.js && rollup -c scripts/rollup.standalone.min.config.js", | ||
"themes": "rollup -c scripts/themes/rollup.light.config.js && rollup -c scripts/themes/rollup.translucent.config.js", | ||
"test": "eslint 'src/**/*.js' && jest --verbose", | ||
"prettier": "prettier --print-width 100 --no-semi --single-quote es5 --write 'src/**/*.js'" | ||
"dev": "parcel website/index.html -d docs/", | ||
"build:docs": "parcel build website/index.html -d docs/ --public-url ./", | ||
"build": "node ./scripts/build.js && npm run prettier && npm run build:docs", | ||
"test": "eslint \"src/**/*.js\" && jest --verbose", | ||
"prettier": "prettier --write \"./**/*{js,scss}\"" | ||
}, | ||
"jest": { | ||
"setupFiles": [ | ||
"./tests/polyfills/createRange.js", | ||
"./tests/polyfills/MutationObserver.js" | ||
] | ||
"setupFiles": ["./tests/polyfills/createRange.js", "./tests/polyfills/MutationObserver.js"] | ||
}, | ||
"prettier": { | ||
"printWidth": 100, | ||
"semi": false, | ||
"singleQuote": true | ||
}, | ||
"author": "atomiks", | ||
"license": "MIT", | ||
"keywords": [ | ||
"tooltip", | ||
"tippy", | ||
"tippy.js" | ||
], | ||
"keywords": ["tooltip", "tippy", "tippy.js"], | ||
"devDependencies": { | ||
"animejs": "^2.2.0", | ||
"autoprefixer": "^6.7.7", | ||
"babel-core": "^6.26.0", | ||
"babel-jest": "^22.4.1", | ||
"babel-loader": "^6.4.1", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-plugin-transform-object-assign": "^6.22.0", | ||
@@ -43,23 +39,32 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-es2015-rollup": "^3.0.0", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"caniuse-lite": "^1.0.30000815", | ||
"cssnano": "^3.10.0", | ||
"eslint": "^4.18.2", | ||
"feather-icons": "^4.7.0", | ||
"focus-visible": "^4.1.1", | ||
"hyperapp": "^1.1.2", | ||
"jest": "^22.4.2", | ||
"jsdom": "^11.6.2", | ||
"mutation-observer": "^1.0.3", | ||
"normalize.css": "^8.0.0", | ||
"parcel-bundler": "^1.6.2", | ||
"postcss": "^5.2.18", | ||
"postcss-cssnext": "^3.1.0", | ||
"postcss-import": "^11.1.0", | ||
"postcss-pxtorem": "^4.0.1", | ||
"prettier": "^1.11.1", | ||
"prismjs": "^1.12.2", | ||
"rollup": "^0.55.5", | ||
"rollup-plugin-babel": "^2.7.1", | ||
"rollup-plugin-babili": "^3.1.1", | ||
"rollup-plugin-babel-minify": "^4.0.0", | ||
"rollup-plugin-commonjs": "^8.4.1", | ||
"rollup-plugin-css-only": "^0.2.0", | ||
"rollup-plugin-livereload": "^0.4.0", | ||
"rollup-plugin-json": "^2.3.0", | ||
"rollup-plugin-node-resolve": "^3.2.0", | ||
"rollup-plugin-sass": "^0.4.10", | ||
"rollup-plugin-serve": "^0.3.0", | ||
"rollup-watch": "^3.2.2" | ||
"rollup-plugin-sass": "^0.4.10" | ||
}, | ||
"dependencies": { | ||
"popper.js": "^1.13.0" | ||
"popper.js": "^1.14.1" | ||
} | ||
} |
@@ -6,2 +6,3 @@ # Tippy.js | ||
![gzip Size](http://img.badgesize.io/https://unpkg.com/tippy.js/dist/tippy.all.min.js?compression=gzip&label=gzip%20size) | ||
[![CDNJS](https://img.shields.io/cdnjs/v/tippy.js.svg)](https://cdnjs.com/libraries/tippy.js) | ||
@@ -8,0 +9,0 @@ Tippy.js is a highly customizable vanilla JS tooltip/popover library powered by Popper.js. |
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 too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
568552
48
10988
69
35
3
Updatedpopper.js@^1.14.1