@xn-lib/directives 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function e(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach(function(t){e(n,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})}return n}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(exports,"__esModule",{value:!0});var o="top",i="bottom",a="right",s="left",c="auto",p=[o,i,a,s],u="start",f="end",l="viewport",d="popper",v=p.reduce(function(e,t){return e.concat([t+"-"+u,t+"-"+f])},[]),m=[].concat(p,[c]).reduce(function(e,t){return e.concat([t,t+"-"+u,t+"-"+f])},[]),h=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function y(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function b(e){return e instanceof g(e).Element||e instanceof Element}function w(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function x(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var O={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]||{},r=t.attributes[e]||{},o=t.elements[e];w(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.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 r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});w(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function E(e){return e.split("-")[0]}var T=Math.max,j=Math.min,D=Math.round;function A(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function C(){return!/^((?!chrome|android).)*safari/i.test(A())}function k(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&w(e)&&(o=e.offsetWidth>0&&D(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&D(r.height)/e.offsetHeight||1);var a=(b(e)?g(e):window).visualViewport,s=!C()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,f=r.height/i;return{width:u,height:f,top:p,right:c+u,bottom:p+f,left:c,x:c,y:p}}function L(e){var t=k(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&x(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function _(e){return g(e).getComputedStyle(e)}function S(e){return["table","td","th"].indexOf(y(e))>=0}function P(e){return((b(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(x(e)?e.host:null)||P(e)}function W(e){return w(e)&&"fixed"!==_(e).position?e.offsetParent:null}function M(e){for(var t=g(e),n=W(e);n&&S(n)&&"static"===_(n).position;)n=W(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(A());if(/Trident/i.test(A())&&w(e)&&"fixed"===_(e).position)return null;var n=V(e);for(x(n)&&(n=n.host);w(n)&&["html","body"].indexOf(y(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function H(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function R(e,t,n){return T(e,j(t,n))}function B(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function I(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var U={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,c=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=E(n.placement),d=H(l),v=[s,a].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return B("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:I(e,p))}(c.padding,n),h=L(u),y="y"===d?o:s,g="y"===d?i:a,b=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],w=f[d]-n.rects.reference[d],x=M(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,T=b/2-w/2,j=m[y],D=O-h[v]-m[g],A=O/2-h[v]/2+T,C=R(j,A,D),k=d;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&N(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function q(e){return e.split("-")[1]}var z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F(e){var t,n=e.popper,r=e.popperRect,c=e.placement,p=e.variation,u=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,y=u.x,b=void 0===y?0:y,w=u.y,x=void 0===w?0:w,O="function"==typeof m?m({x:b,y:x}):{x:b,y:x};b=O.x,x=O.y;var E=u.hasOwnProperty("x"),T=u.hasOwnProperty("y"),j=s,A=o,C=window;if(v){var k=M(n),L="clientHeight",N="clientWidth";if(k===g(n)&&"static"!==_(k=P(n)).position&&"absolute"===l&&(L="scrollHeight",N="scrollWidth"),c===o||(c===s||c===a)&&p===f)A=i,x-=(h&&k===C&&C.visualViewport?C.visualViewport.height:k[L])-r.height,x*=d?1:-1;if(c===s||(c===o||c===i)&&p===f)j=a,b-=(h&&k===C&&C.visualViewport?C.visualViewport.width:k[N])-r.width,b*=d?1:-1}var S,V=Object.assign({position:l},v&&z),W=!0===m?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:D(n*o)/o||0,y:D(r*o)/o||0}}({x:b,y:x},g(n)):{x:b,y:x};return b=W.x,x=W.y,d?Object.assign({},V,((S={})[A]=T?"0":"",S[j]=E?"0":"",S.transform=(C.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",S)):Object.assign({},V,((t={})[A]=T?x+"px":"",t[j]=E?b+"px":"",t.transform="",t))}var $={passive:!0};var Y={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,function(e){return Y[e]})}var J={start:"end",end:"start"};function G(e){return e.replace(/start|end/g,function(e){return J[e]})}function K(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Q(e){return k(P(e)).left+K(e).scrollLeft}function Z(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ee(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:w(e)&&Z(e)?e:ee(V(e))}function te(e,t){var n;void 0===t&&(t=[]);var r=ee(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=g(r),a=o?[i].concat(i.visualViewport||[],Z(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(te(V(a)))}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,t,n){return t===l?ne(function(e,t){var n=g(e),r=P(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var p=C();(p||!p&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Q(e),y:c}}(e,n)):b(t)?function(e,t){var n=k(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ne(function(e){var t,n=P(e),r=K(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=T(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=T(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Q(e),c=-r.scrollTop;return"rtl"===_(o||n).direction&&(s+=T(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(P(e)))}function oe(e,t,n,r){var o="clippingParents"===t?function(e){var t=te(V(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&w(e)?M(e):e;return b(n)?t.filter(function(e){return b(e)&&N(e,n)&&"body"!==y(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=re(e,n,r);return t.top=T(o.top,t.top),t.right=j(o.right,t.right),t.bottom=j(o.bottom,t.bottom),t.left=T(o.left,t.left),t},re(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ie(e){var t,n=e.reference,r=e.element,c=e.placement,p=c?E(c):null,l=c?q(c):null,d=n.x+n.width/2-r.width/2,v=n.y+n.height/2-r.height/2;switch(p){case o:t={x:d,y:n.y-r.height};break;case i:t={x:d,y:n.y+n.height};break;case a:t={x:n.x+n.width,y:v};break;case s:t={x:n.x-r.width,y:v};break;default:t={x:n.x,y:n.y}}var m=p?H(p):null;if(null!=m){var h="y"===m?"height":"width";switch(l){case u:t[m]=t[m]-(n[h]/2-r[h]/2);break;case f:t[m]=t[m]+(n[h]/2-r[h]/2)}}return t}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,s=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,v=void 0===f?"clippingParents":f,m=n.rootBoundary,h=void 0===m?l:m,y=n.elementContext,g=void 0===y?d:y,w=n.altBoundary,x=void 0!==w&&w,O=n.padding,E=void 0===O?0:O,T=B("number"!=typeof E?E:I(E,p)),j=g===d?"reference":d,D=e.rects.popper,A=e.elements[x?j:g],C=oe(b(A)?A:A.contextElement||P(e.elements.popper),v,h,u),L=k(e.elements.reference),N=ie({reference:L,element:D,strategy:"absolute",placement:s}),_=ne(Object.assign({},D,N)),S=g===d?_:L,V={top:C.top-S.top+T.top,bottom:S.bottom-C.bottom+T.bottom,left:C.left-S.left+T.left,right:S.right-C.right+T.right},W=e.modifiersData.offset;if(g===d&&W){var M=W[s];Object.keys(V).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[o,i].indexOf(e)>=0?"y":"x";V[e]+=M[n]*t})}return V}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?m:c,f=q(r),l=f?s?v:v.filter(function(e){return q(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var h=d.reduce(function(t,n){return t[n]=ae(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[E(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}var ce={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var p=n.mainAxis,f=void 0===p||p,l=n.altAxis,d=void 0===l||l,v=n.fallbackPlacements,m=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,T=E(O),j=v||(T===O||!w?[X(O)]:function(e){if(E(e)===c)return[];var t=X(e);return[G(e),t,G(t)]}(O)),D=[O].concat(j).reduce(function(e,n){return e.concat(E(n)===c?se(t,{placement:n,boundary:h,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,C=t.rects.popper,k=new Map,L=!0,N=D[0],_=0;_<D.length;_++){var S=D[_],P=E(S),V=q(S)===u,W=[o,i].indexOf(P)>=0,M=W?"width":"height",H=ae(t,{placement:S,boundary:h,rootBoundary:y,altBoundary:g,padding:m}),R=W?V?a:s:V?i:o;A[M]>C[M]&&(R=X(R));var B=X(R),I=[];if(f&&I.push(H[P]<=0),d&&I.push(H[R]<=0,H[B]<=0),I.every(function(e){return e})){N=S,L=!1;break}k.set(S,I)}if(L)for(var U=function(e){var t=D.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},z=w?3:1;z>0;z--){if("break"===U(z))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(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 ue(e){return[o,a,i,s].some(function(t){return e[t]>=0})}var fe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,c=void 0===i?[0,0]:i,p=m.reduce(function(e,n){return e[n]=function(e,t,n){var r=E(e),i=[s,o].indexOf(r)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,p=c[0],u=c[1];return p=p||0,u=(u||0)*i,[s,a].indexOf(r)>=0?{x:u,y:p}:{x:p,y:u}}(n,t.rects,c),e},{}),u=p[t.placement],f=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=p}};var le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,c=n.mainAxis,p=void 0===c||c,f=n.altAxis,l=void 0!==f&&f,d=n.boundary,v=n.rootBoundary,m=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=ae(t,{boundary:d,rootBoundary:v,padding:h,altBoundary:m}),O=E(t.placement),D=q(t.placement),A=!D,C=H(O),k="x"===C?"y":"x",N=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,V="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(N){if(p){var I,U="y"===C?o:s,z="y"===C?i:a,F="y"===C?"height":"width",$=N[C],Y=$+x[U],X=$-x[z],J=g?-S[F]/2:0,G=D===u?_[F]:S[F],K=D===u?-S[F]:-_[F],Q=t.elements.arrow,Z=g&&Q?L(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[z],re=R(0,_[F],Z[F]),oe=A?_[F]/2-J-re-te-V.mainAxis:G-re-te-V.mainAxis,ie=A?-_[F]/2+J+re+ne+V.mainAxis:K+re+ne+V.mainAxis,se=t.elements.arrow&&M(t.elements.arrow),ce=se?"y"===C?se.clientTop||0:se.clientLeft||0:0,pe=null!=(I=null==W?void 0:W[C])?I:0,ue=$+ie-pe,fe=R(g?j(Y,$+oe-pe-ce):Y,$,g?T(X,ue):X);N[C]=fe,B[C]=fe-$}if(l){var le,de="x"===C?o:s,ve="x"===C?i:a,me=N[k],he="y"===k?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[o,s].indexOf(O),we=null!=(le=null==W?void 0:W[k])?le:0,xe=be?ye:me-_[he]-S[he]-we+V.altAxis,Oe=be?me+_[he]+S[he]-we-V.altAxis:ge,Ee=g&&be?function(e,t,n){var r=R(e,t,n);return r>n?n:r}(xe,me,Oe):R(g?xe:ye,me,g?Oe:ge);N[k]=Ee,B[k]=Ee-me}t.modifiersData[r]=B}},requiresIfExists:["offset"]};function de(e,t,n){void 0===n&&(n=!1);var r,o,i=w(t),a=w(t)&&function(e){var t=e.getBoundingClientRect(),n=D(t.width)/e.offsetWidth||1,r=D(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=P(t),c=k(e,a,n),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==y(t)||Z(s))&&(p=(r=t)!==g(r)&&w(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:K(r)),w(t)?((u=k(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Q(s))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function ve(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var me={placement:"bottom",modifiers:[],strategy:"absolute"};function he(){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 ye(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?me:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},me,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:b(e)?te(e):e.contextElement?te(e.contextElement):[],popper:te(t)};var a,p,l=function(e){var t=ve(e);return h.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),p=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(p).map(function(e){return p[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}}),u.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(he(t,n)){s.rects={reference:de(t,M(n),"fixed"===s.options.strategy),popper:L(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 r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,c=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:f,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){f(),p=!0}};if(!he(e,t))return u;function f(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var ge=ye({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=g(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach(function(e){e.addEventListener("scroll",n.update,$)}),s&&c.addEventListener("resize",n.update,$),function(){i&&p.forEach(function(e){e.removeEventListener("scroll",n.update,$)}),s&&c.removeEventListener("resize",n.update,$)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ie({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,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,p={placement:E(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,F(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,F(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},O,fe,ce,le,U,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ae(t,{elementContext:"reference"}),s=ae(t,{altBoundary:!0}),c=pe(a,r),p=pe(s,o,i),u=ue(c),f=ue(p);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),be="tippy-content",we="tippy-arrow",xe="tippy-svg-arrow",Oe={passive:!0,capture:!0},Ee=function(){return document.body};function Te(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function je(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 Ae(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ce(e){return[].concat(e)}function ke(e,t){-1===e.indexOf(t)&&e.push(t)}function Le(e){return[].slice.call(e)}function Ne(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function _e(){return document.createElement("div")}function Se(e){return["Element","Fragment"].some(function(t){return je(e,t)})}function Pe(e){return Se(e)?[e]:function(e){return je(e,"NodeList")}(e)?Le(e):Array.isArray(e)?e:Le(document.querySelectorAll(e))}function Ve(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function We(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Me(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function He(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Re={isTouch:!1},Be=0;function Ie(){Re.isTouch||(Re.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ue))}function Ue(){var e=performance.now();e-Be<20&&(Re.isTouch=!1,document.removeEventListener("mousemove",Ue)),Be=e}function qe(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ze,Fe=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function $e(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 Ye(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Xe(e){return Ye("\n %ctippy.js\n\n %c"+Ye(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Je(e){return[Xe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ge(e,t){var n;e&&!ze.has(t)&&(ze.add(t),(n=console).warn.apply(n,Je(t)))}function Ke(e,t){var n;e&&!ze.has(t)&&(ze.add(t),(n=console).error.apply(n,Je(t)))}"production"!==process.env.NODE_ENV&&(ze=new Set);var Qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ze=Object.assign({appendTo:Ee,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},Qe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),et=Object.keys(Ze);function tt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Ze[o])?r:i);return t},{});return Object.assign({},e,t)}function nt(e,t){var n=Object.assign({},t,{content:De(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(tt(Object.assign({},Ze,{plugins:t}))):et).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},Ze.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 rt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,o=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(Ze,Object.keys(Qe)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),Ge(i,["`"+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 ot(e,t){e.innerHTML=t}function it(e){var t=_e();return!0===e?t.className=we:(t.className=xe,Se(e)?t.appendChild(e):ot(t,e)),t}function at(e,t){Se(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function st(e){var t=e.firstElementChild,n=Le(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(be)}),arrow:n.find(function(e){return e.classList.contains(we)||e.classList.contains(xe)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function ct(e){var t=_e(),n=_e();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=_e();function o(n,r){var o=st(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||at(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(it(r.arrow))):i.appendChild(it(r.arrow)):s&&i.removeChild(s)}return r.className=be,r.setAttribute("data-state","hidden"),at(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ct.$$tippy=!0;var pt=1,ut=[],ft=[];function lt(e,t){var n,r,o,i,a,s,c,p,u=nt(e,Object.assign({},Ze,tt(Ne(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=Ae(Y,u.interactiveDebounce),y=pt++,g=(p=u.plugins).filter(function(e,t){return p.indexOf(e)===t}),b={id:y,reference:e,popper:_e(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("setProps"));if(b.state.isDestroyed)return;S("onBeforeUpdate",[b,t]),F();var n=b.props,r=nt(e,Object.assign({},n,Ne(t),{ignoreAttributes:!0}));b.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ae(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ce(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),_(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));S("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Re.isTouch&&!b.props.touch,o=Te(b.props.duration,0,Ze.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(S("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");_(),B(),b.state.isMounted||(x.style.transition="none");if(A()){var i=L();Ve([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=L(),n=t.box,r=t.content;Ve([n,r],o),We([n,r],"visible")}P(),V(),ke(ft,b),null==(e=b.popperInstance)||e.forceUpdate(),S("onMount",[b]),b.props.animation&&A()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,S("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===Ee||"parent"===t?n.parentNode:De(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ge(b.props.interactive&&t===Ze.appendTo&&n.nextElementSibling!==x,["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&&Ge(b.state.isDestroyed,$e("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Te(b.props.duration,1,Ze.duration);if(e||t||n)return;if(S("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,A()&&(x.style.visibility="hidden");if(W(),I(),_(!0),A()){var o=L(),i=o.box,a=o.content;b.props.animation&&(Ve([i,a],r),We([i,a],"hidden"))}P(),V(),b.props.animation?A()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hideWithInteractivity"));k().addEventListener("mousemove",h),ke(ut,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);ft=ft.filter(function(e){return e!==b}),b.state.isMounted=!1,S("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,S("onDestroy",[b])}};if(!u.render)return"production"!==process.env.NODE_ENV&&Ke(!0,"render() function has not been supplied."),b;var w=u.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return z(),V(),_(),S("onCreate",[b]),u.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===j()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return c||e}function k(){var e,t,n=C().parentNode;return n?null!=(t=Ce(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function L(){return st(x)}function N(e){return b.state.isMounted&&!b.state.isVisible||Re.isTouch||i&&"focus"===i.type?0:Te(b.props.delay,e?0:1,Ze.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function S(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ce(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&Ce(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function W(){k().removeEventListener("mousemove",h),ut=ut.filter(function(e){return e!==h})}function M(t){if(!Re.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!He(x,n)){if(Ce(b.props.triggerTarget||e).some(function(e){return He(e,n)})){if(Re.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||I())}}}function H(){d=!0}function R(){d=!1}function B(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Oe),e.addEventListener("touchstart",R,Oe),e.addEventListener("touchmove",H,Oe)}function I(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Oe),e.removeEventListener("touchstart",R,Oe),e.removeEventListener("touchmove",H,Oe)}function U(e,t){var n=L().box;function r(e){e.target===n&&(Me(n,"remove",r),t())}if(0===e)return t();Me(n,"remove",a),Me(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Ce(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function z(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q(Fe?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function F(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&je(e,"MouseEvent")&&ut.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>i,d=r-t.bottom-p>i,v=t.left-n+u>i,m=n-t.right-f>i;return l||d||v||m})})(r,e)&&(W(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Re.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=A()?st(x).arrow:null,p=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=L().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={}}}},f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];A()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ge(p,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Le(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&S("onTrigger",[b,e]),B();var t=N(!0),r=j(),o=r[0],i=r[1];Re.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),S("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=N(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else I()}}function dt(e,t){void 0===t&&(t={});var n=Ze.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Ke(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ke(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),rt(t,n)),document.addEventListener("touchstart",Ie,Oe),window.addEventListener("blur",qe);var r=Object.assign({},t,{plugins:n}),o=Pe(e);if("production"!==process.env.NODE_ENV){var i=Se(r.content),a=o.length>1;Ge(i&&a,["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 s=o.reduce(function(e,t){var n=t&&lt(t,r);return n&&e.push(n),e},[]);return Se(e)?s[0]:s}dt.defaultProps=Ze,dt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&rt(e,[]),Object.keys(e).forEach(function(t){Ze[t]=e[t]})},dt.currentInput=Re,Object.assign({},O,{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)}}),dt.setDefaultProps({render:ct});var vt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!1,ellipsisText:"...",customClass:"",options:{}};function mt(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,o=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var i=window.getComputedStyle(e),a=parseFloat(i.fontSize),s=("normal"===i.lineHeight&&"number"==typeof r?a*r:parseFloat(i.lineHeight))*n;switch(o){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var p=document.createRange();p.selectNodeContents(c);var u=p.getClientRects();return 0!==u.length&&u[u.length-1].bottom-e.getBoundingClientRect().top>s;default:var f=e.scrollHeight>s+1,l=e.firstChild,d=!1;if(l){var v=document.createRange();v.selectNodeContents(l);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return f||d}}var ht={mounted:function(e,t){var o=n(n({},vt),"object"===r(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var i=dt(e,n(n({content:e._originalText,placement:o.placement,arrow:o.arrow,theme:o.theme,maxWidth:o.maxWidth,delay:o.delay,trigger:"mouseenter focus"},o.options),{},{onShow:function(t){if(o.onlyOverflow&&!mt(e,o))return!1;var n=e._originalText||"";t.setContent(n)},onCreate:function(e){o.maxWidth&&(e.popper.style.maxWidth=o.maxWidth)}}));e._tippy=i,yt(e,o),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(mt(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,o)},updated:function(e,t){var o=n(n({},vt),"object"===r(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,yt(e,o),e._tippy&&e._tippy.setProps({placement:o.placement,arrow:o.arrow,theme:o.theme,maxWidth:o.maxWidth,delay:o.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function yt(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,o=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var i=e.querySelector(".overflow-tooltip-ellipsis");if(i&&i.remove(),o&&mt(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var gt=ht,bt={install:function(e,t){e.directive("overflow-tooltip",ht),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}},wt={overflowTooltip:bt};function xt(e){e.use(bt)}var Ot={install:xt};exports.default=Ot,exports.directives=wt,exports.installDirectives=xt,exports.overflowTooltipDirective=gt,exports.overflowTooltipPlugin=bt,exports.vOverflowTooltip=ht;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("vue");function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function r(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u="top",p="bottom",l="right",f="left",d="auto",v=[u,p,l,f],m="start",h="end",y="viewport",g="popper",b=v.reduce(function(e,t){return e.concat([t+"-"+m,t+"-"+h])},[]),w=[].concat(v,[d]).reduce(function(e,t){return e.concat([t,t+"-"+m,t+"-"+h])},[]),x=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function O(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T(e){return e instanceof E(e).Element||e instanceof Element}function j(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}var D={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]||{},r=t.attributes[e]||{},o=t.elements[e];j(o)&&O(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.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 r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});j(r)&&O(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function L(e){return e.split("-")[0]}var N=Math.max,k=Math.min,C=Math.round;function S(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function I(){return!/^((?!chrome|android).)*safari/i.test(S())}function P(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&j(e)&&(o=e.offsetWidth>0&&C(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&C(r.height)/e.offsetHeight||1);var a=(T(e)?E(e):window).visualViewport,s=!I()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,l=r.height/i;return{width:p,height:l,top:u,right:c+p,bottom:u+l,left:c,x:c,y:u}}function V(e){var t=P(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&A(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function M(e){return E(e).getComputedStyle(e)}function W(e){return["table","td","th"].indexOf(O(e))>=0}function H(e){return((T(e)?e.ownerDocument:e.document)||window.document).documentElement}function R(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||H(e)}function B(e){return j(e)&&"fixed"!==M(e).position?e.offsetParent:null}function U(e){for(var t=E(e),n=B(e);n&&W(n)&&"static"===M(n).position;)n=B(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===M(n).position)?t:n||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&j(e)&&"fixed"===M(e).position)return null;var n=R(e);for(A(n)&&(n=n.host);j(n)&&["html","body"].indexOf(O(n))<0;){var r=M(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F(e,t,n){return N(e,k(t,n))}function z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var G={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=L(n.placement),c=q(s),d=[f,l].indexOf(s)>=0?"height":"width";if(i&&a){var m=function(e,t){return z("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:$(e,v))}(o.padding,n),h=V(i),y="y"===c?u:f,g="y"===c?p:l,b=n.rects.reference[d]+n.rects.reference[c]-a[c]-n.rects.popper[d],w=a[c]-n.rects.reference[c],x=U(i),O=x?"y"===c?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,T=m[y],j=O-h[d]-m[g],A=O/2-h[d]/2+E,D=F(T,A,j),N=c;n.modifiersData[r]=((t={})[N]=D,t.centerOffset=D-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&_(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(e){return e.split("-")[1]}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,v=e.roundOffsets,m=e.isFixed,y=a.x,g=void 0===y?0:y,b=a.y,w=void 0===b?0:b,x="function"==typeof v?v({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var O=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),j=f,A=u,D=window;if(d){var L=U(n),N="clientHeight",k="clientWidth";if(L===E(n)&&"static"!==M(L=H(n)).position&&"absolute"===s&&(N="scrollHeight",k="scrollWidth"),o===u||(o===f||o===l)&&i===h)A=p,w-=(m&&L===D&&D.visualViewport?D.visualViewport.height:L[N])-r.height,w*=c?1:-1;if(o===f||(o===u||o===p)&&i===h)j=l,g-=(m&&L===D&&D.visualViewport?D.visualViewport.width:L[k])-r.width,g*=c?1:-1}var S,I=Object.assign({position:s},d&&Y),P=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:C(n*o)/o||0,y:C(r*o)/o||0}}({x:g,y:w},E(n)):{x:g,y:w};return g=P.x,w=P.y,c?Object.assign({},I,((S={})[A]=T?"0":"",S[j]=O?"0":"",S.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",S)):Object.assign({},I,((t={})[A]=T?w+"px":"",t[j]=O?g+"px":"",t.transform="",t))}var J={passive:!0};var K={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,function(e){return K[e]})}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,function(e){return ee[e]})}function ne(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(e){return P(H(e)).left+ne(e).scrollLeft}function oe(e){var t=M(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ie(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:j(e)&&oe(e)?e:ie(R(e))}function ae(e,t){var n;void 0===t&&(t=[]);var r=ie(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=E(r),a=o?[i].concat(i.visualViewport||[],oe(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ae(R(a)))}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ce(e,t,n){return t===y?se(function(e,t){var n=E(e),r=H(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=I();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+re(e),y:c}}(e,n)):T(t)?function(e,t){var n=P(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):se(function(e){var t,n=H(e),r=ne(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=N(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=N(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+re(e),c=-r.scrollTop;return"rtl"===M(o||n).direction&&(s+=N(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(H(e)))}function ue(e,t,n,r){var o="clippingParents"===t?function(e){var t=ae(R(e)),n=["absolute","fixed"].indexOf(M(e).position)>=0&&j(e)?U(e):e;return T(n)?t.filter(function(e){return T(e)&&_(e,n)&&"body"!==O(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ce(e,n,r);return t.top=N(o.top,t.top),t.right=k(o.right,t.right),t.bottom=k(o.bottom,t.bottom),t.left=N(o.left,t.left),t},ce(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?L(o):null,a=o?X(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case u:t={x:s,y:n.y-r.height};break;case p:t={x:s,y:n.y+n.height};break;case l:t={x:n.x+n.width,y:c};break;case f:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var d=i?q(i):null;if(null!=d){var v="y"===d?"height":"width";switch(a){case m:t[d]=t[d]-(n[v]/2-r[v]/2);break;case h:t[d]=t[d]+(n[v]/2-r[v]/2)}}return t}function le(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,f=n.rootBoundary,d=void 0===f?y:f,m=n.elementContext,h=void 0===m?g:m,b=n.altBoundary,w=void 0!==b&&b,x=n.padding,O=void 0===x?0:x,E=z("number"!=typeof O?O:$(O,v)),j=h===g?"reference":g,A=e.rects.popper,D=e.elements[w?j:h],L=ue(T(D)?D:D.contextElement||H(e.elements.popper),c,d,a),N=P(e.elements.reference),k=pe({reference:N,element:A,strategy:"absolute",placement:o}),C=se(Object.assign({},A,k)),S=h===g?C:N,I={top:L.top-S.top+E.top,bottom:S.bottom-L.bottom+E.bottom,left:L.left-S.left+E.left,right:S.right-L.right+E.right},V=e.modifiersData.offset;if(h===g&&V){var _=V[o];Object.keys(I).forEach(function(e){var t=[l,p].indexOf(e)>=0?1:-1,n=[u,p].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t})}return I}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?w:c,p=X(r),l=p?s?b:b.filter(function(e){return X(e)===p}):v,f=l.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=l);var d=f.reduce(function(t,n){return t[n]=le(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[L(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var de={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,v=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=L(O),T=c||(E===O||!w?[Q(O)]:function(e){if(L(e)===d)return[];var t=Q(e);return[te(e),t,te(t)]}(O)),j=[O].concat(T).reduce(function(e,n){return e.concat(L(n)===d?fe(t,{placement:n,boundary:h,rootBoundary:y,padding:v,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,D=t.rects.popper,N=new Map,k=!0,C=j[0],S=0;S<j.length;S++){var I=j[S],P=L(I),V=X(I)===m,_=[u,p].indexOf(P)>=0,M=_?"width":"height",W=le(t,{placement:I,boundary:h,rootBoundary:y,altBoundary:g,padding:v}),H=_?V?l:f:V?p:u;A[M]>D[M]&&(H=Q(H));var R=Q(H),B=[];if(i&&B.push(W[P]<=0),s&&B.push(W[H]<=0,W[R]<=0),B.every(function(e){return e})){C=I,k=!1;break}N.set(I,B)}if(k)for(var U=function(e){var t=j.find(function(t){var n=N.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(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 me(e){return[u,l,p,f].some(function(t){return e[t]>=0})}var he={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=w.reduce(function(e,n){return e[n]=function(e,t,n){var r=L(e),o=[f,u].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[f,l].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],c=s.x,p=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=a}};var ye={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,d=n.rootBoundary,v=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=le(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:v}),O=L(t.placement),E=X(t.placement),T=!E,j=q(O),A="x"===j?"y":"x",D=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,I="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,P="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(D){if(i){var W,H="y"===j?u:f,R="y"===j?p:l,B="y"===j?"height":"width",z=D[j],$=z+x[H],G=z-x[R],Y=g?-S[B]/2:0,Z=E===m?C[B]:S[B],J=E===m?-S[B]:-C[B],K=t.elements.arrow,Q=g&&K?V(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[R],re=F(0,C[B],Q[B]),oe=T?C[B]/2-Y-re-te-P.mainAxis:Z-re-te-P.mainAxis,ie=T?-C[B]/2+Y+re+ne+P.mainAxis:J+re+ne+P.mainAxis,ae=t.elements.arrow&&U(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(W=null==_?void 0:_[j])?W:0,ue=z+ie-ce,pe=F(g?k($,z+oe-ce-se):$,z,g?N(G,ue):G);D[j]=pe,M[j]=pe-z}if(s){var fe,de="x"===j?u:f,ve="x"===j?p:l,me=D[A],he="y"===A?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[u,f].indexOf(O),we=null!=(fe=null==_?void 0:_[A])?fe:0,xe=be?ye:me-C[he]-S[he]-we+P.altAxis,Oe=be?me+C[he]+S[he]-we-P.altAxis:ge,Ee=g&&be?function(e,t,n){var r=F(e,t,n);return r>n?n:r}(xe,me,Oe):F(g?xe:ye,me,g?Oe:ge);D[A]=Ee,M[A]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ge(e,t,n){void 0===n&&(n=!1);var r,o,i=j(t),a=j(t)&&function(e){var t=e.getBoundingClientRect(),n=C(t.width)/e.offsetWidth||1,r=C(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=H(t),c=P(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==O(t)||oe(s))&&(u=(r=t)!==E(r)&&j(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ne(r)),j(t)?((p=P(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=re(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function be(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var we={placement:"bottom",modifiers:[],strategy:"absolute"};function xe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Oe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?we:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},we,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:T(e)?ae(e):e.contextElement?ae(e.contextElement):[],popper:ae(t)};var a,u,f=function(e){var t=be(e);return x.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:p,options:r}),a=function(){};c.push(i||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(xe(t,n)){s.rects={reference:ge(t,U(n),"fixed"===s.options.strategy),popper:V(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 r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,c=void 0===a?{}:a,l=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:l,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){l(),u=!0}};if(!xe(e,t))return p;function l(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var Ee=Oe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=E(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,J)}),s&&c.addEventListener("resize",n.update,J),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,J)}),s&&c.removeEventListener("resize",n.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pe({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,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:L(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},D,he,de,ye,G,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=le(t,{elementContext:"reference"}),s=le(t,{altBoundary:!0}),c=ve(a,r),u=ve(s,o,i),p=me(c),l=me(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),Te="tippy-content",je="tippy-arrow",Ae="tippy-svg-arrow",De={passive:!0,capture:!0},Le=function(){return document.body};function Ne(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ke(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ce(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Se(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ie(e){return[].concat(e)}function Pe(e,t){-1===e.indexOf(t)&&e.push(t)}function Ve(e){return[].slice.call(e)}function _e(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Me(){return document.createElement("div")}function We(e){return["Element","Fragment"].some(function(t){return ke(e,t)})}function He(e){return We(e)?[e]:function(e){return ke(e,"NodeList")}(e)?Ve(e):Array.isArray(e)?e:Ve(document.querySelectorAll(e))}function Re(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Be(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ue(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function qe(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Fe={isTouch:!1},ze=0;function $e(){Fe.isTouch||(Fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ge))}function Ge(){var e=performance.now();e-ze<20&&(Fe.isTouch=!1,document.removeEventListener("mousemove",Ge)),ze=e}function Xe(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Ye,Ze=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Je(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 Ke(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Qe(e){return Ke("\n %ctippy.js\n\n %c"+Ke(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function et(e){return[Qe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function tt(e,t){var n;e&&!Ye.has(t)&&(Ye.add(t),(n=console).warn.apply(n,et(t)))}function nt(e,t){var n;e&&!Ye.has(t)&&(Ye.add(t),(n=console).error.apply(n,et(t)))}"production"!==process.env.NODE_ENV&&(Ye=new Set);var rt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ot=Object.assign({appendTo:Le,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},rt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),it=Object.keys(ot);function at(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=ot[o])?r:i);return t},{});return Object.assign({},e,t)}function st(e,t){var n=Object.assign({},t,{content:Ce(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(at(Object.assign({},ot,{plugins:t}))):it).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},ot.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 ct(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,o=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(ot,Object.keys(rt)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),tt(i,["`"+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 ut(e,t){e.innerHTML=t}function pt(e){var t=Me();return!0===e?t.className=je:(t.className=Ae,We(e)?t.appendChild(e):ut(t,e)),t}function lt(e,t){We(t.content)?(ut(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ut(e,t.content):e.textContent=t.content)}function ft(e){var t=e.firstElementChild,n=Ve(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(Te)}),arrow:n.find(function(e){return e.classList.contains(je)||e.classList.contains(Ae)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function dt(e){var t=Me(),n=Me();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Me();function o(n,r){var o=ft(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||lt(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(pt(r.arrow))):i.appendChild(pt(r.arrow)):s&&i.removeChild(s)}return r.className=Te,r.setAttribute("data-state","hidden"),lt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}dt.$$tippy=!0;var vt=1,mt=[],ht=[];function yt(e,t){var n,r,o,i,a,s,c,u,p=st(e,Object.assign({},ot,at(_e(t)))),l=!1,f=!1,d=!1,v=!1,m=[],h=Se(G,p.interactiveDebounce),y=vt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:Me(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("setProps"));if(b.state.isDestroyed)return;I("onBeforeUpdate",[b,t]),z();var n=b.props,r=st(e,Object.assign({},n,_e(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),h=Se(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ie(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),S(),O&&O(n,r);b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));I("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Fe.isTouch&&!b.props.touch,o=Ne(b.props.duration,0,ot.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(I("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");S(),R(),b.state.isMounted||(x.style.transition="none");if(D()){var i=k();Re([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=k(),n=t.box,r=t.content;Re([n,r],o),Be([n,r],"visible")}P(),V(),Pe(ht,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,I("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===Le||"parent"===t?n.parentNode:Ce(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&tt(b.props.interactive&&t===ot.appendTo&&n.nextElementSibling!==x,["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&&tt(b.state.isDestroyed,Je("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ne(b.props.duration,1,ot.duration);if(e||t||n)return;if(I("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(_(),B(),S(!0),D()){var o=k(),i=o.box,a=o.content;b.props.animation&&(Re([i,a],r),Be([i,a],"hidden"))}P(),V(),b.props.animation?D()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("hideWithInteractivity"));N().addEventListener("mousemove",h),Pe(mt,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);ht=ht.filter(function(e){return e!==b}),b.state.isMounted=!1,I("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&nt(!0,"render() function has not been supplied."),b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return F(),V(),S(),I("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===j()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function N(){var e,t,n=L().parentNode;return n?null!=(t=Ie(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return ft(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||Fe.isTouch||i&&"focus"===i.type?0:Ne(b.props.delay,e?0:1,ot.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ie(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&Ie(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")})}function _(){N().removeEventListener("mousemove",h),mt=mt.filter(function(e){return e!==h})}function M(t){if(!Fe.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!qe(x,n)){if(Ie(b.props.triggerTarget||e).some(function(e){return qe(e,n)})){if(Fe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||B())}}}function W(){d=!0}function H(){d=!1}function R(){var e=N();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,De),e.addEventListener("touchstart",H,De),e.addEventListener("touchmove",W,De)}function B(){var e=N();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,De),e.removeEventListener("touchstart",H,De),e.removeEventListener("touchmove",W,De)}function U(e,t){var n=k().box;function r(e){e.target===n&&(Ue(n,"remove",r),t())}if(0===e)return t();Ue(n,"remove",a),Ue(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Ie(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;A()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q(Ze?"focusout":"blur",Y);break;case"focusin":q("focusout",Y)}})}function z(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!Z(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&ke(e,"MouseEvent")&&mt.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&&!r&&te(e)}}function G(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+p>i,m=n-t.right-l>i;return f||d||v||m})})(r,e)&&(_(),te(e))}}function X(e){Z(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!Fe.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?ft(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=k().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={}}}},l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];D()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Ee(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Ve(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),R();var t=C(!0),r=j(),o=r[0],i=r[1];Fe.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("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=C(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else B()}}function gt(e,t){void 0===t&&(t={});var n=ot.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;nt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),nt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ct(t,n)),document.addEventListener("touchstart",$e,De),window.addEventListener("blur",Xe);var r=Object.assign({},t,{plugins:n}),o=He(e);if("production"!==process.env.NODE_ENV){var i=We(r.content),a=o.length>1;tt(i&&a,["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 s=o.reduce(function(e,t){var n=t&&yt(t,r);return n&&e.push(n),e},[]);return We(e)?s[0]:s}gt.defaultProps=ot,gt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ct(e,[]),Object.keys(e).forEach(function(t){ot[t]=e[t]})},gt.currentInput=Fe,Object.assign({},D,{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)}}),gt.setDefaultProps({render:dt});var bt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!1,ellipsisText:"...",customClass:"",options:{}};function wt(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,o=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var i=window.getComputedStyle(e),a=parseFloat(i.fontSize),s=("normal"===i.lineHeight&&"number"==typeof r?a*r:parseFloat(i.lineHeight))*n;switch(o){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var u=document.createRange();u.selectNodeContents(c);var p=u.getClientRects();return 0!==p.length&&p[p.length-1].bottom-e.getBoundingClientRect().top>s;default:var l=e.scrollHeight>s+1,f=e.firstChild,d=!1;if(f){var v=document.createRange();v.selectNodeContents(f);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return l||d}}var xt={mounted:function(e,t){var n=i(i({},bt),"object"===c(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var r=gt(e,i(i({content:e._originalText,placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,trigger:"mouseenter focus"},n.options),{},{onShow:function(t){if(n.onlyOverflow&&!wt(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=r,Ot(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(wt(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,n)},updated:function(e,t){var n=i(i({},bt),"object"===c(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,Ot(e,n),e._tippy&&e._tippy.setProps({placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function Ot(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,o=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var i=e.querySelector(".overflow-tooltip-ellipsis");if(i&&i.remove(),o&&wt(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var Et,Tt=xt,jt={install:function(e,t){e.directive("overflow-tooltip",xt),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}};!function(e){e.BOTTOM="bottom",e.CONTENT="content",e.FULLSCREEN="fullScreen",e.MESSAGE="message",e.MODAL="modal",e.NAVI="navi",e.PLUGINS="plugins",e.POPPER="popper"}(Et||(Et={}));var At=r(r(r(r(r(r(r(r({},Et.BOTTOM,0),Et.CONTENT,1),Et.NAVI,100),Et.FULLSCREEN,1e3),Et.MODAL,2e3),Et.PLUGINS,5e3),Et.MESSAGE,6e3),Et.POPPER,8e3),Dt=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()},(t=[{key:"getNextIndex",value:function(e){if(Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e))return this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e];this.getNextIndex(Et.MODAL)}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(Et.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(Et.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(Et.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(Et.NAVI)}},{key:"getPopperIndex",value:function(){return this.getNextIndex(Et.POPPER)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,r({},n,e[n]))}),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,r({},n,e[n]))})}},{key:"copyDefaultValue",value:function(){var e=Object.keys(At).reduce(function(e,t){return Object.assign(e,r({},t,{value:At[t],writable:!0,configurable:!0}))},{});this.storageLayerIndexValue=Object.create(At,e)}}])&&n(e.prototype,t),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}());function Lt(e){return"".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xn","-").concat(e)}var Nt=new WeakMap,kt={beforeMount:function(t,n){var r=Ct(n),o=r.trigger,i=r.showOnInit,a=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=Dt.getPopperIndex(),s=document.createElement("div"),c=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";if(s.className="".concat(Lt("popper",c)," ").concat(i?"light":"dark"," ").concat(o),s.innerText=t,s.style.zIndex=String(a),St(t,s),n){var u=It();s.appendChild(u)}return s}(r),s=null;if(i&&e.nextTick(function(){Pt(t)}),"hover"===o){var c=null;t.addEventListener("mouseenter",function(){s=setTimeout(function(){Pt(t),c&&clearTimeout(c),s&&clearTimeout(s)},r.delay)}),a.addEventListener("mouseenter",function(){c&&clearTimeout(c)}),t.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){Vt(t)},100)}),a.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){Vt(t)},100)})}else"click"===o&&document.body.addEventListener("click",function(e){t.contains(e.target)&&!a.hasAttribute("data-show")?s=setTimeout(function(){Pt(t),s&&clearTimeout(s)},r.delay):!t.contains(e.target)&&a.hasAttribute("data-show")&&Vt(t)});Nt.set(t,{opts:r,popper:a,popperInstance:null})},updated:function(e,t){Nt.get(e)&&(Nt.get(e).opts=Ct(t))},unmounted:function(e){Vt(e),Nt.delete(e)}};function Ct(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",sameWidth:!1,delay:0,onShow:function(){},onHide:function(){}};return"object"===c(e.value)?Object.assign(t,e.value):t.content=e.value,t}function St(t,n){if("string"==typeof t)n.innerText=t;else{var r=document.createElement("div"),o=e.h(t);e.render(o,r),n.innerHTML=r.innerHTML}}function It(){var e=document.createElement("div"),t=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";return e.className=Lt("popper-arrow",t),e.setAttribute("data-popper-arrow",""),e}function Pt(e){if(Nt.get(e)){var t=Nt.get(e),n=t.popper,r=t.opts,o=r.disabled,s=r.content,c=r.arrow,u=r.onShow,p=r.boundary,l=r.modifiers,f=void 0===l?[]:l;if(!o){if(St(s,n),c){var d=It();n.appendChild(d)}var v=document.body;p&&("parent"===p&&e.parentElement?v=e.parentElement:p instanceof HTMLElement&&(v=p)),v.appendChild(n);var m=function(e,t){if(Nt.get(e)){var n=Nt.get(e).opts,r=n.placement,o=n.distance,i=n.sameWidth;return Ee(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}},{name:"arrow",options:{padding:5}}].concat(a(i?[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.overflowWrap="break-word",t.elements.popper.style.width="".concat(t.elements.reference.offsetWidth,"px")}}]:[]))})}}(e,n);u(),n.setAttribute("data-show",""),m&&(m.setOptions(function(e){return i(i({},e),{},{modifiers:[].concat(a(e.modifiers||[]),a(f),[{name:"eventListeners",enabled:!0}])})}),m.forceUpdate()),Nt.get(e).popperInstance=m}}}function Vt(e){if(Nt.get(e)){var t,n=Nt.get(e),r=n.popper,o=n.popperInstance,i=n.opts.onHide;if(r&&document.body.contains(r))r.removeAttribute("data-show"),null==o||o.destroy(),null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r),i()}}var _t=kt,Mt=_t,Wt={overflowTooltip:jt};function Ht(e){e.use(jt)}var Rt={install:Ht};exports.default=Rt,exports.directives=Wt,exports.installDirectives=Ht,exports.overflowTooltipDirective=Tt,exports.overflowTooltipPlugin=jt,exports.tooltipDirective=Mt,exports.vOverflowTooltip=xt,exports.vXnTooltips=_t;
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{background-color:#333;border-radius:4px;color:#fff;font-size:14px;line-height:1.4;outline:0;position:relative;transition-property:transform,visibility,opacity;white-space:normal}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{border-top-color:initial;border-width:8px 8px 0;bottom:-7px;left:0;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:initial;border-width:0 8px 8px;left:0;top:-7px;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-left-color:initial;border-width:8px 0 8px 8px;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{border-right-color:initial;border-width:8px 8px 8px 0;left:-7px;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{color:#333;height:16px;width:16px}.tippy-arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.tippy-content{padding:5px 9px;position:relative;z-index:1}
1
+ .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{background-color:#333;border-radius:4px;color:#fff;font-size:14px;line-height:1.4;outline:0;position:relative;transition-property:transform,visibility,opacity;white-space:normal}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{border-top-color:initial;border-width:8px 8px 0;bottom:-7px;left:0;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:initial;border-width:0 8px 8px;left:0;top:-7px;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-left-color:initial;border-width:8px 0 8px 8px;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{border-right-color:initial;border-width:8px 8px 8px 0;left:-7px;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{color:#333;height:16px;width:16px}.tippy-arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.tippy-content{padding:5px 9px;position:relative;z-index:1}.xn-popper{background:#333;border-radius:4px;color:#fff;display:none;font-size:12px;padding:7px 14px}.xn-popper.light{background:#fff;box-shadow:0 0 6px 0 #dcdee5;color:#63656e}.xn-popper .xn-popper-arrow,.xn-popper .xn-popper-arrow:before{background:inherit;height:8px;position:absolute;width:8px}.xn-popper .xn-popper-arrow{visibility:hidden}.xn-popper .xn-popper-arrow:before{content:"";transform:rotate(45deg);visibility:visible}.xn-popper[data-show]{display:block}.xn-popper[data-popper-placement^=top]>.xn-popper-arrow{bottom:-4px}.xn-popper[data-popper-placement^=bottom]>.xn-popper-arrow{top:-4px}.xn-popper[data-popper-placement^=left]>.xn-popper-arrow{right:-4px}.xn-popper[data-popper-placement^=right]>.xn-popper-arrow{left:-4px}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './types/overflowTooltip';
2
+ export * from './types/tooltips';
2
3
  export declare const directives: {
3
4
  overflowTooltip: {
4
5
  install(app: import("vue").App, defaultOptions?: Partial<import("./overflowTooltip").OverflowTooltipOptions>): void;
@@ -1 +1 @@
1
- !function(e){"use strict";function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?n(Object(i),!0).forEach(function(n){t(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o="top",a="bottom",s="right",c="left",u="auto",p=[o,a,s,c],f="start",l="end",d="viewport",v="popper",m=p.reduce(function(e,t){return e.concat([t+"-"+f,t+"-"+l])},[]),h=[].concat(p,[u]).reduce(function(e,t){return e.concat([t,t+"-"+f,t+"-"+l])},[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return e instanceof b(e).Element||e instanceof Element}function x(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var E={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]||{},r=t.attributes[e]||{},i=t.elements[e];x(i)&&g(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.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 r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});x(r)&&g(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function T(e){return e.split("-")[0]}var j=Math.max,D=Math.min,A=Math.round;function C(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function k(){return!/^((?!chrome|android).)*safari/i.test(C())}function L(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&x(e)&&(i=e.offsetWidth>0&&A(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&A(r.height)/e.offsetHeight||1);var a=(w(e)?b(e):window).visualViewport,s=!k()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,u=(r.top+(s&&a?a.offsetTop:0))/o,p=r.width/i,f=r.height/o;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function N(e){var t=L(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function S(e){return b(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(g(e))>=0}function V(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||V(e)}function M(e){return x(e)&&"fixed"!==S(e).position?e.offsetParent:null}function H(e){for(var t=b(e),n=M(e);n&&P(n)&&"static"===S(n).position;)n=M(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(C());if(/Trident/i.test(C())&&x(e)&&"fixed"===S(e).position)return null;var n=W(e);for(O(n)&&(n=n.host);x(n)&&["html","body"].indexOf(g(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function R(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function B(e,t,n){return j(e,D(t,n))}function I(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function U(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=T(n.placement),d=R(l),v=[c,s].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return I("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:U(e,p))}(i.padding,n),h=N(u),y="y"===d?o:c,g="y"===d?a:s,b=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],w=f[d]-n.rects.reference[d],x=H(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,j=m[y],D=O-h[v]-m[g],A=O/2-h[v]/2+E,C=B(j,A,D),k=d;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&_(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function z(e){return e.split("-")[1]}var F={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,n=e.popper,r=e.popperRect,i=e.placement,u=e.variation,p=e.offsets,f=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,y=p.x,g=void 0===y?0:y,w=p.y,x=void 0===w?0:w,O="function"==typeof m?m({x:g,y:x}):{x:g,y:x};g=O.x,x=O.y;var E=p.hasOwnProperty("x"),T=p.hasOwnProperty("y"),j=c,D=o,C=window;if(v){var k=H(n),L="clientHeight",N="clientWidth";if(k===b(n)&&"static"!==S(k=V(n)).position&&"absolute"===f&&(L="scrollHeight",N="scrollWidth"),i===o||(i===c||i===s)&&u===l)D=a,x-=(h&&k===C&&C.visualViewport?C.visualViewport.height:k[L])-r.height,x*=d?1:-1;if(i===c||(i===o||i===a)&&u===l)j=s,g-=(h&&k===C&&C.visualViewport?C.visualViewport.width:k[N])-r.width,g*=d?1:-1}var _,P=Object.assign({position:f},v&&F),W=!0===m?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:A(n*i)/i||0,y:A(r*i)/i||0}}({x:g,y:x},b(n)):{x:g,y:x};return g=W.x,x=W.y,d?Object.assign({},P,((_={})[D]=T?"0":"",_[j]=E?"0":"",_.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",_)):Object.assign({},P,((t={})[D]=T?x+"px":"",t[j]=E?g+"px":"",t.transform="",t))}var Y={passive:!0};var X={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,function(e){return X[e]})}var G={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,function(e){return G[e]})}function Q(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(e){return L(V(e)).left+Q(e).scrollLeft}function ee(e){var t=S(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function te(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:x(e)&&ee(e)?e:te(W(e))}function ne(e,t){var n;void 0===t&&(t=[]);var r=te(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=b(r),a=i?[o].concat(o.visualViewport||[],ee(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(ne(W(a)))}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ie(e,t,n){return t===d?re(function(e,t){var n=b(e),r=V(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var u=k();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+Z(e),y:c}}(e,n)):w(t)?function(e,t){var n=L(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):re(function(e){var t,n=V(e),r=Q(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=j(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=j(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Z(e),c=-r.scrollTop;return"rtl"===S(i||n).direction&&(s+=j(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(V(e)))}function oe(e,t,n,r){var i="clippingParents"===t?function(e){var t=ne(W(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&x(e)?H(e):e;return w(n)?t.filter(function(e){return w(e)&&_(e,n)&&"body"!==g(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=ie(e,n,r);return t.top=j(i.top,t.top),t.right=D(i.right,t.right),t.bottom=D(i.bottom,t.bottom),t.left=j(i.left,t.left),t},ie(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ae(e){var t,n=e.reference,r=e.element,i=e.placement,u=i?T(i):null,p=i?z(i):null,d=n.x+n.width/2-r.width/2,v=n.y+n.height/2-r.height/2;switch(u){case o:t={x:d,y:n.y-r.height};break;case a:t={x:d,y:n.y+n.height};break;case s:t={x:n.x+n.width,y:v};break;case c:t={x:n.x-r.width,y:v};break;default:t={x:n.x,y:n.y}}var m=u?R(u):null;if(null!=m){var h="y"===m?"height":"width";switch(p){case f:t[m]=t[m]-(n[h]/2-r[h]/2);break;case l:t[m]=t[m]+(n[h]/2-r[h]/2)}}return t}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,l=void 0===f?"clippingParents":f,m=n.rootBoundary,h=void 0===m?d:m,y=n.elementContext,g=void 0===y?v:y,b=n.altBoundary,x=void 0!==b&&b,O=n.padding,E=void 0===O?0:O,T=I("number"!=typeof E?E:U(E,p)),j=g===v?"reference":v,D=e.rects.popper,A=e.elements[x?j:g],C=oe(w(A)?A:A.contextElement||V(e.elements.popper),l,h,u),k=L(e.elements.reference),N=ae({reference:k,element:D,strategy:"absolute",placement:i}),_=re(Object.assign({},D,N)),S=g===v?_:k,P={top:C.top-S.top+T.top,bottom:S.bottom-C.bottom+T.bottom,left:C.left-S.left+T.left,right:S.right-C.right+T.right},W=e.modifiersData.offset;if(g===v&&W){var M=W[i];Object.keys(P).forEach(function(e){var t=[s,a].indexOf(e)>=0?1:-1,n=[o,a].indexOf(e)>=0?"y":"x";P[e]+=M[n]*t})}return P}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?h:c,f=z(r),l=f?s?m:m.filter(function(e){return z(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var v=d.reduce(function(t,n){return t[n]=se(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[T(n)],t},{});return Object.keys(v).sort(function(e,t){return v[e]-v[t]})}var ue={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,p=void 0===i||i,l=n.altAxis,d=void 0===l||l,v=n.fallbackPlacements,m=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=T(O),j=v||(E===O||!w?[J(O)]:function(e){if(T(e)===u)return[];var t=J(e);return[K(e),t,K(t)]}(O)),D=[O].concat(j).reduce(function(e,n){return e.concat(T(n)===u?ce(t,{placement:n,boundary:h,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,C=t.rects.popper,k=new Map,L=!0,N=D[0],_=0;_<D.length;_++){var S=D[_],P=T(S),V=z(S)===f,W=[o,a].indexOf(P)>=0,M=W?"width":"height",H=se(t,{placement:S,boundary:h,rootBoundary:y,altBoundary:g,padding:m}),R=W?V?s:c:V?a:o;A[M]>C[M]&&(R=J(R));var B=J(R),I=[];if(p&&I.push(H[P]<=0),d&&I.push(H[R]<=0,H[B]<=0),I.every(function(e){return e})){N=S,L=!1;break}k.set(S,I)}if(L)for(var U=function(e){var t=D.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(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 fe(e){return[o,s,a,c].some(function(t){return e[t]>=0})}var le={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,u=h.reduce(function(e,n){return e[n]=function(e,t,n){var r=T(e),i=[c,o].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=a[0],p=a[1];return u=u||0,p=(p||0)*i,[c,s].indexOf(r)>=0?{x:p,y:u}:{x:u,y:p}}(n,t.rects,a),e},{}),p=u[t.placement],f=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=u}};var de={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,u=void 0===i||i,p=n.altAxis,l=void 0!==p&&p,d=n.boundary,v=n.rootBoundary,m=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=se(t,{boundary:d,rootBoundary:v,padding:h,altBoundary:m}),O=T(t.placement),E=z(t.placement),A=!E,C=R(O),k="x"===C?"y":"x",L=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,V="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(L){if(u){var I,U="y"===C?o:c,q="y"===C?a:s,F="y"===C?"height":"width",$=L[C],Y=$+x[U],X=$-x[q],J=g?-S[F]/2:0,G=E===f?_[F]:S[F],K=E===f?-S[F]:-_[F],Q=t.elements.arrow,Z=g&&Q?N(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[q],re=B(0,_[F],Z[F]),ie=A?_[F]/2-J-re-te-V.mainAxis:G-re-te-V.mainAxis,oe=A?-_[F]/2+J+re+ne+V.mainAxis:K+re+ne+V.mainAxis,ae=t.elements.arrow&&H(t.elements.arrow),ce=ae?"y"===C?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(I=null==W?void 0:W[C])?I:0,pe=$+oe-ue,fe=B(g?D(Y,$+ie-ue-ce):Y,$,g?j(X,pe):X);L[C]=fe,M[C]=fe-$}if(l){var le,de="x"===C?o:c,ve="x"===C?a:s,me=L[k],he="y"===k?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[o,c].indexOf(O),we=null!=(le=null==W?void 0:W[k])?le:0,xe=be?ye:me-_[he]-S[he]-we+V.altAxis,Oe=be?me+_[he]+S[he]-we-V.altAxis:ge,Ee=g&&be?function(e,t,n){var r=B(e,t,n);return r>n?n:r}(xe,me,Oe):B(g?xe:ye,me,g?Oe:ge);L[k]=Ee,M[k]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ve(e,t,n){void 0===n&&(n=!1);var r,i,o=x(t),a=x(t)&&function(e){var t=e.getBoundingClientRect(),n=A(t.width)/e.offsetWidth||1,r=A(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=V(t),c=L(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(t)||ee(s))&&(u=(r=t)!==b(r)&&x(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Q(r)),x(t)?((p=L(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=Z(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function me(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var he={placement:"bottom",modifiers:[],strategy:"absolute"};function ye(){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 ge(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?he:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},he,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:w(e)?ne(e):e.contextElement?ne(e.contextElement):[],popper:ne(t)};var a,u,l=function(e){var t=me(e);return y.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:p,options:r}),a=function(){};c.push(o||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(ye(t,n)){s.rects={reference:ve(t,H(n),"fixed"===s.options.strategy),popper:N(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 r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:p})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){f(),u=!0}};if(!ye(e,t))return p;function f(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var be=ge({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=b(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,Y)}),s&&c.addEventListener("resize",n.update,Y),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,Y)}),s&&c.removeEventListener("resize",n.update,Y)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ae({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,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:T(t.placement),variation:z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,$(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,$(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},E,le,ue,de,q,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),c=pe(a,r),u=pe(s,i,o),p=fe(c),f=fe(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),we="tippy-content",xe="tippy-arrow",Oe="tippy-svg-arrow",Ee={passive:!0,capture:!0},Te=function(){return document.body};function je(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function De(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ae(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ce(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function ke(e){return[].concat(e)}function Le(e,t){-1===e.indexOf(t)&&e.push(t)}function Ne(e){return[].slice.call(e)}function _e(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Se(){return document.createElement("div")}function Pe(e){return["Element","Fragment"].some(function(t){return De(e,t)})}function Ve(e){return Pe(e)?[e]:function(e){return De(e,"NodeList")}(e)?Ne(e):Array.isArray(e)?e:Ne(document.querySelectorAll(e))}function We(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Me(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function He(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Re(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Be={isTouch:!1},Ie=0;function Ue(){Be.isTouch||(Be.isTouch=!0,window.performance&&document.addEventListener("mousemove",qe))}function qe(){var e=performance.now();e-Ie<20&&(Be.isTouch=!1,document.removeEventListener("mousemove",qe)),Ie=e}function ze(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Fe,$e=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ye(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 Xe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Je(e){return Xe("\n %ctippy.js\n\n %c"+Xe(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Ge(e){return[Je(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ke(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).warn.apply(n,Ge(t)))}function Qe(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).error.apply(n,Ge(t)))}"production"!==process.env.NODE_ENV&&(Fe=new Set);var Ze={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},et=Object.assign({appendTo:Te,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},Ze,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),tt=Object.keys(et);function nt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=et[i])?r:o);return t},{});return Object.assign({},e,t)}function rt(e,t){var n=Object.assign({},t,{content:Ae(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(nt(Object.assign({},et,{plugins:t}))):tt).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},et.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 it(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,i=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(et,Object.keys(Ze)),o=(n=i,r=e,!{}.hasOwnProperty.call(n,r));o&&(o=0===t.filter(function(t){return t.name===e}).length),Ke(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 ot(e,t){e.innerHTML=t}function at(e){var t=Se();return!0===e?t.className=xe:(t.className=Oe,Pe(e)?t.appendChild(e):ot(t,e)),t}function st(e,t){Pe(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function ct(e){var t=e.firstElementChild,n=Ne(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(we)}),arrow:n.find(function(e){return e.classList.contains(xe)||e.classList.contains(Oe)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function ut(e){var t=Se(),n=Se();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Se();function i(n,r){var i=ct(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||st(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(at(r.arrow))):o.appendChild(at(r.arrow)):s&&o.removeChild(s)}return r.className=we,r.setAttribute("data-state","hidden"),st(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}ut.$$tippy=!0;var pt=1,ft=[],lt=[];function dt(e,t){var n,r,i,o,a,s,c,u,p=rt(e,Object.assign({},et,nt(_e(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=Ce(Y,p.interactiveDebounce),y=pt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:Se(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("setProps"));if(b.state.isDestroyed)return;S("onBeforeUpdate",[b,t]),F();var n=b.props,r=rt(e,Object.assign({},n,_e(t),{ignoreAttributes:!0}));b.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ce(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?ke(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),_(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));S("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Be.isTouch&&!b.props.touch,i=je(b.props.duration,0,et.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(S("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");_(),B(),b.state.isMounted||(x.style.transition="none");if(A()){var o=L();We([o.box,o.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=L(),n=t.box,r=t.content;We([n,r],i),Me([n,r],"visible")}P(),V(),Le(lt,b),null==(e=b.popperInstance)||e.forceUpdate(),S("onMount",[b]),b.props.animation&&A()&&function(e,t){U(e,t)}(i,function(){b.state.isShown=!0,S("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===Te||"parent"===t?n.parentNode:Ae(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ke(b.props.interactive&&t===et.appendTo&&n.nextElementSibling!==x,["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&&Ke(b.state.isDestroyed,Ye("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=je(b.props.duration,1,et.duration);if(e||t||n)return;if(S("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,A()&&(x.style.visibility="hidden");if(W(),I(),_(!0),A()){var i=L(),o=i.box,a=i.content;b.props.animation&&(We([o,a],r),Me([o,a],"hidden"))}P(),V(),b.props.animation?A()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("hideWithInteractivity"));k().addEventListener("mousemove",h),Le(ft,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);lt=lt.filter(function(e){return e!==b}),b.state.isMounted=!1,S("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,S("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&Qe(!0,"render() function has not been supplied."),b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return z(),V(),_(),S("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===j()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return c||e}function k(){var e,t,n=C().parentNode;return n?null!=(t=ke(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function L(){return ct(x)}function N(e){return b.state.isMounted&&!b.state.isVisible||Be.isTouch||o&&"focus"===o.type?0:je(b.props.delay,e?0:1,et.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function S(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;ke(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&ke(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function W(){k().removeEventListener("mousemove",h),ft=ft.filter(function(e){return e!==h})}function M(t){if(!Be.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Re(x,n)){if(ke(b.props.triggerTarget||e).some(function(e){return Re(e,n)})){if(Be.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||I())}}}function H(){d=!0}function R(){d=!1}function B(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Ee),e.addEventListener("touchstart",R,Ee),e.addEventListener("touchmove",H,Ee)}function I(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Ee),e.removeEventListener("touchstart",R,Ee),e.removeEventListener("touchmove",H,Ee)}function U(e,t){var n=L().box;function r(e){e.target===n&&(He(n,"remove",r),t())}if(0===e)return t();He(n,"remove",a),He(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),ke(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function z(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q($e?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function F(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,V(),!b.state.isVisible&&De(e,"MouseEvent")&&ft.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>o,d=r-t.bottom-u>o,v=t.left-n+p>o,m=n-t.right-f>o;return l||d||v||m})})(r,e)&&(W(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Be.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=A()?ct(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||C()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=L().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={}}}},f=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];A()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=be(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Ne(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&S("onTrigger",[b,e]),B();var t=N(!0),r=j(),i=r[0],o=r[1];Be.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),S("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=N(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}else I()}}function vt(e,t){void 0===t&&(t={});var n=et.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Qe(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Qe(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),it(t,n)),document.addEventListener("touchstart",Ue,Ee),window.addEventListener("blur",ze);var r=Object.assign({},t,{plugins:n}),i=Ve(e);if("production"!==process.env.NODE_ENV){var o=Pe(r.content),a=i.length>1;Ke(o&&a,["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 s=i.reduce(function(e,t){var n=t&&dt(t,r);return n&&e.push(n),e},[]);return Pe(e)?s[0]:s}vt.defaultProps=et,vt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&it(e,[]),Object.keys(e).forEach(function(t){et[t]=e[t]})},vt.currentInput=Be,Object.assign({},E,{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)}}),vt.setDefaultProps({render:ut});var mt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!1,ellipsisText:"...",customClass:"",options:{}};function ht(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,i=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var o=window.getComputedStyle(e),a=parseFloat(o.fontSize),s=("normal"===o.lineHeight&&"number"==typeof r?a*r:parseFloat(o.lineHeight))*n;switch(i){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var u=document.createRange();u.selectNodeContents(c);var p=u.getClientRects();return 0!==p.length&&p[p.length-1].bottom-e.getBoundingClientRect().top>s;default:var f=e.scrollHeight>s+1,l=e.firstChild,d=!1;if(l){var v=document.createRange();v.selectNodeContents(l);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return f||d}}var yt={mounted:function(e,t){var n=r(r({},mt),"object"===i(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var o=vt(e,r(r({content:e._originalText,placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,trigger:"mouseenter focus"},n.options),{},{onShow:function(t){if(n.onlyOverflow&&!ht(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=o,gt(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(ht(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,n)},updated:function(e,t){var n=r(r({},mt),"object"===i(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,gt(e,n),e._tippy&&e._tippy.setProps({placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function gt(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,i=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var o=e.querySelector(".overflow-tooltip-ellipsis");if(o&&o.remove(),i&&ht(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var bt=yt,wt={install:function(e,t){e.directive("overflow-tooltip",yt),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}},xt={overflowTooltip:wt};function Ot(e){e.use(wt)}var Et={install:Ot};e.default=Et,e.directives=xt,e.installDirectives=Ot,e.overflowTooltipDirective=bt,e.overflowTooltipPlugin=wt,e.vOverflowTooltip=yt,Object.defineProperty(e,"__esModule",{value:!0})}(this["@xn-lib/directives"]=this["@xn-lib/directives"]||{});
1
+ !function(e,t){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function o(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var p="top",l="bottom",f="right",d="left",v="auto",m=[p,l,f,d],h="start",y="end",g="viewport",b="popper",w=m.reduce(function(e,t){return e.concat([t+"-"+h,t+"-"+y])},[]),x=[].concat(m,[v]).reduce(function(e,t){return e.concat([t,t+"-"+h,t+"-"+y])},[]),O=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function E(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function j(e){return e instanceof T(e).Element||e instanceof Element}function A(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function D(e){return"undefined"!=typeof ShadowRoot&&(e instanceof T(e).ShadowRoot||e instanceof ShadowRoot)}var L={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]||{},r=t.attributes[e]||{},o=t.elements[e];A(o)&&E(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.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 r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});A(r)&&E(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function N(e){return e.split("-")[0]}var k=Math.max,C=Math.min,S=Math.round;function I(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function P(){return!/^((?!chrome|android).)*safari/i.test(I())}function V(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&A(e)&&(o=e.offsetWidth>0&&S(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&S(r.height)/e.offsetHeight||1);var a=(j(e)?T(e):window).visualViewport,s=!P()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,l=r.height/i;return{width:p,height:l,top:u,right:c+p,bottom:u+l,left:c,x:c,y:u}}function _(e){var t=V(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function M(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&D(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function W(e){return T(e).getComputedStyle(e)}function H(e){return["table","td","th"].indexOf(E(e))>=0}function R(e){return((j(e)?e.ownerDocument:e.document)||window.document).documentElement}function B(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(D(e)?e.host:null)||R(e)}function U(e){return A(e)&&"fixed"!==W(e).position?e.offsetParent:null}function q(e){for(var t=T(e),n=U(e);n&&H(n)&&"static"===W(n).position;)n=U(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===W(n).position)?t:n||function(e){var t=/firefox/i.test(I());if(/Trident/i.test(I())&&A(e)&&"fixed"===W(e).position)return null;var n=B(e);for(D(n)&&(n=n.host);A(n)&&["html","body"].indexOf(E(n))<0;){var r=W(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function z(e,t,n){return k(e,C(t,n))}function $(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var X={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=N(n.placement),c=F(s),u=[d,f].indexOf(s)>=0?"height":"width";if(i&&a){var v=function(e,t){return $("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,m))}(o.padding,n),h=_(i),y="y"===c?p:d,g="y"===c?l:f,b=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],w=a[c]-n.rects.reference[c],x=q(i),O=x?"y"===c?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,T=v[y],j=O-h[u]-v[g],A=O/2-h[u]/2+E,D=z(T,A,j),L=c;n.modifiersData[r]=((t={})[L]=D,t.centerOffset=D-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&M(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Y(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,v=e.roundOffsets,m=e.isFixed,h=a.x,g=void 0===h?0:h,b=a.y,w=void 0===b?0:b,x="function"==typeof v?v({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var O=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),j=d,A=p,D=window;if(u){var L=q(n),N="clientHeight",k="clientWidth";if(L===T(n)&&"static"!==W(L=R(n)).position&&"absolute"===s&&(N="scrollHeight",k="scrollWidth"),o===p||(o===d||o===f)&&i===y)A=l,w-=(m&&L===D&&D.visualViewport?D.visualViewport.height:L[N])-r.height,w*=c?1:-1;if(o===d||(o===p||o===l)&&i===y)j=f,g-=(m&&L===D&&D.visualViewport?D.visualViewport.width:L[k])-r.width,g*=c?1:-1}var C,I=Object.assign({position:s},u&&Z),P=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:S(n*o)/o||0,y:S(r*o)/o||0}}({x:g,y:w},T(n)):{x:g,y:w};return g=P.x,w=P.y,c?Object.assign({},I,((C={})[A]=E?"0":"",C[j]=O?"0":"",C.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",C)):Object.assign({},I,((t={})[A]=E?w+"px":"",t[j]=O?g+"px":"",t.transform="",t))}var K={passive:!0};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function ee(e){return e.replace(/left|right|bottom|top/g,function(e){return Q[e]})}var te={start:"end",end:"start"};function ne(e){return e.replace(/start|end/g,function(e){return te[e]})}function re(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function oe(e){return V(R(e)).left+re(e).scrollLeft}function ie(e){var t=W(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ae(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:A(e)&&ie(e)?e:ae(B(e))}function se(e,t){var n;void 0===t&&(t=[]);var r=ae(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=T(r),a=o?[i].concat(i.visualViewport||[],ie(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(se(B(a)))}function ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ue(e,t,n){return t===g?ce(function(e,t){var n=T(e),r=R(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=P();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+oe(e),y:c}}(e,n)):j(t)?function(e,t){var n=V(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ce(function(e){var t,n=R(e),r=re(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=k(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=k(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+oe(e),c=-r.scrollTop;return"rtl"===W(o||n).direction&&(s+=k(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(R(e)))}function pe(e,t,n,r){var o="clippingParents"===t?function(e){var t=se(B(e)),n=["absolute","fixed"].indexOf(W(e).position)>=0&&A(e)?q(e):e;return j(n)?t.filter(function(e){return j(e)&&M(e,n)&&"body"!==E(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ue(e,n,r);return t.top=k(o.top,t.top),t.right=C(o.right,t.right),t.bottom=C(o.bottom,t.bottom),t.left=k(o.left,t.left),t},ue(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function le(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?N(o):null,a=o?Y(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case p:t={x:s,y:n.y-r.height};break;case l:t={x:s,y:n.y+n.height};break;case f:t={x:n.x+n.width,y:c};break;case d:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?F(i):null;if(null!=u){var v="y"===u?"height":"width";switch(a){case h:t[u]=t[u]-(n[v]/2-r[v]/2);break;case y:t[u]=t[u]+(n[v]/2-r[v]/2)}}return t}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,u=n.rootBoundary,d=void 0===u?g:u,v=n.elementContext,h=void 0===v?b:v,y=n.altBoundary,w=void 0!==y&&y,x=n.padding,O=void 0===x?0:x,E=$("number"!=typeof O?O:G(O,m)),T=h===b?"reference":b,A=e.rects.popper,D=e.elements[w?T:h],L=pe(j(D)?D:D.contextElement||R(e.elements.popper),c,d,a),N=V(e.elements.reference),k=le({reference:N,element:A,strategy:"absolute",placement:o}),C=ce(Object.assign({},A,k)),S=h===b?C:N,I={top:L.top-S.top+E.top,bottom:S.bottom-L.bottom+E.bottom,left:L.left-S.left+E.left,right:S.right-L.right+E.right},P=e.modifiersData.offset;if(h===b&&P){var _=P[o];Object.keys(I).forEach(function(e){var t=[f,l].indexOf(e)>=0?1:-1,n=[p,l].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t})}return I}function de(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?x:c,p=Y(r),l=p?s?w:w.filter(function(e){return Y(e)===p}):m,f=l.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=l);var d=f.reduce(function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[N(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,m=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=N(O),T=c||(E===O||!w?[ee(O)]:function(e){if(N(e)===v)return[];var t=ee(e);return[ne(e),t,ne(t)]}(O)),j=[O].concat(T).reduce(function(e,n){return e.concat(N(n)===v?de(t,{placement:n,boundary:m,rootBoundary:y,padding:u,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,D=t.rects.popper,L=new Map,k=!0,C=j[0],S=0;S<j.length;S++){var I=j[S],P=N(I),V=Y(I)===h,_=[p,l].indexOf(P)>=0,M=_?"width":"height",W=fe(t,{placement:I,boundary:m,rootBoundary:y,altBoundary:g,padding:u}),H=_?V?f:d:V?l:p;A[M]>D[M]&&(H=ee(H));var R=ee(H),B=[];if(i&&B.push(W[P]<=0),s&&B.push(W[H]<=0,W[R]<=0),B.every(function(e){return e})){C=I,k=!1;break}L.set(I,B)}if(k)for(var U=function(e){var t=j.find(function(t){var n=L.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function me(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 he(e){return[p,f,l,d].some(function(t){return e[t]>=0})}var ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=x.reduce(function(e,n){return e[n]=function(e,t,n){var r=N(e),o=[d,p].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[d,f].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,v=n.altBoundary,m=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=fe(t,{boundary:c,rootBoundary:u,padding:m,altBoundary:v}),O=N(t.placement),E=Y(t.placement),T=!E,j=F(O),A="x"===j?"y":"x",D=t.modifiersData.popperOffsets,L=t.rects.reference,S=t.rects.popper,I="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,P="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(D){if(i){var W,H="y"===j?p:d,R="y"===j?l:f,B="y"===j?"height":"width",U=D[j],$=U+x[H],G=U-x[R],X=g?-S[B]/2:0,Z=E===h?L[B]:S[B],J=E===h?-S[B]:-L[B],K=t.elements.arrow,Q=g&&K?_(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[R],re=z(0,L[B],Q[B]),oe=T?L[B]/2-X-re-te-P.mainAxis:Z-re-te-P.mainAxis,ie=T?-L[B]/2+X+re+ne+P.mainAxis:J+re+ne+P.mainAxis,ae=t.elements.arrow&&q(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(W=null==V?void 0:V[j])?W:0,ue=U+ie-ce,pe=z(g?C($,U+oe-ce-se):$,U,g?k(G,ue):G);D[j]=pe,M[j]=pe-U}if(s){var le,de="x"===j?p:d,ve="x"===j?l:f,me=D[A],he="y"===A?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[p,d].indexOf(O),we=null!=(le=null==V?void 0:V[A])?le:0,xe=be?ye:me-L[he]-S[he]-we+P.altAxis,Oe=be?me+L[he]+S[he]-we-P.altAxis:ge,Ee=g&&be?function(e,t,n){var r=z(e,t,n);return r>n?n:r}(xe,me,Oe):z(g?xe:ye,me,g?Oe:ge);D[A]=Ee,M[A]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function be(e,t,n){void 0===n&&(n=!1);var r,o,i=A(t),a=A(t)&&function(e){var t=e.getBoundingClientRect(),n=S(t.width)/e.offsetWidth||1,r=S(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=R(t),c=V(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==E(t)||ie(s))&&(u=(r=t)!==T(r)&&A(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:re(r)),A(t)?((p=V(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=oe(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function we(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){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 Ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?xe:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:j(e)?se(e):e.contextElement?se(e.contextElement):[],popper:se(t)};var a,u,f=function(e){var t=we(e);return O.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:p,options:r}),a=function(){};c.push(i||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(Oe(t,n)){s.rects={reference:be(t,q(n),"fixed"===s.options.strategy),popper:_(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 r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,c=void 0===a?{}:a,l=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:l,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){l(),u=!0}};if(!Oe(e,t))return p;function l(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var Te=Ee({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=T(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,K)}),s&&c.addEventListener("resize",n.update,K),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,K)}),s&&c.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=le({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,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:N(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},L,ye,ve,ge,X,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),c=me(a,r),u=me(s,o,i),p=he(c),l=he(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),je="tippy-content",Ae="tippy-arrow",De="tippy-svg-arrow",Le={passive:!0,capture:!0},Ne=function(){return document.body};function ke(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ce(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Se(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ie(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Pe(e){return[].concat(e)}function Ve(e,t){-1===e.indexOf(t)&&e.push(t)}function _e(e){return[].slice.call(e)}function Me(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function We(){return document.createElement("div")}function He(e){return["Element","Fragment"].some(function(t){return Ce(e,t)})}function Re(e){return He(e)?[e]:function(e){return Ce(e,"NodeList")}(e)?_e(e):Array.isArray(e)?e:_e(document.querySelectorAll(e))}function Be(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Ue(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function qe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Fe(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var ze={isTouch:!1},$e=0;function Ge(){ze.isTouch||(ze.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xe))}function Xe(){var e=performance.now();e-$e<20&&(ze.isTouch=!1,document.removeEventListener("mousemove",Xe)),$e=e}function Ye(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Ze,Je=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ke(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 Qe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function et(e){return Qe("\n %ctippy.js\n\n %c"+Qe(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function tt(e){return[et(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function nt(e,t){var n;e&&!Ze.has(t)&&(Ze.add(t),(n=console).warn.apply(n,tt(t)))}function rt(e,t){var n;e&&!Ze.has(t)&&(Ze.add(t),(n=console).error.apply(n,tt(t)))}"production"!==process.env.NODE_ENV&&(Ze=new Set);var ot={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},it=Object.assign({appendTo:Ne,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},ot,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),at=Object.keys(it);function st(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=it[o])?r:i);return t},{});return Object.assign({},e,t)}function ct(e,t){var n=Object.assign({},t,{content:Se(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(st(Object.assign({},it,{plugins:t}))):at).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},it.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 ut(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,o=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(it,Object.keys(ot)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),nt(i,["`"+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 pt(e,t){e.innerHTML=t}function lt(e){var t=We();return!0===e?t.className=Ae:(t.className=De,He(e)?t.appendChild(e):pt(t,e)),t}function ft(e,t){He(t.content)?(pt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?pt(e,t.content):e.textContent=t.content)}function dt(e){var t=e.firstElementChild,n=_e(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(je)}),arrow:n.find(function(e){return e.classList.contains(Ae)||e.classList.contains(De)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function vt(e){var t=We(),n=We();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=We();function o(n,r){var o=dt(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||ft(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(lt(r.arrow))):i.appendChild(lt(r.arrow)):s&&i.removeChild(s)}return r.className=je,r.setAttribute("data-state","hidden"),ft(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}vt.$$tippy=!0;var mt=1,ht=[],yt=[];function gt(e,t){var n,r,o,i,a,s,c,u,p=ct(e,Object.assign({},it,st(Me(t)))),l=!1,f=!1,d=!1,v=!1,m=[],h=Ie(G,p.interactiveDebounce),y=mt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:We(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("setProps"));if(b.state.isDestroyed)return;I("onBeforeUpdate",[b,t]),z();var n=b.props,r=ct(e,Object.assign({},n,Me(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),h=Ie(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Pe(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),S(),O&&O(n,r);b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));I("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ze.isTouch&&!b.props.touch,o=ke(b.props.duration,0,it.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(I("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");S(),R(),b.state.isMounted||(x.style.transition="none");if(D()){var i=k();Be([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=k(),n=t.box,r=t.content;Be([n,r],o),Ue([n,r],"visible")}P(),V(),Ve(yt,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,I("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===Ne||"parent"===t?n.parentNode:Se(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&nt(b.props.interactive&&t===it.appendTo&&n.nextElementSibling!==x,["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&&nt(b.state.isDestroyed,Ke("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ke(b.props.duration,1,it.duration);if(e||t||n)return;if(I("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(_(),B(),S(!0),D()){var o=k(),i=o.box,a=o.content;b.props.animation&&(Be([i,a],r),Ue([i,a],"hidden"))}P(),V(),b.props.animation?D()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("hideWithInteractivity"));N().addEventListener("mousemove",h),Ve(ht,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);yt=yt.filter(function(e){return e!==b}),b.state.isMounted=!1,I("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&rt(!0,"render() function has not been supplied."),b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return F(),V(),S(),I("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===j()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function N(){var e,t,n=L().parentNode;return n?null!=(t=Pe(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return dt(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||ze.isTouch||i&&"focus"===i.type?0:ke(b.props.delay,e?0:1,it.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Pe(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&Pe(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")})}function _(){N().removeEventListener("mousemove",h),ht=ht.filter(function(e){return e!==h})}function M(t){if(!ze.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Fe(x,n)){if(Pe(b.props.triggerTarget||e).some(function(e){return Fe(e,n)})){if(ze.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||B())}}}function W(){d=!0}function H(){d=!1}function R(){var e=N();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Le),e.addEventListener("touchstart",H,Le),e.addEventListener("touchmove",W,Le)}function B(){var e=N();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Le),e.removeEventListener("touchstart",H,Le),e.removeEventListener("touchmove",W,Le)}function U(e,t){var n=k().box;function r(e){e.target===n&&(qe(n,"remove",r),t())}if(0===e)return t();qe(n,"remove",a),qe(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Pe(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;A()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q(Je?"focusout":"blur",Y);break;case"focusin":q("focusout",Y)}})}function z(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!Z(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&Ce(e,"MouseEvent")&&ht.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&&!r&&te(e)}}function G(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+p>i,m=n-t.right-l>i;return f||d||v||m})})(r,e)&&(_(),te(e))}}function X(e){Z(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!ze.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?dt(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=k().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={}}}},l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];D()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Te(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return _e(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),R();var t=C(!0),r=j(),o=r[0],i=r[1];ze.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("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=C(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else B()}}function bt(e,t){void 0===t&&(t={});var n=it.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;rt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),rt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ut(t,n)),document.addEventListener("touchstart",Ge,Le),window.addEventListener("blur",Ye);var r=Object.assign({},t,{plugins:n}),o=Re(e);if("production"!==process.env.NODE_ENV){var i=He(r.content),a=o.length>1;nt(i&&a,["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 s=o.reduce(function(e,t){var n=t&&gt(t,r);return n&&e.push(n),e},[]);return He(e)?s[0]:s}bt.defaultProps=it,bt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ut(e,[]),Object.keys(e).forEach(function(t){it[t]=e[t]})},bt.currentInput=ze,Object.assign({},L,{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)}}),bt.setDefaultProps({render:vt});var wt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!1,ellipsisText:"...",customClass:"",options:{}};function xt(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,o=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var i=window.getComputedStyle(e),a=parseFloat(i.fontSize),s=("normal"===i.lineHeight&&"number"==typeof r?a*r:parseFloat(i.lineHeight))*n;switch(o){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var u=document.createRange();u.selectNodeContents(c);var p=u.getClientRects();return 0!==p.length&&p[p.length-1].bottom-e.getBoundingClientRect().top>s;default:var l=e.scrollHeight>s+1,f=e.firstChild,d=!1;if(f){var v=document.createRange();v.selectNodeContents(f);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return l||d}}var Ot={mounted:function(e,t){var n=a(a({},wt),"object"===u(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var r=bt(e,a(a({content:e._originalText,placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,trigger:"mouseenter focus"},n.options),{},{onShow:function(t){if(n.onlyOverflow&&!xt(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=r,Et(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(xt(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,n)},updated:function(e,t){var n=a(a({},wt),"object"===u(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,Et(e,n),e._tippy&&e._tippy.setProps({placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function Et(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,o=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var i=e.querySelector(".overflow-tooltip-ellipsis");if(i&&i.remove(),o&&xt(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var Tt,jt=Ot,At={install:function(e,t){e.directive("overflow-tooltip",Ot),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}};!function(e){e.BOTTOM="bottom",e.CONTENT="content",e.FULLSCREEN="fullScreen",e.MESSAGE="message",e.MODAL="modal",e.NAVI="navi",e.PLUGINS="plugins",e.POPPER="popper"}(Tt||(Tt={}));var Dt=o(o(o(o(o(o(o(o({},Tt.BOTTOM,0),Tt.CONTENT,1),Tt.NAVI,100),Tt.FULLSCREEN,1e3),Tt.MODAL,2e3),Tt.PLUGINS,5e3),Tt.MESSAGE,6e3),Tt.POPPER,8e3),Lt=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()},(t=[{key:"getNextIndex",value:function(e){if(Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e))return this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e];this.getNextIndex(Tt.MODAL)}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(Tt.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(Tt.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(Tt.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(Tt.NAVI)}},{key:"getPopperIndex",value:function(){return this.getNextIndex(Tt.POPPER)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,o({},n,e[n]))}),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,o({},n,e[n]))})}},{key:"copyDefaultValue",value:function(){var e=Object.keys(Dt).reduce(function(e,t){return Object.assign(e,o({},t,{value:Dt[t],writable:!0,configurable:!0}))},{});this.storageLayerIndexValue=Object.create(Dt,e)}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());function Nt(e){return"".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xn","-").concat(e)}var kt=new WeakMap,Ct={beforeMount:function(e,n){var r=St(n),o=r.trigger,i=r.showOnInit,a=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=Lt.getPopperIndex(),s=document.createElement("div"),c=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";if(s.className="".concat(Nt("popper",c)," ").concat(i?"light":"dark"," ").concat(o),s.innerText=t,s.style.zIndex=String(a),It(t,s),n){var u=Pt();s.appendChild(u)}return s}(r),s=null;if(i&&t.nextTick(function(){Vt(e)}),"hover"===o){var c=null;e.addEventListener("mouseenter",function(){s=setTimeout(function(){Vt(e),c&&clearTimeout(c),s&&clearTimeout(s)},r.delay)}),a.addEventListener("mouseenter",function(){c&&clearTimeout(c)}),e.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(e)},100)}),a.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(e)},100)})}else"click"===o&&document.body.addEventListener("click",function(t){e.contains(t.target)&&!a.hasAttribute("data-show")?s=setTimeout(function(){Vt(e),s&&clearTimeout(s)},r.delay):!e.contains(t.target)&&a.hasAttribute("data-show")&&_t(e)});kt.set(e,{opts:r,popper:a,popperInstance:null})},updated:function(e,t){kt.get(e)&&(kt.get(e).opts=St(t))},unmounted:function(e){_t(e),kt.delete(e)}};function St(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",sameWidth:!1,delay:0,onShow:function(){},onHide:function(){}};return"object"===u(e.value)?Object.assign(t,e.value):t.content=e.value,t}function It(e,n){if("string"==typeof e)n.innerText=e;else{var r=document.createElement("div"),o=t.h(e);t.render(o,r),n.innerHTML=r.innerHTML}}function Pt(){var e=document.createElement("div"),t=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";return e.className=Nt("popper-arrow",t),e.setAttribute("data-popper-arrow",""),e}function Vt(e){if(kt.get(e)){var t=kt.get(e),n=t.popper,r=t.opts,o=r.disabled,i=r.content,c=r.arrow,u=r.onShow,p=r.boundary,l=r.modifiers,f=void 0===l?[]:l;if(!o){if(It(i,n),c){var d=Pt();n.appendChild(d)}var v=document.body;p&&("parent"===p&&e.parentElement?v=e.parentElement:p instanceof HTMLElement&&(v=p)),v.appendChild(n);var m=function(e,t){if(kt.get(e)){var n=kt.get(e).opts,r=n.placement,o=n.distance,i=n.sameWidth;return Te(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}},{name:"arrow",options:{padding:5}}].concat(s(i?[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.overflowWrap="break-word",t.elements.popper.style.width="".concat(t.elements.reference.offsetWidth,"px")}}]:[]))})}}(e,n);u(),n.setAttribute("data-show",""),m&&(m.setOptions(function(e){return a(a({},e),{},{modifiers:[].concat(s(e.modifiers||[]),s(f),[{name:"eventListeners",enabled:!0}])})}),m.forceUpdate()),kt.get(e).popperInstance=m}}}function _t(e){if(kt.get(e)){var t,n=kt.get(e),r=n.popper,o=n.popperInstance,i=n.opts.onHide;if(r&&document.body.contains(r))r.removeAttribute("data-show"),null==o||o.destroy(),null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r),i()}}var Mt=Ct,Wt=Mt,Ht={overflowTooltip:At};function Rt(e){e.use(At)}var Bt={install:Rt};e.default=Bt,e.directives=Ht,e.installDirectives=Rt,e.overflowTooltipDirective=jt,e.overflowTooltipPlugin=At,e.tooltipDirective=Wt,e.vOverflowTooltip=Ot,e.vXnTooltips=Mt,Object.defineProperty(e,"__esModule",{value:!0})}(this["@xn-lib/directives"]=this["@xn-lib/directives"]||{},Vue);