vue-tippy
Advanced tools
Comparing version 6.4.0 to 6.4.1
/*! | ||
* vue-tippy v6.4.0 | ||
* vue-tippy v6.4.1 | ||
* (c) 2023 | ||
* @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"])}),[]),p=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(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)&&c(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)&&c(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function h(e){return e.split("-")[0]}var g=Math.max,y=Math.min,b=Math.round;function w(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(d(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(o=b(n.width)/a||1),i>0&&(r=b(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function x(e){var t=w(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 O(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 T(e){return f(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(c(e))>=0}function A(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function E(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||A(e)}function C(e){return d(e)&&"fixed"!==T(e).position?e.offsetParent:null}function D(e){for(var t=f(e),n=C(e);n&&P(n)&&"static"===T(n).position;)n=C(n);return n&&("html"===c(n)||"body"===c(n)&&"static"===T(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===T(e).position)return null;for(var n=E(e);d(n)&&["html","body"].indexOf(c(n))<0;){var o=T(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 M(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function j(e,t,n){return g(e,y(t,n))}function S(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function L(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function R(e){return e.split("-")[1]}var k={top:"auto",right:"auto",bottom:"auto",left:"auto"};function B(e){var t,a=e.popper,s=e.popperRect,u=e.placement,p=e.variation,c=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,g=!0===m?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:b(e.x*n)/n||0,y:b(t*n)/n||0}}(c):"function"==typeof m?m(c):c,y=g.x,w=void 0===y?0:y,x=g.y,O=void 0===x?0:x,P=c.hasOwnProperty("x"),E=c.hasOwnProperty("y"),C=i,M=n,j=window;if(v){var S=D(a),L="clientHeight",R="clientWidth";if(S===f(a)&&"static"!==T(S=A(a)).position&&"absolute"===l&&(L="scrollHeight",R="scrollWidth"),S=S,u===n||(u===i||u===r)&&"end"===p)M=o,O-=(h&&j.visualViewport?j.visualViewport.height:S[L])-s.height,O*=d?1:-1;if(u===i||(u===n||u===o)&&"end"===p)C=r,w-=(h&&j.visualViewport?j.visualViewport.width:S[R])-s.width,w*=d?1:-1}var B,H=Object.assign({position:l},v&&k);return Object.assign({},H,d?((B={})[M]=E?"0":"",B[C]=P?"0":"",B.transform=(j.devicePixelRatio||1)<=1?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",B):((t={})[M]=E?O+"px":"",t[C]=P?w+"px":"",t.transform="",t))}var H={passive:!0};var V={left:"right",right:"left",bottom:"top",top:"bottom"};function I(e){return e.replace(/left|right|bottom|top/g,(function(e){return V[e]}))}var W={start:"end",end:"start"};function N(e){return e.replace(/start|end/g,(function(e){return W[e]}))}function U(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(e){return w(A(e)).left+U(e).scrollLeft}function q(e){var t=T(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function F(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:d(t)&&q(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||[],q(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(F(E(a)))}function $(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?$(function(e){var t=f(e),n=A(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+_(e),y:s}}(e)):l(t)?function(e){var t=w(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):$(function(e){var t,n=A(e),o=U(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=g(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=g(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+_(e),u=-o.scrollTop;return"rtl"===T(r||n).direction&&(s+=g(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(A(e)))}function X(e,t,n){var o="clippingParents"===t?function(e){var t=F(E(e)),n=["absolute","fixed"].indexOf(T(e).position)>=0,o=n&&d(e)?D(e):e;return l(o)?t.filter((function(e){return l(e)&&O(e,o)&&"body"!==c(e)&&(!n||"static"!==T(e).position)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=z(e,n);return t.top=g(o.top,t.top),t.right=y(o.right,t.right),t.bottom=y(o.bottom,t.bottom),t.left=g(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 Y(e){var t,a=e.reference,s=e.element,u=e.placement,p=u?h(u):null,c=u?R(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(p){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=p?M(p):null;if(null!=d){var v="y"===d?"height":"width";switch(c){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,p=void 0===u?"clippingParents":u,c=t.rootBoundary,f=void 0===c?"viewport":c,d=t.elementContext,v=void 0===d?"popper":d,m=t.altBoundary,h=void 0!==m&&m,g=t.padding,y=void 0===g?0:g,b=S("number"!=typeof y?y:L(y,a)),x=e.rects.popper,O=e.elements[h?"popper"===v?"reference":"popper":v],T=X(l(O)?O:O.contextElement||A(e.elements.popper),p,f),P=w(e.elements.reference),E=Y({reference:P,element:x,strategy:"absolute",placement:s}),C=$(Object.assign({},x,E)),D="popper"===v?C:P,M={top:T.top-D.top+b.top,bottom:D.bottom-T.bottom+b.bottom,left:T.left-D.left+b.left,right:D.right-T.right+b.right},j=e.modifiersData.offset;if("popper"===v&&j){var R=j[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]+=R[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,p=t.allowedAutoPlacements,c=void 0===p?u:p,f=R(t.placement),l=f?i?s:s.filter((function(e){return R(e)===f})):a,d=l.filter((function(e){return c.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=d(t),a=d(t)&&function(e){var t=e.getBoundingClientRect(),n=b(t.width)/e.offsetWidth||1,o=b(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),s=A(t),u=w(e,a),p={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==c(t)||q(s))&&(p=(o=t)!==f(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:U(o)),d(t)?((l=w(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=_(s))),{x:u.left+p.scrollLeft-l.x,y:u.top+p.scrollTop-l.y,width:u.width,height:u.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=[],c=!1,f={state:s,setOptions:function(o){var i="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},r,s.options,i),s.scrollParents={reference:l(e)?F(e):e.contextElement?F(e.contextElement):[],popper:F(t)};var a,c,v=function(e){var t=ee(e);return p.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(n,s.options.modifiers),c=a.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(c).map((function(e){return c[e]}))));return s.orderedModifiers=v.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(!c){var e=s.elements,t=e.reference,n=e.popper;if(ne(t,n)){s.rects={reference:Z(t,D(n),"fixed"===s.options.strategy),popper:x(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(),c=!0}};if(!ne(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(o).then((function(e){!c&&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),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach((function(e){e.addEventListener("scroll",n.update,H)})),s&&u.addEventListener("resize",n.update,H),function(){i&&p.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,p={placement:h(t.placement),variation:R(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,B(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,B(Object.assign({},p,{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,p=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,p=u[0],c=u[1];return p=p||0,c=(c||0)*s,[i,r].indexOf(a)>=0?{x:c,y:p}:{x:p,y:c}}(o,t.rects,s),e}),{}),c=p[t.placement],f=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c.x,t.modifiersData.popperOffsets.y+=f),t.modifiersData[o]=p}},{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,p=void 0===u||u,c=a.altAxis,f=void 0===c||c,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,x=t.options.placement,O=h(x),T=l||(O===x||!b?[I(x)]:function(e){if("auto"===h(e))return[];var t=I(e);return[N(e),t,N(t)]}(x)),P=[x].concat(T).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)}),[]),A=t.rects.reference,E=t.rects.popper,C=new Map,D=!0,M=P[0],j=0;j<P.length;j++){var S=P[j],L=h(S),k="start"===R(S),B=[n,o].indexOf(L)>=0,H=B?"width":"height",V=J(t,{placement:S,boundary:v,rootBoundary:m,altBoundary:g,padding:d}),W=B?k?r:i:k?o:n;A[H]>E[H]&&(W=I(W));var U=I(W),_=[];if(p&&_.push(V[L]<=0),f&&_.push(V[W]<=0,V[U]<=0),_.every((function(e){return e}))){M=S,D=!1;break}C.set(S,_)}if(D)for(var q=function(e){var t=P.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},F=b?3:1;F>0;F--){if("break"===q(F))break}t.placement!==M&&(t.modifiersData[s]._skip=!0,t.placement=M,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,p=void 0===u||u,c=a.altAxis,f=void 0!==c&&c,l=a.tether,d=void 0===l||l,v=a.tetherOffset,m=void 0===v?0:v,b=J(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=h(t.placement),O=R(t.placement),T=!O,P=M(w),A="x"===P?"y":"x",E=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,L="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(E){if(p){var V,I="y"===P?n:i,W="y"===P?o:r,N="y"===P?"height":"width",U=E[P],_=U+b[I],q=U-b[W],F=d?-S[N]/2:0,$="start"===O?C[N]:S[N],z="start"===O?-S[N]:-C[N],X=t.elements.arrow,Y=d&&X?x(X):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=G[I],Q=G[W],Z=j(0,C[N],Y[N]),ee=T?C[N]/2-F-Z-K-k.mainAxis:$-Z-K-k.mainAxis,te=T?-C[N]/2+F+Z+Q+k.mainAxis:z+Z+Q+k.mainAxis,ne=t.elements.arrow&&D(t.elements.arrow),oe=null!=(V=null==B?void 0:B[P])?V:0,re=U+te-oe,ie=j(d?y(_,U+ee-oe-(ne?"y"===P?ne.clientTop||0:ne.clientLeft||0:0)):_,U,d?g(q,re):q);E[P]=ie,H[P]=ie-U}if(f){var ae,se=E[A],ue="y"===A?"height":"width",pe=se+b["x"===P?n:i],ce=se-b["x"===P?o:r],fe=-1!==[n,i].indexOf(w),le=null!=(ae=null==B?void 0:B[A])?ae:0,de=fe?pe:se-C[ue]-S[ue]-le+k.altAxis,ve=fe?se+C[ue]+S[ue]-le-k.altAxis:ce,me=d&&fe?function(e,t,n){var o=j(e,t,n);return o>n?n:o}(de,se,ve):j(d?de:pe,se,d?ve:ce);E[A]=me,H[A]=me-se}t.modifiersData[s]=H}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,u=e.name,p=e.options,c=s.elements.arrow,f=s.modifiersData.popperOffsets,l=h(s.placement),d=M(l),v=[i,r].indexOf(l)>=0?"height":"width";if(c&&f){var m=function(e,t){return S("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:L(e,a))}(p.padding,s),g=x(c),y="y"===d?n:i,b="y"===d?o:r,w=s.rects.reference[v]+s.rects.reference[d]-f[d]-s.rects.popper[v],O=f[d]-s.rects.reference[d],T=D(c),P=T?"y"===d?T.clientHeight||0:T.clientWidth||0:0,A=P/2-g[v]/2+(w/2-O/2),E=j(m[y],A,P-g[v]-m[b]);s.modifiersData[u]=((t={})[d]=E,t.centerOffset=E-A,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)))&&O(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),p=K(s,r,i),c=Q(u),f=Q(p);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),ie={passive:!0,capture:!0},ae=function(){return document.body};function se(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function ue(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function pe(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 fe(e){return[].concat(e)}function le(e,t){-1===e.indexOf(t)&&e.push(t)}function de(e){return e.split("-")[0]}function ve(e){return[].slice.call(e)}function me(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function he(){return document.createElement("div")}function ge(e){return["Element","Fragment"].some((function(t){return ue(e,t)}))}function ye(e){return ue(e,"MouseEvent")}function be(e){return ge(e)?[e]:function(e){return ue(e,"NodeList")}(e)?ve(e):Array.isArray(e)?e:ve(document.querySelectorAll(e))}function we(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function xe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Oe(e){var t,n=fe(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Te(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Pe(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var Ae={isTouch:!1},Ee=0;function Ce(){Ae.isTouch||(Ae.isTouch=!0,window.performance&&document.addEventListener("mousemove",De))}function De(){var e=performance.now();e-Ee<20&&(Ae.isTouch=!1,document.removeEventListener("mousemove",De)),Ee=e}function Me(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var je=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,Se=Object.assign({appendTo:ae,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}),Le=Object.keys(Se);function Re(e){var t=(e.plugins||[]).reduce((function(t,n){var o,r=n.name;r&&(t[r]=void 0!==e[r]?e[r]:null!=(o=Se[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function ke(e,t){var n=Object.assign({},t,{content:pe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Re(Object.assign({},Se,{plugins:t}))):Le).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({},Se.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 Be(e,t){e.innerHTML=t}function He(e){var t=he();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",ge(e)?t.appendChild(e):Be(t,e)),t}function Ve(e,t){ge(t.content)?(Be(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Be(e,t.content):e.textContent=t.content)}function Ie(e){var t=e.firstElementChild,n=ve(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 We(e){var t=he(),n=he();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=he();function r(n,o){var r=Ie(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||Ve(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(He(o.arrow))):i.appendChild(He(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Ve(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}We.$$tippy=!0;var Ne=1,Ue=[],_e=[];function qe(e,t){var n,o,r,i,a,s,u,p,c=ke(e,Object.assign({},Se,Re(me(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=ce(X,c.interactiveDebounce),g=Ne++,y=(p=c.plugins).filter((function(e,t){return p.indexOf(e)===t})),b={id:g,reference:e,popper:he(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){if(b.state.isDestroyed)return;R("onBeforeUpdate",[b,t]),$();var n=b.props,o=ke(e,Object.assign({},n,me(t),{ignoreAttributes:!0}));b.props=o,F(),n.interactiveDebounce!==o.interactiveDebounce&&(H(),h=ce(X,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?fe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");B(),L(),O&&O(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));R("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Ae.isTouch&&!b.props.touch,r=se(b.props.duration,0,Se.duration);if(e||t||n||o)return;if(D().hasAttribute("disabled"))return;if(R("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(x.style.visibility="visible");L(),N(),b.state.isMounted||(x.style.transition="none");if(C()){var i=j();we([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=j(),n=t.box,o=t.content;we([n,o],r),xe([n,o],"visible")}k(),B(),le(_e,b),null==(e=b.popperInstance)||e.forceUpdate(),R("onMount",[b]),b.props.animation&&C()&&function(e,t){_(e,t)}(r,(function(){b.state.isShown=!0,R("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=D();e=b.props.interactive&&t===ae||"parent"===t?n.parentNode:pe(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K()}()},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=se(b.props.duration,1,Se.duration);if(e||t||n)return;if(R("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,C()&&(x.style.visibility="hidden");if(H(),U(),L(!0),C()){var r=j(),i=r.box,a=r.content;b.props.animation&&(we([i,a],o),xe([i,a],"hidden"))}k(),B(),b.props.animation?C()&&function(e,t){_(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){M().addEventListener("mousemove",h),le(Ue,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);_e=_e.filter((function(e){return e!==b})),b.state.isMounted=!1,R("onHidden",[b])},destroy:function(){if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),$(),delete e._tippy,b.state.isDestroyed=!0,R("onDestroy",[b])}};if(!c.render)return b;var w=c.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var T=y.map((function(e){return e.fn(b)})),P=e.hasAttribute("aria-expanded");return F(),B(),L(),R("onCreate",[b]),c.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===A()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function D(){return u||e}function M(){var e=D().parentNode;return e?Oe(e):document}function j(){return Ie(x)}function S(e){return b.state.isMounted&&!b.state.isVisible||Ae.isTouch||i&&"focus"===i.type?0:se(b.props.delay,e?0:1,Se.delay)}function L(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function R(e,t,n){var o;(void 0===n&&(n=!0),T.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=b.props)[e].apply(o,t)}function k(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=x.id;fe(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.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(){!P&&b.props.aria.expanded&&fe(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===D()?"true":"false"):e.removeAttribute("aria-expanded")}))}function H(){M().removeEventListener("mousemove",h),Ue=Ue.filter((function(e){return e!==h}))}function V(t){if(!Ae.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Pe(x,n)){if(fe(b.props.triggerTarget||e).some((function(e){return Pe(e,n)}))){if(Ae.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout((function(){l=!1})),b.state.isMounted||U())}}}function I(){d=!0}function W(){d=!1}function N(){var e=M();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,ie),e.addEventListener("touchstart",W,ie),e.addEventListener("touchmove",I,ie)}function U(){var e=M();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,ie),e.removeEventListener("touchstart",W,ie),e.removeEventListener("touchmove",I,ie)}function _(e,t){var n=j().box;function o(e){e.target===n&&(Te(n,"remove",o),t())}if(0===e)return t();Te(n,"remove",a),Te(n,"add",o),a=o}function q(t,n,o){void 0===o&&(o=!1),fe(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),m.push({node:e,eventType:t,handler:n,options:o})}))}function F(){var e;E()&&(q("touchstart",z,{passive:!0}),q("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,z),e){case"mouseenter":q("mouseleave",Y);break;case"focus":q(je?"focusout":"blur",J);break;case"focusin":q("focusout",J)}}))}function $(){m.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),m=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var o="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,B(),!b.state.isVisible&&ye(e)&&Ue.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!o&&te(e)}}function X(e){var t=e.target,n=D().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=de(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)}))}(Z().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:c}:null})).filter(Boolean),e)&&(H(),te(e))}function Y(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==D()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Ae.isTouch&&E()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=C()?Ie(x).arrow:null,p=i?{getBoundingClientRect:i,contextElement:i.contextElement||D()}:e,c=[{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(C()){var n=j().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={}}}}];C()&&u&&c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=re(p,x,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:c}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return ve(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&R("onTrigger",[b,e]),N();var t=S(!0),o=A(),r=o[1];Ae.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),R("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=S(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else U()}}function Fe(e,t){void 0===t&&(t={});var n=Se.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ce,ie),window.addEventListener("blur",Me);var o=Object.assign({},t,{plugins:n}),r=be(e).reduce((function(e,t){var n=t&&qe(t,o);return n&&e.push(n),e}),[]);return ge(e)?r[0]:r}Fe.defaultProps=Se,Fe.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Se[t]=e[t]}))},Fe.currentInput=Ae;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)}}),ze=function(e,t){var n;void 0===t&&(t={});var o,r=e,i=[],a=[],s=t.overrides,u=[],p=!1;function c(){a=r.map((function(e){return fe(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function f(){i=r.map((function(e){return e.reference}))}function l(e){r.forEach((function(t){e?t.enable():t.disable()}))}function d(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 v(e,t){var n=a.indexOf(t);if(t!==o){o=t;var u=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}l(!1),f(),c();var m,h,g={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!p&&(p=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!p&&(p=!0,v(e,i[0]))},onTrigger:function(e,t){v(e,t.currentTarget)}}}},y=Fe(he(),Object.assign({},(m=["overrides"],h=Object.assign({},t),m.forEach((function(e){delete h[e]})),h),{plugins:[g].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[$e])})})),b=y.show;y.show=function(e){return b(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&v(y,i[e]):r.indexOf(e)>=0?v(y,e.reference):i.indexOf(e)>=0?v(y,e):void 0:v(y,i[0])},y.showNext=function(){var e=i[0];if(!o)return y.show(0);var t=i.indexOf(o);y.show(i[t+1]||e)},y.showPrevious=function(){var e=i[i.length-1];if(!o)return y.show(e);var t=i.indexOf(o);y.show(i[t-1]||e)};var w=y.setProps;return y.setProps=function(e){s=e.overrides||s,w(e)},y.setInstances=function(e){l(!0),u.forEach((function(e){return e()})),r=e,l(!1),f(),c(),u=d(y),y.setProps({triggerTarget:a})},u=d(y),y},Xe={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=Ie(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=he();return e.className="tippy-backdrop",xe([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,xe([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&xe([i],"hidden")}}}};var Ye={clientX:0,clientY:0},Je=[];function Ge(e){Ye={clientX:e.clientX,clientY:e.clientY}}var Ke={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Oe(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 p(){n.removeEventListener("mousemove",f)}function c(){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,p=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+p);var s="horizontal"===r?e.top:o,c="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:c-l,height:f-s,top:s,right:c,bottom:f,left:l}}})}function l(){e.props.followCursor&&(Je.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Ge)}(n))}function d(){0===(Je=Je.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Ge)}(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()):(p(),c()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(Ye),i=!1),s()||u())},onTrigger:function(e,t){ye(t)&&(Ye={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(c(),p(),i=!0)}}}};var Qe={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var a=r.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.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,p=a?r.left:i.left,c=a?r.right:i.right;return{top:s,bottom:u,left:p,right:c,width:c-p,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}}(de(e),n.getBoundingClientRect(),ve(n.getClientRects()),o)}(a.placement)}})),t=a.placement)}};function s(){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,a),r=!0,e.setProps(t),r=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(ye(n)){var r=ve(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})),a=r.indexOf(i);o=a>-1?a:o}},onHidden:function(){o=-1}}}};var Ze={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&&et(r,s)||u&&et(i,u))&&e.popperInstance&&e.popperInstance.update(),r=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function et(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function tt(e,n={},o={mount:!0,appName:"Tippy"}){o=Object.assign({mount:!0,appName:"Tippy"},o);const r=t.getCurrentInstance(),i=t.ref(),a=t.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),s=t.shallowRef();let u=null;const p=()=>u||(u=document.createDocumentFragment(),u),c=e=>{let n,i=t.isRef(e)?e.value:e;if(t.isVNode(i))s.value||(s.value=t.createApp({name:o.appName,render:()=>i}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(p())),n=()=>p();else if("object"==typeof i){if(!s.value){let e=t.h(i);s.value=t.createApp({name:o.appName,render:()=>e}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(p())}n=()=>p()}else n=i;return n},f=e=>{let n={};return n=t.isRef(e)?e.value||{}:(t.isReactive(e),{...e}),n.content&&(n.content=c(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins&&Array.isArray(n.plugins)||(n.plugins=[]),n.plugins=n.plugins.filter(e=>"vueTippyReactiveState"!==e.name),n.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){a.value.isEnabled=!0},onMount(){a.value.isMounted=!0},onShow(){a.value.isMounted=!0,a.value.isVisible=!0},onShown(){a.value.isShown=!0},onHide(){a.value.isMounted=!1,a.value.isVisible=!1},onHidden(){a.value.isShown=!1},onUnmounted(){a.value.isMounted=!1},onDestroy(){a.value.isDestroyed=!0}})}),n},l=()=>{i.value&&i.value.setProps(f(n))},d=()=>{i.value&&n.content&&i.value.setContent(c(n.content))},v=()=>{var e;i.value&&(i.value.destroy(),i.value=void 0),u=null,null===(e=s.value)||void 0===e||e.unmount(),s.value=void 0},m=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=Fe(o,f(n)),o.$tippy=h)},h={tippy:i,refresh:l,refreshContent:d,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(c(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(f(e))},destroy:v,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(),a.value.isEnabled=!1},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable(),a.value.isEnabled=!0},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:m,state:a};return o.mount&&(r?r.isMounted?m():t.onMounted(m):m()),r&&t.onUnmounted(()=>{v()}),t.isRef(n)||t.isReactive(n)?t.watch(n,l,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,d,{immediate:!1}),h}function nt(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=ze(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}function ot(e){var n,o;const r="function"==typeof(i=e)?i():t.unref(i);var i;return null!==(o=null===(n=r)||void 0===n?void 0:n.$el)&&void 0!==o?o:r}Fe.setDefaultProps({render:We}),Fe.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const rt=t.defineComponent({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Fe.defaultProps.appendTo},aria:{default:()=>Fe.defaultProps.aria},delay:{default:()=>Fe.defaultProps.delay},duration:{default:()=>Fe.defaultProps.duration},getReferenceClientRect:{default:()=>Fe.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Fe.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Fe.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Fe.defaultProps.interactive},interactiveBorder:{default:()=>Fe.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Fe.defaultProps.interactiveDebounce},moveTransition:{default:()=>Fe.defaultProps.moveTransition},offset:{default:()=>Fe.defaultProps.offset},onAfterUpdate:{default:()=>Fe.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Fe.defaultProps.onBeforeUpdate},onCreate:{default:()=>Fe.defaultProps.onCreate},onDestroy:{default:()=>Fe.defaultProps.onDestroy},onHidden:{default:()=>Fe.defaultProps.onHidden},onHide:{default:()=>Fe.defaultProps.onHide},onMount:{default:()=>Fe.defaultProps.onMount},onShow:{default:()=>Fe.defaultProps.onShow},onShown:{default:()=>Fe.defaultProps.onShown},onTrigger:{default:()=>Fe.defaultProps.onTrigger},onUntrigger:{default:()=>Fe.defaultProps.onUntrigger},onClickOutside:{default:()=>Fe.defaultProps.onClickOutside},placement:{default:()=>Fe.defaultProps.placement},plugins:{default:()=>Fe.defaultProps.plugins},popperOptions:{default:()=>Fe.defaultProps.popperOptions},render:{default:()=>Fe.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Fe.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Fe.defaultProps.touch},trigger:{default:()=>Fe.defaultProps.trigger},triggerTarget:{default:()=>Fe.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Fe.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Fe.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Fe.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Fe.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Fe.defaultProps.allowHTML},animation:{default:()=>Fe.defaultProps.animation},arrow:{default:()=>Fe.defaultProps.arrow},content:{default:()=>Fe.defaultProps.content},inertia:{default:()=>Fe.defaultProps.inertia},maxWidth:{default:()=>Fe.defaultProps.maxWidth},role:{default:()=>Fe.defaultProps.role},theme:{default:()=>Fe.defaultProps.theme},zIndex:{default:()=>Fe.defaultProps.zIndex}},emits:["state"],setup(e,{slots:n,emit:o,expose:r}){const i=t.ref(),a=t.ref(),s=t.ref(),u=t.ref(!1),p=()=>{let t={...e};for(const e of["to","tag","contentTag","contentClass"])t.hasOwnProperty(e)&&delete t[e];return t};let c=()=>ot(i);e.to&&("undefined"!=typeof Element&&e.to instanceof Element?c=()=>e.to:"parent"===e.to?c=()=>{let e=i.value;return e||(e=i.value=a.value.parentElement),e}:("string"==typeof e.to||e.to instanceof String)&&(c=()=>document.querySelector(e.to)));const f=tt(c,p());let l=n.content;l||"parent"!==e.to||(l=n.default),t.onMounted(()=>{u.value=!0,t.nextTick(()=>{l&&f.setContent(()=>s.value)})}),t.watch(f.state,()=>{o("state",t.unref(f.state))},{immediate:!0,deep:!0}),t.watch(()=>e,()=>{f.setProps(p()),l&&f.setContent(()=>s.value)},{deep:!0});let d=t.reactive({elem:i,contentElem:s,mounted:u,...f});return r(d),()=>{const o=l?t.h(e.contentTag,{ref:s,style:{display:u.value?"inherit":"none"},class:e.contentClass},l(d)):null;if("parent"===e.to){const e=[];if(!i.value){const n=t.h("span",{ref:a,"data-v-tippy":"",style:{display:"none"}});e.push(n)}return o&&e.push(o),e}const r=n.default?n.default(d):[];if(!e.tag){const e=t.h(r[0],{ref:i,"data-v-tippy":""});return o?[e,o]:e}return t.h(e.tag,{ref:i,"data-v-tippy":""},o?[r,o]:r)}}}),it=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let at={};Object.keys(Fe.defaultProps).forEach(e=>{at[e]=it.includes(e)?{type:Boolean,default:function(){return Fe.defaultProps[e]}}:{default:function(){return Fe.defaultProps[e]}}});const st=t.defineComponent({props:at,setup(e){const n=t.ref([]),{singleton:o}=nt(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)}}),ut={mounted(e,t,n){const o="string"==typeof t.value?{content:t.value}:t.value||{},r=Object.keys(t.modifiers||{}),i=r.find(e=>"arrow"!==e),a=-1!==r.findIndex(e=>"arrow"===e);i&&(o.placement=o.placement||i),a&&(o.arrow=void 0===o.arrow||o.arrow),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")),tt(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||{})}},pt={install(e,t={}){Fe.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",ut),e.component(t.component||"tippy",rt),e.component(t.componentSingleton||"tippy-singleton",st)}},ct=Fe.setDefaultProps;return ct({ignoreAttributes:!0,plugins:[Ze,Qe,Ke,Xe]}),e.Tippy=rt,e.TippySingleton=st,e.default=pt,e.directive=ut,e.plugin=pt,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=Fe,e.useSingleton=nt,e.useTippy=tt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(rt,{...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"])}),[]),p=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(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)&&c(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)&&c(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function h(e){return e.split("-")[0]}var g=Math.max,y=Math.min,b=Math.round;function w(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(d(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(o=b(n.width)/a||1),i>0&&(r=b(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function x(e){var t=w(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 O(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 T(e){return f(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(c(e))>=0}function A(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function E(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||A(e)}function C(e){return d(e)&&"fixed"!==T(e).position?e.offsetParent:null}function D(e){for(var t=f(e),n=C(e);n&&P(n)&&"static"===T(n).position;)n=C(n);return n&&("html"===c(n)||"body"===c(n)&&"static"===T(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===T(e).position)return null;for(var n=E(e);d(n)&&["html","body"].indexOf(c(n))<0;){var o=T(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 M(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function j(e,t,n){return g(e,y(t,n))}function R(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function S(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function L(e){return e.split("-")[1]}var k={top:"auto",right:"auto",bottom:"auto",left:"auto"};function B(e){var t,a=e.popper,s=e.popperRect,u=e.placement,p=e.variation,c=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,g=!0===m?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:b(e.x*n)/n||0,y:b(t*n)/n||0}}(c):"function"==typeof m?m(c):c,y=g.x,w=void 0===y?0:y,x=g.y,O=void 0===x?0:x,P=c.hasOwnProperty("x"),E=c.hasOwnProperty("y"),C=i,M=n,j=window;if(v){var R=D(a),S="clientHeight",L="clientWidth";if(R===f(a)&&"static"!==T(R=A(a)).position&&"absolute"===l&&(S="scrollHeight",L="scrollWidth"),R=R,u===n||(u===i||u===r)&&"end"===p)M=o,O-=(h&&j.visualViewport?j.visualViewport.height:R[S])-s.height,O*=d?1:-1;if(u===i||(u===n||u===o)&&"end"===p)C=r,w-=(h&&j.visualViewport?j.visualViewport.width:R[L])-s.width,w*=d?1:-1}var B,H=Object.assign({position:l},v&&k);return Object.assign({},H,d?((B={})[M]=E?"0":"",B[C]=P?"0":"",B.transform=(j.devicePixelRatio||1)<=1?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",B):((t={})[M]=E?O+"px":"",t[C]=P?w+"px":"",t.transform="",t))}var H={passive:!0};var V={left:"right",right:"left",bottom:"top",top:"bottom"};function I(e){return e.replace(/left|right|bottom|top/g,(function(e){return V[e]}))}var W={start:"end",end:"start"};function N(e){return e.replace(/start|end/g,(function(e){return W[e]}))}function U(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(e){return w(A(e)).left+U(e).scrollLeft}function q(e){var t=T(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function F(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:d(t)&&q(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||[],q(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(F(E(a)))}function $(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?$(function(e){var t=f(e),n=A(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+_(e),y:s}}(e)):l(t)?function(e){var t=w(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):$(function(e){var t,n=A(e),o=U(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=g(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=g(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+_(e),u=-o.scrollTop;return"rtl"===T(r||n).direction&&(s+=g(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(A(e)))}function X(e,t,n){var o="clippingParents"===t?function(e){var t=F(E(e)),n=["absolute","fixed"].indexOf(T(e).position)>=0,o=n&&d(e)?D(e):e;return l(o)?t.filter((function(e){return l(e)&&O(e,o)&&"body"!==c(e)&&(!n||"static"!==T(e).position)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=z(e,n);return t.top=g(o.top,t.top),t.right=y(o.right,t.right),t.bottom=y(o.bottom,t.bottom),t.left=g(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 Y(e){var t,a=e.reference,s=e.element,u=e.placement,p=u?h(u):null,c=u?L(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(p){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=p?M(p):null;if(null!=d){var v="y"===d?"height":"width";switch(c){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,p=void 0===u?"clippingParents":u,c=t.rootBoundary,f=void 0===c?"viewport":c,d=t.elementContext,v=void 0===d?"popper":d,m=t.altBoundary,h=void 0!==m&&m,g=t.padding,y=void 0===g?0:g,b=R("number"!=typeof y?y:S(y,a)),x=e.rects.popper,O=e.elements[h?"popper"===v?"reference":"popper":v],T=X(l(O)?O:O.contextElement||A(e.elements.popper),p,f),P=w(e.elements.reference),E=Y({reference:P,element:x,strategy:"absolute",placement:s}),C=$(Object.assign({},x,E)),D="popper"===v?C:P,M={top:T.top-D.top+b.top,bottom:D.bottom-T.bottom+b.bottom,left:T.left-D.left+b.left,right:D.right-T.right+b.right},j=e.modifiersData.offset;if("popper"===v&&j){var L=j[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]+=L[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,p=t.allowedAutoPlacements,c=void 0===p?u:p,f=L(t.placement),l=f?i?s:s.filter((function(e){return L(e)===f})):a,d=l.filter((function(e){return c.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=d(t),a=d(t)&&function(e){var t=e.getBoundingClientRect(),n=b(t.width)/e.offsetWidth||1,o=b(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),s=A(t),u=w(e,a),p={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==c(t)||q(s))&&(p=(o=t)!==f(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:U(o)),d(t)?((l=w(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=_(s))),{x:u.left+p.scrollLeft-l.x,y:u.top+p.scrollTop-l.y,width:u.width,height:u.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=[],c=!1,f={state:s,setOptions:function(o){var i="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},r,s.options,i),s.scrollParents={reference:l(e)?F(e):e.contextElement?F(e.contextElement):[],popper:F(t)};var a,c,v=function(e){var t=ee(e);return p.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(n,s.options.modifiers),c=a.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(c).map((function(e){return c[e]}))));return s.orderedModifiers=v.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(!c){var e=s.elements,t=e.reference,n=e.popper;if(ne(t,n)){s.rects={reference:Z(t,D(n),"fixed"===s.options.strategy),popper:x(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(),c=!0}};if(!ne(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(o).then((function(e){!c&&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),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach((function(e){e.addEventListener("scroll",n.update,H)})),s&&u.addEventListener("resize",n.update,H),function(){i&&p.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,p={placement:h(t.placement),variation:L(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,B(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,B(Object.assign({},p,{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,p=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,p=u[0],c=u[1];return p=p||0,c=(c||0)*s,[i,r].indexOf(a)>=0?{x:c,y:p}:{x:p,y:c}}(o,t.rects,s),e}),{}),c=p[t.placement],f=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c.x,t.modifiersData.popperOffsets.y+=f),t.modifiersData[o]=p}},{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,p=void 0===u||u,c=a.altAxis,f=void 0===c||c,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,x=t.options.placement,O=h(x),T=l||(O===x||!b?[I(x)]:function(e){if("auto"===h(e))return[];var t=I(e);return[N(e),t,N(t)]}(x)),P=[x].concat(T).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)}),[]),A=t.rects.reference,E=t.rects.popper,C=new Map,D=!0,M=P[0],j=0;j<P.length;j++){var R=P[j],S=h(R),k="start"===L(R),B=[n,o].indexOf(S)>=0,H=B?"width":"height",V=J(t,{placement:R,boundary:v,rootBoundary:m,altBoundary:g,padding:d}),W=B?k?r:i:k?o:n;A[H]>E[H]&&(W=I(W));var U=I(W),_=[];if(p&&_.push(V[S]<=0),f&&_.push(V[W]<=0,V[U]<=0),_.every((function(e){return e}))){M=R,D=!1;break}C.set(R,_)}if(D)for(var q=function(e){var t=P.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},F=b?3:1;F>0;F--){if("break"===q(F))break}t.placement!==M&&(t.modifiersData[s]._skip=!0,t.placement=M,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,p=void 0===u||u,c=a.altAxis,f=void 0!==c&&c,l=a.tether,d=void 0===l||l,v=a.tetherOffset,m=void 0===v?0:v,b=J(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=h(t.placement),O=L(t.placement),T=!O,P=M(w),A="x"===P?"y":"x",E=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(E){if(p){var V,I="y"===P?n:i,W="y"===P?o:r,N="y"===P?"height":"width",U=E[P],_=U+b[I],q=U-b[W],F=d?-R[N]/2:0,$="start"===O?C[N]:R[N],z="start"===O?-R[N]:-C[N],X=t.elements.arrow,Y=d&&X?x(X):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=G[I],Q=G[W],Z=j(0,C[N],Y[N]),ee=T?C[N]/2-F-Z-K-k.mainAxis:$-Z-K-k.mainAxis,te=T?-C[N]/2+F+Z+Q+k.mainAxis:z+Z+Q+k.mainAxis,ne=t.elements.arrow&&D(t.elements.arrow),oe=null!=(V=null==B?void 0:B[P])?V:0,re=U+te-oe,ie=j(d?y(_,U+ee-oe-(ne?"y"===P?ne.clientTop||0:ne.clientLeft||0:0)):_,U,d?g(q,re):q);E[P]=ie,H[P]=ie-U}if(f){var ae,se=E[A],ue="y"===A?"height":"width",pe=se+b["x"===P?n:i],ce=se-b["x"===P?o:r],fe=-1!==[n,i].indexOf(w),le=null!=(ae=null==B?void 0:B[A])?ae:0,de=fe?pe:se-C[ue]-R[ue]-le+k.altAxis,ve=fe?se+C[ue]+R[ue]-le-k.altAxis:ce,me=d&&fe?function(e,t,n){var o=j(e,t,n);return o>n?n:o}(de,se,ve):j(d?de:pe,se,d?ve:ce);E[A]=me,H[A]=me-se}t.modifiersData[s]=H}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,u=e.name,p=e.options,c=s.elements.arrow,f=s.modifiersData.popperOffsets,l=h(s.placement),d=M(l),v=[i,r].indexOf(l)>=0?"height":"width";if(c&&f){var m=function(e,t){return R("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:S(e,a))}(p.padding,s),g=x(c),y="y"===d?n:i,b="y"===d?o:r,w=s.rects.reference[v]+s.rects.reference[d]-f[d]-s.rects.popper[v],O=f[d]-s.rects.reference[d],T=D(c),P=T?"y"===d?T.clientHeight||0:T.clientWidth||0:0,A=P/2-g[v]/2+(w/2-O/2),E=j(m[y],A,P-g[v]-m[b]);s.modifiersData[u]=((t={})[d]=E,t.centerOffset=E-A,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)))&&O(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),p=K(s,r,i),c=Q(u),f=Q(p);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),ie={passive:!0,capture:!0},ae=function(){return document.body};function se(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function ue(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function pe(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 fe(e){return[].concat(e)}function le(e,t){-1===e.indexOf(t)&&e.push(t)}function de(e){return e.split("-")[0]}function ve(e){return[].slice.call(e)}function me(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function he(){return document.createElement("div")}function ge(e){return["Element","Fragment"].some((function(t){return ue(e,t)}))}function ye(e){return ue(e,"MouseEvent")}function be(e){return ge(e)?[e]:function(e){return ue(e,"NodeList")}(e)?ve(e):Array.isArray(e)?e:ve(document.querySelectorAll(e))}function we(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function xe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Oe(e){var t,n=fe(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Te(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Pe(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var Ae={isTouch:!1},Ee=0;function Ce(){Ae.isTouch||(Ae.isTouch=!0,window.performance&&document.addEventListener("mousemove",De))}function De(){var e=performance.now();e-Ee<20&&(Ae.isTouch=!1,document.removeEventListener("mousemove",De)),Ee=e}function Me(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var je=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,Re=Object.assign({appendTo:ae,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}),Se=Object.keys(Re);function Le(e){var t=(e.plugins||[]).reduce((function(t,n){var o,r=n.name;r&&(t[r]=void 0!==e[r]?e[r]:null!=(o=Re[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function ke(e,t){var n=Object.assign({},t,{content:pe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Le(Object.assign({},Re,{plugins:t}))):Se).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({},Re.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 Be(e,t){e.innerHTML=t}function He(e){var t=he();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",ge(e)?t.appendChild(e):Be(t,e)),t}function Ve(e,t){ge(t.content)?(Be(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Be(e,t.content):e.textContent=t.content)}function Ie(e){var t=e.firstElementChild,n=ve(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 We(e){var t=he(),n=he();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=he();function r(n,o){var r=Ie(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||Ve(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(He(o.arrow))):i.appendChild(He(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Ve(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}We.$$tippy=!0;var Ne=1,Ue=[],_e=[];function qe(e,t){var n,o,r,i,a,s,u,p,c=ke(e,Object.assign({},Re,Le(me(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=ce(X,c.interactiveDebounce),g=Ne++,y=(p=c.plugins).filter((function(e,t){return p.indexOf(e)===t})),b={id:g,reference:e,popper:he(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){if(b.state.isDestroyed)return;L("onBeforeUpdate",[b,t]),$();var n=b.props,o=ke(e,Object.assign({},n,me(t),{ignoreAttributes:!0}));b.props=o,F(),n.interactiveDebounce!==o.interactiveDebounce&&(H(),h=ce(X,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?fe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");B(),S(),O&&O(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));L("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Ae.isTouch&&!b.props.touch,r=se(b.props.duration,0,Re.duration);if(e||t||n||o)return;if(D().hasAttribute("disabled"))return;if(L("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(x.style.visibility="visible");S(),N(),b.state.isMounted||(x.style.transition="none");if(C()){var i=j();we([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=j(),n=t.box,o=t.content;we([n,o],r),xe([n,o],"visible")}k(),B(),le(_e,b),null==(e=b.popperInstance)||e.forceUpdate(),L("onMount",[b]),b.props.animation&&C()&&function(e,t){_(e,t)}(r,(function(){b.state.isShown=!0,L("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=D();e=b.props.interactive&&t===ae||"parent"===t?n.parentNode:pe(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K()}()},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=se(b.props.duration,1,Re.duration);if(e||t||n)return;if(L("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,C()&&(x.style.visibility="hidden");if(H(),U(),S(!0),C()){var r=j(),i=r.box,a=r.content;b.props.animation&&(we([i,a],o),xe([i,a],"hidden"))}k(),B(),b.props.animation?C()&&function(e,t){_(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){M().addEventListener("mousemove",h),le(Ue,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);_e=_e.filter((function(e){return e!==b})),b.state.isMounted=!1,L("onHidden",[b])},destroy:function(){if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),$(),delete e._tippy,b.state.isDestroyed=!0,L("onDestroy",[b])}};if(!c.render)return b;var w=c.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var T=y.map((function(e){return e.fn(b)})),P=e.hasAttribute("aria-expanded");return F(),B(),S(),L("onCreate",[b]),c.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===A()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function D(){return u||e}function M(){var e=D().parentNode;return e?Oe(e):document}function j(){return Ie(x)}function R(e){return b.state.isMounted&&!b.state.isVisible||Ae.isTouch||i&&"focus"===i.type?0:se(b.props.delay,e?0:1,Re.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function L(e,t,n){var o;(void 0===n&&(n=!0),T.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=b.props)[e].apply(o,t)}function k(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=x.id;fe(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.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(){!P&&b.props.aria.expanded&&fe(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===D()?"true":"false"):e.removeAttribute("aria-expanded")}))}function H(){M().removeEventListener("mousemove",h),Ue=Ue.filter((function(e){return e!==h}))}function V(t){if(!Ae.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Pe(x,n)){if(fe(b.props.triggerTarget||e).some((function(e){return Pe(e,n)}))){if(Ae.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout((function(){l=!1})),b.state.isMounted||U())}}}function I(){d=!0}function W(){d=!1}function N(){var e=M();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,ie),e.addEventListener("touchstart",W,ie),e.addEventListener("touchmove",I,ie)}function U(){var e=M();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,ie),e.removeEventListener("touchstart",W,ie),e.removeEventListener("touchmove",I,ie)}function _(e,t){var n=j().box;function o(e){e.target===n&&(Te(n,"remove",o),t())}if(0===e)return t();Te(n,"remove",a),Te(n,"add",o),a=o}function q(t,n,o){void 0===o&&(o=!1),fe(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),m.push({node:e,eventType:t,handler:n,options:o})}))}function F(){var e;E()&&(q("touchstart",z,{passive:!0}),q("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,z),e){case"mouseenter":q("mouseleave",Y);break;case"focus":q(je?"focusout":"blur",J);break;case"focusin":q("focusout",J)}}))}function $(){m.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),m=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var o="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,B(),!b.state.isVisible&&ye(e)&&Ue.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!o&&te(e)}}function X(e){var t=e.target,n=D().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=de(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)}))}(Z().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:c}:null})).filter(Boolean),e)&&(H(),te(e))}function Y(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==D()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Ae.isTouch&&E()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=C()?Ie(x).arrow:null,p=i?{getBoundingClientRect:i,contextElement:i.contextElement||D()}:e,c=[{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(C()){var n=j().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={}}}}];C()&&u&&c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=re(p,x,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:c}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return ve(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&L("onTrigger",[b,e]),N();var t=R(!0),o=A(),r=o[1];Ae.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),L("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=R(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else U()}}function Fe(e,t){void 0===t&&(t={});var n=Re.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ce,ie),window.addEventListener("blur",Me);var o=Object.assign({},t,{plugins:n}),r=be(e).reduce((function(e,t){var n=t&&qe(t,o);return n&&e.push(n),e}),[]);return ge(e)?r[0]:r}Fe.defaultProps=Re,Fe.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Re[t]=e[t]}))},Fe.currentInput=Ae;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)}}),ze=function(e,t){var n;void 0===t&&(t={});var o,r=e,i=[],a=[],s=t.overrides,u=[],p=!1;function c(){a=r.map((function(e){return fe(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function f(){i=r.map((function(e){return e.reference}))}function l(e){r.forEach((function(t){e?t.enable():t.disable()}))}function d(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 v(e,t){var n=a.indexOf(t);if(t!==o){o=t;var u=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}l(!1),f(),c();var m,h,g={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!p&&(p=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!p&&(p=!0,v(e,i[0]))},onTrigger:function(e,t){v(e,t.currentTarget)}}}},y=Fe(he(),Object.assign({},(m=["overrides"],h=Object.assign({},t),m.forEach((function(e){delete h[e]})),h),{plugins:[g].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[$e])})})),b=y.show;y.show=function(e){return b(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&v(y,i[e]):r.indexOf(e)>=0?v(y,e.reference):i.indexOf(e)>=0?v(y,e):void 0:v(y,i[0])},y.showNext=function(){var e=i[0];if(!o)return y.show(0);var t=i.indexOf(o);y.show(i[t+1]||e)},y.showPrevious=function(){var e=i[i.length-1];if(!o)return y.show(e);var t=i.indexOf(o);y.show(i[t-1]||e)};var w=y.setProps;return y.setProps=function(e){s=e.overrides||s,w(e)},y.setInstances=function(e){l(!0),u.forEach((function(e){return e()})),r=e,l(!1),f(),c(),u=d(y),y.setProps({triggerTarget:a})},u=d(y),y},Xe={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=Ie(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=he();return e.className="tippy-backdrop",xe([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,xe([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&xe([i],"hidden")}}}};var Ye={clientX:0,clientY:0},Je=[];function Ge(e){Ye={clientX:e.clientX,clientY:e.clientY}}var Ke={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Oe(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 p(){n.removeEventListener("mousemove",f)}function c(){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,p=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+p);var s="horizontal"===r?e.top:o,c="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:c-l,height:f-s,top:s,right:c,bottom:f,left:l}}})}function l(){e.props.followCursor&&(Je.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Ge)}(n))}function d(){0===(Je=Je.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Ge)}(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()):(p(),c()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(Ye),i=!1),s()||u())},onTrigger:function(e,t){ye(t)&&(Ye={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(c(),p(),i=!0)}}}};var Qe={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var a=r.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.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,p=a?r.left:i.left,c=a?r.right:i.right;return{top:s,bottom:u,left:p,right:c,width:c-p,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}}(de(e),n.getBoundingClientRect(),ve(n.getClientRects()),o)}(a.placement)}})),t=a.placement)}};function s(){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,a),r=!0,e.setProps(t),r=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(ye(n)){var r=ve(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})),a=r.indexOf(i);o=a>-1?a:o}},onHidden:function(){o=-1}}}};var Ze={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&&et(r,s)||u&&et(i,u))&&e.popperInstance&&e.popperInstance.update(),r=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function et(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function tt(e,n={},o={mount:!0,appName:"Tippy"}){o=Object.assign({mount:!0,appName:"Tippy"},o);const r=t.getCurrentInstance(),i=t.ref(),a=t.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),s=t.shallowRef();let u=null;const p=()=>u||(u=document.createDocumentFragment(),u),c=e=>{let n,i=t.isRef(e)?e.value:e;return t.isVNode(i)?(s.value||(s.value=t.createApp({name:o.appName,setup:()=>()=>t.isRef(e)?e.value:e}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(p())),n=()=>p()):"object"==typeof i?(s.value||(s.value=t.createApp({name:o.appName,setup:()=>()=>t.h(t.isRef(e)?e.value:e)}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(p())),n=()=>p()):n=i,n},f=e=>{let n={};return n=t.isRef(e)?e.value||{}:(t.isReactive(e),{...e}),n.content&&(n.content=c(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins&&Array.isArray(n.plugins)||(n.plugins=[]),n.plugins=n.plugins.filter(e=>"vueTippyReactiveState"!==e.name),n.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){a.value.isEnabled=!0},onMount(){a.value.isMounted=!0},onShow(){a.value.isMounted=!0,a.value.isVisible=!0},onShown(){a.value.isShown=!0},onHide(){a.value.isMounted=!1,a.value.isVisible=!1},onHidden(){a.value.isShown=!1},onUnmounted(){a.value.isMounted=!1},onDestroy(){a.value.isDestroyed=!0}})}),n},l=()=>{i.value&&i.value.setProps(f(n))},d=()=>{i.value&&n.content&&i.value.setContent(c(n.content))},v=()=>{var e;i.value&&(i.value.destroy(),i.value=void 0),u=null,null===(e=s.value)||void 0===e||e.unmount(),s.value=void 0},m=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=Fe(o,f(n)),o.$tippy=h)},h={tippy:i,refresh:l,refreshContent:d,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(c(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(f(e))},destroy:v,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(),a.value.isEnabled=!1},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable(),a.value.isEnabled=!0},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:m,state:a};return o.mount&&(r?r.isMounted?m():t.onMounted(m):m()),r&&t.onUnmounted(()=>{v()}),t.isRef(n)||t.isReactive(n)?t.watch(n,l,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,d,{immediate:!1}),h}function nt(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=ze(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}function ot(e){var n,o;const r="function"==typeof(i=e)?i():t.unref(i);var i;return null!==(o=null===(n=r)||void 0===n?void 0:n.$el)&&void 0!==o?o:r}Fe.setDefaultProps({render:We}),Fe.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const rt=t.defineComponent({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Fe.defaultProps.appendTo},aria:{default:()=>Fe.defaultProps.aria},delay:{default:()=>Fe.defaultProps.delay},duration:{default:()=>Fe.defaultProps.duration},getReferenceClientRect:{default:()=>Fe.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Fe.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Fe.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Fe.defaultProps.interactive},interactiveBorder:{default:()=>Fe.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Fe.defaultProps.interactiveDebounce},moveTransition:{default:()=>Fe.defaultProps.moveTransition},offset:{default:()=>Fe.defaultProps.offset},onAfterUpdate:{default:()=>Fe.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Fe.defaultProps.onBeforeUpdate},onCreate:{default:()=>Fe.defaultProps.onCreate},onDestroy:{default:()=>Fe.defaultProps.onDestroy},onHidden:{default:()=>Fe.defaultProps.onHidden},onHide:{default:()=>Fe.defaultProps.onHide},onMount:{default:()=>Fe.defaultProps.onMount},onShow:{default:()=>Fe.defaultProps.onShow},onShown:{default:()=>Fe.defaultProps.onShown},onTrigger:{default:()=>Fe.defaultProps.onTrigger},onUntrigger:{default:()=>Fe.defaultProps.onUntrigger},onClickOutside:{default:()=>Fe.defaultProps.onClickOutside},placement:{default:()=>Fe.defaultProps.placement},plugins:{default:()=>Fe.defaultProps.plugins},popperOptions:{default:()=>Fe.defaultProps.popperOptions},render:{default:()=>Fe.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Fe.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Fe.defaultProps.touch},trigger:{default:()=>Fe.defaultProps.trigger},triggerTarget:{default:()=>Fe.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Fe.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Fe.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Fe.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Fe.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Fe.defaultProps.allowHTML},animation:{default:()=>Fe.defaultProps.animation},arrow:{default:()=>Fe.defaultProps.arrow},content:{default:()=>Fe.defaultProps.content},inertia:{default:()=>Fe.defaultProps.inertia},maxWidth:{default:()=>Fe.defaultProps.maxWidth},role:{default:()=>Fe.defaultProps.role},theme:{default:()=>Fe.defaultProps.theme},zIndex:{default:()=>Fe.defaultProps.zIndex}},emits:["state"],setup(e,{slots:n,emit:o,expose:r}){const i=t.ref(),a=t.ref(),s=t.ref(),u=t.ref(!1),p=()=>{let t={...e};for(const e of["to","tag","contentTag","contentClass"])t.hasOwnProperty(e)&&delete t[e];return t};let c=()=>ot(i);e.to&&("undefined"!=typeof Element&&e.to instanceof Element?c=()=>e.to:"parent"===e.to?c=()=>{let e=i.value;return e||(e=i.value=a.value.parentElement),e}:("string"==typeof e.to||e.to instanceof String)&&(c=()=>document.querySelector(e.to)));const f=tt(c,p());let l=n.content;l||"parent"!==e.to||(l=n.default),t.onMounted(()=>{u.value=!0,t.nextTick(()=>{l&&f.setContent(()=>s.value)})}),t.watch(f.state,()=>{o("state",t.unref(f.state))},{immediate:!0,deep:!0}),t.watch(()=>e,()=>{f.setProps(p()),l&&f.setContent(()=>s.value)},{deep:!0});let d=t.reactive({elem:i,contentElem:s,mounted:u,...f});return r(d),()=>{const o=l?t.h(e.contentTag,{ref:s,style:{display:u.value?"inherit":"none"},class:e.contentClass},l(d)):null;if("parent"===e.to){const e=[];if(!i.value){const n=t.h("span",{ref:a,"data-v-tippy":"",style:{display:"none"}});e.push(n)}return o&&e.push(o),e}const r=n.default?n.default(d):[];if(!e.tag){const e=t.h(r[0],{ref:i,"data-v-tippy":""});return o?[e,o]:e}return t.h(e.tag,{ref:i,"data-v-tippy":""},o?[r,o]:r)}}}),it=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let at={};Object.keys(Fe.defaultProps).forEach(e=>{at[e]=it.includes(e)?{type:Boolean,default:function(){return Fe.defaultProps[e]}}:{default:function(){return Fe.defaultProps[e]}}});const st=t.defineComponent({props:at,setup(e){const n=t.ref([]),{singleton:o}=nt(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)}}),ut={mounted(e,t,n){const o="string"==typeof t.value?{content:t.value}:t.value||{},r=Object.keys(t.modifiers||{}),i=r.find(e=>"arrow"!==e),a=-1!==r.findIndex(e=>"arrow"===e);i&&(o.placement=o.placement||i),a&&(o.arrow=void 0===o.arrow||o.arrow),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")),tt(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||{})}},pt={install(e,t={}){Fe.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",ut),e.component(t.component||"tippy",rt),e.component(t.componentSingleton||"tippy-singleton",st)}},ct=Fe.setDefaultProps;return ct({ignoreAttributes:!0,plugins:[Ze,Qe,Ke,Xe]}),e.Tippy=rt,e.TippySingleton=st,e.default=pt,e.directive=ut,e.plugin=pt,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=Fe,e.useSingleton=nt,e.useTippy=tt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(rt,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue); |
{ | ||
"name": "vue-tippy", | ||
"version": "6.4.0", | ||
"version": "6.4.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/vue-tippy.mjs", |
@@ -59,14 +59,4 @@ # VueTippy - V6 | ||
<!-- | ||
The below is optional in case you | ||
installed the plugin globally | ||
--> | ||
<script> | ||
import { directive } from 'vue-tippy' | ||
export default { | ||
directives: { | ||
tippy: directive, | ||
}, | ||
} | ||
<script setup> | ||
import { directive as VTippy } from 'vue-tippy' | ||
</script> | ||
@@ -79,17 +69,9 @@ ``` | ||
<template> | ||
<tippy content="Hi!"> | ||
<Tippy content="Hi!"> | ||
<button>Tippy!</button> | ||
</tippy> | ||
</Tippy> | ||
</template> | ||
<!-- | ||
The below is optional in case you | ||
installed the plugin globally | ||
--> | ||
<script> | ||
import { Tippy } from 'vue-tippy' | ||
export default { | ||
components: [Tippy], | ||
} | ||
<script setup> | ||
import { Tippy } from 'vue-tippy' | ||
</script> | ||
@@ -96,0 +78,0 @@ ``` |
@@ -70,3 +70,5 @@ import tippy, { Instance, Props, Content } from 'tippy.js' | ||
name: settings.appName, | ||
render: () => unwrappedContent, | ||
setup: () => { | ||
return () => isRef(content) ? content.value : content | ||
}, | ||
}) | ||
@@ -83,8 +85,7 @@ | ||
if (!headlessApp.value) { | ||
let comp = h(unwrappedContent) | ||
headlessApp.value = createApp({ | ||
name: settings.appName, | ||
render: () => comp, | ||
setup: () => { | ||
return () => h(isRef(content) ? content.value : content as any) | ||
}, | ||
}) | ||
@@ -91,0 +92,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
868460
21762
96