shepherdjs_rails 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * /*! shepherd.js 2.0.2 * /
2
+ * /*! shepherd.js 2.1.0 * /
3
3
  *
4
4
  */
5
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Shepherd=e():t.Shepherd=e()}(this,function(){return function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=18)}([function(t,e){t.exports=function(t){return void 0===t}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var r=n(3),o=n(9),i=n(1);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==r(t)}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Evented=void 0;var i=r(n(0)),o=r(n(19));function r(t){return t&&t.__esModule?t:{default:t}}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}e.Evented=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];(0,i.default)(this.bindings)&&(this.bindings={}),(0,i.default)(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(n,r){var o=this;if((0,i.default)(this.bindings)||(0,i.default)(this.bindings[n]))return!1;(0,i.default)(r)?delete this.bindings[n]:this.bindings[n].forEach(function(t,e){t.handler===r&&o.bindings[n].splice(e,1)})}},{key:"trigger",value:function(a){var s=this;if(!(0,i.default)(this.bindings)&&this.bindings[a]){var p=(0,o.default)(arguments);this.bindings[a].forEach(function(t,e){var n=t.ctx,r=t.handler,o=t.once,i=n||s;r.apply(i,p),o&&s.bindings[a].splice(e,1)})}}}])&&a(e.prototype,n),r&&a(e,r),t}()},function(t,e,n){var r=n(3),o=n(10);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){t.exports=function(e,n){return function(t){return e(n(t))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u="http://www.w3.org/2000/svg",f={modalOverlay:"shepherdModalOverlayContainer",modalOverlayMask:"shepherdModalMask",modalOverlayMaskOpening:"shepherdModalMaskOpening"},r={isVisible:"shepherd-modal-is-visible",modalTarget:"shepherd-modal-target"};e.createModalOverlay=function(){var t,e,n,r,o,i=((t=document.createElementNS(u,"svg")).setAttributeNS(null,"id",f.modalOverlay),t),a=document.createElementNS(u,"defs"),s=((e=document.createElementNS(u,"mask")).setAttributeNS(null,"id",f.modalOverlayMask),e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","100%"),e.setAttributeNS(null,"height","100%"),e),p=((n=document.createElementNS(u,"rect")).setAttributeNS(null,"x","0"),n.setAttributeNS(null,"y","0"),n.setAttributeNS(null,"width","100%"),n.setAttributeNS(null,"height","100%"),n.setAttributeNS(null,"fill","#FFFFFF"),n),l=((r=document.createElementNS(u,"rect")).setAttributeNS(null,"id",f.modalOverlayMaskOpening),r.setAttributeNS(null,"fill","#000000"),r),c=((o=document.createElementNS(u,"rect")).setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"mask","url(#".concat(f.modalOverlayMask,")")),o);return s.appendChild(p),s.appendChild(l),a.appendChild(s),i.appendChild(a),i.appendChild(c),i},e.positionModalOpening=function(t,e){if(t.getBoundingClientRect&&e instanceof SVGElement){var n=t.getBoundingClientRect(),r=n.x,o=n.y,i=n.width,a=n.height;e.setAttributeNS(null,"x",r),e.setAttributeNS(null,"y",o),e.setAttributeNS(null,"width",i),e.setAttributeNS(null,"height",a)}},e.preventModalBodyTouch=function(t){t.preventDefault()},e.preventModalOverlayTouch=function(t){t.stopPropagation()},e.closeModalOpening=function(t){t&&t instanceof SVGElement&&(t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","0"),t.setAttributeNS(null,"height","0"))},e.getModalMaskOpening=function(t){return t.querySelector("#".concat(f.modalOverlayMaskOpening))},e.elementIds=f,e.classNames=r,e.toggleShepherdModalClass=function(t){var e=document.querySelector("".concat(r.modalTarget));e&&e.classList.remove(r.modalTarget),t.classList.add(r.modalTarget)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Step=void 0;var i=r(n(0)),a=r(n(2)),s=r(n(5)),p=r(n(11)),l=r(n(30)),c=r(n(12)),u=n(4);n(38);var f=n(13),d=n(14);function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?b(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var g,w=(g=0,function(){return++g});e.Step=function(t){function r(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(n=m(this,v(r).call(this,t,e))).tour=t,f.bindMethods.call(b(b(n)),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),n.setOptions(e),n.bindAdvance=f.bindAdvance.bind(b(b(n))),n.bindButtonEvents=f.bindButtonEvents.bind(b(b(n))),n.bindCancelLink=f.bindCancelLink.bind(b(b(n))),n.setupTooltip=d.setupTooltip.bind(b(b(n))),n.parseAttachTo=d.parseAttachTo.bind(b(b(n))),m(n,b(b(n)))}var e,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,u.Evented),e=r,(n=[{key:"_addButtons",value:function(t){var n=this;if(!(0,p.default)(this.options.buttons)){var e=document.createElement("footer"),r=(0,d.createFromHTML)('<ul class="shepherd-buttons"></ul>');e.classList.add("shepherd-footer"),this.options.buttons.map(function(t){var e=(0,d.createFromHTML)('<li><a class="shepherd-button '.concat(t.classes||"",'">').concat(t.text,"</a>"));r.appendChild(e),n.bindButtonEvents(t,e.querySelector("a"))}),e.appendChild(r),t.appendChild(e)}}},{key:"_addCancelLink",value:function(t,e){if(this.options.showCancelLink){var n=(0,d.createFromHTML)('<a href class="shepherd-cancel-link"></a>');e.appendChild(n),t.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(t){var e=(0,d.createFromHTML)('<div class="shepherd-text"></div>'),n=this.options.text;(0,s.default)(n)&&(n=n.call(this,e)),n instanceof HTMLElement?e.appendChild(n):((0,a.default)(n)&&(n=[n]),n.map(function(t){e.innerHTML+="<p>".concat(t,"</p>")})),t.appendChild(e)}},{key:"_createTooltipContent",value:function(){var t=document.createElement("div"),e=this.options.classes||"",n=(0,d.createFromHTML)('<div class="'.concat(e,'" data-shepherd-step-id="').concat(this.id,'">')),r=document.createElement("header");if(this.options.title){var o=document.createElement("h3");o.classList.add("shepherd-title"),o.innerHTML="".concat(this.options.title),r.appendChild(o),n.classList.add("shepherd-has-title")}return t.classList.add("shepherd-content"),r.classList.add("shepherd-header"),n.appendChild(t),t.appendChild(r),(0,i.default)(this.options.text)||this._addContent(t),this._addButtons(t),this._addCancelLink(n,r),n}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),(0,l.default)(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}},{key:"hide",value:function(){this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){(0,i.default)(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(){var t=this.parseAttachTo().element;(0,s.default)(this.options.scrollToHandler)?this.options.scrollToHandler(t):(0,l.default)(t)&&t.scrollIntoView()}},{key:"setOptions",value:function(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options=t;var e=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(w()),(0,c.default)(e,function(t,e){n.on(e,t,n)})}},{key:"show",value:function(){var t=this;if((0,s.default)(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!(0,i.default)(e))return e.then(function(){return t._show()})}this._show()}},{key:"_show",value:function(){var t=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){t.scrollTo()}),this.tooltip.show(),this.trigger("show")}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}])&&h(e.prototype,n),o&&h(e,o),r}()},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(22),o=n(23),i=n(24),a=n(9),s=n(25),p=n(27),l=n(28),c=n(29),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||p(t)||c(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(u.call(t,n))return!1;return!0}},function(t,e,n){var r=n(33),o=n(37);t.exports=function(t,e){return t&&r(t,o(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(0)),a=r(n(2)),s=r(n(12));e.bindAdvance=function(){var t=(0,p.parseShorthand)(this.options.advanceOn,["selector","event"]),e=t.event,n=t.selector,r=function(r){var o=this;return function(t){if(o.isOpen()){var e=o.el&&t.target===o.el,n=!(0,i.default)(r)&&t.target.matches(r);(n||e)&&o.tour.next()}}}.call(this,n),o=document.querySelector(n);!(0,i.default)(n)&&o?o.addEventListener(e,r):document.body.addEventListener(e,r,!0);this.on("destroy",function(){return document.body.removeEventListener(e,r,!0)})},e.bindButtonEvents=function(t,r){var o=this;t.events=t.events||{},(0,i.default)(t.action)||(t.events.click=t.action);(0,s.default)(t.events,function(t,e){if((0,a.default)(t)){var n=t;t=function(){return o.tour.show(n)}}r.dataset.buttonEvent=!0,r.addEventListener(e,t),o.on("destroy",function(){r.removeAttribute("data-button-event"),r.removeEventListener(e,t)})})},e.bindCancelLink=function(t){var e=this;t.addEventListener("click",function(t){t.preventDefault(),e.cancel()})},e.bindMethods=function(t){var e=this;t.map(function(t){e[t]=e[t].bind(e)})};var p=n(14);function r(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(39)),o=l(n(0)),i=l(n(1)),a=l(n(2));e.createFromHTML=function(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]},e._parseAttachToOpts=h,e.parseShorthand=function(t,e){{if(null===t||(0,o.default)(t))return t;if((0,i.default)(t))return t}var n=t.split(" ");return(0,r.default)(e,n)},e.setupTooltip=function(){if((0,o.default)(s.default))throw new Error(p.missingTippy);this.tooltip&&this.tooltip.destroy();var t=this.parseAttachTo();this.tooltip=function(t){if(!t.element)return function(){var t=c({content:this.el,placement:"top"},this.options.tippyOptions);t.arrow=!1,t.popperOptions=t.popperOptions||{};var e=Object.assign({},d,t.popperOptions,{modifiers:Object.assign(f,t.popperOptions.modifiers)});return t.popperOptions=e,s.default.one(document.body,t)}.call(this);var e=function(t){var e=c({content:this.el,placement:t.on||"right"},this.options.tippyOptions);this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&Object.assign(d,this.options.tippyOptions.popperOptions);return e.popperOptions=d,e}.call(this,t);return s.default.one(t.element,e)}.call(this,t),this.target=t.element||document.body,this.el.classList.add("shepherd-element")},e.parseAttachTo=function(){var t=h(this.options.attachTo)||{},e=Object.assign({},t);if((0,a.default)(t.element)){try{e.element=document.querySelector(t.element)}catch(t){}e.element||console.error("The element for this Shepherd step was not found ".concat(t.element))}return e};var s=l(n(15)),p=n(46);function l(t){return t&&t.__esModule?t:{default:t}}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){u(e,t,n[t])})}return e}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f={computeStyle:{enabled:!0,fn:function(t){return t.styles=Object.assign({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}}},d={positionFixed:!0};function h(t){if((0,i.default)(t))return t.hasOwnProperty("element")&&t.hasOwnProperty("on")?t:null;var e=/^(.+) ((auto|top|left|right|bottom)(-start|-end)?)$/.exec(t);return e?{element:e[1],on:e[2]}:null}},function(t,e,n){(function(ie){t.exports=function(){"use strict";function a(t){return t&&"[object Function]"==={}.toString.call(t)}function w(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=w(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:h(d(t))}function m(t){return 11===t?et:10===t?nt:et||nt}function j(t){if(!t)return document.documentElement;for(var e=m(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===w(n,"position")?j(n):n:t?t.ownerDocument.documentElement:document.documentElement}function c(t){return null===t.parentNode?t:c(t.parentNode)}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,p=i.commonAncestorContainer;if(t!==p&&e!==p||r.contains(o))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&j(a.firstElementChild)!==a?j(p):p;var l=c(t);return l.host?v(l.host,e):v(t,c(e).host)}function y(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"!==r&&"HTML"!==r)return t[n];var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}function u(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function o(t,e,n,r){return z(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],m(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,n=t.documentElement,r=m(10)&&getComputedStyle(n);return{height:o("Height",e,n,r),width:o("Width",e,n,r)}}function x(t){return it({},t,{right:t.left+t.width,bottom:t.top+t.height})}function P(t){var e={};try{if(m(10)){e=t.getBoundingClientRect();var n=y(t,"top"),r=y(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?b(t.ownerDocument):{},a=i.width||t.clientWidth||o.right-o.left,s=i.height||t.clientHeight||o.bottom-o.top,p=t.offsetWidth-a,l=t.offsetHeight-s;if(p||l){var c=w(t);p-=u(c,"x"),l-=u(c,"y"),o.width-=p,o.height-=l}return x(o)}function g(t,e){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=m(10),o="HTML"===e.nodeName,i=P(t),a=P(e),s=h(t),p=w(e),l=parseFloat(p.borderTopWidth,10),c=parseFloat(p.borderLeftWidth,10);n&&o&&(a.top=z(a.top,0),a.left=z(a.left,0));var u=x({top:i.top-a.top-l,left:i.left-a.left-c,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var f=parseFloat(p.marginTop,10),d=parseFloat(p.marginLeft,10);u.top-=l-f,u.bottom-=l-f,u.left-=c-d,u.right-=c-d,u.marginTop=f,u.marginLeft=d}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(u=function(t,e){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=y(e,"top"),o=y(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}(u,e)),u}function O(t){if(!t||!t.parentElement||m())return document.documentElement;for(var e=t.parentElement;e&&"none"===w(e,"transform");)e=e.parentElement;return e||document.documentElement}function f(t,e,n,r){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],i={top:0,left:0},a=o?O(t):v(t,e);if("viewport"===r)i=function(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],n=t.ownerDocument.documentElement,r=g(t,n),o=z(n.clientWidth,window.innerWidth||0),i=z(n.clientHeight,window.innerHeight||0),a=e?0:y(n),s=e?0:y(n,"left");return x({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s;"scrollParent"===r?"BODY"===(s=h(d(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var p=g(s,a,o);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===w(e,"position")||t(d(e)))}(a))i=p;else{var l=b(t.ownerDocument),c=l.height,u=l.width;i.top+=p.top-p.marginTop,i.bottom=c+p.top,i.left+=p.left-p.marginLeft,i.right=u+p.left}}var f="number"==typeof(n=n||0);return i.left+=f?n:n.left||0,i.top+=f?n:n.top||0,i.right-=f?n:n.right||0,i.bottom-=f?n:n.bottom||0,i}function s(t,e,r,n,o){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=f(r,n,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},p=Object.keys(s).map(function(t){return it({key:t},s[t],{area:(e=s[t],n=e.width,r=e.height,n*r)});var e,n,r}).sort(function(t,e){return e.area-t.area}),l=p.filter(function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight}),c=0<l.length?l[0].key:p[0].key,u=t.split("-")[1];return c+(u?"-"+u:"")}function p(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=r?O(e):v(e,n);return g(n,o,r)}function k(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:t.offsetWidth+o,height:t.offsetHeight+r};return i}function E(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function S(t,e,n){n=n.split("-")[0];var r=k(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",l=i?"width":"height";return o[a]=e[a]+e[p]/2-r[p]/2,o[s]=n===s?e[s]-r[l]:e[E(s)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function T(t,n,e){var r=void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=N(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",e));return r.forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&a(e)&&(n.offsets.popper=x(n.offsets.popper),n.offsets.reference=x(n.offsets.reference),n=e(n,t))}),n}function t(t,r){return t.some(function(t){var e=t.name,n=t.enabled;return n&&e===r})}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function i(t){var e=t.ownerDocument;return e?e.defaultView:window}function e(t,e,n,r){n.updateBound=r,i(t).addEventListener("resize",n.updateBound,{passive:!0});var o=h(t);return function t(e,n,r,o){var i="BODY"===e.nodeName,a=i?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),i||t(h(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function n(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,i(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function _(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function l(n,r){Object.keys(r).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&_(r[t])&&(e="px"),n.style[t]=r[t]+e})}function C(t,n,e){var r=N(t,function(t){var e=t.name;return e===n}),o=!!r&&t.some(function(t){return t.name===e&&t.enabled&&t.order<r.order});if(!o){var i="`"+n+"`";console.warn("`"+e+"` modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function r(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],n=pt.indexOf(t),r=pt.slice(n+1).concat(pt.slice(0,n));return e?r.reverse():r}function L(t,o,i,e){var a=[0,0],s=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),r=n.indexOf(N(n,function(t){return-1!==t.search(/,|\s/)}));n[r]&&-1===n[r].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,l=-1===r?[n]:[n.slice(0,r).concat([n[r].split(p)[0]]),[n[r].split(p)[1]].concat(n.slice(r+1))];return(l=l.map(function(t,e){var n=(1===e?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var o,i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],s=i[2];if(!a)return t;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?a:("vh"===s?z(document.documentElement.clientHeight,window.innerHeight||0):z(document.documentElement.clientWidth,window.innerWidth||0))/100*a;switch(s){case"%p":o=n;break;case"%":case"%r":default:o=r}return x(o)[e]/100*a}(t,n,o,i)})})).forEach(function(n,r){n.forEach(function(t,e){_(t)&&(a[r]+=t*("-"===n[e-1]?-1:1))})}),a}function B(t,e){function n(){Bt(function(){F=!1})}function o(t){var e=L=t,n=e.clientX,r=e.clientY;if(X.popperInstance){var o=zt(X.popper),i=X.popperChildren.arrow?20:5,a="top"===o||"bottom"===o,s="left"===o||"right"===o,p=a?z(i,n):n,l=s?z(i,r):r;a&&i<p&&(p=R(n,window.innerWidth-i)),s&&i<l&&(l=R(r,window.innerHeight-i));var c=X.reference.getBoundingClientRect(),u=X.props.followCursor,f="horizontal"===u,d="vertical"===u;X.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:f?c.top:l,bottom:f?c.bottom:l,left:d?c.left:p,right:d?c.right:p}},clientWidth:0,clientHeight:0},X.popperInstance.scheduleUpdate()}}function i(t){if(x(),!X.state.isVisible){if(X.props.target)return void((r=At((n=t).target,X.props.target))&&!r._tippy&&(B(r,V({},X.props,{target:"",showOnInit:!0})),i(n)));if(j=!0,X.props.wait)return X.props.wait(X,t);v()&&document.addEventListener("mousemove",o);var e=xt(X.props.delay,0,U.delay);e?A=setTimeout(function(){k()},e):k()}var n,r}function a(){if(x(),!X.state.isVisible)return r();j=!1;var t=xt(X.props.delay,1,U.delay);t?M=setTimeout(function(){X.state.isVisible&&E()},t):E()}function r(){document.removeEventListener("mousemove",o),L=null}function s(){document.body.removeEventListener("mouseleave",a),document.removeEventListener("mousemove",D)}function p(t){!X.state.isEnabled||h(t)||(!X.state.isVisible&&(C=t),"click"===t.type&&!1!==X.props.hideOnClick&&X.state.isVisible?a():i(t))}function l(t){var e=Mt(t.target,function(t){return t._tippy}),n=At(t.target,ut.POPPER)===X.popper,r=e===X.reference;n||r||Rt(zt(X.popper),X.popper.getBoundingClientRect(),t,X.props)&&(s(),a())}function c(t){return h(t)?void 0:X.props.interactive?(document.body.addEventListener("mouseleave",a),void document.addEventListener("mousemove",D)):void a()}function u(t){if(t.target===X.reference){if(X.props.interactive){if(!t.relatedTarget)return;if(At(t.relatedTarget,ut.POPPER))return}a()}}function f(t){At(t.target,X.props.target)&&i(t)}function d(t){At(t.target,X.props.target)&&a()}function h(t){var e=-1<t.type.indexOf("touch"),n=K&&Jt&&X.props.touchHold&&!e,r=Jt&&!X.props.touchHold&&e;return n||r}function m(){var e=X.popperChildren.tooltip,t=X.props.popperOptions,n=ut["round"===X.props.arrowType?"ROUND_ARROW":"ARROW"],r=e.querySelector(n),o=V({placement:X.props.placement},t||{},{modifiers:V({},t?t.modifiers:{},{arrow:V({element:n},t&&t.modifiers?t.modifiers.arrow:{}),flip:V({enabled:X.props.flip,padding:X.props.distance+5,behavior:X.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:V({offset:X.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[zt(X.popper)]=Wt(X.props.distance,U.distance),r&&X.props.arrowTransform&&Ht(r,X.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top="",t.bottom="",t.left="",t.right="",t[zt(X.popper)]=Wt(X.props.distance,U.distance),r&&X.props.arrowTransform&&Ht(r,X.props.arrowTransform)}});return _||(_=new MutationObserver(function(){X.popperInstance.update()})).observe(H,{childList:!0,subtree:!0,characterData:!0}),new ct(X.reference,X.popper,o)}function v(){return X.props.followCursor&&!Jt&&"focus"!==C.type}function y(t,n){if(0===t)return n();var r=X.popperChildren.tooltip,e=function t(e){e.target===r&&(Ut(r,"remove",t),n())};Ut(r,"remove",P),Ut(r,"add",e),P=e}function b(t,e,n){X.reference.addEventListener(t,e),n.push({eventType:t,handler:e})}function g(){N=X.props.trigger.trim().split(" ").reduce(function(t,e){return"manual"===e||(X.props.target?"mouseenter"===e?(b("mouseover",f,t),b("mouseout",d,t)):"focus"===e?(b("focusin",f,t),b("focusout",d,t)):"click"===e&&b(e,f,t):(b(e,p,t),X.props.touchHold&&(b("touchstart",p,t),b("touchend",c,t)),"mouseenter"===e?b("mouseleave",c,t):"focus"===e&&b(G?"focusout":"blur",u,t))),t},[])}function w(){N.forEach(function(t){var e=t.eventType,n=t.handler;X.reference.removeEventListener(e,n)})}function x(){clearTimeout(A),clearTimeout(M)}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Gt(e,U);var t=X.props,n=Vt(X.reference,V({},X.props,e,{performance:!0}));n.performance=Kt(e,"performance")?e.performance:t.performance,X.props=n,(Kt(e,"trigger")||Kt(e,"touchHold"))&&(w(),g()),Kt(e,"interactiveDebounce")&&(s(),D=qt(l,e.interactiveDebounce)),Tt(X.popper,t,n),X.popperChildren=yt(X.popper),X.popperInstance&&q.some(function(t){return Kt(e,t)})&&(X.popperInstance.destroy(),X.popperInstance=m(),!X.state.isVisible&&X.popperInstance.disableEventListeners(),X.props.followCursor&&L&&o(L))}function k(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:xt(X.props.duration,0,U.duration[0]);return X.state.isDestroyed||!X.state.isEnabled||Jt&&!X.props.touch?void 0:X.reference.isVirtual||document.documentElement.contains(X.reference)?X.reference.hasAttribute("disabled")?void 0:F?void(F=!1):void(!1===X.props.onShow(X)||(X.popper.style.visibility="visible",X.state.isVisible=!0,vt([X.popper,X.popperChildren.tooltip,X.popperChildren.backdrop],0),function(t){X.popperInstance?!v()&&(X.popperInstance.scheduleUpdate(),X.props.livePlacement&&X.popperInstance.enableEventListeners()):(X.popperInstance=m(),(!X.props.livePlacement||v())&&X.popperInstance.disableEventListeners()),X.popperInstance.reference=X.reference;var e=X.popperChildren.arrow;if(v()){e&&(e.style.margin="0");var n=xt(X.props.delay,0,U.delay);C.type&&o(n&&L?L:C)}else e&&(e.style.margin="");Xt(X.popperInstance,t),X.props.appendTo.contains(X.popper)||(X.props.appendTo.appendChild(X.popper),X.props.onMount(X),X.state.isMounted=!0)}(function(){X.state.isVisible&&(!v()&&X.popperInstance.update(),vt([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],t),X.popperChildren.backdrop&&(X.popperChildren.content.style.transitionDelay=W(t/6)+"ms"),X.props.interactive&&X.reference.classList.add("tippy-active"),X.props.sticky&&(vt([X.popper],G?0:X.props.updateDuration),function t(){X.popperInstance&&X.popperInstance.scheduleUpdate(),X.state.isMounted?requestAnimationFrame(t):vt([X.popper],0)}()),It([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],"visible"),y(t,function(){0===X.props.updateDuration&&X.popperChildren.tooltip.classList.add("tippy-notransition"),X.props.interactive&&-1<["focus","click"].indexOf(C.type)&&jt(X.popper),X.reference.setAttribute("aria-describedby",X.popper.id),X.props.onShown(X),X.state.isShown=!0}))}))):S()}function E(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:xt(X.props.duration,1,U.duration[1]);X.state.isDestroyed||!X.state.isEnabled||!1===X.props.onHide(X)||(0===X.props.updateDuration&&X.popperChildren.tooltip.classList.remove("tippy-notransition"),X.props.interactive&&X.reference.classList.remove("tippy-active"),X.popper.style.visibility="hidden",X.state.isVisible=!1,X.state.isShown=!1,vt([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),It([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],"hidden"),X.props.interactive&&!F&&-1<["focus","click"].indexOf(C.type)&&("focus"===C.type&&(F=!0),jt(X.reference)),t=function(){j||r(),X.reference.removeAttribute("aria-describedby"),X.popperInstance.disableEventListeners(),X.props.appendTo.removeChild(X.popper),X.state.isMounted=!1,X.props.onHidden(X)},y(e,function(){!X.state.isVisible&&X.props.appendTo.contains(X.popper)&&t()}))}function S(t){X.state.isDestroyed||(X.state.isMounted&&E(0),w(),X.reference.removeEventListener("click",n),delete X.reference._tippy,X.props.target&&t&&dt(X.reference.querySelectorAll(X.props.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),X.popperInstance&&X.popperInstance.destroy(),_&&_.disconnect(),X.state.isDestroyed=!0)}var T=Vt(t,e);if(!T.multiple&&t._tippy)return null;var _=null,C={},L=null,A=0,M=0,j=!1,P=function(){},N=[],F=!1,D=0<T.interactiveDebounce?qt(l,T.interactiveDebounce):l,Y=re++,H=St(Y,T);H.addEventListener("mouseenter",function(t){X.props.interactive&&X.state.isVisible&&"mouseenter"===C.type&&i(t)}),H.addEventListener("mouseleave",function(t){X.props.interactive&&"mouseenter"===C.type&&0===X.props.interactiveDebounce&&Rt(zt(H),H.getBoundingClientRect(),t,X.props)&&a()});var I=yt(H),X={id:Y,reference:t,popper:H,popperChildren:I,popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:x,set:O,setContent:function(t){O({content:t})},show:k,hide:E,enable:function(){X.state.isEnabled=!0},disable:function(){X.state.isEnabled=!1},destroy:S};return g(),t.addEventListener("click",n),T.lazy||(X.popperInstance=m(),X.popperInstance.disableEventListeners()),T.showOnInit&&i(),!T.a11y||T.target||mt(t)||t.setAttribute("tabindex","0"),t._tippy=X,H._tippy=X}function A(t,e,n){Gt(e,U),oe||(document.addEventListener("click",te,!0),document.addEventListener("touchstart",$t,{passive:!0}),window.addEventListener("blur",ee),window.addEventListener("resize",ne),!K&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener("pointerdown",$t),oe=!0);var r=V({},U,e);bt(t)&&function(n){var t={isVirtual:!0,attributes:n.attributes||{},setAttribute:function(t,e){n.attributes[t]=e},getAttribute:function(t){return n.attributes[t]},removeAttribute:function(t){delete n.attributes[t]},hasAttribute:function(t){return t in n.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){n.classList.classNames[t]=!0},remove:function(t){delete n.classList.classNames[t]},contains:function(t){return t in n.classList.classNames}}};for(var e in t)n[e]=t[e]}(t);var o=function(t){if(t instanceof Element||bt(t))return[t];if(t instanceof NodeList)return dt(t);if(Array.isArray(t))return t;try{return dt(document.querySelectorAll(t))}catch(t){return[]}}(t),i=o[0],a=(n&&i?[i]:o).reduce(function(t,e){var n=e&&B(e,r);return n&&t.push(n),t},[]);return{targets:t,props:r,instances:a,destroyAll:function(){this.instances.forEach(function(t){t.destroy()}),this.instances=[]}}}for(var R=Math.min,D=Math.floor,W=Math.round,z=Math.max,V=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},U={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},arrow:!1,arrowTransform:"",arrowType:"sharp",content:"",delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:"",multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:"top",popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:200,wait:null,zIndex:9999},q=["arrowType","distance","flip","flipBehavior","offset","placement","popperOptions"],M="undefined"!=typeof window,Y=M?navigator:{},H=M?window:{},I=("MutationObserver"in H),G=/MSIE |Trident\//.test(Y.userAgent),X=/iPhone|iPad|iPod/.test(Y.platform)&&!H.MSStream,K=("ontouchstart"in H),J="undefined"!=typeof window&&"undefined"!=typeof document,$=["Edge","Trident","Firefox"],Q=0,Z=0;Z<$.length;Z+=1)if(J&&0<=navigator.userAgent.indexOf($[Z])){Q=1;break}var tt=J&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Q))}},et=J&&!(!window.MSInputMethodContext||!document.documentMode),nt=J&&/MSIE 10/.test(navigator.userAgent),rt=function(){function r(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}return function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}}(),ot=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},it=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},at=J&&/Firefox/i.test(navigator.userAgent),st=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pt=st.slice(3),lt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ct=function(){function i(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,i),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=tt(this.update.bind(this)),this.options=it({},i.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(it({},i.Defaults.modifiers,r.modifiers)).forEach(function(t){n.options.modifiers[t]=it({},i.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return it({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return rt(i,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=p(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=s(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=S(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=T(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,t(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=e(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return n.call(this)}}]),i}();ct.Utils=("undefined"==typeof window?ie:window).PopperUtils,ct.placements=st,ct.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),p=s?"left":"top",l=s?"width":"height",c={start:ot({},p,i[p]),end:ot({},p,i[p]+i[l]-a[l])};t.offsets.popper=it({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],p=void 0;return p=_(+n)?[+n,0]:L(n,i,a,s),"left"===s?(i.top+=p[0],i.left-=p[1]):"right"===s?(i.top+=p[0],i.left+=p[1]):"top"===s?(i.left+=p[0],i.top-=p[1]):"bottom"===s&&(i.left+=p[0],i.top+=p[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,r){var e=r.boundariesElement||j(t.instance.popper);t.instance.reference===e&&(e=j(e));var n=F("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var p=f(t.instance.popper,t.instance.reference,r.padding,e,t.positionFixed);o.top=i,o.left=a,o[n]=s,r.boundaries=p;var l=r.priority,c=t.offsets.popper,u={primary:function(t){var e=c[t];return c[t]<p[t]&&!r.escapeWithReference&&(e=z(c[t],p[t])),ot({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=c[e];return c[t]>p[t]&&!r.escapeWithReference&&(n=R(c[e],p[t]-("right"===t?c.width:c.height))),ot({},e,n)}};return l.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";c=it({},c,u[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=D,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",p=a?"left":"top",l=a?"width":"height";return n[s]<i(r[p])&&(t.offsets.popper[p]=i(r[p])-n[l]),n[p]>i(r[s])&&(t.offsets.popper[p]=i(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!C(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(o),l=p?"height":"width",c=p?"Top":"Left",u=c.toLowerCase(),f=p?"left":"top",d=p?"bottom":"right",h=k(r)[l];s[d]-h<a[u]&&(t.offsets.popper[u]-=a[u]-(s[d]-h)),s[u]+h>a[d]&&(t.offsets.popper[u]+=s[u]+h-a[d]),t.offsets.popper=x(t.offsets.popper);var m=s[u]+s[l]/2-h/2,v=w(t.instance.popper),y=parseFloat(v["margin"+c],10),b=parseFloat(v["border"+c+"Width"],10),g=m-t.offsets.popper[u]-y-b;return g=z(R(a[l]-h,g),0),t.arrowElement=r,t.offsets.arrow=(ot(n={},u,W(g)),ot(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(h,m){if(t(h.instance.modifiers,"inner"))return h;if(h.flipped&&h.placement===h.originalPlacement)return h;var v=f(h.instance.popper,h.instance.reference,m.padding,m.boundariesElement,h.positionFixed),y=h.placement.split("-")[0],b=E(y),g=h.placement.split("-")[1]||"",w=[];switch(m.behavior){case lt.FLIP:w=[y,b];break;case lt.CLOCKWISE:w=r(y);break;case lt.COUNTERCLOCKWISE:w=r(y,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(y!==t||w.length===e+1)return h;y=h.placement.split("-")[0],b=E(y);var n,r=h.offsets.popper,o=h.offsets.reference,i=D,a="left"===y&&i(r.right)>i(o.left)||"right"===y&&i(r.left)<i(o.right)||"top"===y&&i(r.bottom)>i(o.top)||"bottom"===y&&i(r.top)<i(o.bottom),s=i(r.left)<i(v.left),p=i(r.right)>i(v.right),l=i(r.top)<i(v.top),c=i(r.bottom)>i(v.bottom),u="left"===y&&s||"right"===y&&p||"top"===y&&l||"bottom"===y&&c,f=-1!==["top","bottom"].indexOf(y),d=!!m.flipVariations&&(f&&"start"===g&&s||f&&"end"===g&&p||!f&&"start"===g&&l||!f&&"end"===g&&c);(a||u||d)&&(h.flipped=!0,(a||u)&&(y=w[e+1]),d&&(g="end"===(n=g)?"start":"start"===n?"end":n),h.placement=y+(g?"-"+g:""),h.offsets.popper=it({},h.offsets.popper,S(h.instance.popper,h.offsets.reference,h.placement)),h=T(h.instance.modifiers,h,"flip"))}),h},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),t.placement=E(e),t.offsets.popper=x(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!C(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=N(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,p,l,c,u,f,d,h,m,v,y,b,g=void 0===i?e.gpuAcceleration:i,w=j(t.instance.popper),x=P(w),O={position:o.position},k=(a=t,s=window.devicePixelRatio<2||!at,p=a.offsets,l=p.popper,c=p.reference,f=function(t){return t},d=(u=W)(l.width),h=u(c.width),m=-1!==["left","right"].indexOf(a.placement),v=-1!==a.placement.indexOf("-"),b=s?u:f,{left:(y=s?m||v||h%2==d%2?u:D:f)(1==h%2&&1==d%2&&!v&&s?l.left-1:l.left),top:b(l.top),bottom:b(l.bottom),right:y(l.right)}),E="bottom"===n?"top":"bottom",S="right"===r?"left":"right",T=F("transform"),_=void 0,C=void 0;if(C="bottom"==E?"HTML"===w.nodeName?-w.clientHeight+k.bottom:-x.height+k.bottom:k.top,_="right"==S?"HTML"===w.nodeName?-w.clientWidth+k.right:-x.width+k.right:k.left,g&&T)O[T]="translate3d("+_+"px, "+C+"px, 0)",O[E]=0,O[S]=0,O.willChange="transform";else{var L="bottom"==E?-1:1,A="right"==S?-1:1;O[E]=C*L,O[S]=_*A,O.willChange=E+", "+S}var M={"x-placement":t.placement};return t.attributes=it({},M,t.attributes),t.styles=it({},O,t.styles),t.arrowStyles=it({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return l(t.instance.popper,t.styles),n=t.instance.popper,r=t.attributes,Object.keys(r).forEach(function(t){var e=r[t];!1===e?n.removeAttribute(t):n.setAttribute(t,r[t])}),t.arrowElement&&Object.keys(t.arrowStyles).length&&l(t.arrowElement,t.arrowStyles),t;var n,r},onLoad:function(t,e,n,r,o){var i=p(o,e,t,n.positionFixed),a=s(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),l(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}};var ut={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},ft={x:!0},dt=function(t){return[].slice.call(t)},ht=function(t,e){e.content instanceof Element?(wt(t,""),t.appendChild(e.content)):t[e.allowHTML?"innerHTML":"textContent"]=e.content},mt=function(t){return!(t instanceof Element)||Lt.call(t,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!t.hasAttribute("disabled")},vt=function(t,e){t.filter(Boolean).forEach(function(t){t.style.transitionDuration=e+"ms"})},yt=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(ut.TOOLTIP),backdrop:t(ut.BACKDROP),content:t(ut.CONTENT),arrow:t(ut.ARROW)||t(ut.ROUND_ARROW)}},bt=function(t){return"[object Object]"==={}.toString.call(t)},gt=function(){return document.createElement("div")},wt=function(t,e){t[ft.x&&"innerHTML"]=e instanceof Element?e[ft.x&&"innerHTML"]:e},xt=function(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?n:r}return t},Ot=function(t){var e=gt();return"round"===t?(e.className="tippy-roundarrow",wt(e,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):e.className="tippy-arrow",e},kt=function(){var t=gt();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t},Et=function(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")},St=function(t,e){var n=gt();n.className="tippy-popper",n.setAttribute("role","tooltip"),n.id="tippy-"+t,n.style.zIndex=e.zIndex;var r=gt();r.className="tippy-tooltip",r.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),r.setAttribute("data-size",e.size),r.setAttribute("data-animation",e.animation),r.setAttribute("data-state","hidden"),e.theme.split(" ").forEach(function(t){r.classList.add(t+"-theme")});var o=gt();return o.className="tippy-content",o.setAttribute("data-state","hidden"),e.interactive&&Et(n,r),e.arrow&&r.appendChild(Ot(e.arrowType)),e.animateFill&&(r.appendChild(kt()),r.setAttribute("data-animatefill","")),e.inertia&&r.setAttribute("data-inertia",""),ht(o,e),r.appendChild(o),n.appendChild(r),n.addEventListener("focusout",function(t){t.relatedTarget&&n._tippy&&!Mt(t.relatedTarget,function(t){return t===n})&&t.relatedTarget!==n._tippy.reference&&n._tippy.props.shouldPopperHideOnBlur(t)&&n._tippy.hide()}),n},Tt=function(t,e,n){var r,o=yt(t),i=o.tooltip,a=o.content,s=o.backdrop,p=o.arrow;t.style.zIndex=n.zIndex,i.setAttribute("data-size",n.size),i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),e.content!==n.content&&ht(a,n),!e.animateFill&&n.animateFill?(i.appendChild(kt()),i.setAttribute("data-animatefill","")):e.animateFill&&!n.animateFill&&(i.removeChild(s),i.removeAttribute("data-animatefill")),!e.arrow&&n.arrow?i.appendChild(Ot(n.arrowType)):e.arrow&&!n.arrow&&i.removeChild(p),e.arrow&&n.arrow&&e.arrowType!==n.arrowType&&i.replaceChild(Ot(n.arrowType),p),!e.interactive&&n.interactive?Et(t,i):e.interactive&&!n.interactive&&(r=i,t.removeAttribute("tabindex"),r.removeAttribute("data-interactive")),!e.inertia&&n.inertia?i.setAttribute("data-inertia",""):e.inertia&&!n.inertia&&i.removeAttribute("data-inertia"),e.theme!==n.theme&&(e.theme.split(" ").forEach(function(t){i.classList.remove(t+"-theme")}),n.theme.split(" ").forEach(function(t){i.classList.add(t+"-theme")}))},_t=function(n){dt(document.querySelectorAll(ut.POPPER)).forEach(function(t){var e=t._tippy;e&&!0===e.props.hideOnClick&&(!n||t!==n.popper)&&e.hide()})},Ct=function(o){return Object.keys(U).reduce(function(t,e){var n,r=(o.getAttribute("data-tippy-"+e)||"").trim();return r&&(t[e]="content"===e?r:"true"===r||"false"!==r&&(n=r,isNaN(n)||isNaN(parseFloat(n))?"["===r[0]||"{"===r[0]?JSON.parse(r):r:+r)),t},{})},Lt=function(){if(M){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),At=function(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(Lt.call(e,t))return e;e=e.parentElement}}).call(t,e)},Mt=function(t,e){for(;t;){if(e(t))return t;t=t.parentElement}},jt=function(t){var e=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;t.focus(),scroll(e,n)},Pt=function(t,e){return(e?t:{X:"Y",Y:"X"}[t])||""},Nt=function(t,e,n,r){var o=e[0],i=e[1];if(!o&&!i)return"";var a={scale:i?n?o+", "+i:i+", "+o:""+o,translate:i?n?r?o+"px, "+-i+"px":o+"px, "+i+"px":r?-i+"px, "+o+"px":i+"px, "+o+"px":r?-o+"px":o+"px"};return a[t]},Ft=function(t,e){var n=t.match(new RegExp(e+"([XY])"));return n?n[1]:""},Dt=function(t,e){var n=t.match(e);return n?n[1].split(",").map(parseFloat):[]},Yt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},Ht=function(t,e){var n=zt(At(t,ut.POPPER)),r="top"===n||"bottom"===n,o="right"===n||"bottom"===n,i={translate:{axis:Ft(e,"translate"),numbers:Dt(e,Yt.translate)},scale:{axis:Ft(e,"scale"),numbers:Dt(e,Yt.scale)}},a=e.replace(Yt.translate,"translate"+Pt(i.translate.axis,r)+"("+Nt("translate",i.translate.numbers,r,o)+")").replace(Yt.scale,"scale"+Pt(i.scale.axis,r)+"("+Nt("scale",i.scale.numbers,r,o)+")");t.style[void 0===document.body.style.transform?"webkitTransform":"transform"]=a},It=function(t,e){t.filter(Boolean).forEach(function(t){t.setAttribute("data-state",e)})},Xt=function(t,e){var n=t.popper,r=t.options,o=r.onCreate,i=r.onUpdate;r.onCreate=r.onUpdate=function(){n.offsetHeight,e(),i(),r.onCreate=o,r.onUpdate=i}},Bt=function(t){setTimeout(t,1)},Rt=function(t,e,n,r){if(!t)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,s=r.distance,p=e.top-i>("top"===t?a+s:a),l=i-e.bottom>("bottom"===t?a+s:a),c=e.left-o>("left"===t?a+s:a),u=o-e.right>("right"===t?a+s:a);return p||l||c||u},Wt=function(t,e){return-(t-e)+"px"},zt=function(t){var e=t.getAttribute("x-placement");return e?e.split("-")[0]:""},Vt=function(t,e){var n=V({},e,e.performance?{}:Ct(t));return n.arrow&&(n.animateFill=!1),"function"==typeof n.appendTo&&(n.appendTo=e.appendTo(t)),"function"==typeof n.content&&(n.content=e.content(t)),n},Ut=function(t,e,n){t[e+"EventListener"]("transitionend",n)},qt=function(n,r){var o;return function(){var t=this,e=arguments;clearTimeout(o),o=setTimeout(function(){return n.apply(t,e)},r)}},Gt=function(t,e){for(var n in t||{})if(!(n in e))throw Error("[tippy]: `"+n+"` is not a valid option")},Kt=function(t,e){return{}.hasOwnProperty.call(t,e)},Jt=!1,$t=function(){Jt||(Jt=!0,X&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",Zt))},Qt=0,Zt=function t(){var e=performance.now();e-Qt<20&&(Jt=!1,document.removeEventListener("mousemove",t),!X&&document.body.classList.remove("tippy-iOS")),Qt=e},te=function(t){var e=t.target;if(!(e instanceof Element))return _t();var n=At(e,ut.POPPER);if(!(n&&n._tippy&&n._tippy.props.interactive)){var r=Mt(e,function(t){return t._tippy&&t._tippy.reference===t});if(r){var o=r._tippy,i=-1<o.props.trigger.indexOf("click");if(Jt||i)return _t(o);if(!0!==o.props.hideOnClick||i)return;o.clearDelayTimeouts()}_t()}},ee=function(){var t=document,e=t.activeElement;e&&e.blur&&e._tippy&&e.blur()},ne=function(){dt(document.querySelectorAll(ut.POPPER)).forEach(function(t){var e=t._tippy;e.props.livePlacement||e.popperInstance.scheduleUpdate()})},re=1,oe=!1;return A.version="3.3.0",A.defaults=U,A.one=function(t,e){return A(t,e,!0).instances[0]},A.setDefaults=function(t){U=V({},U,t),A.defaults=U},A.disableAnimations=function(){A.setDefaults({duration:0,updateDuration:0,animateFill:!1})},A.hideAllPoppers=_t,A.useCapture=function(){},M&&setTimeout(function(){dt(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&A(t,{content:e})})}),function(t){if(I){var e=document.createElement("style");e.type="text/css",e.textContent='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}',document.head.insertBefore(e,document.head.firstChild)}}(),A}()}).call(this,n(16))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getElementForStep=e.elementIsHidden=e.cleanupStepEventListeners=e.addStepEventListeners=void 0;var r=n(7);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.addStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!1);var t=document.querySelector("#".concat(r.elementIds.modalOverlay));window.addEventListener("touchmove",r.preventModalBodyTouch,!1),t&&t.addEventListener("touchmove",r.preventModalOverlayTouch,!1)},e.cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null)},e.elementIsHidden=function(t){return 0===t.offsetWidth&&0===t.offsetHeight},e.getElementForStep=function(t){var e=t.options.attachTo;if(!e)return null;var n,r,o=a(e);return"string"===o?(r=i(e.split(" "),1)[0],document.querySelector(r)):"object"===o?(n=e.element)instanceof HTMLElement?n:document.querySelector(n):null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),o=n(8),i=n(47);Object.assign(i.Shepherd,{Tour:i.Tour,Step:o.Step,Evented:r.Evented}),e.default=i.Shepherd,t.exports=e.default},function(t,e,n){var o=n(20),i=n(21);t.exports=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||void 0===e?1:i(e),o(t,e<0?0:e,r)):[]}},function(t,e){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(n=o<n?o:n)<0&&(n+=o),o=n<e?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(6)(Object.keys,Object);t.exports=r},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(5),o=n(26);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e){t.exports=function(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(1),o=n(31);t.exports=function(t){return r(t)&&1===t.nodeType&&!o(t)}},function(t,e,n){var r=n(3),o=n(32),i=n(1),a=Function.prototype,s=Object.prototype,p=a.toString,l=s.hasOwnProperty,c=p.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&p.call(n)==c}},function(t,e,n){var r=n(6)(Object.getPrototypeOf,Object);t.exports=r},function(t,e,n){var r=n(34),o=n(36);t.exports=function(t,e){return t&&r(t,e,o)}},function(t,e,n){var r=n(35)();t.exports=r},function(t,e){t.exports=function(p){return function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var s=i[p?a:++r];if(!1===e(o[s],s,o))break}return t}}},function(t,e,n){var r=n(6)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(t){return t}},function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)},function(t,e,n){var r=n(40),o=n(45);t.exports=function(t,e){return o(t||[],e||[],r)}},function(t,e,n){var o=n(41),i=n(44),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var r=t[e];a.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}},function(t,e,n){var r=n(42);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(43),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e){t.exports=function(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var s=r<i?e[r]:void 0;n(a,t[r],s)}return a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.missingTippy="Using the attachment feature of Shepherd requires the Tippy.js library"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Shepherd=e.Tour=void 0;var i=r(n(48)),a=r(n(11)),s=r(n(0)),p=r(n(2)),l=r(n(53)),c=r(n(5)),u=n(4),f=n(8),d=n(13),h=r(n(15)),m=n(54),v=n(55),y=n(17),b=n(7);function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?k(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var E,S=(E=0,function(){return++E}),T=new u.Evented;e.Tour=function(t){function e(){var n,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=w(this,x(e).call(this,t)),d.bindMethods.call(k(k(n)),["back","cancel","complete","next"]),n.options=t,n.steps=n.options.steps||[];return["active","cancel","complete","inactive","show","start"].map(function(t){var e;e=t,n.on(e,function(t){(t=t||{}).tour=k(k(n)),T.trigger(e,t)})}),n._setTooltipDefaults(),n._setTourID(),w(n,k(k(n)))}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(e,u.Evented),n=e,(r=[{key:"addStep",value:function(t,e){var n,r;return(r=(0,s.default)(e)?t:(n=t,e))instanceof f.Step?r.tour=this:r=this.setupStep(r,n),this.steps.push(r),r}},{key:"back",value:function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(t)&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(t){(0,a.default)(this.steps)||this.steps.forEach(function(t){return t.destroy()}),y.cleanupStepEventListeners.call(this),(0,v.cleanupSteps)(this.tourObject),v.cleanupModal.call(this),this.trigger(t),T.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this})}},{key:"getById",value:function(e){return this.steps.find(function(t){return t.id===e})}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var t=this.getCurrentStep();if(t)return this._hideModalOverlay(),t.hide()}},{key:"isActive",value:function(){return T.activeTour===this}},{key:"next",value:function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}},{key:"removeStep",value:function(n){var r=this,t=this.getCurrentStep();this.steps.some(function(t,e){if(t.id===n)return t.isOpen()&&t.hide(),t.destroy(),r.steps.splice(e,1),!0}),t&&t.id===n&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(t,e){return((0,p.default)(e)||(0,l.default)(e))&&(t.id=e.toString()),t=Object.assign({},this.options.defaultStepOptions,t),new f.Step(this,t)}},{key:"beforeShowStep",value:function(t){this._setupModalForStep(t),this._styleTargetElementForStep(t)}},{key:"show",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=(0,p.default)(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),(0,c.default)(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),(this.currentStep=n).show()))}},{key:"start",value:function(){this.trigger("start"),this.currentStep=null,this._setupActiveTour(),this._initModalOverlay(),y.addStepEventListeners.call(this),this.next()}},{key:"_setupActiveTour",value:function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),T.activeTour=this}},{key:"_initModalOverlay",value:function(){this._modalOverlayElem||(this._modalOverlayElem=(0,b.createModalOverlay)(),this._modalOverlayOpening=(0,b.getModalMaskOpening)(this._modalOverlayElem),this._hideModalOverlay(),document.body.appendChild(this._modalOverlayElem))}},{key:"_styleTargetElementForStep",value:function(t){var e=(0,y.getElementForStep)(t);e&&((0,b.toggleShepherdModalClass)(e),t.options.highlightClass&&e.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&(e.style.pointerEvents="none"))}},{key:"_setupModalForStep",value:function(t){this.options.useModalOverlay?(this._styleModalOpeningForStep(t),this._showModalOverlay()):this._hideModalOverlay()}},{key:"_styleModalOpeningForStep",value:function(t){var e=this._modalOverlayOpening,n=(0,y.getElementForStep)(t);n?((0,b.positionModalOpening)(n,e),this._onScreenChange=(0,i.default)(b.positionModalOpening.bind(this,n,e),0,{leading:!1,trailing:!0}),y.addStepEventListeners.call(this)):(0,b.closeModalOpening)(this._modalOverlayOpening)}},{key:"_showModalOverlay",value:function(){document.body.classList.add(b.classNames.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_hideModalOverlay",value:function(){document.body.classList.remove(b.classNames.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"_skipStep",value:function(t,e){var n=this.steps.indexOf(t),r=e?n+1:n-1;this.show(r,e)}},{key:"_setTooltipDefaults",value:function(){h.default.setDefaults(m.defaults)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var t=this.options.tourName||"tour",e=S();this.id="".concat(t,"--").concat(e)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}])&&g(n.prototype,r),o&&g(n,o),e}();e.Shepherd=T},function(t,e,n){var b=n(10),g=n(49),w=n(52),x=Math.max,O=Math.min;t.exports=function(r,o,t){var i,a,s,p,l,c,u=0,f=!1,d=!1,e=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function h(t){var e=i,n=a;return i=a=void 0,u=t,p=r.apply(n,e)}function m(t){var e=t-c;return void 0===c||o<=e||e<0||d&&s<=t-u}function v(){var t,e,n=g();if(m(n))return y(n);l=setTimeout(v,(e=o-((t=n)-c),d?O(e,s-(t-u)):e))}function y(t){return l=void 0,e&&i?h(t):(i=a=void 0,p)}function n(){var t,e=g(),n=m(e);if(i=arguments,a=this,c=e,n){if(void 0===l)return u=t=c,l=setTimeout(v,o),f?h(t):p;if(d)return l=setTimeout(v,o),h(c)}return void 0===l&&(l=setTimeout(v,o)),p}return o=w(o)||0,b(t)&&(f=!!t.leading,s=(d="maxWait"in t)?x(w(t.maxWait)||0,o):s,e="trailing"in t?!!t.trailing:e),n.cancel=function(){void 0!==l&&clearTimeout(l),i=c=a=l=void(u=0)},n.flush=function(){return void 0===l?p:y(g())},n}},function(t,e,n){var r=n(50);t.exports=function(){return r.Date.now()}},function(t,e,n){var r=n(51),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(n,t,e){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;n.exports=e}).call(this,e(16))},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(3),o=n(1);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.defaults={trigger:"manual",arrow:!0,arrowTransform:"scale(2)",animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(56),i=(r=o)&&r.__esModule?r:{default:r};e.cleanupModal=function(){var e=this;(0,i.default)(function(){var t=e._modalOverlayElem;t&&t instanceof SVGElement&&t.parentNode.removeChild(t),e._modalOverlayElem=null,document.body.classList.remove(a.classNames.isVisible)})},e.cleanupSteps=function(t){if(t){var e=t.steps;e.forEach(function(t){if(t.options&&!1===t.options.canClickTarget&&t.options.attachTo){var e=(0,s.getElementForStep)(t);e instanceof HTMLElement&&(e.style.pointerEvents="auto")}})}},e.cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),window.removeEventListener("touchmove",a.preventModalBodyTouch,!1),this._onScreenChange=null)};var a=n(7),s=n(17)},function(t,e,n){var r=n(57),o=n(58)(function(t,e){return r(t,1,e)});t.exports=o},function(t,e){t.exports=function(t,e,n){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout(function(){t.apply(void 0,n)},e)}},function(t,e,n){var r=n(59),o=n(60),i=n(62);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var p=n(61),l=Math.max;t.exports=function(i,a,s){return a=l(void 0===a?i.length-1:a,0),function(){for(var t=arguments,e=-1,n=l(t.length-a,0),r=Array(n);++e<n;)r[e]=t[a+e];e=-1;for(var o=Array(a+1);++e<a;)o[e]=t[e];return o[a]=s(r),p(i,this,o)}}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e){t.exports=function(t){return t}}])});
5
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Shepherd=e():t.Shepherd=e()}(this,function(){return function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=18)}([function(t,e){t.exports=function(t){return void 0===t}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var r=n(3),o=n(10),i=n(1);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==r(t)}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u="http://www.w3.org/2000/svg",f={modalOverlay:"shepherdModalOverlayContainer",modalOverlayMask:"shepherdModalMask",modalOverlayMaskOpening:"shepherdModalMaskOpening"},r={isVisible:"shepherd-modal-is-visible",modalTarget:"shepherd-modal-target"};e.createModalOverlay=function(){var t,e,n,r,o,i=((t=document.createElementNS(u,"svg")).setAttributeNS(null,"id",f.modalOverlay),t),a=document.createElementNS(u,"defs"),s=((e=document.createElementNS(u,"mask")).setAttributeNS(null,"id",f.modalOverlayMask),e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","100%"),e.setAttributeNS(null,"height","100%"),e),p=((n=document.createElementNS(u,"rect")).setAttributeNS(null,"x","0"),n.setAttributeNS(null,"y","0"),n.setAttributeNS(null,"width","100%"),n.setAttributeNS(null,"height","100%"),n.setAttributeNS(null,"fill","#FFFFFF"),n),l=((r=document.createElementNS(u,"rect")).setAttributeNS(null,"id",f.modalOverlayMaskOpening),r.setAttributeNS(null,"fill","#000000"),r),c=((o=document.createElementNS(u,"rect")).setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"mask","url(#".concat(f.modalOverlayMask,")")),o);return s.appendChild(p),s.appendChild(l),a.appendChild(s),i.appendChild(a),i.appendChild(c),i},e.positionModalOpening=function(t,e){if(t.getBoundingClientRect&&e instanceof SVGElement){var n=t.getBoundingClientRect(),r=n.x,o=n.y,i=n.width,a=n.height;e.setAttributeNS(null,"x",r),e.setAttributeNS(null,"y",o),e.setAttributeNS(null,"width",i),e.setAttributeNS(null,"height",a)}},e.preventModalBodyTouch=function(t){t.preventDefault()},e.preventModalOverlayTouch=function(t){t.stopPropagation()},e.closeModalOpening=function(t){t&&t instanceof SVGElement&&(t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","0"),t.setAttributeNS(null,"height","0"))},e.getModalMaskOpening=function(t){return t.querySelector("#".concat(f.modalOverlayMaskOpening))},e.elementIds=f,e.classNames=r,e.toggleShepherdModalClass=function(t){var e=document.querySelector("".concat(r.modalTarget));e&&e.classList.remove(r.modalTarget),t.classList.add(r.modalTarget)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Evented=void 0;var i=r(n(0)),o=r(n(19));function r(t){return t&&t.__esModule?t:{default:t}}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}e.Evented=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];(0,i.default)(this.bindings)&&(this.bindings={}),(0,i.default)(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(n,r){var o=this;if((0,i.default)(this.bindings)||(0,i.default)(this.bindings[n]))return!1;(0,i.default)(r)?delete this.bindings[n]:this.bindings[n].forEach(function(t,e){t.handler===r&&o.bindings[n].splice(e,1)})}},{key:"trigger",value:function(a){var s=this;if(!(0,i.default)(this.bindings)&&this.bindings[a]){var p=(0,o.default)(arguments);this.bindings[a].forEach(function(t,e){var n=t.ctx,r=t.handler,o=t.once,i=n||s;r.apply(i,p),o&&s.bindings[a].splice(e,1)})}}}])&&a(e.prototype,n),r&&a(e,r),t}()},function(t,e,n){var r=n(3),o=n(11);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){t.exports=function(e,n){return function(t){return e(n(t))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getElementForStep=e.elementIsHidden=e.cleanupStepEventListeners=e.addStepEventListeners=void 0;var r=n(4);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.addStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!1);var t=document.querySelector("#".concat(r.elementIds.modalOverlay));window.addEventListener("touchmove",r.preventModalBodyTouch,{passive:!1}),t&&t.addEventListener("touchmove",r.preventModalOverlayTouch,!1)},e.cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null)},e.elementIsHidden=function(t){return 0===t.offsetWidth&&0===t.offsetHeight},e.getElementForStep=function(t){var e=t.options.attachTo;if(!e)return null;var n,r,o=a(e);return"string"===o?(r=i(e.split(" "),1)[0],document.querySelector(r)):"object"===o?(n=e.element)instanceof HTMLElement?n:document.querySelector(n):null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Step=void 0;var i=r(n(0)),a=r(n(2)),s=r(n(6)),p=r(n(12)),l=r(n(30)),c=r(n(13)),u=n(5);n(38);var f=n(14),d=n(15);function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?y(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var g,w=(g=0,function(){return++g});e.Step=function(t){function r(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(n=m(this,v(r).call(this,t,e))).tour=t,f.bindMethods.call(y(y(n)),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),n.setOptions(e),n.bindAdvance=f.bindAdvance.bind(y(y(n))),n.bindButtonEvents=f.bindButtonEvents.bind(y(y(n))),n.bindCancelLink=f.bindCancelLink.bind(y(y(n))),n.setupTooltip=d.setupTooltip.bind(y(y(n))),n.parseAttachTo=d.parseAttachTo.bind(y(y(n))),m(n,y(y(n)))}var e,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(r,u.Evented),e=r,(n=[{key:"_addButtons",value:function(t){var n=this;if(!(0,p.default)(this.options.buttons)){var e=document.createElement("footer"),r=(0,d.createFromHTML)('<ul class="shepherd-buttons"></ul>');e.classList.add("shepherd-footer"),this.options.buttons.map(function(t){var e=(0,d.createFromHTML)('<li><a class="shepherd-button '.concat(t.classes||"",'">').concat(t.text,"</a>"));r.appendChild(e),n.bindButtonEvents(t,e.querySelector("a"))}),e.appendChild(r),t.appendChild(e)}}},{key:"_addCancelLink",value:function(t,e){if(this.options.showCancelLink){var n=(0,d.createFromHTML)('<a href class="shepherd-cancel-link"></a>');e.appendChild(n),t.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(t){var e=(0,d.createFromHTML)('<div class="shepherd-text"></div>'),n=this.options.text;(0,s.default)(n)&&(n=n.call(this,e)),n instanceof HTMLElement?e.appendChild(n):((0,a.default)(n)&&(n=[n]),n.map(function(t){e.innerHTML+="<p>".concat(t,"</p>")})),t.appendChild(e)}},{key:"_createTooltipContent",value:function(){var t=document.createElement("div"),e=this.options.classes||"",n=(0,d.createFromHTML)('<div class="'.concat(e,'" data-shepherd-step-id="').concat(this.id,'">')),r=document.createElement("header");if(this.options.title){var o=document.createElement("h3");o.classList.add("shepherd-title"),o.innerHTML="".concat(this.options.title),r.appendChild(o),n.classList.add("shepherd-has-title")}return t.classList.add("shepherd-content"),r.classList.add("shepherd-header"),n.appendChild(t),t.appendChild(r),(0,i.default)(this.options.text)||this._addContent(t),this._addButtons(t),this._addCancelLink(n,r),n}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),(0,l.default)(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}},{key:"hide",value:function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){(0,i.default)(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(){var t=this.parseAttachTo().element;(0,s.default)(this.options.scrollToHandler)?this.options.scrollToHandler(t):(0,l.default)(t)&&t.scrollIntoView()}},{key:"setOptions",value:function(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options=t;var e=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(w()),(0,c.default)(e,function(t,e){n.on(e,t,n)})}},{key:"show",value:function(){var t=this;if((0,s.default)(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!(0,i.default)(e))return e.then(function(){return t._show()})}this._show()}},{key:"_show",value:function(){var t=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){t.scrollTo()}),this.tooltip.show(),this.trigger("show")}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}])&&h(e.prototype,n),o&&h(e,o),r}()},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(22),o=n(23),i=n(24),a=n(10),s=n(25),p=n(27),l=n(28),c=n(29),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||p(t)||c(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(u.call(t,n))return!1;return!0}},function(t,e,n){var r=n(33),o=n(37);t.exports=function(t,e){return t&&r(t,o(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(0)),a=r(n(2)),s=r(n(13));e.bindAdvance=function(){var t=(0,p.parseShorthand)(this.options.advanceOn,["selector","event"]),e=t.event,n=t.selector,r=function(r){var o=this;return function(t){if(o.isOpen()){var e=o.el&&t.target===o.el,n=!(0,i.default)(r)&&t.target.matches(r);(n||e)&&o.tour.next()}}}.call(this,n),o=document.querySelector(n);!(0,i.default)(n)&&o?o.addEventListener(e,r):document.body.addEventListener(e,r,!0);this.on("destroy",function(){return document.body.removeEventListener(e,r,!0)})},e.bindButtonEvents=function(t,r){var o=this;t.events=t.events||{},(0,i.default)(t.action)||(t.events.click=t.action);(0,s.default)(t.events,function(t,e){if((0,a.default)(t)){var n=t;t=function(){return o.tour.show(n)}}r.dataset.buttonEvent=!0,r.addEventListener(e,t),o.on("destroy",function(){r.removeAttribute("data-button-event"),r.removeEventListener(e,t)})})},e.bindCancelLink=function(t){var e=this;t.addEventListener("click",function(t){t.preventDefault(),e.cancel()})},e.bindMethods=function(t){var e=this;t.map(function(t){e[t]=e[t].bind(e)})};var p=n(15);function r(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(39)),o=l(n(0)),i=l(n(1)),a=l(n(2));e.createFromHTML=function(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]},e._parseAttachToOpts=h,e.parseShorthand=function(t,e){{if(null===t||(0,o.default)(t))return t;if((0,i.default)(t))return t}var n=t.split(" ");return(0,r.default)(e,n)},e.setupTooltip=function(){if((0,o.default)(s.default))throw new Error(p.missingTippy);this.tooltip&&this.tooltip.destroy();var t=this.parseAttachTo();this.tooltip=function(t){if(!t.element)return function(){var t=c({content:this.el,placement:"top"},this.options.tippyOptions);t.arrow=!1,t.popperOptions=t.popperOptions||{};var e=Object.assign({},d,t.popperOptions,{modifiers:Object.assign(f,t.popperOptions.modifiers)});return t.popperOptions=e,s.default.one(document.body,t)}.call(this);var e=function(t){var e=c({content:this.el,placement:t.on||"right"},this.options.tippyOptions);this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&Object.assign(d,this.options.tippyOptions.popperOptions);return e.popperOptions=d,e}.call(this,t);return s.default.one(t.element,e)}.call(this,t),this.target=t.element||document.body,this.el.classList.add("shepherd-element")},e.parseAttachTo=function(){var t=h(this.options.attachTo)||{},e=Object.assign({},t);if((0,a.default)(t.element)){try{e.element=document.querySelector(t.element)}catch(t){}e.element||console.error("The element for this Shepherd step was not found ".concat(t.element))}return e};var s=l(n(16)),p=n(46);function l(t){return t&&t.__esModule?t:{default:t}}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){u(e,t,n[t])})}return e}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f={computeStyle:{enabled:!0,fn:function(t){return t.styles=Object.assign({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}}},d={positionFixed:!0};function h(t){if((0,i.default)(t))return t.hasOwnProperty("element")&&t.hasOwnProperty("on")?t:null;var e=/^(.+) ((auto|top|left|right|bottom)(-start|-end)?)$/.exec(t);return e?{element:e[1],on:e[2]}:null}},function(t,e,n){(function(ie){t.exports=function(){"use strict";function a(t){return t&&"[object Function]"==={}.toString.call(t)}function w(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=w(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:h(d(t))}function m(t){return 11===t?et:10===t?nt:et||nt}function j(t){if(!t)return document.documentElement;for(var e=m(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===w(n,"position")?j(n):n:t?t.ownerDocument.documentElement:document.documentElement}function c(t){return null===t.parentNode?t:c(t.parentNode)}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,p=i.commonAncestorContainer;if(t!==p&&e!==p||r.contains(o))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&j(a.firstElementChild)!==a?j(p):p;var l=c(t);return l.host?v(l.host,e):v(t,c(e).host)}function b(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"!==r&&"HTML"!==r)return t[n];var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}function u(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function o(t,e,n,r){return z(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],m(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=m(10)&&getComputedStyle(n);return{height:o("Height",e,n,r),width:o("Width",e,n,r)}}function x(t){return it({},t,{right:t.left+t.width,bottom:t.top+t.height})}function P(t){var e={};try{if(m(10)){e=t.getBoundingClientRect();var n=b(t,"top"),r=b(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},a=i.width||t.clientWidth||o.right-o.left,s=i.height||t.clientHeight||o.bottom-o.top,p=t.offsetWidth-a,l=t.offsetHeight-s;if(p||l){var c=w(t);p-=u(c,"x"),l-=u(c,"y"),o.width-=p,o.height-=l}return x(o)}function g(t,e){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=m(10),o="HTML"===e.nodeName,i=P(t),a=P(e),s=h(t),p=w(e),l=parseFloat(p.borderTopWidth,10),c=parseFloat(p.borderLeftWidth,10);n&&o&&(a.top=z(a.top,0),a.left=z(a.left,0));var u=x({top:i.top-a.top-l,left:i.left-a.left-c,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var f=parseFloat(p.marginTop,10),d=parseFloat(p.marginLeft,10);u.top-=l-f,u.bottom-=l-f,u.left-=c-d,u.right-=c-d,u.marginTop=f,u.marginLeft=d}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(u=function(t,e){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=b(e,"top"),o=b(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}(u,e)),u}function O(t){if(!t||!t.parentElement||m())return document.documentElement;for(var e=t.parentElement;e&&"none"===w(e,"transform");)e=e.parentElement;return e||document.documentElement}function f(t,e,n,r){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],i={top:0,left:0},a=o?O(t):v(t,e);if("viewport"===r)i=function(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],n=t.ownerDocument.documentElement,r=g(t,n),o=z(n.clientWidth,window.innerWidth||0),i=z(n.clientHeight,window.innerHeight||0),a=e?0:b(n),s=e?0:b(n,"left");return x({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s;"scrollParent"===r?"BODY"===(s=h(d(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var p=g(s,a,o);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===w(e,"position")||t(d(e)))}(a))i=p;else{var l=y(t.ownerDocument),c=l.height,u=l.width;i.top+=p.top-p.marginTop,i.bottom=c+p.top,i.left+=p.left-p.marginLeft,i.right=u+p.left}}var f="number"==typeof(n=n||0);return i.left+=f?n:n.left||0,i.top+=f?n:n.top||0,i.right-=f?n:n.right||0,i.bottom-=f?n:n.bottom||0,i}function s(t,e,r,n,o){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=f(r,n,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},p=Object.keys(s).map(function(t){return it({key:t},s[t],{area:(e=s[t],n=e.width,r=e.height,n*r)});var e,n,r}).sort(function(t,e){return e.area-t.area}),l=p.filter(function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight}),c=0<l.length?l[0].key:p[0].key,u=t.split("-")[1];return c+(u?"-"+u:"")}function p(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=r?O(e):v(e,n);return g(n,o,r)}function k(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:t.offsetWidth+o,height:t.offsetHeight+r};return i}function E(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function S(t,e,n){n=n.split("-")[0];var r=k(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",l=i?"width":"height";return o[a]=e[a]+e[p]/2-r[p]/2,o[s]=n===s?e[s]-r[l]:e[E(s)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function T(t,n,e){var r=void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=N(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",e));return r.forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&a(e)&&(n.offsets.popper=x(n.offsets.popper),n.offsets.reference=x(n.offsets.reference),n=e(n,t))}),n}function t(t,r){return t.some(function(t){var e=t.name,n=t.enabled;return n&&e===r})}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function i(t){var e=t.ownerDocument;return e?e.defaultView:window}function e(t,e,n,r){n.updateBound=r,i(t).addEventListener("resize",n.updateBound,{passive:!0});var o=h(t);return function t(e,n,r,o){var i="BODY"===e.nodeName,a=i?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),i||t(h(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function n(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,i(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function C(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function l(n,r){Object.keys(r).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&C(r[t])&&(e="px"),n.style[t]=r[t]+e})}function L(t,n,e){var r=N(t,function(t){var e=t.name;return e===n}),o=!!r&&t.some(function(t){return t.name===e&&t.enabled&&t.order<r.order});if(!o){var i="`"+n+"`";console.warn("`"+e+"` modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function r(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],n=pt.indexOf(t),r=pt.slice(n+1).concat(pt.slice(0,n));return e?r.reverse():r}function _(t,o,i,e){var a=[0,0],s=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),r=n.indexOf(N(n,function(t){return-1!==t.search(/,|\s/)}));n[r]&&-1===n[r].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,l=-1===r?[n]:[n.slice(0,r).concat([n[r].split(p)[0]]),[n[r].split(p)[1]].concat(n.slice(r+1))];return(l=l.map(function(t,e){var n=(1===e?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var o,i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],s=i[2];if(!a)return t;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?a:("vh"===s?z(document.documentElement.clientHeight,window.innerHeight||0):z(document.documentElement.clientWidth,window.innerWidth||0))/100*a;switch(s){case"%p":o=n;break;case"%":case"%r":default:o=r}return x(o)[e]/100*a}(t,n,o,i)})})).forEach(function(n,r){n.forEach(function(t,e){C(t)&&(a[r]+=t*("-"===n[e-1]?-1:1))})}),a}function B(t,e){function n(){Bt(function(){F=!1})}function o(t){var e=_=t,n=e.clientX,r=e.clientY;if(X.popperInstance){var o=zt(X.popper),i=X.popperChildren.arrow?20:5,a="top"===o||"bottom"===o,s="left"===o||"right"===o,p=a?z(i,n):n,l=s?z(i,r):r;a&&i<p&&(p=R(n,window.innerWidth-i)),s&&i<l&&(l=R(r,window.innerHeight-i));var c=X.reference.getBoundingClientRect(),u=X.props.followCursor,f="horizontal"===u,d="vertical"===u;X.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:f?c.top:l,bottom:f?c.bottom:l,left:d?c.left:p,right:d?c.right:p}},clientWidth:0,clientHeight:0},X.popperInstance.scheduleUpdate()}}function i(t){if(x(),!X.state.isVisible){if(X.props.target)return void((r=At((n=t).target,X.props.target))&&!r._tippy&&(B(r,V({},X.props,{target:"",showOnInit:!0})),i(n)));if(j=!0,X.props.wait)return X.props.wait(X,t);v()&&document.addEventListener("mousemove",o);var e=xt(X.props.delay,0,U.delay);e?A=setTimeout(function(){k()},e):k()}var n,r}function a(){if(x(),!X.state.isVisible)return r();j=!1;var t=xt(X.props.delay,1,U.delay);t?M=setTimeout(function(){X.state.isVisible&&E()},t):E()}function r(){document.removeEventListener("mousemove",o),_=null}function s(){document.body.removeEventListener("mouseleave",a),document.removeEventListener("mousemove",D)}function p(t){!X.state.isEnabled||h(t)||(!X.state.isVisible&&(L=t),"click"===t.type&&!1!==X.props.hideOnClick&&X.state.isVisible?a():i(t))}function l(t){var e=Mt(t.target,function(t){return t._tippy}),n=At(t.target,ut.POPPER)===X.popper,r=e===X.reference;n||r||Rt(zt(X.popper),X.popper.getBoundingClientRect(),t,X.props)&&(s(),a())}function c(t){return h(t)?void 0:X.props.interactive?(document.body.addEventListener("mouseleave",a),void document.addEventListener("mousemove",D)):void a()}function u(t){if(t.target===X.reference){if(X.props.interactive){if(!t.relatedTarget)return;if(At(t.relatedTarget,ut.POPPER))return}a()}}function f(t){At(t.target,X.props.target)&&i(t)}function d(t){At(t.target,X.props.target)&&a()}function h(t){var e=-1<t.type.indexOf("touch"),n=K&&Jt&&X.props.touchHold&&!e,r=Jt&&!X.props.touchHold&&e;return n||r}function m(){var e=X.popperChildren.tooltip,t=X.props.popperOptions,n=ut["round"===X.props.arrowType?"ROUND_ARROW":"ARROW"],r=e.querySelector(n),o=V({placement:X.props.placement},t||{},{modifiers:V({},t?t.modifiers:{},{arrow:V({element:n},t&&t.modifiers?t.modifiers.arrow:{}),flip:V({enabled:X.props.flip,padding:X.props.distance+5,behavior:X.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:V({offset:X.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[zt(X.popper)]=Wt(X.props.distance,U.distance),r&&X.props.arrowTransform&&Ht(r,X.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top="",t.bottom="",t.left="",t.right="",t[zt(X.popper)]=Wt(X.props.distance,U.distance),r&&X.props.arrowTransform&&Ht(r,X.props.arrowTransform)}});return C||(C=new MutationObserver(function(){X.popperInstance.update()})).observe(H,{childList:!0,subtree:!0,characterData:!0}),new ct(X.reference,X.popper,o)}function v(){return X.props.followCursor&&!Jt&&"focus"!==L.type}function b(t,n){if(0===t)return n();var r=X.popperChildren.tooltip,e=function t(e){e.target===r&&(Ut(r,"remove",t),n())};Ut(r,"remove",P),Ut(r,"add",e),P=e}function y(t,e,n){X.reference.addEventListener(t,e),n.push({eventType:t,handler:e})}function g(){N=X.props.trigger.trim().split(" ").reduce(function(t,e){return"manual"===e||(X.props.target?"mouseenter"===e?(y("mouseover",f,t),y("mouseout",d,t)):"focus"===e?(y("focusin",f,t),y("focusout",d,t)):"click"===e&&y(e,f,t):(y(e,p,t),X.props.touchHold&&(y("touchstart",p,t),y("touchend",c,t)),"mouseenter"===e?y("mouseleave",c,t):"focus"===e&&y(G?"focusout":"blur",u,t))),t},[])}function w(){N.forEach(function(t){var e=t.eventType,n=t.handler;X.reference.removeEventListener(e,n)})}function x(){clearTimeout(A),clearTimeout(M)}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Gt(e,U);var t=X.props,n=Vt(X.reference,V({},X.props,e,{performance:!0}));n.performance=Kt(e,"performance")?e.performance:t.performance,X.props=n,(Kt(e,"trigger")||Kt(e,"touchHold"))&&(w(),g()),Kt(e,"interactiveDebounce")&&(s(),D=qt(l,e.interactiveDebounce)),Tt(X.popper,t,n),X.popperChildren=bt(X.popper),X.popperInstance&&q.some(function(t){return Kt(e,t)})&&(X.popperInstance.destroy(),X.popperInstance=m(),!X.state.isVisible&&X.popperInstance.disableEventListeners(),X.props.followCursor&&_&&o(_))}function k(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:xt(X.props.duration,0,U.duration[0]);return X.state.isDestroyed||!X.state.isEnabled||Jt&&!X.props.touch?void 0:X.reference.isVirtual||document.documentElement.contains(X.reference)?X.reference.hasAttribute("disabled")?void 0:F?void(F=!1):void(!1===X.props.onShow(X)||(X.popper.style.visibility="visible",X.state.isVisible=!0,vt([X.popper,X.popperChildren.tooltip,X.popperChildren.backdrop],0),function(t){X.popperInstance?!v()&&(X.popperInstance.scheduleUpdate(),X.props.livePlacement&&X.popperInstance.enableEventListeners()):(X.popperInstance=m(),(!X.props.livePlacement||v())&&X.popperInstance.disableEventListeners()),X.popperInstance.reference=X.reference;var e=X.popperChildren.arrow;if(v()){e&&(e.style.margin="0");var n=xt(X.props.delay,0,U.delay);L.type&&o(n&&_?_:L)}else e&&(e.style.margin="");Xt(X.popperInstance,t),X.props.appendTo.contains(X.popper)||(X.props.appendTo.appendChild(X.popper),X.props.onMount(X),X.state.isMounted=!0)}(function(){X.state.isVisible&&(!v()&&X.popperInstance.update(),vt([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],t),X.popperChildren.backdrop&&(X.popperChildren.content.style.transitionDelay=W(t/6)+"ms"),X.props.interactive&&X.reference.classList.add("tippy-active"),X.props.sticky&&(vt([X.popper],G?0:X.props.updateDuration),function t(){X.popperInstance&&X.popperInstance.scheduleUpdate(),X.state.isMounted?requestAnimationFrame(t):vt([X.popper],0)}()),It([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],"visible"),b(t,function(){0===X.props.updateDuration&&X.popperChildren.tooltip.classList.add("tippy-notransition"),X.props.interactive&&-1<["focus","click"].indexOf(L.type)&&jt(X.popper),X.reference.setAttribute("aria-describedby",X.popper.id),X.props.onShown(X),X.state.isShown=!0}))}))):S()}function E(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:xt(X.props.duration,1,U.duration[1]);X.state.isDestroyed||!X.state.isEnabled||!1===X.props.onHide(X)||(0===X.props.updateDuration&&X.popperChildren.tooltip.classList.remove("tippy-notransition"),X.props.interactive&&X.reference.classList.remove("tippy-active"),X.popper.style.visibility="hidden",X.state.isVisible=!1,X.state.isShown=!1,vt([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),It([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],"hidden"),X.props.interactive&&!F&&-1<["focus","click"].indexOf(L.type)&&("focus"===L.type&&(F=!0),jt(X.reference)),t=function(){j||r(),X.reference.removeAttribute("aria-describedby"),X.popperInstance.disableEventListeners(),X.props.appendTo.removeChild(X.popper),X.state.isMounted=!1,X.props.onHidden(X)},b(e,function(){!X.state.isVisible&&X.props.appendTo.contains(X.popper)&&t()}))}function S(t){X.state.isDestroyed||(X.state.isMounted&&E(0),w(),X.reference.removeEventListener("click",n),delete X.reference._tippy,X.props.target&&t&&dt(X.reference.querySelectorAll(X.props.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),X.popperInstance&&X.popperInstance.destroy(),C&&C.disconnect(),X.state.isDestroyed=!0)}var T=Vt(t,e);if(!T.multiple&&t._tippy)return null;var C=null,L={},_=null,A=0,M=0,j=!1,P=function(){},N=[],F=!1,D=0<T.interactiveDebounce?qt(l,T.interactiveDebounce):l,Y=re++,H=St(Y,T);H.addEventListener("mouseenter",function(t){X.props.interactive&&X.state.isVisible&&"mouseenter"===L.type&&i(t)}),H.addEventListener("mouseleave",function(t){X.props.interactive&&"mouseenter"===L.type&&0===X.props.interactiveDebounce&&Rt(zt(H),H.getBoundingClientRect(),t,X.props)&&a()});var I=bt(H),X={id:Y,reference:t,popper:H,popperChildren:I,popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:x,set:O,setContent:function(t){O({content:t})},show:k,hide:E,enable:function(){X.state.isEnabled=!0},disable:function(){X.state.isEnabled=!1},destroy:S};return g(),t.addEventListener("click",n),T.lazy||(X.popperInstance=m(),X.popperInstance.disableEventListeners()),T.showOnInit&&i(),!T.a11y||T.target||mt(t)||t.setAttribute("tabindex","0"),t._tippy=X,H._tippy=X}function A(t,e,n){Gt(e,U),oe||(document.addEventListener("click",te,!0),document.addEventListener("touchstart",$t,{passive:!0}),window.addEventListener("blur",ee),window.addEventListener("resize",ne),!K&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener("pointerdown",$t),oe=!0);var r=V({},U,e);yt(t)&&function(n){var t={isVirtual:!0,attributes:n.attributes||{},setAttribute:function(t,e){n.attributes[t]=e},getAttribute:function(t){return n.attributes[t]},removeAttribute:function(t){delete n.attributes[t]},hasAttribute:function(t){return t in n.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){n.classList.classNames[t]=!0},remove:function(t){delete n.classList.classNames[t]},contains:function(t){return t in n.classList.classNames}}};for(var e in t)n[e]=t[e]}(t);var o=function(t){if(t instanceof Element||yt(t))return[t];if(t instanceof NodeList)return dt(t);if(Array.isArray(t))return t;try{return dt(document.querySelectorAll(t))}catch(t){return[]}}(t),i=o[0],a=(n&&i?[i]:o).reduce(function(t,e){var n=e&&B(e,r);return n&&t.push(n),t},[]);return{targets:t,props:r,instances:a,destroyAll:function(){this.instances.forEach(function(t){t.destroy()}),this.instances=[]}}}for(var R=Math.min,D=Math.floor,W=Math.round,z=Math.max,V=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},U={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},arrow:!1,arrowTransform:"",arrowType:"sharp",content:"",delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:"",multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:"top",popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:200,wait:null,zIndex:9999},q=["arrowType","distance","flip","flipBehavior","offset","placement","popperOptions"],M="undefined"!=typeof window,Y=M?navigator:{},H=M?window:{},I=("MutationObserver"in H),G=/MSIE |Trident\//.test(Y.userAgent),X=/iPhone|iPad|iPod/.test(Y.platform)&&!H.MSStream,K=("ontouchstart"in H),J="undefined"!=typeof window&&"undefined"!=typeof document,$=["Edge","Trident","Firefox"],Q=0,Z=0;Z<$.length;Z+=1)if(J&&0<=navigator.userAgent.indexOf($[Z])){Q=1;break}var tt=J&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Q))}},et=J&&!(!window.MSInputMethodContext||!document.documentMode),nt=J&&/MSIE 10/.test(navigator.userAgent),rt=function(){function r(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}return function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}}(),ot=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},it=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},at=J&&/Firefox/i.test(navigator.userAgent),st=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pt=st.slice(3),lt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ct=function(){function i(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,i),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=tt(this.update.bind(this)),this.options=it({},i.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(it({},i.Defaults.modifiers,r.modifiers)).forEach(function(t){n.options.modifiers[t]=it({},i.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return it({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return rt(i,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=p(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=s(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=S(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=T(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,t(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=e(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return n.call(this)}}]),i}();ct.Utils=("undefined"==typeof window?ie:window).PopperUtils,ct.placements=st,ct.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),p=s?"left":"top",l=s?"width":"height",c={start:ot({},p,i[p]),end:ot({},p,i[p]+i[l]-a[l])};t.offsets.popper=it({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],p=void 0;return p=C(+n)?[+n,0]:_(n,i,a,s),"left"===s?(i.top+=p[0],i.left-=p[1]):"right"===s?(i.top+=p[0],i.left+=p[1]):"top"===s?(i.left+=p[0],i.top-=p[1]):"bottom"===s&&(i.left+=p[0],i.top+=p[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,r){var e=r.boundariesElement||j(t.instance.popper);t.instance.reference===e&&(e=j(e));var n=F("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var p=f(t.instance.popper,t.instance.reference,r.padding,e,t.positionFixed);o.top=i,o.left=a,o[n]=s,r.boundaries=p;var l=r.priority,c=t.offsets.popper,u={primary:function(t){var e=c[t];return c[t]<p[t]&&!r.escapeWithReference&&(e=z(c[t],p[t])),ot({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=c[e];return c[t]>p[t]&&!r.escapeWithReference&&(n=R(c[e],p[t]-("right"===t?c.width:c.height))),ot({},e,n)}};return l.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";c=it({},c,u[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=D,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",p=a?"left":"top",l=a?"width":"height";return n[s]<i(r[p])&&(t.offsets.popper[p]=i(r[p])-n[l]),n[p]>i(r[s])&&(t.offsets.popper[p]=i(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!L(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(o),l=p?"height":"width",c=p?"Top":"Left",u=c.toLowerCase(),f=p?"left":"top",d=p?"bottom":"right",h=k(r)[l];s[d]-h<a[u]&&(t.offsets.popper[u]-=a[u]-(s[d]-h)),s[u]+h>a[d]&&(t.offsets.popper[u]+=s[u]+h-a[d]),t.offsets.popper=x(t.offsets.popper);var m=s[u]+s[l]/2-h/2,v=w(t.instance.popper),b=parseFloat(v["margin"+c],10),y=parseFloat(v["border"+c+"Width"],10),g=m-t.offsets.popper[u]-b-y;return g=z(R(a[l]-h,g),0),t.arrowElement=r,t.offsets.arrow=(ot(n={},u,W(g)),ot(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(h,m){if(t(h.instance.modifiers,"inner"))return h;if(h.flipped&&h.placement===h.originalPlacement)return h;var v=f(h.instance.popper,h.instance.reference,m.padding,m.boundariesElement,h.positionFixed),b=h.placement.split("-")[0],y=E(b),g=h.placement.split("-")[1]||"",w=[];switch(m.behavior){case lt.FLIP:w=[b,y];break;case lt.CLOCKWISE:w=r(b);break;case lt.COUNTERCLOCKWISE:w=r(b,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(b!==t||w.length===e+1)return h;b=h.placement.split("-")[0],y=E(b);var n,r=h.offsets.popper,o=h.offsets.reference,i=D,a="left"===b&&i(r.right)>i(o.left)||"right"===b&&i(r.left)<i(o.right)||"top"===b&&i(r.bottom)>i(o.top)||"bottom"===b&&i(r.top)<i(o.bottom),s=i(r.left)<i(v.left),p=i(r.right)>i(v.right),l=i(r.top)<i(v.top),c=i(r.bottom)>i(v.bottom),u="left"===b&&s||"right"===b&&p||"top"===b&&l||"bottom"===b&&c,f=-1!==["top","bottom"].indexOf(b),d=!!m.flipVariations&&(f&&"start"===g&&s||f&&"end"===g&&p||!f&&"start"===g&&l||!f&&"end"===g&&c);(a||u||d)&&(h.flipped=!0,(a||u)&&(b=w[e+1]),d&&(g="end"===(n=g)?"start":"start"===n?"end":n),h.placement=b+(g?"-"+g:""),h.offsets.popper=it({},h.offsets.popper,S(h.instance.popper,h.offsets.reference,h.placement)),h=T(h.instance.modifiers,h,"flip"))}),h},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),t.placement=E(e),t.offsets.popper=x(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!L(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=N(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,p,l,c,u,f,d,h,m,v,b,y,g=void 0===i?e.gpuAcceleration:i,w=j(t.instance.popper),x=P(w),O={position:o.position},k=(a=t,s=window.devicePixelRatio<2||!at,p=a.offsets,l=p.popper,c=p.reference,f=function(t){return t},d=(u=W)(l.width),h=u(c.width),m=-1!==["left","right"].indexOf(a.placement),v=-1!==a.placement.indexOf("-"),y=s?u:f,{left:(b=s?m||v||h%2==d%2?u:D:f)(1==h%2&&1==d%2&&!v&&s?l.left-1:l.left),top:y(l.top),bottom:y(l.bottom),right:b(l.right)}),E="bottom"===n?"top":"bottom",S="right"===r?"left":"right",T=F("transform"),C=void 0,L=void 0;if(L="bottom"==E?"HTML"===w.nodeName?-w.clientHeight+k.bottom:-x.height+k.bottom:k.top,C="right"==S?"HTML"===w.nodeName?-w.clientWidth+k.right:-x.width+k.right:k.left,g&&T)O[T]="translate3d("+C+"px, "+L+"px, 0)",O[E]=0,O[S]=0,O.willChange="transform";else{var _="bottom"==E?-1:1,A="right"==S?-1:1;O[E]=L*_,O[S]=C*A,O.willChange=E+", "+S}var M={"x-placement":t.placement};return t.attributes=it({},M,t.attributes),t.styles=it({},O,t.styles),t.arrowStyles=it({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return l(t.instance.popper,t.styles),n=t.instance.popper,r=t.attributes,Object.keys(r).forEach(function(t){var e=r[t];!1===e?n.removeAttribute(t):n.setAttribute(t,r[t])}),t.arrowElement&&Object.keys(t.arrowStyles).length&&l(t.arrowElement,t.arrowStyles),t;var n,r},onLoad:function(t,e,n,r,o){var i=p(o,e,t,n.positionFixed),a=s(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),l(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}};var ut={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},ft={x:!0},dt=function(t){return[].slice.call(t)},ht=function(t,e){e.content instanceof Element?(wt(t,""),t.appendChild(e.content)):t[e.allowHTML?"innerHTML":"textContent"]=e.content},mt=function(t){return!(t instanceof Element)||_t.call(t,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!t.hasAttribute("disabled")},vt=function(t,e){t.filter(Boolean).forEach(function(t){t.style.transitionDuration=e+"ms"})},bt=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(ut.TOOLTIP),backdrop:t(ut.BACKDROP),content:t(ut.CONTENT),arrow:t(ut.ARROW)||t(ut.ROUND_ARROW)}},yt=function(t){return"[object Object]"==={}.toString.call(t)},gt=function(){return document.createElement("div")},wt=function(t,e){t[ft.x&&"innerHTML"]=e instanceof Element?e[ft.x&&"innerHTML"]:e},xt=function(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?n:r}return t},Ot=function(t){var e=gt();return"round"===t?(e.className="tippy-roundarrow",wt(e,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):e.className="tippy-arrow",e},kt=function(){var t=gt();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t},Et=function(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")},St=function(t,e){var n=gt();n.className="tippy-popper",n.setAttribute("role","tooltip"),n.id="tippy-"+t,n.style.zIndex=e.zIndex;var r=gt();r.className="tippy-tooltip",r.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),r.setAttribute("data-size",e.size),r.setAttribute("data-animation",e.animation),r.setAttribute("data-state","hidden"),e.theme.split(" ").forEach(function(t){r.classList.add(t+"-theme")});var o=gt();return o.className="tippy-content",o.setAttribute("data-state","hidden"),e.interactive&&Et(n,r),e.arrow&&r.appendChild(Ot(e.arrowType)),e.animateFill&&(r.appendChild(kt()),r.setAttribute("data-animatefill","")),e.inertia&&r.setAttribute("data-inertia",""),ht(o,e),r.appendChild(o),n.appendChild(r),n.addEventListener("focusout",function(t){t.relatedTarget&&n._tippy&&!Mt(t.relatedTarget,function(t){return t===n})&&t.relatedTarget!==n._tippy.reference&&n._tippy.props.shouldPopperHideOnBlur(t)&&n._tippy.hide()}),n},Tt=function(t,e,n){var r,o=bt(t),i=o.tooltip,a=o.content,s=o.backdrop,p=o.arrow;t.style.zIndex=n.zIndex,i.setAttribute("data-size",n.size),i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),e.content!==n.content&&ht(a,n),!e.animateFill&&n.animateFill?(i.appendChild(kt()),i.setAttribute("data-animatefill","")):e.animateFill&&!n.animateFill&&(i.removeChild(s),i.removeAttribute("data-animatefill")),!e.arrow&&n.arrow?i.appendChild(Ot(n.arrowType)):e.arrow&&!n.arrow&&i.removeChild(p),e.arrow&&n.arrow&&e.arrowType!==n.arrowType&&i.replaceChild(Ot(n.arrowType),p),!e.interactive&&n.interactive?Et(t,i):e.interactive&&!n.interactive&&(r=i,t.removeAttribute("tabindex"),r.removeAttribute("data-interactive")),!e.inertia&&n.inertia?i.setAttribute("data-inertia",""):e.inertia&&!n.inertia&&i.removeAttribute("data-inertia"),e.theme!==n.theme&&(e.theme.split(" ").forEach(function(t){i.classList.remove(t+"-theme")}),n.theme.split(" ").forEach(function(t){i.classList.add(t+"-theme")}))},Ct=function(n){dt(document.querySelectorAll(ut.POPPER)).forEach(function(t){var e=t._tippy;e&&!0===e.props.hideOnClick&&(!n||t!==n.popper)&&e.hide()})},Lt=function(o){return Object.keys(U).reduce(function(t,e){var n,r=(o.getAttribute("data-tippy-"+e)||"").trim();return r&&(t[e]="content"===e?r:"true"===r||"false"!==r&&(n=r,isNaN(n)||isNaN(parseFloat(n))?"["===r[0]||"{"===r[0]?JSON.parse(r):r:+r)),t},{})},_t=function(){if(M){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),At=function(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(_t.call(e,t))return e;e=e.parentElement}}).call(t,e)},Mt=function(t,e){for(;t;){if(e(t))return t;t=t.parentElement}},jt=function(t){var e=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;t.focus(),scroll(e,n)},Pt=function(t,e){return(e?t:{X:"Y",Y:"X"}[t])||""},Nt=function(t,e,n,r){var o=e[0],i=e[1];if(!o&&!i)return"";var a={scale:i?n?o+", "+i:i+", "+o:""+o,translate:i?n?r?o+"px, "+-i+"px":o+"px, "+i+"px":r?-i+"px, "+o+"px":i+"px, "+o+"px":r?-o+"px":o+"px"};return a[t]},Ft=function(t,e){var n=t.match(new RegExp(e+"([XY])"));return n?n[1]:""},Dt=function(t,e){var n=t.match(e);return n?n[1].split(",").map(parseFloat):[]},Yt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},Ht=function(t,e){var n=zt(At(t,ut.POPPER)),r="top"===n||"bottom"===n,o="right"===n||"bottom"===n,i={translate:{axis:Ft(e,"translate"),numbers:Dt(e,Yt.translate)},scale:{axis:Ft(e,"scale"),numbers:Dt(e,Yt.scale)}},a=e.replace(Yt.translate,"translate"+Pt(i.translate.axis,r)+"("+Nt("translate",i.translate.numbers,r,o)+")").replace(Yt.scale,"scale"+Pt(i.scale.axis,r)+"("+Nt("scale",i.scale.numbers,r,o)+")");t.style[void 0===document.body.style.transform?"webkitTransform":"transform"]=a},It=function(t,e){t.filter(Boolean).forEach(function(t){t.setAttribute("data-state",e)})},Xt=function(t,e){var n=t.popper,r=t.options,o=r.onCreate,i=r.onUpdate;r.onCreate=r.onUpdate=function(){n.offsetHeight,e(),i(),r.onCreate=o,r.onUpdate=i}},Bt=function(t){setTimeout(t,1)},Rt=function(t,e,n,r){if(!t)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,s=r.distance,p=e.top-i>("top"===t?a+s:a),l=i-e.bottom>("bottom"===t?a+s:a),c=e.left-o>("left"===t?a+s:a),u=o-e.right>("right"===t?a+s:a);return p||l||c||u},Wt=function(t,e){return-(t-e)+"px"},zt=function(t){var e=t.getAttribute("x-placement");return e?e.split("-")[0]:""},Vt=function(t,e){var n=V({},e,e.performance?{}:Lt(t));return n.arrow&&(n.animateFill=!1),"function"==typeof n.appendTo&&(n.appendTo=e.appendTo(t)),"function"==typeof n.content&&(n.content=e.content(t)),n},Ut=function(t,e,n){t[e+"EventListener"]("transitionend",n)},qt=function(n,r){var o;return function(){var t=this,e=arguments;clearTimeout(o),o=setTimeout(function(){return n.apply(t,e)},r)}},Gt=function(t,e){for(var n in t||{})if(!(n in e))throw Error("[tippy]: `"+n+"` is not a valid option")},Kt=function(t,e){return{}.hasOwnProperty.call(t,e)},Jt=!1,$t=function(){Jt||(Jt=!0,X&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",Zt))},Qt=0,Zt=function t(){var e=performance.now();e-Qt<20&&(Jt=!1,document.removeEventListener("mousemove",t),!X&&document.body.classList.remove("tippy-iOS")),Qt=e},te=function(t){var e=t.target;if(!(e instanceof Element))return Ct();var n=At(e,ut.POPPER);if(!(n&&n._tippy&&n._tippy.props.interactive)){var r=Mt(e,function(t){return t._tippy&&t._tippy.reference===t});if(r){var o=r._tippy,i=-1<o.props.trigger.indexOf("click");if(Jt||i)return Ct(o);if(!0!==o.props.hideOnClick||i)return;o.clearDelayTimeouts()}Ct()}},ee=function(){var t=document,e=t.activeElement;e&&e.blur&&e._tippy&&e.blur()},ne=function(){dt(document.querySelectorAll(ut.POPPER)).forEach(function(t){var e=t._tippy;e.props.livePlacement||e.popperInstance.scheduleUpdate()})},re=1,oe=!1;return A.version="3.3.0",A.defaults=U,A.one=function(t,e){return A(t,e,!0).instances[0]},A.setDefaults=function(t){U=V({},U,t),A.defaults=U},A.disableAnimations=function(){A.setDefaults({duration:0,updateDuration:0,animateFill:!1})},A.hideAllPoppers=Ct,A.useCapture=function(){},M&&setTimeout(function(){dt(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&A(t,{content:e})})}),function(t){if(I){var e=document.createElement("style");e.type="text/css",e.textContent='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}',document.head.insertBefore(e,document.head.firstChild)}}(),A}()}).call(this,n(17))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),o=n(9),i=n(47);Object.assign(i.Shepherd,{Tour:i.Tour,Step:o.Step,Evented:r.Evented}),e.default=i.Shepherd,t.exports=e.default},function(t,e,n){var o=n(20),i=n(21);t.exports=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||void 0===e?1:i(e),o(t,e<0?0:e,r)):[]}},function(t,e){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(n=o<n?o:n)<0&&(n+=o),o=n<e?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(7)(Object.keys,Object);t.exports=r},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(6),o=n(26);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e){t.exports=function(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(1),o=n(31);t.exports=function(t){return r(t)&&1===t.nodeType&&!o(t)}},function(t,e,n){var r=n(3),o=n(32),i=n(1),a=Function.prototype,s=Object.prototype,p=a.toString,l=s.hasOwnProperty,c=p.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&p.call(n)==c}},function(t,e,n){var r=n(7)(Object.getPrototypeOf,Object);t.exports=r},function(t,e,n){var r=n(34),o=n(36);t.exports=function(t,e){return t&&r(t,e,o)}},function(t,e,n){var r=n(35)();t.exports=r},function(t,e){t.exports=function(p){return function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var s=i[p?a:++r];if(!1===e(o[s],s,o))break}return t}}},function(t,e,n){var r=n(7)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(t){return t}},function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)},function(t,e,n){var r=n(40),o=n(45);t.exports=function(t,e){return o(t||[],e||[],r)}},function(t,e,n){var o=n(41),i=n(44),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var r=t[e];a.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}},function(t,e,n){var r=n(42);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(43),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e){t.exports=function(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var s=r<i?e[r]:void 0;n(a,t[r],s)}return a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.missingTippy="Using the attachment feature of Shepherd requires the Tippy.js library"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Shepherd=e.Tour=void 0;var i=r(n(12)),a=r(n(0)),s=r(n(2)),p=r(n(48)),l=r(n(6)),c=n(5),u=n(49),f=n(9),d=n(14),h=r(n(16)),m=n(62),v=n(63),b=n(8),y=n(4);function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?k(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var E,S=(E=0,function(){return++E}),T=new c.Evented;e.Tour=function(t){function e(){var n,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=w(this,x(e).call(this,t)),d.bindMethods.call(k(k(n)),["back","cancel","complete","next"]),n.options=t,n.steps=n.options.steps||[];return["active","cancel","complete","inactive","show","start"].map(function(t){var e;e=t,n.on(e,function(t){(t=t||{}).tour=k(k(n)),T.trigger(e,t)})}),n.modal=new u.Modal(t),n._setTooltipDefaults(),n._setTourID(),w(n,k(k(n)))}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(e,c.Evented),n=e,(r=[{key:"addStep",value:function(t,e){var n,r;return(r=(0,a.default)(e)?t:(n=t,e))instanceof f.Step?r.tour=this:r=this.setupStep(r,n),this.steps.push(r),r}},{key:"back",value:function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(t)&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(t){(0,i.default)(this.steps)||this.steps.forEach(function(t){return t.destroy()}),b.cleanupStepEventListeners.call(this),(0,v.cleanupSteps)(this.tourObject),this.modal.cleanup(),this.trigger(t),T.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this})}},{key:"getById",value:function(e){return this.steps.find(function(t){return t.id===e})}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var t=this.getCurrentStep();if(t)return t.hide()}},{key:"isActive",value:function(){return T.activeTour===this}},{key:"next",value:function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}},{key:"removeStep",value:function(n){var r=this,t=this.getCurrentStep();this.steps.some(function(t,e){if(t.id===n)return t.isOpen()&&t.hide(),t.destroy(),r.steps.splice(e,1),!0}),t&&t.id===n&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(t,e){return((0,s.default)(e)||(0,p.default)(e))&&(t.id=e.toString()),t=Object.assign({},this.options.defaultStepOptions,t),new f.Step(this,t)}},{key:"beforeShowStep",value:function(t){this.modal.setupForStep(t),this._styleTargetElementForStep(t)}},{key:"show",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=(0,s.default)(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),(0,l.default)(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),(this.currentStep=n).show()))}},{key:"start",value:function(){this.trigger("start"),this.currentStep=null,this._setupActiveTour(),b.addStepEventListeners.call(this),this.next()}},{key:"_setupActiveTour",value:function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),T.activeTour=this}},{key:"_styleTargetElementForStep",value:function(t){var e=(0,b.getElementForStep)(t);e&&((0,y.toggleShepherdModalClass)(e),t.options.highlightClass&&e.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&(e.style.pointerEvents="none"))}},{key:"_skipStep",value:function(t,e){var n=this.steps.indexOf(t),r=e?n+1:n-1;this.show(r,e)}},{key:"_setTooltipDefaults",value:function(){h.default.setDefaults(m.defaults)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var t=this.options.tourName||"tour",e=S();this.id="".concat(t,"--").concat(e)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}])&&g(n.prototype,r),o&&g(n,o),e}();e.Shepherd=T},function(t,e,n){var r=n(3),o=n(1);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Modal=void 0;var o=r(n(50)),i=r(n(57)),a=n(4),s=n(8);function r(t){return t&&t.__esModule?t:{default:t}}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}e.Modal=function(){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this._modalOverlayElem||(this._modalOverlayElem=(0,a.createModalOverlay)(),this._modalOverlayOpening=(0,a.getModalMaskOpening)(this._modalOverlayElem),this.hide(),document.body.appendChild(this._modalOverlayElem)),this.options=t,this}var t,n,r;return t=e,(n=[{key:"cleanup",value:function(){var e=this;(0,o.default)(function(){var t=e._modalOverlayElem;t&&t instanceof SVGElement&&t.parentNode.removeChild(t),e._modalOverlayElem=null,document.body.classList.remove(a.classNames.isVisible)})}},{key:"hide",value:function(){document.body.classList.remove(a.classNames.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"setupForStep",value:function(t){this.options.useModalOverlay?(this._styleForStep(t),this.show()):this.hide()}},{key:"show",value:function(){document.body.classList.add(a.classNames.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_styleForStep",value:function(t){var e=this._modalOverlayOpening,n=(0,s.getElementForStep)(t);n?((0,a.positionModalOpening)(n,e),this._onScreenChange=(0,i.default)(a.positionModalOpening.bind(this,n,e),0,{leading:!1,trailing:!0}),s.addStepEventListeners.call(this)):(0,a.closeModalOpening)(this._modalOverlayOpening)}}])&&p(t.prototype,n),r&&p(t,r),e}()},function(t,e,n){var r=n(51),o=n(52)(function(t,e){return r(t,1,e)});t.exports=o},function(t,e){t.exports=function(t,e,n){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout(function(){t.apply(void 0,n)},e)}},function(t,e,n){var r=n(53),o=n(54),i=n(56);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var p=n(55),l=Math.max;t.exports=function(i,a,s){return a=l(void 0===a?i.length-1:a,0),function(){for(var t=arguments,e=-1,n=l(t.length-a,0),r=Array(n);++e<n;)r[e]=t[a+e];e=-1;for(var o=Array(a+1);++e<a;)o[e]=t[e];return o[a]=s(r),p(i,this,o)}}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var y=n(11),g=n(58),w=n(61),x=Math.max,O=Math.min;t.exports=function(r,o,t){var i,a,s,p,l,c,u=0,f=!1,d=!1,e=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function h(t){var e=i,n=a;return i=a=void 0,u=t,p=r.apply(n,e)}function m(t){var e=t-c;return void 0===c||o<=e||e<0||d&&s<=t-u}function v(){var t,e,n=g();if(m(n))return b(n);l=setTimeout(v,(e=o-((t=n)-c),d?O(e,s-(t-u)):e))}function b(t){return l=void 0,e&&i?h(t):(i=a=void 0,p)}function n(){var t,e=g(),n=m(e);if(i=arguments,a=this,c=e,n){if(void 0===l)return u=t=c,l=setTimeout(v,o),f?h(t):p;if(d)return l=setTimeout(v,o),h(c)}return void 0===l&&(l=setTimeout(v,o)),p}return o=w(o)||0,y(t)&&(f=!!t.leading,s=(d="maxWait"in t)?x(w(t.maxWait)||0,o):s,e="trailing"in t?!!t.trailing:e),n.cancel=function(){void 0!==l&&clearTimeout(l),i=c=a=l=void(u=0)},n.flush=function(){return void 0===l?p:b(g())},n}},function(t,e,n){var r=n(59);t.exports=function(){return r.Date.now()}},function(t,e,n){var r=n(60),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(n,t,e){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;n.exports=e}).call(this,e(17))},function(t,e){t.exports=function(t){return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.defaults={trigger:"manual",arrow:!0,arrowTransform:"scale(2)",animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cleanupSteps=function(t){if(t){var e=t.steps;e.forEach(function(t){if(t.options&&!1===t.options.canClickTarget&&t.options.attachTo){var e=(0,o.getElementForStep)(t);e instanceof HTMLElement&&(e.style.pointerEvents="auto")}})}},e.cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),window.removeEventListener("touchmove",r.preventModalBodyTouch,!1),this._onScreenChange=null)};var r=n(4),o=n(8)}])});
6
6
  //# sourceMappingURL=shepherd.min.js.map