vue-tippy 6.0.0-alpha.4 → 6.0.0-alpha.40

Sign up to get free protection for your applications and to get access to all the features.
package/index.cjs ADDED
@@ -0,0 +1,7 @@
1
+ 'use strict'
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('./dist/vue-tippy.prod.cjs')
5
+ } else {
6
+ module.exports = require('./dist/vue-tippy.cjs')
7
+ }
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ 'use strict'
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('./dist/vue-tippy.prod.cjs')
5
+ } else {
6
+ module.exports = require('./dist/vue-tippy.cjs')
7
+ }
package/package.json CHANGED
@@ -1,28 +1,56 @@
1
1
  {
2
2
  "name": "vue-tippy",
3
- "version": "6.0.0-alpha.4",
4
- "main": "dist/vue-tippy.cjs.js",
5
- "browser": "dist/vue-tippy.esm.js",
6
- "unpkg": "dist/vue-tippy.global.js",
7
- "jsdelivr": "dist/vue-tippy.global.js",
8
- "module": "dist/vue-tippy.esm-bundler.js",
3
+ "version": "6.0.0-alpha.40",
4
+ "main": "index.js",
5
+ "module": "dist/vue-tippy.mjs",
6
+ "unpkg": "dist/vue-tippy.iife.js",
7
+ "jsdelivr": "dist/vue-tippy.iife.js",
9
8
  "types": "dist/vue-tippy.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "browser": "./dist/vue-tippy.esm-browser.js",
12
+ "node": {
13
+ "import": {
14
+ "production": "./dist/vue-tippy.prod.cjs",
15
+ "development": "./dist/vue-tippy.mjs",
16
+ "default": "./dist/vue-tippy.mjs"
17
+ },
18
+ "require": {
19
+ "production": "./dist/vue-tippy.prod.cjs",
20
+ "development": "./dist/vue-tippy.cjs",
21
+ "default": "./index.js"
22
+ }
23
+ },
24
+ "import": "./dist/vue-tippy.mjs"
25
+ },
26
+ "./package.json": "./package.json",
27
+ "./dist/*": "./dist/*"
28
+ },
10
29
  "sideEffects": false,
11
30
  "license": "MIT",
12
31
  "files": [
13
32
  "dist/*.js",
33
+ "dist/*.mjs",
34
+ "dist/*.cjs",
14
35
  "dist/vue-tippy.d.ts",
36
+ "index.js",
37
+ "index.cjs",
15
38
  "vetur/*.json",
39
+ "LICENSE",
16
40
  "README.md"
17
41
  ],
18
42
  "scripts": {
19
43
  "build": "NODE_ENV=production rollup -c rollup.config.js",
20
- "dev": "webpack-dev-server --mode=development"
44
+ "build:dts": "api-extractor run --local --verbose",
45
+ "dev": "webpack-dev-server --mode=development",
46
+ "dev:docs": "cd docs && yarn dev",
47
+ "prepublishOnly": "yarn build && yarn build:dts"
21
48
  },
22
49
  "peerDependencies": {
23
50
  "vue": "^3.0.0"
24
51
  },
25
52
  "devDependencies": {
53
+ "@microsoft/api-extractor": "7.8.1",
26
54
  "@rollup/plugin-alias": "^3.1.1",
27
55
  "@rollup/plugin-commonjs": "^14.0.0",
28
56
  "@rollup/plugin-node-resolve": "^8.4.0",
@@ -40,16 +68,17 @@
40
68
  "style-loader": "^1.2.1",
41
69
  "ts-loader": "^8.0.2",
42
70
  "ts-node": "^8.10.2",
43
- "typescript": "^3.9.7",
71
+ "typescript": "^4.1.3",
44
72
  "vue": "^3.0.0",
45
73
  "vue-loader": "^16.0.0-beta.8",
74
+ "vue-router": "4",
46
75
  "webpack": "^4.44.1",
47
76
  "webpack-bundle-analyzer": "^3.8.0",
48
77
  "webpack-cli": "^3.3.12",
49
78
  "webpack-dev-server": "^3.11.0"
50
79
  },
51
80
  "dependencies": {
52
- "tippy.js": "^6.2.6"
81
+ "tippy.js": "^6.3.7"
53
82
  },
54
83
  "vetur": {
55
84
  "tags": "vetur/tags.json",
@@ -1,6 +0,0 @@
1
- /*!
2
- * vue-tippy v6.0.0-alpha.3
3
- * (c) 2020 Georges KABBOUCHI
4
- * @license MIT
5
- */
6
- var VueTippy=function(t,e){"use strict";var n="top",r="bottom",o="right",i="left",a=[n,r,o,i],s=a.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),c=[].concat(a,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),p=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function u(t){return t?(t.nodeName||"").toLowerCase():null}function f(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function l(t){return t instanceof f(t).Element||t instanceof Element}function d(t){return t instanceof f(t).HTMLElement||t instanceof HTMLElement}function m(t){return t.split("-")[0]}function v(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function h(t,e){var n,r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&((n=r)instanceof f(n).ShadowRoot||n instanceof ShadowRoot)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function g(t){return f(t).getComputedStyle(t)}function b(t){return["table","td","th"].indexOf(u(t))>=0}function y(t){return((l(t)?t.ownerDocument:t.document)||window.document).documentElement}function w(t){return"html"===u(t)?t:t.assignedSlot||t.parentNode||t.host||y(t)}function x(t){if(!d(t)||"fixed"===g(t).position)return null;var e=t.offsetParent;if(e){var n=y(e);if("body"===u(e)&&"static"===g(e).position&&"static"!==g(n).position)return n}return e}function O(t){for(var e=f(t),n=x(t);n&&b(n)&&"static"===g(n).position;)n=x(n);return n&&"body"===u(n)&&"static"===g(n).position?e:n||function(t){for(var e=w(t);d(e)&&["html","body"].indexOf(u(e))<0;){var n=g(e);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return e;e=e.parentNode}return null}(t)||e}function E(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,e,n){return Math.max(t,Math.min(e,n))}function T(t){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),t)}function C(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var j={top:"auto",right:"auto",bottom:"auto",left:"auto"};function M(t){var e,a=t.popper,s=t.popperRect,c=t.placement,p=t.offsets,u=t.position,l=t.gpuAcceleration,d=t.adaptive,m=function(t){var e=t.y,n=window.devicePixelRatio||1;return{x:Math.round(t.x*n)/n||0,y:Math.round(e*n)/n||0}}(p),v=m.x,h=m.y,g=p.hasOwnProperty("x"),b=p.hasOwnProperty("y"),w=i,x=n,E=window;if(d){var A=O(a);A===f(a)&&(A=y(a)),c===n&&(x=r,h-=A.clientHeight-s.height,h*=l?1:-1),c===i&&(w=o,v-=A.clientWidth-s.width,v*=l?1:-1)}var T,C=Object.assign({position:u},d&&j);return Object.assign(Object.assign({},C),{},l?((T={})[x]=b?"0":"",T[w]=g?"0":"",T.transform=(E.devicePixelRatio||1)<2?"translate("+v+"px, "+h+"px)":"translate3d("+v+"px, "+h+"px, 0)",T):((e={})[x]=b?h+"px":"",e[w]=g?v+"px":"",e.transform="",e))}var D={passive:!0};var L={left:"right",right:"left",bottom:"top",top:"bottom"};function P(t){return t.replace(/left|right|bottom|top/g,(function(t){return L[t]}))}var k={start:"end",end:"start"};function R(t){return t.replace(/start|end/g,(function(t){return k[t]}))}function S(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function B(t){var e=f(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function V(t){return S(y(t)).left+B(t).scrollLeft}function H(t){var e=g(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function I(t,e){void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(u(e))>=0?e.ownerDocument.body:d(e)&&H(e)?e:t(w(e))}(t),r="body"===u(n),o=f(n),i=r?[o].concat(o.visualViewport||[],H(n)?n:[]):n,a=e.concat(i);return r?a:a.concat(I(w(i)))}function W(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function N(t,e){return"viewport"===e?W(function(t){var e=f(t),n=y(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+V(t),y:s}}(t)):d(e)?function(t){var e=S(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):W(function(t){var e=y(t),n=B(t),r=t.ownerDocument.body,o=Math.max(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+V(t),s=-n.scrollTop;return"rtl"===g(r||e).direction&&(a+=Math.max(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:s}}(y(t)))}function U(t,e,n){var r="clippingParents"===e?function(t){var e=I(w(t)),n=["absolute","fixed"].indexOf(g(t).position)>=0&&d(t)?O(t):t;return l(n)?e.filter((function(t){return l(t)&&h(t,n)&&"body"!==u(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),i=o.reduce((function(e,n){var r=N(t,n);return e.top=Math.max(r.top,e.top),e.right=Math.min(r.right,e.right),e.bottom=Math.min(r.bottom,e.bottom),e.left=Math.max(r.left,e.left),e}),N(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function _(t){return t.split("-")[1]}function q(t){var e,a=t.reference,s=t.element,c=t.placement,p=c?m(c):null,u=c?_(c):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(p){case n:e={x:f,y:a.y-s.height};break;case r:e={x:f,y:a.y+a.height};break;case o:e={x:a.x+a.width,y:l};break;case i:e={x:a.x-s.width,y:l};break;default:e={x:a.x,y:a.y}}var d=p?E(p):null;if(null!=d){var v="y"===d?"height":"width";switch(u){case"start":e[d]=Math.floor(e[d])-Math.floor(a[v]/2-s[v]/2);break;case"end":e[d]=Math.floor(e[d])+Math.ceil(a[v]/2-s[v]/2)}}return e}function $(t,e){void 0===e&&(e={});var i=e.placement,s=void 0===i?t.placement:i,c=e.boundary,p=void 0===c?"clippingParents":c,u=e.rootBoundary,f=void 0===u?"viewport":u,d=e.elementContext,m=void 0===d?"popper":d,v=e.altBoundary,h=void 0!==v&&v,g=e.padding,b=void 0===g?0:g,w=T("number"!=typeof b?b:C(b,a)),x=t.elements.reference,O=t.rects.popper,E=t.elements[h?"popper"===m?"reference":"popper":m],A=U(l(E)?E:E.contextElement||y(t.elements.popper),p,f),j=S(x),M=q({reference:j,element:O,strategy:"absolute",placement:s}),D=W(Object.assign(Object.assign({},O),M)),L="popper"===m?D:j,P={top:A.top-L.top+w.top,bottom:L.bottom-A.bottom+w.bottom,left:A.left-L.left+w.left,right:L.right-A.right+w.right},k=t.modifiersData.offset;if("popper"===m&&k){var R=k[s];Object.keys(P).forEach((function(t){var e=[o,r].indexOf(t)>=0?1:-1,i=[n,r].indexOf(t)>=0?"y":"x";P[t]+=R[i]*e}))}return P}function z(t,e){void 0===e&&(e={});var n=e.boundary,r=e.rootBoundary,o=e.padding,i=e.flipVariations,p=e.allowedAutoPlacements,u=void 0===p?c:p,f=_(e.placement),l=f?i?s:s.filter((function(t){return _(t)===f})):a,d=l.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=l);var v=d.reduce((function(e,i){return e[i]=$(t,{placement:i,boundary:n,rootBoundary:r,padding:o})[m(i)],e}),{});return Object.keys(v).sort((function(t,e){return v[t]-v[e]}))}function F(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function X(t){return[n,o,r,i].some((function(e){return t[e]>=0}))}function Y(t,e,n){void 0===n&&(n=!1);var r,o,i=y(e),a=S(t),s=d(e),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(s||!s&&!n)&&(("body"!==u(e)||H(i))&&(c=(r=e)!==f(r)&&d(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:B(r)),d(e)?((p=S(e)).x+=e.clientLeft,p.y+=e.clientTop):i&&(p.x=V(i))),{x:a.left+c.scrollLeft-p.x,y:a.top+c.scrollTop-p.y,width:a.width,height:a.height}}function J(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=e.get(r);o&&t(o)}})),r.push(o)}(t)})),r}var G={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Q(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,r=t.defaultOptions,o=void 0===r?G:r;return function(t,e,r){void 0===r&&(r=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},G),o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],u=!1,f={state:s,setOptions:function(r){d(),s.options=Object.assign(Object.assign(Object.assign({},o),s.options),r),s.scrollParents={reference:l(t)?I(t):t.contextElement?I(t.contextElement):[],popper:I(e)};var i,a,u=function(t){var e=J(t);return p.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((i=[].concat(n,s.options.modifiers),a=i.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign(Object.assign(Object.assign({},n),e),{},{options:Object.assign(Object.assign({},n.options),e.options),data:Object.assign(Object.assign({},n.data),e.data)}):e,t}),{}),Object.keys(a).map((function(t){return a[t]}))));return s.orderedModifiers=u.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var r=n({state:s,name:t.name,instance:f,options:void 0===e?{}:e});c.push(r||function(){})}})),f.update()},forceUpdate:function(){if(!u){var t=s.elements,e=t.reference,n=t.popper;if(K(e,n)){s.rects={reference:Y(e,O(n),"fixed"===s.options.strategy),popper:v(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:o.name,instance:f})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){f.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),u=!0}};if(!K(t,e))return f;function d(){c.forEach((function(t){return t()})),c=[]}return f.setOptions(r).then((function(t){!u&&r.onFirstUpdate&&r.onFirstUpdate(t)})),f}}var Z=Q({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=f(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&p.forEach((function(t){t.addEventListener("scroll",n.update,D)})),s&&c.addEventListener("resize",n.update,D),function(){i&&p.forEach((function(t){t.removeEventListener("scroll",n.update,D)})),s&&c.removeEventListener("resize",n.update,D)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=q({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s={placement:m(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),M(Object.assign(Object.assign({},s),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),M(Object.assign(Object.assign({},s),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];d(o)&&u(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});d(r)&&u(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.name,a=t.options.offset,s=void 0===a?[0,0]:a,p=c.reduce((function(t,r){return t[r]=function(t,e,r){var a=m(t),s=[i,n].indexOf(a)>=0?-1:1,c="function"==typeof r?r(Object.assign(Object.assign({},e),{},{placement:t})):r,p=c[0],u=c[1];return p=p||0,u=(u||0)*s,[i,o].indexOf(a)>=0?{x:u,y:p}:{x:p,y:u}}(r,e.rects,s),t}),{}),u=p[e.placement],f=u.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u.x,e.modifiersData.popperOffsets.y+=f),e.modifiersData[r]=p}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,a=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var c=a.mainAxis,p=void 0===c||c,u=a.altAxis,f=void 0===u||u,l=a.fallbackPlacements,d=a.padding,v=a.boundary,h=a.rootBoundary,g=a.altBoundary,b=a.flipVariations,y=void 0===b||b,w=a.allowedAutoPlacements,x=e.options.placement,O=m(x),E=l||(O===x||!y?[P(x)]:function(t){if("auto"===m(t))return[];var e=P(t);return[R(t),e,R(e)]}(x)),A=[x].concat(E).reduce((function(t,n){return t.concat("auto"===m(n)?z(e,{placement:n,boundary:v,rootBoundary:h,padding:d,flipVariations:y,allowedAutoPlacements:w}):n)}),[]),T=e.rects.reference,C=e.rects.popper,j=new Map,M=!0,D=A[0],L=0;L<A.length;L++){var k=A[L],S=m(k),B="start"===_(k),V=[n,r].indexOf(S)>=0,H=V?"width":"height",I=$(e,{placement:k,boundary:v,rootBoundary:h,altBoundary:g,padding:d}),W=V?B?o:i:B?r:n;T[H]>C[H]&&(W=P(W));var N=P(W),U=[];if(p&&U.push(I[S]<=0),f&&U.push(I[W]<=0,I[N]<=0),U.every((function(t){return t}))){D=k,M=!1;break}j.set(k,U)}if(M)for(var q=function(t){var e=A.find((function(e){var n=j.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return D=e,"break"},F=y?3:1;F>0;F--){if("break"===q(F))break}e.placement!==D&&(e.modifiersData[s]._skip=!0,e.placement=D,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,a=t.options,s=t.name,c=a.mainAxis,p=void 0===c||c,u=a.altAxis,f=void 0!==u&&u,l=a.tether,d=void 0===l||l,h=a.tetherOffset,g=void 0===h?0:h,b=$(e,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),y=m(e.placement),w=_(e.placement),x=!w,T=E(y),C="x"===T?"y":"x",j=e.modifiersData.popperOffsets,M=e.rects.reference,D=e.rects.popper,L="function"==typeof g?g(Object.assign(Object.assign({},e.rects),{},{placement:e.placement})):g,P={x:0,y:0};if(j){if(p){var k="y"===T?n:i,R="y"===T?r:o,S="y"===T?"height":"width",B=j[T],V=j[T]+b[k],H=j[T]-b[R],I=d?-D[S]/2:0,W="start"===w?M[S]:D[S],N="start"===w?-D[S]:-M[S],U=e.elements.arrow,q=d&&U?v(U):{width:0,height:0},z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=z[k],X=z[R],Y=A(0,M[S],q[S]),J=x?M[S]/2-I-Y-F-L:W-Y-F-L,G=x?-M[S]/2+I+Y+X+L:N+Y+X+L,K=e.elements.arrow&&O(e.elements.arrow),Q=e.modifiersData.offset?e.modifiersData.offset[e.placement][T]:0,Z=j[T]+G-Q,tt=A(d?Math.min(V,j[T]+J-Q-(K?"y"===T?K.clientTop||0:K.clientLeft||0:0)):V,B,d?Math.max(H,Z):H);j[T]=tt,P[T]=tt-B}if(f){var et=j[C],nt=A(et+b["x"===T?n:i],et,et-b["x"===T?r:o]);j[C]=nt,P[C]=nt-et}e.modifiersData[s]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,a=t.state,s=t.name,c=a.elements.arrow,p=a.modifiersData.popperOffsets,u=m(a.placement),f=E(u),l=[i,o].indexOf(u)>=0?"height":"width";if(c&&p){var d=a.modifiersData[s+"#persistent"].padding,h=v(c),g="y"===f?n:i,b="y"===f?r:o,y=a.rects.reference[l]+a.rects.reference[f]-p[f]-a.rects.popper[l],w=p[f]-a.rects.reference[f],x=O(c),T=x?"y"===f?x.clientHeight||0:x.clientWidth||0:0,C=T/2-h[l]/2+(y/2-w/2),j=A(d[g],C,T-h[l]-d[b]);a.modifiersData[s]=((e={})[f]=j,e.centerOffset=j-C,e)}},effect:function(t){var e=t.state,n=t.options,r=t.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,s=n.padding,c=void 0===s?0:s;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&h(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[r+"#persistent"]={padding:T("number"!=typeof c?c:C(c,a))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=$(e,{elementContext:"reference"}),s=$(e,{altBoundary:!0}),c=F(a,r),p=F(s,o,i),u=X(c),f=X(p);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),tt={passive:!0,capture:!0};function et(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function nt(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function rt(t,e){return"function"==typeof t?t.apply(void 0,e):t}function ot(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function it(t){return[].concat(t)}function at(t,e){-1===t.indexOf(e)&&t.push(e)}function st(t){return t.split("-")[0]}function ct(t){return[].slice.call(t)}function pt(){return document.createElement("div")}function ut(t){return["Element","Fragment"].some((function(e){return nt(t,e)}))}function ft(t){return nt(t,"MouseEvent")}function lt(t){return ut(t)?[t]:function(t){return nt(t,"NodeList")}(t)?ct(t):Array.isArray(t)?t:ct(document.querySelectorAll(t))}function dt(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function mt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function vt(t){var e=it(t)[0];return e&&e.ownerDocument||document}function ht(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}var gt={isTouch:!1},bt=0;function yt(){gt.isTouch||(gt.isTouch=!0,window.performance&&document.addEventListener("mousemove",wt))}function wt(){var t=performance.now();t-bt<20&&(gt.isTouch=!1,document.removeEventListener("mousemove",wt)),bt=t}function xt(){var t,e=document.activeElement;(t=e)&&t._tippy&&t._tippy.reference===t&&(e.blur&&!e._tippy.state.isVisible&&e.blur())}var Ot="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",Et=/MSIE |Trident\//.test(Ot),At=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Tt=Object.keys(At);function Ct(t){var e=(t.plugins||[]).reduce((function(e,n){var r=n.name;return r&&(e[r]=void 0!==t[r]?t[r]:n.defaultValue),e}),{});return Object.assign({},t,{},e)}function jt(t,e){var n=Object.assign({},e,{content:rt(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Ct(Object.assign({},At,{plugins:e}))):Tt).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},At.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function Mt(t,e){t.innerHTML=e}function Dt(t){var e=pt();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",ut(t)?e.appendChild(t):Mt(e,t)),e}function Lt(t,e){ut(e.content)?(Mt(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?Mt(t,e.content):t.textContent=e.content)}function Pt(t){var e=t.firstElementChild,n=ct(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function kt(t){var e=pt(),n=pt();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=pt();function o(n,r){var o=Pt(e),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Lt(a,t.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(Dt(r.arrow))):i.appendChild(Dt(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Lt(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}kt.$$tippy=!0;var Rt=1,St=[],Bt=[];function Vt(t,e){var n,r,o,i,a,s,c,p,u,f=jt(t,Object.assign({},At,{},Ct((n=e,Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{}))))),l=!1,d=!1,m=!1,v=!1,h=[],g=ot(Y,f.interactiveDebounce),b=Rt++,y=(u=f.plugins).filter((function(t,e){return u.indexOf(t)===e})),w={id:b,reference:t,popper:pt(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(e){if(w.state.isDestroyed)return;S("onBeforeUpdate",[w,e]),F();var n=w.props,r=jt(t,Object.assign({},w.props,{},e,{ignoreAttributes:!0}));w.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(H(),g=ot(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?it(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded");V(),R(),E&&E(n,r);w.popperInstance&&(Q(),ut().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));S("onAfterUpdate",[w,e])},setContent:function(t){w.setProps({content:t})},show:function(){var t=w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=gt.isTouch&&!w.props.touch,o=et(w.props.duration,0,At.duration);if(t||e||n||r)return;if(D().hasAttribute("disabled"))return;if(S("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,M()&&(O.style.visibility="visible");R(),U(),w.state.isMounted||(O.style.transition="none");if(M()){var i=P();dt([i.box,i.content],0)}c=function(){if(w.state.isVisible&&!v){if(v=!0,O.style.transition=w.props.moveTransition,M()&&w.props.animation){var t=P(),e=t.box,n=t.content;dt([e,n],o),mt([e,n],"visible")}B(),V(),at(Bt,w),w.state.isMounted=!0,S("onMount",[w]),w.props.animation&&M()&&function(t,e){q(t,e)}(o,(function(){w.state.isShown=!0,S("onShown",[w])}))}},function(){var t,e=w.props.appendTo,n=D();t=w.props.interactive&&e===At.appendTo||"parent"===e?n.parentNode:rt(e,[n]);t.contains(O)||t.appendChild(O);Q()}()},hide:function(){var t=!w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=et(w.props.duration,1,At.duration);if(t||e||n)return;if(S("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,v=!1,l=!1,M()&&(O.style.visibility="hidden");if(H(),_(),R(),M()){var o=P(),i=o.box,a=o.content;w.props.animation&&(dt([i,a],r),mt([i,a],"hidden"))}B(),V(),w.props.animation?M()&&function(t,e){q(t,(function(){!w.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&e()}))}(r,w.unmount):w.unmount()},hideWithInteractivity:function(t){L().addEventListener("mousemove",g),at(St,g),g(t)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){w.state.isVisible&&w.hide();if(!w.state.isMounted)return;nt(),ut().forEach((function(t){t._tippy.unmount()})),O.parentNode&&O.parentNode.removeChild(O);Bt=Bt.filter((function(t){return t!==w})),w.state.isMounted=!1,S("onHidden",[w])},destroy:function(){if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),F(),delete t._tippy,w.state.isDestroyed=!0,S("onDestroy",[w])}};if(!f.render)return w;var x=f.render(w),O=x.popper,E=x.onUpdate;O.setAttribute("data-tippy-root",""),O.id="tippy-"+w.id,w.popper=O,t._tippy=w,O._tippy=w;var A=y.map((function(t){return t.fn(w)})),T=t.hasAttribute("aria-expanded");return z(),V(),R(),S("onCreate",[w]),f.showOnCreate&&lt(),O.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),O.addEventListener("mouseleave",(function(t){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(L().addEventListener("mousemove",g),g(t))})),w;function C(){var t=w.props.touch;return Array.isArray(t)?t:[t,0]}function j(){return"hold"===C()[0]}function M(){var t;return!!(null==(t=w.props.render)?void 0:t.$$tippy)}function D(){return p||t}function L(){var t=D().parentNode;return t?vt(t):document}function P(){return Pt(O)}function k(t){return w.state.isMounted&&!w.state.isVisible||gt.isTouch||a&&"focus"===a.type?0:et(w.props.delay,t?0:1,At.delay)}function R(){O.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",O.style.zIndex=""+w.props.zIndex}function S(t,e,n){var r;(void 0===n&&(n=!0),A.forEach((function(n){n[t]&&n[t].apply(void 0,e)})),n)&&(r=w.props)[t].apply(r,e)}function B(){var e=w.props.aria;if(e.content){var n="aria-"+e.content,r=O.id;it(w.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n);if(w.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&&e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function V(){!T&&w.props.aria.expanded&&it(w.props.triggerTarget||t).forEach((function(t){w.props.interactive?t.setAttribute("aria-expanded",w.state.isVisible&&t===D()?"true":"false"):t.removeAttribute("aria-expanded")}))}function H(){L().removeEventListener("mousemove",g),St=St.filter((function(t){return t!==g}))}function I(t){if(!(gt.isTouch&&(m||"mousedown"===t.type)||w.props.interactive&&O.contains(t.target))){if(D().contains(t.target)){if(gt.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||_())}}function W(){m=!0}function N(){m=!1}function U(){var t=L();t.addEventListener("mousedown",I,!0),t.addEventListener("touchend",I,tt),t.addEventListener("touchstart",N,tt),t.addEventListener("touchmove",W,tt)}function _(){var t=L();t.removeEventListener("mousedown",I,!0),t.removeEventListener("touchend",I,tt),t.removeEventListener("touchstart",N,tt),t.removeEventListener("touchmove",W,tt)}function q(t,e){var n=P().box;function r(t){t.target===n&&(ht(n,"remove",r),e())}if(0===t)return e();ht(n,"remove",s),ht(n,"add",r),s=r}function $(e,n,r){void 0===r&&(r=!1),it(w.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,r),h.push({node:t,eventType:e,handler:n,options:r})}))}function z(){var t;j()&&($("touchstart",X,{passive:!0}),$("touchend",J,{passive:!0})),(t=w.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch($(t,X),t){case"mouseenter":$("mouseleave",J);break;case"focus":$(Et?"focusout":"blur",G);break;case"focusin":$("focusout",G)}}))}function F(){h.forEach((function(t){t.node.removeEventListener(t.eventType,t.handler,t.options)})),h=[]}function X(t){var e,n=!1;if(w.state.isEnabled&&!K(t)&&!d){var r="focus"===(null==(e=a)?void 0:e.type);a=t,p=t.currentTarget,V(),!w.state.isVisible&&ft(t)&&St.forEach((function(e){return e(t)})),"click"===t.type&&(w.props.trigger.indexOf("mouseenter")<0||l)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:lt(t),"click"===t.type&&(l=!n),n&&!r&&bt(t)}}function Y(t){var e=t.target,n=D().contains(e)||O.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,a=st(o.placement),s=o.modifiersData.offset;return!s||(e.top-r+("bottom"===a?s.top.y:0)>i||r-e.bottom-("top"===a?s.bottom.y:0)>i||e.left-n+("right"===a?s.left.x:0)>i||n-e.right-("left"===a?s.right.x:0)>i)}))}(ut().concat(O).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),t)&&(H(),bt(t))}function J(t){K(t)||w.props.trigger.indexOf("click")>=0&&l||(w.props.interactive?w.hideWithInteractivity(t):bt(t))}function G(t){w.props.trigger.indexOf("focusin")<0&&t.target!==D()||w.props.interactive&&t.relatedTarget&&O.contains(t.relatedTarget)||bt(t)}function K(t){return!!gt.isTouch&&j()!==t.type.indexOf("touch")>=0}function Q(){nt();var e=w.props,n=e.popperOptions,r=e.placement,o=e.offset,i=e.getReferenceClientRect,a=e.moveTransition,s=M()?Pt(O).arrow:null,p=i?{getBoundingClientRect:i,contextElement:i.contextElement||D()}:t,u=[{name:"offset",options:{offset:o}},{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(t){var e=t.state;if(M()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];M()&&s&&u.push({name:"arrow",options:{element:s,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),w.popperInstance=Z(p,O,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:u}))}function nt(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function ut(){return ct(O.querySelectorAll("[data-tippy-root]"))}function lt(t){w.clearDelayTimeouts(),t&&S("onTrigger",[w,t]),U();var e=k(!0),n=C(),o=n[1];gt.isTouch&&"hold"===n[0]&&o&&(e=o),e?r=setTimeout((function(){w.show()}),e):w.show()}function bt(t){if(w.clearDelayTimeouts(),S("onUntrigger",[w,t]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&l)){var e=k(!1);e?o=setTimeout((function(){w.state.isVisible&&w.hide()}),e):i=requestAnimationFrame((function(){w.hide()}))}}else _()}}function Ht(t,e){void 0===e&&(e={});var n=At.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",yt,tt),window.addEventListener("blur",xt);var r=Object.assign({},e,{plugins:n}),o=lt(t).reduce((function(t,e){var n=e&&Vt(e,r);return n&&t.push(n),t}),[]);return ut(t)?o[0]:o}Ht.defaultProps=At,Ht.setDefaultProps=function(t){Object.keys(t).forEach((function(e){At[e]=t[e]}))},Ht.currentInput=gt;var It=function(t,e){void 0===e&&(e={});var n,r=t,o=[],i=e.overrides,a=[];function s(){o=r.map((function(t){return t.reference}))}function c(t){r.forEach((function(e){t?e.enable():e.disable()}))}function p(t){return r.map((function(e){var r=e.setProps;return e.setProps=function(o){r(o),e.reference===n&&t.setProps(o)},function(){e.setProps=r}}))}c(!1),s();var u,f,l={fn:function(){return{onDestroy:function(){c(!0)},onTrigger:function(t,e){var a=e.currentTarget,s=o.indexOf(a);if(a!==n){n=a;var c=(i||[]).concat("content").reduce((function(t,e){return t[e]=r[s].props[e],t}),{});t.setProps(Object.assign({},c,{getReferenceClientRect:"function"==typeof c.getReferenceClientRect?c.getReferenceClientRect:function(){return a.getBoundingClientRect()}}))}}}}},d=Ht(pt(),Object.assign({},(u=["overrides"],f=Object.assign({},e),u.forEach((function(t){delete f[t]})),f),{plugins:[l].concat(e.plugins||[]),triggerTarget:o})),m=d.setProps;return d.setProps=function(t){i=t.overrides||i,m(t)},d.setInstances=function(t){c(!0),a.forEach((function(t){return t()})),r=t,c(!1),s(),p(d),d.setProps({triggerTarget:o})},a=p(d),d},Wt={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(!(null==(e=t.props.render)?void 0:e.$$tippy))return{};var n=Pt(t.popper),r=n.box,o=n.content,i=t.props.animateFill?function(){var t=pt();return t.className="tippy-backdrop",mt([t],"hidden"),t}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,mt([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&mt([i],"hidden")}}}};var Nt={clientX:0,clientY:0},Ut=[];function _t(t){Nt={clientX:t.clientX,clientY:t.clientY}}var qt={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=vt(t.props.triggerTarget||e),r=!1,o=!1,i=!0,a=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function c(){n.addEventListener("mousemove",f)}function p(){n.removeEventListener("mousemove",f)}function u(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||e.contains(n.target),o=t.props.followCursor,i=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),c=i-s.left,p=a-s.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=t.left+c,r=t.top+p);var s="horizontal"===o?t.top:r,u="vertical"===o?t.right:n,f="horizontal"===o?t.bottom:r,l="vertical"===o?t.left:n;return{width:u-l,height:f-s,top:s,right:u,bottom:f,left:l}}})}function l(){t.props.followCursor&&(Ut.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",_t)}(n))}function d(){0===(Ut=Ut.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&&function(t){t.removeEventListener("mousemove",_t)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!t.state.isMounted||o||s()||c()):(p(),u()))},onMount:function(){t.props.followCursor&&!o&&(i&&(f(Nt),i=!1),s()||c())},onTrigger:function(t,e){ft(e)&&(Nt={clientX:e.clientX,clientY:e.clientY}),o="focus"===e.type},onHidden:function(){t.props.followCursor&&(u(),p(),i=!0)}}}};var $t={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var r=-1,o=!1,i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var i=o.state;t.props.inlinePositioning&&(e!==i.placement&&t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length<2||null===t)return e;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||e;switch(t){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===t,s=o.top,c=i.bottom,p=a?o.left:i.left,u=a?o.right:i.right;return{top:s,bottom:c,left:p,right:u,width:u-p,height:c-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(t){return t.left}))),l=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===f:e.right===l})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:f,right:l,width:l-f,height:v-m};default:return e}}(st(t),n.getBoundingClientRect(),ct(n.getClientRects()),r)}(i.placement)}}),e=i.placement)}};function a(){var e;o||(e=function(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,i),o=!0,t.setProps(e),o=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(e,n){if(ft(n)){var o=ct(t.reference.getClientRects()),i=o.find((function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY}));r=o.indexOf(i)}},onUntrigger:function(){r=-1}}}};var zt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var o=null,i=null;function a(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,c=r("popper")?n.getBoundingClientRect():null;(s&&Ft(o,s)||c&&Ft(i,c))&&t.popperInstance&&t.popperInstance.update(),o=s,i=c,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Ft(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}function Xt(t,n={},r={mount:!0}){const o=e.ref();let i=null;const a=()=>i||(i=document.createElement("fragment"),i),s=t=>{let n,r=e.isRef(t)?t.value:t;return e.isVNode(r)?(e.render(r,a()),n=()=>a()):"object"==typeof r?(e.render(e.h(r),a()),n=()=>a()):n=r,n},c=t=>{let n={};return n=e.isRef(t)?t.value:(e.isReactive(t),{...t}),n.content&&(n.content=s(n.content)),n},p=()=>{o.value&&o.value.setProps(c(n))},u=()=>{o.value&&n.content&&o.value.setContent(s(n.content))},f=()=>{o.value&&(o.value.destroy(),o.value=void 0),i=null},l=()=>{if(!t)return;let r=e.isRef(t)?t.value:t;"function"==typeof r&&(r=r()),r&&(o.value=Ht(r,c(n)),r.$tippy=d)},d={tippy:o,refresh:p,refreshContent:u,setContent:t=>{var e;null===(e=o.value)||void 0===e||e.setContent(s(t))},setProps:t=>{var e;null===(e=o.value)||void 0===e||e.setProps(c(t))},destroy:f,hide:()=>{var t;null===(t=o.value)||void 0===t||t.hide()},show:()=>{var t;null===(t=o.value)||void 0===t||t.show()},disable:()=>{var t;null===(t=o.value)||void 0===t||t.disable()},enable:()=>{var t;null===(t=o.value)||void 0===t||t.enable()},unmount:()=>{var t;null===(t=o.value)||void 0===t||t.unmount()},mount:l};if(r.mount){const t=e.getCurrentInstance();t?(t.isMounted?l():e.onMounted(l),e.onUnmounted(()=>{f()})):l()}return e.isRef(n)||e.isReactive(n)?e.watch(n,p,{immediate:!1}):e.isRef(n.content)&&e.watch(n.content,u,{immediate:!1}),d}Ht.setDefaultProps({render:kt}),Ht.setDefaultProps({onShow:t=>{if(!t.props.content)return!1}});const Yt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let Jt={};Object.keys(Ht.defaultProps).forEach(t=>{Jt[t]=Yt.includes(t)?{type:Boolean,default:function(){return Ht.defaultProps[t]}}:{default:function(){return Ht.defaultProps[t]}}});const Gt=e.defineComponent({props:Jt,setup(t){const n=e.ref();return{elem:n,...Xt(n,t)}},render(){let t=this.$slots.default?this.$slots.default():[];return e.h("span",{ref:"elem"},t)}}),Kt={mounted(t,e,n){const r=e.value||{};n.props&&n.props.onShow&&(r.onShow=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onShow(...t)}),n.props&&n.props.onShown&&(r.onShown=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onShown(...t)}),n.props&&n.props.onHidden&&(r.onHidden=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onHidden(...t)}),n.props&&n.props.onHide&&(r.onHide=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onHide(...t)}),n.props&&n.props.onMount&&(r.onMount=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onMount(...t)}),t.getAttribute("title")&&!r.content&&(r.content=t.getAttribute("title"),t.removeAttribute("title")),t.getAttribute("content")&&!r.content&&(r.content=t.getAttribute("content")),Xt(t,r)},unmounted(t){t.$tippy?t.$tippy.destroy():t._tippy&&t._tippy.destroy()},updated(t,e){const n=e.value||{};t.getAttribute("title")&&!n.content&&(n.content=t.getAttribute("title"),t.removeAttribute("title")),t.getAttribute("content")&&!n.content&&(n.content=t.getAttribute("content")),t.$tippy?t.$tippy.setProps(n||{}):t._tippy&&t._tippy.setProps(n||{})}},Qt={install(t,e={}){Ht.setDefaultProps(e.defaultProps||{}),t.directive(e.directive||"tippy",Kt),t.component(e.component||"tippy",Gt)}};!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}');const Zt=Ht.setDefaultProps;return Zt({plugins:[zt,$t,qt,Wt]}),t.Tippy=Gt,t.default=Qt,t.directive=Kt,t.setDefaultProps=Zt,t.tippy=Ht,t.useSingleton=function(t,n){const r=e.ref();return e.onMounted(()=>{const e=(Array.isArray(t)?t.map(t=>t.value):t.value).map(t=>t instanceof Element?t._tippy:t).filter(Boolean);r.value=It(e,n)}),{singleton:r}},t.useTippy=Xt,Object.defineProperty(t,"__esModule",{value:!0}),t}({},Vue);