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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.40
2
+ * vue-tippy v6.0.0-alpha.41
3
3
  * (c) 2021
4
4
  * @license MIT
5
5
  */
@@ -4310,7 +4310,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4310
4310
  const getProps = (opts) => {
4311
4311
  let options = {};
4312
4312
  if (vue.isRef(opts)) {
4313
- options = opts.value;
4313
+ options = opts.value || {};
4314
4314
  }
4315
4315
  else if (vue.isReactive(opts)) {
4316
4316
  options = { ...opts };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.40
2
+ * vue-tippy v6.0.0-alpha.41
3
3
  * (c) 2021
4
4
  * @license MIT
5
5
  */
@@ -4306,7 +4306,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4306
4306
  const getProps = (opts) => {
4307
4307
  let options = {};
4308
4308
  if (isRef(opts)) {
4309
- options = opts.value;
4309
+ options = opts.value || {};
4310
4310
  }
4311
4311
  else if (isReactive(opts)) {
4312
4312
  options = { ...opts };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.40
2
+ * vue-tippy v6.0.0-alpha.41
3
3
  * (c) 2021
4
4
  * @license MIT
5
5
  */
@@ -4307,7 +4307,7 @@ var VueTippy = (function (exports, vue) {
4307
4307
  const getProps = (opts) => {
4308
4308
  let options = {};
4309
4309
  if (vue.isRef(opts)) {
4310
- options = opts.value;
4310
+ options = opts.value || {};
4311
4311
  }
4312
4312
  else if (vue.isReactive(opts)) {
4313
4313
  options = { ...opts };
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.40
2
+ * vue-tippy v6.0.0-alpha.41
3
3
  * (c) 2021
4
4
  * @license MIT
5
5
  */
6
- 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"])}),[]),p=[].concat(a,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),u=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(e){return e?(e.nodeName||"").toLowerCase():null}function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){return e instanceof l(e).Element||e instanceof Element}function d(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}var v={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 O(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 x(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&m(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function E(e){return l(e).getComputedStyle(e)}function T(e){return["table","td","th"].indexOf(c(e))>=0}function A(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function D(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||A(e)}function C(e){return d(e)&&"fixed"!==E(e).position?e.offsetParent:null}function j(e){for(var t=l(e),n=C(e);n&&T(n)&&"static"===E(n).position;)n=C(n);return n&&("html"===c(n)||"body"===c(n)&&"static"===E(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===E(e).position)return null;for(var n=D(e);d(n)&&["html","body"].indexOf(c(n))<0;){var o=E(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 S(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function P(e,t,n){return g(e,y(t,n))}function k(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function N(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function M(e){return e.split("-")[1]}var L={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(e){var t,a=e.popper,s=e.popperRect,p=e.placement,u=e.variation,c=e.offsets,f=e.position,d=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,h=e.isFixed,g=!0===v?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 v?v(c):c,y=g.x,w=void 0===y?0:y,O=g.y,x=void 0===O?0:O,T=c.hasOwnProperty("x"),D=c.hasOwnProperty("y"),C=i,S=n,P=window;if(m){var k=j(a),N="clientHeight",M="clientWidth";if(k===l(a)&&"static"!==E(k=A(a)).position&&"absolute"===f&&(N="scrollHeight",M="scrollWidth"),k=k,p===n||(p===i||p===r)&&"end"===u)S=o,x-=(h&&P.visualViewport?P.visualViewport.height:k[N])-s.height,x*=d?1:-1;if(p===i||(p===n||p===o)&&"end"===u)C=r,w-=(h&&P.visualViewport?P.visualViewport.width:k[M])-s.width,w*=d?1:-1}var V,R=Object.assign({position:f},m&&L);return Object.assign({},R,d?((V={})[S]=D?"0":"",V[C]=T?"0":"",V.transform=(P.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",V):((t={})[S]=D?x+"px":"",t[C]=T?w+"px":"",t.transform="",t))}var R={passive:!0};var H={left:"right",right:"left",bottom:"top",top:"bottom"};function _(e){return e.replace(/left|right|bottom|top/g,(function(e){return H[e]}))}var I={start:"end",end:"start"};function B(e){return e.replace(/start|end/g,(function(e){return I[e]}))}function q(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function W(e){return w(A(e)).left+q(e).scrollLeft}function U(e){var t=E(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function $(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:d(t)&&U(t)?t:e(D(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=l(o),a=r?[i].concat(i.visualViewport||[],U(o)?o:[]):o,s=t.concat(a);return r?s:s.concat($(D(a)))}function F(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?F(function(e){var t=l(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+W(e),y:s}}(e)):f(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):F(function(e){var t,n=A(e),o=q(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+W(e),p=-o.scrollTop;return"rtl"===E(r||n).direction&&(s+=g(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:p}}(A(e)))}function Y(e,t,n){var o="clippingParents"===t?function(e){var t=$(D(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0,o=n&&d(e)?j(e):e;return f(o)?t.filter((function(e){return f(e)&&x(e,o)&&"body"!==c(e)&&(!n||"static"!==E(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 X(e){var t,a=e.reference,s=e.element,p=e.placement,u=p?h(p):null,c=p?M(p):null,l=a.x+a.width/2-s.width/2,f=a.y+a.height/2-s.height/2;switch(u){case n:t={x:l,y:a.y-s.height};break;case o:t={x:l,y:a.y+a.height};break;case r:t={x:a.x+a.width,y:f};break;case i:t={x:a.x-s.width,y:f};break;default:t={x:a.x,y:a.y}}var d=u?S(u):null;if(null!=d){var m="y"===d?"height":"width";switch(c){case"start":t[d]=t[d]-(a[m]/2-s[m]/2);break;case"end":t[d]=t[d]+(a[m]/2-s[m]/2)}}return t}function G(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,p=t.boundary,u=void 0===p?"clippingParents":p,c=t.rootBoundary,l=void 0===c?"viewport":c,d=t.elementContext,m=void 0===d?"popper":d,v=t.altBoundary,h=void 0!==v&&v,g=t.padding,y=void 0===g?0:g,b=k("number"!=typeof y?y:N(y,a)),O=e.rects.popper,x=e.elements[h?"popper"===m?"reference":"popper":m],E=Y(f(x)?x:x.contextElement||A(e.elements.popper),u,l),T=w(e.elements.reference),D=X({reference:T,element:O,strategy:"absolute",placement:s}),C=F(Object.assign({},O,D)),j="popper"===m?C:T,S={top:E.top-j.top+b.top,bottom:j.bottom-E.bottom+b.bottom,left:E.left-j.left+b.left,right:j.right-E.right+b.right},P=e.modifiersData.offset;if("popper"===m&&P){var M=P[s];Object.keys(S).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,i=[n,o].indexOf(e)>=0?"y":"x";S[e]+=M[i]*t}))}return S}function J(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,u=t.allowedAutoPlacements,c=void 0===u?p:u,l=M(t.placement),f=l?i?s:s.filter((function(e){return M(e)===l})):a,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var m=d.reduce((function(t,i){return t[i]=G(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[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),p=w(e,a),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==c(t)||U(s))&&(u=(o=t)!==l(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:q(o)),d(t)?((f=w(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=W(s))),{x:p.left+u.scrollLeft-f.x,y:p.top+u.scrollTop-f.y,width:p.width,height:p.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}function te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var ne='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',oe=["name","enabled","phase","fn","effect","requires","options"];var re="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ae(){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 se(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?ie:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],c=!1,l={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:f(e)?$(e):e.contextElement?$(e.contextElement):[],popper:$(t)};var a,c,m,v=function(e){var t=ee(e);return u.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.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}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,s.options.modifiers)));if(s.orderedModifiers=v.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),oe).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(te(ne,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(te(ne,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":u.indexOf(t.phase)<0&&console.error(te(ne,t.name,'"phase"',"either "+u.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(te(ne,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(te(ne,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(te(ne,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(te(ne,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+oe.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(te('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(v,s.options.modifiers),c=function(e){return e.name},m=new Set,a.filter((function(e){var t=c(e);if(!m.has(t))return m.add(t),!0})))),"auto"===h(s.options.placement))s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var g=E(t);[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return 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:l,options:void 0===t?{}:t});p.push(o||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ae(t,n)){s.rects={reference:Z(t,j(n),"fixed"===s.options.strategy),popper:O(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,r=0;r<s.orderedModifiers.length;r++){if("production"!==process.env.NODE_ENV&&(o+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[r],a=i.fn,p=i.options;"function"==typeof a&&(s=a({state:s,options:void 0===p?{}:p,name:i.name,instance:l})||s)}else s.reset=!1,r=-1}}else"production"!==process.env.NODE_ENV&&console.error(re)}},update:(i=function(){return new Promise((function(e){l.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(!ae(e,t))return"production"!==process.env.NODE_ENV&&console.error(re),l;function d(){p.forEach((function(e){return e()})),p=[]}return l.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),l}}var pe=se({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,p=l(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,R)})),s&&p.addEventListener("resize",n.update,R),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,R)})),s&&p.removeEventListener("resize",n.update,R)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=X({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,p=void 0===s||s;if("production"!==process.env.NODE_ENV){var u=E(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var c={placement:h(t.placement),variation:M(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,V(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,V(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},v,{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,u=p.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,p="function"==typeof o?o(Object.assign({},t,{placement:e})):o,u=p[0],c=p[1];return u=u||0,c=(c||0)*s,[i,r].indexOf(a)>=0?{x:c,y:u}:{x:u,y:c}}(o,t.rects,s),e}),{}),c=u[t.placement],l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c.x,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}},{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 p=a.mainAxis,u=void 0===p||p,c=a.altAxis,l=void 0===c||c,f=a.fallbackPlacements,d=a.padding,m=a.boundary,v=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=t.options.placement,x=h(O),E=f||(x===O||!b?[_(O)]:function(e){if("auto"===h(e))return[];var t=_(e);return[B(e),t,B(t)]}(O)),T=[O].concat(E).reduce((function(e,n){return e.concat("auto"===h(n)?J(t,{placement:n,boundary:m,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),A=t.rects.reference,D=t.rects.popper,C=new Map,j=!0,S=T[0],P=0;P<T.length;P++){var k=T[P],N=h(k),L="start"===M(k),V=[n,o].indexOf(N)>=0,R=V?"width":"height",H=G(t,{placement:k,boundary:m,rootBoundary:v,altBoundary:g,padding:d}),I=V?L?r:i:L?o:n;A[R]>D[R]&&(I=_(I));var q=_(I),W=[];if(u&&W.push(H[N]<=0),l&&W.push(H[I]<=0,H[q]<=0),W.every((function(e){return e}))){S=k,j=!1;break}C.set(k,W)}if(j)for(var U=function(e){var t=T.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},$=b?3:1;$>0;$--){if("break"===U($))break}t.placement!==S&&(t.modifiersData[s]._skip=!0,t.placement=S,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,p=a.mainAxis,u=void 0===p||p,c=a.altAxis,l=void 0!==c&&c,f=a.tether,d=void 0===f||f,m=a.tetherOffset,v=void 0===m?0:m,b=G(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=h(t.placement),x=M(t.placement),E=!x,T=S(w),A="x"===T?"y":"x",D=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,N="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,L="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(D){if(u){var H,_="y"===T?n:i,I="y"===T?o:r,B="y"===T?"height":"width",q=D[T],W=q+b[_],U=q-b[I],$=d?-k[B]/2:0,F="start"===x?C[B]:k[B],z="start"===x?-k[B]:-C[B],Y=t.elements.arrow,X=d&&Y?O(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=J[_],Q=J[I],Z=P(0,C[B],X[B]),ee=E?C[B]/2-$-Z-K-L.mainAxis:F-Z-K-L.mainAxis,te=E?-C[B]/2+$+Z+Q+L.mainAxis:z+Z+Q+L.mainAxis,ne=t.elements.arrow&&j(t.elements.arrow),oe=null!=(H=null==V?void 0:V[T])?H:0,re=q+te-oe,ie=P(d?y(W,q+ee-oe-(ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0)):W,q,d?g(U,re):U);D[T]=ie,R[T]=ie-q}if(l){var ae,se=D[A],pe="y"===A?"height":"width",ue=se+b["x"===T?n:i],ce=se-b["x"===T?o:r],le=-1!==[n,i].indexOf(w),fe=null!=(ae=null==V?void 0:V[A])?ae:0,de=le?ue:se-C[pe]-k[pe]-fe+L.altAxis,me=le?se+C[pe]+k[pe]-fe-L.altAxis:ce,ve=d&&le?function(e,t,n){var o=P(e,t,n);return o>n?n:o}(de,se,me):P(d?de:ue,se,d?me:ce);D[A]=ve,R[A]=ve-se}t.modifiersData[s]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,p=e.name,u=e.options,c=s.elements.arrow,l=s.modifiersData.popperOffsets,f=h(s.placement),d=S(f),m=[i,r].indexOf(f)>=0?"height":"width";if(c&&l){var v=function(e,t){return k("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:N(e,a))}(u.padding,s),g=O(c),y="y"===d?n:i,b="y"===d?o:r,w=s.rects.reference[m]+s.rects.reference[d]-l[d]-s.rects.popper[m],x=l[d]-s.rects.reference[d],E=j(c),T=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,A=T/2-g[m]/2+(w/2-x/2),D=P(v[y],A,T-g[m]-v[b]);s.modifiersData[p]=((t={})[d]=D,t.centerOffset=D-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)))&&("production"!==process.env.NODE_ENV&&(d(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),x(t.elements.popper,o)?t.elements.arrow=o:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},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=G(t,{elementContext:"reference"}),s=G(t,{altBoundary:!0}),p=K(a,o),u=K(s,r,i),c=Q(p),l=Q(u);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]}),ue={passive:!0,capture:!0},ce=function(){return document.body};function le(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function fe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function de(e,t){return"function"==typeof e?e.apply(void 0,t):e}function me(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function ve(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function he(e){return[].concat(e)}function ge(e,t){-1===e.indexOf(t)&&e.push(t)}function ye(e){return e.split("-")[0]}function be(e){return[].slice.call(e)}function we(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Oe(){return document.createElement("div")}function xe(e){return["Element","Fragment"].some((function(t){return fe(e,t)}))}function Ee(e){return fe(e,"MouseEvent")}function Te(e){return xe(e)?[e]:function(e){return fe(e,"NodeList")}(e)?be(e):Array.isArray(e)?e:be(document.querySelectorAll(e))}function Ae(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function De(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ce(e){var t,n=he(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function je(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Se(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 Pe={isTouch:!1},ke=0;function Ne(){Pe.isTouch||(Pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Me))}function Me(){var e=performance.now();e-ke<20&&(Pe.isTouch=!1,document.removeEventListener("mousemove",Me)),ke=e}function Le(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var Ve,Re=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function He(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function _e(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Ie(e){return _e("\n %ctippy.js\n\n %c"+_e(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Be(e){return[Ie(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function qe(e,t){var n;e&&!Ve.has(t)&&(Ve.add(t),(n=console).warn.apply(n,Be(t)))}function We(e,t){var n;e&&!Ve.has(t)&&(Ve.add(t),(n=console).error.apply(n,Be(t)))}"production"!==process.env.NODE_ENV&&(Ve=new Set);var Ue={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},$e=Object.assign({appendTo:ce,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},Ue,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Fe=Object.keys($e);function ze(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=$e[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function Ye(e,t){var n=Object.assign({},t,{content:de(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(ze(Object.assign({},$e,{plugins:t}))):Fe).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({},$e.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 Xe(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n=ve($e,Object.keys(Ue)),o=!{}.hasOwnProperty.call(n,e);o&&(o=0===t.filter((function(t){return t.name===e})).length),qe(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}function Ge(e,t){e.innerHTML=t}function Je(e){var t=Oe();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",xe(e)?t.appendChild(e):Ge(t,e)),t}function Ke(e,t){xe(t.content)?(Ge(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ge(e,t.content):e.textContent=t.content)}function Qe(e){var t=e.firstElementChild,n=be(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 Ze(e){var t=Oe(),n=Oe();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Oe();function r(n,o){var r=Qe(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||Ke(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Je(o.arrow))):i.appendChild(Je(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Ke(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ze.$$tippy=!0;var et=1,tt=[],nt=[];function ot(e,t){var n,o,r,i,a,s,p,u,c=Ye(e,Object.assign({},$e,ze(we(t)))),l=!1,f=!1,d=!1,m=!1,v=[],h=me(Y,c.interactiveDebounce),g=et++,y=(u=c.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:Oe(),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){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("setProps"));if(b.state.isDestroyed)return;M("onBeforeUpdate",[b,t]),F();var n=b.props,o=Ye(e,Object.assign({},n,we(t),{ignoreAttributes:!0}));b.props=o,$(),n.interactiveDebounce!==o.interactiveDebounce&&(R(),h=me(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?he(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");V(),N(),x&&x(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));M("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Pe.isTouch&&!b.props.touch,r=le(b.props.duration,0,$e.duration);if(e||t||n||o)return;if(j().hasAttribute("disabled"))return;if(M("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(O.style.visibility="visible");N(),B(),b.state.isMounted||(O.style.transition="none");if(C()){var i=P();Ae([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,O.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=P(),n=t.box,o=t.content;Ae([n,o],r),De([n,o],"visible")}L(),V(),ge(nt,b),null==(e=b.popperInstance)||e.forceUpdate(),M("onMount",[b]),b.props.animation&&C()&&function(e,t){W(e,t)}(r,(function(){b.state.isShown=!0,M("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=j();e=b.props.interactive&&t===ce||"parent"===t?n.parentNode:de(t,[n]);e.contains(O)||e.appendChild(O);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&qe(b.props.interactive&&t===$e.appendTo&&n.nextElementSibling!==O,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=le(b.props.duration,1,$e.duration);if(e||t||n)return;if(M("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,m=!1,l=!1,C()&&(O.style.visibility="hidden");if(R(),q(),N(!0),C()){var r=P(),i=r.box,a=r.content;b.props.animation&&(Ae([i,a],o),De([i,a],"hidden"))}L(),V(),b.props.animation?C()&&function(e,t){W(e,(function(){!b.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("hideWithInteractivity"));S().addEventListener("mousemove",h),ge(tt,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),O.parentNode&&O.parentNode.removeChild(O);nt=nt.filter((function(e){return e!==b})),b.state.isMounted=!1,M("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,M("onDestroy",[b])}};if(!c.render)return"production"!==process.env.NODE_ENV&&We(!0,"render() function has not been supplied."),b;var w=c.render(b),O=w.popper,x=w.onUpdate;O.setAttribute("data-tippy-root",""),O.id="tippy-"+b.id,b.popper=O,e._tippy=b,O._tippy=b;var E=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return $(),V(),N(),M("onCreate",[b]),c.showOnCreate&&ee(),O.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),O.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&S().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===A()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function j(){return p||e}function S(){var e=j().parentNode;return e?Ce(e):document}function P(){return Qe(O)}function k(e){return b.state.isMounted&&!b.state.isVisible||Pe.isTouch||i&&"focus"===i.type?0:le(b.props.delay,e?0:1,$e.delay)}function N(e){void 0===e&&(e=!1),O.style.pointerEvents=b.props.interactive&&!e?"":"none",O.style.zIndex=""+b.props.zIndex}function M(e,t,n){var o;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=b.props)[e].apply(o,t)}function L(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=O.id;he(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 V(){!T&&b.props.aria.expanded&&he(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){S().removeEventListener("mousemove",h),tt=tt.filter((function(e){return e!==h}))}function H(t){if(!Pe.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Se(O,n)){if(he(b.props.triggerTarget||e).some((function(e){return Se(e,n)}))){if(Pe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||q())}}}function _(){d=!0}function I(){d=!1}function B(){var e=S();e.addEventListener("mousedown",H,!0),e.addEventListener("touchend",H,ue),e.addEventListener("touchstart",I,ue),e.addEventListener("touchmove",_,ue)}function q(){var e=S();e.removeEventListener("mousedown",H,!0),e.removeEventListener("touchend",H,ue),e.removeEventListener("touchstart",I,ue),e.removeEventListener("touchmove",_,ue)}function W(e,t){var n=P().box;function o(e){e.target===n&&(je(n,"remove",o),t())}if(0===e)return t();je(n,"remove",a),je(n,"add",o),a=o}function U(t,n,o){void 0===o&&(o=!1),he(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),v.push({node:e,eventType:t,handler:n,options:o})}))}function $(){var e;D()&&(U("touchstart",z,{passive:!0}),U("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,z),e){case"mouseenter":U("mouseleave",X);break;case"focus":U(Re?"focusout":"blur",G);break;case"focusin":U("focusout",G)}}))}function F(){v.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),v=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!J(e)&&!f){var o="focus"===(null==(t=i)?void 0:t.type);i=e,p=e.currentTarget,V(),!b.state.isVisible&&Ee(e)&&tt.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!o&&te(e)}}function Y(e){var t=e.target,n=j().contains(t)||O.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=ye(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(O).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)&&(R(),te(e))}function X(e){J(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==j()||b.props.interactive&&e.relatedTarget&&O.contains(e.relatedTarget)||te(e)}function J(e){return!!Pe.isTouch&&D()!==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,p=C()?Qe(O).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||j()}: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=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&p&&c.push({name:"arrow",options:{element:p,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=pe(u,O,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:c}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return be(O.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),B();var t=k(!0),o=A(),r=o[1];Pe.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),M("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&&l)){var t=k(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else q()}}function rt(e,t){void 0===t&&(t={});var n=$e.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;We(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),We(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),Xe(t,n)),document.addEventListener("touchstart",Ne,ue),window.addEventListener("blur",Le);var o=Object.assign({},t,{plugins:n}),r=Te(e);"production"!==process.env.NODE_ENV&&qe(xe(o.content)&&r.length>1,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));var i=r.reduce((function(e,t){var n=t&&ot(t,o);return n&&e.push(n),e}),[]);return xe(e)?i[0]:i}rt.defaultProps=$e,rt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&Xe(e,[]),Object.keys(e).forEach((function(t){$e[t]=e[t]}))},rt.currentInput=Pe;var it=Object.assign({},v,{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)}}),at={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return"production"!==process.env.NODE_ENV&&We(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Qe(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=Oe();return e.className="tippy-backdrop",De([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,De([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&De([i],"hidden")}}}};var st={clientX:0,clientY:0},pt=[];function ut(e){st={clientX:e.clientX,clientY:e.clientY}}var ct={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Ce(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function p(){n.addEventListener("mousemove",l)}function u(){n.removeEventListener("mousemove",l)}function c(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function l(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),p=i-s.left,u=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+p,o=e.top+u);var s="horizontal"===r?e.top:o,c="vertical"===r?e.right:n,l="horizontal"===r?e.bottom:o,f="vertical"===r?e.left:n;return{width:c-f,height:l-s,top:s,right:c,bottom:l,left:f}}})}function f(){e.props.followCursor&&(pt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",ut)}(n))}function d(){0===(pt=pt.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",ut)}(n)}return{onCreate:f,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(f(),!e.state.isMounted||r||s()||p()):(u(),c()))},onMount:function(){e.props.followCursor&&!r&&(i&&(l(st),i=!1),s()||p())},onTrigger:function(e,t){Ee(t)&&(st={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(c(),u(),i=!0)}}}};var lt={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,p=i.bottom,u=a?r.left:i.left,c=a?r.right:i.right;return{top:s,bottom:p,left:u,right:c,width:c-u,height:p-s};case"left":case"right":var l=Math.min.apply(Math,n.map((function(e){return e.left}))),f=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===l:t.right===f})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:l,right:f,width:f-l,height:v-m};default:return t}}(ye(e),n.getBoundingClientRect(),be(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(Ee(n)){var r=be(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 ft={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,p=o("popper")?n.getBoundingClientRect():null;(s&&dt(r,s)||p&&dt(i,p))&&e.popperInstance&&e.popperInstance.update(),r=s,i=p,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function dt(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function mt(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref(),a=t.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1});let s=null;const p=()=>s||(s=document.createElement("fragment"),s),u=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,p()),n=()=>p();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,p()),n=()=>p()}else n=o;return n},c=e=>{let n={};return n=t.isRef(e)?e.value:(t.isReactive(e),{...e}),n.content&&(n.content=u(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins.push({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(c(n))},f=()=>{i.value&&n.content&&i.value.setContent(u(n.content))},d=()=>{i.value&&(i.value.destroy(),i.value=void 0),s=null},m=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=rt(o,c(n)),o.$tippy=v)},v={tippy:i,refresh:l,refreshContent:f,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(u(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(c(e))},destroy:d,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),t.onUnmounted(()=>{d()})):m()),t.isRef(n)||t.isReactive(n)?t.watch(n,l,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,f,{immediate:!1}),v}function vt(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=function(e,t){var n;void 0===t&&(t={}),"production"!==process.env.NODE_ENV&&We(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var o,r=e,i=[],a=[],s=t.overrides,p=[],u=!1;function c(){a=r.map((function(e){return he(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function l(){i=r.map((function(e){return e.reference}))}function f(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 m(e,t){var n=a.indexOf(t);if(t!==o){o=t;var p=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},p,{getReferenceClientRect:"function"==typeof p.getReferenceClientRect?p.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}f(!1),l(),c();var v={fn:function(){return{onDestroy:function(){f(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,m(e,i[0]))},onTrigger:function(e,t){m(e,t.currentTarget)}}}},h=rt(Oe(),Object.assign({},ve(t,["overrides"]),{plugins:[v].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[it])})})),g=h.show;h.show=function(e){return g(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&m(h,i[e]):r.indexOf(e)>=0?m(h,e.reference):i.indexOf(e)>=0?m(h,e):void 0:m(h,i[0])},h.showNext=function(){var e=i[0];if(!o)return h.show(0);var t=i.indexOf(o);h.show(i[t+1]||e)},h.showPrevious=function(){var e=i[i.length-1];if(!o)return h.show(e);var t=i.indexOf(o);h.show(i[t-1]||e)};var y=h.setProps;return h.setProps=function(e){s=e.overrides||s,y(e)},h.setInstances=function(e){f(!0),p.forEach((function(e){return e()})),r=e,f(!1),l(),c(),p=d(h),h.setProps({triggerTarget:a})},p=d(h),h}(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}rt.setDefaultProps({render:Ze}),rt.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const ht=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let gt={};Object.keys(rt.defaultProps).forEach(e=>{gt[e]=ht.includes(e)?{type:Boolean,default:function(){return rt.defaultProps[e]}}:{default:function(){return rt.defaultProps[e]}}}),gt.to={},gt.tag={default:"span"},gt.contentTag={default:"span"},gt.contentClass={default:null};const yt=t.defineComponent({props:gt,emits:["state"],setup(e,{slots:n,emit:o}){const r=t.ref(),i=t.ref(),a=t.ref(!1);let s={...e};for(const e of["to","tag","contentTag","contentClass"])s.hasOwnProperty(e)&&delete s[e];let p=r;e.to&&("undefined"!=typeof Element&&e.to instanceof Element?p=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(p=()=>document.querySelector(e.to)));const u=mt(p,s);return t.onMounted(()=>{a.value=!0,t.nextTick(()=>{n.content&&u.setContent(()=>i.value)})}),t.watch(u.state,()=>{o("state",t.unref(u.state))},{immediate:!0,deep:!0}),{elem:r,contentElem:i,mounted:a,...u}},render(){let e=this.$slots.default?this.$slots.default(this):[];return t.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[e,t.h(this.contentTag,{ref:"contentElem",style:{display:this.mounted?"inherit":"none"},class:this.contentClass},this.$slots.content(this))]:e)}}),bt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let wt={};Object.keys(rt.defaultProps).forEach(e=>{wt[e]=bt.includes(e)?{type:Boolean,default:function(){return rt.defaultProps[e]}}:{default:function(){return rt.defaultProps[e]}}});const Ot=t.defineComponent({props:wt,setup(e){const n=t.ref([]),{singleton:o}=vt(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)}}),xt={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")),mt(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||{})}},Et={install(e,t={}){rt.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",xt),e.component(t.component||"tippy",yt),e.component(t.componentSingleton||"tippy-singleton",Ot)}},Tt=rt.setDefaultProps;return Tt({ignoreAttributes:!0,plugins:[ft,lt,ct,at]}),e.Tippy=yt,e.TippySingleton=Ot,e.default=Et,e.directive=xt,e.plugin=Et,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=Tt,e.tippy=rt,e.useSingleton=vt,e.useTippy=mt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(yt,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
6
+ 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"])}),[]),p=[].concat(a,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),u=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(e){return e?(e.nodeName||"").toLowerCase():null}function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){return e instanceof l(e).Element||e instanceof Element}function d(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}var v={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 O(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 x(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&m(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function E(e){return l(e).getComputedStyle(e)}function T(e){return["table","td","th"].indexOf(c(e))>=0}function A(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function D(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||A(e)}function C(e){return d(e)&&"fixed"!==E(e).position?e.offsetParent:null}function j(e){for(var t=l(e),n=C(e);n&&T(n)&&"static"===E(n).position;)n=C(n);return n&&("html"===c(n)||"body"===c(n)&&"static"===E(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===E(e).position)return null;for(var n=D(e);d(n)&&["html","body"].indexOf(c(n))<0;){var o=E(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 S(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function P(e,t,n){return g(e,y(t,n))}function k(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function N(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function M(e){return e.split("-")[1]}var L={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(e){var t,a=e.popper,s=e.popperRect,p=e.placement,u=e.variation,c=e.offsets,f=e.position,d=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,h=e.isFixed,g=!0===v?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 v?v(c):c,y=g.x,w=void 0===y?0:y,O=g.y,x=void 0===O?0:O,T=c.hasOwnProperty("x"),D=c.hasOwnProperty("y"),C=i,S=n,P=window;if(m){var k=j(a),N="clientHeight",M="clientWidth";if(k===l(a)&&"static"!==E(k=A(a)).position&&"absolute"===f&&(N="scrollHeight",M="scrollWidth"),k=k,p===n||(p===i||p===r)&&"end"===u)S=o,x-=(h&&P.visualViewport?P.visualViewport.height:k[N])-s.height,x*=d?1:-1;if(p===i||(p===n||p===o)&&"end"===u)C=r,w-=(h&&P.visualViewport?P.visualViewport.width:k[M])-s.width,w*=d?1:-1}var V,R=Object.assign({position:f},m&&L);return Object.assign({},R,d?((V={})[S]=D?"0":"",V[C]=T?"0":"",V.transform=(P.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",V):((t={})[S]=D?x+"px":"",t[C]=T?w+"px":"",t.transform="",t))}var R={passive:!0};var H={left:"right",right:"left",bottom:"top",top:"bottom"};function _(e){return e.replace(/left|right|bottom|top/g,(function(e){return H[e]}))}var I={start:"end",end:"start"};function B(e){return e.replace(/start|end/g,(function(e){return I[e]}))}function q(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function W(e){return w(A(e)).left+q(e).scrollLeft}function U(e){var t=E(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function $(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:d(t)&&U(t)?t:e(D(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=l(o),a=r?[i].concat(i.visualViewport||[],U(o)?o:[]):o,s=t.concat(a);return r?s:s.concat($(D(a)))}function F(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?F(function(e){var t=l(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+W(e),y:s}}(e)):f(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):F(function(e){var t,n=A(e),o=q(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+W(e),p=-o.scrollTop;return"rtl"===E(r||n).direction&&(s+=g(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:p}}(A(e)))}function Y(e,t,n){var o="clippingParents"===t?function(e){var t=$(D(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0,o=n&&d(e)?j(e):e;return f(o)?t.filter((function(e){return f(e)&&x(e,o)&&"body"!==c(e)&&(!n||"static"!==E(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 X(e){var t,a=e.reference,s=e.element,p=e.placement,u=p?h(p):null,c=p?M(p):null,l=a.x+a.width/2-s.width/2,f=a.y+a.height/2-s.height/2;switch(u){case n:t={x:l,y:a.y-s.height};break;case o:t={x:l,y:a.y+a.height};break;case r:t={x:a.x+a.width,y:f};break;case i:t={x:a.x-s.width,y:f};break;default:t={x:a.x,y:a.y}}var d=u?S(u):null;if(null!=d){var m="y"===d?"height":"width";switch(c){case"start":t[d]=t[d]-(a[m]/2-s[m]/2);break;case"end":t[d]=t[d]+(a[m]/2-s[m]/2)}}return t}function G(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,p=t.boundary,u=void 0===p?"clippingParents":p,c=t.rootBoundary,l=void 0===c?"viewport":c,d=t.elementContext,m=void 0===d?"popper":d,v=t.altBoundary,h=void 0!==v&&v,g=t.padding,y=void 0===g?0:g,b=k("number"!=typeof y?y:N(y,a)),O=e.rects.popper,x=e.elements[h?"popper"===m?"reference":"popper":m],E=Y(f(x)?x:x.contextElement||A(e.elements.popper),u,l),T=w(e.elements.reference),D=X({reference:T,element:O,strategy:"absolute",placement:s}),C=F(Object.assign({},O,D)),j="popper"===m?C:T,S={top:E.top-j.top+b.top,bottom:j.bottom-E.bottom+b.bottom,left:E.left-j.left+b.left,right:j.right-E.right+b.right},P=e.modifiersData.offset;if("popper"===m&&P){var M=P[s];Object.keys(S).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,i=[n,o].indexOf(e)>=0?"y":"x";S[e]+=M[i]*t}))}return S}function J(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,u=t.allowedAutoPlacements,c=void 0===u?p:u,l=M(t.placement),f=l?i?s:s.filter((function(e){return M(e)===l})):a,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var m=d.reduce((function(t,i){return t[i]=G(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[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),p=w(e,a),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==c(t)||U(s))&&(u=(o=t)!==l(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:q(o)),d(t)?((f=w(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=W(s))),{x:p.left+u.scrollLeft-f.x,y:p.top+u.scrollTop-f.y,width:p.width,height:p.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}function te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var ne='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',oe=["name","enabled","phase","fn","effect","requires","options"];var re="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ae(){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 se(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?ie:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],c=!1,l={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:f(e)?$(e):e.contextElement?$(e.contextElement):[],popper:$(t)};var a,c,m,v=function(e){var t=ee(e);return u.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.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}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,s.options.modifiers)));if(s.orderedModifiers=v.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),oe).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(te(ne,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(te(ne,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":u.indexOf(t.phase)<0&&console.error(te(ne,t.name,'"phase"',"either "+u.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(te(ne,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(te(ne,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(te(ne,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(te(ne,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+oe.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(te('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(v,s.options.modifiers),c=function(e){return e.name},m=new Set,a.filter((function(e){var t=c(e);if(!m.has(t))return m.add(t),!0})))),"auto"===h(s.options.placement))s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var g=E(t);[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return 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:l,options:void 0===t?{}:t});p.push(o||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ae(t,n)){s.rects={reference:Z(t,j(n),"fixed"===s.options.strategy),popper:O(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,r=0;r<s.orderedModifiers.length;r++){if("production"!==process.env.NODE_ENV&&(o+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[r],a=i.fn,p=i.options;"function"==typeof a&&(s=a({state:s,options:void 0===p?{}:p,name:i.name,instance:l})||s)}else s.reset=!1,r=-1}}else"production"!==process.env.NODE_ENV&&console.error(re)}},update:(i=function(){return new Promise((function(e){l.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(!ae(e,t))return"production"!==process.env.NODE_ENV&&console.error(re),l;function d(){p.forEach((function(e){return e()})),p=[]}return l.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),l}}var pe=se({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,p=l(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,R)})),s&&p.addEventListener("resize",n.update,R),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,R)})),s&&p.removeEventListener("resize",n.update,R)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=X({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,p=void 0===s||s;if("production"!==process.env.NODE_ENV){var u=E(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var c={placement:h(t.placement),variation:M(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,V(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,V(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},v,{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,u=p.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,p="function"==typeof o?o(Object.assign({},t,{placement:e})):o,u=p[0],c=p[1];return u=u||0,c=(c||0)*s,[i,r].indexOf(a)>=0?{x:c,y:u}:{x:u,y:c}}(o,t.rects,s),e}),{}),c=u[t.placement],l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c.x,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}},{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 p=a.mainAxis,u=void 0===p||p,c=a.altAxis,l=void 0===c||c,f=a.fallbackPlacements,d=a.padding,m=a.boundary,v=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=t.options.placement,x=h(O),E=f||(x===O||!b?[_(O)]:function(e){if("auto"===h(e))return[];var t=_(e);return[B(e),t,B(t)]}(O)),T=[O].concat(E).reduce((function(e,n){return e.concat("auto"===h(n)?J(t,{placement:n,boundary:m,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),A=t.rects.reference,D=t.rects.popper,C=new Map,j=!0,S=T[0],P=0;P<T.length;P++){var k=T[P],N=h(k),L="start"===M(k),V=[n,o].indexOf(N)>=0,R=V?"width":"height",H=G(t,{placement:k,boundary:m,rootBoundary:v,altBoundary:g,padding:d}),I=V?L?r:i:L?o:n;A[R]>D[R]&&(I=_(I));var q=_(I),W=[];if(u&&W.push(H[N]<=0),l&&W.push(H[I]<=0,H[q]<=0),W.every((function(e){return e}))){S=k,j=!1;break}C.set(k,W)}if(j)for(var U=function(e){var t=T.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},$=b?3:1;$>0;$--){if("break"===U($))break}t.placement!==S&&(t.modifiersData[s]._skip=!0,t.placement=S,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,p=a.mainAxis,u=void 0===p||p,c=a.altAxis,l=void 0!==c&&c,f=a.tether,d=void 0===f||f,m=a.tetherOffset,v=void 0===m?0:m,b=G(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=h(t.placement),x=M(t.placement),E=!x,T=S(w),A="x"===T?"y":"x",D=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,N="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,L="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(D){if(u){var H,_="y"===T?n:i,I="y"===T?o:r,B="y"===T?"height":"width",q=D[T],W=q+b[_],U=q-b[I],$=d?-k[B]/2:0,F="start"===x?C[B]:k[B],z="start"===x?-k[B]:-C[B],Y=t.elements.arrow,X=d&&Y?O(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=J[_],Q=J[I],Z=P(0,C[B],X[B]),ee=E?C[B]/2-$-Z-K-L.mainAxis:F-Z-K-L.mainAxis,te=E?-C[B]/2+$+Z+Q+L.mainAxis:z+Z+Q+L.mainAxis,ne=t.elements.arrow&&j(t.elements.arrow),oe=null!=(H=null==V?void 0:V[T])?H:0,re=q+te-oe,ie=P(d?y(W,q+ee-oe-(ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0)):W,q,d?g(U,re):U);D[T]=ie,R[T]=ie-q}if(l){var ae,se=D[A],pe="y"===A?"height":"width",ue=se+b["x"===T?n:i],ce=se-b["x"===T?o:r],le=-1!==[n,i].indexOf(w),fe=null!=(ae=null==V?void 0:V[A])?ae:0,de=le?ue:se-C[pe]-k[pe]-fe+L.altAxis,me=le?se+C[pe]+k[pe]-fe-L.altAxis:ce,ve=d&&le?function(e,t,n){var o=P(e,t,n);return o>n?n:o}(de,se,me):P(d?de:ue,se,d?me:ce);D[A]=ve,R[A]=ve-se}t.modifiersData[s]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,p=e.name,u=e.options,c=s.elements.arrow,l=s.modifiersData.popperOffsets,f=h(s.placement),d=S(f),m=[i,r].indexOf(f)>=0?"height":"width";if(c&&l){var v=function(e,t){return k("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:N(e,a))}(u.padding,s),g=O(c),y="y"===d?n:i,b="y"===d?o:r,w=s.rects.reference[m]+s.rects.reference[d]-l[d]-s.rects.popper[m],x=l[d]-s.rects.reference[d],E=j(c),T=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,A=T/2-g[m]/2+(w/2-x/2),D=P(v[y],A,T-g[m]-v[b]);s.modifiersData[p]=((t={})[d]=D,t.centerOffset=D-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)))&&("production"!==process.env.NODE_ENV&&(d(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),x(t.elements.popper,o)?t.elements.arrow=o:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},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=G(t,{elementContext:"reference"}),s=G(t,{altBoundary:!0}),p=K(a,o),u=K(s,r,i),c=Q(p),l=Q(u);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]}),ue={passive:!0,capture:!0},ce=function(){return document.body};function le(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function fe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function de(e,t){return"function"==typeof e?e.apply(void 0,t):e}function me(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function ve(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function he(e){return[].concat(e)}function ge(e,t){-1===e.indexOf(t)&&e.push(t)}function ye(e){return e.split("-")[0]}function be(e){return[].slice.call(e)}function we(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Oe(){return document.createElement("div")}function xe(e){return["Element","Fragment"].some((function(t){return fe(e,t)}))}function Ee(e){return fe(e,"MouseEvent")}function Te(e){return xe(e)?[e]:function(e){return fe(e,"NodeList")}(e)?be(e):Array.isArray(e)?e:be(document.querySelectorAll(e))}function Ae(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function De(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ce(e){var t,n=he(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function je(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Se(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 Pe={isTouch:!1},ke=0;function Ne(){Pe.isTouch||(Pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Me))}function Me(){var e=performance.now();e-ke<20&&(Pe.isTouch=!1,document.removeEventListener("mousemove",Me)),ke=e}function Le(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var Ve,Re=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function He(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function _e(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Ie(e){return _e("\n %ctippy.js\n\n %c"+_e(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Be(e){return[Ie(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function qe(e,t){var n;e&&!Ve.has(t)&&(Ve.add(t),(n=console).warn.apply(n,Be(t)))}function We(e,t){var n;e&&!Ve.has(t)&&(Ve.add(t),(n=console).error.apply(n,Be(t)))}"production"!==process.env.NODE_ENV&&(Ve=new Set);var Ue={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},$e=Object.assign({appendTo:ce,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},Ue,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Fe=Object.keys($e);function ze(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=$e[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function Ye(e,t){var n=Object.assign({},t,{content:de(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(ze(Object.assign({},$e,{plugins:t}))):Fe).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({},$e.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 Xe(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n=ve($e,Object.keys(Ue)),o=!{}.hasOwnProperty.call(n,e);o&&(o=0===t.filter((function(t){return t.name===e})).length),qe(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}function Ge(e,t){e.innerHTML=t}function Je(e){var t=Oe();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",xe(e)?t.appendChild(e):Ge(t,e)),t}function Ke(e,t){xe(t.content)?(Ge(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ge(e,t.content):e.textContent=t.content)}function Qe(e){var t=e.firstElementChild,n=be(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 Ze(e){var t=Oe(),n=Oe();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Oe();function r(n,o){var r=Qe(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||Ke(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Je(o.arrow))):i.appendChild(Je(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Ke(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ze.$$tippy=!0;var et=1,tt=[],nt=[];function ot(e,t){var n,o,r,i,a,s,p,u,c=Ye(e,Object.assign({},$e,ze(we(t)))),l=!1,f=!1,d=!1,m=!1,v=[],h=me(Y,c.interactiveDebounce),g=et++,y=(u=c.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:Oe(),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){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("setProps"));if(b.state.isDestroyed)return;M("onBeforeUpdate",[b,t]),F();var n=b.props,o=Ye(e,Object.assign({},n,we(t),{ignoreAttributes:!0}));b.props=o,$(),n.interactiveDebounce!==o.interactiveDebounce&&(R(),h=me(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?he(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");V(),N(),x&&x(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));M("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Pe.isTouch&&!b.props.touch,r=le(b.props.duration,0,$e.duration);if(e||t||n||o)return;if(j().hasAttribute("disabled"))return;if(M("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(O.style.visibility="visible");N(),B(),b.state.isMounted||(O.style.transition="none");if(C()){var i=P();Ae([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,O.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=P(),n=t.box,o=t.content;Ae([n,o],r),De([n,o],"visible")}L(),V(),ge(nt,b),null==(e=b.popperInstance)||e.forceUpdate(),M("onMount",[b]),b.props.animation&&C()&&function(e,t){W(e,t)}(r,(function(){b.state.isShown=!0,M("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=j();e=b.props.interactive&&t===ce||"parent"===t?n.parentNode:de(t,[n]);e.contains(O)||e.appendChild(O);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&qe(b.props.interactive&&t===$e.appendTo&&n.nextElementSibling!==O,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=le(b.props.duration,1,$e.duration);if(e||t||n)return;if(M("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,m=!1,l=!1,C()&&(O.style.visibility="hidden");if(R(),q(),N(!0),C()){var r=P(),i=r.box,a=r.content;b.props.animation&&(Ae([i,a],o),De([i,a],"hidden"))}L(),V(),b.props.animation?C()&&function(e,t){W(e,(function(){!b.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("hideWithInteractivity"));S().addEventListener("mousemove",h),ge(tt,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),O.parentNode&&O.parentNode.removeChild(O);nt=nt.filter((function(e){return e!==b})),b.state.isMounted=!1,M("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,M("onDestroy",[b])}};if(!c.render)return"production"!==process.env.NODE_ENV&&We(!0,"render() function has not been supplied."),b;var w=c.render(b),O=w.popper,x=w.onUpdate;O.setAttribute("data-tippy-root",""),O.id="tippy-"+b.id,b.popper=O,e._tippy=b,O._tippy=b;var E=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return $(),V(),N(),M("onCreate",[b]),c.showOnCreate&&ee(),O.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),O.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&S().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===A()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function j(){return p||e}function S(){var e=j().parentNode;return e?Ce(e):document}function P(){return Qe(O)}function k(e){return b.state.isMounted&&!b.state.isVisible||Pe.isTouch||i&&"focus"===i.type?0:le(b.props.delay,e?0:1,$e.delay)}function N(e){void 0===e&&(e=!1),O.style.pointerEvents=b.props.interactive&&!e?"":"none",O.style.zIndex=""+b.props.zIndex}function M(e,t,n){var o;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=b.props)[e].apply(o,t)}function L(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=O.id;he(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 V(){!T&&b.props.aria.expanded&&he(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){S().removeEventListener("mousemove",h),tt=tt.filter((function(e){return e!==h}))}function H(t){if(!Pe.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Se(O,n)){if(he(b.props.triggerTarget||e).some((function(e){return Se(e,n)}))){if(Pe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||q())}}}function _(){d=!0}function I(){d=!1}function B(){var e=S();e.addEventListener("mousedown",H,!0),e.addEventListener("touchend",H,ue),e.addEventListener("touchstart",I,ue),e.addEventListener("touchmove",_,ue)}function q(){var e=S();e.removeEventListener("mousedown",H,!0),e.removeEventListener("touchend",H,ue),e.removeEventListener("touchstart",I,ue),e.removeEventListener("touchmove",_,ue)}function W(e,t){var n=P().box;function o(e){e.target===n&&(je(n,"remove",o),t())}if(0===e)return t();je(n,"remove",a),je(n,"add",o),a=o}function U(t,n,o){void 0===o&&(o=!1),he(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),v.push({node:e,eventType:t,handler:n,options:o})}))}function $(){var e;D()&&(U("touchstart",z,{passive:!0}),U("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,z),e){case"mouseenter":U("mouseleave",X);break;case"focus":U(Re?"focusout":"blur",G);break;case"focusin":U("focusout",G)}}))}function F(){v.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),v=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!J(e)&&!f){var o="focus"===(null==(t=i)?void 0:t.type);i=e,p=e.currentTarget,V(),!b.state.isVisible&&Ee(e)&&tt.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!o&&te(e)}}function Y(e){var t=e.target,n=j().contains(t)||O.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=ye(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(O).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)&&(R(),te(e))}function X(e){J(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==j()||b.props.interactive&&e.relatedTarget&&O.contains(e.relatedTarget)||te(e)}function J(e){return!!Pe.isTouch&&D()!==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,p=C()?Qe(O).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||j()}: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=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&p&&c.push({name:"arrow",options:{element:p,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=pe(u,O,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:c}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return be(O.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),B();var t=k(!0),o=A(),r=o[1];Pe.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),M("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&&l)){var t=k(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else q()}}function rt(e,t){void 0===t&&(t={});var n=$e.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;We(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),We(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),Xe(t,n)),document.addEventListener("touchstart",Ne,ue),window.addEventListener("blur",Le);var o=Object.assign({},t,{plugins:n}),r=Te(e);"production"!==process.env.NODE_ENV&&qe(xe(o.content)&&r.length>1,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));var i=r.reduce((function(e,t){var n=t&&ot(t,o);return n&&e.push(n),e}),[]);return xe(e)?i[0]:i}rt.defaultProps=$e,rt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&Xe(e,[]),Object.keys(e).forEach((function(t){$e[t]=e[t]}))},rt.currentInput=Pe;var it=Object.assign({},v,{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)}}),at={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return"production"!==process.env.NODE_ENV&&We(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Qe(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=Oe();return e.className="tippy-backdrop",De([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,De([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&De([i],"hidden")}}}};var st={clientX:0,clientY:0},pt=[];function ut(e){st={clientX:e.clientX,clientY:e.clientY}}var ct={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Ce(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function p(){n.addEventListener("mousemove",l)}function u(){n.removeEventListener("mousemove",l)}function c(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function l(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),p=i-s.left,u=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+p,o=e.top+u);var s="horizontal"===r?e.top:o,c="vertical"===r?e.right:n,l="horizontal"===r?e.bottom:o,f="vertical"===r?e.left:n;return{width:c-f,height:l-s,top:s,right:c,bottom:l,left:f}}})}function f(){e.props.followCursor&&(pt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",ut)}(n))}function d(){0===(pt=pt.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",ut)}(n)}return{onCreate:f,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(f(),!e.state.isMounted||r||s()||p()):(u(),c()))},onMount:function(){e.props.followCursor&&!r&&(i&&(l(st),i=!1),s()||p())},onTrigger:function(e,t){Ee(t)&&(st={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(c(),u(),i=!0)}}}};var lt={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,p=i.bottom,u=a?r.left:i.left,c=a?r.right:i.right;return{top:s,bottom:p,left:u,right:c,width:c-u,height:p-s};case"left":case"right":var l=Math.min.apply(Math,n.map((function(e){return e.left}))),f=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===l:t.right===f})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:l,right:f,width:f-l,height:v-m};default:return t}}(ye(e),n.getBoundingClientRect(),be(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(Ee(n)){var r=be(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 ft={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,p=o("popper")?n.getBoundingClientRect():null;(s&&dt(r,s)||p&&dt(i,p))&&e.popperInstance&&e.popperInstance.update(),r=s,i=p,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function dt(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function mt(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref(),a=t.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1});let s=null;const p=()=>s||(s=document.createElement("fragment"),s),u=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,p()),n=()=>p();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,p()),n=()=>p()}else n=o;return n},c=e=>{let n={};return n=t.isRef(e)?e.value||{}:(t.isReactive(e),{...e}),n.content&&(n.content=u(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins.push({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(c(n))},f=()=>{i.value&&n.content&&i.value.setContent(u(n.content))},d=()=>{i.value&&(i.value.destroy(),i.value=void 0),s=null},m=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=rt(o,c(n)),o.$tippy=v)},v={tippy:i,refresh:l,refreshContent:f,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(u(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(c(e))},destroy:d,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),t.onUnmounted(()=>{d()})):m()),t.isRef(n)||t.isReactive(n)?t.watch(n,l,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,f,{immediate:!1}),v}function vt(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=function(e,t){var n;void 0===t&&(t={}),"production"!==process.env.NODE_ENV&&We(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var o,r=e,i=[],a=[],s=t.overrides,p=[],u=!1;function c(){a=r.map((function(e){return he(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function l(){i=r.map((function(e){return e.reference}))}function f(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 m(e,t){var n=a.indexOf(t);if(t!==o){o=t;var p=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},p,{getReferenceClientRect:"function"==typeof p.getReferenceClientRect?p.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}f(!1),l(),c();var v={fn:function(){return{onDestroy:function(){f(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,m(e,i[0]))},onTrigger:function(e,t){m(e,t.currentTarget)}}}},h=rt(Oe(),Object.assign({},ve(t,["overrides"]),{plugins:[v].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[it])})})),g=h.show;h.show=function(e){return g(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&m(h,i[e]):r.indexOf(e)>=0?m(h,e.reference):i.indexOf(e)>=0?m(h,e):void 0:m(h,i[0])},h.showNext=function(){var e=i[0];if(!o)return h.show(0);var t=i.indexOf(o);h.show(i[t+1]||e)},h.showPrevious=function(){var e=i[i.length-1];if(!o)return h.show(e);var t=i.indexOf(o);h.show(i[t-1]||e)};var y=h.setProps;return h.setProps=function(e){s=e.overrides||s,y(e)},h.setInstances=function(e){f(!0),p.forEach((function(e){return e()})),r=e,f(!1),l(),c(),p=d(h),h.setProps({triggerTarget:a})},p=d(h),h}(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}rt.setDefaultProps({render:Ze}),rt.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const ht=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let gt={};Object.keys(rt.defaultProps).forEach(e=>{gt[e]=ht.includes(e)?{type:Boolean,default:function(){return rt.defaultProps[e]}}:{default:function(){return rt.defaultProps[e]}}}),gt.to={},gt.tag={default:"span"},gt.contentTag={default:"span"},gt.contentClass={default:null};const yt=t.defineComponent({props:gt,emits:["state"],setup(e,{slots:n,emit:o}){const r=t.ref(),i=t.ref(),a=t.ref(!1);let s={...e};for(const e of["to","tag","contentTag","contentClass"])s.hasOwnProperty(e)&&delete s[e];let p=r;e.to&&("undefined"!=typeof Element&&e.to instanceof Element?p=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(p=()=>document.querySelector(e.to)));const u=mt(p,s);return t.onMounted(()=>{a.value=!0,t.nextTick(()=>{n.content&&u.setContent(()=>i.value)})}),t.watch(u.state,()=>{o("state",t.unref(u.state))},{immediate:!0,deep:!0}),{elem:r,contentElem:i,mounted:a,...u}},render(){let e=this.$slots.default?this.$slots.default(this):[];return t.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[e,t.h(this.contentTag,{ref:"contentElem",style:{display:this.mounted?"inherit":"none"},class:this.contentClass},this.$slots.content(this))]:e)}}),bt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let wt={};Object.keys(rt.defaultProps).forEach(e=>{wt[e]=bt.includes(e)?{type:Boolean,default:function(){return rt.defaultProps[e]}}:{default:function(){return rt.defaultProps[e]}}});const Ot=t.defineComponent({props:wt,setup(e){const n=t.ref([]),{singleton:o}=vt(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)}}),xt={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")),mt(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||{})}},Et={install(e,t={}){rt.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",xt),e.component(t.component||"tippy",yt),e.component(t.componentSingleton||"tippy-singleton",Ot)}},Tt=rt.setDefaultProps;return Tt({ignoreAttributes:!0,plugins:[ft,lt,ct,at]}),e.Tippy=yt,e.TippySingleton=Ot,e.default=Et,e.directive=xt,e.plugin=Et,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=Tt,e.tippy=rt,e.useSingleton=vt,e.useTippy=mt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(yt,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.40
2
+ * vue-tippy v6.0.0-alpha.41
3
3
  * (c) 2021
4
4
  * @license MIT
5
5
  */
@@ -4306,7 +4306,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4306
4306
  const getProps = (opts) => {
4307
4307
  let options = {};
4308
4308
  if (isRef(opts)) {
4309
- options = opts.value;
4309
+ options = opts.value || {};
4310
4310
  }
4311
4311
  else if (isReactive(opts)) {
4312
4312
  options = { ...opts };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.40
2
+ * vue-tippy v6.0.0-alpha.41
3
3
  * (c) 2021
4
4
  * @license MIT
5
5
  */
@@ -4310,7 +4310,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4310
4310
  const getProps = (opts) => {
4311
4311
  let options = {};
4312
4312
  if (vue.isRef(opts)) {
4313
- options = opts.value;
4313
+ options = opts.value || {};
4314
4314
  }
4315
4315
  else if (vue.isReactive(opts)) {
4316
4316
  options = { ...opts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tippy",
3
- "version": "6.0.0-alpha.40",
3
+ "version": "6.0.0-alpha.41",
4
4
  "main": "index.js",
5
5
  "module": "dist/vue-tippy.mjs",
6
6
  "unpkg": "dist/vue-tippy.iife.js",