/** * @popperjs/core v2.1.1 - MIT License */ "use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Popper={})}(this,(function(e){function t(e){return{width:(e=e.getBoundingClientRect()).width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function r(e){return"[object Window]"!==e.toString()?(e=e.ownerDocument)?e.defaultView:window:e}function n(e){return{scrollLeft:(e=r(e)).pageXOffset,scrollTop:e.pageYOffset}}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return e?(e.nodeName||"").toLowerCase():null}function s(e){return(o(e)?e.ownerDocument:e.document).documentElement}function f(e){return t(s(e)).left+n(e).scrollLeft}function p(e,o,p){void 0===p&&(p=!1),e=t(e);var c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return p||("body"!==a(o)&&(c=o!==r(o)&&i(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:n(o)),i(o)?((u=t(o)).x+=o.clientLeft,u.y+=o.clientTop):(o=s(o))&&(u.x=f(o))),{x:e.left+c.scrollLeft-u.x,y:e.top+c.scrollTop-u.y,width:e.width,height:e.height}}function c(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function u(e){return"html"===a(e)?e:e.parentNode||e.host||document.ownerDocument||document.documentElement}function d(e){return r(e).getComputedStyle(e)}function l(e,t){void 0===t&&(t=[]);var n=function e(t){if(0<=["html","body","#document"].indexOf(a(t)))return t.ownerDocument.body;if(i(t)){var r=d(t);if(/auto|scroll|overlay|hidden/.test(r.overflow+r.overflowY+r.overflowX))return t}return e(u(t))}(e);return n=(e="body"===a(n))?r(n):n,t=t.concat(n),e?t:t.concat(l(u(n)))}function m(e){var t;return!i(e)||!(t=e.offsetParent)||void 0!==window.InstallTrigger&&"fixed"===d(t).position?null:t}function h(e){var t=r(e);for(e=m(e);e&&0<=["table","td","th"].indexOf(a(e));)e=m(e);return e&&"body"===a(e)&&"static"===d(e).position?t:e||t}function v(e){var t=new Map,r=new Set,n=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||function e(o){r.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(n){r.has(n)||(n=t.get(n))&&e(n)})),n.push(o)}(e)})),n}function g(e){var t;return function(){return t||(t=new Promise((function(r){Promise.resolve().then((function(){t=void 0,r(e())}))}))),t}}function b(e){return e.split("-")[0]}function y(){for(var e=arguments.length,t=Array(e),r=0;r(g.devicePixelRatio||1)?"translate("+e+"px, "+u+"px)":"translate3d("+e+"px, "+u+"px, 0)",l)):Object.assign({},n,((t={})[v]=a?u+"px":"",t[m]=d?e+"px":"",t.transform="",t))}function j(e){return e.replace(/left|right|bottom|top/g,(function(e){return _[e]}))}function E(e){return e.replace(/start|end/g,(function(e){return U[e]}))}function D(e,t){var r=!(!t.getRootNode||!t.getRootNode().host);if(e.contains(t))return!0;if(r)do{if(t&&e.isSameNode(t))return!0;t=t.parentNode||t.host}while(t);return!1}function L(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function k(e,o){if("viewport"===o)e=L({width:(e=r(e)).innerWidth,height:e.innerHeight,x:0,y:0});else if(i(o))e=t(o);else{var a=s(e);e=r(a),o=n(a),(a=p(s(a),e)).height=Math.max(a.height,e.innerHeight),a.width=Math.max(a.width,e.innerWidth),a.x=-o.scrollLeft,a.y=-o.scrollTop,e=L(a)}return e}function P(e,t,n){return t="clippingParents"===t?function(e){var t=l(e),r=0<=["absolute","fixed"].indexOf(d(e).position)&&i(e)?h(e):e;return o(r)?t.filter((function(e){return o(e)&&D(e,r)})):[]}(e):[].concat(t),(n=(n=[].concat(t,[n])).reduce((function(t,n){var o=k(e,n),p=r(n=i(n)?n:s(e)),c=i(n)?d(n):{};parseFloat(c.borderTopWidth);var u=parseFloat(c.borderRightWidth)||0,l=parseFloat(c.borderBottomWidth)||0,m=parseFloat(c.borderLeftWidth)||0;c="html"===a(n);var h=f(n),v=n.clientWidth+u,g=n.clientHeight+l;return c&&50m?u:c?p.innerWidth-v-h:n.offsetWidth-v,p=c?p.innerHeight-g:n.offsetHeight-g,n=c?h:n.clientLeft,t.top=Math.max(o.top+l,t.top),t.right=Math.min(o.right-u,t.right),t.bottom=Math.min(o.bottom-p,t.bottom),t.left=Math.max(o.left+n,t.left),t}),k(e,n[0]))).width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function B(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},e)}function T(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function W(e,r){void 0===r&&(r={});var n=r;r=void 0===(r=n.placement)?e.placement:r;var i=n.boundary,a=void 0===i?"clippingParents":i,f=void 0===(i=n.rootBoundary)?"viewport":i;i=void 0===(i=n.elementContext)?"popper":i;var p=n.altBoundary,c=void 0!==p&&p;n=B("number"!=typeof(n=void 0===(n=n.padding)?0:n)?n:T(n,q));var u=e.elements.reference;p=e.rects.popper,a=P(o(c=e.elements[c?"popper"===i?"reference":"popper":i])?c:s(e.elements.popper),a,f),c=O({reference:f=t(u),element:p,strategy:"absolute",placement:r}),p=L(Object.assign({},p,{},c)),f="popper"===i?p:f;var d={top:a.top-f.top+n.top,bottom:f.bottom-a.bottom+n.bottom,left:a.left-f.left+n.left,right:f.right-a.right+n.right};if(e=e.modifiersData.offset,"popper"===i&&e){var l=e[r];Object.keys(d).forEach((function(e){var t=0<=["right","bottom"].indexOf(e)?1:-1,r=0<=["top","bottom"].indexOf(e)?"y":"x";d[e]+=l[r]*t}))}return d}function H(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function R(e){return["top","right","bottom","left"].some((function(t){return 0<=e[t]}))}var q=["top","bottom","right","left"],A=q.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),S=[].concat(q,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),C="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),F={placement:"bottom",modifiers:[],strategy:"absolute"},I={passive:!0},N={top:"auto",right:"auto",bottom:"auto",left:"auto"},_={left:"right",right:"left",bottom:"top",top:"bottom"},U={start:"end",end:"start"},V=[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=(e=e.options).scroll,i=void 0===o||o,a=void 0===(e=e.resize)||e,s=r(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach((function(e){e.addEventListener("scroll",n.update,I)})),a&&s.addEventListener("resize",n.update,I),function(){i&&f.forEach((function(e){e.removeEventListener("scroll",n.update,I)})),a&&s.removeEventListener("resize",n.update,I)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=O({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,r=e.options;e=void 0===(e=r.gpuAcceleration)||e,r=void 0===(r=r.adaptive)||r,e={placement:b(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e},t.styles.popper=Object.assign({},t.styles.popper,{},M(Object.assign({},e,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r}))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},M(Object.assign({},e,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];i(o)&&a(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{};e=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{}),i(n)&&a(n)&&(Object.assign(n.style,e),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.name,n=void 0===(e=e.options.offset)?[0,0]:e,o=(e=S.reduce((function(e,r){var o=t.rects,i=b(r),a=0<=["left","top"].indexOf(i)?-1:1,s="function"==typeof n?n(Object.assign({},o,{placement:r})):n;return o=(o=s[0])||0,s=((s=s[1])||0)*a,i=0<=["left","right"].indexOf(i)?{x:s,y:o}:{x:o,y:s},e[r]=i,e}),{}))[t.placement],i=o.y;t.modifiersData.popperOffsets.x+=o.x,t.modifiersData.popperOffsets.y+=i,t.modifiersData[r]=e}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options;if(e=e.name,!t.modifiersData[e]._skip){var n=r.fallbackPlacements,o=r.padding,i=r.boundary,a=r.rootBoundary,s=r.altBoundary,f=void 0===(r=r.flipVariations)||r,p=b(r=t.options.placement);n=n||(p!==r&&f?function(e){if("auto"===b(e))return[];var t=j(e);return[E(e),t,E(t)]}(r):[j(r)]);var c=[r].concat(n).reduce((function(e,r){return e.concat("auto"===b(r)?function(e,t){void 0===t&&(t={});var r=t.boundary,n=t.rootBoundary,o=t.padding,i=t.flipVariations,a=t.placement.split("-")[1],s=(a?i?A:A.filter((function(e){return e.split("-")[1]===a})):q).reduce((function(t,i){return t[i]=W(e,{placement:i,boundary:r,rootBoundary:n,padding:o})[b(i)],t}),{});return Object.keys(s).sort((function(e,t){return s[e]-s[t]}))}(t,{placement:r,boundary:i,rootBoundary:a,padding:o,flipVariations:f}):r)}),[]);n=t.rects.reference,r=t.rects.popper;var u=new Map;p=!0;for(var d=c[0],l=0;lr[y]&&(v=j(v)),y=j(v),(h=[0>=w[h],0>=w[v],0>=w[y]]).every((function(e){return e}))){d=m,p=!1;break}u.set(m,h)}if(p)for(s=function(e){var t=c.find((function(t){if(t=u.get(t))return t.slice(0,e).every((function(e){return e}))}));if(t)return d=t,"break"},n=f?3:1;0-1}function p(t,e){return"function"==typeof t?t.apply(void 0,e):t}function u(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function c(t,e){var n=Object.assign({},t);return e.forEach((function(t){delete n[t]})),n}function f(t){return[].concat(t)}function l(t,e){-1===t.indexOf(e)&&t.push(e)}function d(t){return t.split("-")[0]}function v(t){return[].slice.call(t)}function m(){return document.createElement("div")}function g(t){return s(t,"Element")}function h(t){return s(t,"MouseEvent")}function b(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function y(t){return g(t)?[t]:function(t){return s(t,"NodeList")}(t)?v(t):Array.isArray(t)?t:v(document.querySelectorAll(t))}function x(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function w(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function T(t){var e=f(t)[0];return e&&e.ownerDocument||document}function E(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}var A={isTouch:!1},C=0;function O(){A.isTouch||(A.isTouch=!0,window.performance&&document.addEventListener("mousemove",k))}function k(){var t=performance.now();t-C<20&&(A.isTouch=!1,document.removeEventListener("mousemove",k)),C=t}function D(){var t=document.activeElement;if(b(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var L=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},content:"",delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),V=Object.keys(L);function M(t){var e=(t.plugins||[]).reduce((function(e,n){var i=n.name,r=n.defaultValue;return i&&(e[i]=void 0!==t[i]?t[i]:r),e}),{});return Object.assign({},t,{},e)}function j(t,e){var n=Object.assign({},e,{content:p(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(M(Object.assign({},L,{plugins:e}))):V).reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(t){e[n]=i}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},L.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function R(t,e){t.innerHTML=e}function S(t){var e=m();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",g(t)?e.appendChild(t):R(e,t)),e}function P(t,e){g(e.content)?(R(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?R(t,e.content):t.textContent=e.content)}function I(t){var e=t.firstElementChild,n=v(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function B(t){var e=m(),n=m();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=m();function r(n,i){var r=I(e),o=r.box,a=r.content,s=r.arrow;i.theme?o.setAttribute("data-theme",i.theme):o.removeAttribute("data-theme"),"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.removeAttribute("data-animation"),i.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?o.setAttribute("role",i.role):o.removeAttribute("role"),n.content!==i.content&&P(a,t.props),i.arrow?s?n.arrow!==i.arrow&&(o.removeChild(s),o.appendChild(S(i.arrow))):o.appendChild(S(i.arrow)):s&&o.removeChild(s)}return i.className="tippy-content",i.setAttribute("data-state","hidden"),P(i,t.props),e.appendChild(n),n.appendChild(i),r(t.props,t.props),{popper:e,onUpdate:r}}B.$$tippy=!0;var N=1,H=[],U=[];function _(e,n){var s,c,g,b,y,C,O,k,D=j(e,Object.assign({},L,{},M(n))),V=!1,R=!1,S=!1,P=[],B=u(gt,D.interactiveDebounce),_=T(D.triggerTarget||e),z=N++,q=(k=D.plugins).filter((function(t,e){return k.indexOf(t)===e})),F={id:z,reference:e,popper:m(),popperInstance:null,props:D,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:q,clearDelayTimeouts:function(){clearTimeout(s),clearTimeout(c),cancelAnimationFrame(g)},setProps:function(t){if(F.state.isDestroyed)return;rt("onBeforeUpdate",[F,t]),vt();var n=F.props,i=j(e,Object.assign({},F.props,{},t,{ignoreAttributes:!0}));F.props=i,dt(),n.interactiveDebounce!==i.interactiveDebounce&&(st(),B=u(gt,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?f(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");at(),nt(),$&&$(n,i);F.popperInstance&&(xt(),Tt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));rt("onAfterUpdate",[F,t])},setContent:function(t){F.setProps({content:t})},show:function(){var t=F.state.isVisible,e=F.state.isDestroyed,n=!F.state.isEnabled,i=A.isTouch&&!F.props.touch,r=a(F.props.duration,0,L.duration);if(t||e||n||i)return;if(Z().hasAttribute("disabled"))return;if(rt("onShow",[F],!1),!1===F.props.onShow(F))return;F.state.isVisible=!0,Q()&&(Y.style.visibility="visible");nt(),ut(),F.state.isMounted||(Y.style.transition="none");if(Q()){var o=tt(),s=o.box,u=o.content;x([s,u],0)}C=function(){if(F.state.isVisible&&!S){if(S=!0,Y.offsetHeight,Y.style.transition=F.props.moveTransition,Q()&&F.props.animation){var t=tt(),e=t.box,n=t.content;x([e,n],r),w([e,n],"visible")}ot(),at(),l(U,F),it(!0),F.state.isMounted=!0,rt("onMount",[F]),F.props.animation&&Q()&&function(t,e){ft(t,e)}(r,(function(){F.state.isShown=!0,rt("onShown",[F])}))}},function(){var t,e=F.props.appendTo,n=Z();t=F.props.interactive&&e===L.appendTo||"parent"===e?n.parentNode:p(e,[n]);t.contains(Y)||t.appendChild(Y);xt()}()},hide:function(){var t=!F.state.isVisible,e=F.state.isDestroyed,n=!F.state.isEnabled,i=a(F.props.duration,1,L.duration);if(t||e||n)return;if(rt("onHide",[F],!1),!1===F.props.onHide(F))return;F.state.isVisible=!1,F.state.isShown=!1,S=!1,Q()&&(Y.style.visibility="hidden");if(st(),ct(),nt(),Q()){var r=tt(),o=r.box,s=r.content;F.props.animation&&(x([o,s],i),w([o,s],"hidden"))}ot(),at(),F.props.animation?Q()&&function(t,e){ft(t,(function(){!F.state.isVisible&&Y.parentNode&&Y.parentNode.contains(Y)&&e()}))}(i,F.unmount):F.unmount()},enable:function(){F.state.isEnabled=!0},disable:function(){F.hide(),F.state.isEnabled=!1},unmount:function(){F.state.isVisible&&F.hide();if(!F.state.isMounted)return;wt(),Tt().forEach((function(t){t._tippy.unmount()})),Y.parentNode&&Y.parentNode.removeChild(Y);0===(U=U.filter((function(t){return t!==F}))).length&&it(!1);F.state.isMounted=!1,rt("onHidden",[F])},destroy:function(){if(F.state.isDestroyed)return;F.clearDelayTimeouts(),F.unmount(),vt(),delete e._tippy,F.state.isDestroyed=!0,rt("onDestroy",[F])}};if(!D.render)return F;var X=D.render(F),Y=X.popper,$=X.onUpdate;Y.setAttribute("data-tippy-root",""),Y.id="tippy-"+F.id,F.popper=Y,e._tippy=F,Y._tippy=F;var W=q.map((function(t){return t.fn(F)})),J=e.hasAttribute("aria-expanded");return dt(),at(),nt(),rt("onCreate",[F]),D.showOnCreate&&Et(),Y.addEventListener("mouseenter",(function(){F.props.interactive&&F.state.isVisible&&F.clearDelayTimeouts()})),Y.addEventListener("mouseleave",(function(t){F.props.interactive&&F.props.trigger.indexOf("mouseenter")>=0&&(_.addEventListener("mousemove",B),B(t))})),F;function G(){var t=F.props.touch;return Array.isArray(t)?t:[t,0]}function K(){return"hold"===G()[0]}function Q(){var t;return!!(null==(t=F.props.render)?void 0:t.$$tippy)}function Z(){return O||e}function tt(){return I(Y)}function et(t){return F.state.isMounted&&!F.state.isVisible||A.isTouch||b&&"focus"===b.type?0:a(F.props.delay,t?0:1,L.delay)}function nt(){Y.style.pointerEvents=F.props.interactive&&F.state.isVisible?"":"none",Y.style.zIndex=""+F.props.zIndex}function it(t){var e=t&&r&&A.isTouch;_.body.classList[e?"add":"remove"]("tippy-iOS")}function rt(t,e,n){var i;(void 0===n&&(n=!0),W.forEach((function(n){n[t]&&n[t].apply(void 0,e)})),n)&&(i=F.props)[t].apply(i,e)}function ot(){var t=F.props.aria;if(t.content){var n="aria-"+t.content,i=Y.id;f(F.props.triggerTarget||e).forEach((function(t){var e=t.getAttribute(n);if(F.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var r=e&&e.replace(i,"").trim();r?t.setAttribute(n,r):t.removeAttribute(n)}}))}}function at(){!J&&F.props.aria.expanded&&f(F.props.triggerTarget||e).forEach((function(t){F.props.interactive?t.setAttribute("aria-expanded",F.state.isVisible&&t===Z()?"true":"false"):t.removeAttribute("aria-expanded")}))}function st(){_.body.removeEventListener("mouseleave",At),_.removeEventListener("mousemove",B),H=H.filter((function(t){return t!==B}))}function pt(t){if(!F.props.interactive||!Y.contains(t.target)){if(Z().contains(t.target)){if(A.isTouch)return;if(F.state.isVisible&&F.props.trigger.indexOf("click")>=0)return}else F.props.onClickOutside(F,t);!0===F.props.hideOnClick&&(V=!1,F.clearDelayTimeouts(),F.hide(),R=!0,setTimeout((function(){R=!1})),F.state.isMounted||ct())}}function ut(){_.addEventListener("mousedown",pt,!0)}function ct(){_.removeEventListener("mousedown",pt,!0)}function ft(t,e){var n=tt().box;function i(t){t.target===n&&(E(n,"remove",i),e())}if(0===t)return e();E(n,"remove",y),E(n,"add",i),y=i}function lt(t,n,i){void 0===i&&(i=!1),f(F.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),P.push({node:e,eventType:t,handler:n,options:i})}))}function dt(){var t;K()&&(lt("touchstart",mt,o),lt("touchend",ht,o)),(t=F.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(lt(t,mt),t){case"mouseenter":lt("mouseleave",ht);break;case"focus":lt(i?"focusout":"blur",bt);break;case"focusin":lt("focusout",bt)}}))}function vt(){P.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)})),P=[]}function mt(t){var e=!1;if(F.state.isEnabled&&!yt(t)&&!R){if(b=t,O=t.currentTarget,at(),!F.state.isVisible&&h(t)&&H.forEach((function(e){return e(t)})),"click"===t.type&&(F.props.trigger.indexOf("mouseenter")<0||V)&&!1!==F.props.hideOnClick&&F.state.isVisible)e=!0;else{var n=G(),i=n[0],r=n[1];A.isTouch&&"hold"===i&&r?s=setTimeout((function(){Et(t)}),r):Et(t)}"click"===t.type&&(V=!e),e&&At(t)}}function gt(t){var n=t.target,i=e.contains(n)||Y.contains(n);"mousemove"===t.type&&i||function(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,r=t.popperState,o=t.props.interactiveBorder,a=d(r.placement),s=r.modifiersData.offset;if(!s)return!0;var p="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=e.top-i+p>o,v=i-e.bottom-u>o,m=e.left-n+c>o,g=n-e.right-f>o;return l||v||m||g}))}(Tt().concat(Y).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:D}:null})).filter(Boolean),t)&&(st(),At(t))}function ht(t){if(!(yt(t)||F.props.trigger.indexOf("click")>=0&&V))return F.props.interactive?(_.body.addEventListener("mouseleave",At),_.addEventListener("mousemove",B),l(H,B),void B(t)):void At(t)}function bt(t){F.props.trigger.indexOf("focusin")<0&&t.target!==Z()||F.props.interactive&&t.relatedTarget&&Y.contains(t.relatedTarget)||At(t)}function yt(t){return!!A.isTouch&&K()!==t.type.indexOf("touch")>=0}function xt(){wt();var n=F.props,i=n.popperOptions,r=n.placement,o=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,p=Q()?I(Y).arrow:null,u=a?{getBoundingClientRect:a}:e,c={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(Q()){var n=tt().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}},f={name:"arrow",enabled:!!p,options:{element:p,padding:3}},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:!s}}].concat(Q()?[f]:[],(null==i?void 0:i.modifiers)||[],[c]);F.popperInstance=t.createPopper(u,Y,Object.assign({},i,{placement:r,onFirstUpdate:C,modifiers:l}))}function wt(){F.popperInstance&&(F.popperInstance.destroy(),F.popperInstance=null)}function Tt(){return v(Y.querySelectorAll("[data-tippy-root]"))}function Et(t){F.clearDelayTimeouts(),t&&rt("onTrigger",[F,t]),ut();var e=et(!0);e?s=setTimeout((function(){F.show()}),e):F.show()}function At(t){if(F.clearDelayTimeouts(),rt("onUntrigger",[F,t]),F.state.isVisible){if(!(F.props.trigger.indexOf("mouseenter")>=0&&F.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&V)){var e=et(!1);e?c=setTimeout((function(){F.state.isVisible&&F.hide()}),e):g=requestAnimationFrame((function(){F.hide()}))}}else ct()}}function z(t,e){void 0===e&&(e={});var n=L.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",O,Object.assign({},o,{capture:!0})),window.addEventListener("blur",D);var i=Object.assign({},e,{plugins:n}),r=y(t).reduce((function(t,e){var n=e&&_(e,i);return n&&t.push(n),t}),[]);return g(t)?r[0]:r}z.defaultProps=L,z.setDefaultProps=function(t){Object.keys(t).forEach((function(e){L[e]=t[e]}))},z.currentInput=A;var q={mouseover:"mouseenter",focusin:"focus",click:"click"};var F={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(!(null==(e=t.props.render)?void 0:e.$$tippy))return{};var n=I(t.popper),i=n.box,r=n.content,o=t.props.animateFill?function(){var t=m();return t.className="tippy-backdrop",w([t],"hidden"),t}():null;return{onCreate:function(){o&&(i.insertBefore(o,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var t=i.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,w([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&w([o],"hidden")}}}};var X={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=T(t.props.triggerTarget||e),i=null;function r(){return"manual"===t.props.trigger.trim()}function o(){var e=!!r()||null!==i&&!(0===i.clientX&&0===i.clientY);return t.props.followCursor&&e}function a(e){e&&t.setProps({getReferenceClientRect:null})}function s(){o()?n.addEventListener("mousemove",u):a(t.props.followCursor)}function p(){n.removeEventListener("mousemove",u)}function u(n){i={clientX:n.clientX,clientY:n.clientY};var r=!n.target||e.contains(n.target),o=t.props.followCursor,a=n.clientX,s=n.clientY,u=e.getBoundingClientRect(),c=a-u.left,f=s-u.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=a,i=s;"initial"===o&&(n=t.left+c,i=t.top+f);var r="horizontal"===o?t.top:i,p="vertical"===o?t.right:n,u="horizontal"===o?t.bottom:i,l="vertical"===o?t.left:n;return{width:p-l,height:u-r,top:r,right:p,bottom:u,left:l}}}),(A.isTouch||"initial"===t.props.followCursor&&t.state.isVisible)&&p()}return{onAfterUpdate:function(t,e){var n=e.followCursor;void 0===n||n||a(!0)},onMount:function(){o()&&u(i)},onShow:function(){r()&&(i={clientX:0,clientY:0},s())},onTrigger:function(t,e){i||(h(e)&&(i={clientX:e.clientX,clientY:e.clientY}),s())},onUntrigger:function(){t.state.isVisible||(p(),i=null)},onHidden:function(){p(),i=null}}}},Y={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var r=i.state;t.props.inlinePositioning&&(e!==r.placement&&t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n){if(n.length<2||null===t)return e;switch(t){case"top":case"bottom":var i=n[0],r=n[n.length-1],o="top"===t,a=i.top,s=r.bottom,p=o?i.left:r.left,u=o?i.right:r.right;return{top:a,bottom:s,left:p,right:u,width:u-p,height:s-a};case"left":case"right":var c=Math.min.apply(Math,n.map((function(t){return t.left}))),f=Math.max.apply(Math,n.map((function(t){return t.right}))),l=n.filter((function(e){return"left"===t?e.left===c:e.right===f})),d=l[0].top,v=l[l.length-1].bottom;return{top:d,bottom:v,left:c,right:f,width:f-c,height:v-d};default:return e}}(d(t),n.getBoundingClientRect(),v(n.getClientRects()))}(r.placement)}}),e=r.placement)}};return{onCreate:function(){var e;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[i])})})}}}};var $={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(e){return!0===t.props.sticky||t.props.sticky===e}var r=null,o=null;function a(){var s=i("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,p=i("popper")?n.getBoundingClientRect():null;(s&&W(r,s)||p&&W(o,p))&&t.popperInstance&&t.popperInstance.update(),r=s,o=p,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function W(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}return e&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,i=document.querySelector("head>style,head>link");i?n.insertBefore(e,i):n.appendChild(e)}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'),z.setDefaultProps({plugins:[F,X,Y,$],render:B}),z.createSingleton=function(t,e){var n;void 0===e&&(e={}),t.forEach((function(t){t.disable()}));var i=t.map((function(t){return t.reference})),r={fn:function(){return{onDestroy:function(){t.forEach((function(t){t.enable()}))},onTrigger:function(r,o){var a=o.currentTarget,s=i.indexOf(a);if(a!==n){n=a;var p=(e.overrides||[]).concat("content").reduce((function(e,n){return e[n]=t[s].props[n],e}),{});r.setProps(Object.assign({},p,{getReferenceClientRect:function(){return a.getBoundingClientRect()}}))}}}}};return z(m(),Object.assign({},c(e,["overrides"]),{plugins:[r].concat(e.plugins||[]),triggerTarget:i}))},z.delegate=function(t,e){var n=[],i=[],r=e.target,o=c(e,["target"]),a=Object.assign({},o,{trigger:"manual"}),s=Object.assign({},o,{showOnCreate:!0}),p=z(t,a);function u(t){if(t.target){var n=t.target.closest(r);if(n)if(!((n.getAttribute("data-tippy-trigger")||e.trigger||L.trigger).indexOf(q[t.type])<0||n._tippy)){var o=z(n,s);o&&(i=i.concat(o))}}}function l(t,e,i,r){void 0===r&&(r=!1),t.addEventListener(e,i,r),n.push({node:t,eventType:e,handler:i,options:r})}return f(p).forEach((function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&i.forEach((function(t){t.destroy()})),i=[],n.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)})),n=[],e()},function(t){var e=t.reference;l(e,"mouseover",u),l(e,"focusin",u),l(e,"click",u)}(t)})),p},z.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,i=e.duration;U.forEach((function(t){var e=!1;if(n&&(e=b(n)?t.reference===n:t.popper===n.popper),!e){var r=t.props.duration;t.setProps({duration:i}),t.hide(),t.state.isDestroyed||t.setProps({duration:r})}}))},z.roundArrow='',z}));