Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2
@@ -1,1 +0,1 @@ | ||
for(var version='3.0.0-alpha.1',_extends=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Defaults={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},setDefaults=function(e){Defaults=_extends({},Defaults,e)},isBrowser='undefined'!=typeof window&&'undefined'!=typeof document,longerTimeoutBrowsers=['Edge','Trident','Firefox'],timeoutDuration=0,i=0;i<longerTimeoutBrowsers.length;i+=1)if(isBrowser&&0<=navigator.userAgent.indexOf(longerTimeoutBrowsers[i])){timeoutDuration=1;break}function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},timeoutDuration))}}var supportsMicroTasks=isBrowser&&window.Promise,debounce=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction(e){return e&&'[object Function]'==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function getParentNode(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=getStyleComputedProperty(e),o=t.overflow,r=t.overflowX,i=t.overflowY;return /(auto|scroll|overlay)/.test(o+i+r)?e:getScrollParent(getParentNode(e))}var isIE11=isBrowser&&!!(window.MSInputMethodContext&&document.documentMode),isIE10=isBrowser&&/MSIE 10/.test(navigator.userAgent);function isIE(e){return 11===e?isIE11:10===e?isIE10:isIE11||isIE10}function getOffsetParent(e){if(!e)return document.documentElement;for(var t=isIE(10)?document.body:null,o=e.offsetParent;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var r=o&&o.nodeName;return r&&'BODY'!==r&&'HTML'!==r?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===getStyleComputedProperty(o,'position')?getOffsetParent(o):o:e?e.ownerDocument.documentElement:document.documentElement}function isOffsetContainer(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||getOffsetParent(e.firstElementChild)===e)}function getRoot(e){return null===e.parentNode?e:getRoot(e.parentNode)}function findCommonOffsetParent(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var p=n.commonAncestorContainer;if(e!==p&&t!==p||r.contains(i))return isOffsetContainer(p)?p:getOffsetParent(p);var s=getRoot(e);return s.host?findCommonOffsetParent(s.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function includeScroll(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=getScroll(t,'top'),i=getScroll(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function getBordersSize(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function getSize(e,t,o,r){return Math.max(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],isIE(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function getWindowSizes(e){var t=e.body,o=e.documentElement,r=isIE(10)&&getComputedStyle(o);return{height:getSize('Height',t,o,r),width:getSize('Width',t,o,r)}}var classCallCheck$1=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},createClass$1=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),defineProperty$1=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},_extends$1=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function getClientRect(e){return _extends$1({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};try{if(isIE(10)){t=e.getBoundingClientRect();var o=getScroll(e,'top'),r=getScroll(e,'left');t.top+=o,t.left+=r,t.bottom+=o,t.right+=r}else t=e.getBoundingClientRect()}catch(t){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n='HTML'===e.nodeName?getWindowSizes(e.ownerDocument):{},p=n.width||e.clientWidth||i.right-i.left,s=n.height||e.clientHeight||i.bottom-i.top,a=e.offsetWidth-p,d=e.offsetHeight-s;if(a||d){var l=getStyleComputedProperty(e);a-=getBordersSize(l,'x'),d-=getBordersSize(l,'y'),i.width-=a,i.height-=d}return getClientRect(i)}function getOffsetRectRelativeToArbitraryNode(e,t){var o=Math.max,r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=isIE(10),n='HTML'===t.nodeName,p=getBoundingClientRect(e),s=getBoundingClientRect(t),a=getScrollParent(e),d=getStyleComputedProperty(t),l=parseFloat(d.borderTopWidth,10),c=parseFloat(d.borderLeftWidth,10);r&&n&&(s.top=o(s.top,0),s.left=o(s.left,0));var f=getClientRect({top:p.top-s.top-l,left:p.left-s.left-c,width:p.width,height:p.height});if(f.marginTop=0,f.marginLeft=0,!i&&n){var m=parseFloat(d.marginTop,10),h=parseFloat(d.marginLeft,10);f.top-=l-m,f.bottom-=l-m,f.left-=c-h,f.right-=c-h,f.marginTop=m,f.marginLeft=h}return(i&&!r?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(f=includeScroll(f,t)),f}function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=Math.max,o=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,i=getOffsetRectRelativeToArbitraryNode(e,r),n=t(r.clientWidth,window.innerWidth||0),p=t(r.clientHeight,window.innerHeight||0),s=o?0:getScroll(r),a=o?0:getScroll(r,'left'),d={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:p};return getClientRect(d)}function isFixed(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&(!('fixed'!==getStyleComputedProperty(e,'position'))||isFixed(getParentNode(e)))}function getFixedPositionOffsetParent(e){if(!e||!e.parentElement||isIE())return document.documentElement;for(var t=e.parentElement;t&&'none'===getStyleComputedProperty(t,'transform');)t=t.parentElement;return t||document.documentElement}function getBoundaries(e,t,o,r){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},p=i?getFixedPositionOffsetParent(e):findCommonOffsetParent(e,t);if('viewport'===r)n=getViewportOffsetRectRelativeToArtbitraryNode(p,i);else{var s;'scrollParent'===r?(s=getScrollParent(getParentNode(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===r?s=e.ownerDocument.documentElement:s=r;var a=getOffsetRectRelativeToArbitraryNode(s,p,i);if('HTML'===s.nodeName&&!isFixed(p)){var d=getWindowSizes(e.ownerDocument),l=d.height,c=d.width;n.top+=a.top-a.marginTop,n.bottom=l+a.top,n.left+=a.left-a.marginLeft,n.right=c+a.left}else n=a}o=o||0;var f='number'==typeof o;return n.left+=f?o:o.left||0,n.top+=f?o:o.top||0,n.right-=f?o:o.right||0,n.bottom-=f?o:o.bottom||0,n}function getArea(e){var t=e.width,o=e.height;return t*o}function computeAutoPlacement(e,t,o,r,i){var n=5<arguments.length&&arguments[5]!==void 0?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=getBoundaries(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return _extends$1({key:e},s[e],{area:getArea(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function getReferenceOffsets(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null,i=r?getFixedPositionOffsetParent(t):findCommonOffsetParent(t,o);return getOffsetRectRelativeToArbitraryNode(o,i,r)}function getOuterSizes(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+r,height:e.offsetHeight+o};return i}function getOppositePlacement(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 getPopperOffsets(e,t,o){o=o.split('-')[0];var r=getOuterSizes(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[getOppositePlacement(s)],i}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function findIndex(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=find(e,function(e){return e[t]===o});return e.indexOf(r)}function runModifiers(e,t,o){var r=void 0===o?e:e.slice(0,findIndex(e,'name',o));return r.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&isFunction(o)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=o(t,e))}),t}function update(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function isModifierEnabled(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function getSupportedPropertyName(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[getSupportedPropertyName('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(e){var t=e.ownerDocument;return t?t.defaultView:window}function attachToScrollParents(e,t,o,r){var i='BODY'===e.nodeName,n=i?e.ownerDocument.defaultView:e;n.addEventListener(t,o,{passive:!0}),i||attachToScrollParents(getScrollParent(n.parentNode),t,o,r),r.push(n)}function setupEventListeners(e,t,o,r){o.updateBound=r,getWindow(e).addEventListener('resize',o.updateBound,{passive:!0});var i=getScrollParent(e);return attachToScrollParents(i,'scroll',o.updateBound,o.scrollParents),o.scrollElement=i,o.eventsEnabled=!0,o}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(e,t){return getWindow(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 disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=removeEventListeners(this.reference,this.state))}function isNumeric(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&isNumeric(t[o])&&(r='px'),e.style[o]=t[o]+r})}function setAttributes(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function applyStyle(e){return setStyles(e.instance.popper,e.styles),setAttributes(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&setStyles(e.arrowElement,e.arrowStyles),e}function applyStyleOnLoad(e,t,o,r,i){var n=getReferenceOffsets(i,t,e,o.positionFixed),p=computeAutoPlacement(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),setStyles(t,{position:o.positionFixed?'fixed':'absolute'}),o}function computeStyle(e,t){var o=Math.round,r=Math.floor,i=t.x,n=t.y,p=e.offsets.popper,s=find(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==s&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var a=void 0===s?t.gpuAcceleration:s,d=getOffsetParent(e.instance.popper),l=getBoundingClientRect(d),c={position:p.position},f={left:r(p.left),top:o(p.top),bottom:o(p.bottom),right:r(p.right)},m='bottom'===i?'top':'bottom',h='right'===n?'left':'right',u=getSupportedPropertyName('transform'),b=void 0,g=void 0;if(g='bottom'==m?'HTML'===d.nodeName?-d.clientHeight+f.bottom:-l.height+f.bottom:f.top,b='right'==h?'HTML'===d.nodeName?-d.clientWidth+f.right:-l.width+f.right:f.left,a&&u)c[u]='translate3d('+b+'px, '+g+'px, 0)',c[m]=0,c[h]=0,c.willChange='transform';else{var y='bottom'==m?-1:1,v='right'==h?-1:1;c[m]=g*y,c[h]=b*v,c.willChange=m+', '+h}var w={"x-placement":e.placement};return e.attributes=_extends$1({},w,e.attributes),e.styles=_extends$1({},c,e.styles),e.arrowStyles=_extends$1({},e.offsets.arrow,e.arrowStyles),e}function isModifierRequired(e,t,o){var r=find(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function arrow(e,t){var o;if(!isModifierRequired(e.instance.modifiers,'arrow','keepTogether'))return e;var r=t.element;if('string'==typeof r){if(r=e.instance.popper.querySelector(r),!r)return e;}else if(!e.instance.popper.contains(r))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],n=e.offsets,p=n.popper,s=n.reference,a=-1!==['left','right'].indexOf(i),d=a?'height':'width',l=a?'Top':'Left',c=l.toLowerCase(),f=a?'left':'top',m=a?'bottom':'right',h=getOuterSizes(r)[d];s[m]-h<p[c]&&(e.offsets.popper[c]-=p[c]-(s[m]-h)),s[c]+h>p[m]&&(e.offsets.popper[c]+=s[c]+h-p[m]),e.offsets.popper=getClientRect(e.offsets.popper);var u=s[c]+s[d]/2-h/2,b=getStyleComputedProperty(e.instance.popper),g=parseFloat(b['margin'+l],10),y=parseFloat(b['border'+l+'Width'],10),v=u-e.offsets.popper[c]-g-y;return v=Math.max(Math.min(p[d]-h,v),0),e.arrowElement=r,e.offsets.arrow=(o={},defineProperty$1(o,c,Math.round(v)),defineProperty$1(o,f,''),o),e}function getOppositeVariation(e){if('end'===e)return'start';return'start'===e?'end':e}var placements=['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'],validPlacements=placements.slice(3);function clockwise(e){var t=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1],o=validPlacements.indexOf(e),r=validPlacements.slice(o+1).concat(validPlacements.slice(0,o));return t?r.reverse():r}var BEHAVIORS={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'};function flip(e,t){if(isModifierEnabled(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=getOppositePlacement(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case BEHAVIORS.FLIP:p=[r,i];break;case BEHAVIORS.CLOCKWISE:p=clockwise(r);break;case BEHAVIORS.COUNTERCLOCKWISE:p=clockwise(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=getOppositePlacement(r);var d=e.offsets.popper,l=e.offsets.reference,c=Math.floor,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=getOppositeVariation(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=_extends$1({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,'flip'))}),e}function keepTogether(e){var t=e.offsets,o=t.popper,r=t.reference,i=e.placement.split('-')[0],n=Math.floor,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}function toValue(e,t,o,r){var i=Math.max,n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),p=+n[1],s=n[2];if(!p)return e;if(0===s.indexOf('%')){var a;switch(s){case'%p':a=o;break;case'%':case'%r':default:a=r;}var d=getClientRect(a);return d[t]/100*p}if('vh'===s||'vw'===s){var l;return l='vh'===s?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*p}return p}function parseOffset(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(find(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return toValue(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){isNumeric(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function offset(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=isNumeric(+o)?[+o,0]:parseOffset(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function preventOverflow(e,t){var o=t.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===o&&(o=getOffsetParent(o));var r=getSupportedPropertyName('transform'),i=e.instance.popper.style,n=i.top,p=i.left,s=i[r];i.top='',i.left='',i[r]='';var a=getBoundaries(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=p,i[r]=s,t.boundaries=a;var d=t.priority,l=e.offsets.popper,c={primary:function(e){var o=l[e];return l[e]<a[e]&&!t.escapeWithReference&&(o=Math.max(l[e],a[e])),defineProperty$1({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=l[o];return l[e]>a[e]&&!t.escapeWithReference&&(r=Math.min(l[o],a[e]-('right'===e?l.width:l.height))),defineProperty$1({},o,r)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';l=_extends$1({},l,c[t](e))}),e.offsets.popper=l,e}function shift(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:defineProperty$1({},a,n[a]),end:defineProperty$1({},a,n[a]+n[d]-p[d])};e.offsets.popper=_extends$1({},p,l[r])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=find(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}function inner(e){var t=e.placement,o=t.split('-')[0],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(i),e}var modifiers={shift:{order:100,enabled:!0,fn:shift},offset:{order:200,enabled:!0,fn:offset,offset:0},preventOverflow:{order:300,enabled:!0,fn:preventOverflow,priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:keepTogether},arrow:{order:500,enabled:!0,fn:arrow,element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:flip,behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:inner},hide:{order:800,enabled:!0,fn:hide},computeStyle:{order:850,enabled:!0,fn:computeStyle,gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:void 0}},Defaults$1={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:modifiers},Popper=function(){function e(t,o){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};classCallCheck$1(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=debounce(this.update.bind(this)),this.options=_extends$1({},e.Defaults,i),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(_extends$1({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=_extends$1({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return _extends$1({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&isFunction(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var n=this.options.eventsEnabled;n&&this.enableEventListeners(),this.state.eventsEnabled=n}return createClass$1(e,[{key:'update',value:function(){return update.call(this)}},{key:'destroy',value:function(){return destroy.call(this)}},{key:'enableEventListeners',value:function(){return enableEventListeners.call(this)}},{key:'disableEventListeners',value:function(){return disableEventListeners.call(this)}}]),e}();Popper.Utils=('undefined'==typeof window?global:window).PopperUtils,Popper.placements=placements,Popper.Defaults=Defaults$1;var Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},FF_EXTENSION_TRICK={x:!0},isBrowser$1='undefined'!=typeof window,toArray$1=function(e){return[].slice.call(e)},setContent=function(e,t){t.content instanceof Element?(setInnerHTML(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},elementCanReceiveFocus=function(e){return!(e instanceof Element)||matches.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},applyTransitionDuration=function(e,t){e.filter(Boolean).forEach(function(e){e.style[prefix('transitionDuration')]=t+'ms'})},getChildren=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Selectors.TOOLTIP),backdrop:t(Selectors.BACKDROP),content:t(Selectors.CONTENT),arrow:t(Selectors.ARROW)||t(Selectors.ROUND_ARROW)}},isPlainObject=function(e){return'[object Object]'==={}.toString.call(e)},div=function(){return document.createElement('div')},setInnerHTML=function(e,t){e[FF_EXTENSION_TRICK.x&&'innerHTML']=t instanceof Element?t[FF_EXTENSION_TRICK.x&&'innerHTML']:t},getArrayOfElements=function(e){if(e instanceof Element||isPlainObject(e))return[e];if(e instanceof NodeList)return toArray$1(e);if(Array.isArray(e))return e;try{return toArray$1(document.querySelectorAll(e))}catch(t){return[]}},isNumeric$1=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},getValue=function(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e},createArrowElement=function(e){var t=div();return'round'===e?(t.className='tippy-roundarrow',setInnerHTML(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},createBackdropElement=function(){var e=div();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},addInteractive=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},removeInteractive=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},addInertia=function(e){e.setAttribute('data-inertia','')},removeInertia=function(e){e.removeAttribute('data-inertia')},createPopperElement=function(e,t){var o=div();o.className='tippy-popper',o.role='tooltip',o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=div();r.className='tippy-tooltip',r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=div();return i.className='tippy-content',t.interactive&&addInteractive(o,r),t.arrow&&r.appendChild(createArrowElement(t.arrowType)),t.animateFill&&(r.appendChild(createBackdropElement()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),setContent(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!closestCallback(t.relatedTarget,function(e){return e===o})&&o._tippy.hide()}),o},updatePopperElement=function(e,t,o){var r=getChildren(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow;applyTransitionDuration([i],0),e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),setContent(n,o),!t.animateFill&&o.animateFill?(i.appendChild(createBackdropElement()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(createArrowElement(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(createArrowElement(o.arrowType),s),!t.interactive&&o.interactive?addInteractive(e,i):t.interactive&&!o.interactive&&removeInteractive(e,i),!t.inertia&&o.inertia?addInertia(i):t.inertia&&!o.inertia&&removeInertia(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')}))},hideAllPoppers=function(e){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})},getDataAttributeOptions=function(e){return Object.keys(Defaults).reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='true'===r||'false'!==r&&(isNumeric$1(r)?+r:'target'!==o&&'['===r[0]?JSON.parse(r):r),t):t},{})},polyfillVirtualReferenceProps=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o];return e},matches=function(){if(isBrowser$1){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),closest=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(matches.call(t,e))return t;t=t.parentElement}}).call(e,t)},closestCallback=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},focus=function(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)},reflow=function(e){void e.offsetHeight},transformAxisBasedOnPlacement=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},transformNumbersBasedOnPlacement=function(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]},getTransformAxis=function(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''},getTransformNumbers=function(e,t){var o=e.match(t);return o?o[1].split(',').map(parseFloat):[]},TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},computeArrowTransform=function(e,t){var o=getPopperPlacement(closest(e,Selectors.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:getTransformAxis(t,'translate'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(t,'scale'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.scale)}},p=t.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(n.translate.axis,r)+'('+transformNumbersBasedOnPlacement('translate',n.translate.numbers,r,i)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(n.scale.axis,r)+'('+transformNumbersBasedOnPlacement('scale',n.scale.numbers,r,i)+')');e.style[prefix('transform')]=p},setVisibilityState=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},prefix=function(e){for(var t=['','webkit'],o=e[0].toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null},updatePopperPosition=function(e,t,o){var r=e.popper,i=e.options,n=i.onCreate,p=i.onUpdate;i.onCreate=i.onUpdate=function(){reflow(r),t&&t(),p(),i.onCreate=n,i.onUpdate=p},o||e.scheduleUpdate()},defer=function(e){setTimeout(e,1)},isCursorOutsideInteractiveBorder=function(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c},getOffsetDistanceInPx=function(e,t){return-(e-t)+'px'},getPopperPlacement=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},evaluateProps=function(e,t){var o=_extends({},t,t.performance?{}:getDataAttributeOptions(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o},transitionEvent=isBrowser$1&&'transition'in document.body.style?'transitionend':'webkitTransitionEnd',toggleListener=function(e,t,o){e[t+'EventListener'](transitionEvent,o)},nav=isBrowser$1?navigator:{},win=isBrowser$1?window:{},isIE$1=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch='ontouchstart'in win,isUsingTouch=!1,onDocumentTouch=function(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))},lastMouseMoveTime=0,onDocumentMouseMove=function e(){var t=performance.now();20>t-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',e),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=t},onDocumentClick=function(e){var t=e.target;if(!(t instanceof Element))return hideAllPoppers();var o=closest(t,Selectors.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=closestCallback(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(isUsingTouch||n)return hideAllPoppers(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}hideAllPoppers()}},onWindowBlur=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},onWindowResize=function(){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})};function bindEventListeners(){document.addEventListener('click',onDocumentClick),document.addEventListener('touchstart',onDocumentTouch),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}var idCounter=1;function createTippy(e,t){function o(e){var t=P=e,o=t.clientX,r=t.clientY;U.popperInstance&&(U.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:r,left:o,right:o,bottom:r}},clientWidth:0,clientHeight:0},U.popperInstance.scheduleUpdate())}function r(e){var t=closest(e.target,U.props.target);if(t&&!t._tippy){var o=U.props.content;o&&(createTippy(t,_extends({},U.props,{content:o,target:'',showOnInit:!0})),i(e))}}function i(e){if(x(),!U.state.isVisible){if(U.props.target)return void r(e);if(I=!0,U.props.wait)return void U.props.wait(L,e);h()&&(M.arrow&&(M.arrow.style.margin='0'),document.addEventListener('mousemove',o));var t=getValue(U.props.delay,0,Defaults.delay);t?S=setTimeout(function(){L()},t):L()}}function n(){if(x(),!!U.state.isVisible){I=!1;var e=getValue(U.props.delay,1,Defaults.delay);e?D=setTimeout(function(){U.state.isVisible&&O()},e):O()}}function p(e){if(U.state.isEnabled){var t=supportsTouch&&isUsingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);t&&U.props.touchHold||(k=e,'click'===e.type&&!1!==U.props.hideOnClick&&U.state.isVisible?n():i(e))}}function s(e){var t=closestCallback(e.target,function(e){return e._tippy}),o=closest(e.target,Selectors.POPPER)===U.popper,r=t===U.reference;o||r||isCursorOutsideInteractiveBorder(getPopperPlacement(U.popper),U.popper.getBoundingClientRect(),e,U.props)&&(document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',s),n())}function a(e){return-1<['mouseleave','mouseout'].indexOf(e.type)&&supportsTouch&&isUsingTouch&&U.props.touchHold?void 0:U.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',s)):void n()}function d(e){if(!(e.target!==U.reference||isUsingTouch)){if(U.props.interactive){if(!e.relatedTarget)return;if(closest(e.relatedTarget,Selectors.POPPER))return}n()}}function l(e){closest(e.target,U.props.target)&&i(e)}function c(e){closest(e.target,U.props.target)&&n()}function f(){var e=U.popperChildren.tooltip,t=U.props.props,o=Selectors['round'===U.props.arrowType?'ROUND_ARROW':'ARROW'],r=e.querySelector(o),i=_extends({placement:U.props.placement},t||{},{modifiers:_extends({},t?t.modifiers:{},{arrow:_extends({element:o},t&&t.modifiers?t.modifiers.arrow:{}),flip:_extends({enabled:U.props.flip,padding:U.props.distance+5,behavior:U.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:_extends({offset:U.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[getPopperPlacement(U.popper)]=getOffsetDistanceInPx(U.props.distance,Defaults.distance),r&&U.props.arrowTransform&&computeArrowTransform(r,U.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[getPopperPlacement(U.popper)]=getOffsetDistanceInPx(U.props.distance,Defaults.distance),r&&U.props.arrowTransform&&computeArrowTransform(r,U.props.arrowTransform)}}),n=new MutationObserver(function(){U.popperInstance.update()});return n.observe(U.popper,{childList:!0,subtree:!0}),A&&A.disconnect(),A=n,new Popper(U.reference,U.popper,i)}function m(e){U.popperInstance?(U.popperInstance.scheduleUpdate(),U.props.livePlacement&&!h()&&U.popperInstance.enableEventListeners()):(U.popperInstance=f(),!U.props.livePlacement&&U.popperInstance.disableEventListeners()),U.popperInstance.reference=U.reference,h()&&U.popperChildren.arrow&&(U.popperChildren.arrow.style.margin=''),updatePopperPosition(U.popperInstance,e,!0),U.props.appendTo.contains(U.popper)||U.props.appendTo.appendChild(U.popper)}function h(){return U.props.followCursor&&!isUsingTouch&&'focus'!==k.type}function u(){var e=function(){U.popper.style[prefix('transitionDuration')]=U.props.updateDuration+'ms'},t=function(){U.popper.style[prefix('transitionDuration')]=''};(function o(){U.popperInstance&&U.popperInstance.scheduleUpdate(),e(),U.state.isVisible?defer(o):t()})()}function b(e,t){y(!1,e,function(){!U.state.isVisible&&U.props.appendTo.contains(U.popper)&&t()})}function g(e,t){y(!0,e,t)}function y(t,e,o){if(0===e)return o();var r=U.popperChildren.tooltip,i=function i(n){n.target===r&&getComputedStyle(r).opacity===(t?'1':'0')&&(toggleListener(r,'remove',i),o())};toggleListener(r,'remove',N),toggleListener(r,'add',i),N=i}function v(e,t,o){U.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function w(){H=U.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(T.target?'mouseenter'===t?(v('mouseover',l,e),v('mouseout',c,e)):'focus'===t?(v('focusin',l,e),v('focusout',c,e)):'click'===t?v(t,l,e):void 0:(v(t,p,e),'mouseenter'===t?v('mouseleave',a,e):'focus'===t?v(isIE$1?'focusout':'blur',d,e):void 0),e)},[])}function E(){H.forEach(function(e){var t=e.eventType,o=e.handler;U.reference.removeEventListener(t,o)})}function x(){clearTimeout(S),clearTimeout(D)}function L(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(U.props.duration,0,Defaults.duration[0]);return U.state.isDestroyed||!U.state.isEnabled||isUsingTouch&&!U.props.touch?void 0:U.reference.isVirtual||document.documentElement.contains(U.reference)?U.reference.hasAttribute('disabled')?void 0:R?void(R=!1):void(U.props.onShow(U),U.popper.style.visibility='visible',U.state.isVisible=!0,applyTransitionDuration([U.popper,U.popperChildren.tooltip,U.popperChildren.backdrop],0),m(function(){if(U.state.isVisible){if(h()||U.popperInstance.scheduleUpdate(),h()){U.popperInstance.disableEventListeners();var t=getValue(U.props.delay,0,Defaults.delay);k&&o(t&&P?P:k)}applyTransitionDuration([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.backdrop?U.popperChildren.content:null],e),U.props.interactive&&U.reference.classList.add('tippy-active'),U.props.sticky&&u(),setVisibilityState([U.popperChildren.tooltip,U.popperChildren.backdrop],'visible'),g(e,function(){U.props.updateDuration||U.popperChildren.tooltip.classList.add('tippy-notransition'),U.props.interactive&&'focus'===k.type&&focus(U.popper),U.reference.setAttribute('aria-describedby',U.popper.id),U.props.onShown(U)})}})):C()}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(U.props.duration,1,Defaults.duration[1]);U.state.isDestroyed||!U.state.isEnabled||(U.props.onHide(U),0===U.props.updateDuration&&U.popperChildren.tooltip.classList.remove('tippy-notransition'),U.props.interactive&&U.reference.classList.remove('tippy-active'),U.popper.style.visibility='hidden',U.state.isVisible=!1,applyTransitionDuration([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.backdrop?U.popperChildren.content:null],e),setVisibilityState([U.popperChildren.tooltip,U.popperChildren.backdrop],'hidden'),U.props.interactive&&!R&&'focus'===k.type&&(R=!0,focus(U.reference)),b(e,function(){I||(document.removeEventListener('mousemove',o),P=null),U.reference.removeAttribute('aria-describedby'),U.popperInstance.disableEventListeners(),U.props.appendTo.removeChild(U.popper),U.props.onHidden(U)}))}function C(e){U.state.isDestroyed||(U.state.isVisible&&O(0),E(),delete U.reference._tippy,U.props.target&&e&&toArray$1(U.reference.querySelectorAll(U.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),U.popperInstance&&U.popperInstance.destroy(),A&&A.disconnect(),U.state.isDestroyed=!0)}var T=evaluateProps(e,t);if(!T.multiple&&e._tippy)return null;var A=null,k={},P={},S=0,D=0,I=!1,N=function(){},H=[],R=!1,W=idCounter++,B=createPopperElement(W,T),M=getChildren(B),U={id:W,reference:e,popper:B,popperChildren:M,popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:x,set:function(e){var t=U.props,o=evaluateProps(U.reference,_extends({},U.props,e,{performance:!0}));o.performance=e.performance||t.performance,U.props=o,e.trigger&&(E(),w()),updatePopperElement(U.popper,t,o),U.popperChildren=getChildren(U.popper),U.popperInstance&&(U.popperInstance=f())},show:L,hide:O,enable:function(){U.state.isEnabled=!0},disable:function(){U.state.isEnabled=!1},destroy:C};return w(),T.lazy||(U.popperInstance=f(),U.popperInstance.disableEventListeners()),T.showOnInit&&setTimeout(i,20),!T.a11y||T.target||elementCanReceiveFocus(e)||e.setAttribute('tabindex','0'),e._tippy=U,B._tippy=U,U}var eventListenersBound=!1;function tippy$1(e,t,o){for(var r in eventListenersBound||(bindEventListeners(),eventListenersBound=!0),t||{})if(!(r in Defaults))throw Error('[tippy]: '+r+' is not a valid option');var i=_extends({},Defaults,t);isPlainObject(e)&&polyfillVirtualReferenceProps(e);var n=getArrayOfElements(e),p=n[0],s=(o&&p?[p]:n).reduce(function(e,t){var o=t?createTippy(t,i):null;return o?e.concat(o):e},[]);return{targets:e,props:i,instances:s,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.setDefaults=setDefaults,tippy$1.one=function(e,t){return tippy$1(e,t,!0).instances[0]},tippy$1.disableAnimations=function(){setDefaults({duration:0,updateDuration:0,animateFill:!1})};var autoInit=function(){toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&tippy$1(e,{content:t})})};isBrowser$1&&autoInit();export default tippy$1; | ||
for(var version='3.0.0-alpha.2',_extends=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Defaults={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},setDefaults=function(e){Defaults=_extends({},Defaults,e)},isBrowser='undefined'!=typeof window&&'undefined'!=typeof document,longerTimeoutBrowsers=['Edge','Trident','Firefox'],timeoutDuration=0,i=0;i<longerTimeoutBrowsers.length;i+=1)if(isBrowser&&0<=navigator.userAgent.indexOf(longerTimeoutBrowsers[i])){timeoutDuration=1;break}function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},timeoutDuration))}}var supportsMicroTasks=isBrowser&&window.Promise,debounce=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction(e){return e&&'[object Function]'==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function getParentNode(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=getStyleComputedProperty(e),o=t.overflow,r=t.overflowX,i=t.overflowY;return /(auto|scroll|overlay)/.test(o+i+r)?e:getScrollParent(getParentNode(e))}var isIE11=isBrowser&&!!(window.MSInputMethodContext&&document.documentMode),isIE10=isBrowser&&/MSIE 10/.test(navigator.userAgent);function isIE(e){return 11===e?isIE11:10===e?isIE10:isIE11||isIE10}function getOffsetParent(e){if(!e)return document.documentElement;for(var t=isIE(10)?document.body:null,o=e.offsetParent;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var r=o&&o.nodeName;return r&&'BODY'!==r&&'HTML'!==r?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===getStyleComputedProperty(o,'position')?getOffsetParent(o):o:e?e.ownerDocument.documentElement:document.documentElement}function isOffsetContainer(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||getOffsetParent(e.firstElementChild)===e)}function getRoot(e){return null===e.parentNode?e:getRoot(e.parentNode)}function findCommonOffsetParent(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var p=n.commonAncestorContainer;if(e!==p&&t!==p||r.contains(i))return isOffsetContainer(p)?p:getOffsetParent(p);var s=getRoot(e);return s.host?findCommonOffsetParent(s.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function includeScroll(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=getScroll(t,'top'),i=getScroll(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function getBordersSize(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function getSize(e,t,o,r){return Math.max(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],isIE(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function getWindowSizes(e){var t=e.body,o=e.documentElement,r=isIE(10)&&getComputedStyle(o);return{height:getSize('Height',t,o,r),width:getSize('Width',t,o,r)}}var classCallCheck$1=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},createClass$1=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),defineProperty$1=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},_extends$1=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function getClientRect(e){return _extends$1({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};try{if(isIE(10)){t=e.getBoundingClientRect();var o=getScroll(e,'top'),r=getScroll(e,'left');t.top+=o,t.left+=r,t.bottom+=o,t.right+=r}else t=e.getBoundingClientRect()}catch(t){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n='HTML'===e.nodeName?getWindowSizes(e.ownerDocument):{},p=n.width||e.clientWidth||i.right-i.left,s=n.height||e.clientHeight||i.bottom-i.top,a=e.offsetWidth-p,d=e.offsetHeight-s;if(a||d){var l=getStyleComputedProperty(e);a-=getBordersSize(l,'x'),d-=getBordersSize(l,'y'),i.width-=a,i.height-=d}return getClientRect(i)}function getOffsetRectRelativeToArbitraryNode(e,t){var o=Math.max,r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=isIE(10),n='HTML'===t.nodeName,p=getBoundingClientRect(e),s=getBoundingClientRect(t),a=getScrollParent(e),d=getStyleComputedProperty(t),l=parseFloat(d.borderTopWidth,10),c=parseFloat(d.borderLeftWidth,10);r&&n&&(s.top=o(s.top,0),s.left=o(s.left,0));var f=getClientRect({top:p.top-s.top-l,left:p.left-s.left-c,width:p.width,height:p.height});if(f.marginTop=0,f.marginLeft=0,!i&&n){var m=parseFloat(d.marginTop,10),h=parseFloat(d.marginLeft,10);f.top-=l-m,f.bottom-=l-m,f.left-=c-h,f.right-=c-h,f.marginTop=m,f.marginLeft=h}return(i&&!r?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(f=includeScroll(f,t)),f}function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=Math.max,o=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,i=getOffsetRectRelativeToArbitraryNode(e,r),n=t(r.clientWidth,window.innerWidth||0),p=t(r.clientHeight,window.innerHeight||0),s=o?0:getScroll(r),a=o?0:getScroll(r,'left'),d={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:p};return getClientRect(d)}function isFixed(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&(!('fixed'!==getStyleComputedProperty(e,'position'))||isFixed(getParentNode(e)))}function getFixedPositionOffsetParent(e){if(!e||!e.parentElement||isIE())return document.documentElement;for(var t=e.parentElement;t&&'none'===getStyleComputedProperty(t,'transform');)t=t.parentElement;return t||document.documentElement}function getBoundaries(e,t,o,r){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},p=i?getFixedPositionOffsetParent(e):findCommonOffsetParent(e,t);if('viewport'===r)n=getViewportOffsetRectRelativeToArtbitraryNode(p,i);else{var s;'scrollParent'===r?(s=getScrollParent(getParentNode(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===r?s=e.ownerDocument.documentElement:s=r;var a=getOffsetRectRelativeToArbitraryNode(s,p,i);if('HTML'===s.nodeName&&!isFixed(p)){var d=getWindowSizes(e.ownerDocument),l=d.height,c=d.width;n.top+=a.top-a.marginTop,n.bottom=l+a.top,n.left+=a.left-a.marginLeft,n.right=c+a.left}else n=a}o=o||0;var f='number'==typeof o;return n.left+=f?o:o.left||0,n.top+=f?o:o.top||0,n.right-=f?o:o.right||0,n.bottom-=f?o:o.bottom||0,n}function getArea(e){var t=e.width,o=e.height;return t*o}function computeAutoPlacement(e,t,o,r,i){var n=5<arguments.length&&arguments[5]!==void 0?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=getBoundaries(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return _extends$1({key:e},s[e],{area:getArea(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function getReferenceOffsets(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null,i=r?getFixedPositionOffsetParent(t):findCommonOffsetParent(t,o);return getOffsetRectRelativeToArbitraryNode(o,i,r)}function getOuterSizes(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+r,height:e.offsetHeight+o};return i}function getOppositePlacement(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 getPopperOffsets(e,t,o){o=o.split('-')[0];var r=getOuterSizes(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[getOppositePlacement(s)],i}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function findIndex(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=find(e,function(e){return e[t]===o});return e.indexOf(r)}function runModifiers(e,t,o){var r=void 0===o?e:e.slice(0,findIndex(e,'name',o));return r.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&isFunction(o)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=o(t,e))}),t}function update(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function isModifierEnabled(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function getSupportedPropertyName(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[getSupportedPropertyName('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(e){var t=e.ownerDocument;return t?t.defaultView:window}function attachToScrollParents(e,t,o,r){var i='BODY'===e.nodeName,n=i?e.ownerDocument.defaultView:e;n.addEventListener(t,o,{passive:!0}),i||attachToScrollParents(getScrollParent(n.parentNode),t,o,r),r.push(n)}function setupEventListeners(e,t,o,r){o.updateBound=r,getWindow(e).addEventListener('resize',o.updateBound,{passive:!0});var i=getScrollParent(e);return attachToScrollParents(i,'scroll',o.updateBound,o.scrollParents),o.scrollElement=i,o.eventsEnabled=!0,o}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(e,t){return getWindow(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 disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=removeEventListeners(this.reference,this.state))}function isNumeric(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&isNumeric(t[o])&&(r='px'),e.style[o]=t[o]+r})}function setAttributes(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function applyStyle(e){return setStyles(e.instance.popper,e.styles),setAttributes(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&setStyles(e.arrowElement,e.arrowStyles),e}function applyStyleOnLoad(e,t,o,r,i){var n=getReferenceOffsets(i,t,e,o.positionFixed),p=computeAutoPlacement(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),setStyles(t,{position:o.positionFixed?'fixed':'absolute'}),o}function computeStyle(e,t){var o=Math.round,r=Math.floor,i=t.x,n=t.y,p=e.offsets.popper,s=find(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==s&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var a=void 0===s?t.gpuAcceleration:s,d=getOffsetParent(e.instance.popper),l=getBoundingClientRect(d),c={position:p.position},f={left:r(p.left),top:o(p.top),bottom:o(p.bottom),right:r(p.right)},m='bottom'===i?'top':'bottom',h='right'===n?'left':'right',u=getSupportedPropertyName('transform'),b=void 0,g=void 0;if(g='bottom'==m?'HTML'===d.nodeName?-d.clientHeight+f.bottom:-l.height+f.bottom:f.top,b='right'==h?'HTML'===d.nodeName?-d.clientWidth+f.right:-l.width+f.right:f.left,a&&u)c[u]='translate3d('+b+'px, '+g+'px, 0)',c[m]=0,c[h]=0,c.willChange='transform';else{var y='bottom'==m?-1:1,v='right'==h?-1:1;c[m]=g*y,c[h]=b*v,c.willChange=m+', '+h}var w={"x-placement":e.placement};return e.attributes=_extends$1({},w,e.attributes),e.styles=_extends$1({},c,e.styles),e.arrowStyles=_extends$1({},e.offsets.arrow,e.arrowStyles),e}function isModifierRequired(e,t,o){var r=find(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function arrow(e,t){var o;if(!isModifierRequired(e.instance.modifiers,'arrow','keepTogether'))return e;var r=t.element;if('string'==typeof r){if(r=e.instance.popper.querySelector(r),!r)return e;}else if(!e.instance.popper.contains(r))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],n=e.offsets,p=n.popper,s=n.reference,a=-1!==['left','right'].indexOf(i),d=a?'height':'width',l=a?'Top':'Left',c=l.toLowerCase(),f=a?'left':'top',m=a?'bottom':'right',h=getOuterSizes(r)[d];s[m]-h<p[c]&&(e.offsets.popper[c]-=p[c]-(s[m]-h)),s[c]+h>p[m]&&(e.offsets.popper[c]+=s[c]+h-p[m]),e.offsets.popper=getClientRect(e.offsets.popper);var u=s[c]+s[d]/2-h/2,b=getStyleComputedProperty(e.instance.popper),g=parseFloat(b['margin'+l],10),y=parseFloat(b['border'+l+'Width'],10),v=u-e.offsets.popper[c]-g-y;return v=Math.max(Math.min(p[d]-h,v),0),e.arrowElement=r,e.offsets.arrow=(o={},defineProperty$1(o,c,Math.round(v)),defineProperty$1(o,f,''),o),e}function getOppositeVariation(e){if('end'===e)return'start';return'start'===e?'end':e}var placements=['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'],validPlacements=placements.slice(3);function clockwise(e){var t=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1],o=validPlacements.indexOf(e),r=validPlacements.slice(o+1).concat(validPlacements.slice(0,o));return t?r.reverse():r}var BEHAVIORS={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'};function flip(e,t){if(isModifierEnabled(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=getOppositePlacement(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case BEHAVIORS.FLIP:p=[r,i];break;case BEHAVIORS.CLOCKWISE:p=clockwise(r);break;case BEHAVIORS.COUNTERCLOCKWISE:p=clockwise(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=getOppositePlacement(r);var d=e.offsets.popper,l=e.offsets.reference,c=Math.floor,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=getOppositeVariation(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=_extends$1({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,'flip'))}),e}function keepTogether(e){var t=e.offsets,o=t.popper,r=t.reference,i=e.placement.split('-')[0],n=Math.floor,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}function toValue(e,t,o,r){var i=Math.max,n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),p=+n[1],s=n[2];if(!p)return e;if(0===s.indexOf('%')){var a;switch(s){case'%p':a=o;break;case'%':case'%r':default:a=r;}var d=getClientRect(a);return d[t]/100*p}if('vh'===s||'vw'===s){var l;return l='vh'===s?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*p}return p}function parseOffset(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(find(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return toValue(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){isNumeric(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function offset(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=isNumeric(+o)?[+o,0]:parseOffset(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function preventOverflow(e,t){var o=t.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===o&&(o=getOffsetParent(o));var r=getSupportedPropertyName('transform'),i=e.instance.popper.style,n=i.top,p=i.left,s=i[r];i.top='',i.left='',i[r]='';var a=getBoundaries(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=p,i[r]=s,t.boundaries=a;var d=t.priority,l=e.offsets.popper,c={primary:function(e){var o=l[e];return l[e]<a[e]&&!t.escapeWithReference&&(o=Math.max(l[e],a[e])),defineProperty$1({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=l[o];return l[e]>a[e]&&!t.escapeWithReference&&(r=Math.min(l[o],a[e]-('right'===e?l.width:l.height))),defineProperty$1({},o,r)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';l=_extends$1({},l,c[t](e))}),e.offsets.popper=l,e}function shift(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:defineProperty$1({},a,n[a]),end:defineProperty$1({},a,n[a]+n[d]-p[d])};e.offsets.popper=_extends$1({},p,l[r])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=find(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}function inner(e){var t=e.placement,o=t.split('-')[0],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(i),e}var modifiers={shift:{order:100,enabled:!0,fn:shift},offset:{order:200,enabled:!0,fn:offset,offset:0},preventOverflow:{order:300,enabled:!0,fn:preventOverflow,priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:keepTogether},arrow:{order:500,enabled:!0,fn:arrow,element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:flip,behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:inner},hide:{order:800,enabled:!0,fn:hide},computeStyle:{order:850,enabled:!0,fn:computeStyle,gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:void 0}},Defaults$1={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:modifiers},Popper=function(){function e(t,o){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};classCallCheck$1(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=debounce(this.update.bind(this)),this.options=_extends$1({},e.Defaults,i),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(_extends$1({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=_extends$1({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return _extends$1({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&isFunction(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var n=this.options.eventsEnabled;n&&this.enableEventListeners(),this.state.eventsEnabled=n}return createClass$1(e,[{key:'update',value:function(){return update.call(this)}},{key:'destroy',value:function(){return destroy.call(this)}},{key:'enableEventListeners',value:function(){return enableEventListeners.call(this)}},{key:'disableEventListeners',value:function(){return disableEventListeners.call(this)}}]),e}();Popper.Utils=('undefined'==typeof window?global:window).PopperUtils,Popper.placements=placements,Popper.Defaults=Defaults$1;var Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},FF_EXTENSION_TRICK={x:!0},isBrowser$1='undefined'!=typeof window,toArray$1=function(e){return[].slice.call(e)},setContent=function(e,t){t.content instanceof Element?(setInnerHTML(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},elementCanReceiveFocus=function(e){return!(e instanceof Element)||matches.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},applyTransitionDuration=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},getChildren=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Selectors.TOOLTIP),backdrop:t(Selectors.BACKDROP),content:t(Selectors.CONTENT),arrow:t(Selectors.ARROW)||t(Selectors.ROUND_ARROW)}},isPlainObject=function(e){return'[object Object]'==={}.toString.call(e)},div=function(){return document.createElement('div')},setInnerHTML=function(e,t){e[FF_EXTENSION_TRICK.x&&'innerHTML']=t instanceof Element?t[FF_EXTENSION_TRICK.x&&'innerHTML']:t},getArrayOfElements=function(e){if(e instanceof Element||isPlainObject(e))return[e];if(e instanceof NodeList)return toArray$1(e);if(Array.isArray(e))return e;try{return toArray$1(document.querySelectorAll(e))}catch(t){return[]}},isNumeric$1=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},getValue=function(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e},createArrowElement=function(e){var t=div();return'round'===e?(t.className='tippy-roundarrow',setInnerHTML(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},createBackdropElement=function(){var e=div();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},addInteractive=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},removeInteractive=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},addInertia=function(e){e.setAttribute('data-inertia','')},removeInertia=function(e){e.removeAttribute('data-inertia')},createPopperElement=function(e,t){var o=div();o.className='tippy-popper',o.role='tooltip',o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=div();r.className='tippy-tooltip',r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=div();return i.className='tippy-content',t.interactive&&addInteractive(o,r),t.arrow&&r.appendChild(createArrowElement(t.arrowType)),t.animateFill&&(r.appendChild(createBackdropElement()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),setContent(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!closestCallback(t.relatedTarget,function(e){return e===o})&&o._tippy.hide()}),o},updatePopperElement=function(e,t,o){var r=getChildren(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow,a=parseFloat(i.style.transitionDuration);applyTransitionDuration([i],0),e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),setContent(n,o),!t.animateFill&&o.animateFill?(i.appendChild(createBackdropElement()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(createArrowElement(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(createArrowElement(o.arrowType),s),!t.interactive&&o.interactive?addInteractive(e,i):t.interactive&&!o.interactive&&removeInteractive(e,i),!t.inertia&&o.inertia?addInertia(i):t.inertia&&!o.inertia&&removeInertia(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')})),defer(function(){applyTransitionDuration([i],a)})},hideAllPoppers=function(e){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})},getDataAttributeOptions=function(e){return Object.keys(Defaults).reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='true'===r||'false'!==r&&(isNumeric$1(r)?+r:'target'!==o&&'['===r[0]?JSON.parse(r):r),t):t},{})},polyfillVirtualReferenceProps=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o];return e},matches=function(){if(isBrowser$1){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),closest=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(matches.call(t,e))return t;t=t.parentElement}}).call(e,t)},closestCallback=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},focus=function(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)},reflow=function(e){void e.offsetHeight},transformAxisBasedOnPlacement=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},transformNumbersBasedOnPlacement=function(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]},getTransformAxis=function(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''},getTransformNumbers=function(e,t){var o=e.match(t);return o?o[1].split(',').map(parseFloat):[]},TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},computeArrowTransform=function(e,t){var o=getPopperPlacement(closest(e,Selectors.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:getTransformAxis(t,'translate'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(t,'scale'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.scale)}},p=t.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(n.translate.axis,r)+'('+transformNumbersBasedOnPlacement('translate',n.translate.numbers,r,i)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(n.scale.axis,r)+'('+transformNumbersBasedOnPlacement('scale',n.scale.numbers,r,i)+')');e.style[prefix('transform')]=p},setVisibilityState=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},prefix=function(e){for(var t=['','webkit'],o=e[0].toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null},updatePopperPosition=function(e,t,o){var r=e.popper,i=e.options,n=i.onCreate,p=i.onUpdate;i.onCreate=i.onUpdate=function(){reflow(r),t&&t(),p(),i.onCreate=n,i.onUpdate=p},o||e.scheduleUpdate()},defer=function(e){setTimeout(e,1)},isCursorOutsideInteractiveBorder=function(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c},getOffsetDistanceInPx=function(e,t){return-(e-t)+'px'},getPopperPlacement=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},evaluateProps=function(e,t){var o=_extends({},t,t.performance?{}:getDataAttributeOptions(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o},toggleTransitionEndListener=function(e,t,o){e[t+'EventListener']('transitionend',o)},nav=isBrowser$1?navigator:{},win=isBrowser$1?window:{},isIE$1=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch='ontouchstart'in win,isUsingTouch=!1,onDocumentTouch=function(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))},lastMouseMoveTime=0,onDocumentMouseMove=function e(){var t=performance.now();20>t-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',e),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=t},onDocumentClick=function(e){var t=e.target;if(!(t instanceof Element))return hideAllPoppers();var o=closest(t,Selectors.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=closestCallback(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(isUsingTouch||n)return hideAllPoppers(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}hideAllPoppers()}},onWindowBlur=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},onWindowResize=function(){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})};function bindEventListeners(){document.addEventListener('click',onDocumentClick),document.addEventListener('touchstart',onDocumentTouch),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}var idCounter=1;function createTippy(e,t){function o(e){var t=D=e,o=t.clientX,r=t.clientY;F.popperInstance&&(F.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:r,left:o,right:o,bottom:r}},clientWidth:0,clientHeight:0},F.popperInstance.scheduleUpdate())}function r(e){var t=closest(e.target,F.props.target);if(t&&!t._tippy){var o=F.props.content;o&&(createTippy(t,_extends({},F.props,{content:o,target:'',showOnInit:!0})),i(e))}}function i(e){if(x(),!F.state.isVisible){if(F.props.target)return void r(e);if(H=!0,F.props.wait)return void F.props.wait(O,e);h()&&(_.arrow&&(_.arrow.style.margin='0'),document.addEventListener('mousemove',o));var t=getValue(F.props.delay,0,Defaults.delay);t?I=setTimeout(function(){O()},t):O()}}function n(){if(x(),!!F.state.isVisible){H=!1;var e=getValue(F.props.delay,1,Defaults.delay);e?N=setTimeout(function(){F.state.isVisible&&C()},e):C()}}function p(e){if(F.state.isEnabled){var t=supportsTouch&&isUsingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);t&&F.props.touchHold||(S=e,'click'===e.type&&!1!==F.props.hideOnClick&&F.state.isVisible?n():i(e))}}function s(e){var t=closestCallback(e.target,function(e){return e._tippy}),o=closest(e.target,Selectors.POPPER)===F.popper,r=t===F.reference;o||r||isCursorOutsideInteractiveBorder(getPopperPlacement(F.popper),F.popper.getBoundingClientRect(),e,F.props)&&(document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',s),n())}function a(e){return-1<['mouseleave','mouseout'].indexOf(e.type)&&supportsTouch&&isUsingTouch&&F.props.touchHold?void 0:F.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',s)):void n()}function d(e){if(!(e.target!==F.reference||isUsingTouch)){if(F.props.interactive){if(!e.relatedTarget)return;if(closest(e.relatedTarget,Selectors.POPPER))return}n()}}function l(e){closest(e.target,F.props.target)&&i(e)}function c(e){closest(e.target,F.props.target)&&n()}function f(){var e=F.popperChildren.tooltip,t=F.props.popperOptions,o=Selectors['round'===F.props.arrowType?'ROUND_ARROW':'ARROW'],r=e.querySelector(o),p=_extends({placement:F.props.placement},t||{},{modifiers:_extends({},t?t.modifiers:{},{arrow:_extends({element:o},t&&t.modifiers?t.modifiers.arrow:{}),flip:_extends({enabled:F.props.flip,padding:F.props.distance+5,behavior:F.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:_extends({offset:F.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[getPopperPlacement(F.popper)]=getOffsetDistanceInPx(F.props.distance,Defaults.distance),r&&F.props.arrowTransform&&computeArrowTransform(r,F.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[getPopperPlacement(F.popper)]=getOffsetDistanceInPx(F.props.distance,Defaults.distance),r&&F.props.arrowTransform&&computeArrowTransform(r,F.props.arrowTransform)}}),s=new MutationObserver(function(){F.popperInstance.update()});return s.observe(F.popper,{childList:!0,subtree:!0}),k&&k.disconnect(),k=s,P||(F.popper.addEventListener('mouseenter',i),F.popper.addEventListener('mouseleave',n),P=!0),new Popper(F.reference,F.popper,p)}function m(e){F.popperInstance?(F.popperInstance.scheduleUpdate(),F.props.livePlacement&&!h()&&F.popperInstance.enableEventListeners()):(F.popperInstance=f(),!F.props.livePlacement&&F.popperInstance.disableEventListeners()),F.popperInstance.reference=F.reference,h()&&F.popperChildren.arrow&&(F.popperChildren.arrow.style.margin=''),updatePopperPosition(F.popperInstance,e,!0),F.props.appendTo.contains(F.popper)||F.props.appendTo.appendChild(F.popper)}function h(){return F.props.followCursor&&!isUsingTouch&&'focus'!==S.type}function u(){(function e(){applyTransitionDuration([F.popper],F.props.updateDuration),F.popperInstance&&F.popperInstance.scheduleUpdate(),F.state.isVisible?requestAnimationFrame(function(){defer(e)}):applyTransitionDuration([F.popper],0)})()}function b(e,t){y(!1,e,function(){!F.state.isVisible&&F.props.appendTo.contains(F.popper)&&t()})}function g(e,t){y(!0,e,t)}function y(t,e,o){if(0===e)return o();var r=F.popperChildren.tooltip,i=function i(n){n.target===r&&getComputedStyle(r).opacity===(t?'1':'0')&&(toggleTransitionEndListener(r,'remove',i),o())};toggleTransitionEndListener(r,'remove',R),toggleTransitionEndListener(r,'add',i),R=i}function v(e,t,o){F.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function w(){W=F.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(A.target?'mouseenter'===t?(v('mouseover',l,e),v('mouseout',c,e)):'focus'===t?(v('focusin',l,e),v('focusout',c,e)):'click'===t?v(t,l,e):void 0:(v(t,p,e),'mouseenter'===t?v('mouseleave',a,e):'focus'===t?v(isIE$1?'focusout':'blur',d,e):void 0),e)},[])}function E(){W.forEach(function(e){var t=e.eventType,o=e.handler;F.reference.removeEventListener(t,o)})}function x(){clearTimeout(I),clearTimeout(N)}function L(e){var t=F.props,o=evaluateProps(F.reference,_extends({},F.props,e,{performance:!0}));o.performance=e.performance||t.performance,F.props=o,e.trigger&&(E(),w()),updatePopperElement(F.popper,t,o),F.popperChildren=getChildren(F.popper),F.popperInstance&&(F.popperInstance=f())}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(F.props.duration,0,Defaults.duration[0]);return F.state.isDestroyed||!F.state.isEnabled||isUsingTouch&&!F.props.touch?void 0:F.reference.isVirtual||document.documentElement.contains(F.reference)?F.reference.hasAttribute('disabled')?void 0:B?void(B=!1):void(F.props.onShow(F),F.popper.style.visibility='visible',F.state.isVisible=!0,applyTransitionDuration([F.popper,F.popperChildren.tooltip,F.popperChildren.backdrop],0),m(function(){if(F.state.isVisible){if(h()||F.popperInstance.scheduleUpdate(),h()){F.popperInstance.disableEventListeners();var t=getValue(F.props.delay,0,Defaults.delay);S&&o(t&&D?D:S)}applyTransitionDuration([F.popperChildren.tooltip,F.popperChildren.backdrop,F.popperChildren.backdrop?F.popperChildren.content:null],e),F.props.interactive&&F.reference.classList.add('tippy-active'),F.props.sticky&&u(),setVisibilityState([F.popperChildren.tooltip,F.popperChildren.backdrop],'visible'),g(e,function(){0===F.props.updateDuration&&F.popperChildren.tooltip.classList.add('tippy-notransition'),F.props.interactive&&'focus'===S.type&&focus(F.popper),F.reference.setAttribute('aria-describedby',F.popper.id),F.props.onShown(F)})}})):T()}function C(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(F.props.duration,1,Defaults.duration[1]);F.state.isDestroyed||!F.state.isEnabled||(F.props.onHide(F),0===F.props.updateDuration&&F.popperChildren.tooltip.classList.remove('tippy-notransition'),F.props.interactive&&F.reference.classList.remove('tippy-active'),F.popper.style.visibility='hidden',F.state.isVisible=!1,applyTransitionDuration([F.popperChildren.tooltip,F.popperChildren.backdrop,F.popperChildren.backdrop?F.popperChildren.content:null],e),setVisibilityState([F.popperChildren.tooltip,F.popperChildren.backdrop],'hidden'),F.props.interactive&&!B&&'focus'===S.type&&(B=!0,focus(F.reference)),b(e,function(){H||(document.removeEventListener('mousemove',o),D=null),F.reference.removeAttribute('aria-describedby'),F.popperInstance.disableEventListeners(),F.props.appendTo.removeChild(F.popper),F.props.onHidden(F)}))}function T(e){F.state.isDestroyed||(F.state.isVisible&&C(0),E(),delete F.reference._tippy,F.props.target&&e&&toArray$1(F.reference.querySelectorAll(F.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),F.popperInstance&&F.popperInstance.destroy(),k&&k.disconnect(),F.state.isDestroyed=!0)}var A=evaluateProps(e,t);if(!A.multiple&&e._tippy)return null;var k=null,P=!1,S={},D={},I=0,N=0,H=!1,R=function(){},W=[],B=!1,M=idCounter++,U=createPopperElement(M,A),_=getChildren(U),F={id:M,reference:e,popper:U,popperChildren:_,popperInstance:null,props:A,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:x,set:L,setContent:function(e){L({content:e})},show:O,hide:C,enable:function(){F.state.isEnabled=!0},disable:function(){F.state.isEnabled=!1},destroy:T};return w(),A.lazy||(F.popperInstance=f(),F.popperInstance.disableEventListeners()),A.showOnInit&&setTimeout(i,20),!A.a11y||A.target||elementCanReceiveFocus(e)||e.setAttribute('tabindex','0'),e._tippy=F,U._tippy=F,F}var eventListenersBound=!1;function tippy$1(e,t,o){for(var r in eventListenersBound||(bindEventListeners(),eventListenersBound=!0),t||{})if(!(r in Defaults))throw Error('[tippy]: '+r+' is not a valid option');var i=_extends({},Defaults,t);isPlainObject(e)&&polyfillVirtualReferenceProps(e);var n=getArrayOfElements(e),p=n[0],s=(o&&p?[p]:n).reduce(function(e,t){var o=t?createTippy(t,i):null;return o?e.concat(o):e},[]);return{targets:e,props:i,instances:s,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.one=function(e,t){return tippy$1(e,t,!0).instances[0]},tippy$1.setDefaults=function(e){setDefaults(e),tippy$1.defaults=Defaults},tippy$1.disableAnimations=function(){tippy$1.setDefaults({duration:0,updateDuration:0,animateFill:!1})};var autoInit=function(){toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&tippy$1(e,{content:t})})};isBrowser$1&&setTimeout(autoInit);export default tippy$1; |
/*! | ||
* Tippy.js v3.0.0-alpha.1 | ||
* Tippy.js v3.0.0-alpha.2 | ||
* (c) 2017-2018 atomiks | ||
@@ -8,3 +8,3 @@ * MIT | ||
var version = "3.0.0-alpha.1"; | ||
var version = "3.0.0-alpha.2"; | ||
@@ -135,3 +135,3 @@ var _extends = Object.assign || function (target) { | ||
els.filter(Boolean).forEach(function (el) { | ||
el.style[prefix('transitionDuration')] = value + 'ms'; | ||
el.style.transitionDuration = value + 'ms'; | ||
}); | ||
@@ -337,2 +337,3 @@ }; | ||
var currTransitionDuration = parseFloat(tooltip.style.transitionDuration); | ||
applyTransitionDuration([tooltip], 0); | ||
@@ -389,2 +390,6 @@ | ||
} | ||
defer(function () { | ||
applyTransitionDuration([tooltip], currTransitionDuration); | ||
}); | ||
}; | ||
@@ -738,5 +743,4 @@ | ||
var transitionEvent = isBrowser && 'transition' in document.body.style ? 'transitionend' : 'webkitTransitionEnd'; | ||
var toggleListener = function toggleListener(tooltip, action, listener) { | ||
tooltip[action + 'EventListener'](transitionEvent, listener); | ||
var toggleTransitionEndListener = function toggleTransitionEndListener(tooltip, action, listener) { | ||
tooltip[action + 'EventListener']('transitionend', listener); | ||
}; | ||
@@ -863,2 +867,3 @@ | ||
var popperMutationObserver = null; | ||
var popperHasEventListeners = false; | ||
var lastTriggerEvent = {}; | ||
@@ -901,2 +906,3 @@ var lastMouseMoveEvent = {}; | ||
set: set$$1, | ||
setContent: setContent$$1, | ||
show: show, | ||
@@ -909,3 +915,3 @@ hide: hide, | ||
addEventListeners(); | ||
addEventListenersToReference(); | ||
@@ -1164,3 +1170,3 @@ if (!props.lazy) { | ||
var tooltip = tip.popperChildren.tooltip; | ||
var props = tip.props.props; | ||
var popperOptions = tip.props.popperOptions; | ||
@@ -1173,7 +1179,7 @@ | ||
placement: tip.props.placement | ||
}, props || {}, { | ||
modifiers: _extends({}, props ? props.modifiers : {}, { | ||
}, popperOptions || {}, { | ||
modifiers: _extends({}, popperOptions ? popperOptions.modifiers : {}, { | ||
arrow: _extends({ | ||
element: arrowSelector | ||
}, props && props.modifiers ? props.modifiers.arrow : {}), | ||
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.arrow : {}), | ||
flip: _extends({ | ||
@@ -1183,6 +1189,6 @@ enabled: tip.props.flip, | ||
, behavior: tip.props.flipBehavior | ||
}, props && props.modifiers ? props.modifiers.flip : {}), | ||
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.flip : {}), | ||
offset: _extends({ | ||
offset: tip.props.offset | ||
}, props && props.modifiers ? props.modifiers.offset : {}) | ||
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.offset : {}) | ||
}), | ||
@@ -1224,2 +1230,9 @@ onCreate: function onCreate() { | ||
// fixes https://github.com/atomiks/tippyjs/issues/193 | ||
if (!popperHasEventListeners) { | ||
tip.popper.addEventListener('mouseenter', prepareShow); | ||
tip.popper.addEventListener('mouseleave', prepareHide); | ||
popperHasEventListeners = true; | ||
} | ||
return new Popper(tip.reference, tip.popper, config); | ||
@@ -1274,11 +1287,5 @@ } | ||
function makeSticky() { | ||
var applyTransitionDuration$$1 = function applyTransitionDuration$$1() { | ||
tip.popper.style[prefix('transitionDuration')] = tip.props.updateDuration + 'ms'; | ||
}; | ||
var updatePosition = function updatePosition() { | ||
applyTransitionDuration([tip.popper], tip.props.updateDuration); | ||
var removeTransitionDuration = function removeTransitionDuration() { | ||
tip.popper.style[prefix('transitionDuration')] = ''; | ||
}; | ||
var updatePosition = function updatePosition() { | ||
if (tip.popperInstance) { | ||
@@ -1288,8 +1295,8 @@ tip.popperInstance.scheduleUpdate(); | ||
applyTransitionDuration$$1(); | ||
if (tip.state.isVisible) { | ||
defer(updatePosition); | ||
requestAnimationFrame(function () { | ||
defer(updatePosition); | ||
}); | ||
} else { | ||
removeTransitionDuration(); | ||
applyTransitionDuration([tip.popper], 0); | ||
} | ||
@@ -1333,3 +1340,3 @@ }; | ||
if (e.target === tooltip && getComputedStyle(tooltip).opacity === (isInDirection ? '1' : '0')) { | ||
toggleListener(tooltip, 'remove', listener); | ||
toggleTransitionEndListener(tooltip, 'remove', listener); | ||
callback(); | ||
@@ -1339,4 +1346,4 @@ } | ||
toggleListener(tooltip, 'remove', transitionEndListener); | ||
toggleListener(tooltip, 'add', listener); | ||
toggleTransitionEndListener(tooltip, 'remove', transitionEndListener); | ||
toggleTransitionEndListener(tooltip, 'add', listener); | ||
@@ -1346,2 +1353,5 @@ transitionEndListener = listener; | ||
/** | ||
* Adds an event listener to the reference | ||
*/ | ||
function on(eventType, handler, acc) { | ||
@@ -1355,3 +1365,3 @@ tip.reference.addEventListener(eventType, handler); | ||
*/ | ||
function addEventListeners() { | ||
function addEventListenersToReference() { | ||
listeners = tip.props.trigger.trim().split(' ').reduce(function (acc, eventType) { | ||
@@ -1395,3 +1405,3 @@ if (eventType === 'manual') { | ||
*/ | ||
function removeEventListeners() { | ||
function removeEventListenersFromReference() { | ||
listeners.forEach(function (_ref) { | ||
@@ -1441,4 +1451,4 @@ var eventType = _ref.eventType, | ||
if (options.trigger) { | ||
removeEventListeners(); | ||
addEventListeners(); | ||
removeEventListenersFromReference(); | ||
addEventListenersToReference(); | ||
} | ||
@@ -1453,2 +1463,9 @@ | ||
/** | ||
* Shortcut for .set({ content: newContent }) | ||
*/ | ||
function setContent$$1(content) { | ||
set$$1({ content: content }); | ||
} | ||
/** | ||
* Shows the tooltip | ||
@@ -1519,3 +1536,3 @@ */ | ||
onTransitionedIn(duration, function () { | ||
if (!tip.props.updateDuration) { | ||
if (tip.props.updateDuration === 0) { | ||
tip.popperChildren.tooltip.classList.add('tippy-notransition'); | ||
@@ -1596,3 +1613,3 @@ } | ||
removeEventListeners(); | ||
removeEventListenersFromReference(); | ||
@@ -1674,8 +1691,11 @@ delete tip.reference._tippy; | ||
*/ | ||
tippy$1.setDefaults = setDefaults; | ||
tippy$1.one = function (targets, options) { | ||
return tippy$1(targets, options, true).instances[0]; | ||
}; | ||
tippy$1.setDefaults = function (partialDefaults) { | ||
setDefaults(partialDefaults); | ||
tippy$1.defaults = Defaults; | ||
}; | ||
tippy$1.disableAnimations = function () { | ||
setDefaults({ | ||
tippy$1.setDefaults({ | ||
duration: 0, | ||
@@ -1699,5 +1719,5 @@ updateDuration: 0, | ||
if (isBrowser) { | ||
autoInit(); | ||
setTimeout(autoInit); | ||
} | ||
export default tippy$1; |
@@ -1,1 +0,1 @@ | ||
import Popper from'popper.js';var version='3.0.0-alpha.1',_extends=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},Defaults={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},setDefaults=function(a){Defaults=_extends({},Defaults,a)},Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},FF_EXTENSION_TRICK={x:!0},isBrowser='undefined'!=typeof window,toArray$1=function(a){return[].slice.call(a)},setContent=function(a,b){b.content instanceof Element?(setInnerHTML(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content},elementCanReceiveFocus=function(a){return!(a instanceof Element)||matches.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')},applyTransitionDuration=function(a,b){a.filter(Boolean).forEach(function(a){a.style[prefix('transitionDuration')]=b+'ms'})},getChildren=function(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(Selectors.TOOLTIP),backdrop:b(Selectors.BACKDROP),content:b(Selectors.CONTENT),arrow:b(Selectors.ARROW)||b(Selectors.ROUND_ARROW)}},isPlainObject=function(a){return'[object Object]'==={}.toString.call(a)},div=function(){return document.createElement('div')},setInnerHTML=function(a,b){a[FF_EXTENSION_TRICK.x&&'innerHTML']=b instanceof Element?b[FF_EXTENSION_TRICK.x&&'innerHTML']:b},getArrayOfElements=function(a){if(a instanceof Element||isPlainObject(a))return[a];if(a instanceof NodeList)return toArray$1(a);if(Array.isArray(a))return a;try{return toArray$1(document.querySelectorAll(a))}catch(a){return[]}},isNumeric=function(a){return!isNaN(a)&&!isNaN(parseFloat(a))},getValue=function(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a},createArrowElement=function(a){var b=div();return'round'===a?(b.className='tippy-roundarrow',setInnerHTML(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b},createBackdropElement=function(){var a=div();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a},addInteractive=function(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')},removeInteractive=function(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')},addInertia=function(a){a.setAttribute('data-inertia','')},removeInertia=function(a){a.removeAttribute('data-inertia')},createPopperElement=function(a,b){var c=div();c.className='tippy-popper',c.role='tooltip',c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=div();d.className='tippy-tooltip',d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=div();return e.className='tippy-content',b.interactive&&addInteractive(c,d),b.arrow&&d.appendChild(createArrowElement(b.arrowType)),b.animateFill&&(d.appendChild(createBackdropElement()),d.setAttribute('data-animatefill','')),b.inertia&&d.setAttribute('data-inertia',''),setContent(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!closestCallback(a.relatedTarget,function(a){return a===c})&&c._tippy.hide()}),c},updatePopperElement=function(a,b,c){var d=getChildren(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow;applyTransitionDuration([e],0),a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),setContent(f,c),!b.animateFill&&c.animateFill?(e.appendChild(createBackdropElement()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(createArrowElement(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(createArrowElement(c.arrowType),h),!b.interactive&&c.interactive?addInteractive(a,e):b.interactive&&!c.interactive&&removeInteractive(a,e),!b.inertia&&c.inertia?addInertia(e):b.inertia&&!c.inertia&&removeInertia(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}))},hideAllPoppers=function(a){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})},getDataAttributeOptions=function(a){return Object.keys(Defaults).reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='true'===d||'false'!==d&&(isNumeric(d)?+d:'target'!==c&&'['===d[0]?JSON.parse(d):d),b):b},{})},polyfillVirtualReferenceProps=function(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c];return a},matches=function(){if(isBrowser){var a=Element.prototype;return a.matches||a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector}}(),closest=function(a,b){return(Element.prototype.closest||function(a){for(var b=this;b;){if(matches.call(b,a))return b;b=b.parentElement}}).call(a,b)},closestCallback=function(a,b){for(;a;){if(b(a))return a;a=a.parentElement}},focus=function(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)},reflow=function(a){void a.offsetHeight},transformAxisBasedOnPlacement=function(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''},transformNumbersBasedOnPlacement=function(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]},getTransformAxis=function(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''},getTransformNumbers=function(a,b){var c=a.match(b);return c?c[1].split(',').map(parseFloat):[]},TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},computeArrowTransform=function(a,b){var c=getPopperPlacement(closest(a,Selectors.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:getTransformAxis(b,'translate'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(b,'scale'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.scale)}},g=b.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(f.translate.axis,d)+'('+transformNumbersBasedOnPlacement('translate',f.translate.numbers,d,e)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(f.scale.axis,d)+'('+transformNumbersBasedOnPlacement('scale',f.scale.numbers,d,e)+')');a.style[prefix('transform')]=g},setVisibilityState=function(a,b){a.filter(Boolean).forEach(function(a){a.setAttribute('data-state',b)})},prefix=function(a){for(var b=['','webkit'],c=a[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},updatePopperPosition=function(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){reflow(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()},defer=function(a){setTimeout(a,1)},isCursorOutsideInteractiveBorder=function(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l},getOffsetDistanceInPx=function(a,b){return-(a-b)+'px'},getPopperPlacement=function(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''},evaluateProps=function(a,b){var c=_extends({},b,b.performance?{}:getDataAttributeOptions(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c},transitionEvent=isBrowser&&'transition'in document.body.style?'transitionend':'webkitTransitionEnd',toggleListener=function(a,b,c){a[b+'EventListener'](transitionEvent,c)},nav=isBrowser?navigator:{},win=isBrowser?window:{},isIE=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch='ontouchstart'in win,isUsingTouch=!1,onDocumentTouch=function(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))},lastMouseMoveTime=0,onDocumentMouseMove=function a(){var b=performance.now();20>b-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',a),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=b},onDocumentClick=function(a){var b=a.target;if(!(b instanceof Element))return hideAllPoppers();var c=closest(b,Selectors.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=closestCallback(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(isUsingTouch||f)return hideAllPoppers(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}hideAllPoppers()}},onWindowBlur=function(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()},onWindowResize=function(){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})};function bindEventListeners(){document.addEventListener('click',onDocumentClick),document.addEventListener('touchstart',onDocumentTouch),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}var idCounter=1;function createTippy(a,b){function c(a){var b=D=a,c=b.clientX,d=b.clientY;N.popperInstance&&(N.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d,left:c,right:c,bottom:d}},clientWidth:0,clientHeight:0},N.popperInstance.scheduleUpdate())}function d(a){var b=closest(a.target,N.props.target);if(b&&!b._tippy){var c=N.props.content;c&&(createTippy(b,_extends({},N.props,{content:c,target:'',showOnInit:!0})),e(a))}}function e(a){if(w(),!N.state.isVisible){if(N.props.target)return void d(a);if(G=!0,N.props.wait)return void N.props.wait(x,a);o()&&(M.arrow&&(M.arrow.style.margin='0'),document.addEventListener('mousemove',c));var b=getValue(N.props.delay,0,Defaults.delay);b?E=setTimeout(function(){x()},b):x()}}function f(){if(w(),!!N.state.isVisible){G=!1;var a=getValue(N.props.delay,1,Defaults.delay);a?F=setTimeout(function(){N.state.isVisible&&y()},a):y()}}function g(a){if(N.state.isEnabled){var b=supportsTouch&&isUsingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(a.type);b&&N.props.touchHold||(C=a,'click'===a.type&&!1!==N.props.hideOnClick&&N.state.isVisible?f():e(a))}}function h(a){var b=closestCallback(a.target,function(a){return a._tippy}),c=closest(a.target,Selectors.POPPER)===N.popper,d=b===N.reference;c||d||isCursorOutsideInteractiveBorder(getPopperPlacement(N.popper),N.popper.getBoundingClientRect(),a,N.props)&&(document.body.removeEventListener('mouseleave',f),document.removeEventListener('mousemove',h),f())}function i(a){return-1<['mouseleave','mouseout'].indexOf(a.type)&&supportsTouch&&isUsingTouch&&N.props.touchHold?void 0:N.props.interactive?(document.body.addEventListener('mouseleave',f),void document.addEventListener('mousemove',h)):void f()}function j(a){if(!(a.target!==N.reference||isUsingTouch)){if(N.props.interactive){if(!a.relatedTarget)return;if(closest(a.relatedTarget,Selectors.POPPER))return}f()}}function k(a){closest(a.target,N.props.target)&&e(a)}function l(a){closest(a.target,N.props.target)&&f()}function m(){var a=N.popperChildren.tooltip,b=N.props.props,c=Selectors['round'===N.props.arrowType?'ROUND_ARROW':'ARROW'],d=a.querySelector(c),e=_extends({placement:N.props.placement},b||{},{modifiers:_extends({},b?b.modifiers:{},{arrow:_extends({element:c},b&&b.modifiers?b.modifiers.arrow:{}),flip:_extends({enabled:N.props.flip,padding:N.props.distance+5,behavior:N.props.flipBehavior},b&&b.modifiers?b.modifiers.flip:{}),offset:_extends({offset:N.props.offset},b&&b.modifiers?b.modifiers.offset:{})}),onCreate:function(){a.style[getPopperPlacement(N.popper)]=getOffsetDistanceInPx(N.props.distance,Defaults.distance),d&&N.props.arrowTransform&&computeArrowTransform(d,N.props.arrowTransform)},onUpdate:function(){var b=a.style;b.top='',b.bottom='',b.left='',b.right='',b[getPopperPlacement(N.popper)]=getOffsetDistanceInPx(N.props.distance,Defaults.distance),d&&N.props.arrowTransform&&computeArrowTransform(d,N.props.arrowTransform)}}),f=new MutationObserver(function(){N.popperInstance.update()});return f.observe(N.popper,{childList:!0,subtree:!0}),B&&B.disconnect(),B=f,new Popper(N.reference,N.popper,e)}function n(a){N.popperInstance?(N.popperInstance.scheduleUpdate(),N.props.livePlacement&&!o()&&N.popperInstance.enableEventListeners()):(N.popperInstance=m(),!N.props.livePlacement&&N.popperInstance.disableEventListeners()),N.popperInstance.reference=N.reference,o()&&N.popperChildren.arrow&&(N.popperChildren.arrow.style.margin=''),updatePopperPosition(N.popperInstance,a,!0),N.props.appendTo.contains(N.popper)||N.props.appendTo.appendChild(N.popper)}function o(){return N.props.followCursor&&!isUsingTouch&&'focus'!==C.type}function p(){var a=function(){N.popper.style[prefix('transitionDuration')]=N.props.updateDuration+'ms'},b=function(){N.popper.style[prefix('transitionDuration')]=''};(function c(){N.popperInstance&&N.popperInstance.scheduleUpdate(),a(),N.state.isVisible?defer(c):b()})()}function q(a,b){s(!1,a,function(){!N.state.isVisible&&N.props.appendTo.contains(N.popper)&&b()})}function r(a,b){s(!0,a,b)}function s(a,b,c){if(0===b)return c();var d=N.popperChildren.tooltip,e=function b(f){f.target===d&&getComputedStyle(d).opacity===(a?'1':'0')&&(toggleListener(d,'remove',b),c())};toggleListener(d,'remove',H),toggleListener(d,'add',e),H=e}function t(a,b,c){N.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function u(){I=N.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(A.target?'mouseenter'===b?(t('mouseover',k,a),t('mouseout',l,a)):'focus'===b?(t('focusin',k,a),t('focusout',l,a)):'click'===b?t(b,k,a):void 0:(t(b,g,a),'mouseenter'===b?t('mouseleave',i,a):'focus'===b?t(isIE?'focusout':'blur',j,a):void 0),a)},[])}function v(){I.forEach(function(a){var b=a.eventType,c=a.handler;N.reference.removeEventListener(b,c)})}function w(){clearTimeout(E),clearTimeout(F)}function x(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(N.props.duration,0,Defaults.duration[0]);return N.state.isDestroyed||!N.state.isEnabled||isUsingTouch&&!N.props.touch?void 0:N.reference.isVirtual||document.documentElement.contains(N.reference)?N.reference.hasAttribute('disabled')?void 0:J?void(J=!1):void(N.props.onShow(N),N.popper.style.visibility='visible',N.state.isVisible=!0,applyTransitionDuration([N.popper,N.popperChildren.tooltip,N.popperChildren.backdrop],0),n(function(){if(N.state.isVisible){if(o()||N.popperInstance.scheduleUpdate(),o()){N.popperInstance.disableEventListeners();var b=getValue(N.props.delay,0,Defaults.delay);C&&c(b&&D?D:C)}applyTransitionDuration([N.popperChildren.tooltip,N.popperChildren.backdrop,N.popperChildren.backdrop?N.popperChildren.content:null],a),N.props.interactive&&N.reference.classList.add('tippy-active'),N.props.sticky&&p(),setVisibilityState([N.popperChildren.tooltip,N.popperChildren.backdrop],'visible'),r(a,function(){N.props.updateDuration||N.popperChildren.tooltip.classList.add('tippy-notransition'),N.props.interactive&&'focus'===C.type&&focus(N.popper),N.reference.setAttribute('aria-describedby',N.popper.id),N.props.onShown(N)})}})):z()}function y(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(N.props.duration,1,Defaults.duration[1]);N.state.isDestroyed||!N.state.isEnabled||(N.props.onHide(N),0===N.props.updateDuration&&N.popperChildren.tooltip.classList.remove('tippy-notransition'),N.props.interactive&&N.reference.classList.remove('tippy-active'),N.popper.style.visibility='hidden',N.state.isVisible=!1,applyTransitionDuration([N.popperChildren.tooltip,N.popperChildren.backdrop,N.popperChildren.backdrop?N.popperChildren.content:null],a),setVisibilityState([N.popperChildren.tooltip,N.popperChildren.backdrop],'hidden'),N.props.interactive&&!J&&'focus'===C.type&&(J=!0,focus(N.reference)),q(a,function(){G||(document.removeEventListener('mousemove',c),D=null),N.reference.removeAttribute('aria-describedby'),N.popperInstance.disableEventListeners(),N.props.appendTo.removeChild(N.popper),N.props.onHidden(N)}))}function z(a){N.state.isDestroyed||(N.state.isVisible&&y(0),v(),delete N.reference._tippy,N.props.target&&a&&toArray$1(N.reference.querySelectorAll(N.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),N.popperInstance&&N.popperInstance.destroy(),B&&B.disconnect(),N.state.isDestroyed=!0)}var A=evaluateProps(a,b);if(!A.multiple&&a._tippy)return null;var B=null,C={},D={},E=0,F=0,G=!1,H=function(){},I=[],J=!1,K=idCounter++,L=createPopperElement(K,A),M=getChildren(L),N={id:K,reference:a,popper:L,popperChildren:M,popperInstance:null,props:A,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:w,set:function(a){var b=N.props,c=evaluateProps(N.reference,_extends({},N.props,a,{performance:!0}));c.performance=a.performance||b.performance,N.props=c,a.trigger&&(v(),u()),updatePopperElement(N.popper,b,c),N.popperChildren=getChildren(N.popper),N.popperInstance&&(N.popperInstance=m())},show:x,hide:y,enable:function(){N.state.isEnabled=!0},disable:function(){N.state.isEnabled=!1},destroy:z};return u(),A.lazy||(N.popperInstance=m(),N.popperInstance.disableEventListeners()),A.showOnInit&&setTimeout(e,20),!A.a11y||A.target||elementCanReceiveFocus(a)||a.setAttribute('tabindex','0'),a._tippy=N,L._tippy=N,N}var eventListenersBound=!1;function tippy$1(a,b,c){for(var d in eventListenersBound||(bindEventListeners(),eventListenersBound=!0),b||{})if(!(d in Defaults))throw Error('[tippy]: '+d+' is not a valid option');var e=_extends({},Defaults,b);isPlainObject(a)&&polyfillVirtualReferenceProps(a);var f=getArrayOfElements(a),g=f[0],h=(c&&g?[g]:f).reduce(function(a,b){var c=b?createTippy(b,e):null;return c?a.concat(c):a},[]);return{targets:a,props:e,instances:h,destroyAll:function(){this.instances.forEach(function(a){a.destroy()}),this.instances=[]}}}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.setDefaults=setDefaults,tippy$1.one=function(a,b){return tippy$1(a,b,!0).instances[0]},tippy$1.disableAnimations=function(){setDefaults({duration:0,updateDuration:0,animateFill:!1})};var autoInit=function(){toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&tippy$1(a,{content:b})})};isBrowser&&autoInit();export default tippy$1; | ||
import Popper from'popper.js';var version='3.0.0-alpha.2',_extends=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},Defaults={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},setDefaults=function(a){Defaults=_extends({},Defaults,a)},Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},FF_EXTENSION_TRICK={x:!0},isBrowser='undefined'!=typeof window,toArray$1=function(a){return[].slice.call(a)},setContent=function(a,b){b.content instanceof Element?(setInnerHTML(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content},elementCanReceiveFocus=function(a){return!(a instanceof Element)||matches.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')},applyTransitionDuration=function(a,b){a.filter(Boolean).forEach(function(a){a.style.transitionDuration=b+'ms'})},getChildren=function(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(Selectors.TOOLTIP),backdrop:b(Selectors.BACKDROP),content:b(Selectors.CONTENT),arrow:b(Selectors.ARROW)||b(Selectors.ROUND_ARROW)}},isPlainObject=function(a){return'[object Object]'==={}.toString.call(a)},div=function(){return document.createElement('div')},setInnerHTML=function(a,b){a[FF_EXTENSION_TRICK.x&&'innerHTML']=b instanceof Element?b[FF_EXTENSION_TRICK.x&&'innerHTML']:b},getArrayOfElements=function(a){if(a instanceof Element||isPlainObject(a))return[a];if(a instanceof NodeList)return toArray$1(a);if(Array.isArray(a))return a;try{return toArray$1(document.querySelectorAll(a))}catch(a){return[]}},isNumeric=function(a){return!isNaN(a)&&!isNaN(parseFloat(a))},getValue=function(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a},createArrowElement=function(a){var b=div();return'round'===a?(b.className='tippy-roundarrow',setInnerHTML(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b},createBackdropElement=function(){var a=div();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a},addInteractive=function(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')},removeInteractive=function(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')},addInertia=function(a){a.setAttribute('data-inertia','')},removeInertia=function(a){a.removeAttribute('data-inertia')},createPopperElement=function(a,b){var c=div();c.className='tippy-popper',c.role='tooltip',c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=div();d.className='tippy-tooltip',d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=div();return e.className='tippy-content',b.interactive&&addInteractive(c,d),b.arrow&&d.appendChild(createArrowElement(b.arrowType)),b.animateFill&&(d.appendChild(createBackdropElement()),d.setAttribute('data-animatefill','')),b.inertia&&d.setAttribute('data-inertia',''),setContent(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!closestCallback(a.relatedTarget,function(a){return a===c})&&c._tippy.hide()}),c},updatePopperElement=function(a,b,c){var d=getChildren(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow,i=parseFloat(e.style.transitionDuration);applyTransitionDuration([e],0),a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),setContent(f,c),!b.animateFill&&c.animateFill?(e.appendChild(createBackdropElement()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(createArrowElement(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(createArrowElement(c.arrowType),h),!b.interactive&&c.interactive?addInteractive(a,e):b.interactive&&!c.interactive&&removeInteractive(a,e),!b.inertia&&c.inertia?addInertia(e):b.inertia&&!c.inertia&&removeInertia(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')})),defer(function(){applyTransitionDuration([e],i)})},hideAllPoppers=function(a){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})},getDataAttributeOptions=function(a){return Object.keys(Defaults).reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='true'===d||'false'!==d&&(isNumeric(d)?+d:'target'!==c&&'['===d[0]?JSON.parse(d):d),b):b},{})},polyfillVirtualReferenceProps=function(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c];return a},matches=function(){if(isBrowser){var a=Element.prototype;return a.matches||a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector}}(),closest=function(a,b){return(Element.prototype.closest||function(a){for(var b=this;b;){if(matches.call(b,a))return b;b=b.parentElement}}).call(a,b)},closestCallback=function(a,b){for(;a;){if(b(a))return a;a=a.parentElement}},focus=function(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)},reflow=function(a){void a.offsetHeight},transformAxisBasedOnPlacement=function(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''},transformNumbersBasedOnPlacement=function(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]},getTransformAxis=function(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''},getTransformNumbers=function(a,b){var c=a.match(b);return c?c[1].split(',').map(parseFloat):[]},TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},computeArrowTransform=function(a,b){var c=getPopperPlacement(closest(a,Selectors.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:getTransformAxis(b,'translate'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(b,'scale'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.scale)}},g=b.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(f.translate.axis,d)+'('+transformNumbersBasedOnPlacement('translate',f.translate.numbers,d,e)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(f.scale.axis,d)+'('+transformNumbersBasedOnPlacement('scale',f.scale.numbers,d,e)+')');a.style[prefix('transform')]=g},setVisibilityState=function(a,b){a.filter(Boolean).forEach(function(a){a.setAttribute('data-state',b)})},prefix=function(a){for(var b=['','webkit'],c=a[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},updatePopperPosition=function(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){reflow(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()},defer=function(a){setTimeout(a,1)},isCursorOutsideInteractiveBorder=function(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l},getOffsetDistanceInPx=function(a,b){return-(a-b)+'px'},getPopperPlacement=function(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''},evaluateProps=function(a,b){var c=_extends({},b,b.performance?{}:getDataAttributeOptions(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c},toggleTransitionEndListener=function(a,b,c){a[b+'EventListener']('transitionend',c)},nav=isBrowser?navigator:{},win=isBrowser?window:{},isIE=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch='ontouchstart'in win,isUsingTouch=!1,onDocumentTouch=function(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))},lastMouseMoveTime=0,onDocumentMouseMove=function a(){var b=performance.now();20>b-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',a),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=b},onDocumentClick=function(a){var b=a.target;if(!(b instanceof Element))return hideAllPoppers();var c=closest(b,Selectors.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=closestCallback(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(isUsingTouch||f)return hideAllPoppers(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}hideAllPoppers()}},onWindowBlur=function(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()},onWindowResize=function(){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})};function bindEventListeners(){document.addEventListener('click',onDocumentClick),document.addEventListener('touchstart',onDocumentTouch),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}var idCounter=1;function createTippy(a,b){function c(a){var b=F=a,c=b.clientX,d=b.clientY;P.popperInstance&&(P.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d,left:c,right:c,bottom:d}},clientWidth:0,clientHeight:0},P.popperInstance.scheduleUpdate())}function d(a){var b=closest(a.target,P.props.target);if(b&&!b._tippy){var c=P.props.content;c&&(createTippy(b,_extends({},P.props,{content:c,target:'',showOnInit:!0})),e(a))}}function e(a){if(w(),!P.state.isVisible){if(P.props.target)return void d(a);if(I=!0,P.props.wait)return void P.props.wait(y,a);o()&&(O.arrow&&(O.arrow.style.margin='0'),document.addEventListener('mousemove',c));var b=getValue(P.props.delay,0,Defaults.delay);b?G=setTimeout(function(){y()},b):y()}}function f(){if(w(),!!P.state.isVisible){I=!1;var a=getValue(P.props.delay,1,Defaults.delay);a?H=setTimeout(function(){P.state.isVisible&&z()},a):z()}}function g(a){if(P.state.isEnabled){var b=supportsTouch&&isUsingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(a.type);b&&P.props.touchHold||(E=a,'click'===a.type&&!1!==P.props.hideOnClick&&P.state.isVisible?f():e(a))}}function h(a){var b=closestCallback(a.target,function(a){return a._tippy}),c=closest(a.target,Selectors.POPPER)===P.popper,d=b===P.reference;c||d||isCursorOutsideInteractiveBorder(getPopperPlacement(P.popper),P.popper.getBoundingClientRect(),a,P.props)&&(document.body.removeEventListener('mouseleave',f),document.removeEventListener('mousemove',h),f())}function i(a){return-1<['mouseleave','mouseout'].indexOf(a.type)&&supportsTouch&&isUsingTouch&&P.props.touchHold?void 0:P.props.interactive?(document.body.addEventListener('mouseleave',f),void document.addEventListener('mousemove',h)):void f()}function j(a){if(!(a.target!==P.reference||isUsingTouch)){if(P.props.interactive){if(!a.relatedTarget)return;if(closest(a.relatedTarget,Selectors.POPPER))return}f()}}function k(a){closest(a.target,P.props.target)&&e(a)}function l(a){closest(a.target,P.props.target)&&f()}function m(){var a=P.popperChildren.tooltip,b=P.props.popperOptions,c=Selectors['round'===P.props.arrowType?'ROUND_ARROW':'ARROW'],d=a.querySelector(c),g=_extends({placement:P.props.placement},b||{},{modifiers:_extends({},b?b.modifiers:{},{arrow:_extends({element:c},b&&b.modifiers?b.modifiers.arrow:{}),flip:_extends({enabled:P.props.flip,padding:P.props.distance+5,behavior:P.props.flipBehavior},b&&b.modifiers?b.modifiers.flip:{}),offset:_extends({offset:P.props.offset},b&&b.modifiers?b.modifiers.offset:{})}),onCreate:function(){a.style[getPopperPlacement(P.popper)]=getOffsetDistanceInPx(P.props.distance,Defaults.distance),d&&P.props.arrowTransform&&computeArrowTransform(d,P.props.arrowTransform)},onUpdate:function(){var b=a.style;b.top='',b.bottom='',b.left='',b.right='',b[getPopperPlacement(P.popper)]=getOffsetDistanceInPx(P.props.distance,Defaults.distance),d&&P.props.arrowTransform&&computeArrowTransform(d,P.props.arrowTransform)}}),h=new MutationObserver(function(){P.popperInstance.update()});return h.observe(P.popper,{childList:!0,subtree:!0}),C&&C.disconnect(),C=h,D||(P.popper.addEventListener('mouseenter',e),P.popper.addEventListener('mouseleave',f),D=!0),new Popper(P.reference,P.popper,g)}function n(a){P.popperInstance?(P.popperInstance.scheduleUpdate(),P.props.livePlacement&&!o()&&P.popperInstance.enableEventListeners()):(P.popperInstance=m(),!P.props.livePlacement&&P.popperInstance.disableEventListeners()),P.popperInstance.reference=P.reference,o()&&P.popperChildren.arrow&&(P.popperChildren.arrow.style.margin=''),updatePopperPosition(P.popperInstance,a,!0),P.props.appendTo.contains(P.popper)||P.props.appendTo.appendChild(P.popper)}function o(){return P.props.followCursor&&!isUsingTouch&&'focus'!==E.type}function p(){(function a(){applyTransitionDuration([P.popper],P.props.updateDuration),P.popperInstance&&P.popperInstance.scheduleUpdate(),P.state.isVisible?requestAnimationFrame(function(){defer(a)}):applyTransitionDuration([P.popper],0)})()}function q(a,b){s(!1,a,function(){!P.state.isVisible&&P.props.appendTo.contains(P.popper)&&b()})}function r(a,b){s(!0,a,b)}function s(a,b,c){if(0===b)return c();var d=P.popperChildren.tooltip,e=function b(f){f.target===d&&getComputedStyle(d).opacity===(a?'1':'0')&&(toggleTransitionEndListener(d,'remove',b),c())};toggleTransitionEndListener(d,'remove',J),toggleTransitionEndListener(d,'add',e),J=e}function t(a,b,c){P.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function u(){K=P.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(B.target?'mouseenter'===b?(t('mouseover',k,a),t('mouseout',l,a)):'focus'===b?(t('focusin',k,a),t('focusout',l,a)):'click'===b?t(b,k,a):void 0:(t(b,g,a),'mouseenter'===b?t('mouseleave',i,a):'focus'===b?t(isIE?'focusout':'blur',j,a):void 0),a)},[])}function v(){K.forEach(function(a){var b=a.eventType,c=a.handler;P.reference.removeEventListener(b,c)})}function w(){clearTimeout(G),clearTimeout(H)}function x(a){var b=P.props,c=evaluateProps(P.reference,_extends({},P.props,a,{performance:!0}));c.performance=a.performance||b.performance,P.props=c,a.trigger&&(v(),u()),updatePopperElement(P.popper,b,c),P.popperChildren=getChildren(P.popper),P.popperInstance&&(P.popperInstance=m())}function y(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(P.props.duration,0,Defaults.duration[0]);return P.state.isDestroyed||!P.state.isEnabled||isUsingTouch&&!P.props.touch?void 0:P.reference.isVirtual||document.documentElement.contains(P.reference)?P.reference.hasAttribute('disabled')?void 0:L?void(L=!1):void(P.props.onShow(P),P.popper.style.visibility='visible',P.state.isVisible=!0,applyTransitionDuration([P.popper,P.popperChildren.tooltip,P.popperChildren.backdrop],0),n(function(){if(P.state.isVisible){if(o()||P.popperInstance.scheduleUpdate(),o()){P.popperInstance.disableEventListeners();var b=getValue(P.props.delay,0,Defaults.delay);E&&c(b&&F?F:E)}applyTransitionDuration([P.popperChildren.tooltip,P.popperChildren.backdrop,P.popperChildren.backdrop?P.popperChildren.content:null],a),P.props.interactive&&P.reference.classList.add('tippy-active'),P.props.sticky&&p(),setVisibilityState([P.popperChildren.tooltip,P.popperChildren.backdrop],'visible'),r(a,function(){0===P.props.updateDuration&&P.popperChildren.tooltip.classList.add('tippy-notransition'),P.props.interactive&&'focus'===E.type&&focus(P.popper),P.reference.setAttribute('aria-describedby',P.popper.id),P.props.onShown(P)})}})):A()}function z(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(P.props.duration,1,Defaults.duration[1]);P.state.isDestroyed||!P.state.isEnabled||(P.props.onHide(P),0===P.props.updateDuration&&P.popperChildren.tooltip.classList.remove('tippy-notransition'),P.props.interactive&&P.reference.classList.remove('tippy-active'),P.popper.style.visibility='hidden',P.state.isVisible=!1,applyTransitionDuration([P.popperChildren.tooltip,P.popperChildren.backdrop,P.popperChildren.backdrop?P.popperChildren.content:null],a),setVisibilityState([P.popperChildren.tooltip,P.popperChildren.backdrop],'hidden'),P.props.interactive&&!L&&'focus'===E.type&&(L=!0,focus(P.reference)),q(a,function(){I||(document.removeEventListener('mousemove',c),F=null),P.reference.removeAttribute('aria-describedby'),P.popperInstance.disableEventListeners(),P.props.appendTo.removeChild(P.popper),P.props.onHidden(P)}))}function A(a){P.state.isDestroyed||(P.state.isVisible&&z(0),v(),delete P.reference._tippy,P.props.target&&a&&toArray$1(P.reference.querySelectorAll(P.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),P.popperInstance&&P.popperInstance.destroy(),C&&C.disconnect(),P.state.isDestroyed=!0)}var B=evaluateProps(a,b);if(!B.multiple&&a._tippy)return null;var C=null,D=!1,E={},F={},G=0,H=0,I=!1,J=function(){},K=[],L=!1,M=idCounter++,N=createPopperElement(M,B),O=getChildren(N),P={id:M,reference:a,popper:N,popperChildren:O,popperInstance:null,props:B,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:w,set:x,setContent:function(a){x({content:a})},show:y,hide:z,enable:function(){P.state.isEnabled=!0},disable:function(){P.state.isEnabled=!1},destroy:A};return u(),B.lazy||(P.popperInstance=m(),P.popperInstance.disableEventListeners()),B.showOnInit&&setTimeout(e,20),!B.a11y||B.target||elementCanReceiveFocus(a)||a.setAttribute('tabindex','0'),a._tippy=P,N._tippy=P,P}var eventListenersBound=!1;function tippy$1(a,b,c){for(var d in eventListenersBound||(bindEventListeners(),eventListenersBound=!0),b||{})if(!(d in Defaults))throw Error('[tippy]: '+d+' is not a valid option');var e=_extends({},Defaults,b);isPlainObject(a)&&polyfillVirtualReferenceProps(a);var f=getArrayOfElements(a),g=f[0],h=(c&&g?[g]:f).reduce(function(a,b){var c=b?createTippy(b,e):null;return c?a.concat(c):a},[]);return{targets:a,props:e,instances:h,destroyAll:function(){this.instances.forEach(function(a){a.destroy()}),this.instances=[]}}}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.one=function(a,b){return tippy$1(a,b,!0).instances[0]},tippy$1.setDefaults=function(a){setDefaults(a),tippy$1.defaults=Defaults},tippy$1.disableAnimations=function(){tippy$1.setDefaults({duration:0,updateDuration:0,animateFill:!1})};var autoInit=function(){toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&tippy$1(a,{content:b})})};isBrowser&&setTimeout(autoInit);export default tippy$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 t&&'[object Function]'==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var a=getComputedStyle(t,null);return e?a[e]:a}function a(t){return'HTML'===t.nodeName?t:t.parentNode||t.host}function p(t){if(!t)return document.body;switch(t.nodeName){case'HTML':case'BODY':return t.ownerDocument.body;case'#document':return t.body;}var r=e(t),i=r.overflow,o=r.overflowX,n=r.overflowY;return /(auto|scroll|overlay)/.test(i+n+o)?t:p(a(t))}function r(t){return 11===t?ft:10===t?ht:ft||ht}function o(t){if(!t)return document.documentElement;for(var a=r(10)?document.body:null,p=t.offsetParent;p===a&&t.nextElementSibling;)p=(t=t.nextElementSibling).offsetParent;var i=p&&p.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(p.nodeName)&&'static'===e(p,'position')?o(p):p:t?t.ownerDocument.documentElement:document.documentElement}function n(t){var e=t.nodeName;return'BODY'!==e&&('HTML'===e||o(t.firstElementChild)===t)}function s(t){return null===t.parentNode?t:s(t.parentNode)}function l(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var a=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,p=a?t:e,r=a?e:t,i=document.createRange();i.setStart(p,0),i.setEnd(r,0);var d=i.commonAncestorContainer;if(t!==d&&e!==d||p.contains(r))return n(d)?d:o(d);var c=s(t);return c.host?l(c.host,e):l(t,s(e).host)}function d(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',a='top'===e?'scrollTop':'scrollLeft',p=t.nodeName;if('BODY'===p||'HTML'===p){var r=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||r;return i[a]}return t[a]}function c(t,e){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],p=d(e,'top'),r=d(e,'left'),i=a?-1:1;return t.top+=p*i,t.bottom+=p*i,t.left+=r*i,t.right+=r*i,t}function m(t,e){var a='x'===e?'Left':'Top',p='Left'===a?'Right':'Bottom';return parseFloat(t['border'+a+'Width'],10)+parseFloat(t['border'+p+'Width'],10)}function f(t,e,a,p){return at(e['offset'+t],e['scroll'+t],a['client'+t],a['offset'+t],a['scroll'+t],r(10)?parseInt(a['offset'+t])+parseInt(p['margin'+('Height'===t?'Top':'Left')])+parseInt(p['margin'+('Height'===t?'Bottom':'Right')]):0)}function h(t){var e=t.body,a=t.documentElement,p=r(10)&&getComputedStyle(a);return{height:f('Height',e,a,p),width:f('Width',e,a,p)}}function b(t){return gt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function u(t){var a={};try{if(r(10)){a=t.getBoundingClientRect();var p=d(t,'top'),i=d(t,'left');a.top+=p,a.left+=i,a.bottom+=p,a.right+=i}else a=t.getBoundingClientRect()}catch(t){}var o={left:a.left,top:a.top,width:a.right-a.left,height:a.bottom-a.top},n='HTML'===t.nodeName?h(t.ownerDocument):{},s=n.width||t.clientWidth||o.right-o.left,l=n.height||t.clientHeight||o.bottom-o.top,c=t.offsetWidth-s,f=t.offsetHeight-l;if(c||f){var y=e(t);c-=m(y,'x'),f-=m(y,'y'),o.width-=c,o.height-=f}return b(o)}function y(t,a){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],o=r(10),n='HTML'===a.nodeName,s=u(t),l=u(a),d=p(t),m=e(a),f=parseFloat(m.borderTopWidth,10),h=parseFloat(m.borderLeftWidth,10);i&&n&&(l.top=at(l.top,0),l.left=at(l.left,0));var y=b({top:s.top-l.top-f,left:s.left-l.left-h,width:s.width,height:s.height});if(y.marginTop=0,y.marginLeft=0,!o&&n){var g=parseFloat(m.marginTop,10),x=parseFloat(m.marginLeft,10);y.top-=f-g,y.bottom-=f-g,y.left-=h-x,y.right-=h-x,y.marginTop=g,y.marginLeft=x}return(o&&!i?a.contains(d):a===d&&'BODY'!==d.nodeName)&&(y=c(y,a)),y}function g(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=t.ownerDocument.documentElement,p=y(t,a),r=at(a.clientWidth,window.innerWidth||0),i=at(a.clientHeight,window.innerHeight||0),o=e?0:d(a),n=e?0:d(a,'left'),s={top:o-p.top+p.marginTop,left:n-p.left+p.marginLeft,width:r,height:i};return b(s)}function x(t){var p=t.nodeName;return'BODY'!==p&&'HTML'!==p&&('fixed'===e(t,'position')||x(a(t)))}function w(t){if(!t||!t.parentElement||r())return document.documentElement;for(var a=t.parentElement;a&&'none'===e(a,'transform');)a=a.parentElement;return a||document.documentElement}function v(t,e,r,i){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},s=o?w(t):l(t,e);if('viewport'===i)n=g(s,o);else{var d;'scrollParent'===i?(d=p(a(e)),'BODY'===d.nodeName&&(d=t.ownerDocument.documentElement)):'window'===i?d=t.ownerDocument.documentElement:d=i;var c=y(d,s,o);if('HTML'===d.nodeName&&!x(s)){var m=h(t.ownerDocument),f=m.height,b=m.width;n.top+=c.top-c.marginTop,n.bottom=f+c.top,n.left+=c.left-c.marginLeft,n.right=b+c.left}else n=c}r=r||0;var u='number'==typeof r;return n.left+=u?r:r.left||0,n.top+=u?r:r.top||0,n.right-=u?r:r.right||0,n.bottom-=u?r:r.bottom||0,n}function k(t){var e=t.width,a=t.height;return e*a}function E(t,e,a,p,r){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf('auto'))return t;var o=v(a,p,i,r),n={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},s=Object.keys(n).map(function(t){return gt({key:t},n[t],{area:k(n[t])})}).sort(function(t,e){return e.area-t.area}),l=s.filter(function(t){var e=t.width,p=t.height;return e>=a.clientWidth&&p>=a.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=t.split('-')[1];return d+(c?'-'+c:'')}function L(t,e,a){var p=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,r=p?w(e):l(e,a);return y(a,r,p)}function O(t){var e=getComputedStyle(t),a=parseFloat(e.marginTop)+parseFloat(e.marginBottom),p=parseFloat(e.marginLeft)+parseFloat(e.marginRight),r={width:t.offsetWidth+p,height:t.offsetHeight+a};return r}function C(t){var e={left:'right',right:'left',bottom:'top',top:'bottom'};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function T(t,e,a){a=a.split('-')[0];var p=O(t),r={width:p.width,height:p.height},i=-1!==['right','left'].indexOf(a),o=i?'top':'left',n=i?'left':'top',s=i?'height':'width',l=i?'width':'height';return r[o]=e[o]+e[s]/2-p[s]/2,r[n]=a===n?e[n]-p[l]:e[C(n)],r}function A(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Y(t,e,a){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===a});var p=A(t,function(t){return t[e]===a});return t.indexOf(p)}function P(e,a,p){var r=void 0===p?e:e.slice(0,Y(e,'name',p));return r.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var p=e['function']||e.fn;e.enabled&&t(p)&&(a.offsets.popper=b(a.offsets.popper),a.offsets.reference=b(a.offsets.reference),a=p(a,e))}),a}function S(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=E(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=T(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function X(t,e){return t.some(function(t){var a=t.name,p=t.enabled;return p&&a===e})}function D(t){for(var e=[!1,'ms','Webkit','Moz','O'],a=t.charAt(0).toUpperCase()+t.slice(1),p=0;p<e.length;p++){var r=e[p],i=r?''+r+a:t;if('undefined'!=typeof document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,X(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[D('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(t){var e=t.ownerDocument;return e?e.defaultView:window}function H(t,e,a,r){var i='BODY'===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,a,{passive:!0}),i||H(p(o.parentNode),e,a,r),r.push(o)}function R(t,e,a,r){a.updateBound=r,N(t).addEventListener('resize',a.updateBound,{passive:!0});var i=p(t);return H(i,'scroll',a.updateBound,a.scrollParents),a.scrollElement=i,a.eventsEnabled=!0,a}function z(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}function W(t,e){return N(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 B(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=W(this.reference,this.state))}function M(t){return''!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function U(t,e){Object.keys(e).forEach(function(a){var p='';-1!==['width','height','top','right','bottom','left'].indexOf(a)&&M(e[a])&&(p='px'),t.style[a]=e[a]+p})}function _(t,e){Object.keys(e).forEach(function(a){var p=e[a];!1===p?t.removeAttribute(a):t.setAttribute(a,e[a])})}function F(t,e,a){var p=A(t,function(t){var a=t.name;return a===e}),r=!!p&&t.some(function(t){return t.name===a&&t.enabled&&t.order<p.order});if(!r){var i='`'+e+'`';console.warn('`'+a+'`'+' modifier is required by '+i+' modifier in order to work, be sure to include it before '+i+'!')}return r}function V(t){return'end'===t?'start':'start'===t?'end':t}function q(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=wt.indexOf(t),p=wt.slice(a+1).concat(wt.slice(0,a));return e?p.reverse():p}function j(t,e,a,p){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],o=r[2];if(!i)return t;if(0===o.indexOf('%')){var n;switch(o){case'%p':n=a;break;case'%':case'%r':default:n=p;}var s=b(n);return s[e]/100*i}if('vh'===o||'vw'===o){var l;return l='vh'===o?at(document.documentElement.clientHeight,window.innerHeight||0):at(document.documentElement.clientWidth,window.innerWidth||0),l/100*i}return i}function K(t,e,a,p){var r=[0,0],i=-1!==['right','left'].indexOf(p),o=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=o.indexOf(A(o,function(t){return-1!==t.search(/,|\s/)}));o[n]&&-1===o[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[o]:[o.slice(0,n).concat([o[n].split(s)[0]]),[o[n].split(s)[1]].concat(o.slice(n+1))];return l=l.map(function(t,p){var r=(1===p?!i:i)?'height':'width',o=!1;return t.reduce(function(t,e){return''===t[t.length-1]&&-1!==['+','-'].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)},[]).map(function(t){return j(t,r,e,a)})}),l.forEach(function(t,e){t.forEach(function(a,p){M(a)&&(r[e]+=a*('-'===t[p-1]?-1:1))})}),r}function G(t,e){var a=e.offset,p=t.placement,r=t.offsets,i=r.popper,o=r.reference,n=p.split('-')[0],s=void 0;return s=M(+a)?[+a,0]:K(a,i,o,n),'left'===n?(i.top+=s[0],i.left-=s[1]):'right'===n?(i.top+=s[0],i.left+=s[1]):'top'===n?(i.left+=s[0],i.top-=s[1]):'bottom'===n&&(i.left+=s[0],i.top+=s[1]),t.popper=i,t}function J(){document.addEventListener('click',Oe),document.addEventListener('touchstart',ke),window.addEventListener('blur',Ce),window.addEventListener('resize',Te),!we&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',ke)}function Q(t,e){function a(t){var e=Y=t,a=e.clientX,p=e.clientY;W.popperInstance&&(W.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:p,left:a,right:a,bottom:p}},clientWidth:0,clientHeight:0},W.popperInstance.scheduleUpdate())}function p(t){var e=Jt(t.target,W.props.target);if(e&&!e._tippy){var a=W.props.content;a&&(Q(e,it({},W.props,{content:a,target:'',showOnInit:!0})),r(t))}}function r(t){if(k(),!W.state.isVisible){if(W.props.target)return void p(t);if(X=!0,W.props.wait)return void W.props.wait(E,t);h()&&(z.arrow&&(z.arrow.style.margin='0'),document.addEventListener('mousemove',a));var e=Rt(W.props.delay,0,ot.delay);e?P=setTimeout(function(){E()},e):E()}}function i(){if(k(),!!W.state.isVisible){X=!1;var t=Rt(W.props.delay,1,ot.delay);t?S=setTimeout(function(){W.state.isVisible&&L()},t):L()}}function o(t){if(W.state.isEnabled){var e=we&&ve&&-1<['mouseenter','mouseover','focus'].indexOf(t.type);e&&W.props.touchHold||(A=t,'click'===t.type&&!1!==W.props.hideOnClick&&W.state.isVisible?i():r(t))}}function n(t){var e=Qt(t.target,function(t){return t._tippy}),a=Jt(t.target,Et.POPPER)===W.popper,p=e===W.reference;a||p||de(me(W.popper),W.popper.getBoundingClientRect(),t,W.props)&&(document.body.removeEventListener('mouseleave',i),document.removeEventListener('mousemove',n),i())}function s(t){return-1<['mouseleave','mouseout'].indexOf(t.type)&&we&&ve&&W.props.touchHold?void 0:W.props.interactive?(document.body.addEventListener('mouseleave',i),void document.addEventListener('mousemove',n)):void i()}function l(t){if(!(t.target!==W.reference||ve)){if(W.props.interactive){if(!t.relatedTarget)return;if(Jt(t.relatedTarget,Et.POPPER))return}i()}}function d(t){Jt(t.target,W.props.target)&&r(t)}function c(t){Jt(t.target,W.props.target)&&i()}function m(){var t=W.popperChildren.tooltip,e=W.props.props,a=Et['round'===W.props.arrowType?'ROUND_ARROW':'ARROW'],p=t.querySelector(a),r=it({placement:W.props.placement},e||{},{modifiers:it({},e?e.modifiers:{},{arrow:it({element:a},e&&e.modifiers?e.modifiers.arrow:{}),flip:it({enabled:W.props.flip,padding:W.props.distance+5,behavior:W.props.flipBehavior},e&&e.modifiers?e.modifiers.flip:{}),offset:it({offset:W.props.offset},e&&e.modifiers?e.modifiers.offset:{})}),onCreate:function(){t.style[me(W.popper)]=ce(W.props.distance,ot.distance),p&&W.props.arrowTransform&&ie(p,W.props.arrowTransform)},onUpdate:function(){var e=t.style;e.top='',e.bottom='',e.left='',e.right='',e[me(W.popper)]=ce(W.props.distance,ot.distance),p&&W.props.arrowTransform&&ie(p,W.props.arrowTransform)}}),i=new MutationObserver(function(){W.popperInstance.update()});return i.observe(W.popper,{childList:!0,subtree:!0}),T&&T.disconnect(),T=i,new kt(W.reference,W.popper,r)}function f(t){W.popperInstance?(W.popperInstance.scheduleUpdate(),W.props.livePlacement&&!h()&&W.popperInstance.enableEventListeners()):(W.popperInstance=m(),!W.props.livePlacement&&W.popperInstance.disableEventListeners()),W.popperInstance.reference=W.reference,h()&&W.popperChildren.arrow&&(W.popperChildren.arrow.style.margin=''),se(W.popperInstance,t,!0),W.props.appendTo.contains(W.popper)||W.props.appendTo.appendChild(W.popper)}function h(){return W.props.followCursor&&!ve&&'focus'!==A.type}function b(){var t=function(){W.popper.style[ne('transitionDuration')]=W.props.updateDuration+'ms'},e=function(){W.popper.style[ne('transitionDuration')]=''};(function a(){W.popperInstance&&W.popperInstance.scheduleUpdate(),t(),W.state.isVisible?le(a):e()})()}function y(t,e){g(!1,t,function(){!W.state.isVisible&&W.props.appendTo.contains(W.popper)&&e()})}function u(t,e){g(!0,t,e)}function g(t,e,a){if(0===e)return a();var p=W.popperChildren.tooltip,r=function r(i){i.target===p&&getComputedStyle(p).opacity===(t?'1':'0')&&(be(p,'remove',r),a())};be(p,'remove',D),be(p,'add',r),D=r}function x(t,e,a){W.reference.addEventListener(t,e),a.push({eventType:t,handler:e})}function w(){I=W.props.trigger.trim().split(' ').reduce(function(t,e){return'manual'===e?t:(C.target?'mouseenter'===e?(x('mouseover',d,t),x('mouseout',c,t)):'focus'===e?(x('focusin',d,t),x('focusout',c,t)):'click'===e?x(e,d,t):void 0:(x(e,o,t),'mouseenter'===e?x('mouseleave',s,t):'focus'===e?x(ge?'focusout':'blur',l,t):void 0),t)},[])}function v(){I.forEach(function(t){var e=t.eventType,a=t.handler;W.reference.removeEventListener(e,a)})}function k(){clearTimeout(P),clearTimeout(S)}function E(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Rt(W.props.duration,0,ot.duration[0]);return W.state.isDestroyed||!W.state.isEnabled||ve&&!W.props.touch?void 0:W.reference.isVirtual||document.documentElement.contains(W.reference)?W.reference.hasAttribute('disabled')?void 0:N?void(N=!1):void(W.props.onShow(W),W.popper.style.visibility='visible',W.state.isVisible=!0,Pt([W.popper,W.popperChildren.tooltip,W.popperChildren.backdrop],0),f(function(){if(W.state.isVisible){if(h()||W.popperInstance.scheduleUpdate(),h()){W.popperInstance.disableEventListeners();var e=Rt(W.props.delay,0,ot.delay);A&&a(e&&Y?Y:A)}Pt([W.popperChildren.tooltip,W.popperChildren.backdrop,W.popperChildren.backdrop?W.popperChildren.content:null],t),W.props.interactive&&W.reference.classList.add('tippy-active'),W.props.sticky&&b(),oe([W.popperChildren.tooltip,W.popperChildren.backdrop],'visible'),u(t,function(){W.props.updateDuration||W.popperChildren.tooltip.classList.add('tippy-notransition'),W.props.interactive&&'focus'===A.type&&Zt(W.popper),W.reference.setAttribute('aria-describedby',W.popper.id),W.props.onShown(W)})}})):O()}function L(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Rt(W.props.duration,1,ot.duration[1]);W.state.isDestroyed||!W.state.isEnabled||(W.props.onHide(W),0===W.props.updateDuration&&W.popperChildren.tooltip.classList.remove('tippy-notransition'),W.props.interactive&&W.reference.classList.remove('tippy-active'),W.popper.style.visibility='hidden',W.state.isVisible=!1,Pt([W.popperChildren.tooltip,W.popperChildren.backdrop,W.popperChildren.backdrop?W.popperChildren.content:null],t),oe([W.popperChildren.tooltip,W.popperChildren.backdrop],'hidden'),W.props.interactive&&!N&&'focus'===A.type&&(N=!0,Zt(W.reference)),y(t,function(){X||(document.removeEventListener('mousemove',a),Y=null),W.reference.removeAttribute('aria-describedby'),W.popperInstance.disableEventListeners(),W.props.appendTo.removeChild(W.popper),W.props.onHidden(W)}))}function O(t){W.state.isDestroyed||(W.state.isVisible&&L(0),v(),delete W.reference._tippy,W.props.target&&t&&Tt(W.reference.querySelectorAll(W.props.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),W.popperInstance&&W.popperInstance.destroy(),T&&T.disconnect(),W.state.isDestroyed=!0)}var C=fe(t,e);if(!C.multiple&&t._tippy)return null;var T=null,A={},Y={},P=0,S=0,X=!1,D=function(){},I=[],N=!1,H=Ae++,R=Ft(H,C),z=St(R),W={id:H,reference:t,popper:R,popperChildren:z,popperInstance:null,props:C,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:k,set:function(t){var e=W.props,a=fe(W.reference,it({},W.props,t,{performance:!0}));a.performance=t.performance||e.performance,W.props=a,t.trigger&&(v(),w()),Vt(W.popper,e,a),W.popperChildren=St(W.popper),W.popperInstance&&(W.popperInstance=m())},show:E,hide:L,enable:function(){W.state.isEnabled=!0},disable:function(){W.state.isEnabled=!1},destroy:O};return w(),C.lazy||(W.popperInstance=m(),W.popperInstance.disableEventListeners()),C.showOnInit&&setTimeout(r,20),!C.a11y||C.target||Yt(t)||t.setAttribute('tabindex','0'),t._tippy=W,R._tippy=W,W}function Z(t,e,a){for(var p in Ye||(J(),Ye=!0),e||{})if(!(p in ot))throw Error('[tippy]: '+p+' is not a valid option');var r=it({},ot,e);Xt(t)&&Kt(t);var i=Nt(t),o=i[0],n=(a&&o?[o]:i).reduce(function(t,e){var a=e?Q(e,r):null;return a?t.concat(a):t},[]);return{targets:t,props:r,instances:n,destroyAll:function(){this.instances.forEach(function(t){t.destroy()}),this.instances=[]}}}for(var $=Math.min,tt=Math.round,et=Math.floor,at=Math.max,pt='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{max-width:350px;-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 90%;transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-50%,25%);transform:scale(6) 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(60deg);transform:translateY(0) rotateX(60deg)}.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(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -90%;transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-50%,-125%);transform:scale(6) 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(-60deg);transform:translateY(0) rotateX(-60deg)}.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(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:100% 0;transform-origin:100% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(40%,-50%);transform:scale(6) translate(40%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(40%,-50%);transform:scale(1.5) translate(40%,-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(-60deg);transform:translateX(0) rotateY(-60deg)}.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(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-100% 0;transform-origin:-100% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-140%,-50%);transform:scale(6) translate(-140%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(-140%,-50%);transform:scale(1.5) translate(-140%,-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(60deg);transform:translateX(0) rotateY(60deg)}.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(.5);transform:translateX(0) scale(.5)}.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{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],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{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-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:26%;left:50%;top:50%;z-index:-1;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(40% 100% at 0 50%);clip-path:ellipse(40% 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(40% 100% at 100% 50%);clip-path:ellipse(40% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}',rt='3.0.0-alpha.1',it=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var p in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,p)&&(t[p]=e[p]);return t},ot={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},nt=function(t){ot=it({},ot,t)},st='undefined'!=typeof window&&'undefined'!=typeof document,lt=['Edge','Trident','Firefox'],dt=0,ct=0;ct<lt.length;ct+=1)if(st&&0<=navigator.userAgent.indexOf(lt[ct])){dt=1;break}var i=st&&window.Promise,mt=i?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},dt))}},ft=st&&!!(window.MSInputMethodContext&&document.documentMode),ht=st&&/MSIE 10/.test(navigator.userAgent),bt=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},yt=function(){function t(t,e){for(var a,p=0;p<e.length;p++)a=e[p],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,p){return a&&t(e.prototype,a),p&&t(e,p),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},gt=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var p in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,p)&&(t[p]=e[p]);return t},xt=['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'],wt=xt.slice(3),vt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},kt=function(){function e(a,p){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};bt(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=mt(this.update.bind(this)),this.options=gt({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=a&&a.jquery?a[0]:a,this.popper=p&&p.jquery?p[0]:p,this.options.modifiers={},Object.keys(gt({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=gt({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return gt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(e){e.enabled&&t(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return yt(e,[{key:'update',value:function(){return S.call(this)}},{key:'destroy',value:function(){return I.call(this)}},{key:'enableEventListeners',value:function(){return z.call(this)}},{key:'disableEventListeners',value:function(){return B.call(this)}}]),e}();kt.Utils=('undefined'==typeof window?global:window).PopperUtils,kt.placements=xt,kt.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,a=e.split('-')[0],p=e.split('-')[1];if(p){var r=t.offsets,i=r.reference,o=r.popper,n=-1!==['bottom','top'].indexOf(a),s=n?'left':'top',l=n?'width':'height',d={start:ut({},s,i[s]),end:ut({},s,i[s]+i[l]-o[l])};t.offsets.popper=gt({},o,d[p])}return t}},offset:{order:200,enabled:!0,fn:G,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var a=e.boundariesElement||o(t.instance.popper);t.instance.reference===a&&(a=o(a));var p=D('transform'),r=t.instance.popper.style,i=r.top,n=r.left,s=r[p];r.top='',r.left='',r[p]='';var l=v(t.instance.popper,t.instance.reference,e.padding,a,t.positionFixed);r.top=i,r.left=n,r[p]=s,e.boundaries=l;var d=e.priority,c=t.offsets.popper,m={primary:function(t){var a=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(a=at(c[t],l[t])),ut({},t,a)},secondary:function(t){var a='right'===t?'left':'top',p=c[a];return c[t]>l[t]&&!e.escapeWithReference&&(p=$(c[a],l[t]-('right'===t?c.width:c.height))),ut({},a,p)}};return d.forEach(function(t){var e=-1===['left','top'].indexOf(t)?'secondary':'primary';c=gt({},c,m[e](t))}),t.offsets.popper=c,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,p=e.reference,r=t.placement.split('-')[0],i=et,o=-1!==['top','bottom'].indexOf(r),n=o?'right':'bottom',s=o?'left':'top',l=o?'width':'height';return a[n]<i(p[s])&&(t.offsets.popper[s]=i(p[s])-a[l]),a[s]>i(p[n])&&(t.offsets.popper[s]=i(p[n])),t}},arrow:{order:500,enabled:!0,fn:function(t,a){var p;if(!F(t.instance.modifiers,'arrow','keepTogether'))return t;var r=a.element;if('string'==typeof r){if(r=t.instance.popper.querySelector(r),!r)return t;}else if(!t.instance.popper.contains(r))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),t;var i=t.placement.split('-')[0],o=t.offsets,n=o.popper,s=o.reference,l=-1!==['left','right'].indexOf(i),d=l?'height':'width',c=l?'Top':'Left',m=c.toLowerCase(),f=l?'left':'top',h=l?'bottom':'right',y=O(r)[d];s[h]-y<n[m]&&(t.offsets.popper[m]-=n[m]-(s[h]-y)),s[m]+y>n[h]&&(t.offsets.popper[m]+=s[m]+y-n[h]),t.offsets.popper=b(t.offsets.popper);var u=s[m]+s[d]/2-y/2,g=e(t.instance.popper),x=parseFloat(g['margin'+c],10),w=parseFloat(g['border'+c+'Width'],10),v=u-t.offsets.popper[m]-x-w;return v=at($(n[d]-y,v),0),t.arrowElement=r,t.offsets.arrow=(p={},ut(p,m,tt(v)),ut(p,f,''),p),t},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(t,e){if(X(t.instance.modifiers,'inner'))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var a=v(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),p=t.placement.split('-')[0],r=C(p),i=t.placement.split('-')[1]||'',o=[];switch(e.behavior){case vt.FLIP:o=[p,r];break;case vt.CLOCKWISE:o=q(p);break;case vt.COUNTERCLOCKWISE:o=q(p,!0);break;default:o=e.behavior;}return o.forEach(function(n,s){if(p!==n||o.length===s+1)return t;p=t.placement.split('-')[0],r=C(p);var l=t.offsets.popper,d=t.offsets.reference,c=et,m='left'===p&&c(l.right)>c(d.left)||'right'===p&&c(l.left)<c(d.right)||'top'===p&&c(l.bottom)>c(d.top)||'bottom'===p&&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),y=c(l.bottom)>c(a.bottom),u='left'===p&&f||'right'===p&&h||'top'===p&&b||'bottom'===p&&y,g=-1!==['top','bottom'].indexOf(p),x=!!e.flipVariations&&(g&&'start'===i&&f||g&&'end'===i&&h||!g&&'start'===i&&b||!g&&'end'===i&&y);(m||u||x)&&(t.flipped=!0,(m||u)&&(p=o[s+1]),x&&(i=V(i)),t.placement=p+(i?'-'+i:''),t.offsets.popper=gt({},t.offsets.popper,T(t.instance.popper,t.offsets.reference,t.placement)),t=P(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],p=t.offsets,r=p.popper,i=p.reference,o=-1!==['left','right'].indexOf(a),n=-1===['top','left'].indexOf(a);return r[o?'left':'top']=i[a]-(n?r[o?'width':'height']:0),t.placement=C(e),t.offsets.popper=b(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!F(t.instance.modifiers,'hide','preventOverflow'))return t;var e=t.offsets.reference,a=A(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,p=e.y,r=t.offsets.popper,i=A(t.instance.modifiers,function(t){return'applyStyle'===t.name}).gpuAcceleration;void 0!==i&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var n=void 0===i?e.gpuAcceleration:i,s=o(t.instance.popper),l=u(s),d={position:r.position},c={left:et(r.left),top:tt(r.top),bottom:tt(r.bottom),right:et(r.right)},m='bottom'===a?'top':'bottom',f='right'===p?'left':'right',h=D('transform'),b=void 0,y=void 0;if(y='bottom'==m?'HTML'===s.nodeName?-s.clientHeight+c.bottom:-l.height+c.bottom:c.top,b='right'==f?'HTML'===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,n&&h)d[h]='translate3d('+b+'px, '+y+'px, 0)',d[m]=0,d[f]=0,d.willChange='transform';else{var g='bottom'==m?-1:1,x='right'==f?-1:1;d[m]=y*g,d[f]=b*x,d.willChange=m+', '+f}var w={"x-placement":t.placement};return t.attributes=gt({},w,t.attributes),t.styles=gt({},d,t.styles),t.arrowStyles=gt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(t){return U(t.instance.popper,t.styles),_(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&U(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,a,p,r){var i=L(r,e,t,a.positionFixed),o=E(a.placement,i,e,t,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return e.setAttribute('x-placement',o),U(e,{position:a.positionFixed?'fixed':'absolute'}),a},gpuAcceleration:void 0}}};var Et={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Lt={x:!0},Ot='undefined'!=typeof window,Ct=Ot&&'MutationObserver'in window,Tt=function(t){return[].slice.call(t)},At=function(t,e){e.content instanceof Element?(It(t,''),t.appendChild(e.content)):t[e.allowHTML?'innerHTML':'textContent']=e.content},Yt=function(t){return!(t instanceof Element)||Gt.call(t,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!t.hasAttribute('disabled')},Pt=function(t,e){t.filter(Boolean).forEach(function(t){t.style[ne('transitionDuration')]=e+'ms'})},St=function(t){var e=function(e){return t.querySelector(e)};return{tooltip:e(Et.TOOLTIP),backdrop:e(Et.BACKDROP),content:e(Et.CONTENT),arrow:e(Et.ARROW)||e(Et.ROUND_ARROW)}},Xt=function(t){return'[object Object]'==={}.toString.call(t)},Dt=function(){return document.createElement('div')},It=function(t,e){t[Lt.x&&'innerHTML']=e instanceof Element?e[Lt.x&&'innerHTML']:e},Nt=function(t){if(t instanceof Element||Xt(t))return[t];if(t instanceof NodeList)return Tt(t);if(Array.isArray(t))return t;try{return Tt(document.querySelectorAll(t))}catch(t){return[]}},Ht=function(t){return!isNaN(t)&&!isNaN(parseFloat(t))},Rt=function(t,e,a){if(Array.isArray(t)){var p=t[e];return null==p?a:p}return t},zt=function(t){var e=Dt();return'round'===t?(e.className='tippy-roundarrow',It(e,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):e.className='tippy-arrow',e},Wt=function(){var t=Dt();return t.className='tippy-backdrop',t.setAttribute('data-state','hidden'),t},Bt=function(t,e){t.setAttribute('tabindex','-1'),e.setAttribute('data-interactive','')},Mt=function(t,e){t.removeAttribute('tabindex'),e.removeAttribute('data-interactive')},Ut=function(t){t.setAttribute('data-inertia','')},_t=function(t){t.removeAttribute('data-inertia')},Ft=function(t,e){var a=Dt();a.className='tippy-popper',a.role='tooltip',a.id='tippy-'+t,a.style.zIndex=e.zIndex;var p=Dt();p.className='tippy-tooltip',p.setAttribute('data-size',e.size),p.setAttribute('data-animation',e.animation),p.setAttribute('data-state','hidden'),e.theme.split(' ').forEach(function(e){p.classList.add(e+'-theme')});var r=Dt();return r.className='tippy-content',e.interactive&&Bt(a,p),e.arrow&&p.appendChild(zt(e.arrowType)),e.animateFill&&(p.appendChild(Wt()),p.setAttribute('data-animatefill','')),e.inertia&&p.setAttribute('data-inertia',''),At(r,e),p.appendChild(r),a.appendChild(p),a.addEventListener('focusout',function(t){t.relatedTarget&&a._tippy&&!Qt(t.relatedTarget,function(t){return t===a})&&a._tippy.hide()}),a},Vt=function(t,e,a){var p=St(t),r=p.tooltip,i=p.content,o=p.backdrop,n=p.arrow;Pt([r],0),t.style.zIndex=a.zIndex,r.setAttribute('data-size',a.size),r.setAttribute('data-animation',a.animation),At(i,a),!e.animateFill&&a.animateFill?(r.appendChild(Wt()),r.setAttribute('data-animatefill','')):e.animateFill&&!a.animateFill&&(r.removeChild(o),r.removeAttribute('data-animatefill')),!e.arrow&&a.arrow?r.appendChild(zt(a.arrowType)):e.arrow&&!a.arrow&&r.removeChild(n),e.arrow&&a.arrow&&e.arrowType!==a.arrowType&&r.replaceChild(zt(a.arrowType),n),!e.interactive&&a.interactive?Bt(t,r):e.interactive&&!a.interactive&&Mt(t,r),!e.inertia&&a.inertia?Ut(r):e.inertia&&!a.inertia&&_t(r),e.theme!==a.theme&&(e.theme.split(' ').forEach(function(t){r.classList.remove(t+'-theme')}),a.theme.split(' ').forEach(function(t){r.classList.add(t+'-theme')}))},qt=function(t){Tt(document.querySelectorAll(Et.POPPER)).forEach(function(e){var a=e._tippy;a&&!0===a.props.hideOnClick&&(!t||e!==t.popper)&&a.hide()})},jt=function(t){return Object.keys(ot).reduce(function(e,a){var p=(t.getAttribute('data-tippy-'+a)||'').trim();return p?(e[a]='true'===p||'false'!==p&&(Ht(p)?+p:'target'!==a&&'['===p[0]?JSON.parse(p):p),e):e},{})},Kt=function(t){var e={isVirtual:!0,attributes:t.attributes||{},setAttribute:function(e,a){t.attributes[e]=a},getAttribute:function(e){return t.attributes[e]},removeAttribute:function(e){delete t.attributes[e]},hasAttribute:function(e){return e in t.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(e){t.classList.classNames[e]=!0},remove:function(e){delete t.classList.classNames[e]},contains:function(e){return e in t.classList.classNames}}};for(var a in e)t[a]=e[a];return t},Gt=function(){if(Ot){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),Jt=function(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(Gt.call(e,t))return e;e=e.parentElement}}).call(t,e)},Qt=function(t,e){for(;t;){if(e(t))return t;t=t.parentElement}},Zt=function(t){var e=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;t.focus(),scroll(e,a)},$t=function(t){void t.offsetHeight},te=function(t,e){return(e?t:{X:'Y',Y:'X'}[t])||''},ee=function(t,e,p,r){var i=e[0],o=e[1];if(!i&&!o)return'';var n={scale:function(){return o?p?i+', '+o:o+', '+i:''+i}(),translate:function(){return o?p?r?i+'px, '+-o+'px':i+'px, '+o+'px':r?-o+'px, '+i+'px':o+'px, '+i+'px':r?-i+'px':i+'px'}()};return n[t]},ae=function(t,e){var a=t.match(new RegExp(e+'([XY])'));return a?a[1]:''},pe=function(t,e){var a=t.match(e);return a?a[1].split(',').map(parseFloat):[]},re={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},ie=function(t,e){var a=me(Jt(t,Et.POPPER)),p='top'===a||'bottom'===a,r='right'===a||'bottom'===a,i={translate:{axis:ae(e,'translate'),numbers:pe(e,re.translate)},scale:{axis:ae(e,'scale'),numbers:pe(e,re.scale)}},o=e.replace(re.translate,'translate'+te(i.translate.axis,p)+'('+ee('translate',i.translate.numbers,p,r)+')').replace(re.scale,'scale'+te(i.scale.axis,p)+'('+ee('scale',i.scale.numbers,p,r)+')');t.style[ne('transform')]=o},oe=function(t,e){t.filter(Boolean).forEach(function(t){t.setAttribute('data-state',e)})},ne=function(t){for(var e=['','webkit'],a=t[0].toUpperCase()+t.slice(1),p=0;p<e.length;p++){var r=e[p],i=r?r+a:t;if('undefined'!=typeof document.body.style[i])return i}return null},se=function(t,e,a){var p=t.popper,r=t.options,i=r.onCreate,o=r.onUpdate;r.onCreate=r.onUpdate=function(){$t(p),e&&e(),o(),r.onCreate=i,r.onUpdate=o},a||t.scheduleUpdate()},le=function(t){setTimeout(t,1)},de=function(t,e,a,p){if(!t)return!0;var r=a.clientX,i=a.clientY,o=p.interactiveBorder,n=p.distance,s=e.top-i>('top'===t?o+n:o),l=i-e.bottom>('bottom'===t?o+n:o),d=e.left-r>('left'===t?o+n:o),c=r-e.right>('right'===t?o+n:o);return s||l||d||c},ce=function(t,e){return-(t-e)+'px'},me=function(t){var e=t.getAttribute('x-placement');return e?e.split('-')[0]:''},fe=function(t,e){var a=it({},e,e.performance?{}:jt(t));return a.arrow&&(a.animateFill=!1),'function'==typeof a.appendTo&&(a.appendTo=e.appendTo(t)),'function'==typeof a.content&&(a.content=e.content(t)),a},he=Ot&&'transition'in document.body.style?'transitionend':'webkitTransitionEnd',be=function(t,e,a){t[e+'EventListener'](he,a)},ye=Ot?navigator:{},ue=Ot?window:{},ge=/MSIE |Trident\//.test(ye.userAgent),xe=/iPhone|iPad|iPod/.test(ye.platform)&&!ue.MSStream,we='ontouchstart'in ue,ve=!1,ke=function(){ve||(ve=!0,xe&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',Le))},Ee=0,Le=function t(){var e=performance.now();20>e-Ee&&(ve=!1,document.removeEventListener('mousemove',t),!xe&&document.body.classList.remove('tippy-iOS')),Ee=e},Oe=function(t){var e=t.target;if(!(e instanceof Element))return qt();var a=Jt(e,Et.POPPER);if(!(a&&a._tippy&&a._tippy.props.interactive)){var p=Qt(e,function(t){return t._tippy&&t._tippy.reference===t});if(p){var r=p._tippy,i=-1<r.props.trigger.indexOf('click');if(ve||i)return qt(r);if(!0!==r.props.hideOnClick||i)return;r.clearDelayTimeouts()}qt()}},Ce=function(){var t=document,e=t.activeElement;e&&e.blur&&e._tippy&&e.blur()},Te=function(){Tt(document.querySelectorAll(Et.POPPER)).forEach(function(t){var e=t._tippy;e.props.livePlacement||e.popperInstance.scheduleUpdate()})},Ae=1,Ye=!1;Z.version=rt,Z.defaults=ot,Z.setDefaults=nt,Z.one=function(t,e){return Z(t,e,!0).instances[0]},Z.disableAnimations=function(){nt({duration:0,updateDuration:0,animateFill:!1})};return Ot&&function(){Tt(document.querySelectorAll('[data-tippy]')).forEach(function(t){var e=t.getAttribute('data-tippy');e&&Z(t,{content:e})})}(),function(t){if(Ct){var e=document.createElement('style');e.type='text/css',e.innerHTML=t,document.head.insertBefore(e,document.head.firstChild)}}(pt),Z}); | ||
(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 e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var a=getComputedStyle(e,null);return t?a[t]:a}function a(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var r=t(e),i=r.overflow,o=r.overflowX,n=r.overflowY;return /(auto|scroll|overlay)/.test(i+n+o)?e:p(a(e))}function r(e){return 11===e?fe:10===e?he:fe||he}function o(e){if(!e)return document.documentElement;for(var a=r(10)?document.body:null,p=e.offsetParent;p===a&&e.nextElementSibling;)p=(e=e.nextElementSibling).offsetParent;var i=p&&p.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(p.nodeName)&&'static'===t(p,'position')?o(p):p:e?e.ownerDocument.documentElement:document.documentElement}function n(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||o(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function l(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var a=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,p=a?e:t,r=a?t:e,i=document.createRange();i.setStart(p,0),i.setEnd(r,0);var d=i.commonAncestorContainer;if(e!==d&&t!==d||p.contains(r))return n(d)?d:o(d);var c=s(e);return c.host?l(c.host,t):l(e,s(t).host)}function d(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',a='top'===t?'scrollTop':'scrollLeft',p=e.nodeName;if('BODY'===p||'HTML'===p){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[a]}return e[a]}function c(e,t){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],p=d(t,'top'),r=d(t,'left'),i=a?-1:1;return e.top+=p*i,e.bottom+=p*i,e.left+=r*i,e.right+=r*i,e}function m(e,t){var a='x'===t?'Left':'Top',p='Left'===a?'Right':'Bottom';return parseFloat(e['border'+a+'Width'],10)+parseFloat(e['border'+p+'Width'],10)}function f(e,t,a,p){return ae(t['offset'+e],t['scroll'+e],a['client'+e],a['offset'+e],a['scroll'+e],r(10)?parseInt(a['offset'+e])+parseInt(p['margin'+('Height'===e?'Top':'Left')])+parseInt(p['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,a=e.documentElement,p=r(10)&&getComputedStyle(a);return{height:f('Height',t,a,p),width:f('Width',t,a,p)}}function b(e){return ge({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var a={};try{if(r(10)){a=e.getBoundingClientRect();var p=d(e,'top'),i=d(e,'left');a.top+=p,a.left+=i,a.bottom+=p,a.right+=i}else a=e.getBoundingClientRect()}catch(t){}var o={left:a.left,top:a.top,width:a.right-a.left,height:a.bottom-a.top},n='HTML'===e.nodeName?h(e.ownerDocument):{},s=n.width||e.clientWidth||o.right-o.left,l=n.height||e.clientHeight||o.bottom-o.top,c=e.offsetWidth-s,f=e.offsetHeight-l;if(c||f){var y=t(e);c-=m(y,'x'),f-=m(y,'y'),o.width-=c,o.height-=f}return b(o)}function y(e,a){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],o=r(10),n='HTML'===a.nodeName,s=u(e),l=u(a),d=p(e),m=t(a),f=parseFloat(m.borderTopWidth,10),h=parseFloat(m.borderLeftWidth,10);i&&n&&(l.top=ae(l.top,0),l.left=ae(l.left,0));var y=b({top:s.top-l.top-f,left:s.left-l.left-h,width:s.width,height:s.height});if(y.marginTop=0,y.marginLeft=0,!o&&n){var g=parseFloat(m.marginTop,10),x=parseFloat(m.marginLeft,10);y.top-=f-g,y.bottom-=f-g,y.left-=h-x,y.right-=h-x,y.marginTop=g,y.marginLeft=x}return(o&&!i?a.contains(d):a===d&&'BODY'!==d.nodeName)&&(y=c(y,a)),y}function g(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=e.ownerDocument.documentElement,p=y(e,a),r=ae(a.clientWidth,window.innerWidth||0),i=ae(a.clientHeight,window.innerHeight||0),o=t?0:d(a),n=t?0:d(a,'left'),s={top:o-p.top+p.marginTop,left:n-p.left+p.marginLeft,width:r,height:i};return b(s)}function x(e){var p=e.nodeName;return'BODY'!==p&&'HTML'!==p&&('fixed'===t(e,'position')||x(a(e)))}function w(e){if(!e||!e.parentElement||r())return document.documentElement;for(var a=e.parentElement;a&&'none'===t(a,'transform');)a=a.parentElement;return a||document.documentElement}function v(e,t,r,i){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},s=o?w(e):l(e,t);if('viewport'===i)n=g(s,o);else{var d;'scrollParent'===i?(d=p(a(t)),'BODY'===d.nodeName&&(d=e.ownerDocument.documentElement)):'window'===i?d=e.ownerDocument.documentElement:d=i;var c=y(d,s,o);if('HTML'===d.nodeName&&!x(s)){var m=h(e.ownerDocument),f=m.height,b=m.width;n.top+=c.top-c.marginTop,n.bottom=f+c.top,n.left+=c.left-c.marginLeft,n.right=b+c.left}else n=c}r=r||0;var u='number'==typeof r;return n.left+=u?r:r.left||0,n.top+=u?r:r.top||0,n.right-=u?r:r.right||0,n.bottom-=u?r:r.bottom||0,n}function k(e){var t=e.width,a=e.height;return t*a}function E(e,t,a,p,r){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var o=v(a,p,i,r),n={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},s=Object.keys(n).map(function(e){return ge({key:e},n[e],{area:k(n[e])})}).sort(function(e,t){return t.area-e.area}),l=s.filter(function(e){var t=e.width,p=e.height;return t>=a.clientWidth&&p>=a.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function L(e,t,a){var p=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,r=p?w(t):l(t,a);return y(a,r,p)}function O(e){var t=getComputedStyle(e),a=parseFloat(t.marginTop)+parseFloat(t.marginBottom),p=parseFloat(t.marginLeft)+parseFloat(t.marginRight),r={width:e.offsetWidth+p,height:e.offsetHeight+a};return r}function C(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 T(e,t,a){a=a.split('-')[0];var p=O(e),r={width:p.width,height:p.height},i=-1!==['right','left'].indexOf(a),o=i?'top':'left',n=i?'left':'top',s=i?'height':'width',l=i?'width':'height';return r[o]=t[o]+t[s]/2-p[s]/2,r[n]=a===n?t[n]-p[l]:t[C(n)],r}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Y(e,t,a){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===a});var p=A(e,function(e){return e[t]===a});return e.indexOf(p)}function P(t,a,p){var r=void 0===p?t:t.slice(0,Y(t,'name',p));return r.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var p=t['function']||t.fn;t.enabled&&e(p)&&(a.offsets.popper=b(a.offsets.popper),a.offsets.reference=b(a.offsets.reference),a=p(a,t))}),a}function S(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function X(e,t){return e.some(function(e){var a=e.name,p=e.enabled;return p&&a===t})}function D(e){for(var t=[!1,'ms','Webkit','Moz','O'],a=e.charAt(0).toUpperCase()+e.slice(1),p=0;p<t.length;p++){var r=t[p],i=r?''+r+a:e;if('undefined'!=typeof document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,X(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[D('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,a,r){var i='BODY'===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,a,{passive:!0}),i||H(p(o.parentNode),t,a,r),r.push(o)}function R(e,t,a,r){a.updateBound=r,N(e).addEventListener('resize',a.updateBound,{passive:!0});var i=p(e);return H(i,'scroll',a.updateBound,a.scrollParents),a.scrollElement=i,a.eventsEnabled=!0,a}function z(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}function W(e,t){return N(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 B(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=W(this.reference,this.state))}function M(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function U(e,t){Object.keys(t).forEach(function(a){var p='';-1!==['width','height','top','right','bottom','left'].indexOf(a)&&M(t[a])&&(p='px'),e.style[a]=t[a]+p})}function _(e,t){Object.keys(t).forEach(function(a){var p=t[a];!1===p?e.removeAttribute(a):e.setAttribute(a,t[a])})}function F(e,t,a){var p=A(e,function(e){var a=e.name;return a===t}),r=!!p&&e.some(function(e){return e.name===a&&e.enabled&&e.order<p.order});if(!r){var i='`'+t+'`';console.warn('`'+a+'`'+' modifier is required by '+i+' modifier in order to work, be sure to include it before '+i+'!')}return r}function V(e){return'end'===e?'start':'start'===e?'end':e}function q(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=we.indexOf(e),p=we.slice(a+1).concat(we.slice(0,a));return t?p.reverse():p}function j(e,t,a,p){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],o=r[2];if(!i)return e;if(0===o.indexOf('%')){var n;switch(o){case'%p':n=a;break;case'%':case'%r':default:n=p;}var s=b(n);return s[t]/100*i}if('vh'===o||'vw'===o){var l;return l='vh'===o?ae(document.documentElement.clientHeight,window.innerHeight||0):ae(document.documentElement.clientWidth,window.innerWidth||0),l/100*i}return i}function K(e,t,a,p){var r=[0,0],i=-1!==['right','left'].indexOf(p),o=e.split(/(\+|\-)/).map(function(e){return e.trim()}),n=o.indexOf(A(o,function(e){return-1!==e.search(/,|\s/)}));o[n]&&-1===o[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[o]:[o.slice(0,n).concat([o[n].split(s)[0]]),[o[n].split(s)[1]].concat(o.slice(n+1))];return l=l.map(function(e,p){var r=(1===p?!i:i)?'height':'width',o=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)},[]).map(function(e){return j(e,r,t,a)})}),l.forEach(function(e,t){e.forEach(function(a,p){M(a)&&(r[t]+=a*('-'===e[p-1]?-1:1))})}),r}function G(e,t){var a=t.offset,p=e.placement,r=e.offsets,i=r.popper,o=r.reference,n=p.split('-')[0],s=void 0;return s=M(+a)?[+a,0]:K(a,i,o,n),'left'===n?(i.top+=s[0],i.left-=s[1]):'right'===n?(i.top+=s[0],i.left+=s[1]):'top'===n?(i.left+=s[0],i.top-=s[1]):'bottom'===n&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e}function J(){document.addEventListener('click',Lt),document.addEventListener('touchstart',vt),window.addEventListener('blur',Ot),window.addEventListener('resize',Ct),!xt&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',vt)}function Q(e,t){function a(e){var t=S=e,a=t.clientX,p=t.clientY;M.popperInstance&&(M.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:p,left:a,right:a,bottom:p}},clientWidth:0,clientHeight:0},M.popperInstance.scheduleUpdate())}function p(e){var t=Je(e.target,M.props.target);if(t&&!t._tippy){var a=M.props.content;a&&(Q(t,ie({},M.props,{content:a,target:'',showOnInit:!0})),r(e))}}function r(e){if(k(),!M.state.isVisible){if(M.props.target)return void p(e);if(I=!0,M.props.wait)return void M.props.wait(L,e);h()&&(B.arrow&&(B.arrow.style.margin='0'),document.addEventListener('mousemove',a));var t=Re(M.props.delay,0,oe.delay);t?X=setTimeout(function(){L()},t):L()}}function i(){if(k(),!!M.state.isVisible){I=!1;var e=Re(M.props.delay,1,oe.delay);e?D=setTimeout(function(){M.state.isVisible&&O()},e):O()}}function o(e){if(M.state.isEnabled){var t=xt&&wt&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);t&&M.props.touchHold||(P=e,'click'===e.type&&!1!==M.props.hideOnClick&&M.state.isVisible?i():r(e))}}function n(e){var t=Qe(e.target,function(e){return e._tippy}),a=Je(e.target,Ee.POPPER)===M.popper,p=t===M.reference;a||p||dt(mt(M.popper),M.popper.getBoundingClientRect(),e,M.props)&&(document.body.removeEventListener('mouseleave',i),document.removeEventListener('mousemove',n),i())}function s(e){return-1<['mouseleave','mouseout'].indexOf(e.type)&&xt&&wt&&M.props.touchHold?void 0:M.props.interactive?(document.body.addEventListener('mouseleave',i),void document.addEventListener('mousemove',n)):void i()}function l(e){if(!(e.target!==M.reference||wt)){if(M.props.interactive){if(!e.relatedTarget)return;if(Je(e.relatedTarget,Ee.POPPER))return}i()}}function d(e){Je(e.target,M.props.target)&&r(e)}function c(e){Je(e.target,M.props.target)&&i()}function m(){var e=M.popperChildren.tooltip,t=M.props.popperOptions,a=Ee['round'===M.props.arrowType?'ROUND_ARROW':'ARROW'],p=e.querySelector(a),o=ie({placement:M.props.placement},t||{},{modifiers:ie({},t?t.modifiers:{},{arrow:ie({element:a},t&&t.modifiers?t.modifiers.arrow:{}),flip:ie({enabled:M.props.flip,padding:M.props.distance+5,behavior:M.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:ie({offset:M.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[mt(M.popper)]=ct(M.props.distance,oe.distance),p&&M.props.arrowTransform&&it(p,M.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[mt(M.popper)]=ct(M.props.distance,oe.distance),p&&M.props.arrowTransform&&it(p,M.props.arrowTransform)}}),n=new MutationObserver(function(){M.popperInstance.update()});return n.observe(M.popper,{childList:!0,subtree:!0}),A&&A.disconnect(),A=n,Y||(M.popper.addEventListener('mouseenter',r),M.popper.addEventListener('mouseleave',i),Y=!0),new ke(M.reference,M.popper,o)}function f(e){M.popperInstance?(M.popperInstance.scheduleUpdate(),M.props.livePlacement&&!h()&&M.popperInstance.enableEventListeners()):(M.popperInstance=m(),!M.props.livePlacement&&M.popperInstance.disableEventListeners()),M.popperInstance.reference=M.reference,h()&&M.popperChildren.arrow&&(M.popperChildren.arrow.style.margin=''),st(M.popperInstance,e,!0),M.props.appendTo.contains(M.popper)||M.props.appendTo.appendChild(M.popper)}function h(){return M.props.followCursor&&!wt&&'focus'!==P.type}function b(){(function e(){Pe([M.popper],M.props.updateDuration),M.popperInstance&&M.popperInstance.scheduleUpdate(),M.state.isVisible?requestAnimationFrame(function(){lt(e)}):Pe([M.popper],0)})()}function y(e,t){g(!1,e,function(){!M.state.isVisible&&M.props.appendTo.contains(M.popper)&&t()})}function u(e,t){g(!0,e,t)}function g(t,e,a){if(0===e)return a();var p=M.popperChildren.tooltip,r=function r(i){i.target===p&&getComputedStyle(p).opacity===(t?'1':'0')&&(ht(p,'remove',r),a())};ht(p,'remove',N),ht(p,'add',r),N=r}function x(e,t,a){M.reference.addEventListener(e,t),a.push({eventType:e,handler:t})}function w(){H=M.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(T.target?'mouseenter'===t?(x('mouseover',d,e),x('mouseout',c,e)):'focus'===t?(x('focusin',d,e),x('focusout',c,e)):'click'===t?x(t,d,e):void 0:(x(t,o,e),'mouseenter'===t?x('mouseleave',s,e):'focus'===t?x(ut?'focusout':'blur',l,e):void 0),e)},[])}function v(){H.forEach(function(e){var t=e.eventType,a=e.handler;M.reference.removeEventListener(t,a)})}function k(){clearTimeout(X),clearTimeout(D)}function E(e){var t=M.props,a=ft(M.reference,ie({},M.props,e,{performance:!0}));a.performance=e.performance||t.performance,M.props=a,e.trigger&&(v(),w()),Ve(M.popper,t,a),M.popperChildren=Se(M.popper),M.popperInstance&&(M.popperInstance=m())}function L(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Re(M.props.duration,0,oe.duration[0]);return M.state.isDestroyed||!M.state.isEnabled||wt&&!M.props.touch?void 0:M.reference.isVirtual||document.documentElement.contains(M.reference)?M.reference.hasAttribute('disabled')?void 0:R?void(R=!1):void(M.props.onShow(M),M.popper.style.visibility='visible',M.state.isVisible=!0,Pe([M.popper,M.popperChildren.tooltip,M.popperChildren.backdrop],0),f(function(){if(M.state.isVisible){if(h()||M.popperInstance.scheduleUpdate(),h()){M.popperInstance.disableEventListeners();var t=Re(M.props.delay,0,oe.delay);P&&a(t&&S?S:P)}Pe([M.popperChildren.tooltip,M.popperChildren.backdrop,M.popperChildren.backdrop?M.popperChildren.content:null],e),M.props.interactive&&M.reference.classList.add('tippy-active'),M.props.sticky&&b(),ot([M.popperChildren.tooltip,M.popperChildren.backdrop],'visible'),u(e,function(){0===M.props.updateDuration&&M.popperChildren.tooltip.classList.add('tippy-notransition'),M.props.interactive&&'focus'===P.type&&Ze(M.popper),M.reference.setAttribute('aria-describedby',M.popper.id),M.props.onShown(M)})}})):C()}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Re(M.props.duration,1,oe.duration[1]);M.state.isDestroyed||!M.state.isEnabled||(M.props.onHide(M),0===M.props.updateDuration&&M.popperChildren.tooltip.classList.remove('tippy-notransition'),M.props.interactive&&M.reference.classList.remove('tippy-active'),M.popper.style.visibility='hidden',M.state.isVisible=!1,Pe([M.popperChildren.tooltip,M.popperChildren.backdrop,M.popperChildren.backdrop?M.popperChildren.content:null],e),ot([M.popperChildren.tooltip,M.popperChildren.backdrop],'hidden'),M.props.interactive&&!R&&'focus'===P.type&&(R=!0,Ze(M.reference)),y(e,function(){I||(document.removeEventListener('mousemove',a),S=null),M.reference.removeAttribute('aria-describedby'),M.popperInstance.disableEventListeners(),M.props.appendTo.removeChild(M.popper),M.props.onHidden(M)}))}function C(e){M.state.isDestroyed||(M.state.isVisible&&O(0),v(),delete M.reference._tippy,M.props.target&&e&&Te(M.reference.querySelectorAll(M.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),M.popperInstance&&M.popperInstance.destroy(),A&&A.disconnect(),M.state.isDestroyed=!0)}var T=ft(e,t);if(!T.multiple&&e._tippy)return null;var A=null,Y=!1,P={},S={},X=0,D=0,I=!1,N=function(){},H=[],R=!1,z=Tt++,W=Fe(z,T),B=Se(W),M={id:z,reference:e,popper:W,popperChildren:B,popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:k,set:E,setContent:function(e){E({content:e})},show:L,hide:O,enable:function(){M.state.isEnabled=!0},disable:function(){M.state.isEnabled=!1},destroy:C};return w(),T.lazy||(M.popperInstance=m(),M.popperInstance.disableEventListeners()),T.showOnInit&&setTimeout(r,20),!T.a11y||T.target||Ye(e)||e.setAttribute('tabindex','0'),e._tippy=M,W._tippy=M,M}function Z(e,t,a){for(var p in At||(J(),At=!0),t||{})if(!(p in oe))throw Error('[tippy]: '+p+' is not a valid option');var r=ie({},oe,t);Xe(e)&&Ke(e);var i=Ne(e),o=i[0],n=(a&&o?[o]:i).reduce(function(e,t){var a=t?Q(t,r):null;return a?e.concat(a):e},[]);return{targets:e,props:r,instances:n,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var $=Math.min,ee=Math.round,te=Math.floor,ae=Math.max,pe='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{max-width:350px;-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 90%;transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-50%,25%);transform:scale(6) 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(60deg);transform:translateY(0) rotateX(60deg)}.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(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -90%;transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-50%,-125%);transform:scale(6) 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(-60deg);transform:translateY(0) rotateX(-60deg)}.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(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:100% 0;transform-origin:100% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(40%,-50%);transform:scale(6) translate(40%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(40%,-50%);transform:scale(1.5) translate(40%,-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(-60deg);transform:translateX(0) rotateY(-60deg)}.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(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-100% 0;transform-origin:-100% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(6) translate(-140%,-50%);transform:scale(6) translate(-140%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(-140%,-50%);transform:scale(1.5) translate(-140%,-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(60deg);transform:translateX(0) rotateY(60deg)}.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(.5);transform:translateX(0) scale(.5)}.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{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],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{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-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:26%;left:50%;top:50%;z-index:-1;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(40% 100% at 0 50%);clip-path:ellipse(40% 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(40% 100% at 100% 50%);clip-path:ellipse(40% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}',re='3.0.0-alpha.2',ie=Object.assign||function(e){for(var t,a=1;a<arguments.length;a++)for(var p in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,p)&&(e[p]=t[p]);return e},oe={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},ne=function(e){oe=ie({},oe,e)},se='undefined'!=typeof window&&'undefined'!=typeof document,le=['Edge','Trident','Firefox'],de=0,ce=0;ce<le.length;ce+=1)if(se&&0<=navigator.userAgent.indexOf(le[ce])){de=1;break}var i=se&&window.Promise,me=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},de))}},fe=se&&!!(window.MSInputMethodContext&&document.documentMode),he=se&&/MSIE 10/.test(navigator.userAgent),be=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 a,p=0;p<t.length;p++)a=t[p],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(t,a,p){return a&&e(t.prototype,a),p&&e(t,p),t}}(),ue=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},ge=Object.assign||function(e){for(var t,a=1;a<arguments.length;a++)for(var p in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,p)&&(e[p]=t[p]);return e},xe=['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'],we=xe.slice(3),ve={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ke=function(){function t(a,p){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};be(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=me(this.update.bind(this)),this.options=ge({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=a&&a.jquery?a[0]:a,this.popper=p&&p.jquery?p[0]:p,this.options.modifiers={},Object.keys(ge({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=ge({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ge({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return ye(t,[{key:'update',value:function(){return S.call(this)}},{key:'destroy',value:function(){return I.call(this)}},{key:'enableEventListeners',value:function(){return z.call(this)}},{key:'disableEventListeners',value:function(){return B.call(this)}}]),t}();ke.Utils=('undefined'==typeof window?global:window).PopperUtils,ke.placements=xe,ke.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,a=t.split('-')[0],p=t.split('-')[1];if(p){var r=e.offsets,i=r.reference,o=r.popper,n=-1!==['bottom','top'].indexOf(a),s=n?'left':'top',l=n?'width':'height',d={start:ue({},s,i[s]),end:ue({},s,i[s]+i[l]-o[l])};e.offsets.popper=ge({},o,d[p])}return e}},offset:{order:200,enabled:!0,fn:G,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var a=t.boundariesElement||o(e.instance.popper);e.instance.reference===a&&(a=o(a));var p=D('transform'),r=e.instance.popper.style,i=r.top,n=r.left,s=r[p];r.top='',r.left='',r[p]='';var l=v(e.instance.popper,e.instance.reference,t.padding,a,e.positionFixed);r.top=i,r.left=n,r[p]=s,t.boundaries=l;var d=t.priority,c=e.offsets.popper,m={primary:function(e){var a=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(a=ae(c[e],l[e])),ue({},e,a)},secondary:function(e){var a='right'===e?'left':'top',p=c[a];return c[e]>l[e]&&!t.escapeWithReference&&(p=$(c[a],l[e]-('right'===e?c.width:c.height))),ue({},a,p)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=ge({},c,m[t](e))}),e.offsets.popper=c,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,a=t.popper,p=t.reference,r=e.placement.split('-')[0],i=te,o=-1!==['top','bottom'].indexOf(r),n=o?'right':'bottom',s=o?'left':'top',l=o?'width':'height';return a[n]<i(p[s])&&(e.offsets.popper[s]=i(p[s])-a[l]),a[s]>i(p[n])&&(e.offsets.popper[s]=i(p[n])),e}},arrow:{order:500,enabled:!0,fn:function(e,a){var p;if(!F(e.instance.modifiers,'arrow','keepTogether'))return e;var r=a.element;if('string'==typeof r){if(r=e.instance.popper.querySelector(r),!r)return e;}else if(!e.instance.popper.contains(r))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],o=e.offsets,n=o.popper,s=o.reference,l=-1!==['left','right'].indexOf(i),d=l?'height':'width',c=l?'Top':'Left',m=c.toLowerCase(),f=l?'left':'top',h=l?'bottom':'right',y=O(r)[d];s[h]-y<n[m]&&(e.offsets.popper[m]-=n[m]-(s[h]-y)),s[m]+y>n[h]&&(e.offsets.popper[m]+=s[m]+y-n[h]),e.offsets.popper=b(e.offsets.popper);var u=s[m]+s[d]/2-y/2,g=t(e.instance.popper),x=parseFloat(g['margin'+c],10),w=parseFloat(g['border'+c+'Width'],10),v=u-e.offsets.popper[m]-x-w;return v=ae($(n[d]-y,v),0),e.arrowElement=r,e.offsets.arrow=(p={},ue(p,m,ee(v)),ue(p,f,''),p),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(X(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var a=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),p=e.placement.split('-')[0],r=C(p),i=e.placement.split('-')[1]||'',o=[];switch(t.behavior){case ve.FLIP:o=[p,r];break;case ve.CLOCKWISE:o=q(p);break;case ve.COUNTERCLOCKWISE:o=q(p,!0);break;default:o=t.behavior;}return o.forEach(function(n,s){if(p!==n||o.length===s+1)return e;p=e.placement.split('-')[0],r=C(p);var l=e.offsets.popper,d=e.offsets.reference,c=te,m='left'===p&&c(l.right)>c(d.left)||'right'===p&&c(l.left)<c(d.right)||'top'===p&&c(l.bottom)>c(d.top)||'bottom'===p&&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),y=c(l.bottom)>c(a.bottom),u='left'===p&&f||'right'===p&&h||'top'===p&&b||'bottom'===p&&y,g=-1!==['top','bottom'].indexOf(p),x=!!t.flipVariations&&(g&&'start'===i&&f||g&&'end'===i&&h||!g&&'start'===i&&b||!g&&'end'===i&&y);(m||u||x)&&(e.flipped=!0,(m||u)&&(p=o[s+1]),x&&(i=V(i)),e.placement=p+(i?'-'+i:''),e.offsets.popper=ge({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,a=t.split('-')[0],p=e.offsets,r=p.popper,i=p.reference,o=-1!==['left','right'].indexOf(a),n=-1===['top','left'].indexOf(a);return r[o?'left':'top']=i[a]-(n?r[o?'width':'height']:0),e.placement=C(t),e.offsets.popper=b(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!F(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,a=A(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<a.top||t.left>a.right||t.top>a.bottom||t.right<a.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 a=t.x,p=t.y,r=e.offsets.popper,i=A(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==i&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var n=void 0===i?t.gpuAcceleration:i,s=o(e.instance.popper),l=u(s),d={position:r.position},c={left:te(r.left),top:ee(r.top),bottom:ee(r.bottom),right:te(r.right)},m='bottom'===a?'top':'bottom',f='right'===p?'left':'right',h=D('transform'),b=void 0,y=void 0;if(y='bottom'==m?'HTML'===s.nodeName?-s.clientHeight+c.bottom:-l.height+c.bottom:c.top,b='right'==f?'HTML'===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,n&&h)d[h]='translate3d('+b+'px, '+y+'px, 0)',d[m]=0,d[f]=0,d.willChange='transform';else{var g='bottom'==m?-1:1,x='right'==f?-1:1;d[m]=y*g,d[f]=b*x,d.willChange=m+', '+f}var w={"x-placement":e.placement};return e.attributes=ge({},w,e.attributes),e.styles=ge({},d,e.styles),e.arrowStyles=ge({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return U(e.instance.popper,e.styles),_(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&U(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,a,p,r){var i=L(r,t,e,a.positionFixed),o=E(a.placement,i,t,e,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return t.setAttribute('x-placement',o),U(t,{position:a.positionFixed?'fixed':'absolute'}),a},gpuAcceleration:void 0}}};var Ee={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Le={x:!0},Oe='undefined'!=typeof window,Ce=Oe&&'MutationObserver'in window,Te=function(e){return[].slice.call(e)},Ae=function(e,t){t.content instanceof Element?(Ie(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Ye=function(e){return!(e instanceof Element)||Ge.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},Pe=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},Se=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Ee.TOOLTIP),backdrop:t(Ee.BACKDROP),content:t(Ee.CONTENT),arrow:t(Ee.ARROW)||t(Ee.ROUND_ARROW)}},Xe=function(e){return'[object Object]'==={}.toString.call(e)},De=function(){return document.createElement('div')},Ie=function(e,t){e[Le.x&&'innerHTML']=t instanceof Element?t[Le.x&&'innerHTML']:t},Ne=function(e){if(e instanceof Element||Xe(e))return[e];if(e instanceof NodeList)return Te(e);if(Array.isArray(e))return e;try{return Te(document.querySelectorAll(e))}catch(t){return[]}},He=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Re=function(e,t,a){if(Array.isArray(e)){var p=e[t];return null==p?a:p}return e},ze=function(e){var t=De();return'round'===e?(t.className='tippy-roundarrow',Ie(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},We=function(){var e=De();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},Be=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},Me=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},Ue=function(e){e.setAttribute('data-inertia','')},_e=function(e){e.removeAttribute('data-inertia')},Fe=function(e,t){var a=De();a.className='tippy-popper',a.role='tooltip',a.id='tippy-'+e,a.style.zIndex=t.zIndex;var p=De();p.className='tippy-tooltip',p.setAttribute('data-size',t.size),p.setAttribute('data-animation',t.animation),p.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){p.classList.add(e+'-theme')});var r=De();return r.className='tippy-content',t.interactive&&Be(a,p),t.arrow&&p.appendChild(ze(t.arrowType)),t.animateFill&&(p.appendChild(We()),p.setAttribute('data-animatefill','')),t.inertia&&p.setAttribute('data-inertia',''),Ae(r,t),p.appendChild(r),a.appendChild(p),a.addEventListener('focusout',function(t){t.relatedTarget&&a._tippy&&!Qe(t.relatedTarget,function(e){return e===a})&&a._tippy.hide()}),a},Ve=function(e,t,a){var p=Se(e),r=p.tooltip,i=p.content,o=p.backdrop,n=p.arrow,s=parseFloat(r.style.transitionDuration);Pe([r],0),e.style.zIndex=a.zIndex,r.setAttribute('data-size',a.size),r.setAttribute('data-animation',a.animation),Ae(i,a),!t.animateFill&&a.animateFill?(r.appendChild(We()),r.setAttribute('data-animatefill','')):t.animateFill&&!a.animateFill&&(r.removeChild(o),r.removeAttribute('data-animatefill')),!t.arrow&&a.arrow?r.appendChild(ze(a.arrowType)):t.arrow&&!a.arrow&&r.removeChild(n),t.arrow&&a.arrow&&t.arrowType!==a.arrowType&&r.replaceChild(ze(a.arrowType),n),!t.interactive&&a.interactive?Be(e,r):t.interactive&&!a.interactive&&Me(e,r),!t.inertia&&a.inertia?Ue(r):t.inertia&&!a.inertia&&_e(r),t.theme!==a.theme&&(t.theme.split(' ').forEach(function(e){r.classList.remove(e+'-theme')}),a.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')})),lt(function(){Pe([r],s)})},qe=function(e){Te(document.querySelectorAll(Ee.POPPER)).forEach(function(t){var a=t._tippy;a&&!0===a.props.hideOnClick&&(!e||t!==e.popper)&&a.hide()})},je=function(e){return Object.keys(oe).reduce(function(t,a){var p=(e.getAttribute('data-tippy-'+a)||'').trim();return p?(t[a]='true'===p||'false'!==p&&(He(p)?+p:'target'!==a&&'['===p[0]?JSON.parse(p):p),t):t},{})},Ke=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,a){e.attributes[t]=a},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var a in t)e[a]=t[a];return e},Ge=function(){if(Oe){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),Je=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(Ge.call(t,e))return t;t=t.parentElement}}).call(e,t)},Qe=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},Ze=function(e){var t=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;e.focus(),scroll(t,a)},$e=function(e){void e.offsetHeight},et=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},tt=function(e,t,p,r){var i=t[0],o=t[1];if(!i&&!o)return'';var n={scale:function(){return o?p?i+', '+o:o+', '+i:''+i}(),translate:function(){return o?p?r?i+'px, '+-o+'px':i+'px, '+o+'px':r?-o+'px, '+i+'px':o+'px, '+i+'px':r?-i+'px':i+'px'}()};return n[e]},at=function(e,t){var a=e.match(new RegExp(t+'([XY])'));return a?a[1]:''},pt=function(e,t){var a=e.match(t);return a?a[1].split(',').map(parseFloat):[]},rt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},it=function(e,t){var a=mt(Je(e,Ee.POPPER)),p='top'===a||'bottom'===a,r='right'===a||'bottom'===a,i={translate:{axis:at(t,'translate'),numbers:pt(t,rt.translate)},scale:{axis:at(t,'scale'),numbers:pt(t,rt.scale)}},o=t.replace(rt.translate,'translate'+et(i.translate.axis,p)+'('+tt('translate',i.translate.numbers,p,r)+')').replace(rt.scale,'scale'+et(i.scale.axis,p)+'('+tt('scale',i.scale.numbers,p,r)+')');e.style[nt('transform')]=o},ot=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},nt=function(e){for(var t=['','webkit'],a=e[0].toUpperCase()+e.slice(1),p=0;p<t.length;p++){var r=t[p],i=r?r+a:e;if('undefined'!=typeof document.body.style[i])return i}return null},st=function(e,t,a){var p=e.popper,r=e.options,i=r.onCreate,o=r.onUpdate;r.onCreate=r.onUpdate=function(){$e(p),t&&t(),o(),r.onCreate=i,r.onUpdate=o},a||e.scheduleUpdate()},lt=function(e){setTimeout(e,1)},dt=function(e,t,a,p){if(!e)return!0;var r=a.clientX,i=a.clientY,o=p.interactiveBorder,n=p.distance,s=t.top-i>('top'===e?o+n:o),l=i-t.bottom>('bottom'===e?o+n:o),d=t.left-r>('left'===e?o+n:o),c=r-t.right>('right'===e?o+n:o);return s||l||d||c},ct=function(e,t){return-(e-t)+'px'},mt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},ft=function(e,t){var a=ie({},t,t.performance?{}:je(e));return a.arrow&&(a.animateFill=!1),'function'==typeof a.appendTo&&(a.appendTo=t.appendTo(e)),'function'==typeof a.content&&(a.content=t.content(e)),a},ht=function(e,t,a){e[t+'EventListener']('transitionend',a)},bt=Oe?navigator:{},yt=Oe?window:{},ut=/MSIE |Trident\//.test(bt.userAgent),gt=/iPhone|iPad|iPod/.test(bt.platform)&&!yt.MSStream,xt='ontouchstart'in yt,wt=!1,vt=function(){wt||(wt=!0,gt&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',Et))},kt=0,Et=function e(){var t=performance.now();20>t-kt&&(wt=!1,document.removeEventListener('mousemove',e),!gt&&document.body.classList.remove('tippy-iOS')),kt=t},Lt=function(e){var t=e.target;if(!(t instanceof Element))return qe();var a=Je(t,Ee.POPPER);if(!(a&&a._tippy&&a._tippy.props.interactive)){var p=Qe(t,function(e){return e._tippy&&e._tippy.reference===e});if(p){var r=p._tippy,i=-1<r.props.trigger.indexOf('click');if(wt||i)return qe(r);if(!0!==r.props.hideOnClick||i)return;r.clearDelayTimeouts()}qe()}},Ot=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},Ct=function(){Te(document.querySelectorAll(Ee.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Tt=1,At=!1;Z.version=re,Z.defaults=oe,Z.one=function(e,t){return Z(e,t,!0).instances[0]},Z.setDefaults=function(e){ne(e),Z.defaults=oe},Z.disableAnimations=function(){Z.setDefaults({duration:0,updateDuration:0,animateFill:!1})};return Oe&&setTimeout(function(){Te(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&Z(e,{content:t})})}),function(e){if(Ce){var t=document.createElement('style');t.type='text/css',t.innerHTML=e,document.head.insertBefore(t,document.head.firstChild)}}(pe),Z}); |
@@ -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 e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function r(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),n=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(n+s+p)?e:r(o(e))}function n(e){return 11===e?fe:10===e?me:fe||me}function p(e){if(!e)return document.documentElement;for(var o=n(10)?document.body:null,r=e.offsetParent;r===o&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(r.nodeName)&&'static'===t(r,'position')?p(r):r:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function a(e){return null===e.parentNode?e:a(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var l=n.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return s(l)?l:p(l);var c=a(e);return c.host?d(c.host,t):d(e,a(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function c(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=l(t,'top'),i=l(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function f(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function m(e,t,o,r){return oe(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],n(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,o=e.documentElement,r=n(10)&&getComputedStyle(o);return{height:m('Height',t,o,r),width:m('Width',t,o,r)}}function u(e){return ge({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var o={};try{if(n(10)){o=e.getBoundingClientRect();var r=l(e,'top'),i=l(e,'left');o.top+=r,o.left+=i,o.bottom+=r,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?h(e.ownerDocument):{},a=s.width||e.clientWidth||p.right-p.left,d=s.height||e.clientHeight||p.bottom-p.top,c=e.offsetWidth-a,m=e.offsetHeight-d;if(c||m){var b=t(e);c-=f(b,'x'),m-=f(b,'y'),p.width-=c,p.height-=m}return u(p)}function g(e,o){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],p=n(10),s='HTML'===o.nodeName,a=b(e),d=b(o),l=r(e),f=t(o),m=parseFloat(f.borderTopWidth,10),h=parseFloat(f.borderLeftWidth,10);i&&s&&(d.top=oe(d.top,0),d.left=oe(d.left,0));var g=u({top:a.top-d.top-m,left:a.left-d.left-h,width:a.width,height:a.height});if(g.marginTop=0,g.marginLeft=0,!p&&s){var y=parseFloat(f.marginTop,10),v=parseFloat(f.marginLeft,10);g.top-=m-y,g.bottom-=m-y,g.left-=h-v,g.right-=h-v,g.marginTop=y,g.marginLeft=v}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(g=c(g,o)),g}function y(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,r=g(e,o),i=oe(o.clientWidth,window.innerWidth||0),n=oe(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),a={top:p-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:n};return u(a)}function v(e){var r=e.nodeName;return'BODY'!==r&&'HTML'!==r&&('fixed'===t(e,'position')||v(o(e)))}function w(e){if(!e||!e.parentElement||n())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function E(e,t,i,n){var p=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],s={top:0,left:0},a=p?w(e):d(e,t);if('viewport'===n)s=y(a,p);else{var l;'scrollParent'===n?(l=r(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===n?l=e.ownerDocument.documentElement:l=n;var c=g(l,a,p);if('HTML'===l.nodeName&&!v(a)){var f=h(e.ownerDocument),m=f.height,u=f.width;s.top+=c.top-c.marginTop,s.bottom=m+c.top,s.left+=c.left-c.marginLeft,s.right=u+c.left}else s=c}i=i||0;var b='number'==typeof i;return s.left+=b?i:i.left||0,s.top+=b?i:i.top||0,s.right-=b?i:i.right||0,s.bottom-=b?i:i.bottom||0,s}function x(e){var t=e.width,o=e.height;return t*o}function L(e,t,o,r,i){var n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=E(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return ge({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function O(e,t,o){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=r?w(t):d(t,o);return g(o,i,r)}function C(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+r,height:e.offsetHeight+o};return i}function T(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 A(e,t,o){o=o.split('-')[0];var r=C(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[T(s)],i}function k(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=k(e,function(e){return e[t]===o});return e.indexOf(r)}function S(t,o,r){var i=void 0===r?t:t.slice(0,P(t,'name',r));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var r=t['function']||t.fn;t.enabled&&e(r)&&(o.offsets.popper=u(o.offsets.popper),o.offsets.reference=u(o.offsets.reference),o=r(o,t))}),o}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=A(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=S(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function I(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function N(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function H(){return this.state.isDestroyed=!0,I(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[N('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,o,i){var n='BODY'===e.nodeName,p=n?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),n||W(r(p.parentNode),t,o,i),i.push(p)}function B(e,t,o,i){o.updateBound=i,R(e).addEventListener('resize',o.updateBound,{passive:!0});var n=r(e);return W(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function M(){this.state.eventsEnabled||(this.state=B(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return R(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 _(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function F(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&F(t[o])&&(r='px'),e.style[o]=t[o]+r})}function V(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function Y(e,t,o){var r=k(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function q(e){return'end'===e?'start':'start'===e?'end':e}function X(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=ve.indexOf(e),r=ve.slice(o+1).concat(ve.slice(0,o));return t?r.reverse():r}function j(e,t,o,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),n=+i[1],p=i[2];if(!n)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=r;}var a=u(s);return a[t]/100*n}if('vh'===p||'vw'===p){var d;return d='vh'===p?oe(document.documentElement.clientHeight,window.innerHeight||0):oe(document.documentElement.clientWidth,window.innerWidth||0),d/100*n}return n}function K(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(k(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return j(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){F(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function G(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=F(+o)?[+o,0]:K(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function Q(){document.addEventListener('click',Lt),document.addEventListener('touchstart',wt),window.addEventListener('blur',Ot),window.addEventListener('resize',Ct),!yt&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',wt)}function Z(e,t){function o(e){var t=P=e,o=t.clientX,r=t.clientY;U.popperInstance&&(U.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:r,left:o,right:o,bottom:r}},clientWidth:0,clientHeight:0},U.popperInstance.scheduleUpdate())}function r(e){var t=Ke(e.target,U.props.target);if(t&&!t._tippy){var o=U.props.content;o&&(Z(t,ie({},U.props,{content:o,target:'',showOnInit:!0})),i(e))}}function i(e){if(x(),!U.state.isVisible){if(U.props.target)return void r(e);if(I=!0,U.props.wait)return void U.props.wait(L,e);h()&&(M.arrow&&(M.arrow.style.margin='0'),document.addEventListener('mousemove',o));var t=Re(U.props.delay,0,ne.delay);t?S=setTimeout(function(){L()},t):L()}}function n(){if(x(),!!U.state.isVisible){I=!1;var e=Re(U.props.delay,1,ne.delay);e?D=setTimeout(function(){U.state.isVisible&&O()},e):O()}}function p(e){if(U.state.isEnabled){var t=yt&&vt&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);t&&U.props.touchHold||(k=e,'click'===e.type&&!1!==U.props.hideOnClick&&U.state.isVisible?n():i(e))}}function s(e){var t=Ge(e.target,function(e){return e._tippy}),o=Ke(e.target,xe.POPPER)===U.popper,r=t===U.reference;o||r||at(lt(U.popper),U.popper.getBoundingClientRect(),e,U.props)&&(document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',s),n())}function a(e){return-1<['mouseleave','mouseout'].indexOf(e.type)&&yt&&vt&&U.props.touchHold?void 0:U.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',s)):void n()}function d(e){if(!(e.target!==U.reference||vt)){if(U.props.interactive){if(!e.relatedTarget)return;if(Ke(e.relatedTarget,xe.POPPER))return}n()}}function l(e){Ke(e.target,U.props.target)&&i(e)}function c(e){Ke(e.target,U.props.target)&&n()}function f(){var e=U.popperChildren.tooltip,t=U.props.props,o=xe['round'===U.props.arrowType?'ROUND_ARROW':'ARROW'],r=e.querySelector(o),i=ie({placement:U.props.placement},t||{},{modifiers:ie({},t?t.modifiers:{},{arrow:ie({element:o},t&&t.modifiers?t.modifiers.arrow:{}),flip:ie({enabled:U.props.flip,padding:U.props.distance+5,behavior:U.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:ie({offset:U.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[lt(U.popper)]=dt(U.props.distance,ne.distance),r&&U.props.arrowTransform&&rt(r,U.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[lt(U.popper)]=dt(U.props.distance,ne.distance),r&&U.props.arrowTransform&&rt(r,U.props.arrowTransform)}}),n=new MutationObserver(function(){U.popperInstance.update()});return n.observe(U.popper,{childList:!0,subtree:!0}),A&&A.disconnect(),A=n,new Ee(U.reference,U.popper,i)}function m(e){U.popperInstance?(U.popperInstance.scheduleUpdate(),U.props.livePlacement&&!h()&&U.popperInstance.enableEventListeners()):(U.popperInstance=f(),!U.props.livePlacement&&U.popperInstance.disableEventListeners()),U.popperInstance.reference=U.reference,h()&&U.popperChildren.arrow&&(U.popperChildren.arrow.style.margin=''),pt(U.popperInstance,e,!0),U.props.appendTo.contains(U.popper)||U.props.appendTo.appendChild(U.popper)}function h(){return U.props.followCursor&&!vt&&'focus'!==k.type}function u(){var e=function(){U.popper.style[nt('transitionDuration')]=U.props.updateDuration+'ms'},t=function(){U.popper.style[nt('transitionDuration')]=''};(function o(){U.popperInstance&&U.popperInstance.scheduleUpdate(),e(),U.state.isVisible?st(o):t()})()}function b(e,t){y(!1,e,function(){!U.state.isVisible&&U.props.appendTo.contains(U.popper)&&t()})}function g(e,t){y(!0,e,t)}function y(t,e,o){if(0===e)return o();var r=U.popperChildren.tooltip,i=function i(n){n.target===r&&getComputedStyle(r).opacity===(t?'1':'0')&&(mt(r,'remove',i),o())};mt(r,'remove',N),mt(r,'add',i),N=i}function v(e,t,o){U.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function w(){H=U.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(T.target?'mouseenter'===t?(v('mouseover',l,e),v('mouseout',c,e)):'focus'===t?(v('focusin',l,e),v('focusout',c,e)):'click'===t?v(t,l,e):void 0:(v(t,p,e),'mouseenter'===t?v('mouseleave',a,e):'focus'===t?v(bt?'focusout':'blur',d,e):void 0),e)},[])}function E(){H.forEach(function(e){var t=e.eventType,o=e.handler;U.reference.removeEventListener(t,o)})}function x(){clearTimeout(S),clearTimeout(D)}function L(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Re(U.props.duration,0,ne.duration[0]);return U.state.isDestroyed||!U.state.isEnabled||vt&&!U.props.touch?void 0:U.reference.isVirtual||document.documentElement.contains(U.reference)?U.reference.hasAttribute('disabled')?void 0:R?void(R=!1):void(U.props.onShow(U),U.popper.style.visibility='visible',U.state.isVisible=!0,ke([U.popper,U.popperChildren.tooltip,U.popperChildren.backdrop],0),m(function(){if(U.state.isVisible){if(h()||U.popperInstance.scheduleUpdate(),h()){U.popperInstance.disableEventListeners();var t=Re(U.props.delay,0,ne.delay);k&&o(t&&P?P:k)}ke([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.backdrop?U.popperChildren.content:null],e),U.props.interactive&&U.reference.classList.add('tippy-active'),U.props.sticky&&u(),it([U.popperChildren.tooltip,U.popperChildren.backdrop],'visible'),g(e,function(){U.props.updateDuration||U.popperChildren.tooltip.classList.add('tippy-notransition'),U.props.interactive&&'focus'===k.type&&Qe(U.popper),U.reference.setAttribute('aria-describedby',U.popper.id),U.props.onShown(U)})}})):C()}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Re(U.props.duration,1,ne.duration[1]);U.state.isDestroyed||!U.state.isEnabled||(U.props.onHide(U),0===U.props.updateDuration&&U.popperChildren.tooltip.classList.remove('tippy-notransition'),U.props.interactive&&U.reference.classList.remove('tippy-active'),U.popper.style.visibility='hidden',U.state.isVisible=!1,ke([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.backdrop?U.popperChildren.content:null],e),it([U.popperChildren.tooltip,U.popperChildren.backdrop],'hidden'),U.props.interactive&&!R&&'focus'===k.type&&(R=!0,Qe(U.reference)),b(e,function(){I||(document.removeEventListener('mousemove',o),P=null),U.reference.removeAttribute('aria-describedby'),U.popperInstance.disableEventListeners(),U.props.appendTo.removeChild(U.popper),U.props.onHidden(U)}))}function C(e){U.state.isDestroyed||(U.state.isVisible&&O(0),E(),delete U.reference._tippy,U.props.target&&e&&Ce(U.reference.querySelectorAll(U.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),U.popperInstance&&U.popperInstance.destroy(),A&&A.disconnect(),U.state.isDestroyed=!0)}var T=ct(e,t);if(!T.multiple&&e._tippy)return null;var A=null,k={},P={},S=0,D=0,I=!1,N=function(){},H=[],R=!1,W=Tt++,B=ze(W,T),M=Pe(B),U={id:W,reference:e,popper:B,popperChildren:M,popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:x,set:function(e){var t=U.props,o=ct(U.reference,ie({},U.props,e,{performance:!0}));o.performance=e.performance||t.performance,U.props=o,e.trigger&&(E(),w()),Ve(U.popper,t,o),U.popperChildren=Pe(U.popper),U.popperInstance&&(U.popperInstance=f())},show:L,hide:O,enable:function(){U.state.isEnabled=!0},disable:function(){U.state.isEnabled=!1},destroy:C};return w(),T.lazy||(U.popperInstance=f(),U.popperInstance.disableEventListeners()),T.showOnInit&&setTimeout(i,20),!T.a11y||T.target||Ae(e)||e.setAttribute('tabindex','0'),e._tippy=U,B._tippy=U,U}function $(e,t,o){for(var r in At||(Q(),At=!0),t||{})if(!(r in ne))throw Error('[tippy]: '+r+' is not a valid option');var i=ie({},ne,t);Se(e)&&Xe(e);var n=Ne(e),p=n[0],s=(o&&p?[p]:n).reduce(function(e,t){var o=t?Z(t,i):null;return o?e.concat(o):e},[]);return{targets:e,props:i,instances:s,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var J=Math.min,ee=Math.round,te=Math.floor,oe=Math.max,re='3.0.0-alpha.1',ie=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ne={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},pe=function(e){ne=ie({},ne,e)},se='undefined'!=typeof window&&'undefined'!=typeof document,ae=['Edge','Trident','Firefox'],de=0,le=0;le<ae.length;le+=1)if(se&&0<=navigator.userAgent.indexOf(ae[le])){de=1;break}var i=se&&window.Promise,ce=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},de))}},fe=se&&!!(window.MSInputMethodContext&&document.documentMode),me=se&&/MSIE 10/.test(navigator.userAgent),he=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ue=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),be=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},ge=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ye=['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'],ve=ye.slice(3),we={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ee=function(){function t(o,r){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};he(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ce(this.update.bind(this)),this.options=ge({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(ge({},t.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=ge({},t.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ge({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return ue(t,[{key:'update',value:function(){return D.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return M.call(this)}},{key:'disableEventListeners',value:function(){return _.call(this)}}]),t}();Ee.Utils=('undefined'==typeof window?global:window).PopperUtils,Ee.placements=ye,Ee.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:be({},a,n[a]),end:be({},a,n[a]+n[d]-p[d])};e.offsets.popper=ge({},p,l[r])}return e}},offset:{order:200,enabled:!0,fn:G,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var r=N('transform'),i=e.instance.popper.style,n=i.top,s=i.left,a=i[r];i.top='',i.left='',i[r]='';var d=E(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=s,i[r]=a,t.boundaries=d;var l=t.priority,c=e.offsets.popper,f={primary:function(e){var o=c[e];return c[e]<d[e]&&!t.escapeWithReference&&(o=oe(c[e],d[e])),be({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=c[o];return c[e]>d[e]&&!t.escapeWithReference&&(r=J(c[o],d[e]-('right'===e?c.width:c.height))),be({},o,r)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=ge({},c,f[t](e))}),e.offsets.popper=c,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,r=t.reference,i=e.placement.split('-')[0],n=te,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var r;if(!Y(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.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],p=e.offsets,s=p.popper,a=p.reference,d=-1!==['left','right'].indexOf(n),l=d?'height':'width',c=d?'Top':'Left',f=c.toLowerCase(),m=d?'left':'top',h=d?'bottom':'right',b=C(i)[l];a[h]-b<s[f]&&(e.offsets.popper[f]-=s[f]-(a[h]-b)),a[f]+b>s[h]&&(e.offsets.popper[f]+=a[f]+b-s[h]),e.offsets.popper=u(e.offsets.popper);var g=a[f]+a[l]/2-b/2,y=t(e.instance.popper),v=parseFloat(y['margin'+c],10),w=parseFloat(y['border'+c+'Width'],10),E=g-e.offsets.popper[f]-v-w;return E=oe(J(s[l]-b,E),0),e.arrowElement=i,e.offsets.arrow=(r={},be(r,f,ee(E)),be(r,m,''),r),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(I(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=T(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case we.FLIP:p=[r,i];break;case we.CLOCKWISE:p=X(r);break;case we.COUNTERCLOCKWISE:p=X(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=T(r);var d=e.offsets.popper,l=e.offsets.reference,c=te,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=q(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=ge({},e.offsets.popper,A(e.instance.popper,e.offsets.reference,e.placement)),e=S(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],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=u(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=k(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,r=t.y,i=e.offsets.popper,n=k(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==n&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s=void 0===n?t.gpuAcceleration:n,a=p(e.instance.popper),d=b(a),l={position:i.position},c={left:te(i.left),top:ee(i.top),bottom:ee(i.bottom),right:te(i.right)},f='bottom'===o?'top':'bottom',m='right'===r?'left':'right',h=N('transform'),u=void 0,g=void 0;if(g='bottom'==f?'HTML'===a.nodeName?-a.clientHeight+c.bottom:-d.height+c.bottom:c.top,u='right'==m?'HTML'===a.nodeName?-a.clientWidth+c.right:-d.width+c.right:c.left,s&&h)l[h]='translate3d('+u+'px, '+g+'px, 0)',l[f]=0,l[m]=0,l.willChange='transform';else{var y='bottom'==f?-1:1,v='right'==m?-1:1;l[f]=g*y,l[m]=u*v,l.willChange=f+', '+m}var w={"x-placement":e.placement};return e.attributes=ge({},w,e.attributes),e.styles=ge({},l,e.styles),e.arrowStyles=ge({},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),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,r,i){var n=O(i,t,e,o.positionFixed),p=L(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),z(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var xe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Le={x:!0},Oe='undefined'!=typeof window,Ce=function(e){return[].slice.call(e)},Te=function(e,t){t.content instanceof Element?(Ie(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Ae=function(e){return!(e instanceof Element)||je.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},ke=function(e,t){e.filter(Boolean).forEach(function(e){e.style[nt('transitionDuration')]=t+'ms'})},Pe=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(xe.TOOLTIP),backdrop:t(xe.BACKDROP),content:t(xe.CONTENT),arrow:t(xe.ARROW)||t(xe.ROUND_ARROW)}},Se=function(e){return'[object Object]'==={}.toString.call(e)},De=function(){return document.createElement('div')},Ie=function(e,t){e[Le.x&&'innerHTML']=t instanceof Element?t[Le.x&&'innerHTML']:t},Ne=function(e){if(e instanceof Element||Se(e))return[e];if(e instanceof NodeList)return Ce(e);if(Array.isArray(e))return e;try{return Ce(document.querySelectorAll(e))}catch(t){return[]}},He=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Re=function(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e},We=function(e){var t=De();return'round'===e?(t.className='tippy-roundarrow',Ie(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},Be=function(){var e=De();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},Me=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},Ue=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},_e=function(e){e.setAttribute('data-inertia','')},Fe=function(e){e.removeAttribute('data-inertia')},ze=function(e,t){var o=De();o.className='tippy-popper',o.role='tooltip',o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=De();r.className='tippy-tooltip',r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=De();return i.className='tippy-content',t.interactive&&Me(o,r),t.arrow&&r.appendChild(We(t.arrowType)),t.animateFill&&(r.appendChild(Be()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),Te(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!Ge(t.relatedTarget,function(e){return e===o})&&o._tippy.hide()}),o},Ve=function(e,t,o){var r=Pe(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow;ke([i],0),e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),Te(n,o),!t.animateFill&&o.animateFill?(i.appendChild(Be()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(We(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(We(o.arrowType),s),!t.interactive&&o.interactive?Me(e,i):t.interactive&&!o.interactive&&Ue(e,i),!t.inertia&&o.inertia?_e(i):t.inertia&&!o.inertia&&Fe(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')}))},Ye=function(e){Ce(document.querySelectorAll(xe.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})},qe=function(e){return Object.keys(ne).reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='true'===r||'false'!==r&&(He(r)?+r:'target'!==o&&'['===r[0]?JSON.parse(r):r),t):t},{})},Xe=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o];return e},je=function(){if(Oe){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),Ke=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(je.call(t,e))return t;t=t.parentElement}}).call(e,t)},Ge=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},Qe=function(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)},Ze=function(e){void e.offsetHeight},$e=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},Je=function(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]},et=function(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''},tt=function(e,t){var o=e.match(t);return o?o[1].split(',').map(parseFloat):[]},ot={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},rt=function(e,t){var o=lt(Ke(e,xe.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:et(t,'translate'),numbers:tt(t,ot.translate)},scale:{axis:et(t,'scale'),numbers:tt(t,ot.scale)}},p=t.replace(ot.translate,'translate'+$e(n.translate.axis,r)+'('+Je('translate',n.translate.numbers,r,i)+')').replace(ot.scale,'scale'+$e(n.scale.axis,r)+'('+Je('scale',n.scale.numbers,r,i)+')');e.style[nt('transform')]=p},it=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},nt=function(e){for(var t=['','webkit'],o=e[0].toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null},pt=function(e,t,o){var r=e.popper,i=e.options,n=i.onCreate,p=i.onUpdate;i.onCreate=i.onUpdate=function(){Ze(r),t&&t(),p(),i.onCreate=n,i.onUpdate=p},o||e.scheduleUpdate()},st=function(e){setTimeout(e,1)},at=function(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c},dt=function(e,t){return-(e-t)+'px'},lt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},ct=function(e,t){var o=ie({},t,t.performance?{}:qe(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o},ft=Oe&&'transition'in document.body.style?'transitionend':'webkitTransitionEnd',mt=function(e,t,o){e[t+'EventListener'](ft,o)},ht=Oe?navigator:{},ut=Oe?window:{},bt=/MSIE |Trident\//.test(ht.userAgent),gt=/iPhone|iPad|iPod/.test(ht.platform)&&!ut.MSStream,yt='ontouchstart'in ut,vt=!1,wt=function(){vt||(vt=!0,gt&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',xt))},Et=0,xt=function e(){var t=performance.now();20>t-Et&&(vt=!1,document.removeEventListener('mousemove',e),!gt&&document.body.classList.remove('tippy-iOS')),Et=t},Lt=function(e){var t=e.target;if(!(t instanceof Element))return Ye();var o=Ke(t,xe.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=Ge(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(vt||n)return Ye(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}Ye()}},Ot=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},Ct=function(){Ce(document.querySelectorAll(xe.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Tt=1,At=!1;$.version=re,$.defaults=ne,$.setDefaults=pe,$.one=function(e,t){return $(e,t,!0).instances[0]},$.disableAnimations=function(){pe({duration:0,updateDuration:0,animateFill:!1})};return Oe&&function(){Ce(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&$(e,{content:t})})}(),$}); | ||
(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 e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function r(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),n=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(n+s+p)?e:r(o(e))}function n(e){return 11===e?fe:10===e?me:fe||me}function p(e){if(!e)return document.documentElement;for(var o=n(10)?document.body:null,r=e.offsetParent;r===o&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(r.nodeName)&&'static'===t(r,'position')?p(r):r:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function a(e){return null===e.parentNode?e:a(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var l=n.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return s(l)?l:p(l);var c=a(e);return c.host?d(c.host,t):d(e,a(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function c(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=l(t,'top'),i=l(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function f(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function m(e,t,o,r){return oe(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],n(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,o=e.documentElement,r=n(10)&&getComputedStyle(o);return{height:m('Height',t,o,r),width:m('Width',t,o,r)}}function u(e){return ge({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var o={};try{if(n(10)){o=e.getBoundingClientRect();var r=l(e,'top'),i=l(e,'left');o.top+=r,o.left+=i,o.bottom+=r,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?h(e.ownerDocument):{},a=s.width||e.clientWidth||p.right-p.left,d=s.height||e.clientHeight||p.bottom-p.top,c=e.offsetWidth-a,m=e.offsetHeight-d;if(c||m){var b=t(e);c-=f(b,'x'),m-=f(b,'y'),p.width-=c,p.height-=m}return u(p)}function g(e,o){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],p=n(10),s='HTML'===o.nodeName,a=b(e),d=b(o),l=r(e),f=t(o),m=parseFloat(f.borderTopWidth,10),h=parseFloat(f.borderLeftWidth,10);i&&s&&(d.top=oe(d.top,0),d.left=oe(d.left,0));var g=u({top:a.top-d.top-m,left:a.left-d.left-h,width:a.width,height:a.height});if(g.marginTop=0,g.marginLeft=0,!p&&s){var y=parseFloat(f.marginTop,10),v=parseFloat(f.marginLeft,10);g.top-=m-y,g.bottom-=m-y,g.left-=h-v,g.right-=h-v,g.marginTop=y,g.marginLeft=v}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(g=c(g,o)),g}function y(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,r=g(e,o),i=oe(o.clientWidth,window.innerWidth||0),n=oe(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),a={top:p-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:n};return u(a)}function v(e){var r=e.nodeName;return'BODY'!==r&&'HTML'!==r&&('fixed'===t(e,'position')||v(o(e)))}function w(e){if(!e||!e.parentElement||n())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function E(e,t,i,n){var p=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],s={top:0,left:0},a=p?w(e):d(e,t);if('viewport'===n)s=y(a,p);else{var l;'scrollParent'===n?(l=r(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===n?l=e.ownerDocument.documentElement:l=n;var c=g(l,a,p);if('HTML'===l.nodeName&&!v(a)){var f=h(e.ownerDocument),m=f.height,u=f.width;s.top+=c.top-c.marginTop,s.bottom=m+c.top,s.left+=c.left-c.marginLeft,s.right=u+c.left}else s=c}i=i||0;var b='number'==typeof i;return s.left+=b?i:i.left||0,s.top+=b?i:i.top||0,s.right-=b?i:i.right||0,s.bottom-=b?i:i.bottom||0,s}function x(e){var t=e.width,o=e.height;return t*o}function L(e,t,o,r,i){var n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=E(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return ge({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function O(e,t,o){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=r?w(t):d(t,o);return g(o,i,r)}function C(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+r,height:e.offsetHeight+o};return i}function T(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 A(e,t,o){o=o.split('-')[0];var r=C(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[T(s)],i}function k(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=k(e,function(e){return e[t]===o});return e.indexOf(r)}function S(t,o,r){var i=void 0===r?t:t.slice(0,P(t,'name',r));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var r=t['function']||t.fn;t.enabled&&e(r)&&(o.offsets.popper=u(o.offsets.popper),o.offsets.reference=u(o.offsets.reference),o=r(o,t))}),o}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=A(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=S(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function I(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function N(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function H(){return this.state.isDestroyed=!0,I(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[N('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,o,i){var n='BODY'===e.nodeName,p=n?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),n||W(r(p.parentNode),t,o,i),i.push(p)}function B(e,t,o,i){o.updateBound=i,R(e).addEventListener('resize',o.updateBound,{passive:!0});var n=r(e);return W(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function M(){this.state.eventsEnabled||(this.state=B(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return R(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 _(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function F(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&F(t[o])&&(r='px'),e.style[o]=t[o]+r})}function V(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function Y(e,t,o){var r=k(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function q(e){return'end'===e?'start':'start'===e?'end':e}function X(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=ve.indexOf(e),r=ve.slice(o+1).concat(ve.slice(0,o));return t?r.reverse():r}function j(e,t,o,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),n=+i[1],p=i[2];if(!n)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=r;}var a=u(s);return a[t]/100*n}if('vh'===p||'vw'===p){var d;return d='vh'===p?oe(document.documentElement.clientHeight,window.innerHeight||0):oe(document.documentElement.clientWidth,window.innerWidth||0),d/100*n}return n}function K(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(k(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return j(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){F(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function G(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=F(+o)?[+o,0]:K(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function Q(){document.addEventListener('click',xt),document.addEventListener('touchstart',vt),window.addEventListener('blur',Lt),window.addEventListener('resize',Ot),!gt&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',vt)}function Z(e,t){function o(e){var t=D=e,o=t.clientX,r=t.clientY;F.popperInstance&&(F.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:r,left:o,right:o,bottom:r}},clientWidth:0,clientHeight:0},F.popperInstance.scheduleUpdate())}function r(e){var t=Ke(e.target,F.props.target);if(t&&!t._tippy){var o=F.props.content;o&&(Z(t,ie({},F.props,{content:o,target:'',showOnInit:!0})),i(e))}}function i(e){if(x(),!F.state.isVisible){if(F.props.target)return void r(e);if(H=!0,F.props.wait)return void F.props.wait(O,e);h()&&(_.arrow&&(_.arrow.style.margin='0'),document.addEventListener('mousemove',o));var t=Re(F.props.delay,0,ne.delay);t?I=setTimeout(function(){O()},t):O()}}function n(){if(x(),!!F.state.isVisible){H=!1;var e=Re(F.props.delay,1,ne.delay);e?N=setTimeout(function(){F.state.isVisible&&C()},e):C()}}function p(e){if(F.state.isEnabled){var t=gt&&yt&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);t&&F.props.touchHold||(S=e,'click'===e.type&&!1!==F.props.hideOnClick&&F.state.isVisible?n():i(e))}}function s(e){var t=Ge(e.target,function(e){return e._tippy}),o=Ke(e.target,xe.POPPER)===F.popper,r=t===F.reference;o||r||at(lt(F.popper),F.popper.getBoundingClientRect(),e,F.props)&&(document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',s),n())}function a(e){return-1<['mouseleave','mouseout'].indexOf(e.type)&>&&yt&&F.props.touchHold?void 0:F.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',s)):void n()}function d(e){if(!(e.target!==F.reference||yt)){if(F.props.interactive){if(!e.relatedTarget)return;if(Ke(e.relatedTarget,xe.POPPER))return}n()}}function l(e){Ke(e.target,F.props.target)&&i(e)}function c(e){Ke(e.target,F.props.target)&&n()}function f(){var e=F.popperChildren.tooltip,t=F.props.popperOptions,o=xe['round'===F.props.arrowType?'ROUND_ARROW':'ARROW'],r=e.querySelector(o),p=ie({placement:F.props.placement},t||{},{modifiers:ie({},t?t.modifiers:{},{arrow:ie({element:o},t&&t.modifiers?t.modifiers.arrow:{}),flip:ie({enabled:F.props.flip,padding:F.props.distance+5,behavior:F.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:ie({offset:F.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[lt(F.popper)]=dt(F.props.distance,ne.distance),r&&F.props.arrowTransform&&rt(r,F.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[lt(F.popper)]=dt(F.props.distance,ne.distance),r&&F.props.arrowTransform&&rt(r,F.props.arrowTransform)}}),s=new MutationObserver(function(){F.popperInstance.update()});return s.observe(F.popper,{childList:!0,subtree:!0}),k&&k.disconnect(),k=s,P||(F.popper.addEventListener('mouseenter',i),F.popper.addEventListener('mouseleave',n),P=!0),new Ee(F.reference,F.popper,p)}function m(e){F.popperInstance?(F.popperInstance.scheduleUpdate(),F.props.livePlacement&&!h()&&F.popperInstance.enableEventListeners()):(F.popperInstance=f(),!F.props.livePlacement&&F.popperInstance.disableEventListeners()),F.popperInstance.reference=F.reference,h()&&F.popperChildren.arrow&&(F.popperChildren.arrow.style.margin=''),pt(F.popperInstance,e,!0),F.props.appendTo.contains(F.popper)||F.props.appendTo.appendChild(F.popper)}function h(){return F.props.followCursor&&!yt&&'focus'!==S.type}function u(){(function e(){ke([F.popper],F.props.updateDuration),F.popperInstance&&F.popperInstance.scheduleUpdate(),F.state.isVisible?requestAnimationFrame(function(){st(e)}):ke([F.popper],0)})()}function b(e,t){y(!1,e,function(){!F.state.isVisible&&F.props.appendTo.contains(F.popper)&&t()})}function g(e,t){y(!0,e,t)}function y(t,e,o){if(0===e)return o();var r=F.popperChildren.tooltip,i=function i(n){n.target===r&&getComputedStyle(r).opacity===(t?'1':'0')&&(ft(r,'remove',i),o())};ft(r,'remove',R),ft(r,'add',i),R=i}function v(e,t,o){F.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function w(){W=F.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(A.target?'mouseenter'===t?(v('mouseover',l,e),v('mouseout',c,e)):'focus'===t?(v('focusin',l,e),v('focusout',c,e)):'click'===t?v(t,l,e):void 0:(v(t,p,e),'mouseenter'===t?v('mouseleave',a,e):'focus'===t?v(ut?'focusout':'blur',d,e):void 0),e)},[])}function E(){W.forEach(function(e){var t=e.eventType,o=e.handler;F.reference.removeEventListener(t,o)})}function x(){clearTimeout(I),clearTimeout(N)}function L(e){var t=F.props,o=ct(F.reference,ie({},F.props,e,{performance:!0}));o.performance=e.performance||t.performance,F.props=o,e.trigger&&(E(),w()),Ve(F.popper,t,o),F.popperChildren=Pe(F.popper),F.popperInstance&&(F.popperInstance=f())}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Re(F.props.duration,0,ne.duration[0]);return F.state.isDestroyed||!F.state.isEnabled||yt&&!F.props.touch?void 0:F.reference.isVirtual||document.documentElement.contains(F.reference)?F.reference.hasAttribute('disabled')?void 0:B?void(B=!1):void(F.props.onShow(F),F.popper.style.visibility='visible',F.state.isVisible=!0,ke([F.popper,F.popperChildren.tooltip,F.popperChildren.backdrop],0),m(function(){if(F.state.isVisible){if(h()||F.popperInstance.scheduleUpdate(),h()){F.popperInstance.disableEventListeners();var t=Re(F.props.delay,0,ne.delay);S&&o(t&&D?D:S)}ke([F.popperChildren.tooltip,F.popperChildren.backdrop,F.popperChildren.backdrop?F.popperChildren.content:null],e),F.props.interactive&&F.reference.classList.add('tippy-active'),F.props.sticky&&u(),it([F.popperChildren.tooltip,F.popperChildren.backdrop],'visible'),g(e,function(){0===F.props.updateDuration&&F.popperChildren.tooltip.classList.add('tippy-notransition'),F.props.interactive&&'focus'===S.type&&Qe(F.popper),F.reference.setAttribute('aria-describedby',F.popper.id),F.props.onShown(F)})}})):T()}function C(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Re(F.props.duration,1,ne.duration[1]);F.state.isDestroyed||!F.state.isEnabled||(F.props.onHide(F),0===F.props.updateDuration&&F.popperChildren.tooltip.classList.remove('tippy-notransition'),F.props.interactive&&F.reference.classList.remove('tippy-active'),F.popper.style.visibility='hidden',F.state.isVisible=!1,ke([F.popperChildren.tooltip,F.popperChildren.backdrop,F.popperChildren.backdrop?F.popperChildren.content:null],e),it([F.popperChildren.tooltip,F.popperChildren.backdrop],'hidden'),F.props.interactive&&!B&&'focus'===S.type&&(B=!0,Qe(F.reference)),b(e,function(){H||(document.removeEventListener('mousemove',o),D=null),F.reference.removeAttribute('aria-describedby'),F.popperInstance.disableEventListeners(),F.props.appendTo.removeChild(F.popper),F.props.onHidden(F)}))}function T(e){F.state.isDestroyed||(F.state.isVisible&&C(0),E(),delete F.reference._tippy,F.props.target&&e&&Ce(F.reference.querySelectorAll(F.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),F.popperInstance&&F.popperInstance.destroy(),k&&k.disconnect(),F.state.isDestroyed=!0)}var A=ct(e,t);if(!A.multiple&&e._tippy)return null;var k=null,P=!1,S={},D={},I=0,N=0,H=!1,R=function(){},W=[],B=!1,M=Ct++,U=ze(M,A),_=Pe(U),F={id:M,reference:e,popper:U,popperChildren:_,popperInstance:null,props:A,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:x,set:L,setContent:function(e){L({content:e})},show:O,hide:C,enable:function(){F.state.isEnabled=!0},disable:function(){F.state.isEnabled=!1},destroy:T};return w(),A.lazy||(F.popperInstance=f(),F.popperInstance.disableEventListeners()),A.showOnInit&&setTimeout(i,20),!A.a11y||A.target||Ae(e)||e.setAttribute('tabindex','0'),e._tippy=F,U._tippy=F,F}function $(e,t,o){for(var r in Tt||(Q(),Tt=!0),t||{})if(!(r in ne))throw Error('[tippy]: '+r+' is not a valid option');var i=ie({},ne,t);Se(e)&&Xe(e);var n=Ne(e),p=n[0],s=(o&&p?[p]:n).reduce(function(e,t){var o=t?Z(t,i):null;return o?e.concat(o):e},[]);return{targets:e,props:i,instances:s,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var J=Math.min,ee=Math.round,te=Math.floor,oe=Math.max,re='3.0.0-alpha.2',ie=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ne={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},pe=function(e){ne=ie({},ne,e)},se='undefined'!=typeof window&&'undefined'!=typeof document,ae=['Edge','Trident','Firefox'],de=0,le=0;le<ae.length;le+=1)if(se&&0<=navigator.userAgent.indexOf(ae[le])){de=1;break}var i=se&&window.Promise,ce=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},de))}},fe=se&&!!(window.MSInputMethodContext&&document.documentMode),me=se&&/MSIE 10/.test(navigator.userAgent),he=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ue=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),be=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},ge=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ye=['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'],ve=ye.slice(3),we={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ee=function(){function t(o,r){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};he(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ce(this.update.bind(this)),this.options=ge({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(ge({},t.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=ge({},t.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ge({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return ue(t,[{key:'update',value:function(){return D.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return M.call(this)}},{key:'disableEventListeners',value:function(){return _.call(this)}}]),t}();Ee.Utils=('undefined'==typeof window?global:window).PopperUtils,Ee.placements=ye,Ee.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:be({},a,n[a]),end:be({},a,n[a]+n[d]-p[d])};e.offsets.popper=ge({},p,l[r])}return e}},offset:{order:200,enabled:!0,fn:G,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var r=N('transform'),i=e.instance.popper.style,n=i.top,s=i.left,a=i[r];i.top='',i.left='',i[r]='';var d=E(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=s,i[r]=a,t.boundaries=d;var l=t.priority,c=e.offsets.popper,f={primary:function(e){var o=c[e];return c[e]<d[e]&&!t.escapeWithReference&&(o=oe(c[e],d[e])),be({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=c[o];return c[e]>d[e]&&!t.escapeWithReference&&(r=J(c[o],d[e]-('right'===e?c.width:c.height))),be({},o,r)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=ge({},c,f[t](e))}),e.offsets.popper=c,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,r=t.reference,i=e.placement.split('-')[0],n=te,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var r;if(!Y(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.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],p=e.offsets,s=p.popper,a=p.reference,d=-1!==['left','right'].indexOf(n),l=d?'height':'width',c=d?'Top':'Left',f=c.toLowerCase(),m=d?'left':'top',h=d?'bottom':'right',b=C(i)[l];a[h]-b<s[f]&&(e.offsets.popper[f]-=s[f]-(a[h]-b)),a[f]+b>s[h]&&(e.offsets.popper[f]+=a[f]+b-s[h]),e.offsets.popper=u(e.offsets.popper);var g=a[f]+a[l]/2-b/2,y=t(e.instance.popper),v=parseFloat(y['margin'+c],10),w=parseFloat(y['border'+c+'Width'],10),E=g-e.offsets.popper[f]-v-w;return E=oe(J(s[l]-b,E),0),e.arrowElement=i,e.offsets.arrow=(r={},be(r,f,ee(E)),be(r,m,''),r),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(I(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=T(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case we.FLIP:p=[r,i];break;case we.CLOCKWISE:p=X(r);break;case we.COUNTERCLOCKWISE:p=X(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=T(r);var d=e.offsets.popper,l=e.offsets.reference,c=te,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=q(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=ge({},e.offsets.popper,A(e.instance.popper,e.offsets.reference,e.placement)),e=S(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],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=u(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=k(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,r=t.y,i=e.offsets.popper,n=k(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==n&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s=void 0===n?t.gpuAcceleration:n,a=p(e.instance.popper),d=b(a),l={position:i.position},c={left:te(i.left),top:ee(i.top),bottom:ee(i.bottom),right:te(i.right)},f='bottom'===o?'top':'bottom',m='right'===r?'left':'right',h=N('transform'),u=void 0,g=void 0;if(g='bottom'==f?'HTML'===a.nodeName?-a.clientHeight+c.bottom:-d.height+c.bottom:c.top,u='right'==m?'HTML'===a.nodeName?-a.clientWidth+c.right:-d.width+c.right:c.left,s&&h)l[h]='translate3d('+u+'px, '+g+'px, 0)',l[f]=0,l[m]=0,l.willChange='transform';else{var y='bottom'==f?-1:1,v='right'==m?-1:1;l[f]=g*y,l[m]=u*v,l.willChange=f+', '+m}var w={"x-placement":e.placement};return e.attributes=ge({},w,e.attributes),e.styles=ge({},l,e.styles),e.arrowStyles=ge({},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),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,r,i){var n=O(i,t,e,o.positionFixed),p=L(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),z(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var xe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Le={x:!0},Oe='undefined'!=typeof window,Ce=function(e){return[].slice.call(e)},Te=function(e,t){t.content instanceof Element?(Ie(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Ae=function(e){return!(e instanceof Element)||je.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},ke=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},Pe=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(xe.TOOLTIP),backdrop:t(xe.BACKDROP),content:t(xe.CONTENT),arrow:t(xe.ARROW)||t(xe.ROUND_ARROW)}},Se=function(e){return'[object Object]'==={}.toString.call(e)},De=function(){return document.createElement('div')},Ie=function(e,t){e[Le.x&&'innerHTML']=t instanceof Element?t[Le.x&&'innerHTML']:t},Ne=function(e){if(e instanceof Element||Se(e))return[e];if(e instanceof NodeList)return Ce(e);if(Array.isArray(e))return e;try{return Ce(document.querySelectorAll(e))}catch(t){return[]}},He=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Re=function(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e},We=function(e){var t=De();return'round'===e?(t.className='tippy-roundarrow',Ie(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},Be=function(){var e=De();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},Me=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},Ue=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},_e=function(e){e.setAttribute('data-inertia','')},Fe=function(e){e.removeAttribute('data-inertia')},ze=function(e,t){var o=De();o.className='tippy-popper',o.role='tooltip',o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=De();r.className='tippy-tooltip',r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=De();return i.className='tippy-content',t.interactive&&Me(o,r),t.arrow&&r.appendChild(We(t.arrowType)),t.animateFill&&(r.appendChild(Be()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),Te(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!Ge(t.relatedTarget,function(e){return e===o})&&o._tippy.hide()}),o},Ve=function(e,t,o){var r=Pe(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow,a=parseFloat(i.style.transitionDuration);ke([i],0),e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),Te(n,o),!t.animateFill&&o.animateFill?(i.appendChild(Be()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(We(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(We(o.arrowType),s),!t.interactive&&o.interactive?Me(e,i):t.interactive&&!o.interactive&&Ue(e,i),!t.inertia&&o.inertia?_e(i):t.inertia&&!o.inertia&&Fe(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')})),st(function(){ke([i],a)})},Ye=function(e){Ce(document.querySelectorAll(xe.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})},qe=function(e){return Object.keys(ne).reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='true'===r||'false'!==r&&(He(r)?+r:'target'!==o&&'['===r[0]?JSON.parse(r):r),t):t},{})},Xe=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o];return e},je=function(){if(Oe){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),Ke=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(je.call(t,e))return t;t=t.parentElement}}).call(e,t)},Ge=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},Qe=function(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)},Ze=function(e){void e.offsetHeight},$e=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},Je=function(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]},et=function(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''},tt=function(e,t){var o=e.match(t);return o?o[1].split(',').map(parseFloat):[]},ot={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},rt=function(e,t){var o=lt(Ke(e,xe.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:et(t,'translate'),numbers:tt(t,ot.translate)},scale:{axis:et(t,'scale'),numbers:tt(t,ot.scale)}},p=t.replace(ot.translate,'translate'+$e(n.translate.axis,r)+'('+Je('translate',n.translate.numbers,r,i)+')').replace(ot.scale,'scale'+$e(n.scale.axis,r)+'('+Je('scale',n.scale.numbers,r,i)+')');e.style[nt('transform')]=p},it=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},nt=function(e){for(var t=['','webkit'],o=e[0].toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null},pt=function(e,t,o){var r=e.popper,i=e.options,n=i.onCreate,p=i.onUpdate;i.onCreate=i.onUpdate=function(){Ze(r),t&&t(),p(),i.onCreate=n,i.onUpdate=p},o||e.scheduleUpdate()},st=function(e){setTimeout(e,1)},at=function(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c},dt=function(e,t){return-(e-t)+'px'},lt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},ct=function(e,t){var o=ie({},t,t.performance?{}:qe(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o},ft=function(e,t,o){e[t+'EventListener']('transitionend',o)},mt=Oe?navigator:{},ht=Oe?window:{},ut=/MSIE |Trident\//.test(mt.userAgent),bt=/iPhone|iPad|iPod/.test(mt.platform)&&!ht.MSStream,gt='ontouchstart'in ht,yt=!1,vt=function(){yt||(yt=!0,bt&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',Et))},wt=0,Et=function e(){var t=performance.now();20>t-wt&&(yt=!1,document.removeEventListener('mousemove',e),!bt&&document.body.classList.remove('tippy-iOS')),wt=t},xt=function(e){var t=e.target;if(!(t instanceof Element))return Ye();var o=Ke(t,xe.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=Ge(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(yt||n)return Ye(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}Ye()}},Lt=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},Ot=function(){Ce(document.querySelectorAll(xe.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Ct=1,Tt=!1;$.version=re,$.defaults=ne,$.one=function(e,t){return $(e,t,!0).instances[0]},$.setDefaults=function(e){pe(e),$.defaults=ne},$.disableAnimations=function(){$.setDefaults({duration:0,updateDuration:0,animateFill:!1})};return Oe&&setTimeout(function(){Ce(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&$(e,{content:t})})}),$}); |
/*! | ||
* Tippy.js v3.0.0-alpha.1 | ||
* Tippy.js v3.0.0-alpha.2 | ||
* (c) 2017-2018 atomiks | ||
@@ -14,3 +14,3 @@ * MIT | ||
var version = "3.0.0-alpha.1"; | ||
var version = "3.0.0-alpha.2"; | ||
@@ -141,3 +141,3 @@ var _extends = Object.assign || function (target) { | ||
els.filter(Boolean).forEach(function (el) { | ||
el.style[prefix('transitionDuration')] = value + 'ms'; | ||
el.style.transitionDuration = value + 'ms'; | ||
}); | ||
@@ -343,2 +343,3 @@ }; | ||
var currTransitionDuration = parseFloat(tooltip.style.transitionDuration); | ||
applyTransitionDuration([tooltip], 0); | ||
@@ -395,2 +396,6 @@ | ||
} | ||
defer(function () { | ||
applyTransitionDuration([tooltip], currTransitionDuration); | ||
}); | ||
}; | ||
@@ -744,5 +749,4 @@ | ||
var transitionEvent = isBrowser && 'transition' in document.body.style ? 'transitionend' : 'webkitTransitionEnd'; | ||
var toggleListener = function toggleListener(tooltip, action, listener) { | ||
tooltip[action + 'EventListener'](transitionEvent, listener); | ||
var toggleTransitionEndListener = function toggleTransitionEndListener(tooltip, action, listener) { | ||
tooltip[action + 'EventListener']('transitionend', listener); | ||
}; | ||
@@ -869,2 +873,3 @@ | ||
var popperMutationObserver = null; | ||
var popperHasEventListeners = false; | ||
var lastTriggerEvent = {}; | ||
@@ -907,2 +912,3 @@ var lastMouseMoveEvent = {}; | ||
set: set$$1, | ||
setContent: setContent$$1, | ||
show: show, | ||
@@ -915,3 +921,3 @@ hide: hide, | ||
addEventListeners(); | ||
addEventListenersToReference(); | ||
@@ -1170,3 +1176,3 @@ if (!props.lazy) { | ||
var tooltip = tip.popperChildren.tooltip; | ||
var props = tip.props.props; | ||
var popperOptions = tip.props.popperOptions; | ||
@@ -1179,7 +1185,7 @@ | ||
placement: tip.props.placement | ||
}, props || {}, { | ||
modifiers: _extends({}, props ? props.modifiers : {}, { | ||
}, popperOptions || {}, { | ||
modifiers: _extends({}, popperOptions ? popperOptions.modifiers : {}, { | ||
arrow: _extends({ | ||
element: arrowSelector | ||
}, props && props.modifiers ? props.modifiers.arrow : {}), | ||
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.arrow : {}), | ||
flip: _extends({ | ||
@@ -1189,6 +1195,6 @@ enabled: tip.props.flip, | ||
, behavior: tip.props.flipBehavior | ||
}, props && props.modifiers ? props.modifiers.flip : {}), | ||
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.flip : {}), | ||
offset: _extends({ | ||
offset: tip.props.offset | ||
}, props && props.modifiers ? props.modifiers.offset : {}) | ||
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.offset : {}) | ||
}), | ||
@@ -1230,2 +1236,9 @@ onCreate: function onCreate() { | ||
// fixes https://github.com/atomiks/tippyjs/issues/193 | ||
if (!popperHasEventListeners) { | ||
tip.popper.addEventListener('mouseenter', prepareShow); | ||
tip.popper.addEventListener('mouseleave', prepareHide); | ||
popperHasEventListeners = true; | ||
} | ||
return new Popper(tip.reference, tip.popper, config); | ||
@@ -1280,11 +1293,5 @@ } | ||
function makeSticky() { | ||
var applyTransitionDuration$$1 = function applyTransitionDuration$$1() { | ||
tip.popper.style[prefix('transitionDuration')] = tip.props.updateDuration + 'ms'; | ||
}; | ||
var updatePosition = function updatePosition() { | ||
applyTransitionDuration([tip.popper], tip.props.updateDuration); | ||
var removeTransitionDuration = function removeTransitionDuration() { | ||
tip.popper.style[prefix('transitionDuration')] = ''; | ||
}; | ||
var updatePosition = function updatePosition() { | ||
if (tip.popperInstance) { | ||
@@ -1294,8 +1301,8 @@ tip.popperInstance.scheduleUpdate(); | ||
applyTransitionDuration$$1(); | ||
if (tip.state.isVisible) { | ||
defer(updatePosition); | ||
requestAnimationFrame(function () { | ||
defer(updatePosition); | ||
}); | ||
} else { | ||
removeTransitionDuration(); | ||
applyTransitionDuration([tip.popper], 0); | ||
} | ||
@@ -1339,3 +1346,3 @@ }; | ||
if (e.target === tooltip && getComputedStyle(tooltip).opacity === (isInDirection ? '1' : '0')) { | ||
toggleListener(tooltip, 'remove', listener); | ||
toggleTransitionEndListener(tooltip, 'remove', listener); | ||
callback(); | ||
@@ -1345,4 +1352,4 @@ } | ||
toggleListener(tooltip, 'remove', transitionEndListener); | ||
toggleListener(tooltip, 'add', listener); | ||
toggleTransitionEndListener(tooltip, 'remove', transitionEndListener); | ||
toggleTransitionEndListener(tooltip, 'add', listener); | ||
@@ -1352,2 +1359,5 @@ transitionEndListener = listener; | ||
/** | ||
* Adds an event listener to the reference | ||
*/ | ||
function on(eventType, handler, acc) { | ||
@@ -1361,3 +1371,3 @@ tip.reference.addEventListener(eventType, handler); | ||
*/ | ||
function addEventListeners() { | ||
function addEventListenersToReference() { | ||
listeners = tip.props.trigger.trim().split(' ').reduce(function (acc, eventType) { | ||
@@ -1401,3 +1411,3 @@ if (eventType === 'manual') { | ||
*/ | ||
function removeEventListeners() { | ||
function removeEventListenersFromReference() { | ||
listeners.forEach(function (_ref) { | ||
@@ -1447,4 +1457,4 @@ var eventType = _ref.eventType, | ||
if (options.trigger) { | ||
removeEventListeners(); | ||
addEventListeners(); | ||
removeEventListenersFromReference(); | ||
addEventListenersToReference(); | ||
} | ||
@@ -1459,2 +1469,9 @@ | ||
/** | ||
* Shortcut for .set({ content: newContent }) | ||
*/ | ||
function setContent$$1(content) { | ||
set$$1({ content: content }); | ||
} | ||
/** | ||
* Shows the tooltip | ||
@@ -1525,3 +1542,3 @@ */ | ||
onTransitionedIn(duration, function () { | ||
if (!tip.props.updateDuration) { | ||
if (tip.props.updateDuration === 0) { | ||
tip.popperChildren.tooltip.classList.add('tippy-notransition'); | ||
@@ -1602,3 +1619,3 @@ } | ||
removeEventListeners(); | ||
removeEventListenersFromReference(); | ||
@@ -1680,8 +1697,11 @@ delete tip.reference._tippy; | ||
*/ | ||
tippy$1.setDefaults = setDefaults; | ||
tippy$1.one = function (targets, options) { | ||
return tippy$1(targets, options, true).instances[0]; | ||
}; | ||
tippy$1.setDefaults = function (partialDefaults) { | ||
setDefaults(partialDefaults); | ||
tippy$1.defaults = Defaults; | ||
}; | ||
tippy$1.disableAnimations = function () { | ||
setDefaults({ | ||
tippy$1.setDefaults({ | ||
duration: 0, | ||
@@ -1705,3 +1725,3 @@ updateDuration: 0, | ||
if (isBrowser) { | ||
autoInit(); | ||
setTimeout(autoInit); | ||
} | ||
@@ -1708,0 +1728,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(){document.addEventListener('click',ia),document.addEventListener('touchstart',fa),window.addEventListener('blur',ja),window.addEventListener('resize',ka),!da&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',fa)}function c(b,d){function g(a){var b=aa=a,c=b.clientX,d=b.clientY;oa.popperInstance&&(oa.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d,left:c,right:c,bottom:d}},clientWidth:0,clientHeight:0},oa.popperInstance.scheduleUpdate())}function i(a){var b=H(a.target,oa.props.target);if(b&&!b._tippy){var d=oa.props.content;d&&(c(b,e({},oa.props,{content:d,target:'',showOnInit:!0})),j(a))}}function j(a){if(L(),!oa.state.isVisible){if(oa.props.target)return void i(a);if(ga=!0,oa.props.wait)return void oa.props.wait(M,a);y()&&(na.arrow&&(na.arrow.style.margin='0'),document.addEventListener('mousemove',g));var b=u(oa.props.delay,0,f.delay);b?ca=setTimeout(function(){M()},b):M()}}function l(){if(L(),!!oa.state.isVisible){ga=!1;var a=u(oa.props.delay,1,f.delay);a?fa=setTimeout(function(){oa.state.isVisible&&N()},a):N()}}function p(a){if(oa.state.isEnabled){var b=da&&ea&&-1<['mouseenter','mouseover','focus'].indexOf(a.type);b&&oa.props.touchHold||(_=a,'click'===a.type&&!1!==oa.props.hideOnClick&&oa.state.isVisible?l():j(a))}}function q(a){var b=I(a.target,function(a){return a._tippy}),c=H(a.target,h.POPPER)===oa.popper,d=b===oa.reference;c||d||V(X(oa.popper),oa.popper.getBoundingClientRect(),a,oa.props)&&(document.body.removeEventListener('mouseleave',l),document.removeEventListener('mousemove',q),l())}function r(a){return-1<['mouseleave','mouseout'].indexOf(a.type)&&da&&ea&&oa.props.touchHold?void 0:oa.props.interactive?(document.body.addEventListener('mouseleave',l),void document.addEventListener('mousemove',q)):void l()}function s(a){if(!(a.target!==oa.reference||ea)){if(oa.props.interactive){if(!a.relatedTarget)return;if(H(a.relatedTarget,h.POPPER))return}l()}}function t(a){H(a.target,oa.props.target)&&j(a)}function v(a){H(a.target,oa.props.target)&&l()}function w(){var b=oa.popperChildren.tooltip,c=oa.props.props,d=h['round'===oa.props.arrowType?'ROUND_ARROW':'ARROW'],g=b.querySelector(d),i=e({placement:oa.props.placement},c||{},{modifiers:e({},c?c.modifiers:{},{arrow:e({element:d},c&&c.modifiers?c.modifiers.arrow:{}),flip:e({enabled:oa.props.flip,padding:oa.props.distance+5,behavior:oa.props.flipBehavior},c&&c.modifiers?c.modifiers.flip:{}),offset:e({offset:oa.props.offset},c&&c.modifiers?c.modifiers.offset:{})}),onCreate:function(){b.style[X(oa.popper)]=W(oa.props.distance,f.distance),g&&oa.props.arrowTransform&&Q(g,oa.props.arrowTransform)},onUpdate:function(){var a=b.style;a.top='',a.bottom='',a.left='',a.right='',a[X(oa.popper)]=W(oa.props.distance,f.distance),g&&oa.props.arrowTransform&&Q(g,oa.props.arrowTransform)}}),j=new MutationObserver(function(){oa.popperInstance.update()});return j.observe(oa.popper,{childList:!0,subtree:!0}),Z&&Z.disconnect(),Z=j,new a(oa.reference,oa.popper,i)}function x(a){oa.popperInstance?(oa.popperInstance.scheduleUpdate(),oa.props.livePlacement&&!y()&&oa.popperInstance.enableEventListeners()):(oa.popperInstance=w(),!oa.props.livePlacement&&oa.popperInstance.disableEventListeners()),oa.popperInstance.reference=oa.reference,y()&&oa.popperChildren.arrow&&(oa.popperChildren.arrow.style.margin=''),T(oa.popperInstance,a,!0),oa.props.appendTo.contains(oa.popper)||oa.props.appendTo.appendChild(oa.popper)}function y(){return oa.props.followCursor&&!ea&&'focus'!==_.type}function z(){var a=function(){oa.popper.style[S('transitionDuration')]=oa.props.updateDuration+'ms'},b=function(){oa.popper.style[S('transitionDuration')]=''};(function c(){oa.popperInstance&&oa.popperInstance.scheduleUpdate(),a(),oa.state.isVisible?U(c):b()})()}function A(a,b){E(!1,a,function(){!oa.state.isVisible&&oa.props.appendTo.contains(oa.popper)&&b()})}function D(a,b){E(!0,a,b)}function E(a,b,c){if(0===b)return c();var d=oa.popperChildren.tooltip,e=function b(f){f.target===d&&getComputedStyle(d).opacity===(a?'1':'0')&&($(d,'remove',b),c())};$(d,'remove',ha),$(d,'add',e),ha=e}function F(a,b,c){oa.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function G(){ia=oa.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(P.target?'mouseenter'===b?(F('mouseover',t,a),F('mouseout',v,a)):'focus'===b?(F('focusin',t,a),F('focusout',v,a)):'click'===b?F(b,t,a):void 0:(F(b,p,a),'mouseenter'===b?F('mouseleave',r,a):'focus'===b?F(ba?'focusout':'blur',s,a):void 0),a)},[])}function K(){ia.forEach(function(a){var b=a.eventType,c=a.handler;oa.reference.removeEventListener(b,c)})}function L(){clearTimeout(ca),clearTimeout(fa)}function M(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:u(oa.props.duration,0,f.duration[0]);return oa.state.isDestroyed||!oa.state.isEnabled||ea&&!oa.props.touch?void 0:oa.reference.isVirtual||document.documentElement.contains(oa.reference)?oa.reference.hasAttribute('disabled')?void 0:ja?void(ja=!1):void(oa.props.onShow(oa),oa.popper.style.visibility='visible',oa.state.isVisible=!0,n([oa.popper,oa.popperChildren.tooltip,oa.popperChildren.backdrop],0),x(function(){if(oa.state.isVisible){if(y()||oa.popperInstance.scheduleUpdate(),y()){oa.popperInstance.disableEventListeners();var b=u(oa.props.delay,0,f.delay);_&&g(b&&aa?aa:_)}n([oa.popperChildren.tooltip,oa.popperChildren.backdrop,oa.popperChildren.backdrop?oa.popperChildren.content:null],a),oa.props.interactive&&oa.reference.classList.add('tippy-active'),oa.props.sticky&&z(),R([oa.popperChildren.tooltip,oa.popperChildren.backdrop],'visible'),D(a,function(){oa.props.updateDuration||oa.popperChildren.tooltip.classList.add('tippy-notransition'),oa.props.interactive&&'focus'===_.type&&J(oa.popper),oa.reference.setAttribute('aria-describedby',oa.popper.id),oa.props.onShown(oa)})}})):O()}function N(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:u(oa.props.duration,1,f.duration[1]);oa.state.isDestroyed||!oa.state.isEnabled||(oa.props.onHide(oa),0===oa.props.updateDuration&&oa.popperChildren.tooltip.classList.remove('tippy-notransition'),oa.props.interactive&&oa.reference.classList.remove('tippy-active'),oa.popper.style.visibility='hidden',oa.state.isVisible=!1,n([oa.popperChildren.tooltip,oa.popperChildren.backdrop,oa.popperChildren.backdrop?oa.popperChildren.content:null],a),R([oa.popperChildren.tooltip,oa.popperChildren.backdrop],'hidden'),oa.props.interactive&&!ja&&'focus'===_.type&&(ja=!0,J(oa.reference)),A(a,function(){ga||(document.removeEventListener('mousemove',g),aa=null),oa.reference.removeAttribute('aria-describedby'),oa.popperInstance.disableEventListeners(),oa.props.appendTo.removeChild(oa.popper),oa.props.onHidden(oa)}))}function O(a){oa.state.isDestroyed||(oa.state.isVisible&&N(0),K(),delete oa.reference._tippy,oa.props.target&&a&&k(oa.reference.querySelectorAll(oa.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),oa.popperInstance&&oa.popperInstance.destroy(),Z&&Z.disconnect(),oa.state.isDestroyed=!0)}var P=Y(b,d);if(!P.multiple&&b._tippy)return null;var Z=null,_={},aa={},ca=0,fa=0,ga=!1,ha=function(){},ia=[],ja=!1,ka=la++,ma=B(ka,P),na=o(ma),oa={id:ka,reference:b,popper:ma,popperChildren:na,popperInstance:null,props:P,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:L,set:function(a){var b=oa.props,c=Y(oa.reference,e({},oa.props,a,{performance:!0}));c.performance=a.performance||b.performance,oa.props=c,a.trigger&&(K(),G()),C(oa.popper,b,c),oa.popperChildren=o(oa.popper),oa.popperInstance&&(oa.popperInstance=w())},show:M,hide:N,enable:function(){oa.state.isEnabled=!0},disable:function(){oa.state.isEnabled=!1},destroy:O};return G(),P.lazy||(oa.popperInstance=w(),oa.popperInstance.disableEventListeners()),P.showOnInit&&setTimeout(j,20),!P.a11y||P.target||m(b)||b.setAttribute('tabindex','0'),b._tippy=oa,ma._tippy=oa,oa}function d(a,d,g){for(var h in ma||(b(),ma=!0),d||{})if(!(h in f))throw Error('[tippy]: '+h+' is not a valid option');var i=e({},f,d);p(a)&&F(a);var j=s(a),k=j[0],l=(g&&k?[k]:j).reduce(function(a,b){var d=b?c(b,i):null;return d?a.concat(d):a},[]);return{targets:a,props:i,instances:l,destroyAll:function(){this.instances.forEach(function(a){a.destroy()}),this.instances=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var e=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},f={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},g=function(a){f=e({},f,a)},h={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},i={x:!0},j='undefined'!=typeof window,k=function(a){return[].slice.call(a)},l=function(a,b){b.content instanceof Element?(r(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content},m=function(a){return!(a instanceof Element)||G.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')},n=function(a,b){a.filter(Boolean).forEach(function(a){a.style[S('transitionDuration')]=b+'ms'})},o=function(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(h.TOOLTIP),backdrop:b(h.BACKDROP),content:b(h.CONTENT),arrow:b(h.ARROW)||b(h.ROUND_ARROW)}},p=function(a){return'[object Object]'==={}.toString.call(a)},q=function(){return document.createElement('div')},r=function(a,b){a[i.x&&'innerHTML']=b instanceof Element?b[i.x&&'innerHTML']:b},s=function(a){if(a instanceof Element||p(a))return[a];if(a instanceof NodeList)return k(a);if(Array.isArray(a))return a;try{return k(document.querySelectorAll(a))}catch(a){return[]}},t=function(a){return!isNaN(a)&&!isNaN(parseFloat(a))},u=function(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a},v=function(a){var b=q();return'round'===a?(b.className='tippy-roundarrow',r(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b},w=function(){var a=q();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a},x=function(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')},y=function(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')},z=function(a){a.setAttribute('data-inertia','')},A=function(a){a.removeAttribute('data-inertia')},B=function(a,b){var c=q();c.className='tippy-popper',c.role='tooltip',c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=q();d.className='tippy-tooltip',d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=q();return e.className='tippy-content',b.interactive&&x(c,d),b.arrow&&d.appendChild(v(b.arrowType)),b.animateFill&&(d.appendChild(w()),d.setAttribute('data-animatefill','')),b.inertia&&d.setAttribute('data-inertia',''),l(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!I(a.relatedTarget,function(a){return a===c})&&c._tippy.hide()}),c},C=function(a,b,c){var d=o(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow;n([e],0),a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),l(f,c),!b.animateFill&&c.animateFill?(e.appendChild(w()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(v(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(v(c.arrowType),h),!b.interactive&&c.interactive?x(a,e):b.interactive&&!c.interactive&&y(a,e),!b.inertia&&c.inertia?z(e):b.inertia&&!c.inertia&&A(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}))},D=function(a){k(document.querySelectorAll(h.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})},E=function(a){return Object.keys(f).reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='true'===d||'false'!==d&&(t(d)?+d:'target'!==c&&'['===d[0]?JSON.parse(d):d),b):b},{})},F=function(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c];return a},G=function(){if(j){var a=Element.prototype;return a.matches||a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector}}(),H=function(a,b){return(Element.prototype.closest||function(a){for(var b=this;b;){if(G.call(b,a))return b;b=b.parentElement}}).call(a,b)},I=function(a,b){for(;a;){if(b(a))return a;a=a.parentElement}},J=function(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)},K=function(a){void a.offsetHeight},L=function(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''},M=function(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]},N=function(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''},O=function(a,b){var c=a.match(b);return c?c[1].split(',').map(parseFloat):[]},P={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},Q=function(a,b){var c=X(H(a,h.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:N(b,'translate'),numbers:O(b,P.translate)},scale:{axis:N(b,'scale'),numbers:O(b,P.scale)}},g=b.replace(P.translate,'translate'+L(f.translate.axis,d)+'('+M('translate',f.translate.numbers,d,e)+')').replace(P.scale,'scale'+L(f.scale.axis,d)+'('+M('scale',f.scale.numbers,d,e)+')');a.style[S('transform')]=g},R=function(a,b){a.filter(Boolean).forEach(function(a){a.setAttribute('data-state',b)})},S=function(a){for(var b=['','webkit'],c=a[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},T=function(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){K(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()},U=function(a){setTimeout(a,1)},V=function(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l},W=function(a,b){return-(a-b)+'px'},X=function(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''},Y=function(a,b){var c=e({},b,b.performance?{}:E(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c},Z=j&&'transition'in document.body.style?'transitionend':'webkitTransitionEnd',$=function(a,b,c){a[b+'EventListener'](Z,c)},_=j?navigator:{},aa=j?window:{},ba=/MSIE |Trident\//.test(_.userAgent),ca=/iPhone|iPad|iPod/.test(_.platform)&&!aa.MSStream,da='ontouchstart'in aa,ea=!1,fa=function(){ea||(ea=!0,ca&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',ha))},ga=0,ha=function a(){var b=performance.now();20>b-ga&&(ea=!1,document.removeEventListener('mousemove',a),!ca&&document.body.classList.remove('tippy-iOS')),ga=b},ia=function(a){var b=a.target;if(!(b instanceof Element))return D();var c=H(b,h.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=I(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(ea||f)return D(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}D()}},ja=function(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()},ka=function(){k(document.querySelectorAll(h.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})},la=1,ma=!1;d.version='3.0.0-alpha.1',d.defaults=f,d.setDefaults=g,d.one=function(a,b){return d(a,b,!0).instances[0]},d.disableAnimations=function(){g({duration:0,updateDuration:0,animateFill:!1})};return j&&function(){k(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&d(a,{content:b})})}(),d}); | ||
(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(){document.addEventListener('click',ha),document.addEventListener('touchstart',ea),window.addEventListener('blur',ia),window.addEventListener('resize',ja),!ca&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',ea)}function c(b,d){function g(a){var b=ea=a,c=b.clientX,d=b.clientY;pa.popperInstance&&(pa.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d,left:c,right:c,bottom:d}},clientWidth:0,clientHeight:0},pa.popperInstance.scheduleUpdate())}function i(a){var b=H(a.target,pa.props.target);if(b&&!b._tippy){var d=pa.props.content;d&&(c(b,e({},pa.props,{content:d,target:'',showOnInit:!0})),j(a))}}function j(a){if(L(),!pa.state.isVisible){if(pa.props.target)return void i(a);if(ha=!0,pa.props.wait)return void pa.props.wait(N,a);y()&&(oa.arrow&&(oa.arrow.style.margin='0'),document.addEventListener('mousemove',g));var b=u(pa.props.delay,0,f.delay);b?fa=setTimeout(function(){N()},b):N()}}function l(){if(L(),!!pa.state.isVisible){ha=!1;var a=u(pa.props.delay,1,f.delay);a?ga=setTimeout(function(){pa.state.isVisible&&O()},a):O()}}function p(a){if(pa.state.isEnabled){var b=ca&&da&&-1<['mouseenter','mouseover','focus'].indexOf(a.type);b&&pa.props.touchHold||(ba=a,'click'===a.type&&!1!==pa.props.hideOnClick&&pa.state.isVisible?l():j(a))}}function q(a){var b=I(a.target,function(a){return a._tippy}),c=H(a.target,h.POPPER)===pa.popper,d=b===pa.reference;c||d||V(X(pa.popper),pa.popper.getBoundingClientRect(),a,pa.props)&&(document.body.removeEventListener('mouseleave',l),document.removeEventListener('mousemove',q),l())}function r(a){return-1<['mouseleave','mouseout'].indexOf(a.type)&&ca&&da&&pa.props.touchHold?void 0:pa.props.interactive?(document.body.addEventListener('mouseleave',l),void document.addEventListener('mousemove',q)):void l()}function s(a){if(!(a.target!==pa.reference||da)){if(pa.props.interactive){if(!a.relatedTarget)return;if(H(a.relatedTarget,h.POPPER))return}l()}}function t(a){H(a.target,pa.props.target)&&j(a)}function v(a){H(a.target,pa.props.target)&&l()}function w(){var b=pa.popperChildren.tooltip,c=pa.props.popperOptions,d=h['round'===pa.props.arrowType?'ROUND_ARROW':'ARROW'],g=b.querySelector(d),i=e({placement:pa.props.placement},c||{},{modifiers:e({},c?c.modifiers:{},{arrow:e({element:d},c&&c.modifiers?c.modifiers.arrow:{}),flip:e({enabled:pa.props.flip,padding:pa.props.distance+5,behavior:pa.props.flipBehavior},c&&c.modifiers?c.modifiers.flip:{}),offset:e({offset:pa.props.offset},c&&c.modifiers?c.modifiers.offset:{})}),onCreate:function(){b.style[X(pa.popper)]=W(pa.props.distance,f.distance),g&&pa.props.arrowTransform&&Q(g,pa.props.arrowTransform)},onUpdate:function(){var a=b.style;a.top='',a.bottom='',a.left='',a.right='',a[X(pa.popper)]=W(pa.props.distance,f.distance),g&&pa.props.arrowTransform&&Q(g,pa.props.arrowTransform)}}),k=new MutationObserver(function(){pa.popperInstance.update()});return k.observe(pa.popper,{childList:!0,subtree:!0}),$&&$.disconnect(),$=k,_||(pa.popper.addEventListener('mouseenter',j),pa.popper.addEventListener('mouseleave',l),_=!0),new a(pa.reference,pa.popper,i)}function x(a){pa.popperInstance?(pa.popperInstance.scheduleUpdate(),pa.props.livePlacement&&!y()&&pa.popperInstance.enableEventListeners()):(pa.popperInstance=w(),!pa.props.livePlacement&&pa.popperInstance.disableEventListeners()),pa.popperInstance.reference=pa.reference,y()&&pa.popperChildren.arrow&&(pa.popperChildren.arrow.style.margin=''),T(pa.popperInstance,a,!0),pa.props.appendTo.contains(pa.popper)||pa.props.appendTo.appendChild(pa.popper)}function y(){return pa.props.followCursor&&!da&&'focus'!==ba.type}function z(){(function a(){n([pa.popper],pa.props.updateDuration),pa.popperInstance&&pa.popperInstance.scheduleUpdate(),pa.state.isVisible?requestAnimationFrame(function(){U(a)}):n([pa.popper],0)})()}function A(a,b){E(!1,a,function(){!pa.state.isVisible&&pa.props.appendTo.contains(pa.popper)&&b()})}function D(a,b){E(!0,a,b)}function E(a,b,c){if(0===b)return c();var d=pa.popperChildren.tooltip,e=function b(f){f.target===d&&getComputedStyle(d).opacity===(a?'1':'0')&&(Z(d,'remove',b),c())};Z(d,'remove',ia),Z(d,'add',e),ia=e}function F(a,b,c){pa.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function G(){ja=pa.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(S.target?'mouseenter'===b?(F('mouseover',t,a),F('mouseout',v,a)):'focus'===b?(F('focusin',t,a),F('focusout',v,a)):'click'===b?F(b,t,a):void 0:(F(b,p,a),'mouseenter'===b?F('mouseleave',r,a):'focus'===b?F(aa?'focusout':'blur',s,a):void 0),a)},[])}function K(){ja.forEach(function(a){var b=a.eventType,c=a.handler;pa.reference.removeEventListener(b,c)})}function L(){clearTimeout(fa),clearTimeout(ga)}function M(a){var b=pa.props,c=Y(pa.reference,e({},pa.props,a,{performance:!0}));c.performance=a.performance||b.performance,pa.props=c,a.trigger&&(K(),G()),C(pa.popper,b,c),pa.popperChildren=o(pa.popper),pa.popperInstance&&(pa.popperInstance=w())}function N(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:u(pa.props.duration,0,f.duration[0]);return pa.state.isDestroyed||!pa.state.isEnabled||da&&!pa.props.touch?void 0:pa.reference.isVirtual||document.documentElement.contains(pa.reference)?pa.reference.hasAttribute('disabled')?void 0:la?void(la=!1):void(pa.props.onShow(pa),pa.popper.style.visibility='visible',pa.state.isVisible=!0,n([pa.popper,pa.popperChildren.tooltip,pa.popperChildren.backdrop],0),x(function(){if(pa.state.isVisible){if(y()||pa.popperInstance.scheduleUpdate(),y()){pa.popperInstance.disableEventListeners();var b=u(pa.props.delay,0,f.delay);ba&&g(b&&ea?ea:ba)}n([pa.popperChildren.tooltip,pa.popperChildren.backdrop,pa.popperChildren.backdrop?pa.popperChildren.content:null],a),pa.props.interactive&&pa.reference.classList.add('tippy-active'),pa.props.sticky&&z(),R([pa.popperChildren.tooltip,pa.popperChildren.backdrop],'visible'),D(a,function(){0===pa.props.updateDuration&&pa.popperChildren.tooltip.classList.add('tippy-notransition'),pa.props.interactive&&'focus'===ba.type&&J(pa.popper),pa.reference.setAttribute('aria-describedby',pa.popper.id),pa.props.onShown(pa)})}})):P()}function O(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:u(pa.props.duration,1,f.duration[1]);pa.state.isDestroyed||!pa.state.isEnabled||(pa.props.onHide(pa),0===pa.props.updateDuration&&pa.popperChildren.tooltip.classList.remove('tippy-notransition'),pa.props.interactive&&pa.reference.classList.remove('tippy-active'),pa.popper.style.visibility='hidden',pa.state.isVisible=!1,n([pa.popperChildren.tooltip,pa.popperChildren.backdrop,pa.popperChildren.backdrop?pa.popperChildren.content:null],a),R([pa.popperChildren.tooltip,pa.popperChildren.backdrop],'hidden'),pa.props.interactive&&!la&&'focus'===ba.type&&(la=!0,J(pa.reference)),A(a,function(){ha||(document.removeEventListener('mousemove',g),ea=null),pa.reference.removeAttribute('aria-describedby'),pa.popperInstance.disableEventListeners(),pa.props.appendTo.removeChild(pa.popper),pa.props.onHidden(pa)}))}function P(a){pa.state.isDestroyed||(pa.state.isVisible&&O(0),K(),delete pa.reference._tippy,pa.props.target&&a&&k(pa.reference.querySelectorAll(pa.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),pa.popperInstance&&pa.popperInstance.destroy(),$&&$.disconnect(),pa.state.isDestroyed=!0)}var S=Y(b,d);if(!S.multiple&&b._tippy)return null;var $=null,_=!1,ba={},ea={},fa=0,ga=0,ha=!1,ia=function(){},ja=[],la=!1,ma=ka++,na=B(ma,S),oa=o(na),pa={id:ma,reference:b,popper:na,popperChildren:oa,popperInstance:null,props:S,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1},clearDelayTimeouts:L,set:M,setContent:function(a){M({content:a})},show:N,hide:O,enable:function(){pa.state.isEnabled=!0},disable:function(){pa.state.isEnabled=!1},destroy:P};return G(),S.lazy||(pa.popperInstance=w(),pa.popperInstance.disableEventListeners()),S.showOnInit&&setTimeout(j,20),!S.a11y||S.target||m(b)||b.setAttribute('tabindex','0'),b._tippy=pa,na._tippy=pa,pa}function d(a,d,g){for(var h in la||(b(),la=!0),d||{})if(!(h in f))throw Error('[tippy]: '+h+' is not a valid option');var i=e({},f,d);p(a)&&F(a);var j=s(a),k=j[0],l=(g&&k?[k]:j).reduce(function(a,b){var d=b?c(b,i):null;return d?a.concat(d):a},[]);return{targets:a,props:i,instances:l,destroyAll:function(){this.instances.forEach(function(a){a.destroy()}),this.instances=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var e=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},f={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:0,duration:[325,275],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},g=function(a){f=e({},f,a)},h={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},i={x:!0},j='undefined'!=typeof window,k=function(a){return[].slice.call(a)},l=function(a,b){b.content instanceof Element?(r(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content},m=function(a){return!(a instanceof Element)||G.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')},n=function(a,b){a.filter(Boolean).forEach(function(a){a.style.transitionDuration=b+'ms'})},o=function(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(h.TOOLTIP),backdrop:b(h.BACKDROP),content:b(h.CONTENT),arrow:b(h.ARROW)||b(h.ROUND_ARROW)}},p=function(a){return'[object Object]'==={}.toString.call(a)},q=function(){return document.createElement('div')},r=function(a,b){a[i.x&&'innerHTML']=b instanceof Element?b[i.x&&'innerHTML']:b},s=function(a){if(a instanceof Element||p(a))return[a];if(a instanceof NodeList)return k(a);if(Array.isArray(a))return a;try{return k(document.querySelectorAll(a))}catch(a){return[]}},t=function(a){return!isNaN(a)&&!isNaN(parseFloat(a))},u=function(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a},v=function(a){var b=q();return'round'===a?(b.className='tippy-roundarrow',r(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b},w=function(){var a=q();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a},x=function(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')},y=function(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')},z=function(a){a.setAttribute('data-inertia','')},A=function(a){a.removeAttribute('data-inertia')},B=function(a,b){var c=q();c.className='tippy-popper',c.role='tooltip',c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=q();d.className='tippy-tooltip',d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=q();return e.className='tippy-content',b.interactive&&x(c,d),b.arrow&&d.appendChild(v(b.arrowType)),b.animateFill&&(d.appendChild(w()),d.setAttribute('data-animatefill','')),b.inertia&&d.setAttribute('data-inertia',''),l(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!I(a.relatedTarget,function(a){return a===c})&&c._tippy.hide()}),c},C=function(a,b,c){var d=o(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow,i=parseFloat(e.style.transitionDuration);n([e],0),a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),l(f,c),!b.animateFill&&c.animateFill?(e.appendChild(w()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(v(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(v(c.arrowType),h),!b.interactive&&c.interactive?x(a,e):b.interactive&&!c.interactive&&y(a,e),!b.inertia&&c.inertia?z(e):b.inertia&&!c.inertia&&A(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')})),U(function(){n([e],i)})},D=function(a){k(document.querySelectorAll(h.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})},E=function(a){return Object.keys(f).reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='true'===d||'false'!==d&&(t(d)?+d:'target'!==c&&'['===d[0]?JSON.parse(d):d),b):b},{})},F=function(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c];return a},G=function(){if(j){var a=Element.prototype;return a.matches||a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector}}(),H=function(a,b){return(Element.prototype.closest||function(a){for(var b=this;b;){if(G.call(b,a))return b;b=b.parentElement}}).call(a,b)},I=function(a,b){for(;a;){if(b(a))return a;a=a.parentElement}},J=function(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)},K=function(a){void a.offsetHeight},L=function(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''},M=function(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]},N=function(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''},O=function(a,b){var c=a.match(b);return c?c[1].split(',').map(parseFloat):[]},P={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},Q=function(a,b){var c=X(H(a,h.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:N(b,'translate'),numbers:O(b,P.translate)},scale:{axis:N(b,'scale'),numbers:O(b,P.scale)}},g=b.replace(P.translate,'translate'+L(f.translate.axis,d)+'('+M('translate',f.translate.numbers,d,e)+')').replace(P.scale,'scale'+L(f.scale.axis,d)+'('+M('scale',f.scale.numbers,d,e)+')');a.style[S('transform')]=g},R=function(a,b){a.filter(Boolean).forEach(function(a){a.setAttribute('data-state',b)})},S=function(a){for(var b=['','webkit'],c=a[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},T=function(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){K(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()},U=function(a){setTimeout(a,1)},V=function(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l},W=function(a,b){return-(a-b)+'px'},X=function(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''},Y=function(a,b){var c=e({},b,b.performance?{}:E(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c},Z=function(a,b,c){a[b+'EventListener']('transitionend',c)},$=j?navigator:{},_=j?window:{},aa=/MSIE |Trident\//.test($.userAgent),ba=/iPhone|iPad|iPod/.test($.platform)&&!_.MSStream,ca='ontouchstart'in _,da=!1,ea=function(){da||(da=!0,ba&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',ga))},fa=0,ga=function a(){var b=performance.now();20>b-fa&&(da=!1,document.removeEventListener('mousemove',a),!ba&&document.body.classList.remove('tippy-iOS')),fa=b},ha=function(a){var b=a.target;if(!(b instanceof Element))return D();var c=H(b,h.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=I(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(da||f)return D(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}D()}},ia=function(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()},ja=function(){k(document.querySelectorAll(h.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})},ka=1,la=!1;d.version='3.0.0-alpha.2',d.defaults=f,d.one=function(a,b){return d(a,b,!0).instances[0]},d.setDefaults=function(a){g(a),d.defaults=f},d.disableAnimations=function(){d.setDefaults({duration:0,updateDuration:0,animateFill:!1})};return j&&setTimeout(function(){k(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&d(a,{content:b})})}),d}); |
{ | ||
"name": "tippy.js", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "Vanilla JS Tooltip Library", | ||
@@ -5,0 +5,0 @@ "main": "dist/tippy.all.js", |
Sorry, the diff of this file is too big to display
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
692555
14567