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

vue-tippy

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tippy - npm Package Compare versions

Comparing version 6.0.0-alpha.32 to 6.0.0-alpha.33

4

dist/vue-tippy.global.prod.js
/*!
* vue-tippy v6.0.0-alpha.31
* vue-tippy v6.0.0-alpha.32
* (c) 2021 Georges KABBOUCHI
* @license MIT
*/
var VueTippy=function(e,t){"use strict";var n="top",o="bottom",r="right",i="left",a=[n,o,r,i],s=a.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),u=[].concat(a,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function p(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){return e instanceof f(e).Element||e instanceof Element}function d(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function v(e){return"undefined"!=typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var m={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];d(r)&&p(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});d(o)&&p(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function h(e){return e.split("-")[0]}function g(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function y(e){var t=g(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function b(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function w(e){return f(e).getComputedStyle(e)}function O(e){return["table","td","th"].indexOf(p(e))>=0}function x(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function E(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||x(e)}function T(e){return d(e)&&"fixed"!==w(e).position?e.offsetParent:null}function C(e){for(var t=f(e),n=T(e);n&&O(n)&&"static"===w(n).position;)n=T(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===w(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===w(e).position)return null;for(var n=E(e);d(n)&&["html","body"].indexOf(p(n))<0;){var o=w(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function A(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var D=Math.max,j=Math.min,L=Math.round;function M(e,t,n){return D(e,j(t,n))}function P(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function k(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var R={top:"auto",right:"auto",bottom:"auto",left:"auto"};function S(e){var t,a=e.popper,s=e.popperRect,u=e.placement,c=e.offsets,p=e.position,l=e.gpuAcceleration,d=e.adaptive,v=e.roundOffsets,m=!0===v?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:L(L(e.x*n)/n)||0,y:L(L(t*n)/n)||0}}(c):"function"==typeof v?v(c):c,h=m.x,g=void 0===h?0:h,y=m.y,b=void 0===y?0:y,O=c.hasOwnProperty("x"),E=c.hasOwnProperty("y"),T=i,A=n,D=window;if(d){var j=C(a),M="clientHeight",P="clientWidth";j===f(a)&&"static"!==w(j=x(a)).position&&(M="scrollHeight",P="scrollWidth"),j=j,u===n&&(A=o,b-=j[M]-s.height,b*=l?1:-1),u===i&&(T=r,g-=j[P]-s.width,g*=l?1:-1)}var k,S=Object.assign({position:p},d&&R);return Object.assign({},S,l?((k={})[A]=E?"0":"",k[T]=O?"0":"",k.transform=(D.devicePixelRatio||1)<2?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",k):((t={})[A]=E?b+"px":"",t[T]=O?g+"px":"",t.transform="",t))}var H={passive:!0};var B={left:"right",right:"left",bottom:"top",top:"bottom"};function V(e){return e.replace(/left|right|bottom|top/g,(function(e){return B[e]}))}var I={start:"end",end:"start"};function W(e){return e.replace(/start|end/g,(function(e){return I[e]}))}function N(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(e){return g(x(e)).left+N(e).scrollLeft}function $(e){var t=w(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function _(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(p(t))>=0?t.ownerDocument.body:d(t)&&$(t)?t:e(E(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=f(o),a=r?[i].concat(i.visualViewport||[],$(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(_(E(a)))}function q(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z(e,t){return"viewport"===t?q(function(e){var t=f(e),n=x(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,a=0,s=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,s=o.offsetTop)),{width:r,height:i,x:a+U(e),y:s}}(e)):d(t)?function(e){var t=g(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):q(function(e){var t,n=x(e),o=N(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=D(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=D(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+U(e),u=-o.scrollTop;return"rtl"===w(r||n).direction&&(s+=D(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(x(e)))}function F(e,t,n){var o="clippingParents"===t?function(e){var t=_(E(e)),n=["absolute","fixed"].indexOf(w(e).position)>=0&&d(e)?C(e):e;return l(n)?t.filter((function(e){return l(e)&&b(e,n)&&"body"!==p(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=z(e,n);return t.top=D(o.top,t.top),t.right=j(o.right,t.right),t.bottom=j(o.bottom,t.bottom),t.left=D(o.left,t.left),t}),z(e,r[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function X(e){return e.split("-")[1]}function Y(e){var t,a=e.reference,s=e.element,u=e.placement,c=u?h(u):null,p=u?X(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(c){case n:t={x:f,y:a.y-s.height};break;case o:t={x:f,y:a.y+a.height};break;case r:t={x:a.x+a.width,y:l};break;case i:t={x:a.x-s.width,y:l};break;default:t={x:a.x,y:a.y}}var d=c?A(c):null;if(null!=d){var v="y"===d?"height":"width";switch(p){case"start":t[d]=t[d]-(a[v]/2-s[v]/2);break;case"end":t[d]=t[d]+(a[v]/2-s[v]/2)}}return t}function J(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,u=t.boundary,c=void 0===u?"clippingParents":u,p=t.rootBoundary,f=void 0===p?"viewport":p,d=t.elementContext,v=void 0===d?"popper":d,m=t.altBoundary,h=void 0!==m&&m,y=t.padding,b=void 0===y?0:y,w=P("number"!=typeof b?b:k(b,a)),O=e.elements.reference,E=e.rects.popper,T=e.elements[h?"popper"===v?"reference":"popper":v],C=F(l(T)?T:T.contextElement||x(e.elements.popper),c,f),A=g(O),D=Y({reference:A,element:E,strategy:"absolute",placement:s}),j=q(Object.assign({},E,D)),L="popper"===v?j:A,M={top:C.top-L.top+w.top,bottom:L.bottom-C.bottom+w.bottom,left:C.left-L.left+w.left,right:L.right-C.right+w.right},R=e.modifiersData.offset;if("popper"===v&&R){var S=R[s];Object.keys(M).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,i=[n,o].indexOf(e)>=0?"y":"x";M[e]+=S[i]*t}))}return M}function G(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,c=t.allowedAutoPlacements,p=void 0===c?u:c,f=X(t.placement),l=f?i?s:s.filter((function(e){return X(e)===f})):a,d=l.filter((function(e){return p.indexOf(e)>=0}));0===d.length&&(d=l);var v=d.reduce((function(t,i){return t[i]=J(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Q(e){return[n,r,o,i].some((function(t){return e[t]>=0}))}function Z(e,t,n){void 0===n&&(n=!1);var o,r,i=x(t),a=g(e),s=d(t),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==p(t)||$(i))&&(u=(o=t)!==f(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:N(o)),d(t)?((c=g(t)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=U(i))),{x:a.left+u.scrollLeft-c.x,y:a.top+u.scrollTop-c.y,width:a.width,height:a.height}}function ee(e){var t=new Map,n=new Set,o=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var r=t.get(o);r&&e(r)}})),o.push(r)}(e)})),o}var te={placement:"bottom",modifiers:[],strategy:"absolute"};function ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function oe(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?te:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},te,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],p=!1,f={state:s,setOptions:function(o){d(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:l(e)?_(e):e.contextElement?_(e.contextElement):[],popper:_(t)};var i,a,p=function(e){var t=ee(e);return c.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(n,s.options.modifiers),a=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(a).map((function(e){return a[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.options,n=e.effect;if("function"==typeof n){var o=n({state:s,name:e.name,instance:f,options:void 0===t?{}:t});u.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(ne(t,n)){s.rects={reference:Z(t,C(n),"fixed"===s.options.strategy),popper:y(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var r=s.orderedModifiers[o],i=r.fn,a=r.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:r.name,instance:f})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!ne(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(o).then((function(e){!p&&o.onFirstUpdate&&o.onFirstUpdate(e)})),f}}var re=oe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,s=void 0===a||a,u=f(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,H)})),s&&u.addEventListener("resize",n.update,H),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,H)})),s&&u.removeEventListener("resize",n.update,H)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:h(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,S(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,S(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},m,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.name,a=e.options.offset,s=void 0===a?[0,0]:a,c=u.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,u="function"==typeof o?o(Object.assign({},t,{placement:e})):o,c=u[0],p=u[1];return c=c||0,p=(p||0)*s,[i,r].indexOf(a)>=0?{x:p,y:c}:{x:c,y:p}}(o,t.rects,s),e}),{}),p=c[t.placement],f=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p.x,t.modifiersData.popperOffsets.y+=f),t.modifiersData[o]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0===p||p,l=a.fallbackPlacements,d=a.padding,v=a.boundary,m=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=t.options.placement,x=h(O),E=l||(x===O||!b?[V(O)]:function(e){if("auto"===h(e))return[];var t=V(e);return[W(e),t,W(t)]}(O)),T=[O].concat(E).reduce((function(e,n){return e.concat("auto"===h(n)?G(t,{placement:n,boundary:v,rootBoundary:m,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),C=t.rects.reference,A=t.rects.popper,D=new Map,j=!0,L=T[0],M=0;M<T.length;M++){var P=T[M],k=h(P),R="start"===X(P),S=[n,o].indexOf(k)>=0,H=S?"width":"height",B=J(t,{placement:P,boundary:v,rootBoundary:m,altBoundary:g,padding:d}),I=S?R?r:i:R?o:n;C[H]>A[H]&&(I=V(I));var N=V(I),U=[];if(c&&U.push(B[k]<=0),f&&U.push(B[I]<=0,B[N]<=0),U.every((function(e){return e}))){L=P,j=!1;break}D.set(P,U)}if(j)for(var $=function(e){var t=T.find((function(t){var n=D.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},_=b?3:1;_>0;_--){if("break"===$(_))break}t.placement!==L&&(t.modifiersData[s]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name,u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0!==p&&p,l=a.tether,d=void 0===l||l,v=a.tetherOffset,m=void 0===v?0:v,g=J(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),b=h(t.placement),w=X(t.placement),O=!w,x=A(b),E="x"===x?"y":"x",T=t.modifiersData.popperOffsets,L=t.rects.reference,P=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R={x:0,y:0};if(T){if(c||f){var S="y"===x?n:i,H="y"===x?o:r,B="y"===x?"height":"width",V=T[x],I=T[x]+g[S],W=T[x]-g[H],N=d?-P[B]/2:0,U="start"===w?L[B]:P[B],$="start"===w?-P[B]:-L[B],_=t.elements.arrow,q=d&&_?y(_):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=z[S],Y=z[H],G=M(0,L[B],q[B]),K=O?L[B]/2-N-G-F-k:U-G-F-k,Q=O?-L[B]/2+N+G+Y+k:$+G+Y+k,Z=t.elements.arrow&&C(t.elements.arrow),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,te=T[x]+K-ee-(Z?"y"===x?Z.clientTop||0:Z.clientLeft||0:0),ne=T[x]+Q-ee;if(c){var oe=M(d?j(I,te):I,V,d?D(W,ne):W);T[x]=oe,R[x]=oe-V}if(f){var re=T[E],ie=re+g["x"===x?n:i],ae=re-g["x"===x?o:r],se=M(d?j(ie,te):ie,re,d?D(ae,ne):ae);T[E]=se,R[E]=se-re}}t.modifiersData[s]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,u=e.name,c=e.options,p=s.elements.arrow,f=s.modifiersData.popperOffsets,l=h(s.placement),d=A(l),v=[i,r].indexOf(l)>=0?"height":"width";if(p&&f){var m=function(e,t){return P("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:k(e,a))}(c.padding,s),g=y(p),b="y"===d?n:i,w="y"===d?o:r,O=s.rects.reference[v]+s.rects.reference[d]-f[d]-s.rects.popper[v],x=f[d]-s.rects.reference[d],E=C(p),T=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,D=T/2-g[v]/2+(O/2-x/2),j=M(m[b],D,T-g[v]-m[w]);s.modifiersData[u]=((t={})[d]=j,t.centerOffset=j-D,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&b(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=J(t,{elementContext:"reference"}),s=J(t,{altBoundary:!0}),u=K(a,o),c=K(s,r,i),p=Q(u),f=Q(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),ie={passive:!0,capture:!0};function ae(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function se(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ue(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ce(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function pe(e){return[].concat(e)}function fe(e,t){-1===e.indexOf(t)&&e.push(t)}function le(e){return e.split("-")[0]}function de(e){return[].slice.call(e)}function ve(){return document.createElement("div")}function me(e){return["Element","Fragment"].some((function(t){return se(e,t)}))}function he(e){return se(e,"MouseEvent")}function ge(e){return me(e)?[e]:function(e){return se(e,"NodeList")}(e)?de(e):Array.isArray(e)?e:de(document.querySelectorAll(e))}function ye(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function be(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function we(e){var t,n=pe(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function Oe(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}var xe={isTouch:!1},Ee=0;function Te(){xe.isTouch||(xe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ce))}function Ce(){var e=performance.now();e-Ee<20&&(xe.isTouch=!1,document.removeEventListener("mousemove",Ce)),Ee=e}function Ae(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var De="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",je=/MSIE |Trident\//.test(De),Le=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Me=Object.keys(Le);function Pe(e){var t=(e.plugins||[]).reduce((function(t,n){var o=n.name;return o&&(t[o]=void 0!==e[o]?e[o]:n.defaultValue),t}),{});return Object.assign({},e,{},t)}function ke(e,t){var n=Object.assign({},t,{content:ue(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Pe(Object.assign({},Le,{plugins:t}))):Me).reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Le.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Re(e,t){e.innerHTML=t}function Se(e){var t=ve();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",me(e)?t.appendChild(e):Re(t,e)),t}function He(e,t){me(t.content)?(Re(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Re(e,t.content):e.textContent=t.content)}function Be(e){var t=e.firstElementChild,n=de(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ve(e){var t=ve(),n=ve();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=ve();function r(n,o){var r=Be(t),i=r.box,a=r.content,s=r.arrow;o.theme?i.setAttribute("data-theme",o.theme):i.removeAttribute("data-theme"),"string"==typeof o.animation?i.setAttribute("data-animation",o.animation):i.removeAttribute("data-animation"),o.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?i.setAttribute("role",o.role):i.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||He(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Se(o.arrow))):i.appendChild(Se(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),He(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ve.$$tippy=!0;var Ie=1,We=[],Ne=[];function Ue(e,t){var n,o,r,i,a,s,u,c,p,f=ke(e,Object.assign({},Le,{},Pe((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),l=!1,d=!1,v=!1,m=!1,h=[],g=ce(Y,f.interactiveDebounce),y=Ie++,b=(p=f.plugins).filter((function(e,t){return p.indexOf(e)===t})),w={id:y,reference:e,popper:ve(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(w.state.isDestroyed)return;S("onBeforeUpdate",[w,t]),F();var n=w.props,o=ke(e,Object.assign({},w.props,{},t,{ignoreAttributes:!0}));w.props=o,z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),g=ce(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?pe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");B(),R(),E&&E(n,o);w.popperInstance&&(Q(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));S("onAfterUpdate",[w,t])},setContent:function(e){w.setProps({content:e})},show:function(){var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,o=xe.isTouch&&!w.props.touch,r=ae(w.props.duration,0,Le.duration);if(e||t||n||o)return;if(L().hasAttribute("disabled"))return;if(S("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,j()&&(x.style.visibility="visible");R(),U(),w.state.isMounted||(x.style.transition="none");if(j()){var i=P();ye([i.box,i.content],0)}u=function(){var e;if(w.state.isVisible&&!m){if(m=!0,x.style.transition=w.props.moveTransition,j()&&w.props.animation){var t=P(),n=t.box,o=t.content;ye([n,o],r),be([n,o],"visible")}H(),B(),fe(Ne,w),null==(e=w.popperInstance)||e.forceUpdate(),w.state.isMounted=!0,S("onMount",[w]),w.props.animation&&j()&&function(e,t){_(e,t)}(r,(function(){w.state.isShown=!0,S("onShown",[w])}))}},function(){var e,t=w.props.appendTo,n=L();e=w.props.interactive&&t===Le.appendTo||"parent"===t?n.parentNode:ue(t,[n]);e.contains(x)||e.appendChild(x);Q()}()},hide:function(){var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,o=ae(w.props.duration,1,Le.duration);if(e||t||n)return;if(S("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,m=!1,l=!1,j()&&(x.style.visibility="hidden");if(V(),$(),R(),j()){var r=P(),i=r.box,a=r.content;w.props.animation&&(ye([i,a],o),be([i,a],"hidden"))}H(),B(),w.props.animation?j()&&function(e,t){_(e,(function(){!w.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(o,w.unmount):w.unmount()},hideWithInteractivity:function(e){M().addEventListener("mousemove",g),fe(We,g),g(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){w.state.isVisible&&w.hide();if(!w.state.isMounted)return;Z(),ee().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Ne=Ne.filter((function(e){return e!==w})),w.state.isMounted=!1,S("onHidden",[w])},destroy:function(){if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),F(),delete e._tippy,w.state.isDestroyed=!0,S("onDestroy",[w])}};if(!f.render)return w;var O=f.render(w),x=O.popper,E=O.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+w.id,w.popper=x,e._tippy=w,x._tippy=w;var T=b.map((function(e){return e.fn(w)})),C=e.hasAttribute("aria-expanded");return z(),B(),R(),S("onCreate",[w]),f.showOnCreate&&te(),x.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(e){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(M().addEventListener("mousemove",g),g(e))})),w;function A(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===A()[0]}function j(){var e;return!!(null==(e=w.props.render)?void 0:e.$$tippy)}function L(){return c||e}function M(){var e=L().parentNode;return e?we(e):document}function P(){return Be(x)}function k(e){return w.state.isMounted&&!w.state.isVisible||xe.isTouch||a&&"focus"===a.type?0:ae(w.props.delay,e?0:1,Le.delay)}function R(){x.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",x.style.zIndex=""+w.props.zIndex}function S(e,t,n){var o;(void 0===n&&(n=!0),T.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(o=w.props)[e].apply(o,t)}function H(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,o=x.id;pe(w.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(w.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var r=t&&t.replace(o,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function B(){!C&&w.props.aria.expanded&&pe(w.props.triggerTarget||e).forEach((function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")}))}function V(){M().removeEventListener("mousemove",g),We=We.filter((function(e){return e!==g}))}function I(e){if(!(xe.isTouch&&(v||"mousedown"===e.type)||w.props.interactive&&x.contains(e.target))){if(L().contains(e.target)){if(xe.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[w,e]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||$())}}function W(){v=!0}function N(){v=!1}function U(){var e=M();e.addEventListener("mousedown",I,!0),e.addEventListener("touchend",I,ie),e.addEventListener("touchstart",N,ie),e.addEventListener("touchmove",W,ie)}function $(){var e=M();e.removeEventListener("mousedown",I,!0),e.removeEventListener("touchend",I,ie),e.removeEventListener("touchstart",N,ie),e.removeEventListener("touchmove",W,ie)}function _(e,t){var n=P().box;function o(e){e.target===n&&(Oe(n,"remove",o),t())}if(0===e)return t();Oe(n,"remove",s),Oe(n,"add",o),s=o}function q(t,n,o){void 0===o&&(o=!1),pe(w.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),h.push({node:e,eventType:t,handler:n,options:o})}))}function z(){var e;D()&&(q("touchstart",X,{passive:!0}),q("touchend",J,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,X),e){case"mouseenter":q("mouseleave",J);break;case"focus":q(je?"focusout":"blur",G);break;case"focusin":q("focusout",G)}}))}function F(){h.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),h=[]}function X(e){var t,n=!1;if(w.state.isEnabled&&!K(e)&&!d){var o="focus"===(null==(t=a)?void 0:t.type);a=e,c=e.currentTarget,B(),!w.state.isVisible&&he(e)&&We.forEach((function(t){return t(e)})),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||l)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:te(e),"click"===e.type&&(l=!n),n&&!o&&ne(e)}}function Y(e){var t=e.target,n=L().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,i=e.props.interactiveBorder,a=le(r.placement),s=r.modifiersData.offset;return!s||(t.top-o+("bottom"===a?s.top.y:0)>i||o-t.bottom-("top"===a?s.bottom.y:0)>i||t.left-n+("right"===a?s.left.x:0)>i||n-t.right-("left"===a?s.right.x:0)>i)}))}(ee().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(V(),ne(e))}function J(e){K(e)||w.props.trigger.indexOf("click")>=0&&l||(w.props.interactive?w.hideWithInteractivity(e):ne(e))}function G(e){w.props.trigger.indexOf("focusin")<0&&e.target!==L()||w.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||ne(e)}function K(e){return!!xe.isTouch&&D()!==e.type.indexOf("touch")>=0}function Q(){Z();var t=w.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=j()?Be(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];j()&&s&&p.push({name:"arrow",options:{element:s,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),w.popperInstance=re(c,x,Object.assign({},n,{placement:o,onFirstUpdate:u,modifiers:p}))}function Z(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function ee(){return de(x.querySelectorAll("[data-tippy-root]"))}function te(e){w.clearDelayTimeouts(),e&&S("onTrigger",[w,e]),U();var t=k(!0),n=A(),r=n[1];xe.isTouch&&"hold"===n[0]&&r&&(t=r),t?o=setTimeout((function(){w.show()}),t):w.show()}function ne(e){if(w.clearDelayTimeouts(),S("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&l)){var t=k(!1);t?r=setTimeout((function(){w.state.isVisible&&w.hide()}),t):i=requestAnimationFrame((function(){w.hide()}))}}else $()}}function $e(e,t){void 0===t&&(t={});var n=Le.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Te,ie),window.addEventListener("blur",Ae);var o=Object.assign({},t,{plugins:n}),r=ge(e).reduce((function(e,t){var n=t&&Ue(t,o);return n&&e.push(n),e}),[]);return me(e)?r[0]:r}$e.defaultProps=Le,$e.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Le[t]=e[t]}))},$e.currentInput=xe;var _e=Object.assign({},m,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),qe=function(e,t){var n;void 0===t&&(t={});var o,r=e,i=[],a=t.overrides,s=[],u=!1;function c(){i=r.map((function(e){return e.reference}))}function p(e){r.forEach((function(t){e?t.enable():t.disable()}))}function f(e){return r.map((function(t){var n=t.setProps;return t.setProps=function(r){n(r),t.reference===o&&e.setProps(r)},function(){t.setProps=n}}))}function l(e,t){var n=i.indexOf(t);if(t!==o){o=t;var s=(a||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){return t.getBoundingClientRect()}}))}}p(!1),c();var d,v,m={fn:function(){return{onDestroy:function(){p(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,l(e,i[0]))},onTrigger:function(e,t){l(e,t.currentTarget)}}}},h=$e(ve(),Object.assign({},(d=["overrides"],v=Object.assign({},t),d.forEach((function(e){delete v[e]})),v),{plugins:[m].concat(t.plugins||[]),triggerTarget:i,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[_e])})})),g=h.show;h.show=function(e){return g(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&l(h,i[e]):r.includes(e)?l(h,e.reference):i.includes(e)?l(h,e):void 0:l(h,i[0])},h.showNext=function(){var e=i[0];if(!o)return h.show(0);var t=i.indexOf(o);h.show(i[t+1]||e)},h.showPrevious=function(){var e=i[i.length-1];if(!o)return h.show(e);var t=i.indexOf(o);h.show(i[t-1]||e)};var y=h.setProps;return h.setProps=function(e){a=e.overrides||a,y(e)},h.setInstances=function(e){p(!0),s.forEach((function(e){return e()})),r=e,p(!1),c(),f(h),h.setProps({triggerTarget:i})},s=f(h),h},ze={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!(null==(t=e.props.render)?void 0:t.$$tippy))return{};var n=Be(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=ve();return e.className="tippy-backdrop",be([e],"hidden"),e}():null;return{onCreate:function(){i&&(o.insertBefore(i,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=o.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,be([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&be([i],"hidden")}}}};var Fe={clientX:0,clientY:0},Xe=[];function Ye(e){Fe={clientX:e.clientX,clientY:e.clientY}}var Je={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=we(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function f(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+u,o=e.top+c);var s="horizontal"===r?e.top:o,p="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){e.props.followCursor&&(Xe.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Ye)}(n))}function d(){0===(Xe=Xe.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Ye)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!e.state.isMounted||r||s()||u()):(c(),p()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(Fe),i=!1),s()||u())},onTrigger:function(e,t){he(t)&&(Fe={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),i=!0)}}}};var Ge={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var i=r.state;e.props.inlinePositioning&&(t!==i.placement&&e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,o){if(n.length<2||null===e)return t;if(2===n.length&&o>=0&&n[0].left>n[1].right)return n[o]||t;switch(e){case"top":case"bottom":var r=n[0],i=n[n.length-1],a="top"===e,s=r.top,u=i.bottom,c=a?r.left:i.left,p=a?r.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),l=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return t}}(le(e),n.getBoundingClientRect(),de(n.getClientRects()),o)}(i.placement)}}),t=i.placement)}};function a(){var t;r||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,i),r=!0,e.setProps(t),r=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(he(n)){var r=de(e.reference.getClientRects()),i=r.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY}));o=r.indexOf(i)}},onUntrigger:function(){o=-1}}}};var Ke={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function o(t){return!0===e.props.sticky||e.props.sticky===t}var r=null,i=null;function a(){var s=o("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,u=o("popper")?n.getBoundingClientRect():null;(s&&Qe(r,s)||u&&Qe(i,u))&&e.popperInstance&&e.popperInstance.update(),r=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function Qe(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function Ze(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref();let a=null;const s=()=>a||(a=document.createElement("fragment"),a),u=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,s()),n=()=>s();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,s()),n=()=>s()}else n=o;return n},c=e=>{let n={};return n=t.isRef(e)?e.value:(t.isReactive(e),{...e}),n.content&&(n.content=u(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n},p=()=>{i.value&&i.value.setProps(c(n))},f=()=>{i.value&&n.content&&i.value.setContent(u(n.content))},l=()=>{i.value&&(i.value.destroy(),i.value=void 0),a=null},d=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=$e(o,c(n)),o.$tippy=v)},v={tippy:i,refresh:p,refreshContent:f,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(u(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(c(e))},destroy:l,hide:()=>{var e;null===(e=i.value)||void 0===e||e.hide()},show:()=>{var e;null===(e=i.value)||void 0===e||e.show()},disable:()=>{var e;null===(e=i.value)||void 0===e||e.disable()},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable()},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:d};return o.mount&&(r?(r.isMounted?d():t.onMounted(d),t.onUnmounted(()=>{l()})):d()),t.isRef(n)||t.isReactive(n)?t.watch(n,p,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,f,{immediate:!1}),v}function et(e,n){const o=t.ref();return t.onMounted(()=>{const t=(Array.isArray(e)?e.map(e=>e.value):"function"==typeof e?e():e.value).map(e=>e instanceof Element?e._tippy:e).filter(Boolean);o.value=qe(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}$e.setDefaultProps({render:Ve}),$e.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const tt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let nt={};Object.keys($e.defaultProps).forEach(e=>{nt[e]=tt.includes(e)?{type:Boolean,default:function(){return $e.defaultProps[e]}}:{default:function(){return $e.defaultProps[e]}}}),nt.to={},nt.tag={default:"span"},nt.contentTag={default:"span"},nt.contentClass={default:null};const ot=t.defineComponent({props:nt,setup(e,{slots:n}){const o=t.ref(),r=t.ref();let i=e;i.to&&delete i.to;let a=o;e.to&&(e.to instanceof Element?a=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(a=()=>document.querySelector(e.to)));const s=Ze(a,i);return t.onMounted(()=>{n.content&&s.setContent(()=>r.value)}),{elem:o,contentElem:r,...s}},render(){let e=this.$slots.default?this.$slots.default(this):[];return t.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[e,t.h(this.contentTag,{ref:"contentElem",class:this.contentClass},this.$slots.content(this))]:e)}}),rt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let it={};Object.keys($e.defaultProps).forEach(e=>{it[e]=rt.includes(e)?{type:Boolean,default:function(){return $e.defaultProps[e]}}:{default:function(){return $e.defaultProps[e]}}});const at=t.defineComponent({props:it,setup(e){const n=t.ref([]),{singleton:o}=et(n,e);return{instances:n,singleton:o}},mounted(){var e;const t=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(t).map(e=>e._tippy).filter(Boolean),null===(e=this.singleton)||void 0===e||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return t.h(()=>e)}}),st={mounted(e,t,n){const o=t.value||{};n.props&&n.props.onTippyShow&&(o.onShow=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShow(...e)}),n.props&&n.props.onTippyShown&&(o.onShown=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShown(...e)}),n.props&&n.props.onTippyHidden&&(o.onHidden=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHidden(...e)}),n.props&&n.props.onTippyHide&&(o.onHide=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHide(...e)}),n.props&&n.props.onTippyMount&&(o.onMount=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyMount(...e)}),e.getAttribute("title")&&!o.content&&(o.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!o.content&&(o.content=e.getAttribute("content")),Ze(e,o)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},ut={install(e,t={}){$e.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",st),e.component(t.component||"tippy",ot),e.component(t.componentSingleton||"tippy-singleton",at)}},ct=$e.setDefaultProps;return ct({ignoreAttributes:!0,plugins:[Ke,Ge,Je,ze]}),e.Tippy=ot,e.TippySingleton=at,e.default=ut,e.directive=st,e.plugin=ut,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.setDefaultProps=ct,e.tippy=$e,e.useSingleton=et,e.useTippy=Ze,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(ot,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
var VueTippy=function(e,t){"use strict";var n="top",o="bottom",r="right",i="left",a=[n,o,r,i],s=a.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),u=[].concat(a,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function p(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){return e instanceof f(e).Element||e instanceof Element}function d(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function v(e){return"undefined"!=typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var m={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];d(r)&&p(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});d(o)&&p(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function h(e){return e.split("-")[0]}function g(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function y(e){var t=g(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function b(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function w(e){return f(e).getComputedStyle(e)}function O(e){return["table","td","th"].indexOf(p(e))>=0}function x(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function E(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||x(e)}function T(e){return d(e)&&"fixed"!==w(e).position?e.offsetParent:null}function C(e){for(var t=f(e),n=T(e);n&&O(n)&&"static"===w(n).position;)n=T(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===w(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===w(e).position)return null;for(var n=E(e);d(n)&&["html","body"].indexOf(p(n))<0;){var o=w(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function A(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var D=Math.max,j=Math.min,L=Math.round;function M(e,t,n){return D(e,j(t,n))}function P(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function k(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var R={top:"auto",right:"auto",bottom:"auto",left:"auto"};function S(e){var t,a=e.popper,s=e.popperRect,u=e.placement,c=e.offsets,p=e.position,l=e.gpuAcceleration,d=e.adaptive,v=e.roundOffsets,m=!0===v?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:L(L(e.x*n)/n)||0,y:L(L(t*n)/n)||0}}(c):"function"==typeof v?v(c):c,h=m.x,g=void 0===h?0:h,y=m.y,b=void 0===y?0:y,O=c.hasOwnProperty("x"),E=c.hasOwnProperty("y"),T=i,A=n,D=window;if(d){var j=C(a),M="clientHeight",P="clientWidth";j===f(a)&&"static"!==w(j=x(a)).position&&(M="scrollHeight",P="scrollWidth"),j=j,u===n&&(A=o,b-=j[M]-s.height,b*=l?1:-1),u===i&&(T=r,g-=j[P]-s.width,g*=l?1:-1)}var k,S=Object.assign({position:p},d&&R);return Object.assign({},S,l?((k={})[A]=E?"0":"",k[T]=O?"0":"",k.transform=(D.devicePixelRatio||1)<2?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",k):((t={})[A]=E?b+"px":"",t[T]=O?g+"px":"",t.transform="",t))}var H={passive:!0};var B={left:"right",right:"left",bottom:"top",top:"bottom"};function V(e){return e.replace(/left|right|bottom|top/g,(function(e){return B[e]}))}var I={start:"end",end:"start"};function W(e){return e.replace(/start|end/g,(function(e){return I[e]}))}function N(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(e){return g(x(e)).left+N(e).scrollLeft}function $(e){var t=w(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function _(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(p(t))>=0?t.ownerDocument.body:d(t)&&$(t)?t:e(E(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=f(o),a=r?[i].concat(i.visualViewport||[],$(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(_(E(a)))}function q(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z(e,t){return"viewport"===t?q(function(e){var t=f(e),n=x(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,a=0,s=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,s=o.offsetTop)),{width:r,height:i,x:a+U(e),y:s}}(e)):d(t)?function(e){var t=g(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):q(function(e){var t,n=x(e),o=N(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=D(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=D(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+U(e),u=-o.scrollTop;return"rtl"===w(r||n).direction&&(s+=D(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(x(e)))}function F(e,t,n){var o="clippingParents"===t?function(e){var t=_(E(e)),n=["absolute","fixed"].indexOf(w(e).position)>=0&&d(e)?C(e):e;return l(n)?t.filter((function(e){return l(e)&&b(e,n)&&"body"!==p(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=z(e,n);return t.top=D(o.top,t.top),t.right=j(o.right,t.right),t.bottom=j(o.bottom,t.bottom),t.left=D(o.left,t.left),t}),z(e,r[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function X(e){return e.split("-")[1]}function Y(e){var t,a=e.reference,s=e.element,u=e.placement,c=u?h(u):null,p=u?X(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(c){case n:t={x:f,y:a.y-s.height};break;case o:t={x:f,y:a.y+a.height};break;case r:t={x:a.x+a.width,y:l};break;case i:t={x:a.x-s.width,y:l};break;default:t={x:a.x,y:a.y}}var d=c?A(c):null;if(null!=d){var v="y"===d?"height":"width";switch(p){case"start":t[d]=t[d]-(a[v]/2-s[v]/2);break;case"end":t[d]=t[d]+(a[v]/2-s[v]/2)}}return t}function J(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,u=t.boundary,c=void 0===u?"clippingParents":u,p=t.rootBoundary,f=void 0===p?"viewport":p,d=t.elementContext,v=void 0===d?"popper":d,m=t.altBoundary,h=void 0!==m&&m,y=t.padding,b=void 0===y?0:y,w=P("number"!=typeof b?b:k(b,a)),O=e.elements.reference,E=e.rects.popper,T=e.elements[h?"popper"===v?"reference":"popper":v],C=F(l(T)?T:T.contextElement||x(e.elements.popper),c,f),A=g(O),D=Y({reference:A,element:E,strategy:"absolute",placement:s}),j=q(Object.assign({},E,D)),L="popper"===v?j:A,M={top:C.top-L.top+w.top,bottom:L.bottom-C.bottom+w.bottom,left:C.left-L.left+w.left,right:L.right-C.right+w.right},R=e.modifiersData.offset;if("popper"===v&&R){var S=R[s];Object.keys(M).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,i=[n,o].indexOf(e)>=0?"y":"x";M[e]+=S[i]*t}))}return M}function G(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,c=t.allowedAutoPlacements,p=void 0===c?u:c,f=X(t.placement),l=f?i?s:s.filter((function(e){return X(e)===f})):a,d=l.filter((function(e){return p.indexOf(e)>=0}));0===d.length&&(d=l);var v=d.reduce((function(t,i){return t[i]=J(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Q(e){return[n,r,o,i].some((function(t){return e[t]>=0}))}function Z(e,t,n){void 0===n&&(n=!1);var o,r,i=x(t),a=g(e),s=d(t),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==p(t)||$(i))&&(u=(o=t)!==f(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:N(o)),d(t)?((c=g(t)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=U(i))),{x:a.left+u.scrollLeft-c.x,y:a.top+u.scrollTop-c.y,width:a.width,height:a.height}}function ee(e){var t=new Map,n=new Set,o=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var r=t.get(o);r&&e(r)}})),o.push(r)}(e)})),o}var te={placement:"bottom",modifiers:[],strategy:"absolute"};function ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function oe(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?te:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},te,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],p=!1,f={state:s,setOptions:function(o){d(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:l(e)?_(e):e.contextElement?_(e.contextElement):[],popper:_(t)};var i,a,p=function(e){var t=ee(e);return c.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(n,s.options.modifiers),a=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(a).map((function(e){return a[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.options,n=e.effect;if("function"==typeof n){var o=n({state:s,name:e.name,instance:f,options:void 0===t?{}:t});u.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(ne(t,n)){s.rects={reference:Z(t,C(n),"fixed"===s.options.strategy),popper:y(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var r=s.orderedModifiers[o],i=r.fn,a=r.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:r.name,instance:f})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!ne(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(o).then((function(e){!p&&o.onFirstUpdate&&o.onFirstUpdate(e)})),f}}var re=oe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,s=void 0===a||a,u=f(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,H)})),s&&u.addEventListener("resize",n.update,H),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,H)})),s&&u.removeEventListener("resize",n.update,H)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:h(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,S(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,S(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},m,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.name,a=e.options.offset,s=void 0===a?[0,0]:a,c=u.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,u="function"==typeof o?o(Object.assign({},t,{placement:e})):o,c=u[0],p=u[1];return c=c||0,p=(p||0)*s,[i,r].indexOf(a)>=0?{x:p,y:c}:{x:c,y:p}}(o,t.rects,s),e}),{}),p=c[t.placement],f=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p.x,t.modifiersData.popperOffsets.y+=f),t.modifiersData[o]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0===p||p,l=a.fallbackPlacements,d=a.padding,v=a.boundary,m=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=t.options.placement,x=h(O),E=l||(x===O||!b?[V(O)]:function(e){if("auto"===h(e))return[];var t=V(e);return[W(e),t,W(t)]}(O)),T=[O].concat(E).reduce((function(e,n){return e.concat("auto"===h(n)?G(t,{placement:n,boundary:v,rootBoundary:m,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),C=t.rects.reference,A=t.rects.popper,D=new Map,j=!0,L=T[0],M=0;M<T.length;M++){var P=T[M],k=h(P),R="start"===X(P),S=[n,o].indexOf(k)>=0,H=S?"width":"height",B=J(t,{placement:P,boundary:v,rootBoundary:m,altBoundary:g,padding:d}),I=S?R?r:i:R?o:n;C[H]>A[H]&&(I=V(I));var N=V(I),U=[];if(c&&U.push(B[k]<=0),f&&U.push(B[I]<=0,B[N]<=0),U.every((function(e){return e}))){L=P,j=!1;break}D.set(P,U)}if(j)for(var $=function(e){var t=T.find((function(t){var n=D.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},_=b?3:1;_>0;_--){if("break"===$(_))break}t.placement!==L&&(t.modifiersData[s]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name,u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0!==p&&p,l=a.tether,d=void 0===l||l,v=a.tetherOffset,m=void 0===v?0:v,g=J(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),b=h(t.placement),w=X(t.placement),O=!w,x=A(b),E="x"===x?"y":"x",T=t.modifiersData.popperOffsets,L=t.rects.reference,P=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R={x:0,y:0};if(T){if(c||f){var S="y"===x?n:i,H="y"===x?o:r,B="y"===x?"height":"width",V=T[x],I=T[x]+g[S],W=T[x]-g[H],N=d?-P[B]/2:0,U="start"===w?L[B]:P[B],$="start"===w?-P[B]:-L[B],_=t.elements.arrow,q=d&&_?y(_):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=z[S],Y=z[H],G=M(0,L[B],q[B]),K=O?L[B]/2-N-G-F-k:U-G-F-k,Q=O?-L[B]/2+N+G+Y+k:$+G+Y+k,Z=t.elements.arrow&&C(t.elements.arrow),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,te=T[x]+K-ee-(Z?"y"===x?Z.clientTop||0:Z.clientLeft||0:0),ne=T[x]+Q-ee;if(c){var oe=M(d?j(I,te):I,V,d?D(W,ne):W);T[x]=oe,R[x]=oe-V}if(f){var re=T[E],ie=re+g["x"===x?n:i],ae=re-g["x"===x?o:r],se=M(d?j(ie,te):ie,re,d?D(ae,ne):ae);T[E]=se,R[E]=se-re}}t.modifiersData[s]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,u=e.name,c=e.options,p=s.elements.arrow,f=s.modifiersData.popperOffsets,l=h(s.placement),d=A(l),v=[i,r].indexOf(l)>=0?"height":"width";if(p&&f){var m=function(e,t){return P("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:k(e,a))}(c.padding,s),g=y(p),b="y"===d?n:i,w="y"===d?o:r,O=s.rects.reference[v]+s.rects.reference[d]-f[d]-s.rects.popper[v],x=f[d]-s.rects.reference[d],E=C(p),T=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,D=T/2-g[v]/2+(O/2-x/2),j=M(m[b],D,T-g[v]-m[w]);s.modifiersData[u]=((t={})[d]=j,t.centerOffset=j-D,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&b(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=J(t,{elementContext:"reference"}),s=J(t,{altBoundary:!0}),u=K(a,o),c=K(s,r,i),p=Q(u),f=Q(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),ie={passive:!0,capture:!0};function ae(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function se(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ue(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ce(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function pe(e){return[].concat(e)}function fe(e,t){-1===e.indexOf(t)&&e.push(t)}function le(e){return e.split("-")[0]}function de(e){return[].slice.call(e)}function ve(){return document.createElement("div")}function me(e){return["Element","Fragment"].some((function(t){return se(e,t)}))}function he(e){return se(e,"MouseEvent")}function ge(e){return me(e)?[e]:function(e){return se(e,"NodeList")}(e)?de(e):Array.isArray(e)?e:de(document.querySelectorAll(e))}function ye(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function be(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function we(e){var t,n=pe(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function Oe(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}var xe={isTouch:!1},Ee=0;function Te(){xe.isTouch||(xe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ce))}function Ce(){var e=performance.now();e-Ee<20&&(xe.isTouch=!1,document.removeEventListener("mousemove",Ce)),Ee=e}function Ae(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var De="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",je=/MSIE |Trident\//.test(De),Le=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Me=Object.keys(Le);function Pe(e){var t=(e.plugins||[]).reduce((function(t,n){var o=n.name;return o&&(t[o]=void 0!==e[o]?e[o]:n.defaultValue),t}),{});return Object.assign({},e,{},t)}function ke(e,t){var n=Object.assign({},t,{content:ue(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Pe(Object.assign({},Le,{plugins:t}))):Me).reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Le.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Re(e,t){e.innerHTML=t}function Se(e){var t=ve();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",me(e)?t.appendChild(e):Re(t,e)),t}function He(e,t){me(t.content)?(Re(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Re(e,t.content):e.textContent=t.content)}function Be(e){var t=e.firstElementChild,n=de(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ve(e){var t=ve(),n=ve();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=ve();function r(n,o){var r=Be(t),i=r.box,a=r.content,s=r.arrow;o.theme?i.setAttribute("data-theme",o.theme):i.removeAttribute("data-theme"),"string"==typeof o.animation?i.setAttribute("data-animation",o.animation):i.removeAttribute("data-animation"),o.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?i.setAttribute("role",o.role):i.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||He(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Se(o.arrow))):i.appendChild(Se(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),He(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ve.$$tippy=!0;var Ie=1,We=[],Ne=[];function Ue(e,t){var n,o,r,i,a,s,u,c,p,f=ke(e,Object.assign({},Le,{},Pe((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),l=!1,d=!1,v=!1,m=!1,h=[],g=ce(Y,f.interactiveDebounce),y=Ie++,b=(p=f.plugins).filter((function(e,t){return p.indexOf(e)===t})),w={id:y,reference:e,popper:ve(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(w.state.isDestroyed)return;S("onBeforeUpdate",[w,t]),F();var n=w.props,o=ke(e,Object.assign({},w.props,{},t,{ignoreAttributes:!0}));w.props=o,z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),g=ce(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?pe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");B(),R(),E&&E(n,o);w.popperInstance&&(Q(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));S("onAfterUpdate",[w,t])},setContent:function(e){w.setProps({content:e})},show:function(){var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,o=xe.isTouch&&!w.props.touch,r=ae(w.props.duration,0,Le.duration);if(e||t||n||o)return;if(L().hasAttribute("disabled"))return;if(S("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,j()&&(x.style.visibility="visible");R(),U(),w.state.isMounted||(x.style.transition="none");if(j()){var i=P();ye([i.box,i.content],0)}u=function(){var e;if(w.state.isVisible&&!m){if(m=!0,x.style.transition=w.props.moveTransition,j()&&w.props.animation){var t=P(),n=t.box,o=t.content;ye([n,o],r),be([n,o],"visible")}H(),B(),fe(Ne,w),null==(e=w.popperInstance)||e.forceUpdate(),w.state.isMounted=!0,S("onMount",[w]),w.props.animation&&j()&&function(e,t){_(e,t)}(r,(function(){w.state.isShown=!0,S("onShown",[w])}))}},function(){var e,t=w.props.appendTo,n=L();e=w.props.interactive&&t===Le.appendTo||"parent"===t?n.parentNode:ue(t,[n]);e.contains(x)||e.appendChild(x);Q()}()},hide:function(){var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,o=ae(w.props.duration,1,Le.duration);if(e||t||n)return;if(S("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,m=!1,l=!1,j()&&(x.style.visibility="hidden");if(V(),$(),R(),j()){var r=P(),i=r.box,a=r.content;w.props.animation&&(ye([i,a],o),be([i,a],"hidden"))}H(),B(),w.props.animation?j()&&function(e,t){_(e,(function(){!w.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(o,w.unmount):w.unmount()},hideWithInteractivity:function(e){M().addEventListener("mousemove",g),fe(We,g),g(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){w.state.isVisible&&w.hide();if(!w.state.isMounted)return;Z(),ee().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Ne=Ne.filter((function(e){return e!==w})),w.state.isMounted=!1,S("onHidden",[w])},destroy:function(){if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),F(),delete e._tippy,w.state.isDestroyed=!0,S("onDestroy",[w])}};if(!f.render)return w;var O=f.render(w),x=O.popper,E=O.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+w.id,w.popper=x,e._tippy=w,x._tippy=w;var T=b.map((function(e){return e.fn(w)})),C=e.hasAttribute("aria-expanded");return z(),B(),R(),S("onCreate",[w]),f.showOnCreate&&te(),x.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(e){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(M().addEventListener("mousemove",g),g(e))})),w;function A(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===A()[0]}function j(){var e;return!!(null==(e=w.props.render)?void 0:e.$$tippy)}function L(){return c||e}function M(){var e=L().parentNode;return e?we(e):document}function P(){return Be(x)}function k(e){return w.state.isMounted&&!w.state.isVisible||xe.isTouch||a&&"focus"===a.type?0:ae(w.props.delay,e?0:1,Le.delay)}function R(){x.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",x.style.zIndex=""+w.props.zIndex}function S(e,t,n){var o;(void 0===n&&(n=!0),T.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(o=w.props)[e].apply(o,t)}function H(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,o=x.id;pe(w.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(w.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var r=t&&t.replace(o,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function B(){!C&&w.props.aria.expanded&&pe(w.props.triggerTarget||e).forEach((function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")}))}function V(){M().removeEventListener("mousemove",g),We=We.filter((function(e){return e!==g}))}function I(e){if(!(xe.isTouch&&(v||"mousedown"===e.type)||w.props.interactive&&x.contains(e.target))){if(L().contains(e.target)){if(xe.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[w,e]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||$())}}function W(){v=!0}function N(){v=!1}function U(){var e=M();e.addEventListener("mousedown",I,!0),e.addEventListener("touchend",I,ie),e.addEventListener("touchstart",N,ie),e.addEventListener("touchmove",W,ie)}function $(){var e=M();e.removeEventListener("mousedown",I,!0),e.removeEventListener("touchend",I,ie),e.removeEventListener("touchstart",N,ie),e.removeEventListener("touchmove",W,ie)}function _(e,t){var n=P().box;function o(e){e.target===n&&(Oe(n,"remove",o),t())}if(0===e)return t();Oe(n,"remove",s),Oe(n,"add",o),s=o}function q(t,n,o){void 0===o&&(o=!1),pe(w.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),h.push({node:e,eventType:t,handler:n,options:o})}))}function z(){var e;D()&&(q("touchstart",X,{passive:!0}),q("touchend",J,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,X),e){case"mouseenter":q("mouseleave",J);break;case"focus":q(je?"focusout":"blur",G);break;case"focusin":q("focusout",G)}}))}function F(){h.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),h=[]}function X(e){var t,n=!1;if(w.state.isEnabled&&!K(e)&&!d){var o="focus"===(null==(t=a)?void 0:t.type);a=e,c=e.currentTarget,B(),!w.state.isVisible&&he(e)&&We.forEach((function(t){return t(e)})),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||l)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:te(e),"click"===e.type&&(l=!n),n&&!o&&ne(e)}}function Y(e){var t=e.target,n=L().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,i=e.props.interactiveBorder,a=le(r.placement),s=r.modifiersData.offset;return!s||(t.top-o+("bottom"===a?s.top.y:0)>i||o-t.bottom-("top"===a?s.bottom.y:0)>i||t.left-n+("right"===a?s.left.x:0)>i||n-t.right-("left"===a?s.right.x:0)>i)}))}(ee().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(V(),ne(e))}function J(e){K(e)||w.props.trigger.indexOf("click")>=0&&l||(w.props.interactive?w.hideWithInteractivity(e):ne(e))}function G(e){w.props.trigger.indexOf("focusin")<0&&e.target!==L()||w.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||ne(e)}function K(e){return!!xe.isTouch&&D()!==e.type.indexOf("touch")>=0}function Q(){Z();var t=w.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=j()?Be(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];j()&&s&&p.push({name:"arrow",options:{element:s,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),w.popperInstance=re(c,x,Object.assign({},n,{placement:o,onFirstUpdate:u,modifiers:p}))}function Z(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function ee(){return de(x.querySelectorAll("[data-tippy-root]"))}function te(e){w.clearDelayTimeouts(),e&&S("onTrigger",[w,e]),U();var t=k(!0),n=A(),r=n[1];xe.isTouch&&"hold"===n[0]&&r&&(t=r),t?o=setTimeout((function(){w.show()}),t):w.show()}function ne(e){if(w.clearDelayTimeouts(),S("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&l)){var t=k(!1);t?r=setTimeout((function(){w.state.isVisible&&w.hide()}),t):i=requestAnimationFrame((function(){w.hide()}))}}else $()}}function $e(e,t){void 0===t&&(t={});var n=Le.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Te,ie),window.addEventListener("blur",Ae);var o=Object.assign({},t,{plugins:n}),r=ge(e).reduce((function(e,t){var n=t&&Ue(t,o);return n&&e.push(n),e}),[]);return me(e)?r[0]:r}$e.defaultProps=Le,$e.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Le[t]=e[t]}))},$e.currentInput=xe;var _e=Object.assign({},m,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),qe=function(e,t){var n;void 0===t&&(t={});var o,r=e,i=[],a=t.overrides,s=[],u=!1;function c(){i=r.map((function(e){return e.reference}))}function p(e){r.forEach((function(t){e?t.enable():t.disable()}))}function f(e){return r.map((function(t){var n=t.setProps;return t.setProps=function(r){n(r),t.reference===o&&e.setProps(r)},function(){t.setProps=n}}))}function l(e,t){var n=i.indexOf(t);if(t!==o){o=t;var s=(a||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){return t.getBoundingClientRect()}}))}}p(!1),c();var d,v,m={fn:function(){return{onDestroy:function(){p(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,l(e,i[0]))},onTrigger:function(e,t){l(e,t.currentTarget)}}}},h=$e(ve(),Object.assign({},(d=["overrides"],v=Object.assign({},t),d.forEach((function(e){delete v[e]})),v),{plugins:[m].concat(t.plugins||[]),triggerTarget:i,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[_e])})})),g=h.show;h.show=function(e){return g(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&l(h,i[e]):r.includes(e)?l(h,e.reference):i.includes(e)?l(h,e):void 0:l(h,i[0])},h.showNext=function(){var e=i[0];if(!o)return h.show(0);var t=i.indexOf(o);h.show(i[t+1]||e)},h.showPrevious=function(){var e=i[i.length-1];if(!o)return h.show(e);var t=i.indexOf(o);h.show(i[t-1]||e)};var y=h.setProps;return h.setProps=function(e){a=e.overrides||a,y(e)},h.setInstances=function(e){p(!0),s.forEach((function(e){return e()})),r=e,p(!1),c(),f(h),h.setProps({triggerTarget:i})},s=f(h),h},ze={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!(null==(t=e.props.render)?void 0:t.$$tippy))return{};var n=Be(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=ve();return e.className="tippy-backdrop",be([e],"hidden"),e}():null;return{onCreate:function(){i&&(o.insertBefore(i,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=o.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,be([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&be([i],"hidden")}}}};var Fe={clientX:0,clientY:0},Xe=[];function Ye(e){Fe={clientX:e.clientX,clientY:e.clientY}}var Je={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=we(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function f(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+u,o=e.top+c);var s="horizontal"===r?e.top:o,p="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){e.props.followCursor&&(Xe.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Ye)}(n))}function d(){0===(Xe=Xe.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Ye)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!e.state.isMounted||r||s()||u()):(c(),p()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(Fe),i=!1),s()||u())},onTrigger:function(e,t){he(t)&&(Fe={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),i=!0)}}}};var Ge={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var i=r.state;e.props.inlinePositioning&&(t!==i.placement&&e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,o){if(n.length<2||null===e)return t;if(2===n.length&&o>=0&&n[0].left>n[1].right)return n[o]||t;switch(e){case"top":case"bottom":var r=n[0],i=n[n.length-1],a="top"===e,s=r.top,u=i.bottom,c=a?r.left:i.left,p=a?r.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),l=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return t}}(le(e),n.getBoundingClientRect(),de(n.getClientRects()),o)}(i.placement)}}),t=i.placement)}};function a(){var t;r||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,i),r=!0,e.setProps(t),r=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(he(n)){var r=de(e.reference.getClientRects()),i=r.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY}));o=r.indexOf(i)}},onUntrigger:function(){o=-1}}}};var Ke={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function o(t){return!0===e.props.sticky||e.props.sticky===t}var r=null,i=null;function a(){var s=o("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,u=o("popper")?n.getBoundingClientRect():null;(s&&Qe(r,s)||u&&Qe(i,u))&&e.popperInstance&&e.popperInstance.update(),r=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function Qe(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function Ze(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref();let a=null;const s=()=>a||(a=document.createElement("fragment"),a),u=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,s()),n=()=>s();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,s()),n=()=>s()}else n=o;return n},c=e=>{let n={};return n=t.isRef(e)?e.value:(t.isReactive(e),{...e}),n.content&&(n.content=u(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n},p=()=>{i.value&&i.value.setProps(c(n))},f=()=>{i.value&&n.content&&i.value.setContent(u(n.content))},l=()=>{i.value&&(i.value.destroy(),i.value=void 0),a=null},d=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=$e(o,c(n)),o.$tippy=v)},v={tippy:i,refresh:p,refreshContent:f,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(u(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(c(e))},destroy:l,hide:()=>{var e;null===(e=i.value)||void 0===e||e.hide()},show:()=>{var e;null===(e=i.value)||void 0===e||e.show()},disable:()=>{var e;null===(e=i.value)||void 0===e||e.disable()},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable()},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:d};return o.mount&&(r?(r.isMounted?d():t.onMounted(d),t.onUnmounted(()=>{l()})):d()),t.isRef(n)||t.isReactive(n)?t.watch(n,p,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,f,{immediate:!1}),v}function et(e,n){const o=t.ref();return t.onMounted(()=>{const t=(Array.isArray(e)?e.map(e=>e.value):"function"==typeof e?e():e.value).map(e=>e instanceof Element?e._tippy:e).filter(Boolean);o.value=qe(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}$e.setDefaultProps({render:Ve}),$e.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const tt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let nt={};Object.keys($e.defaultProps).forEach(e=>{nt[e]=tt.includes(e)?{type:Boolean,default:function(){return $e.defaultProps[e]}}:{default:function(){return $e.defaultProps[e]}}}),nt.to={},nt.tag={default:"span"},nt.contentTag={default:"span"},nt.contentClass={default:null};const ot=t.defineComponent({props:nt,setup(e,{slots:n}){const o=t.ref(),r=t.ref();let i=e;i.to&&delete i.to;let a=o;e.to&&(e.to instanceof Element?a=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(a=()=>document.querySelector(e.to)));const s=Ze(a,i);return t.onMounted(()=>{n.content&&s.setContent(()=>r.value)}),{elem:o,contentElem:r,...s}},render(){let e=this.$slots.default?this.$slots.default(this):[];return t.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[e,t.h(this.contentTag,{ref:"contentElem",class:this.contentClass},this.$slots.content(this))]:e)}}),rt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let it={};Object.keys($e.defaultProps).forEach(e=>{it[e]=rt.includes(e)?{type:Boolean,default:function(){return $e.defaultProps[e]}}:{default:function(){return $e.defaultProps[e]}}});const at=t.defineComponent({props:it,setup(e){const n=t.ref([]),{singleton:o}=et(n,e);return{instances:n,singleton:o}},mounted(){var e;const t=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(t).map(e=>e._tippy).filter(Boolean),null===(e=this.singleton)||void 0===e||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return t.h(()=>e)}}),st={mounted(e,t,n){const o="string"==typeof t.value?{content:t.value}:t.value||{};n.props&&n.props.onTippyShow&&(o.onShow=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShow(...e)}),n.props&&n.props.onTippyShown&&(o.onShown=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShown(...e)}),n.props&&n.props.onTippyHidden&&(o.onHidden=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHidden(...e)}),n.props&&n.props.onTippyHide&&(o.onHide=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHide(...e)}),n.props&&n.props.onTippyMount&&(o.onMount=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyMount(...e)}),e.getAttribute("title")&&!o.content&&(o.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!o.content&&(o.content=e.getAttribute("content")),Ze(e,o)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n="string"==typeof t.value?{content:t.value}:t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},ut={install(e,t={}){$e.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",st),e.component(t.component||"tippy",ot),e.component(t.componentSingleton||"tippy-singleton",at)}},ct=$e.setDefaultProps;return ct({ignoreAttributes:!0,plugins:[Ke,Ge,Je,ze]}),e.Tippy=ot,e.TippySingleton=at,e.default=ut,e.directive=st,e.plugin=ut,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.setDefaultProps=ct,e.tippy=$e,e.useSingleton=et,e.useTippy=Ze,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(ot,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
{
"name": "vue-tippy",
"version": "6.0.0-alpha.32",
"version": "6.0.0-alpha.33",
"main": "dist/vue-tippy.cjs.js",

@@ -5,0 +5,0 @@ "browser": "dist/vue-tippy.esm.js",

@@ -51,2 +51,3 @@ # VueTippy - V6 - WIP

<button v-tippy="{ content: 'Hi!' }">Tippy!</button>
<button v-tippy="'Hello!'">Tippy!</button>
</template>

@@ -53,0 +54,0 @@

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

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

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc