Comparing version 2.1.0 to 2.1.1
@@ -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=[!1,'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=document.createElement('div');u.setAttribute('class','tippy-popper'),u.setAttribute('role','tooltip'),u.setAttribute('id','tippy-'+t),u.style.zIndex=f,u.style.maxWidth=b;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 g=document.createElement('div');g.style[r('transform')]=p,'round'===o?(g.classList.add('tippy-roundarrow'),g.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):g.classList.add('tippy-arrow'),y.appendChild(g)}if(n){y.setAttribute('data-animatefill','');var w=document.createElement('div');w.setAttribute('data-state','hidden'),w.classList.add('tippy-backdrop'),y.appendChild(w)}s&&y.setAttribute('data-inertia',''),h&&y.setAttribute('data-interactive','');var x=document.createElement('div');if(x.setAttribute('class','tippy-content'),m){var v;m instanceof Element?(x.appendChild(m),v='#'+m.id||'tippy-html-template'):(x.innerHTML=document.querySelector(m).innerHTML,v=m),u.setAttribute('data-html',''),h&&u.setAttribute('tabindex','-1'),y.setAttribute('data-template-id',v)}else x.innerHTML=e;return y.appendChild(x),u.appendChild(y),u}function n(t,e,a,i){var o=a.handleTrigger,r=a.handleMouseLeave,p=a.handleBlur,n=a.handleDelegateShow,s=a.handleDelegateHide,l=[];if('manual'===t)return l;var d=function(t,a){e.addEventListener(t,a),l.push({event:t,handler:a})};return i.target?(At.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),At.supportsTouch&&i.touchHold&&(d('touchstart',o),d('touchend',r)),'mouseenter'===t&&d('mouseleave',r),'focus'===t&&d('blur',p)),l}function s(t,e){var a=Yt.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 Xt({},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){return{tooltip:t.querySelector(Ct.TOOLTIP),backdrop:t.querySelector(Ct.BACKDROP),content:t.querySelector(Ct.CONTENT)}}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 Lt(e['offset'+t],e['scroll'+t],a['client'+t],a['offset'+t],a['scroll'+t],Bt()?a['offset'+t]+i['margin'+('Height'===t?'Top':'Left')]+i['margin'+('Height'===t?'Bottom':'Right')]:0)}function L(){var t=document.body,e=document.documentElement,a=Bt()&&getComputedStyle(e);return{height:E('Height',t,e,a),width:E('Width',t,e,a)}}function O(t){return qt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function A(t){var e={};if(Bt())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?L():{},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 C(t,e){var a=Bt(),i='HTML'===e.nodeName,o=A(t),r=A(e),p=b(t),n=f(e),s=parseFloat(n.borderTopWidth,10),l=parseFloat(n.borderLeftWidth,10),d=O({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 S(t){var e=t.ownerDocument.documentElement,a=C(t,e),i=Lt(e.clientWidth,window.innerWidth||0),o=Lt(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 O(n)}function Y(t){var e=t.nodeName;return'BODY'===e||'HTML'===e?!1:'fixed'===f(t,'position')||Y(h(t))}function _(t,e,a,i){var o={top:0,left:0},r=w(t,e);if('viewport'===i)o=S(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=C(p,r);if('HTML'===p.nodeName&&!Y(r)){var s=L(),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 I(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=_(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 qt({key:t},n[t],{area:I(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 P(t,e,a){var i=w(e,a);return C(a,i)}function D(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 H(t,e,a){a=a.split('-')[0];var i=D(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 R(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=R(t,function(t){return t[e]===a});return t.indexOf(i)}function B(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 W(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(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=H(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position='absolute',t=B(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-1;o++){var i=e[o],r=i?''+i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function q(){return this.state.isDestroyed=!0,z(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[U('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 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,F(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 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 Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}function J(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)&&J(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 tt(t,e,a){var i=R(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=jt.indexOf(t),i=jt.slice(a+1).concat(jt.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?Lt(document.documentElement.clientHeight,window.innerHeight||0):Lt(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(R(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],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){J(a)&&(o[e]+=a*('-'===t[i-1]?-1:1))})}),o}function rt(t){return t.getAttribute('x-placement').replace(/-.+/,'')}function pt(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=rt(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 nt(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 st(t,e){if(!t)return'';return e?t:{X:'Y',Y:'X'}[t]}function lt(t,e,a){var i=rt(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'+st(d.translate.axis,o)+'('+nt('translate',d.translate.numbers,o,p)+')').replace(l.scale,'scale'+st(d.scale.axis,o)+'('+nt('scale',d.scale.numbers,o,p)+')');e.style[r('transform')]=c}function dt(t){var e=t.getBoundingClientRect();return 0<=e.top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function ct(t){return-(t-St.distance)+'px'}function mt(t){requestAnimationFrame(function(){setTimeout(t,1)})}function ft(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 ht(t,e){return Array.isArray(t)?t[e]:t}function bt(t,e){t.forEach(function(t){t&&t.setAttribute('data-state',e)})}function ut(t,e){t.forEach(function(t){t&&(t.style[r('transitionDuration')]=e+'ms')})}function yt(t){void t.offsetHeight}function gt(t,e){return t.reduce(function(t,a){var i=ee,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 T({id:i,reference:a,popper:m,options:o,title:r,popperInstance:null});o.createPopperInstanceOnInit&&(f.popperInstance=$t.call(f),f.popperInstance.disableEventListeners());var h=Zt.call(f);return f.listeners=o.trigger.trim().split(' ').reduce(function(t,e){return t.concat(n(e,a,h,o))},[]),o.dynamicTitle&&te.call(f,{target:a,callback:function(){var t=d(m),e=t.content,i=a.getAttribute('title');i&&(e.innerHTML=f.title=i,c(a))},options:{attributes:!0}}),a._tippy=f,m._tippy=f,m._reference=a,t.push(f),ee++,t},[])}function wt(t){var e=a(document.querySelectorAll(Ct.POPPER));e.forEach(function(e){var a=e._tippy,i=a.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!t||e!==t.popper)&&a.hide()})}function xt(){var t=function(){At.usingTouch||(At.usingTouch=!0,At.iOS&&document.body.classList.add('tippy-touch'),At.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',a),At.onUserInputChange('touch'))},a=function(){var t;return function(){var e=performance.now();20>e-t&&(At.usingTouch=!1,document.removeEventListener('mousemove',a),!At.iOS&&document.body.classList.remove('tippy-touch'),At.onUserInputChange('mouse')),t=e}}();document.addEventListener('click',function(t){if(!(t.target instanceof Element))return wt();var e=ft(t.target,Ct.REFERENCE),a=ft(t.target,Ct.POPPER);if(!(a&&a._reference._tippy.options.interactive)){if(e){var i=e._tippy.options;if(!i.multiple&&At.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return wt(e._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}wt()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,a=t.activeElement;a&&a.blur&&e.call(a,Ct.REFERENCE)&&a.blur()}),!At.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function vt(e,a){return At.supported&&!At._eventListenersBound&&(xt(),At._eventListenersBound=!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=Xt({},St,a),{selector:e,options:a,tooltips:At.supported?gt(o(e),a):[],destroyAll:function(){this.tooltips.forEach(function(t){return t.destroy()}),this.tooltips=[]}}}var kt=Math.round,Et=Math.min,Tt=Math.floor,Lt=Math.max,Ot='undefined'!=typeof window,At={};Ot&&(At.supported='requestAnimationFrame'in window,At.supportsTouch='ontouchstart'in window,At.usingTouch=!1,At.dynamicInputDetection=!0,At.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,At.onUserInputChange=function(){},At._eventListenersBound=!1);for(var Ct={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},St={placement:'top',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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},Yt=At.supported&&Object.keys(St),_t=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},It=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}}(),Xt=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},Pt='undefined'!=typeof window&&'undefined'!=typeof document,Dt=['Edge','Trident','Firefox'],Nt=0,Ht=0;Ht<Dt.length;Ht+=1)if(Pt&&0<=navigator.userAgent.indexOf(Dt[Ht])){Nt=1;break}var i,Rt=Pt&&window.Promise,Mt=Rt?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()},Nt))}},Bt=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},Wt=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},zt=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}}(),Ut=function(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t},qt=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},Ft=['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'],jt=Ft.slice(3),Kt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Vt=function(){function t(e,a){var i=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Wt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Mt(this.update.bind(this)),this.options=qt({},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(qt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=qt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return qt({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 zt(t,[{key:'update',value:function(){return W.call(this)}},{key:'destroy',value:function(){return q.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return Q.call(this)}}]),t}();Vt.Utils=('undefined'==typeof window?global:window).PopperUtils,Vt.placements=Ft,Vt.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:Ut({},s,r[s]),end:Ut({},s,r[s]+r[l]-p[l])};t.offsets.popper=qt({},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=J(+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},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=_(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=Lt(r[t],i[t])),Ut({},t,a)},secondary:function(t){var a='right'===t?'left':'top',o=r[a];return r[t]>i[t]&&!e.escapeWithReference&&(o=Et(r[a],i[t]-('right'===t?r.width:r.height))),Ut({},a,o)}};return o.forEach(function(t){var e=-1===['left','top'].indexOf(t)?'secondary':'primary';r=qt({},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=Tt,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=D(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=Lt(Et(p[l]-b,x),0),t.arrowElement=i,t.offsets.arrow=(a={},Ut(a,c,kt(x)),Ut(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=_(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split('-')[0],o=N(i),r=t.placement.split('-')[1]||'',p=[];switch(e.behavior){case Kt.FLIP:p=[i,o];break;case Kt.CLOCKWISE:p=at(i);break;case Kt.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=Tt,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=qt({},t.offsets.popper,H(t.instance.popper,t.offsets.reference,t.placement)),t=B(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=R(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=R(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=A(l),c={position:o.position},m={left:Tt(o.left),top:Tt(o.top),bottom:Tt(o.bottom),right:Tt(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=qt({},w,t.attributes),t.styles=qt({},c,t.styles),t.arrowStyles=qt({},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=P(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 Gt={};if(Ot){var Qt=Element.prototype;Gt=Qt.matches||Qt.matchesSelector||Qt.webkitMatchesSelector||Qt.mozMatchesSelector||Qt.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=Gt,Jt=function(){function t(t){var e=ft(t.target,this.options.target);if(e&&!e._tippy){var a=e.getAttribute('title')||this.title;a&&(e.setAttribute('title',a),vt(e,Xt({},this.options,{target:null})),e._tippy.show())}}function e(e){var a=this;if(n.call(this),!this.state.visible){if(this.options.target)return void t.call(this,e);if(this._(f).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),e);this.options.followCursor&&!At.usingTouch&&(!this._(f).followCursorListener&&s.call(this),document.addEventListener('mousemove',this._(f).followCursorListener));var i=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;i?this._(f).showTimeout=setTimeout(function(){a.show()},i):this.show()}}function i(){var t=this;if(n.call(this),!!this.state.visible){this._(f).isPreparingToShow=!1;var e=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;e?this._(f).hideTimeout=setTimeout(function(){t.state.visible&&t.hide()},e):this.hide()}}function o(){var t=this,e=this.popper,a=this.reference,i=this.options,o=d(e),p=o.tooltip,n=i.popperOptions,s='round'===i.arrowType?Ct.ROUND_ARROW:Ct.ARROW,l=p.querySelector(s),m=Xt({placement:i.placement},n||{},{modifiers:Xt({},n?n.modifiers:{},{arrow:Xt({element:s},n&&n.modifiers?n.modifiers.arrow:{}),flip:Xt({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},n&&n.modifiers?n.modifiers.flip:{}),offset:Xt({offset:i.offset},n&&n.modifiers?n.modifiers.offset:{})}),onCreate:function(){p.style[rt(e)]=ct(i.distance),l&&i.arrowTransform&<(e,l,i.arrowTransform)},onUpdate:function(){var t=p.style;t.top='',t.bottom='',t.left='',t.right='',t[rt(e)]=ct(i.distance),l&&i.arrowTransform&<(e,l,i.arrowTransform)}});return c.call(this,{target:e,callback:function(){var a=e.style;a[r('transitionDuration')]=null;var o=t.popperInstance.options.onUpdate;t.popperInstance.options.onUpdate=function(){yt(t.popper),a[r('transitionDuration')]=i.updateDuration+'ms',t.popperInstance.options.onUpdate=o},t.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new Vt(a,e,m)}function p(t){var e=this;this.popperInstance?(this.popper.style[r('transform')]=null,this.popperInstance.scheduleUpdate(),(!this.options.followCursor||At.usingTouch)&&this.popperInstance.enableEventListeners()):this.popperInstance=o.call(this);var a=this.popperInstance.options.onCreate,i=this.popperInstance.options.onUpdate;this.popperInstance.options.onCreate=this.popperInstance.options.onUpdate=function(){yt(e.popper),t(),e.popperInstance.options.onUpdate=i,e.popperInstance.options.onCreate=a},this.options.appendTo.contains(this.popper)||this.options.appendTo.appendChild(this.popper)}function n(){var t=this._(f),e=t.showTimeout,a=t.hideTimeout;clearTimeout(e),clearTimeout(a)}function s(){var t=this;this._(f).followCursorListener=function(e){if(!(t._(f).lastTriggerEvent&&'focus'===t._(f).lastTriggerEvent.type)){t._(f).lastMouseMoveEvent=e;var a=document.documentElement.offsetWidth||document.body.offsetWidth,i=kt(t.popper.offsetWidth/2),o=kt(t.popper.offsetHeight/2),p=t.options.offset,n=e.pageX,s=e.pageY,l=5,d=t.options.placement.replace(/-.+/,'');t.popper.getAttribute('x-placement')&&(d=rt(t.popper));var c,m;'top'===d?(c=n-i+p,m=s-2*o):'bottom'===d?(c=n-i+p,m=s+10):'left'===d?(c=n-2*i,m=s-o+p):'right'===d?(c=n+5,m=s-o+p):void 0;('top'===d||'bottom'===d)&&(n+l+i+p>a&&(c=a-l-2*i),0>n-l-i+p&&(c=l)),t.popper.style[r('transform')]='translate3d('+c+'px, '+m+'px, 0)'}}}function l(){var t=this,e=function(){t.popper.style[r('transitionDuration')]=t.options.updateDuration+'ms'},a=function(){t.popper.style[r('transitionDuration')]=''};mt(function i(){t.popperInstance&&t.popperInstance.scheduleUpdate(),e(),t.state.visible?requestAnimationFrame(i):a()})}function c(t){var e=t.target,a=t.callback,i=t.options;if(window.MutationObserver){var o=new MutationObserver(a);o.observe(e,i),this._(f).mutationObservers.push(o)}}function m(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._(f).transitionendListener),o('add',r),this._(f).transitionendListener=r}var f={},h=function(t){return function(e){return e===f&&t}},b=function(){function t(e){for(var a in _t(this,t),e)this[a]=e[a];this.state={destroyed:!1,visible:!1,enabled:!0},this._=h({mutationObservers:[]})}return It(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,n=d(a),s=n.tooltip,c=n.backdrop,h=n.content;return o.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(o.onShow.call(a,this),t=ht(void 0===t?o.duration:t,0),ut([a,s,c],0),a.style.visibility='visible',this.state.visible=!0,p.call(this,function(){if(e.state.visible){if((!o.followCursor||At.usingTouch)&&(e.popperInstance.scheduleUpdate(),ut([a],o.updateDuration)),o.followCursor&&!At.usingTouch){e.popperInstance.disableEventListeners();var p=Array.isArray(o.delay)?o.delay[0]:o.delay;e._(f).lastTriggerEvent&&e._(f).followCursorListener(p&&e._(f).lastMouseMoveEvent?e._(f).lastMouseMoveEvent:e._(f).lastTriggerEvent)}ut([s,c,c?h:null],t),c&&getComputedStyle(c)[r('transform')],o.interactive&&i.classList.add('tippy-active'),o.sticky&&l.call(e),bt([s,c],'visible'),m.call(e,t,function(){o.updateDuration||s.classList.add('tippy-notransition'),o.interactive&&dt(i)&&a.focus(),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=ht(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,ut([p,n,n?s:null],t),bt([p,n],'hidden'),o.interactive&&-1<o.trigger.indexOf('click')&&dt(i)&&i.focus(),mt(function(){m.call(e,t,function(){e.state.visible||!o.appendTo.contains(a)||(!e._(f).isPreparingToShow&&(document.removeEventListener('mousemove',e._(f).followCursorListener),e._(f).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._(f).mutationObservers.forEach(function(t){t.disconnect()}),this.state.destroyed=!0}}}]),t}();return{Tippy:b,_getEventListeners:function(){var t=this;return{handleTrigger:function(a){if(t.state.enabled){var o=At.supportsTouch&&At.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(a.type);o&&t.options.touchHold||(t._(f).lastTriggerEvent=a,'click'===a.type&&'persistent'!==t.options.hideOnClick&&t.state.visible?i.call(t):e.call(t,a),o&&At.iOS&&t.reference.click&&t.reference.click())}},handleMouseLeave:function(e){if(!(-1<['mouseleave','mouseout'].indexOf(e.type)&&At.supportsTouch&&At.usingTouch&&t.options.touchHold)){if(t.options.interactive){var a=i.bind(t),o=function e(o){var r=ft(o.target,Ct.REFERENCE),p=ft(o.target,Ct.POPPER)===t.popper,n=r===t.reference;p||n||pt(o,t.popper,t.options)&&(document.body.removeEventListener('mouseleave',a),document.removeEventListener('mousemove',e),i.call(t))};return document.body.addEventListener('mouseleave',a),void document.addEventListener('mousemove',o)}i.call(t)}},handleBlur:function(e){!e.relatedTarget||At.usingTouch||ft(e.relatedTarget,Ct.POPPER)||i.call(t)},handleDelegateShow:function(a){ft(a.target,t.options.target)&&e.call(t,a)},handleDelegateHide:function(e){ft(e.target,t.options.target)&&i.call(t)}}},_addMutationObserver:c,_createPopperInstance:o,_onTransitionEnd:m}}(),T=Jt.Tippy,Zt=Jt._getEventListeners,$t=Jt._createPopperInstance,te=Jt._addMutationObserver,ee=1;return vt.browser=At,vt.defaults=St,function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'';if(Ot&&At.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}.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;margin:0 6px;-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 7px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 100%;transform-origin:0 100%}.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;margin:0 6px;-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 7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -100%;transform-origin:0 -100%}.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;margin:4px 0;-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:4px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:100% 0;transform-origin:100% 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;margin:4px 0;-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:4px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-100% 0;transform-origin:-100% 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)}}'),vt}); | ||
(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=[!1,'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=document.createElement('div');u.setAttribute('class','tippy-popper'),u.setAttribute('role','tooltip'),u.setAttribute('id','tippy-'+t),u.style.zIndex=f,u.style.maxWidth=b;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 g=document.createElement('div');g.style[r('transform')]=p,'round'===o?(g.classList.add('tippy-roundarrow'),g.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):g.classList.add('tippy-arrow'),y.appendChild(g)}if(n){y.setAttribute('data-animatefill','');var w=document.createElement('div');w.setAttribute('data-state','hidden'),w.classList.add('tippy-backdrop'),y.appendChild(w)}s&&y.setAttribute('data-inertia',''),h&&y.setAttribute('data-interactive','');var x=document.createElement('div');if(x.setAttribute('class','tippy-content'),m){var v;m instanceof Element?(x.appendChild(m),v='#'+m.id||'tippy-html-template'):(x.innerHTML=document.querySelector(m).innerHTML,v=m),u.setAttribute('data-html',''),h&&u.setAttribute('tabindex','-1'),y.setAttribute('data-template-id',v)}else x.innerHTML=e;return y.appendChild(x),u.appendChild(y),u}function n(t,e,a,i){var o=a.handleTrigger,r=a.handleMouseLeave,p=a.handleBlur,n=a.handleDelegateShow,s=a.handleDelegateHide,l=[];if('manual'===t)return l;var d=function(t,a){e.addEventListener(t,a),l.push({event:t,handler:a})};return i.target?(At.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),At.supportsTouch&&i.touchHold&&(d('touchstart',o),d('touchend',r)),'mouseenter'===t&&d('mouseleave',r),'focus'===t&&d('blur',p)),l}function s(t,e){var a=Yt.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 It({},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){return{tooltip:t.querySelector(Ct.TOOLTIP),backdrop:t.querySelector(Ct.BACKDROP),content:t.querySelector(Ct.CONTENT)}}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 Lt(e['offset'+t],e['scroll'+t],a['client'+t],a['offset'+t],a['scroll'+t],Bt()?a['offset'+t]+i['margin'+('Height'===t?'Top':'Left')]+i['margin'+('Height'===t?'Bottom':'Right')]:0)}function L(){var t=document.body,e=document.documentElement,a=Bt()&&getComputedStyle(e);return{height:E('Height',t,e,a),width:E('Width',t,e,a)}}function O(t){return qt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function A(t){var e={};if(Bt())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?L():{},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 C(t,e){var a=Bt(),i='HTML'===e.nodeName,o=A(t),r=A(e),p=b(t),n=f(e),s=parseFloat(n.borderTopWidth,10),l=parseFloat(n.borderLeftWidth,10),d=O({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 S(t){var e=t.ownerDocument.documentElement,a=C(t,e),i=Lt(e.clientWidth,window.innerWidth||0),o=Lt(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 O(n)}function Y(t){var e=t.nodeName;return'BODY'===e||'HTML'===e?!1:'fixed'===f(t,'position')||Y(h(t))}function X(t,e,a,i){var o={top:0,left:0},r=w(t,e);if('viewport'===i)o=S(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=C(p,r);if('HTML'===p.nodeName&&!Y(r)){var s=L(),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 _(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=X(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 qt({key:t},n[t],{area:_(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 P(t,e,a){var i=w(e,a);return C(a,i)}function D(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 H(t,e,a){a=a.split('-')[0];var i=D(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 R(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=R(t,function(t){return t[e]===a});return t.indexOf(i)}function B(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 W(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(this.state,this.popper,this.reference),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.offsets.popper=H(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position='absolute',t=B(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-1;o++){var i=e[o],r=i?''+i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function q(){return this.state.isDestroyed=!0,z(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[U('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 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,F(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 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 Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}function J(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)&&J(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 tt(t,e,a){var i=R(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=jt.indexOf(t),i=jt.slice(a+1).concat(jt.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?Lt(document.documentElement.clientHeight,window.innerHeight||0):Lt(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(R(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],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){J(a)&&(o[e]+=a*('-'===t[i-1]?-1:1))})}),o}function rt(t){return t.getAttribute('x-placement').replace(/-.+/,'')}function pt(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=rt(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 nt(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 st(t,e){if(!t)return'';return e?t:{X:'Y',Y:'X'}[t]}function lt(t,e,a){var i=rt(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'+st(d.translate.axis,o)+'('+nt('translate',d.translate.numbers,o,p)+')').replace(l.scale,'scale'+st(d.scale.axis,o)+'('+nt('scale',d.scale.numbers,o,p)+')');e.style[r('transform')]=c}function dt(t){return-(t-St.distance)+'px'}function ct(t){requestAnimationFrame(function(){setTimeout(t,1)})}function mt(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 ft(t,e){return Array.isArray(t)?t[e]:t}function ht(t,e){t.forEach(function(t){t&&t.setAttribute('data-state',e)})}function bt(t,e){t.forEach(function(t){t&&(t.style[r('transitionDuration')]=e+'ms')})}function ut(t){void t.offsetHeight}function yt(t){var e=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;t.focus(),scroll(e,a)}function gt(t,e){return t.reduce(function(t,a){var i=ee,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 T({id:i,reference:a,popper:m,options:o,title:r,popperInstance:null});o.createPopperInstanceOnInit&&(f.popperInstance=$t.call(f),f.popperInstance.disableEventListeners());var h=Zt.call(f);return f.listeners=o.trigger.trim().split(' ').reduce(function(t,e){return t.concat(n(e,a,h,o))},[]),o.dynamicTitle&&te.call(f,{target:a,callback:function(){var t=d(m),e=t.content,i=a.getAttribute('title');i&&(e.innerHTML=f.title=i,c(a))},options:{attributes:!0}}),a._tippy=f,m._tippy=f,m._reference=a,t.push(f),ee++,t},[])}function wt(t){var e=a(document.querySelectorAll(Ct.POPPER));e.forEach(function(e){var a=e._tippy,i=a.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!t||e!==t.popper)&&a.hide()})}function xt(){var t=function(){At.usingTouch||(At.usingTouch=!0,At.iOS&&document.body.classList.add('tippy-touch'),At.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',a),At.onUserInputChange('touch'))},a=function(){var t;return function(){var e=performance.now();20>e-t&&(At.usingTouch=!1,document.removeEventListener('mousemove',a),!At.iOS&&document.body.classList.remove('tippy-touch'),At.onUserInputChange('mouse')),t=e}}();document.addEventListener('click',function(t){if(!(t.target instanceof Element))return wt();var e=mt(t.target,Ct.REFERENCE),a=mt(t.target,Ct.POPPER);if(!(a&&a._reference._tippy.options.interactive)){if(e){var i=e._tippy.options;if(!i.multiple&&At.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return wt(e._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}wt()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,a=t.activeElement;a&&a.blur&&e.call(a,Ct.REFERENCE)&&a.blur()}),!At.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function vt(e,a){return At.supported&&!At._eventListenersBound&&(xt(),At._eventListenersBound=!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=It({},St,a),{selector:e,options:a,tooltips:At.supported?gt(o(e),a):[],destroyAll:function(){this.tooltips.forEach(function(t){return t.destroy()}),this.tooltips=[]}}}var kt=Math.round,Et=Math.min,Tt=Math.floor,Lt=Math.max,Ot='undefined'!=typeof window,At={};Ot&&(At.supported='requestAnimationFrame'in window,At.supportsTouch='ontouchstart'in window,At.usingTouch=!1,At.dynamicInputDetection=!0,At.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,At.onUserInputChange=function(){},At._eventListenersBound=!1);for(var Ct={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},St={placement:'top',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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},Yt=At.supported&&Object.keys(St),Xt=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},_t=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}}(),It=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},Pt='undefined'!=typeof window&&'undefined'!=typeof document,Dt=['Edge','Trident','Firefox'],Nt=0,Ht=0;Ht<Dt.length;Ht+=1)if(Pt&&0<=navigator.userAgent.indexOf(Dt[Ht])){Nt=1;break}var i,Rt=Pt&&window.Promise,Mt=Rt?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()},Nt))}},Bt=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},Wt=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},zt=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}}(),Ut=function(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t},qt=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},Ft=['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'],jt=Ft.slice(3),Kt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Vt=function(){function t(e,a){var i=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Wt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Mt(this.update.bind(this)),this.options=qt({},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(qt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=qt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return qt({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 zt(t,[{key:'update',value:function(){return W.call(this)}},{key:'destroy',value:function(){return q.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return Q.call(this)}}]),t}();Vt.Utils=('undefined'==typeof window?global:window).PopperUtils,Vt.placements=Ft,Vt.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:Ut({},s,r[s]),end:Ut({},s,r[s]+r[l]-p[l])};t.offsets.popper=qt({},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=J(+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},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=X(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=Lt(r[t],i[t])),Ut({},t,a)},secondary:function(t){var a='right'===t?'left':'top',o=r[a];return r[t]>i[t]&&!e.escapeWithReference&&(o=Et(r[a],i[t]-('right'===t?r.width:r.height))),Ut({},a,o)}};return o.forEach(function(t){var e=-1===['left','top'].indexOf(t)?'secondary':'primary';r=qt({},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=Tt,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=D(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=Lt(Et(p[l]-b,x),0),t.arrowElement=i,t.offsets.arrow=(a={},Ut(a,c,kt(x)),Ut(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=X(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split('-')[0],o=N(i),r=t.placement.split('-')[1]||'',p=[];switch(e.behavior){case Kt.FLIP:p=[i,o];break;case Kt.CLOCKWISE:p=at(i);break;case Kt.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=Tt,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=qt({},t.offsets.popper,H(t.instance.popper,t.offsets.reference,t.placement)),t=B(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=R(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=R(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=A(l),c={position:o.position},m={left:Tt(o.left),top:Tt(o.top),bottom:Tt(o.bottom),right:Tt(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=qt({},w,t.attributes),t.styles=qt({},c,t.styles),t.arrowStyles=qt({},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=P(o,e,t),p=I(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 Gt={};if(Ot){var Qt=Element.prototype;Gt=Qt.matches||Qt.matchesSelector||Qt.webkitMatchesSelector||Qt.mozMatchesSelector||Qt.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=Gt,Jt=function(){function t(t){var e=mt(t.target,this.options.target);if(e&&!e._tippy){var a=e.getAttribute('title')||this.title;a&&(e.setAttribute('title',a),vt(e,It({},this.options,{target:null})),e._tippy.show())}}function e(e){var a=this;if(n.call(this),!this.state.visible){if(this.options.target)return void t.call(this,e);if(this._(f).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),e);this.options.followCursor&&!At.usingTouch&&(!this._(f).followCursorListener&&s.call(this),document.addEventListener('mousemove',this._(f).followCursorListener));var i=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;i?this._(f).showTimeout=setTimeout(function(){a.show()},i):this.show()}}function i(){var t=this;if(n.call(this),!!this.state.visible){this._(f).isPreparingToShow=!1;var e=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;e?this._(f).hideTimeout=setTimeout(function(){t.state.visible&&t.hide()},e):this.hide()}}function o(){var t=this,e=this.popper,a=this.reference,i=this.options,o=d(e),p=o.tooltip,n=i.popperOptions,s='round'===i.arrowType?Ct.ROUND_ARROW:Ct.ARROW,l=p.querySelector(s),m=It({placement:i.placement},n||{},{modifiers:It({},n?n.modifiers:{},{arrow:It({element:s},n&&n.modifiers?n.modifiers.arrow:{}),flip:It({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},n&&n.modifiers?n.modifiers.flip:{}),offset:It({offset:i.offset},n&&n.modifiers?n.modifiers.offset:{})}),onCreate:function(){p.style[rt(e)]=dt(i.distance),l&&i.arrowTransform&<(e,l,i.arrowTransform)},onUpdate:function(){var t=p.style;t.top='',t.bottom='',t.left='',t.right='',t[rt(e)]=dt(i.distance),l&&i.arrowTransform&<(e,l,i.arrowTransform)}});return c.call(this,{target:e,callback:function(){var a=e.style;a[r('transitionDuration')]=null;var o=t.popperInstance.options.onUpdate;t.popperInstance.options.onUpdate=function(){ut(t.popper),a[r('transitionDuration')]=i.updateDuration+'ms',t.popperInstance.options.onUpdate=o},t.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new Vt(a,e,m)}function p(t){var e=this;this.popperInstance?(this.popper.style[r('transform')]=null,this.popperInstance.scheduleUpdate(),(!this.options.followCursor||At.usingTouch)&&this.popperInstance.enableEventListeners()):this.popperInstance=o.call(this);var a=this.popperInstance.options.onCreate,i=this.popperInstance.options.onUpdate;this.popperInstance.options.onCreate=this.popperInstance.options.onUpdate=function(){ut(e.popper),t(),e.popperInstance.options.onUpdate=i,e.popperInstance.options.onCreate=a},this.options.appendTo.contains(this.popper)||this.options.appendTo.appendChild(this.popper)}function n(){var t=this._(f),e=t.showTimeout,a=t.hideTimeout;clearTimeout(e),clearTimeout(a)}function s(){var t=this;this._(f).followCursorListener=function(e){if(!(t._(f).lastTriggerEvent&&'focus'===t._(f).lastTriggerEvent.type)){t._(f).lastMouseMoveEvent=e;var a=document.documentElement.offsetWidth||document.body.offsetWidth,i=kt(t.popper.offsetWidth/2),o=kt(t.popper.offsetHeight/2),p=t.options.offset,n=e.pageX,s=e.pageY,l=5,d=t.options.placement.replace(/-.+/,'');t.popper.getAttribute('x-placement')&&(d=rt(t.popper));var c,m;'top'===d?(c=n-i+p,m=s-2*o):'bottom'===d?(c=n-i+p,m=s+10):'left'===d?(c=n-2*i,m=s-o+p):'right'===d?(c=n+5,m=s-o+p):void 0;('top'===d||'bottom'===d)&&(n+l+i+p>a&&(c=a-l-2*i),0>n-l-i+p&&(c=l)),t.popper.style[r('transform')]='translate3d('+c+'px, '+m+'px, 0)'}}}function l(){var t=this,e=function(){t.popper.style[r('transitionDuration')]=t.options.updateDuration+'ms'},a=function(){t.popper.style[r('transitionDuration')]=''};ct(function i(){t.popperInstance&&t.popperInstance.scheduleUpdate(),e(),t.state.visible?requestAnimationFrame(i):a()})}function c(t){var e=t.target,a=t.callback,i=t.options;if(window.MutationObserver){var o=new MutationObserver(a);o.observe(e,i),this._(f).mutationObservers.push(o)}}function m(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._(f).transitionendListener),o('add',r),this._(f).transitionendListener=r}var f={},h=function(t){return function(e){return e===f&&t}},b=function(){function t(e){for(var a in Xt(this,t),e)this[a]=e[a];this.state={destroyed:!1,visible:!1,enabled:!0},this._=h({mutationObservers:[]})}return _t(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,n=d(a),s=n.tooltip,c=n.backdrop,h=n.content;return o.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(o.onShow.call(a,this),t=ft(void 0===t?o.duration:t,0),bt([a,s,c],0),a.style.visibility='visible',this.state.visible=!0,p.call(this,function(){if(e.state.visible){if((!o.followCursor||At.usingTouch)&&(e.popperInstance.scheduleUpdate(),bt([a],o.updateDuration)),o.followCursor&&!At.usingTouch){e.popperInstance.disableEventListeners();var p=Array.isArray(o.delay)?o.delay[0]:o.delay;e._(f).lastTriggerEvent&&e._(f).followCursorListener(p&&e._(f).lastMouseMoveEvent?e._(f).lastMouseMoveEvent:e._(f).lastTriggerEvent)}bt([s,c,c?h:null],t),c&&getComputedStyle(c)[r('transform')],o.interactive&&i.classList.add('tippy-active'),o.sticky&&l.call(e),ht([s,c],'visible'),m.call(e,t,function(){o.updateDuration||s.classList.add('tippy-notransition'),o.interactive&&yt(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=ft(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,bt([p,n,n?s:null],t),ht([p,n],'hidden'),o.interactive&&-1<o.trigger.indexOf('click')&&yt(i),ct(function(){m.call(e,t,function(){e.state.visible||!o.appendTo.contains(a)||(!e._(f).isPreparingToShow&&(document.removeEventListener('mousemove',e._(f).followCursorListener),e._(f).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._(f).mutationObservers.forEach(function(t){t.disconnect()}),this.state.destroyed=!0}}}]),t}();return{Tippy:b,_getEventListeners:function(){var t=this;return{handleTrigger:function(a){if(t.state.enabled){var o=At.supportsTouch&&At.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(a.type);o&&t.options.touchHold||(t._(f).lastTriggerEvent=a,'click'===a.type&&'persistent'!==t.options.hideOnClick&&t.state.visible?i.call(t):e.call(t,a),o&&At.iOS&&t.reference.click&&t.reference.click())}},handleMouseLeave:function(e){if(!(-1<['mouseleave','mouseout'].indexOf(e.type)&&At.supportsTouch&&At.usingTouch&&t.options.touchHold)){if(t.options.interactive){var a=i.bind(t),o=function e(o){var r=mt(o.target,Ct.REFERENCE),p=mt(o.target,Ct.POPPER)===t.popper,n=r===t.reference;p||n||pt(o,t.popper,t.options)&&(document.body.removeEventListener('mouseleave',a),document.removeEventListener('mousemove',e),i.call(t))};return document.body.addEventListener('mouseleave',a),void document.addEventListener('mousemove',o)}i.call(t)}},handleBlur:function(e){!e.relatedTarget||At.usingTouch||mt(e.relatedTarget,Ct.POPPER)||i.call(t)},handleDelegateShow:function(a){mt(a.target,t.options.target)&&e.call(t,a)},handleDelegateHide:function(e){mt(e.target,t.options.target)&&i.call(t)}}},_addMutationObserver:c,_createPopperInstance:o,_onTransitionEnd:m}}(),T=Jt.Tippy,Zt=Jt._getEventListeners,$t=Jt._createPopperInstance,te=Jt._addMutationObserver,ee=1;return vt.browser=At,vt.defaults=St,function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'';if(Ot&&At.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}.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;margin:0 6px;-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 7px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 100%;transform-origin:0 100%}.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;margin:0 6px;-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 7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -100%;transform-origin:0 -100%}.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;margin:4px 0;-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:4px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:100% 0;transform-origin:100% 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;margin:4px 0;-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:4px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-100% 0;transform-origin:-100% 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)}}'),vt}); |
@@ -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=[!1,'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=o.arrow,n=o.arrowType,s=o.arrowTransform,a=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=document.createElement('div');g.setAttribute('class','tippy-popper'),g.setAttribute('role','tooltip'),g.setAttribute('id','tippy-'+e),g.style.zIndex=m,g.style.maxWidth=h;var b=document.createElement('div');if(b.setAttribute('class','tippy-tooltip'),b.setAttribute('data-size',d),b.setAttribute('data-animation',l),b.setAttribute('data-state','hidden'),c.split(' ').forEach(function(e){b.classList.add(e+'-theme')}),i){var y=document.createElement('div');y.style[r('transform')]=s,'round'===n?(y.classList.add('tippy-roundarrow'),y.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):y.classList.add('tippy-arrow'),b.appendChild(y)}if(a){b.setAttribute('data-animatefill','');var v=document.createElement('div');v.setAttribute('data-state','hidden'),v.classList.add('tippy-backdrop'),b.appendChild(v)}p&&b.setAttribute('data-inertia',''),u&&b.setAttribute('data-interactive','');var w=document.createElement('div');if(w.setAttribute('class','tippy-content'),f){var E;f instanceof Element?(w.appendChild(f),E='#'+f.id||'tippy-html-template'):(w.innerHTML=document.querySelector(f).innerHTML,E=f),g.setAttribute('data-html',''),u&&g.setAttribute('tabindex','-1'),b.setAttribute('data-template-id',E)}else w.innerHTML=t;return b.appendChild(w),g.appendChild(b),g}function a(e,t,o,i){var n=o.handleTrigger,r=o.handleMouseLeave,s=o.handleBlur,a=o.handleDelegateShow,p=o.handleDelegateHide,l=[];if('manual'===e)return l;var d=function(e,o){t.addEventListener(e,o),l.push({event:e,handler:o})};return i.target?(Ae.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),Ae.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',r)),'mouseenter'===e&&d('mouseleave',r),'focus'===e&&d('blur',s)),l}function p(e,t){var o=_e.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 De({},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){return{tooltip:e.querySelector(Ce.TOOLTIP),backdrop:e.querySelector(Ce.BACKDROP),content:e.querySelector(Ce.CONTENT)}}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 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 L(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 xe(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],Ue()?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function x(){var e=document.body,t=document.documentElement,o=Ue()&&getComputedStyle(t);return{height:O('Height',e,t,o),width:O('Width',e,t,o)}}function k(e){return ze({},e,{right:e.left+e.width,bottom:e.top+e.height})}function A(e){var t={};if(Ue())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?x():{},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-=L(d,'x'),l-=L(d,'y'),n.width-=p,n.height-=l}return k(n)}function C(e,t){var o=Ue(),i='HTML'===t.nodeName,n=A(e),r=A(t),s=h(e),a=m(t),p=parseFloat(a.borderTopWidth,10),l=parseFloat(a.borderLeftWidth,10),d=k({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(a.marginTop,10),f=parseFloat(a.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(s):t===s&&'BODY'!==s.nodeName)&&(d=E(d,t)),d}function S(e){var t=e.ownerDocument.documentElement,o=C(e,t),i=xe(t.clientWidth,window.innerWidth||0),n=xe(t.clientHeight,window.innerHeight||0),r=w(t),s=w(t,'left'),a={top:r-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:i,height:n};return k(a)}function _(e){var t=e.nodeName;return'BODY'===t||'HTML'===t?!1:'fixed'===m(e,'position')||_(u(e))}function I(e,t,o,i){var n={top:0,left:0},r=v(e,t);if('viewport'===i)n=S(r);else{var s;'scrollParent'===i?(s=h(u(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===i?s=e.ownerDocument.documentElement:s=i;var a=C(s,r);if('HTML'===s.nodeName&&!_(r)){var p=x(),l=p.height,d=p.width;n.top+=a.top-a.marginTop,n.bottom=l+a.top,n.left+=a.left-a.marginLeft,n.right=d+a.left}else n=a}return n.left+=o,n.top+=o,n.right-=o,n.bottom-=o,n}function P(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 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 ze({key:e},a[e],{area:P(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 H(e,t,o){var i=v(t,o);return C(o,i)}function N(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 R(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=N(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[R(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=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=o(t,e))}),t}function q(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=H(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=M(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position='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 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 z(){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 j(e){var t=e.ownerDocument;return t?t.defaultView:window}function K(e,t,o,i){var n='BODY'===e.nodeName,r=n?e.ownerDocument.defaultView:e;r.addEventListener(t,o,{passive:!0}),n||K(h(r.parentNode),t,o,i),i.push(r)}function X(e,t,o,i){o.updateBound=i,j(e).addEventListener('resize',o.updateBound,{passive:!0});var n=h(e);return K(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function V(){this.state.eventsEnabled||(this.state=X(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 J(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(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 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=Ke.indexOf(e),i=Ke.slice(o+1).concat(Ke.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=k(a);return p[t]/100*r}if('vh'===s||'vw'===s){var l;return l='vh'===s?xe(document.documentElement.clientHeight,window.innerHeight||0):xe(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],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){Q(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function se(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function re(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=se(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 ae(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 pe(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function le(e,t,o){var i=se(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'+pe(d.translate.axis,n)+'('+ae('translate',d.translate.numbers,n,s)+')').replace(l.scale,'scale'+pe(d.scale.axis,n)+'('+ae('scale',d.scale.numbers,n,s)+')');t.style[r('transform')]=c}function de(e){var t=e.getBoundingClientRect();return 0<=t.top&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function ce(e){return-(e-Se.distance)+'px'}function fe(e){requestAnimationFrame(function(){setTimeout(e,1)})}function me(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 ue(e,t){return Array.isArray(e)?e[t]:e}function he(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function ge(e,t){e.forEach(function(e){e&&(e.style[r('transitionDuration')]=t+'ms')})}function be(e){void e.offsetHeight}function ye(e,t){return e.reduce(function(e,o){var i=tt,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 T({id:i,reference:o,popper:f,options:n,title:r,popperInstance:null});n.createPopperInstanceOnInit&&(m.popperInstance=$e.call(m),m.popperInstance.disableEventListeners());var u=Ze.call(m);return m.listeners=n.trigger.trim().split(' ').reduce(function(e,t){return e.concat(a(t,o,u,n))},[]),n.dynamicTitle&&et.call(m,{target:o,callback:function(){var e=d(f),t=e.content,i=o.getAttribute('title');i&&(t.innerHTML=m.title=i,c(o))},options:{attributes:!0}}),o._tippy=m,f._tippy=m,f._reference=o,e.push(m),tt++,e},[])}function ve(e){var t=o(document.querySelectorAll(Ce.POPPER));t.forEach(function(t){var o=t._tippy,i=o.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&o.hide()})}function we(){var t=function(){Ae.usingTouch||(Ae.usingTouch=!0,Ae.iOS&&document.body.classList.add('tippy-touch'),Ae.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',o),Ae.onUserInputChange('touch'))},o=function(){var e;return function(){var t=performance.now();20>t-e&&(Ae.usingTouch=!1,document.removeEventListener('mousemove',o),!Ae.iOS&&document.body.classList.remove('tippy-touch'),Ae.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return ve();var t=me(e.target,Ce.REFERENCE),o=me(e.target,Ce.POPPER);if(!(o&&o._reference._tippy.options.interactive)){if(t){var i=t._tippy.options;if(!i.multiple&&Ae.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return ve(t._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}ve()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,o=t.activeElement;o&&o.blur&&e.call(o,Ce.REFERENCE)&&o.blur()}),!Ae.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Ee(e,o){return Ae.supported&&!Ae._eventListenersBound&&(we(),Ae._eventListenersBound=!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=De({},Se,o),{selector:e,options:o,tooltips:Ae.supported?ye(n(e),o):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var Te=Math.round,Le=Math.min,Oe=Math.floor,xe=Math.max,ke='undefined'!=typeof window,Ae={};ke&&(Ae.supported='requestAnimationFrame'in window,Ae.supportsTouch='ontouchstart'in window,Ae.usingTouch=!1,Ae.dynamicInputDetection=!0,Ae.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Ae.onUserInputChange=function(){},Ae._eventListenersBound=!1);for(var Ce={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},Se={placement:'top',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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},_e=Ae.supported&&Object.keys(Se),Ie=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Pe=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}}(),De=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},He='undefined'!=typeof window&&'undefined'!=typeof document,Ne=['Edge','Trident','Firefox'],Re=0,Me=0;Me<Ne.length;Me+=1)if(He&&0<=navigator.userAgent.indexOf(Ne[Me])){Re=1;break}var i,We=He&&window.Promise,Be=We?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()},Re))}},Ue=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},qe=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ye=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}}(),Fe=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},ze=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},je=['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'],Ke=je.slice(3),Xe={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ve=function(){function e(t,o){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};qe(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Be(this.update.bind(this)),this.options=ze({},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(ze({},e.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=ze({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ze({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 Ye(e,[{key:'update',value:function(){return q.call(this)}},{key:'destroy',value:function(){return z.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return J.call(this)}}]),e}();Ve.Utils=('undefined'==typeof window?global:window).PopperUtils,Ve.placements=je,Ve.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,s=n.popper,a=-1!==['bottom','top'].indexOf(o),p=a?'left':'top',l=a?'width':'height',d={start:Fe({},p,r[p]),end:Fe({},p,r[p]+r[l]-s[l])};e.offsets.popper=ze({},s,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(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=Q(+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},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);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=xe(r[e],i[e])),Fe({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=r[o];return r[e]>i[e]&&!t.escapeWithReference&&(n=Le(r[o],i[e]-('right'===e?r.width:r.height))),Fe({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';r=ze({},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=Oe,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=N(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=k(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=xe(Le(s[l]-h,w),0),e.arrowElement=i,e.offsets.arrow=(o={},Fe(o,c,Te(w)),Fe(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),i=e.placement.split('-')[0],n=R(i),r=e.placement.split('-')[1]||'',s=[];switch(t.behavior){case Xe.FLIP:s=[i,n];break;case Xe.CLOCKWISE:s=oe(i);break;case Xe.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=R(i);var l=e.offsets.popper,d=e.offsets.reference,c=Oe,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=ze({},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=R(t),e.offsets.popper=k(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:Oe(n.left),top:Oe(n.top),bottom:Oe(n.bottom),right:Oe(n.right)},m='bottom'===o?'top':'bottom',u='right'===i?'left':'right',h=F('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=ze({},v,e.attributes),e.styles=ze({},c,e.styles),e.arrowStyles=ze({},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=H(n,t,e),s=D(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',s),Z(t,{position:'absolute'}),o},gpuAcceleration:void 0}}};var Ge={};if(ke){var Je=Element.prototype;Ge=Je.matches||Je.matchesSelector||Je.webkitMatchesSelector||Je.mozMatchesSelector||Je.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=Ge,Qe=function(){function e(e){var t=me(e.target,this.options.target);if(t&&!t._tippy){var o=t.getAttribute('title')||this.title;o&&(t.setAttribute('title',o),Ee(t,De({},this.options,{target:null})),t._tippy.show())}}function t(t){var o=this;if(a.call(this),!this.state.visible){if(this.options.target)return void e.call(this,t);if(this._(m).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),t);this.options.followCursor&&!Ae.usingTouch&&(!this._(m).followCursorListener&&p.call(this),document.addEventListener('mousemove',this._(m).followCursorListener));var i=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;i?this._(m).showTimeout=setTimeout(function(){o.show()},i):this.show()}}function i(){var e=this;if(a.call(this),!!this.state.visible){this._(m).isPreparingToShow=!1;var t=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;t?this._(m).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function n(){var e=this,t=this.popper,o=this.reference,i=this.options,n=d(t),s=n.tooltip,a=i.popperOptions,p='round'===i.arrowType?Ce.ROUND_ARROW:Ce.ARROW,l=s.querySelector(p),f=De({placement:i.placement},a||{},{modifiers:De({},a?a.modifiers:{},{arrow:De({element:p},a&&a.modifiers?a.modifiers.arrow:{}),flip:De({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},a&&a.modifiers?a.modifiers.flip:{}),offset:De({offset:i.offset},a&&a.modifiers?a.modifiers.offset:{})}),onCreate:function(){s.style[se(t)]=ce(i.distance),l&&i.arrowTransform&&le(t,l,i.arrowTransform)},onUpdate:function(){var e=s.style;e.top='',e.bottom='',e.left='',e.right='',e[se(t)]=ce(i.distance),l&&i.arrowTransform&&le(t,l,i.arrowTransform)}});return c.call(this,{target:t,callback:function(){var o=t.style;o[r('transitionDuration')]=null;var n=e.popperInstance.options.onUpdate;e.popperInstance.options.onUpdate=function(){be(e.popper),o[r('transitionDuration')]=i.updateDuration+'ms',e.popperInstance.options.onUpdate=n},e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new Ve(o,t,f)}function s(e){var t=this;this.popperInstance?(this.popper.style[r('transform')]=null,this.popperInstance.scheduleUpdate(),(!this.options.followCursor||Ae.usingTouch)&&this.popperInstance.enableEventListeners()):this.popperInstance=n.call(this);var o=this.popperInstance.options.onCreate,i=this.popperInstance.options.onUpdate;this.popperInstance.options.onCreate=this.popperInstance.options.onUpdate=function(){be(t.popper),e(),t.popperInstance.options.onUpdate=i,t.popperInstance.options.onCreate=o},this.options.appendTo.contains(this.popper)||this.options.appendTo.appendChild(this.popper)}function a(){var e=this._(m),t=e.showTimeout,o=e.hideTimeout;clearTimeout(t),clearTimeout(o)}function p(){var e=this;this._(m).followCursorListener=function(t){if(!(e._(m).lastTriggerEvent&&'focus'===e._(m).lastTriggerEvent.type)){e._(m).lastMouseMoveEvent=t;var o=document.documentElement.offsetWidth||document.body.offsetWidth,i=Te(e.popper.offsetWidth/2),n=Te(e.popper.offsetHeight/2),s=e.options.offset,a=t.pageX,p=t.pageY,l=5,d=e.options.placement.replace(/-.+/,'');e.popper.getAttribute('x-placement')&&(d=se(e.popper));var c,f;'top'===d?(c=a-i+s,f=p-2*n):'bottom'===d?(c=a-i+s,f=p+10):'left'===d?(c=a-2*i,f=p-n+s):'right'===d?(c=a+5,f=p-n+s):void 0;('top'===d||'bottom'===d)&&(a+l+i+s>o&&(c=o-l-2*i),0>a-l-i+s&&(c=l)),e.popper.style[r('transform')]='translate3d('+c+'px, '+f+'px, 0)'}}}function l(){var e=this,t=function(){e.popper.style[r('transitionDuration')]=e.options.updateDuration+'ms'},o=function(){e.popper.style[r('transitionDuration')]=''};fe(function i(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(i):o()})}function c(e){var t=e.target,o=e.callback,i=e.options;if(window.MutationObserver){var n=new MutationObserver(o);n.observe(t,i),this._(m).mutationObservers.push(n)}}function f(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._(m).transitionendListener),n('add',r),this._(m).transitionendListener=r}var m={},u=function(e){return function(t){return t===m&&e}},h=function(){function e(t){for(var o in Ie(this,e),t)this[o]=t[o];this.state={destroyed:!1,visible:!1,enabled:!0},this._=u({mutationObservers:[]})}return Pe(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),p=a.tooltip,c=a.backdrop,u=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=ue(void 0===e?n.duration:e,0),ge([o,p,c],0),o.style.visibility='visible',this.state.visible=!0,s.call(this,function(){if(t.state.visible){if((!n.followCursor||Ae.usingTouch)&&(t.popperInstance.scheduleUpdate(),ge([o],n.updateDuration)),n.followCursor&&!Ae.usingTouch){t.popperInstance.disableEventListeners();var s=Array.isArray(n.delay)?n.delay[0]:n.delay;t._(m).lastTriggerEvent&&t._(m).followCursorListener(s&&t._(m).lastMouseMoveEvent?t._(m).lastMouseMoveEvent:t._(m).lastTriggerEvent)}ge([p,c,c?u:null],e),c&&getComputedStyle(c)[r('transform')],n.interactive&&i.classList.add('tippy-active'),n.sticky&&l.call(t),he([p,c],'visible'),f.call(t,e,function(){n.updateDuration||p.classList.add('tippy-notransition'),n.interactive&&de(i)&&o.focus(),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=ue(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,ge([s,a,a?p:null],e),he([s,a],'hidden'),n.interactive&&-1<n.trigger.indexOf('click')&&de(i)&&i.focus(),fe(function(){f.call(t,e,function(){t.state.visible||!n.appendTo.contains(o)||(!t._(m).isPreparingToShow&&(document.removeEventListener('mousemove',t._(m).followCursorListener),t._(m).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._(m).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}();return{Tippy:h,_getEventListeners:function(){var e=this;return{handleTrigger:function(o){if(e.state.enabled){var n=Ae.supportsTouch&&Ae.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(o.type);n&&e.options.touchHold||(e._(m).lastTriggerEvent=o,'click'===o.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?i.call(e):t.call(e,o),n&&Ae.iOS&&e.reference.click&&e.reference.click())}},handleMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&Ae.supportsTouch&&Ae.usingTouch&&e.options.touchHold)){if(e.options.interactive){var o=i.bind(e),n=function t(n){var r=me(n.target,Ce.REFERENCE),s=me(n.target,Ce.POPPER)===e.popper,a=r===e.reference;s||a||re(n,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',o),document.removeEventListener('mousemove',t),i.call(e))};return document.body.addEventListener('mouseleave',o),void document.addEventListener('mousemove',n)}i.call(e)}},handleBlur:function(t){!t.relatedTarget||Ae.usingTouch||me(t.relatedTarget,Ce.POPPER)||i.call(e)},handleDelegateShow:function(o){me(o.target,e.options.target)&&t.call(e,o)},handleDelegateHide:function(t){me(t.target,e.options.target)&&i.call(e)}}},_addMutationObserver:c,_createPopperInstance:n,_onTransitionEnd:f}}(),T=Qe.Tippy,Ze=Qe._getEventListeners,$e=Qe._createPopperInstance,et=Qe._addMutationObserver,tt=1;return Ee.browser=Ae,Ee.defaults=Se,Ee}); | ||
(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=[!1,'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=o.arrow,n=o.arrowType,s=o.arrowTransform,a=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=document.createElement('div');g.setAttribute('class','tippy-popper'),g.setAttribute('role','tooltip'),g.setAttribute('id','tippy-'+e),g.style.zIndex=m,g.style.maxWidth=h;var b=document.createElement('div');if(b.setAttribute('class','tippy-tooltip'),b.setAttribute('data-size',d),b.setAttribute('data-animation',l),b.setAttribute('data-state','hidden'),c.split(' ').forEach(function(e){b.classList.add(e+'-theme')}),i){var y=document.createElement('div');y.style[r('transform')]=s,'round'===n?(y.classList.add('tippy-roundarrow'),y.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):y.classList.add('tippy-arrow'),b.appendChild(y)}if(a){b.setAttribute('data-animatefill','');var v=document.createElement('div');v.setAttribute('data-state','hidden'),v.classList.add('tippy-backdrop'),b.appendChild(v)}p&&b.setAttribute('data-inertia',''),u&&b.setAttribute('data-interactive','');var w=document.createElement('div');if(w.setAttribute('class','tippy-content'),f){var E;f instanceof Element?(w.appendChild(f),E='#'+f.id||'tippy-html-template'):(w.innerHTML=document.querySelector(f).innerHTML,E=f),g.setAttribute('data-html',''),u&&g.setAttribute('tabindex','-1'),b.setAttribute('data-template-id',E)}else w.innerHTML=t;return b.appendChild(w),g.appendChild(b),g}function a(e,t,o,i){var n=o.handleTrigger,r=o.handleMouseLeave,s=o.handleBlur,a=o.handleDelegateShow,p=o.handleDelegateHide,l=[];if('manual'===e)return l;var d=function(e,o){t.addEventListener(e,o),l.push({event:e,handler:o})};return i.target?(Ae.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),Ae.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',r)),'mouseenter'===e&&d('mouseleave',r),'focus'===e&&d('blur',s)),l}function p(e,t){var o=_e.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 De({},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){return{tooltip:e.querySelector(Ce.TOOLTIP),backdrop:e.querySelector(Ce.BACKDROP),content:e.querySelector(Ce.CONTENT)}}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 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 L(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 xe(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],Ue()?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function x(){var e=document.body,t=document.documentElement,o=Ue()&&getComputedStyle(t);return{height:O('Height',e,t,o),width:O('Width',e,t,o)}}function k(e){return ze({},e,{right:e.left+e.width,bottom:e.top+e.height})}function A(e){var t={};if(Ue())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?x():{},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-=L(d,'x'),l-=L(d,'y'),n.width-=p,n.height-=l}return k(n)}function C(e,t){var o=Ue(),i='HTML'===t.nodeName,n=A(e),r=A(t),s=h(e),a=m(t),p=parseFloat(a.borderTopWidth,10),l=parseFloat(a.borderLeftWidth,10),d=k({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(a.marginTop,10),f=parseFloat(a.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(s):t===s&&'BODY'!==s.nodeName)&&(d=E(d,t)),d}function S(e){var t=e.ownerDocument.documentElement,o=C(e,t),i=xe(t.clientWidth,window.innerWidth||0),n=xe(t.clientHeight,window.innerHeight||0),r=w(t),s=w(t,'left'),a={top:r-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:i,height:n};return k(a)}function _(e){var t=e.nodeName;return'BODY'===t||'HTML'===t?!1:'fixed'===m(e,'position')||_(u(e))}function I(e,t,o,i){var n={top:0,left:0},r=v(e,t);if('viewport'===i)n=S(r);else{var s;'scrollParent'===i?(s=h(u(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===i?s=e.ownerDocument.documentElement:s=i;var a=C(s,r);if('HTML'===s.nodeName&&!_(r)){var p=x(),l=p.height,d=p.width;n.top+=a.top-a.marginTop,n.bottom=l+a.top,n.left+=a.left-a.marginLeft,n.right=d+a.left}else n=a}return n.left+=o,n.top+=o,n.right-=o,n.bottom-=o,n}function P(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 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 ze({key:e},a[e],{area:P(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 N(e,t,o){var i=v(t,o);return C(o,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 R(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[R(a)],n}function B(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=B(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,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=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=o(t,e))}),t}function Y(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=N(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=M(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position='absolute',e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function q(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 z(){return this.state.isDestroyed=!0,q(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 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 J(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)&&J(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 ee(e,t,o){var i=B(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=Xe.indexOf(e),i=Xe.slice(o+1).concat(Xe.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=k(a);return p[t]/100*r}if('vh'===s||'vw'===s){var l;return l='vh'===s?xe(document.documentElement.clientHeight,window.innerHeight||0):xe(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(B(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],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){J(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function se(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function re(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=se(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 ae(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 pe(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function le(e,t,o){var i=se(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'+pe(d.translate.axis,n)+'('+ae('translate',d.translate.numbers,n,s)+')').replace(l.scale,'scale'+pe(d.scale.axis,n)+'('+ae('scale',d.scale.numbers,n,s)+')');t.style[r('transform')]=c}function de(e){return-(e-Se.distance)+'px'}function ce(e){requestAnimationFrame(function(){setTimeout(e,1)})}function fe(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 me(e,t){return Array.isArray(e)?e[t]:e}function ue(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function he(e,t){e.forEach(function(e){e&&(e.style[r('transitionDuration')]=t+'ms')})}function ge(e){void e.offsetHeight}function be(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function ye(e,t){return e.reduce(function(e,o){var i=tt,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 T({id:i,reference:o,popper:f,options:n,title:r,popperInstance:null});n.createPopperInstanceOnInit&&(m.popperInstance=$e.call(m),m.popperInstance.disableEventListeners());var u=Ze.call(m);return m.listeners=n.trigger.trim().split(' ').reduce(function(e,t){return e.concat(a(t,o,u,n))},[]),n.dynamicTitle&&et.call(m,{target:o,callback:function(){var e=d(f),t=e.content,i=o.getAttribute('title');i&&(t.innerHTML=m.title=i,c(o))},options:{attributes:!0}}),o._tippy=m,f._tippy=m,f._reference=o,e.push(m),tt++,e},[])}function ve(e){var t=o(document.querySelectorAll(Ce.POPPER));t.forEach(function(t){var o=t._tippy,i=o.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&o.hide()})}function we(){var t=function(){Ae.usingTouch||(Ae.usingTouch=!0,Ae.iOS&&document.body.classList.add('tippy-touch'),Ae.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',o),Ae.onUserInputChange('touch'))},o=function(){var e;return function(){var t=performance.now();20>t-e&&(Ae.usingTouch=!1,document.removeEventListener('mousemove',o),!Ae.iOS&&document.body.classList.remove('tippy-touch'),Ae.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return ve();var t=fe(e.target,Ce.REFERENCE),o=fe(e.target,Ce.POPPER);if(!(o&&o._reference._tippy.options.interactive)){if(t){var i=t._tippy.options;if(!i.multiple&&Ae.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return ve(t._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}ve()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,o=t.activeElement;o&&o.blur&&e.call(o,Ce.REFERENCE)&&o.blur()}),!Ae.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Ee(e,o){return Ae.supported&&!Ae._eventListenersBound&&(we(),Ae._eventListenersBound=!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=De({},Se,o),{selector:e,options:o,tooltips:Ae.supported?ye(n(e),o):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var Te=Math.round,Le=Math.min,Oe=Math.floor,xe=Math.max,ke='undefined'!=typeof window,Ae={};ke&&(Ae.supported='requestAnimationFrame'in window,Ae.supportsTouch='ontouchstart'in window,Ae.usingTouch=!1,Ae.dynamicInputDetection=!0,Ae.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Ae.onUserInputChange=function(){},Ae._eventListenersBound=!1);for(var Ce={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},Se={placement:'top',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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},_e=Ae.supported&&Object.keys(Se),Ie=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Pe=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}}(),De=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},Ne='undefined'!=typeof window&&'undefined'!=typeof document,He=['Edge','Trident','Firefox'],Re=0,Me=0;Me<He.length;Me+=1)if(Ne&&0<=navigator.userAgent.indexOf(He[Me])){Re=1;break}var i,Be=Ne&&window.Promise,We=Be?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()},Re))}},Ue=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},Ye=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},qe=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}}(),Fe=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},ze=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},je=['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'],Xe=je.slice(3),Ke={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ve=function(){function e(t,o){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Ye(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=We(this.update.bind(this)),this.options=ze({},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(ze({},e.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=ze({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ze({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 qe(e,[{key:'update',value:function(){return Y.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}();Ve.Utils=('undefined'==typeof window?global:window).PopperUtils,Ve.placements=je,Ve.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,s=n.popper,a=-1!==['bottom','top'].indexOf(o),p=a?'left':'top',l=a?'width':'height',d={start:Fe({},p,r[p]),end:Fe({},p,r[p]+r[l]-s[l])};e.offsets.popper=ze({},s,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(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=J(+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},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);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=xe(r[e],i[e])),Fe({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=r[o];return r[e]>i[e]&&!t.escapeWithReference&&(n=Le(r[o],i[e]-('right'===e?r.width:r.height))),Fe({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';r=ze({},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=Oe,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=k(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=xe(Le(s[l]-h,w),0),e.arrowElement=i,e.offsets.arrow=(o={},Fe(o,c,Te(w)),Fe(o,f,''),o),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(q(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),i=e.placement.split('-')[0],n=R(i),r=e.placement.split('-')[1]||'',s=[];switch(t.behavior){case Ke.FLIP:s=[i,n];break;case Ke.CLOCKWISE:s=oe(i);break;case Ke.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=R(i);var l=e.offsets.popper,d=e.offsets.reference,c=Oe,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=ze({},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=R(t),e.offsets.popper=k(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=B(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=B(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:Oe(n.left),top:Oe(n.top),bottom:Oe(n.bottom),right:Oe(n.right)},m='bottom'===o?'top':'bottom',u='right'===i?'left':'right',h=F('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=ze({},v,e.attributes),e.styles=ze({},c,e.styles),e.arrowStyles=ze({},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=N(n,t,e),s=D(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',s),Z(t,{position:'absolute'}),o},gpuAcceleration:void 0}}};var Ge={};if(ke){var Qe=Element.prototype;Ge=Qe.matches||Qe.matchesSelector||Qe.webkitMatchesSelector||Qe.mozMatchesSelector||Qe.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=Ge,Je=function(){function e(e){var t=fe(e.target,this.options.target);if(t&&!t._tippy){var o=t.getAttribute('title')||this.title;o&&(t.setAttribute('title',o),Ee(t,De({},this.options,{target:null})),t._tippy.show())}}function t(t){var o=this;if(a.call(this),!this.state.visible){if(this.options.target)return void e.call(this,t);if(this._(m).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),t);this.options.followCursor&&!Ae.usingTouch&&(!this._(m).followCursorListener&&p.call(this),document.addEventListener('mousemove',this._(m).followCursorListener));var i=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;i?this._(m).showTimeout=setTimeout(function(){o.show()},i):this.show()}}function i(){var e=this;if(a.call(this),!!this.state.visible){this._(m).isPreparingToShow=!1;var t=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;t?this._(m).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function n(){var e=this,t=this.popper,o=this.reference,i=this.options,n=d(t),s=n.tooltip,a=i.popperOptions,p='round'===i.arrowType?Ce.ROUND_ARROW:Ce.ARROW,l=s.querySelector(p),f=De({placement:i.placement},a||{},{modifiers:De({},a?a.modifiers:{},{arrow:De({element:p},a&&a.modifiers?a.modifiers.arrow:{}),flip:De({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},a&&a.modifiers?a.modifiers.flip:{}),offset:De({offset:i.offset},a&&a.modifiers?a.modifiers.offset:{})}),onCreate:function(){s.style[se(t)]=de(i.distance),l&&i.arrowTransform&&le(t,l,i.arrowTransform)},onUpdate:function(){var e=s.style;e.top='',e.bottom='',e.left='',e.right='',e[se(t)]=de(i.distance),l&&i.arrowTransform&&le(t,l,i.arrowTransform)}});return c.call(this,{target:t,callback:function(){var o=t.style;o[r('transitionDuration')]=null;var n=e.popperInstance.options.onUpdate;e.popperInstance.options.onUpdate=function(){ge(e.popper),o[r('transitionDuration')]=i.updateDuration+'ms',e.popperInstance.options.onUpdate=n},e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new Ve(o,t,f)}function s(e){var t=this;this.popperInstance?(this.popper.style[r('transform')]=null,this.popperInstance.scheduleUpdate(),(!this.options.followCursor||Ae.usingTouch)&&this.popperInstance.enableEventListeners()):this.popperInstance=n.call(this);var o=this.popperInstance.options.onCreate,i=this.popperInstance.options.onUpdate;this.popperInstance.options.onCreate=this.popperInstance.options.onUpdate=function(){ge(t.popper),e(),t.popperInstance.options.onUpdate=i,t.popperInstance.options.onCreate=o},this.options.appendTo.contains(this.popper)||this.options.appendTo.appendChild(this.popper)}function a(){var e=this._(m),t=e.showTimeout,o=e.hideTimeout;clearTimeout(t),clearTimeout(o)}function p(){var e=this;this._(m).followCursorListener=function(t){if(!(e._(m).lastTriggerEvent&&'focus'===e._(m).lastTriggerEvent.type)){e._(m).lastMouseMoveEvent=t;var o=document.documentElement.offsetWidth||document.body.offsetWidth,i=Te(e.popper.offsetWidth/2),n=Te(e.popper.offsetHeight/2),s=e.options.offset,a=t.pageX,p=t.pageY,l=5,d=e.options.placement.replace(/-.+/,'');e.popper.getAttribute('x-placement')&&(d=se(e.popper));var c,f;'top'===d?(c=a-i+s,f=p-2*n):'bottom'===d?(c=a-i+s,f=p+10):'left'===d?(c=a-2*i,f=p-n+s):'right'===d?(c=a+5,f=p-n+s):void 0;('top'===d||'bottom'===d)&&(a+l+i+s>o&&(c=o-l-2*i),0>a-l-i+s&&(c=l)),e.popper.style[r('transform')]='translate3d('+c+'px, '+f+'px, 0)'}}}function l(){var e=this,t=function(){e.popper.style[r('transitionDuration')]=e.options.updateDuration+'ms'},o=function(){e.popper.style[r('transitionDuration')]=''};ce(function i(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(i):o()})}function c(e){var t=e.target,o=e.callback,i=e.options;if(window.MutationObserver){var n=new MutationObserver(o);n.observe(t,i),this._(m).mutationObservers.push(n)}}function f(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._(m).transitionendListener),n('add',r),this._(m).transitionendListener=r}var m={},u=function(e){return function(t){return t===m&&e}},h=function(){function e(t){for(var o in Ie(this,e),t)this[o]=t[o];this.state={destroyed:!1,visible:!1,enabled:!0},this._=u({mutationObservers:[]})}return Pe(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),p=a.tooltip,c=a.backdrop,u=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=me(void 0===e?n.duration:e,0),he([o,p,c],0),o.style.visibility='visible',this.state.visible=!0,s.call(this,function(){if(t.state.visible){if((!n.followCursor||Ae.usingTouch)&&(t.popperInstance.scheduleUpdate(),he([o],n.updateDuration)),n.followCursor&&!Ae.usingTouch){t.popperInstance.disableEventListeners();var s=Array.isArray(n.delay)?n.delay[0]:n.delay;t._(m).lastTriggerEvent&&t._(m).followCursorListener(s&&t._(m).lastMouseMoveEvent?t._(m).lastMouseMoveEvent:t._(m).lastTriggerEvent)}he([p,c,c?u:null],e),c&&getComputedStyle(c)[r('transform')],n.interactive&&i.classList.add('tippy-active'),n.sticky&&l.call(t),ue([p,c],'visible'),f.call(t,e,function(){n.updateDuration||p.classList.add('tippy-notransition'),n.interactive&&be(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=me(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,he([s,a,a?p:null],e),ue([s,a],'hidden'),n.interactive&&-1<n.trigger.indexOf('click')&&be(i),ce(function(){f.call(t,e,function(){t.state.visible||!n.appendTo.contains(o)||(!t._(m).isPreparingToShow&&(document.removeEventListener('mousemove',t._(m).followCursorListener),t._(m).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._(m).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}();return{Tippy:h,_getEventListeners:function(){var e=this;return{handleTrigger:function(o){if(e.state.enabled){var n=Ae.supportsTouch&&Ae.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(o.type);n&&e.options.touchHold||(e._(m).lastTriggerEvent=o,'click'===o.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?i.call(e):t.call(e,o),n&&Ae.iOS&&e.reference.click&&e.reference.click())}},handleMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&Ae.supportsTouch&&Ae.usingTouch&&e.options.touchHold)){if(e.options.interactive){var o=i.bind(e),n=function t(n){var r=fe(n.target,Ce.REFERENCE),s=fe(n.target,Ce.POPPER)===e.popper,a=r===e.reference;s||a||re(n,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',o),document.removeEventListener('mousemove',t),i.call(e))};return document.body.addEventListener('mouseleave',o),void document.addEventListener('mousemove',n)}i.call(e)}},handleBlur:function(t){!t.relatedTarget||Ae.usingTouch||fe(t.relatedTarget,Ce.POPPER)||i.call(e)},handleDelegateShow:function(o){fe(o.target,e.options.target)&&t.call(e,o)},handleDelegateHide:function(t){fe(t.target,e.options.target)&&i.call(e)}}},_addMutationObserver:c,_createPopperInstance:n,_onTransitionEnd:f}}(),T=Je.Tippy,Ze=Je._getEventListeners,$e=Je._createPopperInstance,et=Je._addMutationObserver,tt=1;return Ee.browser=Ae,Ee.defaults=Se,Ee}); |
@@ -578,13 +578,2 @@ (function (global, factory) { | ||
/** | ||
* Determines if an element is visible in the viewport | ||
* @param {Element} el | ||
* @return {Boolean} | ||
*/ | ||
function elementIsInViewport(el) { | ||
var rect = el.getBoundingClientRect(); | ||
return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth); | ||
} | ||
/** | ||
* Returns the distance taking into account the default distance due to | ||
@@ -687,2 +676,13 @@ * the transform: translate setting in CSS | ||
/** | ||
* Focuses an element while preventing a scroll jump if it's not entirely within the viewport | ||
* @param {Element} el | ||
*/ | ||
function focus(el) { | ||
var x = window.scrollX || window.pageXOffset; | ||
var y = window.scrollY || window.pageYOffset; | ||
el.focus(); | ||
scroll(x, y); | ||
} | ||
var T = (function () { | ||
@@ -828,4 +828,4 @@ var key = {}; | ||
if (options.interactive && elementIsInViewport(reference)) { | ||
popper.focus(); | ||
if (options.interactive) { | ||
focus(popper); | ||
} | ||
@@ -882,4 +882,4 @@ | ||
if (options.interactive && options.trigger.indexOf('click') > -1 && elementIsInViewport(reference)) { | ||
reference.focus(); | ||
if (options.interactive && options.trigger.indexOf('click') > -1) { | ||
focus(reference); | ||
} | ||
@@ -886,0 +886,0 @@ |
@@ -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=[!1,'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=document.createElement('div');q.setAttribute('class','tippy-popper'),q.setAttribute('role','tooltip'),q.setAttribute('id','tippy-'+a),q.style.zIndex=n,q.style.maxWidth=p;var r=document.createElement('div');if(r.setAttribute('class','tippy-tooltip'),r.setAttribute('data-size',k),r.setAttribute('data-animation',j),r.setAttribute('data-state','hidden'),l.split(' ').forEach(function(a){r.classList.add(a+'-theme')}),d){var s=document.createElement('div');s.style[f('transform')]=g,'round'===e?(s.classList.add('tippy-roundarrow'),s.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):s.classList.add('tippy-arrow'),r.appendChild(s)}if(h){r.setAttribute('data-animatefill','');var t=document.createElement('div');t.setAttribute('data-state','hidden'),t.classList.add('tippy-backdrop'),r.appendChild(t)}i&&r.setAttribute('data-inertia',''),o&&r.setAttribute('data-interactive','');var u=document.createElement('div');if(u.setAttribute('class','tippy-content'),m){var v;m instanceof Element?(u.appendChild(m),v='#'+m.id||'tippy-html-template'):(u.innerHTML=document.querySelector(m).innerHTML,v=m),q.setAttribute('data-html',''),o&&q.setAttribute('tabindex','-1'),r.setAttribute('data-template-id',v)}else u.innerHTML=b;return r.appendChild(u),q.appendChild(r),q}function h(a,b,c,d){var e=c.handleTrigger,f=c.handleMouseLeave,g=c.handleBlur,h=c.handleDelegateShow,i=c.handleDelegateHide,j=[];if('manual'===a)return j;var k=function(a,c){b.addEventListener(a,c),j.push({event:a,handler:c})};return d.target?(E.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),E.supportsTouch&&d.touchHold&&(k('touchstart',e),k('touchend',f)),'mouseenter'===a&&k('mouseleave',f),'focus'===a&&k('blur',g)),j}function i(a,b){var c=H.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 K({},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){return{tooltip:a.querySelector(F.TOOLTIP),backdrop:a.querySelector(F.BACKDROP),content:a.querySelector(F.CONTENT)}}function l(a){var b=a.getAttribute('title');b&&a.setAttribute('data-original-title',b),a.removeAttribute('title')}function m(a){return a.getAttribute('x-placement').replace(/-.+/,'')}function n(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=m(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 o(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 p(a,b){if(!a)return'';return b?a:{X:'Y',Y:'X'}[a]}function q(a,b,c){var d=m(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'+p(k.translate.axis,e)+'('+o('translate',k.translate.numbers,e,g)+')').replace(j.scale,'scale'+p(k.scale.axis,e)+'('+o('scale',k.scale.numbers,e,g)+')');b.style[f('transform')]=l}function r(a){var b=a.getBoundingClientRect();return 0<=b.top&&0<=b.left&&b.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&b.right<=(window.innerWidth||document.documentElement.clientWidth)}function s(a){return-(a-G.distance)+'px'}function t(a){requestAnimationFrame(function(){setTimeout(a,1)})}function u(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 v(a,b){return Array.isArray(a)?a[b]:a}function w(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function x(a,b){a.forEach(function(a){a&&(a.style[f('transitionDuration')]=b+'ms')})}function y(a){void a.offsetHeight}function z(a,b){return a.reduce(function(a,c){var d=S,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 O({id:d,reference:c,popper:m,options:e,title:f,popperInstance:null});e.createPopperInstanceOnInit&&(n.popperInstance=Q.call(n),n.popperInstance.disableEventListeners());var o=P.call(n);return n.listeners=e.trigger.trim().split(' ').reduce(function(a,b){return a.concat(h(b,c,o,e))},[]),e.dynamicTitle&&R.call(n,{target:c,callback:function(){var a=k(m),b=a.content,d=c.getAttribute('title');d&&(b.innerHTML=n.title=d,l(c))},options:{attributes:!0}}),c._tippy=n,m._tippy=n,m._reference=c,a.push(n),S++,a},[])}function A(a){var b=c(document.querySelectorAll(F.POPPER));b.forEach(function(b){var c=b._tippy,d=c.options;(!0===d.hideOnClick||-1<d.trigger.indexOf('focus'))&&(!a||b!==a.popper)&&c.hide()})}function B(){var a=function(){E.usingTouch||(E.usingTouch=!0,E.iOS&&document.body.classList.add('tippy-touch'),E.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',b),E.onUserInputChange('touch'))},b=function(){var a;return function(){var c=performance.now();20>c-a&&(E.usingTouch=!1,document.removeEventListener('mousemove',b),!E.iOS&&document.body.classList.remove('tippy-touch'),E.onUserInputChange('mouse')),a=c}}();document.addEventListener('click',function(a){if(!(a.target instanceof Element))return A();var b=u(a.target,F.REFERENCE),c=u(a.target,F.POPPER);if(!(c&&c._reference._tippy.options.interactive)){if(b){var d=b._tippy.options;if(!d.multiple&&E.usingTouch||!d.multiple&&-1<d.trigger.indexOf('click'))return A(b._tippy);if(!0!==d.hideOnClick||-1<d.trigger.indexOf('click'))return}A()}}),document.addEventListener('touchstart',a),window.addEventListener('blur',function(){var a=document,b=a.activeElement;b&&b.blur&&e.call(b,F.REFERENCE)&&b.blur()}),!E.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',a)}function C(a,c){return E.supported&&!E._eventListenersBound&&(B(),E._eventListenersBound=!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=K({},G,c),{selector:a,options:c,tooltips:E.supported?z(d(a),c):[],destroyAll:function(){this.tooltips.forEach(function(a){return a.destroy()}),this.tooltips=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var D='undefined'!=typeof window,E={};D&&(E.supported='requestAnimationFrame'in window,E.supportsTouch='ontouchstart'in window,E.usingTouch=!1,E.dynamicInputDetection=!0,E.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,E.onUserInputChange=function(){},E._eventListenersBound=!1);var F={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},G={placement:'top',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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},H=E.supported&&Object.keys(G),I=function(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')},J=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}}(),K=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},L={};if(D){var M=Element.prototype;L=M.matches||M.matchesSelector||M.webkitMatchesSelector||M.mozMatchesSelector||M.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=L,N=function(){function b(a){var b=u(a.target,this.options.target);if(b&&!b._tippy){var c=b.getAttribute('title')||this.title;c&&(b.setAttribute('title',c),C(b,K({},this.options,{target:null})),b._tippy.show())}}function d(a){var c=this;if(i.call(this),!this.state.visible){if(this.options.target)return void b.call(this,a);if(this._(z).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),a);this.options.followCursor&&!E.usingTouch&&(!this._(z).followCursorListener&&j.call(this),document.addEventListener('mousemove',this._(z).followCursorListener));var d=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;d?this._(z).showTimeout=setTimeout(function(){c.show()},d):this.show()}}function e(){var a=this;if(i.call(this),!!this.state.visible){this._(z).isPreparingToShow=!1;var b=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;b?this._(z).hideTimeout=setTimeout(function(){a.state.visible&&a.hide()},b):this.hide()}}function g(){var b=this,c=this.popper,d=this.reference,e=this.options,g=k(c),h=g.tooltip,i=e.popperOptions,j='round'===e.arrowType?F.ROUND_ARROW:F.ARROW,l=h.querySelector(j),n=K({placement:e.placement},i||{},{modifiers:K({},i?i.modifiers:{},{arrow:K({element:j},i&&i.modifiers?i.modifiers.arrow:{}),flip:K({enabled:e.flip,padding:e.distance+5,behavior:e.flipBehavior},i&&i.modifiers?i.modifiers.flip:{}),offset:K({offset:e.offset},i&&i.modifiers?i.modifiers.offset:{})}),onCreate:function(){h.style[m(c)]=s(e.distance),l&&e.arrowTransform&&q(c,l,e.arrowTransform)},onUpdate:function(){var a=h.style;a.top='',a.bottom='',a.left='',a.right='',a[m(c)]=s(e.distance),l&&e.arrowTransform&&q(c,l,e.arrowTransform)}});return o.call(this,{target:c,callback:function(){var a=c.style;a[f('transitionDuration')]=null;var d=b.popperInstance.options.onUpdate;b.popperInstance.options.onUpdate=function(){y(b.popper),a[f('transitionDuration')]=e.updateDuration+'ms',b.popperInstance.options.onUpdate=d},b.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new a(d,c,n)}function h(a){var b=this;this.popperInstance?(this.popper.style[f('transform')]=null,this.popperInstance.scheduleUpdate(),(!this.options.followCursor||E.usingTouch)&&this.popperInstance.enableEventListeners()):this.popperInstance=g.call(this);var c=this.popperInstance.options.onCreate,d=this.popperInstance.options.onUpdate;this.popperInstance.options.onCreate=this.popperInstance.options.onUpdate=function(){y(b.popper),a(),b.popperInstance.options.onUpdate=d,b.popperInstance.options.onCreate=c},this.options.appendTo.contains(this.popper)||this.options.appendTo.appendChild(this.popper)}function i(){var a=this._(z),b=a.showTimeout,c=a.hideTimeout;clearTimeout(b),clearTimeout(c)}function j(){var a=this;this._(z).followCursorListener=function(b){var c=Math.round;if(!(a._(z).lastTriggerEvent&&'focus'===a._(z).lastTriggerEvent.type)){a._(z).lastMouseMoveEvent=b;var d=document.documentElement.offsetWidth||document.body.offsetWidth,e=c(a.popper.offsetWidth/2),g=c(a.popper.offsetHeight/2),h=a.options.offset,i=b.pageX,j=b.pageY,k=5,l=a.options.placement.replace(/-.+/,'');a.popper.getAttribute('x-placement')&&(l=m(a.popper));var n,o;'top'===l?(n=i-e+h,o=j-2*g):'bottom'===l?(n=i-e+h,o=j+10):'left'===l?(n=i-2*e,o=j-g+h):'right'===l?(n=i+5,o=j-g+h):void 0;('top'===l||'bottom'===l)&&(i+k+e+h>d&&(n=d-k-2*e),0>i-k-e+h&&(n=k)),a.popper.style[f('transform')]='translate3d('+n+'px, '+o+'px, 0)'}}}function l(){var a=this,b=function(){a.popper.style[f('transitionDuration')]=a.options.updateDuration+'ms'},c=function(){a.popper.style[f('transitionDuration')]=''};t(function d(){a.popperInstance&&a.popperInstance.scheduleUpdate(),b(),a.state.visible?requestAnimationFrame(d):c()})}function o(a){var b=a.target,c=a.callback,d=a.options;if(window.MutationObserver){var e=new MutationObserver(c);e.observe(b,d),this._(z).mutationObservers.push(e)}}function p(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._(z).transitionendListener),f('add',e),this._(z).transitionendListener=e}var z={},A=function(a){return function(b){return b===z&&a}},B=function(){function a(b){for(var c in I(this,a),b)this[c]=b[c];this.state={destroyed:!1,visible:!1,enabled:!0},this._=A({mutationObservers:[]})}return J(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),i=g.tooltip,j=g.backdrop,m=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=v(void 0===a?e.duration:a,0),x([c,i,j],0),c.style.visibility='visible',this.state.visible=!0,h.call(this,function(){if(b.state.visible){if((!e.followCursor||E.usingTouch)&&(b.popperInstance.scheduleUpdate(),x([c],e.updateDuration)),e.followCursor&&!E.usingTouch){b.popperInstance.disableEventListeners();var g=Array.isArray(e.delay)?e.delay[0]:e.delay;b._(z).lastTriggerEvent&&b._(z).followCursorListener(g&&b._(z).lastMouseMoveEvent?b._(z).lastMouseMoveEvent:b._(z).lastTriggerEvent)}x([i,j,j?m:null],a),j&&getComputedStyle(j)[f('transform')],e.interactive&&d.classList.add('tippy-active'),e.sticky&&l.call(b),w([i,j],'visible'),p.call(b,a,function(){e.updateDuration||i.classList.add('tippy-notransition'),e.interactive&&r(d)&&c.focus(),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=v(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,x([g,h,h?i:null],a),w([g,h],'hidden'),e.interactive&&-1<e.trigger.indexOf('click')&&r(d)&&d.focus(),t(function(){p.call(b,a,function(){b.state.visible||!e.appendTo.contains(c)||(!b._(z).isPreparingToShow&&(document.removeEventListener('mousemove',b._(z).followCursorListener),b._(z).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._(z).mutationObservers.forEach(function(a){a.disconnect()}),this.state.destroyed=!0}}}]),a}();return{Tippy:B,_getEventListeners:function(){var a=this;return{handleTrigger:function(b){if(a.state.enabled){var c=E.supportsTouch&&E.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(b.type);c&&a.options.touchHold||(a._(z).lastTriggerEvent=b,'click'===b.type&&'persistent'!==a.options.hideOnClick&&a.state.visible?e.call(a):d.call(a,b),c&&E.iOS&&a.reference.click&&a.reference.click())}},handleMouseLeave:function(b){if(!(-1<['mouseleave','mouseout'].indexOf(b.type)&&E.supportsTouch&&E.usingTouch&&a.options.touchHold)){if(a.options.interactive){var c=e.bind(a),d=function b(d){var f=u(d.target,F.REFERENCE),g=u(d.target,F.POPPER)===a.popper,h=f===a.reference;g||h||n(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)}},handleBlur:function(b){!b.relatedTarget||E.usingTouch||u(b.relatedTarget,F.POPPER)||e.call(a)},handleDelegateShow:function(b){u(b.target,a.options.target)&&d.call(a,b)},handleDelegateHide:function(b){u(b.target,a.options.target)&&e.call(a)}}},_addMutationObserver:o,_createPopperInstance:g,_onTransitionEnd:p}}(),O=N.Tippy,P=N._getEventListeners,Q=N._createPopperInstance,R=N._addMutationObserver,S=1;return C.browser=E,C.defaults=G,C}); | ||
(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=[!1,'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=document.createElement('div');q.setAttribute('class','tippy-popper'),q.setAttribute('role','tooltip'),q.setAttribute('id','tippy-'+a),q.style.zIndex=n,q.style.maxWidth=p;var r=document.createElement('div');if(r.setAttribute('class','tippy-tooltip'),r.setAttribute('data-size',k),r.setAttribute('data-animation',j),r.setAttribute('data-state','hidden'),l.split(' ').forEach(function(a){r.classList.add(a+'-theme')}),d){var s=document.createElement('div');s.style[f('transform')]=g,'round'===e?(s.classList.add('tippy-roundarrow'),s.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):s.classList.add('tippy-arrow'),r.appendChild(s)}if(h){r.setAttribute('data-animatefill','');var t=document.createElement('div');t.setAttribute('data-state','hidden'),t.classList.add('tippy-backdrop'),r.appendChild(t)}i&&r.setAttribute('data-inertia',''),o&&r.setAttribute('data-interactive','');var u=document.createElement('div');if(u.setAttribute('class','tippy-content'),m){var v;m instanceof Element?(u.appendChild(m),v='#'+m.id||'tippy-html-template'):(u.innerHTML=document.querySelector(m).innerHTML,v=m),q.setAttribute('data-html',''),o&&q.setAttribute('tabindex','-1'),r.setAttribute('data-template-id',v)}else u.innerHTML=b;return r.appendChild(u),q.appendChild(r),q}function h(a,b,c,d){var e=c.handleTrigger,f=c.handleMouseLeave,g=c.handleBlur,h=c.handleDelegateShow,i=c.handleDelegateHide,j=[];if('manual'===a)return j;var k=function(a,c){b.addEventListener(a,c),j.push({event:a,handler:c})};return d.target?(E.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),E.supportsTouch&&d.touchHold&&(k('touchstart',e),k('touchend',f)),'mouseenter'===a&&k('mouseleave',f),'focus'===a&&k('blur',g)),j}function i(a,b){var c=H.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 K({},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){return{tooltip:a.querySelector(F.TOOLTIP),backdrop:a.querySelector(F.BACKDROP),content:a.querySelector(F.CONTENT)}}function l(a){var b=a.getAttribute('title');b&&a.setAttribute('data-original-title',b),a.removeAttribute('title')}function m(a){return a.getAttribute('x-placement').replace(/-.+/,'')}function n(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=m(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 o(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 p(a,b){if(!a)return'';return b?a:{X:'Y',Y:'X'}[a]}function q(a,b,c){var d=m(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'+p(k.translate.axis,e)+'('+o('translate',k.translate.numbers,e,g)+')').replace(j.scale,'scale'+p(k.scale.axis,e)+'('+o('scale',k.scale.numbers,e,g)+')');b.style[f('transform')]=l}function r(a){return-(a-G.distance)+'px'}function s(a){requestAnimationFrame(function(){setTimeout(a,1)})}function t(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 u(a,b){return Array.isArray(a)?a[b]:a}function v(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function w(a,b){a.forEach(function(a){a&&(a.style[f('transitionDuration')]=b+'ms')})}function x(a){void a.offsetHeight}function y(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function z(a,b){return a.reduce(function(a,c){var d=S,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 O({id:d,reference:c,popper:m,options:e,title:f,popperInstance:null});e.createPopperInstanceOnInit&&(n.popperInstance=Q.call(n),n.popperInstance.disableEventListeners());var o=P.call(n);return n.listeners=e.trigger.trim().split(' ').reduce(function(a,b){return a.concat(h(b,c,o,e))},[]),e.dynamicTitle&&R.call(n,{target:c,callback:function(){var a=k(m),b=a.content,d=c.getAttribute('title');d&&(b.innerHTML=n.title=d,l(c))},options:{attributes:!0}}),c._tippy=n,m._tippy=n,m._reference=c,a.push(n),S++,a},[])}function A(a){var b=c(document.querySelectorAll(F.POPPER));b.forEach(function(b){var c=b._tippy,d=c.options;(!0===d.hideOnClick||-1<d.trigger.indexOf('focus'))&&(!a||b!==a.popper)&&c.hide()})}function B(){var a=function(){E.usingTouch||(E.usingTouch=!0,E.iOS&&document.body.classList.add('tippy-touch'),E.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',b),E.onUserInputChange('touch'))},b=function(){var a;return function(){var c=performance.now();20>c-a&&(E.usingTouch=!1,document.removeEventListener('mousemove',b),!E.iOS&&document.body.classList.remove('tippy-touch'),E.onUserInputChange('mouse')),a=c}}();document.addEventListener('click',function(a){if(!(a.target instanceof Element))return A();var b=t(a.target,F.REFERENCE),c=t(a.target,F.POPPER);if(!(c&&c._reference._tippy.options.interactive)){if(b){var d=b._tippy.options;if(!d.multiple&&E.usingTouch||!d.multiple&&-1<d.trigger.indexOf('click'))return A(b._tippy);if(!0!==d.hideOnClick||-1<d.trigger.indexOf('click'))return}A()}}),document.addEventListener('touchstart',a),window.addEventListener('blur',function(){var a=document,b=a.activeElement;b&&b.blur&&e.call(b,F.REFERENCE)&&b.blur()}),!E.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',a)}function C(a,c){return E.supported&&!E._eventListenersBound&&(B(),E._eventListenersBound=!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=K({},G,c),{selector:a,options:c,tooltips:E.supported?z(d(a),c):[],destroyAll:function(){this.tooltips.forEach(function(a){return a.destroy()}),this.tooltips=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var D='undefined'!=typeof window,E={};D&&(E.supported='requestAnimationFrame'in window,E.supportsTouch='ontouchstart'in window,E.usingTouch=!1,E.dynamicInputDetection=!0,E.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,E.onUserInputChange=function(){},E._eventListenersBound=!1);var F={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},G={placement:'top',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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},H=E.supported&&Object.keys(G),I=function(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')},J=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}}(),K=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},L={};if(D){var M=Element.prototype;L=M.matches||M.matchesSelector||M.webkitMatchesSelector||M.mozMatchesSelector||M.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=L,N=function(){function b(a){var b=t(a.target,this.options.target);if(b&&!b._tippy){var c=b.getAttribute('title')||this.title;c&&(b.setAttribute('title',c),C(b,K({},this.options,{target:null})),b._tippy.show())}}function d(a){var c=this;if(i.call(this),!this.state.visible){if(this.options.target)return void b.call(this,a);if(this._(z).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),a);this.options.followCursor&&!E.usingTouch&&(!this._(z).followCursorListener&&j.call(this),document.addEventListener('mousemove',this._(z).followCursorListener));var d=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;d?this._(z).showTimeout=setTimeout(function(){c.show()},d):this.show()}}function e(){var a=this;if(i.call(this),!!this.state.visible){this._(z).isPreparingToShow=!1;var b=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;b?this._(z).hideTimeout=setTimeout(function(){a.state.visible&&a.hide()},b):this.hide()}}function g(){var b=this,c=this.popper,d=this.reference,e=this.options,g=k(c),h=g.tooltip,i=e.popperOptions,j='round'===e.arrowType?F.ROUND_ARROW:F.ARROW,l=h.querySelector(j),n=K({placement:e.placement},i||{},{modifiers:K({},i?i.modifiers:{},{arrow:K({element:j},i&&i.modifiers?i.modifiers.arrow:{}),flip:K({enabled:e.flip,padding:e.distance+5,behavior:e.flipBehavior},i&&i.modifiers?i.modifiers.flip:{}),offset:K({offset:e.offset},i&&i.modifiers?i.modifiers.offset:{})}),onCreate:function(){h.style[m(c)]=r(e.distance),l&&e.arrowTransform&&q(c,l,e.arrowTransform)},onUpdate:function(){var a=h.style;a.top='',a.bottom='',a.left='',a.right='',a[m(c)]=r(e.distance),l&&e.arrowTransform&&q(c,l,e.arrowTransform)}});return o.call(this,{target:c,callback:function(){var a=c.style;a[f('transitionDuration')]=null;var d=b.popperInstance.options.onUpdate;b.popperInstance.options.onUpdate=function(){x(b.popper),a[f('transitionDuration')]=e.updateDuration+'ms',b.popperInstance.options.onUpdate=d},b.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new a(d,c,n)}function h(a){var b=this;this.popperInstance?(this.popper.style[f('transform')]=null,this.popperInstance.scheduleUpdate(),(!this.options.followCursor||E.usingTouch)&&this.popperInstance.enableEventListeners()):this.popperInstance=g.call(this);var c=this.popperInstance.options.onCreate,d=this.popperInstance.options.onUpdate;this.popperInstance.options.onCreate=this.popperInstance.options.onUpdate=function(){x(b.popper),a(),b.popperInstance.options.onUpdate=d,b.popperInstance.options.onCreate=c},this.options.appendTo.contains(this.popper)||this.options.appendTo.appendChild(this.popper)}function i(){var a=this._(z),b=a.showTimeout,c=a.hideTimeout;clearTimeout(b),clearTimeout(c)}function j(){var a=this;this._(z).followCursorListener=function(b){var c=Math.round;if(!(a._(z).lastTriggerEvent&&'focus'===a._(z).lastTriggerEvent.type)){a._(z).lastMouseMoveEvent=b;var d=document.documentElement.offsetWidth||document.body.offsetWidth,e=c(a.popper.offsetWidth/2),g=c(a.popper.offsetHeight/2),h=a.options.offset,i=b.pageX,j=b.pageY,k=5,l=a.options.placement.replace(/-.+/,'');a.popper.getAttribute('x-placement')&&(l=m(a.popper));var n,o;'top'===l?(n=i-e+h,o=j-2*g):'bottom'===l?(n=i-e+h,o=j+10):'left'===l?(n=i-2*e,o=j-g+h):'right'===l?(n=i+5,o=j-g+h):void 0;('top'===l||'bottom'===l)&&(i+k+e+h>d&&(n=d-k-2*e),0>i-k-e+h&&(n=k)),a.popper.style[f('transform')]='translate3d('+n+'px, '+o+'px, 0)'}}}function l(){var a=this,b=function(){a.popper.style[f('transitionDuration')]=a.options.updateDuration+'ms'},c=function(){a.popper.style[f('transitionDuration')]=''};s(function d(){a.popperInstance&&a.popperInstance.scheduleUpdate(),b(),a.state.visible?requestAnimationFrame(d):c()})}function o(a){var b=a.target,c=a.callback,d=a.options;if(window.MutationObserver){var e=new MutationObserver(c);e.observe(b,d),this._(z).mutationObservers.push(e)}}function p(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._(z).transitionendListener),f('add',e),this._(z).transitionendListener=e}var z={},A=function(a){return function(b){return b===z&&a}},B=function(){function a(b){for(var c in I(this,a),b)this[c]=b[c];this.state={destroyed:!1,visible:!1,enabled:!0},this._=A({mutationObservers:[]})}return J(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),i=g.tooltip,j=g.backdrop,m=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=u(void 0===a?e.duration:a,0),w([c,i,j],0),c.style.visibility='visible',this.state.visible=!0,h.call(this,function(){if(b.state.visible){if((!e.followCursor||E.usingTouch)&&(b.popperInstance.scheduleUpdate(),w([c],e.updateDuration)),e.followCursor&&!E.usingTouch){b.popperInstance.disableEventListeners();var g=Array.isArray(e.delay)?e.delay[0]:e.delay;b._(z).lastTriggerEvent&&b._(z).followCursorListener(g&&b._(z).lastMouseMoveEvent?b._(z).lastMouseMoveEvent:b._(z).lastTriggerEvent)}w([i,j,j?m:null],a),j&&getComputedStyle(j)[f('transform')],e.interactive&&d.classList.add('tippy-active'),e.sticky&&l.call(b),v([i,j],'visible'),p.call(b,a,function(){e.updateDuration||i.classList.add('tippy-notransition'),e.interactive&&y(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=u(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,w([g,h,h?i:null],a),v([g,h],'hidden'),e.interactive&&-1<e.trigger.indexOf('click')&&y(d),s(function(){p.call(b,a,function(){b.state.visible||!e.appendTo.contains(c)||(!b._(z).isPreparingToShow&&(document.removeEventListener('mousemove',b._(z).followCursorListener),b._(z).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._(z).mutationObservers.forEach(function(a){a.disconnect()}),this.state.destroyed=!0}}}]),a}();return{Tippy:B,_getEventListeners:function(){var a=this;return{handleTrigger:function(b){if(a.state.enabled){var c=E.supportsTouch&&E.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(b.type);c&&a.options.touchHold||(a._(z).lastTriggerEvent=b,'click'===b.type&&'persistent'!==a.options.hideOnClick&&a.state.visible?e.call(a):d.call(a,b),c&&E.iOS&&a.reference.click&&a.reference.click())}},handleMouseLeave:function(b){if(!(-1<['mouseleave','mouseout'].indexOf(b.type)&&E.supportsTouch&&E.usingTouch&&a.options.touchHold)){if(a.options.interactive){var c=e.bind(a),d=function b(d){var f=t(d.target,F.REFERENCE),g=t(d.target,F.POPPER)===a.popper,h=f===a.reference;g||h||n(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)}},handleBlur:function(b){!b.relatedTarget||E.usingTouch||t(b.relatedTarget,F.POPPER)||e.call(a)},handleDelegateShow:function(b){t(b.target,a.options.target)&&d.call(a,b)},handleDelegateHide:function(b){t(b.target,a.options.target)&&e.call(a)}}},_addMutationObserver:o,_createPopperInstance:g,_onTransitionEnd:p}}(),O=N.Tippy,P=N._getEventListeners,Q=N._createPopperInstance,R=N._addMutationObserver,S=1;return C.browser=E,C.defaults=G,C}); |
{ | ||
"name": "tippy.js", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Vanilla JS Tooltip Library", | ||
@@ -18,3 +18,4 @@ "main": "dist/tippy.all.js", | ||
"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", | ||
"themes": | ||
"rollup -c scripts/themes/rollup.light.config.js && rollup -c scripts/themes/rollup.translucent.config.js", | ||
"test": "eslint 'src/**/*.js'", | ||
@@ -21,0 +22,0 @@ "prettier": "prettier --print-width 100 --no-semi --single-quote es5 --write 'src/**/*.js'" |
Sorry, the diff of this file is too big to display
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
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
9061
458158